﻿*{box-sizing:border-box}body{margin:0;background:#eaf0f1;color:#475b62;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}.app{max-width:480px;min-height:100vh;margin:auto;background:#fbfcfb;box-shadow:0 0 50px #809ba31c}header{display:flex;align-items:center;justify-content:space-between;padding:25px 23px 12px}.logo{font-family:Georgia,serif;font-size:23px;font-weight:bold;letter-spacing:-.06em;color:#547985}.logo i{color:#e5aeb6;font-style:normal}header small{display:block;font-size:10px;color:#a2b0af;letter-spacing:.02em;margin-top:2px}.icon-button{border:1px solid #e8eeee;background:#fff;color:#8ca1a6;width:39px;height:39px;border-radius:50%;font-size:20px}.notice{margin:8px 22px 0;padding:9px 13px;border-radius:12px;background:#f0f5f5;color:#7c999c;font-size:11px}.notice span{display:block;color:#9aaead;margin-top:2px}main{padding:0 22px 115px}.hidden{display:none!important}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.16em;color:#99b8bc}.greeting{text-align:center;padding:24px 0 20px}.greeting h1{font-size:17px;margin:8px 0 1px;color:#677b80;font-weight:600}.countdown{font-family:Georgia,serif;font-size:55px;font-weight:bold;letter-spacing:-.05em;color:#6b9eaa;line-height:1.2}.greeting p{font-size:12px;color:#a2b0ae;margin:5px}.greeting p strong{color:#7f9292;margin-left:4px}.growth-card{border-radius:25px;padding:20px;background:linear-gradient(145deg,#e4f2f4,#e8f4f4 65%,#f5e9ed);box-shadow:0 8px 24px #86a8aa18}.growth-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;color:#76989e}.growth-top b{background:#ffffffba;color:#6f9aa2;padding:7px 11px;border-radius:20px;font-size:12px}.growth-inner{display:flex;align-items:center;justify-content:space-between;min-height:145px;gap:8px}.growth-caption{font-size:11px;color:#95b1b2}.growth-inner h2{font-size:23px;color:#526f75;letter-spacing:-.05em;margin:8px 0}.growth-inner strong{display:block;color:#d18f9b;font-size:20px}.growth-inner small{display:block;color:#92a9a8;font-size:11px;margin-top:4px}.fruit-art{display:grid;place-items:center;flex:none;width:120px;height:120px;border-radius:50%;background:#ffffffa8;font-size:62px;box-shadow:0 0 0 8px #ffffff55}.track{height:6px;border-radius:8px;background:#cce2e4;overflow:hidden}.track span{display:block;height:100%;background:#91bcc1;border-radius:8px}.track-label{display:flex;justify-content:space-between;color:#91abac;font-size:10px;margin-top:7px}.note,.helper{font-size:11px;color:#9badae;line-height:1.6}.note{margin:9px 4px 25px}.note a{color:#84a6aa}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:25px 0 12px}.section-heading h2,.panel h2{font-size:16px;margin:4px 0;color:#536d73}.text-button{border:0;background:none;color:#80a9ae;font-weight:700;font-size:12px;padding:5px}.panel,.upcoming,.empty{background:#fff;border:1px solid #edf2f1;border-radius:19px;padding:18px;box-shadow:0 5px 20px #a3b3b20d}.upcoming{display:flex;align-items:center;gap:13px}.event-icon,.quick-icon{display:grid;place-items:center;flex:none;width:43px;height:43px;border-radius:14px;background:#f7e8eb;color:#d39ba5;font-size:21px}.upcoming .info{flex:1;min-width:0}.upcoming strong,.upcoming small{display:block}.upcoming strong{font-size:14px;overflow-wrap:anywhere}.upcoming small{font-size:11px;color:#9db0af;margin-top:5px}.badge{font-size:11px;background:#edf6f6;color:#7fa6a9;border-radius:20px;padding:7px 10px;white-space:nowrap}.empty{text-align:center;color:#a5b4b3;font-size:12px;line-height:1.7}.empty strong{display:block;color:#71898c;font-size:13px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:17px}.quick-grid button{position:relative;text-align:left;background:#fff;border:1px solid #edf2f1;border-radius:19px;padding:16px;color:#607a7e}.quick-grid strong,.quick-grid small{display:block}.quick-grid strong{font-size:13px;margin-top:11px}.quick-grid small{font-size:10px;color:#a2b1b0;margin-top:5px}.quick-grid b{position:absolute;right:17px;top:18px;color:#b5c7c6}.quick-icon.blue{background:#e9f4f5;color:#89b4b9}.footnote{text-align:center;font-size:11px;color:#afbfbd;padding:30px 0}.page-title{padding:28px 0 19px}.page-title h1{font-size:25px;letter-spacing:-.05em;margin:7px 0;color:#526b70}.page-title p{font-size:13px;color:#9dafae;margin:0}.panel{margin-bottom:13px}.panel h2{margin-bottom:14px}label{display:block;font-size:12px;color:#829b9d;font-weight:700;margin-top:14px}input,textarea{width:100%;border:1px solid #e5eeee;border-radius:12px;background:#fbfdfc;padding:12px;margin-top:7px;color:#4b6267;outline:none}input:focus,textarea:focus{border-color:#90bdc0}textarea{resize:vertical}.primary,.secondary{border:0;border-radius:12px;padding:13px;font-weight:700}.primary{width:100%;background:#8bb8bd;color:white}.secondary{background:#f0f5f4;color:#829c9e}.form-actions{display:flex;gap:8px}.form-actions .primary{flex:1}.month-row{display:flex;justify-content:space-between;align-items:center}.month-row h2{margin:0}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center;margin-top:17px}.calendar .weekday{font-size:11px;color:#a8b9b7;padding:8px 0}.calendar button{position:relative;min-height:39px;border:0;border-radius:50%;background:transparent;color:#70888a;font-size:13px}.calendar button.today{border:1px solid #a6cacc}.calendar button.selected{background:#91bec3;color:white}.calendar button.has-event:after{content:'';position:absolute;bottom:4px;left:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:#e5a4b1}.event-item,.post{margin-bottom:10px}.event-item .row,.post .row{display:flex;justify-content:space-between;align-items:start;gap:8px}.event-item h3,.post h3{font-size:14px;margin:0}.event-item p,.post p{font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.actions{display:flex;gap:8px}.actions button{border:0;background:none;color:#9baead;font-size:11px;padding:4px}.media{width:100%;max-height:400px;object-fit:contain;background:#f5f7f6;border-radius:12px;margin-top:12px}.comments{border-top:1px solid #eef2f1;margin-top:14px;padding-top:10px}.comment{font-size:12px;line-height:1.5;overflow-wrap:anywhere;margin:7px 0}.comment strong{color:#709398;margin-right:7px}.comment-form{display:flex;gap:6px}.comment-form input{min-width:0;padding:9px}.comment-form button{border:0;background:#e9f4f4;border-radius:10px;color:#719b9f;padding:0 11px;margin-top:7px;white-space:nowrap}.muted{font-size:11px;color:#a4b3b2}nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);display:flex;justify-content:space-around;width:min(480px,100%);padding:10px 0 max(11px,env(safe-area-inset-bottom));background:#fffffff2;border-top:1px solid #edf1f0;backdrop-filter:blur(10px)}nav button{border:0;background:none;color:#aabcb9;font-size:10px;min-width:65px}nav button span{display:block;font-size:21px;margin-bottom:2px}nav button.active{color:#78aab0;font-weight:800}@media(max-width:340px){.fruit-art{width:95px;height:95px;font-size:50px}.growth-inner h2{font-size:19px}}
/* Soft, playful visual refresh */
@import url('https://fonts.googleapis.com/css2?family=Gaegu:wght@400;700&family=Gowun+Dodum&display=swap');
:root{--ink:#493f3d;--sub:#958783;--pink:#df8e91;--blue:#a9ced0;--paper:#fffcf7}
body{background:#eee8e2;color:var(--ink);font-family:'Gowun Dodum','Malgun Gothic',sans-serif}.app{background:var(--paper);box-shadow:0 0 55px #8d78701c}header{padding:25px 24px 8px}.logo{font-family:'Gaegu','Malgun Gothic',sans-serif;font-size:29px;letter-spacing:-.04em;color:#e19391;line-height:1}.logo i{color:#a6c8c4}header small{color:#b6a49c;font-size:11px;margin-top:4px}.icon-button{background:#fffaf5;border-color:#f1e8df;color:#b4a5a0}.notice{background:#f7f1e9;color:#a99285;border-radius:12px;font-size:11px;margin-top:10px}.notice span{color:#baa99d}main{padding-left:21px;padding-right:21px}.greeting{padding:29px 0 21px}.eyebrow{font-family:'Gaegu','Malgun Gothic',sans-serif;letter-spacing:.12em;font-size:13px;font-weight:700;color:#c2a89d}.greeting h1{font-size:18px;font-weight:600;color:#7e6c65;margin:5px 0 0}.countdown{font-family:'Gaegu','Malgun Gothic',sans-serif;font-size:69px;font-weight:700;color:#dc8c91;letter-spacing:-.04em;line-height:1.02;margin:2px 0}.greeting p{font-size:12px;color:#b4a098}.greeting p strong{color:#8e7d72}.growth-card{position:relative;border-radius:30px;padding:22px;background:#eaf4f2;box-shadow:none;overflow:hidden}.growth-card:before{content:'✳';position:absolute;right:24px;top:54px;font-size:21px;color:#c0dcd6}.growth-top{color:#7d9f98;font-size:12px}.growth-top b{background:#fffdf9;color:#7c9d98;padding:7px 12px;font-size:12px;border-radius:14px}.growth-inner{min-height:158px}.growth-caption{font-size:12px;color:#97aaa3}.growth-inner h2{font-family:'Gaegu','Malgun Gothic',sans-serif;font-size:32px;line-height:1.05;color:#526e65;letter-spacing:-.04em;margin:10px 0}.growth-inner strong{font-family:'Gaegu','Malgun Gothic',sans-serif;color:#db9592;font-size:26px;line-height:1}.growth-inner small{font-size:11px;color:#95a8a1;margin-top:5px}.fruit-art{width:123px;height:123px;background:#fffdf4;border:6px solid #fff9e9;box-shadow:0 5px 0 #dbece5;font-size:65px;transform:rotate(-7deg)}.track{height:7px;background:#d1e5df}.track span{background:#9bc4b6}.track-label{color:#9cb3a9;font-size:10px}.note{color:#b8aaa1;margin:11px 4px 25px;font-size:11px}.note a{color:#d59794}.section-heading{margin:28px 2px 12px}.section-heading h2,.panel h2{font-size:17px;font-weight:700;color:#574d49}.text-button{color:#ca9891;font-size:12px}.panel,.upcoming,.empty{border-color:#f2ece5;background:white;border-radius:21px;box-shadow:0 6px 22px #8b776608}.upcoming{padding:16px}.event-icon,.quick-icon{background:#fae8e7;color:#d88c8e;border-radius:15px}.badge{background:#fcf1ef;color:#d18f8d}.upcoming strong{font-size:15px;color:#65564f}.upcoming small{font-size:12px;color:#b7a7a0}.empty{background:#fffdf9;color:#b4a8a0;border:1px dashed #eee2d7}.empty strong{color:#9b8578}.quick-grid button{background:#fff;border-color:#f2ece5;border-radius:21px;padding:16px;color:#695b54}.quick-grid strong{font-size:14px}.quick-grid small{font-size:11px;color:#b4a7a0}.quick-grid b{color:#d9c8bc}.quick-icon.blue{background:#e9f3f1;color:#91b7ac}.footnote{font-family:'Gaegu','Malgun Gothic',sans-serif;font-size:17px;color:#cbb9ae}.page-title{padding-top:30px}.page-title h1{font-family:'Gaegu','Malgun Gothic',sans-serif;color:#66544d;font-size:36px;margin:3px 0;letter-spacing:-.03em}.page-title p{color:#ad9c93;font-size:13px}label{color:#927f75;font-size:12px}input,textarea{background:#fffcf8;border-color:#f0e8e1;color:#5e504a}input:focus,textarea:focus{border-color:#dfb2a9}.primary{background:#de9c98;color:#fff;border-radius:14px}.secondary{background:#f7f2ed;color:#ad9b91}.helper{color:#b4a69c}.calendar .weekday{color:#bbaaa1}.calendar button{color:#8d7b72}.calendar button.today{border-color:#dfb6aa}.calendar button.selected{background:#dfa5a0;color:#fff}.calendar button.has-event:after{background:#8fbaad}.actions button,.muted{color:#b4a79e}.comment strong{color:#bc8d84}.comment-form button{background:#fbefec;color:#c99087}nav{background:#fffcf9f2;border-color:#f1eae5}nav button{color:#c4b8b0;font-size:11px}nav button.active{color:#d58e8e}nav button span{font-size:22px}.growth-card:after{content:'♡';position:absolute;right:149px;top:91px;font-size:17px;color:#e8b5ae;transform:rotate(-15deg)}
/* 폰에서 한눈에: 글씨·버튼 키움 (2026-10-27) */
html{-webkit-text-size-adjust:100%}header small,.note,.helper,.muted,.track-label{font-size:13px}.helper{line-height:1.7}label{font-size:15px}input,textarea{font-size:16px}.primary,.secondary{font-size:17px;padding:15px}.greeting h1{font-size:20px}.greeting p{font-size:15px}.growth-top,.growth-caption{font-size:14px}.growth-top b{font-size:14px}.growth-inner small{font-size:13px}.section-heading h2,.panel h2{font-size:19px}.text-button{font-size:15px}.upcoming strong{font-size:17px}.upcoming small{font-size:14px}.badge{font-size:13px}.quick-grid strong{font-size:16px}.quick-grid small{font-size:13px}.page-title p{font-size:15px}.event-item h3,.post h3{font-size:16px}.event-item p,.post p{font-size:16px}.comment{font-size:15px}.comment-form input{padding:11px}.comment-form button{font-size:15px;padding:0 14px}.actions button{font-size:14px;padding:6px 8px}.calendar button{font-size:15px;min-height:44px}.calendar .weekday{font-size:13px}nav button{font-size:13px;min-width:0;flex:1}nav button span{font-size:24px}.empty{font-size:14px}.empty strong{font-size:15px}
/* 로그인·대기 화면 */
.gate{text-align:center;padding:56px 24px 40px}.gate h1{font-size:21px;color:#66544d;margin:12px 0 8px}.gate .helper{font-size:15px;margin:0 0 30px}.gate .panel{text-align:left}.gate .panel .helper{margin:0}.kakao{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:14px;padding:17px;background:#FEE500;color:#000000d9;font-size:18px;font-weight:700;text-decoration:none}.kakao b{font-size:20px}.lock{font-size:14px;color:#b4a69c;line-height:1.7;margin-top:20px}
/* 사람 표시 (글쓴이·가족 관리) */
.avatar{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:#fae8e7;color:#d88c8e;font-size:20px;object-fit:cover}.avatar.big{width:88px;height:88px;font-size:40px;margin:0 auto 6px}.who{display:flex;align-items:center;gap:10px;min-width:0}.who .avatar{width:38px;height:38px;font-size:17px}
.person{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #f2ece5}.person:first-child{border-top:0;padding-top:0}.person:last-child{padding-bottom:0}.person .info{flex:1;min-width:0}.person strong{display:block;font-size:16px;color:#65564f;overflow-wrap:anywhere}.person small{display:block;font-size:13px;color:#b7a7a0;margin-top:3px}.tag{font-size:11px;background:#e9f3f1;color:#7c9d98;border-radius:8px;padding:2px 6px;margin-left:6px;vertical-align:2px}.mini{display:flex;gap:6px;flex:none}.mini button{border:0;border-radius:11px;padding:10px 13px;font-size:14px;font-weight:700}.mini .ok{background:#de9c98;color:#fff}.mini .no{background:#f7f2ed;color:#ad9b91}.mini .out{background:none;color:#b4a79e;padding:10px 4px}
/* 앨범 */
.album-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.tile{display:block;border-radius:14px;overflow:hidden;background:#111;aspect-ratio:4/3}.tile img{width:100%;height:100%;object-fit:cover;display:block}.tile.wide{grid-column:1/-1;width:100%;height:auto;aspect-ratio:auto}
/* 2026-10-28 이야기+달력 합침: 큰 달력 · 그날 창 · 크게 보기 · 3칸 앨범 */
body.locked{overflow:hidden}button.upcoming{width:100%;text-align:left;font:inherit;color:inherit}
.calendar{gap:4px}.calendar .day{display:flex;flex-direction:column;align-items:center;gap:3px;min-height:66px;padding:7px 0 5px;border-radius:14px;background:#fffdf9;border:1px solid #f4ede6}.calendar .day .num{font-size:16px;line-height:1}.calendar .day .dot{display:block;width:7px;height:7px;border-radius:50%;background:#8fbaad}.calendar .day .count{font-size:11px;color:#c99087;white-space:nowrap;letter-spacing:-.03em}.calendar .day.today{border:1.5px solid #dfb6aa}.calendar .day.selected{background:#fbe9e7;color:#8d7b72}.dot-sample{display:inline-block;width:7px;height:7px;border-radius:50%;background:#8fbaad;vertical-align:1px}#todayButton{margin-top:4px}
.backdrop{position:fixed;inset:0;background:#3a2f2c66;z-index:20}.sheet{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(480px,100%);max-height:92vh;overflow-y:auto;overscroll-behavior:contain;background:var(--paper);border-radius:26px 26px 0 0;padding:0 18px calc(26px + env(safe-area-inset-bottom));z-index:21;box-shadow:0 -10px 40px #4a3a3322}.sheet-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:18px 0 12px;background:var(--paper)}.sheet-head h2{margin:0;font-family:'Gaegu','Malgun Gothic',sans-serif;font-size:27px;color:#66544d}.sheet>#dayBody>.primary{margin-bottom:14px}
.entry{margin-bottom:12px}.entry .row{display:flex;justify-content:space-between;align-items:start;gap:8px}.entry h3{font-size:16px;margin:0}.entry p{font-size:16px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.entry .album-grid{margin-top:10px}.entry-form{margin-bottom:14px}input[type=file]{background:#fff;padding:11px}
.comment{display:flex;justify-content:space-between;align-items:start;gap:6px}.comment.reply,.comment-form.reply{margin-left:24px}.comment-text{min-width:0;overflow-wrap:anywhere}.arrow{color:#d9c8bc;margin-right:5px}.comment-actions{display:flex;flex:none}.comment-actions button{border:0;background:none;color:#b4a79e;font-size:14px;padding:3px 6px}
.album-grid{grid-template-columns:repeat(3,1fr);gap:6px}.tile{position:relative;display:block;border:0;padding:0;border-radius:12px;overflow:hidden;background:#efe7df;aspect-ratio:1}.tile img,.tile video{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}.tile .play{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:28px;text-shadow:0 1px 8px #0008}.album-head h2{font-size:18px}
.have{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}.have-item{position:relative}.tile.small{width:76px;height:76px}.remove{position:absolute;top:-7px;right:-7px;width:28px;height:28px;border-radius:50%;border:0;background:#de9c98;color:#fff;font-size:13px}
.viewer{position:fixed;inset:0;z-index:30;background:#120f0e}#viewerStage{position:absolute;inset:0;display:grid;place-items:center}#viewerStage img,#viewerStage video{max-width:100%;max-height:100%;object-fit:contain}.viewer-btn{position:absolute;border:0;background:#ffffff2e;color:#fff;width:48px;height:48px;border-radius:50%;font-size:24px}.viewer-btn:disabled{opacity:.2}.viewer-btn.close{top:max(14px,env(safe-area-inset-top));right:14px}.viewer-btn.prev{left:10px;top:calc(50% - 24px)}.viewer-btn.next{right:10px;top:calc(50% - 24px)}.viewer-caption{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px 16px max(18px,env(safe-area-inset-bottom));color:#f1ece8;font-size:14px;background:linear-gradient(transparent,#000b)}.viewer-caption .text-button{color:#f3c6c0;white-space:nowrap}
