:root{--bg:#f8f5ef;--ink:#49382e;--muted:#987f6b;--border:#e5d6c6;--cream:#fffcf7;--selected:#e6d7c6;--brown:#604735}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;font-family:system-ui,-apple-system,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;color:var(--ink);background:#e9e2d9}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}.app{position:relative;width:min(100%,420px);height:100dvh;max-height:850px;margin:auto;background:var(--bg);overflow:hidden;box-shadow:0 0 40px #4c34221a}.screen{position:absolute;inset:0;display:none;flex-direction:column;min-height:0}.screen.active{display:flex}.light{background:var(--bg)}.topbar{height:54px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 16px;background:var(--bg)}.topbar>strong,.topbar>.talk-header{flex:1;text-align:center;font-size:15px}.topbar>span{width:26px}.back{width:26px;border:0;background:none;color:var(--brown);font-size:22px;text-align:left;padding:0}.scroll-area{flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#cab8a7 transparent;scrollbar-width:thin}.catalog-intro{padding:8px 16px 13px}.catalog-intro h1{font-size:20px;letter-spacing:-.5px;margin:0}.tab-wrap{padding:0 15px 14px;flex-shrink:0}.tabs{display:grid;grid-template-columns:1fr 1fr;background:#eee6dc;padding:4px;border-radius:11px;gap:4px}.tabs button{border:0;background:transparent;color:#998371;padding:10px;border-radius:8px;font-size:14px}.tabs button.selected{background:#fffcf8;color:var(--ink);font-weight:700;box-shadow:0 1px 4px #6c4a2915}.book-list{padding:0 13px 28px}.book-card{background:var(--cream);border:1px solid var(--border);border-radius:15px;padding:9px;display:flex;gap:12px;margin-bottom:12px;min-height:156px}.book-cover{flex:0 0 116px;position:relative;border-radius:10px;background:#ebe1d6;display:grid;place-items:center;overflow:hidden;color:#a08369}.book-cover img{width:100%;height:100%;object-fit:cover}.book-cover .glyph{font-size:30px}.book-cover .cover-caption{position:absolute;bottom:10px;font-size:10px}.book-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px;padding:5px 0}.meta{color:#a47d61;font-size:11px}.book-info h2{font-size:15px;line-height:1.4;margin:0;letter-spacing:-.3px}.book-info p{font-size:12px;color:#957c67;margin:0;line-height:1.45}.book-status{font-size:11px;color:#a47d61}.book-info button{margin-top:auto;border-radius:18px;border:1px solid #d8c7b8;background:#fffdf8;color:#6a5040;padding:7px 5px;font-size:12px}.book-info button.primary{background:#272321;color:#fff;border-color:#272321}.episodes-heading{padding:12px 18px 15px}.episodes-heading h1{font-size:22px;margin:7px 0 0}.episode-list{padding:0 14px 16px}.episode-card{background:var(--cream);border:1px solid var(--border);border-radius:16px;padding:9px;margin-bottom:13px}.episode-thumb{width:100%;aspect-ratio:16/9;border-radius:11px;background:#e7dccc;display:grid;place-items:center;overflow:hidden;position:relative}.episode-thumb img{width:100%;height:100%;object-fit:cover}.episode-thumb.locked{filter:grayscale(.8);opacity:.53}.episode-thumb .lock-mark{position:absolute;background:#ffffffc7;border-radius:50%;padding:10px;font-size:21px}.episode-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 5px 7px}.episode-row small{font-size:11px;color:#a07f67}.episode-row h2{font-size:16px;margin:4px 0}.episode-row p{font-size:12px;color:var(--muted);margin:0}.episode-play{width:41px;height:41px;border-radius:50%;border:0;background:#e5d2bf;color:#604736;font-size:18px}.fixed-footer{height:56px;display:grid;place-items:center;flex-shrink:0;background:#fffcf8;border-top:1px solid var(--border);font-size:12px;color:#856b56}.video-frame{position:relative;width:100%;aspect-ratio:16/9;background:#332b27;flex-shrink:0}.video-frame video{width:100%;height:100%;object-fit:contain}.video-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#f6e8d9;background:#332b27}.video-empty p{margin:0;font-size:14px}.video-empty small{font-size:11px;opacity:.7}.video-play-mark{font-size:38px}.player-tools{background:#43342b;color:#eee0d0;display:flex;align-items:center;justify-content:space-between;padding:5px 13px;font-size:11px}.player-tools button{border:0;background:none;color:inherit;font-size:23px}.player-info{padding:20px 17px}.player-info h2{font-size:19px;margin:0 0 5px}.player-info p{font-size:12px;color:var(--muted);margin:0 0 30px}.wide{width:100%;min-height:48px;border-radius:12px;font-weight:650}.primary{border:1px solid #b99a7e;background:#e3cfba;color:#604735}.secondary{border:1px solid #dac8b7;background:#fffcf7;color:#6b5140}.demo-action{margin-top:18px;background:none;border:0;text-decoration:underline;color:#9a8371;font-size:11px;width:100%}.talk-header small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:2px}.chat-log{flex:1;overflow-y:auto;padding:18px 14px;display:flex;flex-direction:column;gap:13px;min-height:0}.bubble-row{display:flex;align-items:flex-start;gap:8px}.avatar{width:34px;height:34px;border-radius:50%;overflow:hidden;background:#e7d7c6;flex-shrink:0}.avatar img{width:100%;height:100%;object-fit:cover}.bubble{background:#fffcf8;border:1px solid #e9ded3;border-radius:15px;padding:12px;max-width:82%;white-space:pre-wrap;line-height:1.55;font-size:13px}.bubble small{display:block;color:#9b7a62;margin-bottom:5px;font-size:10px}.bubble-row.me{justify-content:flex-end}.bubble-row.me .bubble{background:#e5d1bd;border-color:#e5d1bd}.chat-bottom{background:#fffdf9;border-top:1px solid var(--border);padding:10px 12px 8px;flex-shrink:0}.choice-list{display:flex;flex-wrap:wrap;gap:7px;padding:2px 0 12px}.choice-list[hidden]{display:none}.choice-list button{border:1px solid #ddc7b2;border-radius:25px;background:#f1e6da;padding:8px 12px;color:#684b37;font-size:12px}.chat-compose{display:flex;align-items:center;gap:8px}.choice-toggle{height:40px;width:40px;border:0;border-radius:10px;background:#f0e5d9;color:#7f614a;font-size:22px}.chat-compose input{min-width:0;flex:1;height:42px;border:1px solid #e3d5c6;background:white;border-radius:11px;padding:0 12px;font-size:13px;outline-color:#a88d73}.send{height:40px;width:40px;border:0;border-radius:10px;background:#6d503b;color:white;font-size:22px}.talk-hints{text-align:center;color:#a38b77;font-size:10px}.talk-hints p{margin:6px 0 0}.finish-content{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;gap:20px}.finish-heart{width:92px;height:92px;border-radius:50%;background:#e9dccb;display:grid;place-items:center;font-size:50px;color:#98785f}.finish-content h1{font-size:21px;line-height:1.5;margin:0}.finish-content p{margin:0;color:#78604d}.finish-bottom{padding:15px 18px 30px;display:flex;flex-direction:column;gap:10px}.finish-bottom small{text-align:center;color:#9b826c;margin-top:6px}.goodbye-content{margin:auto;text-align:center;padding:30px}.goodbye-content>div{font-size:58px;color:#b38b65}.goodbye-content h1{font-size:23px}.goodbye-content p{color:var(--muted)}.goodbye-content button{padding:12px 22px;border-radius:12px;margin-top:24px}.letter-tabs{padding-top:8px}.letter-list{padding:18px 14px}.letter-list h2{font-size:13px;color:var(--muted);font-weight:400}.letter-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.letter-item{border:1px solid var(--border);background:#fffcf8;border-radius:13px;overflow:hidden;text-align:left;padding:0;color:var(--ink)}.letter-thumb{height:130px;background:#eadfd3;display:grid;place-items:center;font-size:40px;color:#8a6c56}.letter-thumb img{width:100%;height:100%;object-fit:cover}.letter-item span{display:block;padding:12px;font-size:13px;font-weight:650}.letter-item small{display:block;color:var(--muted);font-size:11px;font-weight:400;margin-top:4px}.letter-body{padding:24px 20px}.letter-paper{background:#fffdf8;border:1px solid #e5d8c9;padding:26px 23px;border-radius:4px;box-shadow:0 8px 28px #6d52301c;line-height:2;font-size:16px;white-space:pre-wrap}.letter-paper h2{font-size:20px}.letter-sign{text-align:right;margin-top:24px}.letter-video{aspect-ratio:16/9;background:#dfd2c4;display:grid;place-items:center;color:#765c48;text-align:center;padding:12px}.sheet-backdrop{position:absolute;inset:0;background:#0007;z-index:20}.menu-sheet{position:absolute;z-index:21;bottom:0;left:0;right:0;background:var(--bg);border-radius:25px 25px 0 0;padding:16px 18px 36px;transform:translateY(110%);transition:transform .3s ease}.menu-sheet.open{transform:translateY(0)}.sheet-close{position:absolute;right:14px;top:10px;border:0;background:none;font-size:23px;color:#85766d}.sheet-handle{height:4px;width:38px;background:#d8cdc3;border-radius:4px;margin:0 auto 26px}.menu-sheet h2{text-align:center;font-size:16px;margin:0}.menu-sheet p{text-align:center;font-size:12px;color:var(--muted);margin:9px 0 22px}.menu-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.menu-card{height:142px;border-radius:14px;background:#e6d7c6;border:1px solid #a88d73;color:#49372c;font-weight:700;font-size:17px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}.menu-card span{font-size:31px}.feed{background:#3a3432;color:white}.feed-bg{position:absolute;inset:0;background:linear-gradient(140deg,#786e67,#383131);display:grid;place-items:center}.feed-placeholder{font-size:13px;opacity:.65}.feed-top{position:absolute;top:30px;left:0;right:0;text-align:center}.feed-brand{font-family:Georgia,serif;letter-spacing:.25em;font-size:22px}.feed-sub{font-size:11px;margin-top:7px;opacity:.85}.feed-count{position:absolute;right:18px;top:36px;font-size:12px}.feed-actions{position:absolute;right:15px;bottom:115px;display:flex;flex-direction:column;align-items:center;gap:13px}.feed-actions button{border:0;background:none;color:white;font-size:18px;text-shadow:0 1px 3px #222}.feed-actions button.active{color:#ffdfb9;transform:scale(1.08)}.feed-actions .feed-menu{font-size:26px;margin-top:9px}.feed-menu small{display:block;font-size:11px}.feed-nick{position:absolute;left:18px;bottom:54px;font-size:14px;font-weight:650}.feed-next{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);background:#ffffff26;color:white;border:1px solid #ffffff70;border-radius:20px;padding:6px 15px;font-size:11px}.reaction{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);font-size:44px;font-weight:800;pointer-events:none}.reaction.pop{animation:reaction .9s ease forwards}@keyframes reaction{0%{opacity:0;scale:.6}40%{opacity:1;scale:1.2}100%{opacity:0;scale:1}}@media(min-width:500px){.app{height:min(92dvh,850px);margin:4dvh auto;border-radius:28px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
[hidden]{display:none!important}

/* Check-in and install guidance: additions to the approved interface. */
.onboard-layout{height:100%;display:flex;flex-direction:column;padding:26px 23px 34px;gap:20px}.onboard-head{text-align:center;font-weight:750;letter-spacing:.18em;color:#604735}.onboard-center{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:16px}.onboard-center h1,.install-guide-body h1{font-size:21px;line-height:1.5;margin:0;color:#503a2d;word-break:keep-all}.onboard-center p,.install-guide-body p{font-size:14px;line-height:1.7;color:#846b56;margin:0;word-break:keep-all}.onboard-symbol{width:84px;height:84px;border-radius:24px;background:#eadbcb;color:#876a52;display:grid;place-items:center;font-size:42px;margin:0 auto}.onboard-actions{display:flex;flex-direction:column;gap:10px}.onboard-actions small,.install-guide-body small{font-size:11px;line-height:1.5;text-align:center;color:#a18b79}.menu-install-area{margin-top:14px;border-top:1px solid #e5d9cd;padding-top:12px;text-align:center}.menu-install-link{border:0;background:transparent;color:#907763;font-size:12px;padding:8px 5px}.install-guide-body{flex:1;overflow-y:auto;padding:45px 22px 25px;display:flex;flex-direction:column;gap:17px;text-align:center;align-items:stretch}.install-guide-body .onboard-symbol{flex-shrink:0}.install-steps{background:#fffcf7;border:1px solid #e7d9c9;border-radius:13px;padding:14px;text-align:left;font-size:13px;color:#755b48;line-height:1.8;white-space:pre-line}.install-steps:empty{display:none}

/* Guest-first feed: check-in lives at top right, daily counter at top left. */
.feed-count{left:18px;right:auto;top:38px}.feed-checkin{position:absolute;top:30px;right:14px;z-index:3;border:1px solid #ffffffa6;background:#2d241f7a;color:white;padding:7px 12px;border-radius:20px;font-size:12px;font-weight:650;backdrop-filter:blur(6px)}.feed-checkin[hidden]{display:none}

.onboard-head{position:relative}.checkin-back{position:absolute;left:0;top:-4px;border:0;background:transparent;color:#604735;font-size:22px;padding:0 6px}

/* VOL. 0 무료체험: 기존 셀북 카드 스타일 유지, 제목 구분 및 제공 원본 그림 적용 */
.mongle-book-card .book-cover img{object-position:53% center}
.trial-book-heading{display:flex;flex-direction:column;gap:6px}
.trial-book-heading .trial-series,.trial-book-heading .trial-title{display:block}
.trial-book-heading .trial-series{font-size:12px;font-weight:600;line-height:1.4}
.trial-book-heading .trial-title{font-size:15px;font-weight:750;line-height:1.4}

/* Trial TALK uses the same existing chat interface; only a tiny helper line differs. */
.talk-trial-notice{margin:10px 0 0!important;text-align:center;font-size:11px!important;color:#917968!important;line-height:1.6}
.choice-list button.choice-skip{background:transparent;border-style:dashed;color:#8e7b6c}

/* v16 merge (2026-11-05) — 보호자 기기에서 이용할 때에만 피드 오른쪽 상단 보호자 복귀 버튼. */
.feed-parent-return{position:absolute;top:25px;right:12px;z-index:6;
 border:1px solid rgba(255,255,255,.62);background:rgba(45,36,31,.72);
 color:#fff;padding:8px 11px;border-radius:20px;font-size:12px;font-weight:650;
 backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);line-height:1.2;white-space:nowrap}
.feed-parent-return[hidden]{display:none!important}
.feed.parent-device-mode .feed-count{top:71px;right:17px}
.feed-parent-return:focus-visible{outline:3px solid #fff;outline-offset:2px}
