/* A room is the home screen; narrative cards remain focused on the heroine. */
.shell.room-shell{padding-left:0;background:#282d36}.room-shell .sidebar{display:none}.room-shell .topbar{padding:0 30px;background:#fbf6ee;border-color:#dacbbb;height:76px}.room-shell .mobile-brand{display:block;font-size:2rem;color:#40302c}.room-shell .topbar>span{margin-right:auto;color:#7d6e63}.room-shell .topbar>span b{color:#70404b}.room-shell .room-home{min-height:calc(100dvh - 76px);display:grid;align-content:center}.room-shell .room-stage,.guest-room .room-stage{max-width:calc((100dvh - 76px)*16/9);margin-inline:auto}.home-header{display:flex;align-items:center;justify-content:space-between;gap:25px;background:#fbf6ee;color:#40302c;min-height:76px;padding:15px 30px;border-bottom:1px solid #d6c6b4}.home-header .brand{font-size:2rem}.home-header>span{font-size:.82rem;color:#806f62;margin-right:auto}.home-header>div{display:flex;gap:12px;align-items:center}.home-header .btn{background:#70404b;color:#fff2eb}.home-header .btn.light{background:#ecdfd2;color:#70404b}.guest-room{min-height:100dvh;background:#282d36}.guest-room .room-home{min-height:calc(100dvh - 76px);display:grid;align-content:center}.room-welcome{background:#283442d9;border:1px solid #dec09a7d;padding:15px 20px;max-width:46%;border-radius:4px;top:2.5%;left:2.3%;text-shadow:none}.room-welcome h1{font-size:clamp(1.4rem,2.1vw,2.2rem)}.room-welcome>span{font-size:clamp(.64rem,.9vw,.77rem)}.room-task-list{display:grid;gap:10px;margin:18px 0}.room-task-option{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:16px;border:1px solid #dcc7bd;background:#fff9f1;color:#614439;border-radius:6px;text-align:left}.room-task-option span{font-size:.78rem;color:#8c7160}.room-task-option:hover{border-color:#9d7562;background:#f7e8d8}.room-task-list .active-task{margin-top:0}.chapter-protagonist{display:flex;align-items:center;gap:18px;margin-bottom:25px}.chapter-protagonist>img{width:70px;height:85px;object-fit:cover;object-position:center 3%;border-radius:50% 50% 8px 8px;background:#efd8e2}.chapter-protagonist h2{font-size:2rem}.chapter-protagonist small{font-size:.76rem}.chapter-protagonist p{font-size:.8rem;color:#8b6c7d;margin-top:3px}.reader-cards{max-width:1190px;padding:25px 32px 40px}.reader-cards .reader-head{margin-bottom:22px}.reader-cards .reader-head h1{font-family:Georgia,serif;font-size:1.3rem;font-weight:400;color:#684159}.story-flow-layout{display:grid;grid-template-columns:minmax(170px,.65fr) minmax(0,1.6fr);gap:24px;align-items:start}.heroine-stage{position:relative;min-width:0;border-radius:100px 100px 9px 9px;background:radial-gradient(ellipse at 50% 36%,#ead2de,#ab859b);overflow:hidden;border:1px solid #be9cae}.heroine-stage>img{width:100%;height:340px;object-fit:contain;object-position:center bottom;padding-top:15px;filter:drop-shadow(3px 4px 3px #573a4b26)}.heroine-stage>div{background:#553249;padding:20px 15px;color:#fff0f8;text-align:center}.heroine-stage small{font-size:.7rem;color:#dcbacb}.heroine-stage h2{font-size:1.9rem;overflow-wrap:anywhere;color:#fff0f8;margin:4px 0}.heroine-stage p{font-size:.75rem;color:#deb9ce}.story-card-status{font-size:.83rem;line-height:1.5;color:#943e68;min-height:20px;margin-top:12px}.story-card-status:empty{min-height:0;margin:0}.reader-cards .reader-note{padding:15px 0;margin-top:10px}.life-dialogue .story-cards{max-width:850px;margin:0 auto}.life-dialogue{padding:18px 0 0}.life-dialogue .influence-panel{margin:20px 0}.life-dialogue .story-card-decisions{margin-top:18px}
@media(max-width:1000px){.story-flow-layout{grid-template-columns:160px minmax(0,1fr);gap:17px}.heroine-stage>img{height:270px}.reader-cards{padding:24px}.room-shell .topbar>span{display:none}}
@media(max-width:700px){.room-shell{padding-bottom:0}.room-shell .topbar{height:71px;padding:0 13px}.room-shell .mobile-brand{font-size:1.5rem}.room-shell .room-stage,.guest-room .room-stage{max-width:none}.room-shell .room-home,.guest-room .room-home{min-height:0;display:block}.home-header{padding:14px 17px;gap:12px;min-height:74px;flex-wrap:wrap}.home-header .brand{font-size:1.7rem}.home-header>span{display:none}.home-header>div{gap:7px;margin-left:auto}.home-header .btn{padding:9px 11px;font-size:.75rem}.room-welcome{left:4%;top:4%;max-width:88%;padding:13px 15px}.room-welcome h1{font-size:1.65rem}.room-welcome p{font-size:.78rem}.room-welcome>span{font-size:.7rem;line-height:1.5}.reader-cards{padding:20px 16px 30px}.story-flow-layout{display:block}.heroine-stage{display:none}.reader-cards .reader-head{gap:10px;flex-wrap:wrap;margin-bottom:18px}.reader-cards .reader-head h1{font-size:1.1rem}.reader-cards .reader-head a{font-size:.76rem}.chapter-protagonist h2{font-size:1.75rem}.life-dialogue .influence-panel{margin:18px 0}.story-card-status{font-size:.76rem}.guest-room .room-pocket-nav{padding-bottom:18px}.room-shell .room-mobile-note{margin-bottom:0}.room-shell .resource{padding:7px 8px}}

.auth-home-link{position:absolute;top:30px;left:35px;color:#876676;font-size:.78rem;text-underline-offset:4px}
@media(max-width:700px){.auth-home-link{top:20px;left:25px}}

.room-pan{min-width:0;width:100%}.room-pan-help{display:none}
@media(max-width:700px){.room-pan{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#bba17d #252e3b;-webkit-overflow-scrolling:touch}.room-shell .room-stage,.guest-room .room-stage{width:760px;min-width:760px;max-width:none;margin:0;aspect-ratio:16/9}.room-welcome{top:3%;left:3%;max-width:320px;padding:10px 14px;background:#283442e6}.room-welcome h1{font-size:1.2rem}.room-welcome p{font-size:.7rem;margin-bottom:4px}.room-welcome>span{display:none}.room-pan-help{display:block;text-align:center;padding:11px 14px 3px;color:#ecd6b7;font-size:.73rem;background:#252e3b;margin:0}.room-hotspot-pin{width:37px;height:37px}.room-hotspot-pin .icon{width:18px;height:18px}.room-hotspot{min-width:46px;min-height:46px}.room-pocket-nav{padding-top:8px}.room-mobile-note{padding-bottom:26px}.room-hint{display:none}}
