@import url('https://fonts.googleapis.com/css2?family=Gowun+Batang:wght@400;700&family=Gowun+Dodum&family=Gaegu:wght@400;700&display=swap');
:root{--page:#fffefd;--ink:#242422;--muted:#aaa8a4;--pale:#f5f4f2;--edge:#eeedeb;--accent:#8564b8;--shadow:0 8px 32px rgba(34,29,29,.05);--reader:16px;--ui:'Gowun Dodum','Apple SD Gothic Neo','Malgun Gothic',sans-serif;--serif:'Gowun Batang','Noto Serif KR',serif;--hand:'Gaegu','Comic Sans MS',cursive}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;overscroll-behavior-y:none}body{background:#eae8e5;color:var(--ink);font-family:var(--ui);font-size:15px;-webkit-font-smoothing:antialiased}body.font-sans{--serif:'Gowun Dodum','Apple SD Gothic Neo',sans-serif}body.font-large{--reader:19px}body.theme-peach{--accent:#bd806f}body.theme-blue{--accent:#6488a8}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}a{color:inherit}img{display:block;max-width:100%}.app{position:relative;margin:0 auto;background:var(--page);width:min(100%,480px);height:100dvh;min-height:560px;overflow:hidden;box-shadow:0 10px 65px rgba(0,0,0,.07)}@media(max-width:500px){body{background:var(--page)}.app{width:100%;box-shadow:none}}.screen{height:100%;display:flex;flex-direction:column;min-height:0;background:var(--page)}.screen-head{flex:none;height:79px;display:flex;align-items:center;justify-content:space-between;padding:20px 22px 11px;z-index:3;background:linear-gradient(to bottom,#fffefd 76%,rgba(255,254,253,.95))}.screen-head.compact{height:73px}.wordmark{font-family:var(--hand);font-weight:700;font-size:36px;letter-spacing:-1.6px;line-height:1}.head-title{font-family:var(--serif);font-weight:700;font-size:21px;letter-spacing:-.4px}.head-actions{display:flex;align-items:center;gap:12px}.icon-btn{border:0;background:transparent;padding:7px;display:inline-flex;align-items:center;justify-content:center;border-radius:100%;width:39px;height:39px}.icon-btn.soft{background:#fff;border:1px solid #f1efeb;box-shadow:var(--shadow)}.icon-btn svg,.nav-item svg,.action-svg{width:23px;height:23px;display:block}.icon-btn:hover,.nav-item:hover{background:#f8f7f5}.head-space{width:39px;height:39px}.scroll-area{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#e6e2e0 transparent}.content{padding:8px 17px 130px}.page-bottom-gap{height:34px}.section{margin:27px 0 34px}.section-title{font-size:19px;letter-spacing:-.3px;margin:0 0 17px 4px;font-family:var(--serif);font-weight:700}.section-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;padding:0 3px}.section-top .section-title{margin:0}.link-button{border:0;background:none;color:#777;padding:7px 1px;font-size:13px}.tiny-muted{font-size:12px;color:#aaa9a5}.overline{font-size:12px;letter-spacing:.02em;color:#b3b1ae}.navbar{flex:none;position:absolute;bottom:max(15px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 36px);max-width:437px;height:65px;padding:6px 15px;border-radius:40px;background:rgba(255,255,255,.95);border:1px solid rgba(245,244,241,.95);box-shadow:0 0 32px rgba(105,94,87,.07),0 6px 18px rgba(122,112,104,.06);display:flex;align-items:center;justify-content:space-between;z-index:7;backdrop-filter:blur(16px)}.nav-item{border:0;background:none;display:flex;align-items:center;justify-content:center;border-radius:50%;height:48px;width:53px}.nav-item svg{width:27px;height:27px}.nav-item.active{color:var(--accent)}.nav-item.plus svg{width:35px;height:35px;stroke-width:3}.hero-scroll{display:flex;gap:13px;overflow:auto;scroll-snap-type:x mandatory;margin:16px -17px 0;padding:0 17px 8px;scrollbar-width:none}.hero-scroll::-webkit-scrollbar{display:none}.hero-card{position:relative;flex:0 0 82%;height:275px;border:0;border-radius:31px;padding:20px;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;text-align:left;overflow:hidden;scroll-snap-align:start}.hero-card::before{content:'';position:absolute;inset:-18%;border-radius:50%;opacity:.8;filter:blur(10px)}.hero-card.purple{background:linear-gradient(136deg,#b9a1cc,#e4d8ed 48%,#594074)}.hero-card.purple::before{background:radial-gradient(circle at 38% 40%,#ffe7fc 8%,#d5bee8 35%,transparent 68%)}.hero-card.cream{background:linear-gradient(145deg,#ddd1c5,#faf3e7 58%,#b7a496)}.hero-card.cream::before{background:radial-gradient(circle at 40% 35%,#fffefa 4%,#eadfd4 42%,transparent 76%)}.hero-card .hero-title,.hero-card .hero-date{position:relative;text-shadow:0 1px 3px rgba(0,0,0,.12)}.hero-title{font-size:21px;font-family:var(--serif);font-weight:700;margin:0 0 10px}.hero-date{font-size:13px;opacity:.85}.hero-card.image-card{background:#9a867a;background-size:cover;background-position:center}.hero-card.image-card::before{background:linear-gradient(180deg,transparent,rgba(0,0,0,.38));inset:0;filter:none;opacity:1;border-radius:0}.thumb-row{display:flex;gap:13px;overflow:auto;scrollbar-width:none}.thumb-row button{min-width:107px;width:107px;height:134px;border:0;border-radius:25px;position:relative;overflow:hidden;padding:0;background:#ddd}.thumb-row img{width:100%;height:100%;object-fit:cover}.thumb-row button::after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.32))}.thumb-row .photo-date{position:absolute;bottom:10px;left:10px;z-index:1;color:white;font-size:12px}.mood-calendar{background:var(--pale);border-radius:29px;padding:18px 12px 22px}.mood-weekdays,.mood-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;text-align:center}.mood-weekdays{font-size:11px;color:#b5b3b1;padding:0 2px 12px}.mood-day{aspect-ratio:1;border:0;background:#f9f8f6;border-radius:100%;font-size:13px;color:#b2afac;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:0;position:relative}.mood-day.selected{background:#e5dbec;color:#654c8b}.mood-dot{position:absolute;width:5px;height:5px;background:var(--accent);border-radius:50%;bottom:4px}.mood-day .mood-emoji{font-size:13px;line-height:1.1}.half-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tile{border:0;border-radius:24px;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;padding:16px;min-height:138px;text-align:left;color:white;background:linear-gradient(125deg,#87a7c2,#d3e2f2 50%,#7c9fb9);position:relative}.tile.purple{background:linear-gradient(125deg,#ae85c3,#e1cce8,#6c4a8b)}.tile.beige{background:linear-gradient(125deg,#a78978,#e8d0c1,#796258)}.tile img{position:absolute;inset:0;height:100%;width:100%;object-fit:cover}.tile:has(img)::before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(transparent,rgba(15,15,15,.42))}.tile .tile-text{z-index:2;position:relative;font-size:16px;font-family:var(--serif);font-weight:700}.tile .tile-sub{position:relative;z-index:2;font-size:12px;opacity:.85;margin-top:7px}.question-banner{width:100%;border:0;border-radius:28px;padding:24px;background:linear-gradient(130deg,#172b24,#374f41 70%,#667c69);color:#fff;text-align:left;min-height:157px;display:flex;flex-direction:column;justify-content:space-between}.question-banner small{opacity:.73}.question-banner span{font-family:var(--serif);font-weight:700;font-size:19px;line-height:1.55}.outline-btn{border:1px solid #dedcd8;background:#fff;border-radius:24px;padding:9px 14px;font-size:13px;color:#69655f}.panel{background:var(--pale);border-radius:25px;padding:18px}.subtle-line{border:0;height:1px;background:#efeeeb;margin:18px 0}.searchbar{height:49px;border-radius:28px;background:#f2f1ef;display:flex;gap:11px;align-items:center;padding:0 15px;margin:8px 0 26px;color:#aaa}.searchbar svg{width:20px;height:20px}.searchbar input{border:0;background:none;outline:0;flex:1;min-width:0;color:#383632;font-size:14px}.list-month{font-size:16px;font-family:var(--serif);font-weight:700;margin:27px 0 15px}.diary-row{display:flex;align-items:center;gap:12px;background:#fff;border:0;padding:12px 2px 16px;width:100%;text-align:left;border-bottom:1px solid #f4f3f1}.diary-date-badge{min-width:43px;font-family:var(--serif);font-size:24px;font-weight:700}.diary-date-badge small{font-size:12px;color:#aaa;font-weight:400}.diary-row-body{min-width:0;flex:1}.diary-row-name{font-size:14px;font-weight:700;display:flex;gap:7px;align-items:center}.diary-row-preview{font-size:12px;line-height:1.6;color:#96938f;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%;margin-top:6px}.diary-row-thumb{height:62px;width:62px;border-radius:13px;object-fit:cover;flex:none}.round-fab{position:absolute;right:25px;bottom:99px;z-index:4;width:53px;height:53px;border:0;border-radius:50%;background:#1e1d1c;color:white;box-shadow:0 12px 28px #302d2d24;display:flex;align-items:center;justify-content:center}.round-fab svg{width:25px;height:25px}.read-date-strip{display:flex;gap:9px;overflow:auto;scrollbar-width:none;padding:18px 18px 20px;flex:none}.date-chip{min-width:45px;border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:8px;color:#bbb;font-family:var(--serif);font-size:19px}.date-chip small{font:11px var(--ui)}.date-chip.current{color:#211f1e;font-weight:700}.reader{padding:15px 26px 100px}.reader h1{font-size:22px;line-height:1.6;font-weight:700;margin:8px 0 29px;font-family:var(--serif)}.reader .reader-meta{display:flex;align-items:center;gap:7px;color:#9f9a96;font-size:12px}.reader-body{white-space:pre-wrap;line-height:2.12;letter-spacing:.01em;font-family:var(--serif);font-size:var(--reader);word-break:keep-all}.reader-photo{margin:25px 0;border-radius:22px;overflow:hidden;max-height:420px;width:100%;object-fit:cover}.reader-actions{margin-top:36px;display:flex;align-items:center;justify-content:flex-end;gap:10px}.reader-bottom{display:flex;align-items:center;justify-content:space-between;color:#bbb;font-size:12px;margin-top:33px}.list-card{width:100%;background:#fff;border:1px solid #f1efed;border-radius:19px;padding:19px;text-align:left;display:flex;align-items:center;gap:14px;margin:11px 0;box-shadow:0 2px 10px #918b7d08}.list-card .list-body{flex:1;min-width:0}.list-card .list-title{font-size:16px;font-weight:700;font-family:var(--serif);line-height:1.5}.list-card .list-sub{font-size:12px;color:#a7a3a0;margin-top:7px}.question-paper{background:linear-gradient(160deg,#fff,#fefdf9);border-radius:22px;padding:28px 21px 38px;margin:7px 0 22px;box-shadow:0 0 32px rgba(0,0,0,.03)}.question-paper h2{font-family:var(--serif);font-size:21px;line-height:1.65;margin:10px 0 35px}.answer-block{padding:15px 0 18px;border-top:1px solid #eceae7}.answer-name{font-size:14px;font-weight:700;margin-bottom:13px}.answer-text{white-space:pre-wrap;line-height:1.95;font-family:var(--serif);font-size:var(--reader)}.anniversary-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-auto-flow:dense;gap:10px}.anni-card{height:143px;border:0;border-radius:24px;overflow:hidden;position:relative;color:white;text-align:left;display:flex;flex-direction:column;justify-content:space-between;padding:17px;background:linear-gradient(130deg,#aa9cc0,#796795)}.anni-card.wide{grid-column:span 2;height:181px}.anni-card.tall{height:225px}.anni-card:nth-child(4n+1){background:linear-gradient(130deg,#aa8da8,#ecd0e4,#6b4b76)}.anni-card:nth-child(4n+2){background:linear-gradient(130deg,#658eae,#d7e4ec,#6a819a)}.anni-card:nth-child(4n+3){background:linear-gradient(130deg,#90736e,#dfc1af,#7a615d)}.anni-card:nth-child(4n){background:linear-gradient(130deg,#315a4f,#73a88d,#3f6457)}.anni-card img{position:absolute;inset:0;height:100%;width:100%;object-fit:cover}.anni-card:has(img)::before{content:'';position:absolute;inset:0;background:linear-gradient(to bottom,#0002,#0007);z-index:1}.anni-card>*:not(img){position:relative;z-index:2}.anni-card .ann-title{font:700 17px var(--serif);word-break:keep-all}.anni-card .ann-date{font-size:12px;opacity:.95}.anni-card .ann-count{align-self:flex-end;font-size:20px;font-family:var(--serif);font-weight:700}.anni-detail-hero{height:240px;border-radius:30px;overflow:hidden;position:relative;display:flex;flex-direction:column;justify-content:end;padding:23px;background:linear-gradient(125deg,#7a6088,#d7badc,#9b85b3);color:white}.anni-detail-hero img{position:absolute;inset:0;height:100%;width:100%;object-fit:cover}.anni-detail-hero img+div{z-index:2}.anni-detail-hero:has(img)::after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,rgba(0,0,0,.5))}.anni-detail-hero .ann-hero-title{font:700 26px var(--serif);margin:0 0 8px}.anni-detail-hero .ann-hero-count{font:24px var(--serif)}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin:16px -17px 20px}.gallery-tile{border:0;padding:0;aspect-ratio:1;background:#f1efec;overflow:hidden}.gallery-tile img{width:100%;height:100%;object-fit:cover}.gallery-year{font:700 19px var(--serif);margin-top:26px}.gallery-upload{border:1px dashed #cfcac4;background:#faf9f7;border-radius:16px;padding:15px;width:100%;color:#777;display:flex;align-items:center;justify-content:center;gap:9px}.input,.textarea,.select{width:100%;border:1px solid #eeecea;background:#f7f6f4;border-radius:17px;padding:13px 15px;outline:0;color:#282624}.textarea{min-height:155px;line-height:1.7;resize:vertical}.form-label{display:block;color:#8d8985;font-size:12px;margin:14px 0 8px}.primary-button{border:0;background:#1b1a19;border-radius:19px;color:white;font-weight:700;padding:13px 17px;min-height:48px;width:100%}.ghost-button{border:1px solid #e5e3e0;background:#fff;border-radius:19px;padding:13px 15px;min-height:46px}.form-row{display:flex;gap:10px;margin-top:18px}.form-row>*{flex:1}.comment-form{align-items:center;gap:12px}.comment-form .input{flex:1;min-width:0}.comment-form .comment-send{flex:none;width:64px;height:44px;border-radius:999px;border:1px solid #efedea;background:#fff;display:grid;place-items:center;box-shadow:var(--shadow)}.comment-form .comment-send svg{width:21px;height:21px}.mini-action{font-size:13px;background:transparent;border:0;color:#8d8985;text-decoration:underline}.chat-body{padding:17px 17px 23px;display:flex;flex-direction:column;gap:8px;min-height:100%}.chat-date{align-self:center;font-size:12px;color:#a7a3a0;border:1px solid #efedeb;border-radius:99px;padding:9px 15px;margin:22px 0 16px;background:#fffefd}.chat-row{display:flex;width:100%}.chat-row.h{justify-content:flex-end}.chat-row.j{justify-content:flex-start}.bubble{max-width:83%;padding:11px 15px;min-height:42px;border-radius:18px;font:400 16px/1.56 var(--serif);white-space:pre-wrap;word-break:break-word;display:flex;align-items:flex-end;flex-wrap:wrap;gap:4px;background:#f1f0ee;color:#282623}.chat-row.h .bubble{background:#201e1d;color:white}.bubble .bubble-time{font:11px var(--ui);opacity:.48;white-space:nowrap;margin-left:5px;line-height:1.3;align-self:flex-end}.chat-row.j .bubble-time{color:#777}.bubble.photo-bubble{padding:0;border:0;background:none!important;max-width:73%;height:auto;min-height:0;overflow:hidden;border-radius:23px}.bubble.photo-bubble img{width:100%;max-height:310px;object-fit:cover}.bubble.photo-bubble .bubble-time{display:none}.bubble.user-added{outline:1px solid #69558f3b}.chat-composer{flex:none;padding:9px 17px max(14px,env(safe-area-inset-bottom));background:#fffefd;display:flex;align-items:end;gap:10px;box-shadow:0 -12px 25px rgba(255,254,253,.85)}.chat-input-wrap{background:#f4f3f2;border-radius:28px;flex:1;display:flex;align-items:center;min-height:47px;padding:7px 12px}.chat-input-wrap textarea{border:0;background:transparent;outline:0;resize:none;line-height:1.5;max-height:112px;min-height:24px;flex:1;width:100%;font-size:14px}.chat-send{border:0;border-radius:50%;background:#181716;color:#fff;width:43px;height:43px;display:grid;place-items:center;flex:none}.chat-send svg{height:20px;width:20px}.chat-date-spacer{height:2px}.modal-scrim{position:absolute;inset:0;background:#1614126b;z-index:13;display:flex;align-items:end;justify-content:center}.sheet{width:100%;max-height:88%;background:#fffefd;border-radius:31px 31px 0 0;padding:10px 22px max(28px,env(safe-area-inset-bottom));overflow:auto;animation:slideup .22s ease-out}.sheet-handle{width:38px;height:4px;border-radius:5px;background:#ceccca;margin:0 auto 22px}.sheet-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px}.sheet h2{font:700 21px var(--serif);margin:0}.sheet .sheet-choice{background:none;border:0;width:100%;padding:17px 4px;display:flex;gap:15px;align-items:center;text-align:left;border-bottom:1px solid #f3f2f1}.sheet .sheet-choice svg{width:24px;height:24px}.sheet .sheet-choice span{font-weight:500}.lightbox{position:absolute;inset:0;z-index:15;background:#fffefd;display:flex;flex-direction:column}.lightbox-head{height:73px;display:flex;justify-content:space-between;align-items:center;padding:15px 18px}.lightbox-body{flex:1;min-height:0;display:flex;justify-content:center;align-items:center;overflow:hidden}.lightbox-body img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.lightbox-caption{padding:15px 22px 30px;font-family:var(--serif);text-align:center;font-size:14px}.lightbox-next{position:absolute;top:50%;right:10px;transform:translateY(-50%);border:0;background:#ffffffb7;border-radius:50%;width:34px;height:34px;display:grid;place-items:center}.lightbox-prev{right:auto;left:10px}.settings-option{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 3px;border-bottom:1px solid #f0efed}.settings-option span{font-size:14px}.setting-select{border:1px solid #eeecea;background:#faf9f7;border-radius:14px;padding:9px}.toast{position:absolute;bottom:94px;left:50%;transform:translateX(-50%);z-index:26;background:#282624;color:white;border-radius:28px;padding:11px 18px;font-size:13px;white-space:nowrap;box-shadow:0 10px 26px #0002}.empty{padding:40px 20px;text-align:center;color:#aaa;font-size:14px;line-height:1.7}.archive-note{font-size:11px;line-height:1.7;color:#a5a19d}.theme-switches{display:flex;gap:7px}.color-dot{width:30px;height:30px;border-radius:50%;border:2px solid transparent}.color-dot.current{box-shadow:0 0 0 2px var(--accent)}.color-dot.purple{background:#9f82bb}.color-dot.peach{background:#d49f91}.color-dot.blue{background:#83a7c7}@keyframes slideup{from{transform:translateY(35px);opacity:.4}to{transform:translateY(0);opacity:1}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Shared diary exchanges: the original partner comment and author's reply stay intact. */
.diary-comments{border-top:1px solid #efeeeb;margin-top:33px;padding-top:22px}
.diary-comments-title{font:700 17px var(--serif);margin-bottom:21px;display:flex;align-items:center;gap:9px}
.diary-comments-title span{font:400 13px var(--ui);color:#9e9a95}
.diary-comment-list{display:flex;flex-direction:column;gap:19px}
.diary-comment{display:flex;align-items:flex-start;gap:10px;min-width:0}
.diary-comment-reply{margin-left:24px;position:relative}
.diary-comment-reply:before{content:'↳';position:absolute;left:-23px;top:10px;color:#bdb8b3;font-size:18px}
.diary-comment-avatar{flex:0 0 33px;height:33px;display:grid;place-items:center;border-radius:50%;background:#dfd3eb;color:#554466;font:700 13px var(--serif)}
.diary-comment-avatar.is-jiyoon{background:#eee6db;color:#826e5d}
.diary-comment-content{flex:1;min-width:0}
.diary-comment-meta{font:700 13px var(--ui);color:#484542;margin:0 0 8px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.diary-comment-meta .reply-label,.diary-comment-meta .local-label{font:400 11px var(--ui);color:#ada8a2}
.diary-comment-text{background:#f7f6f3;border-radius:4px 18px 18px 18px;padding:12px 14px;font:400 14px/1.85 var(--serif);word-break:keep-all;overflow-wrap:anywhere}
.diary-comment-reply .diary-comment-text{background:#f5f1f8}
.comment-form{margin-top:25px;margin-bottom:24px}
.comment-form .input{border-radius:24px;background:#f6f5f3;min-height:46px}
.comment-form .comment-send{width:46px;height:46px;border-radius:50%;padding:0;background:#fff;border:1px solid #eeece9}
