@import"https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap";:root{font-family:DM Sans,system-ui,-apple-system,sans-serif;color:#e8e7df;background:#101522;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;min-width:320px}button{font:inherit;cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible{outline:3px solid #f5cf81;outline-offset:4px}.app-shell{min-height:100vh;background:radial-gradient(ellipse at 50% -10%,#223347,#131a2a 32%,#101522 70%)}.topbar{width:100%;border-bottom:1px solid #ffffff16;display:flex;align-items:center;justify-content:space-between;padding:18px max(20px,calc((100vw - 880px)/2));gap:10px}.brand{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700;letter-spacing:2px;padding:0;color:#ead9aa;border:none;background:none}.brand-icon{display:grid;place-items:center;border:1px solid #a98c53;width:27px;height:27px;border-radius:50%;font-size:19px}.tag{font-size:9px;font-weight:700;color:#97a5b6;letter-spacing:1.1px;border:1px solid #475266;border-radius:999px;padding:6px 9px}.home{max-width:880px;margin:auto;padding:62px 22px 40px}.eyebrow,.genre,.shelf-label,.scene-eyebrow,.ending-kicker{font-size:11px;letter-spacing:1.8px;color:#c8aa71;font-weight:700}.home h1{font-family:Cormorant Garamond,Georgia,serif;font-size:clamp(45px,9vw,70px);font-weight:500;line-height:.99;margin:18px 0;letter-spacing:-.9px}.home h1 em{color:#e0bb7e;font-weight:500}.intro{max-width:520px;color:#adb7c5;line-height:1.75;font-size:15px}.shelf-label{display:flex;justify-content:space-between;color:#9ba7ba;border-bottom:1px solid #ffffff29;margin:52px 0 22px;padding-bottom:12px}.story-card{border:1px solid #59627675;background:#192333;display:grid;grid-template-columns:minmax(240px,40%) 1fr;overflow:hidden;border-radius:16px;box-shadow:0 25px 70px #05081066}.cover-art{position:relative;min-height:440px;background:linear-gradient(#18243e 5%,#33465a 45%,#1a2930 78%,#08141a);overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:end;padding:36px 15px}.cover-art:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 55% 40%,#98b5ba64,transparent 39%),linear-gradient(transparent,#081218b0)}.moon{position:absolute;top:83px;left:43%;width:90px;height:90px;border-radius:50%;background:#e9dbc1;box-shadow:0 0 50px 18px #e4e4c248}.forest-layer{position:absolute;width:100%;bottom:0;height:75%;background:repeating-linear-gradient(97deg,transparent 0 24px,#08161a 26px 31px,transparent 33px 52px);opacity:.7}.forest-back{bottom:0;transform:translate(20px) scale(.85);opacity:.4}.forest-front{height:45%;background:repeating-linear-gradient(91deg,transparent 0 21px,#06131a 24px 35px,transparent 36px 53px);opacity:.8}.cover-mark,.cover-sub,.cover-title{position:relative;z-index:2;text-shadow:0 3px 12px #091015}.cover-mark{color:#e5c38b;font-size:32px}.cover-sub{font-size:9px;letter-spacing:2px;color:#efddb8;margin-top:8px}.cover-title{font-family:Cormorant Garamond,Georgia,serif;text-align:center;font-size:55px;line-height:.91;letter-spacing:3px;color:#f6e8c9;margin-top:13px}.story-card-body{padding:36px 30px;display:flex;flex-direction:column;justify-content:center;gap:13px}.story-card-body h2{margin:0;font:600 36px/1.08 Cormorant Garamond,Georgia,serif}.story-card-body p{line-height:1.7;color:#bbc3ce;margin:0;font-size:14px}.facts{display:flex;flex-wrap:wrap;gap:10px;font-size:11px;color:#c3ced6;margin:8px 0}.facts span{background:#ffffff0e;padding:7px;border-radius:8px}.primary-button{border:0;background:#dbbb7d;color:#1c2028;border-radius:10px;padding:15px 18px;font-size:14px;font-weight:700;width:100%;min-height:50px}.primary-button:hover{background:#edd49d}.saved-summary{display:flex;justify-content:space-between;align-items:center;gap:10px;border-radius:9px;background:#26364a;padding:12px}.saved-summary div{display:flex;flex-direction:column;gap:4px}.saved-summary strong{font-size:12px}.saved-summary span{color:#bdc8d5;font-size:12px}.secondary-actions{display:flex;justify-content:center;gap:18px}.secondary-actions button,.text-button{border:0;background:none;color:#d2bd93;padding:8px;font-size:12px;text-decoration:underline;text-underline-offset:3px}.info-panel{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:27px 0}.info-panel>div{display:flex;gap:12px;padding:20px;border:1px solid #ffffff1c;border-radius:13px}.info-icon{color:#deb975;font-size:27px}.info-panel strong{font-size:13px}.info-panel p{color:#94a4b6;line-height:1.6;font-size:12px;margin:6px 0 0}.diagnostics{border-top:1px solid #ffffff29;padding-top:17px}.report{background:#172031;border:1px solid #ffffff24;border-radius:12px;padding:20px;margin:10px 0}.report h3,.report h4{margin:0 0 10px}.report h4{font-size:13px;margin-top:24px}.report p{color:#bbc6d3;font-size:13px;line-height:1.6}.report-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:18px 0}.report-numbers>div{background:#253144;border-radius:9px;padding:13px;text-align:center}.report-numbers strong{display:block;font-size:25px}.report-numbers small{color:#b9c3d1;font-size:10px}.report li{padding:5px;font-size:12px}.report li small{color:#a0acbb}.report .success{color:#9ad4a8}.report .error{color:#f7abab}.small-note{font-size:11px!important}footer{padding:55px 0 20px;color:#6d8296;font-size:12px;text-align:center}.reader{max-width:790px;margin:auto;padding:18px 18px 80px}.reader-navigation{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:2px 0 20px}.back-button{color:#dfd5c0;background:none;border:none;padding:9px 0;font-size:13px}.save-indicator{color:#9db9a7;font-size:11px}.scene-visual{min-height:250px;height:clamp(230px,42vw,390px);border:1px solid #62718365;border-radius:14px 14px 0 0;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.mood-forest{background:radial-gradient(ellipse at 50% 63%,#617b80,#314957 28%,#101e2a 68%,#080d16)}.mood-cottage{background:radial-gradient(ellipse at 50% 65%,#a7783a,#5b422c 24%,#25212a 65%,#13151e)}.mood-cellar{background:radial-gradient(ellipse at 50% 70%,#4a6072,#1c2937 32%,#0a101b 72%)}.mood-tower{background:radial-gradient(ellipse at 50% 70%,#627589,#303a52 40%,#111627 75%)}.mood-magic{background:radial-gradient(ellipse at 50% 69%,#618e93,#383b72 36%,#181633 76%)}.visual-glow{position:absolute;height:190px;width:190px;border-radius:50%;background:#ede2bb35;filter:blur(32px)}.visual-symbol{position:relative;font-size:90px;filter:drop-shadow(0 12px 20px #060b19b8)}.visual-note{position:absolute;bottom:15px;font-size:9px;letter-spacing:2px;color:#ebdfcaaf}.reading-sheet{padding:32px 42px;background:#192233;border:1px solid #53637a74;border-top:0;border-radius:0 0 14px 14px}.scene-eyebrow{display:flex;justify-content:space-between;gap:15px;font-size:9px;line-height:1.5}.scene-eyebrow span{white-space:nowrap}.reading-sheet h1{font:600 clamp(36px,7vw,52px)/1 "Cormorant Garamond",Georgia,serif;margin:17px 0 23px;color:#f7eddc}.reader-controls{display:flex;align-items:center;justify-content:space-between;padding:12px 0;gap:12px;border-top:1px solid #ffffff24;border-bottom:1px solid #ffffff24;color:#b7bdc8;font-size:10px;font-weight:700;letter-spacing:1px}.font-control{display:flex;align-items:center;gap:9px}.font-control button{background:#ffffff10;border:1px solid #ffffff2a;color:#f4e8d8;padding:6px 8px;border-radius:5px;font-size:13px}.font-control span{width:30px;text-align:center;font-size:10px}.story-text{font-family:Georgia,Times New Roman,serif;color:#e9e2d4;line-height:1.85;margin:22px 0 32px;overflow-wrap:anywhere}.story-text p{margin:0 0 1.25em}.choices{border-top:1px solid #ffffff29;padding-top:24px}.choices h2{font:600 30px/1.1 Cormorant Garamond,Georgia,serif;margin:0 0 19px}.choice{background:#29374a;border:1px solid #4c6076;border-radius:9px;margin:10px 0;width:100%;min-height:66px;padding:12px;display:flex;align-items:center;gap:14px;color:#f8efdf;text-align:left}.choice:not(:disabled):hover{border-color:#e1c28b;background:#33475d}.choice:disabled{opacity:.51}.choice-letter{width:33px;height:33px;display:grid;place-items:center;flex-shrink:0;border:1px solid #bd9e69;border-radius:7px;color:#edd2a1}.choice-copy{flex:1;display:flex;flex-direction:column;gap:5px}.choice-copy strong{font-size:13px;font-weight:600;line-height:1.5}.choice-copy small{color:#d3a99d;font-size:11px}.choice-arrow{color:#e1ca9e;font-size:18px}.status{background:#111b2b;border-radius:12px;padding:20px;margin-top:29px;border:1px solid #52617654}.status-top{display:flex;justify-content:space-between;gap:10px;padding-bottom:12px;border-bottom:1px solid #ffffff22;font-size:10px;letter-spacing:1px;color:#c9ae7d;font-weight:700}.inventory{padding:15px 0 5px;font-size:13px}.inventory p{color:#b3c1d1;font-size:12px}.status-footer{margin-top:13px;color:#8d9fb3;font-size:10px}.ending-panel{background:#243349;padding:25px;text-align:center;border:1px solid #d0ae7863;border-radius:12px}.ending-panel .ending-symbol{display:block;font-size:40px;margin-bottom:12px}.ending-panel h2{font:600 31px Cormorant Garamond,Georgia,serif}.ending-panel p{color:#b9c8d6;line-height:1.7;font-size:13px}.error{color:#f6b8ac;font-size:12px}@media(max-width:620px){.topbar{padding:14px 17px}.brand{font-size:10px;letter-spacing:1.3px}.home{padding:43px 16px 25px}.story-card{grid-template-columns:1fr}.cover-art{min-height:310px}.story-card-body{padding:25px 21px}.info-panel{grid-template-columns:1fr;gap:11px}.reader{padding:10px 10px 55px}.reading-sheet{padding:26px 20px}.reader-navigation{margin:0 5px 12px}.scene-visual{min-height:220px}.visual-symbol{font-size:72px}.scene-eyebrow{font-size:8px}.reader-controls{gap:7px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
