:root{--ink:#243a30;--cream:#f4eee1;--line:#d9d0be;--muted:#697165}*{box-sizing:border-box}body{margin:0;background:#202c25;color:var(--cream);font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif}button{font:inherit;cursor:pointer;border:1px solid transparent;border-radius:999px;padding:11px 18px;min-height:44px;background:none;color:inherit}button:focus-visible,#stage:focus-visible{outline:3px solid #e2b869;outline-offset:4px}button:disabled{opacity:.45;cursor:default}[hidden]{display:none!important}#app{position:relative;min-height:100svh;overflow:hidden}#stage{position:absolute;inset:0;touch-action:none;outline-offset:-5px}#poster,#canvasMount,#canvasMount canvas{position:absolute;width:100%;height:100%;inset:0;display:block}#poster{object-fit:cover;object-position:50% 56%;filter:brightness(.70)}#app.ready #poster{visibility:hidden}#canvasMount{opacity:0}#app.ready #canvasMount{opacity:1}.shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#16271e77,transparent 24%,transparent 75%,#16271e9c)}header{position:relative;display:flex;justify-content:space-between;align-items:center;padding:30px 40px;pointer-events:none}.brand{display:flex;gap:11px;align-items:center}.brand-mark{font-size:34px}.brand h1{font-family:Georgia,"AppleMyungjo",serif;letter-spacing:.2em;font-size:24px;margin:0}.brand p{font-size:10px;letter-spacing:.14em;margin:8px 0 0}.study{font-size:11px;border:1px solid #fff4;border-radius:999px;padding:9px 13px;background:#25362d40}#intro{position:relative;margin:clamp(40px,11vh,130px) 0 140px 8%;max-width:380px;text-shadow:0 2px 18px #17221b88}.eyebrow{font-size:9px;letter-spacing:.19em}#intro h2{font-family:Georgia,"AppleMyungjo",serif;font-weight:400;font-size:clamp(36px,4vw,56px);line-height:1.3;letter-spacing:-.04em;margin:20px 0}#intro p{font-size:14px;line-height:1.9;opacity:.9;margin-bottom:25px}.primary{background:var(--cream);color:var(--ink);border:1px solid #fff4;min-width:180px;text-shadow:none;font-weight:600;display:flex;justify-content:space-between;gap:35px}#intro small{display:block;margin-top:14px;font-size:11px;opacity:.85}footer{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 28px);text-align:center}.controls{display:flex;width:max-content;max-width:100%;margin-inline:auto;align-items:center;gap:8px;padding:7px 10px 7px 19px;border-radius:40px;background:#f4eee1f2;color:var(--ink);border:1px solid #fff7;box-shadow:0 8px 36px #18241b26}.controls button:hover{background:#dfd8c8}.live-state{display:flex;align-items:center;gap:7px;font-size:11px;white-space:nowrap}#stateDot{width:5px;height:5px;border-radius:100%;background:#7a8571}.ready #stateDot{background:#476645}#sceneControls{display:flex;gap:0}.controls button{font-size:12px;padding:9px 13px;white-space:nowrap}#detailsButton{border-left:1px solid var(--line);border-radius:0}.footnote{font-size:10px;opacity:.85;line-height:1.6;margin:11px 0 0}#sceneCaption{position:absolute;left:40px;bottom:123px;pointer-events:none;text-shadow:0 1px 5px #0008}#sceneCaption p{font-size:12px;margin:8px 0}#load,#notice{position:absolute;z-index:5;left:50%;top:50%;transform:translate(-50%,-50%);background:var(--cream);color:var(--ink);border-radius:16px;box-shadow:0 10px 50px #18251c44;padding:22px;max-width:calc(100% - 40px);min-width:270px;font-size:13px}#load{display:flex;align-items:center;gap:20px}#load button,#notice button{background:#dcd4c3}#notice p{line-height:1.7;margin-top:0}#details{position:absolute;z-index:8;right:28px;bottom:115px;background:var(--cream);color:var(--ink);width:340px;max-width:calc(100% - 28px);max-height:calc(100svh - 145px);overflow:auto;border-radius:18px;box-shadow:0 12px 48px #0b170e40;padding:21px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-heading h2{font-family:Georgia,"AppleMyungjo",serif;font-size:20px;font-weight:400;margin:0}.panel-heading button{padding:4px 13px;font-size:24px}#details p,#details small{font-size:12px;line-height:1.7;color:#4a594f}#details small{display:block;font-size:10px;margin-top:15px}dl{margin:20px 0}dl div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:10px 0;font-size:11px}dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}.panel-actions{display:grid;gap:7px}.panel-actions button{border-color:#c3c9ba;font-size:12px}.panel-actions button:first-child{background:var(--ink);color:var(--cream)}@media(max-width:600px){header{padding:23px 21px}.brand h1{font-size:20px}.brand p{font-size:8px}.brand-mark{font-size:27px}.study{font-size:9px;padding:7px 10px}#stage{top:90px;bottom:160px;min-height:330px}#poster{object-fit:cover;object-position:51% 50%}#intro{margin:110px 0 180px 30px}#intro h2{font-size:39px}.shade{background:linear-gradient(180deg,#202c25 4%,transparent 25%,transparent 62%,#202c25 88%)}footer{bottom:24px;width:calc(100% - 28px)}.controls{border-radius:22px;display:flex;flex-wrap:wrap;justify-content:center;gap:0;padding:7px 8px}.live-state{width:auto;justify-content:center;padding:0 8px;font-size:10px}.controls button{font-size:11px}.footnote{font-size:9px}#sceneCaption{left:22px;bottom:154px}#details{right:14px;bottom:137px;max-height:calc(100svh - 165px)}#sceneCaption p{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
#characterChoice{position:absolute;right:35px;top:105px;display:flex;gap:10px;align-items:center;font-size:11px;padding:4px 8px 4px 14px;border:1px solid #fff4;border-radius:28px;background:#29382bd9}#characterKind{border:0;background:transparent;color:#f7f1e2;padding:10px;font:inherit;min-height:38px}#characterKind option{color:#243a30;background:#f4eee1}#characterKind:focus-visible{outline:2px solid #e2b869}.seat-label{position:absolute;z-index:2;background:#f6f0e2e8;color:#304738;border:1px solid #fff8;box-shadow:0 3px 18px #14251b22;transform:translate(-50%,-50%);padding:8px 14px;font-size:11px;min-height:40px}.seat-label.near{background:#304738;color:#fff7e5;border-color:#e8d3a0}#walkAction{position:absolute;right:36px;bottom:118px;text-align:right}#walkAction p{font-size:11px;text-shadow:0 1px 5px #0008}#sitBtn{background:#f4eee1;color:#253c2c;font-size:12px;border-color:#fff7;box-shadow:0 6px 22px #1b281c22}#sitBtn:disabled{background:#f4eee1bf;opacity:.75}kbd{font:10px inherit;border:1px solid #52634a55;border-radius:4px;padding:2px 5px;margin-left:10px}#touchPad{display:none}#readingHud{position:absolute;z-index:3;bottom:28px;left:50%;transform:translateX(-50%);width:620px;max-width:calc(100% - 36px);padding:17px 23px 13px;border-radius:22px;background:#f5f0e4f7;color:#293e30;box-shadow:0 12px 44px #10201235;border:1px solid #fff8}.reading-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:11px;color:#64745d}.reading-heading button{font-size:11px;padding:6px 10px;min-height:36px}.reading-main{display:flex;align-items:center;gap:20px;padding:7px 0 16px}.reading-book{flex:1;min-width:0}.reading-book h2{font-family:Georgia,"AppleMyungjo",serif;font-size:23px;font-weight:400;line-height:1.4;overflow-wrap:anywhere;margin:8px 0;max-height:68px;overflow:auto}.reading-book p{font-size:11px;line-height:1.6;color:#67735f;margin:0}.reading-time{min-width:105px;align-self:center;border-left:1px solid #d9d4c6;padding-left:20px}.reading-time span{font-size:10px;color:#62725c}.reading-time strong{display:block;font-family:Georgia,serif;font-size:28px;font-weight:400;margin-top:7px;white-space:nowrap;font-variant-numeric:tabular-nums}.reading-actions{display:flex;gap:7px;align-items:center;border-top:1px solid #ded8c9;padding-top:13px}.reading-actions button{font-size:12px;padding:9px 13px;white-space:nowrap}.reading-primary{background:#334f3c;color:#fff7e7!important;border:1px solid #334f3c}.reading-primary:hover{background:#42624b}.reading-actions button:last-child{margin-left:auto}#timeNotice{font-size:9px;color:#77816f;display:block;margin-top:10px;line-height:1.5}#app.seated footer,#app.seated #sceneCaption,#app.seated #characterChoice,#app.seated #walkAction,#app.seated #touchPad{display:none!important}#app.seated .study{opacity:.65}#app.seated .shade{background:linear-gradient(180deg,#16271e55,transparent 25%,transparent 65%,#16271e66)}dialog{border:1px solid #fff8;border-radius:24px;background:#f5efe1;color:#263f2e;box-shadow:0 20px 100px #101c1655;width:440px;max-width:calc(100% - 32px);padding:30px}dialog::backdrop{background:#16251d75}#bookForm{display:flex;flex-direction:column;gap:12px}#bookForm h2{font-family:Georgia,"AppleMyungjo",serif;font-weight:400;font-size:27px;line-height:1.4;margin:12px 0 0;letter-spacing:-.04em}#bookForm p{font-size:13px;line-height:1.8;color:#65705c;margin:0 0 14px}#bookForm label{font-size:12px}#bookTitle{width:100%;border:1px solid #c7cdba;border-radius:10px;padding:15px 13px;background:#fffaf0;color:#263f2e;font:inherit;font-size:15px;margin-bottom:7px;outline-offset:3px}#bookTitle:focus{outline:2px solid #617458}#bookForm small{font-size:10px;color:#7a826f;text-align:center}.dialog-close{position:absolute;right:10px;top:8px;font-size:25px;padding:4px 13px}#skipBook{font-size:12px}#readingLamp{position:absolute;inset:0;z-index:20;background:radial-gradient(ellipse at 50% 38%,#ecdfb6,#b8bc99 45%,#8b9d83);color:#304532;min-height:100svh;display:flex;align-items:center;flex-direction:column;text-align:center;padding:115px 25px 45px}.lamp-header{position:absolute;top:22px;left:28px;right:22px;display:flex;justify-content:space-between;align-items:center;font-family:Georgia,"AppleMyungjo",serif;letter-spacing:.12em}.lamp-header button{font-family:-apple-system,sans-serif;font-size:12px;letter-spacing:0}.lamp-illustration{position:relative;width:180px;height:200px;margin:20px 0 25px}.lamp-shade{position:absolute;top:10px;left:26px;width:128px;height:77px;background:#647958;border-radius:90px 90px 14px 14px;border-bottom:8px solid #e5d3a1;box-shadow:0 36px 75px #f4db8588}.lamp-stem{position:absolute;top:84px;left:88px;height:90px;width:6px;background:#5b6e4e}.lamp-base{position:absolute;top:172px;left:57px;width:68px;height:10px;background:#5b6e4e;border-radius:50%}#lampBook{font-family:Georgia,"AppleMyungjo",serif;font-size:23px;max-width:440px;overflow-wrap:anywhere;margin:5px 0 15px}#lampState{font-size:12px;opacity:.8}#lampToday{font:400 36px Georgia,serif;margin:17px 0}.lamp-help{font-size:12px}.lamp-buttons{display:flex;gap:10px;margin:20px 0 25px;font-size:13px}#readingLamp small{font-size:10px;opacity:.7}#walkToast{position:absolute;z-index:25;top:130px;left:50%;transform:translateX(-50%);max-width:calc(100% - 30px);background:#f4eee1;color:#2b4130;border-radius:12px;padding:13px 18px;font-size:12px;box-shadow:0 5px 25px #0002}#app.lamp-mode #stage{visibility:hidden}
@media(max-width:600px){#characterChoice{right:15px;top:99px;font-size:10px;z-index:4}#characterChoice label{display:none}#characterKind{font-size:10px;min-height:34px;padding:8px}#walkAction{right:15px;bottom:154px;max-width:220px}#walkAction p{font-size:10px}#sitBtn{font-size:11px;padding:11px;max-width:100%}#sceneCaption{display:none}#touchPad{display:block;position:absolute;left:15px;bottom:154px;z-index:4;text-align:center;touch-action:none}#touchPad button{border:1px solid #f7efd988;background:#2b4439cf;color:#fff6e2;font-size:17px;padding:0;width:44px;min-width:44px;min-height:44px;border-radius:12px;margin:2px;touch-action:none}#touchPad>div{display:flex}#touchPad button:active{background:#697d58}.seat-label{font-size:10px;padding:8px 10px}#readingHud{bottom:19px;max-width:calc(100% - 24px);padding:14px 15px 12px;border-radius:18px}.reading-main{gap:12px;padding-top:4px;padding-bottom:12px}.reading-book h2{font-size:20px;max-height:57px}.reading-book p{font-size:10px}.reading-time{min-width:88px;padding-left:12px}.reading-time strong{font-size:24px}.reading-actions{gap:3px;flex-wrap:wrap;padding-top:9px}.reading-actions button{font-size:11px;padding:9px 10px}.reading-actions button:last-child{margin-left:0}.reading-heading button{min-height:36px}.reading-heading{font-size:10px}#timeNotice{font-size:8px}#app.seated #stage{bottom:235px;min-height:0}#bookQuestion{font-size:25px}dialog{padding:28px 22px}#readingLamp{padding-top:90px}.lamp-illustration{height:180px;margin-top:15px}.lamp-header{left:20px;right:15px}.lamp-header button{font-size:11px}}
/* Keep the table visible above the reading controls on desktop. */
@media(min-width:601px){#readingHud{width:720px;padding:10px 20px 11px;bottom:18px}.reading-main{padding:2px 0 9px}.reading-book>.eyebrow,.reading-book p{display:none}.reading-book h2{font-size:21px;margin:2px 0;max-height:58px}.reading-time strong{font-size:24px;margin-top:3px}.reading-actions{padding-top:7px}#timeNotice{margin-top:5px}}

.reading-time{min-width:128px}.reading-time strong,#lampToday{font-variant-numeric:tabular-nums}@media(max-width:600px){.reading-time{min-width:110px;padding-left:10px}.reading-time strong{font-size:22px}}

.cafe-status{text-align:right;color:#f4eee1;font-size:12px}.cafe-status-values{display:flex;gap:18px;padding:10px 16px;background:#283a31c9;border:1px solid #f4eee144;border-radius:20px}.cafe-status-values span{white-space:nowrap}.cafe-status b{font-weight:500;font-variant-numeric:tabular-nums;margin-left:5px}.cafe-status small{display:block;font-size:10px;margin:6px 10px 0;opacity:.85}@media(max-width:600px){header{flex-wrap:wrap;gap:12px}.cafe-status{width:100%;text-align:center}.cafe-status-values{justify-content:center;gap:12px;padding:9px 8px;font-size:10px}.cafe-status small{font-size:9px}#characterChoice{top:160px}}

#soundPanel{position:absolute;z-index:30;bottom:140px;left:50%;transform:translateX(-50%);width:370px;max-width:calc(100% - 28px);padding:15px 20px;background:#f4eee1;color:#243a30;border:1px solid #d9d0be;border-radius:20px;box-shadow:0 8px 35px #0003}.sound-heading,.sound-play{display:flex;align-items:center;gap:10px}.sound-heading{justify-content:space-between}.sound-heading button{font-size:24px;padding:0 10px}#soundPanel>label{display:block;font-size:12px;margin-bottom:6px}#soundType{width:100%;padding:10px;border:1px solid #c6c7b7;border-radius:10px;background:#fffcf5;color:#243a30;font:inherit;font-size:13px}.sound-play{margin-top:12px;font-size:12px}.sound-play button{background:#314b3c;color:white;padding:8px 12px;white-space:nowrap}#soundVolume{width:95px;min-width:0;accent-color:#48664e}#soundVolumeValue{font-variant-numeric:tabular-nums;min-width:30px}#soundStatus{font-size:12px;line-height:1.5;margin:10px 0}#soundPanel small{font-size:10px;line-height:1.6}#soundPanel a{color:#3e624e}#app.seated #soundPanel{bottom:210px}

@media(max-width:800px){header{flex-wrap:wrap;gap:10px}.cafe-status{width:100%;text-align:center}.cafe-status-values{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;font-size:10px}.cafe-status-values span{white-space:normal;line-height:1.4}.cafe-status-values b{display:block;margin:4px 0 0}#characterChoice{top:185px}}

#readingAuthor{font-size:13px;color:#697165;margin:4px 0 7px}#bookDialog{max-height:calc(100dvh - 32px);overflow:auto}#bookForm label small{font-size:11px;opacity:.7}

/* Full reading view: a quiet page, with no active 3D canvas. */
#app.seated{background:#f5f1e7;color:#2d4438;min-height:100svh}#app.seated #stage{visibility:hidden;pointer-events:none}#app.seated .shade{display:none}#app.seated header{color:#2d4438}#app.seated .cafe-status{color:#526354}#app.seated .cafe-status-values{background:#e7ecdf;border-color:#d6dece}
#app.seated #readingHud{position:relative;inset:auto;transform:none;width:100%;max-width:none;min-height:calc(100svh - 120px);padding:28px 24px 50px;background:transparent;border:0;border-radius:0;box-shadow:none;z-index:4}.reading-inner{width:740px;max-width:100%;margin:0 auto}.reading-heading{font-size:12px}.reading-heading button{border:1px solid #cdd5c7;padding:8px 16px}.reading-main{display:flex;flex-direction:column;gap:26px;text-align:center;padding:38px 0 32px}.reading-book>.eyebrow{display:block;color:#7a896f;font-size:10px;letter-spacing:.13em}.reading-book h2{font-size:clamp(28px,4vw,42px);max-height:none;overflow:visible;margin:13px 0 8px}.reading-book #readingAuthor{font-size:16px;margin:0 0 16px}.reading-book p{display:block;font-size:12px;color:#798171}.reading-time{border:0;padding:0;min-width:0}.reading-time span{font-size:11px}.reading-time strong{font-family:Georgia,serif;font-size:clamp(44px,7vw,66px);letter-spacing:.02em;margin-top:8px}.reading-actions{justify-content:center;border:0;padding:0;gap:10px;flex-wrap:wrap}.reading-actions button{font-size:13px;padding:12px 19px;border:1px solid #cdd5c7}.reading-actions button:last-child{margin-left:0}#timeNotice{text-align:center;font-size:10px;margin-top:16px}.reading-company{margin-top:40px;padding-top:23px;border-top:1px solid #dce0d2}.company-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.company-heading h3{font-size:15px;font-weight:500;margin:0}.company-heading>span{font-size:11px;color:#84907b}.company-empty{margin-top:17px;padding:24px;text-align:center;border:1px dashed #cbd4c2;border-radius:16px;background:#eeeee3}.company-icon{font-size:28px;color:#7e9372}.company-empty p{font-size:13px;margin:6px 0 9px}.company-empty small{font-size:11px;line-height:1.7;color:#7b8774;display:block}#app.seated #soundPanel{position:fixed;bottom:24px;z-index:30}#bookAuthor{width:100%;padding:15px 13px;border:1px solid #c7cdba;border-radius:10px;background:#fffaf0;color:#263f2e;font:inherit}
@media(max-width:600px){#app.seated #readingHud{padding:15px 20px 35px}.reading-main{padding:26px 0;gap:20px}.reading-actions{gap:7px}.reading-actions button{font-size:11px;padding:10px 12px}.reading-company{margin-top:30px}.company-heading>span{font-size:10px}.company-empty{padding:20px 15px}#app.seated .brand p{display:none}}

#resumeQuestion{font:400 27px/1.5 Georgia,"AppleMyungjo",serif;margin:20px 0 24px}#resumeBookName{font-size:18px;overflow-wrap:anywhere;margin:0 0 7px}#resumeBookAuthor{color:#71806a;font-size:13px;margin:0 0 24px}.resume-actions{display:flex;gap:10px;flex-wrap:wrap}.resume-actions button{font-size:13px}#resumeDialog>small{display:block;font-size:11px;line-height:1.6;color:#7a856f;margin-top:20px}

/* The cafe remains the background; the reading controls sit lightly over it. */
#app.seated{background:#202c25;color:#f4eee1}#app.seated #stage{visibility:visible;pointer-events:auto;inset:0;min-height:100svh}#app.seated .shade{display:block;background:linear-gradient(180deg,#16271e33,transparent 35%,#16271e33)}#app.seated header{color:#f4eee1}#app.seated .cafe-status{color:#f4eee1}#app.seated .cafe-status-values{background:#283a31c9;border-color:#f4eee144}
#app.seated #readingHud{position:fixed;inset:auto auto 22px 50%;transform:translateX(-50%);width:640px;max-width:calc(100% - 32px);min-height:0;max-height:calc(100svh - 130px);overflow:auto;padding:15px 22px;border-radius:22px;background:#f5f1e7f2;color:#2d4438;border:1px solid #fff9;box-shadow:0 12px 45px #14271b26;z-index:5}.reading-inner{width:auto}.reading-heading{font-size:11px}.reading-heading button{font-size:11px;padding:5px 12px;min-height:32px}.reading-main{flex-direction:row;gap:24px;text-align:left;padding:10px 0 15px}.reading-book>.eyebrow,.reading-book p{display:none}.reading-book h2{font-size:24px;margin:0 0 5px;max-height:85px;overflow:auto}.reading-book #readingAuthor{font-size:12px;margin:0}.reading-time{border-left:1px solid #d7ddce;padding-left:22px}.reading-time span{font-size:10px}.reading-time strong{font-size:31px;margin-top:5px;letter-spacing:0}.reading-actions{gap:7px;justify-content:flex-start}.reading-actions button{font-size:11px;padding:8px 13px;min-height:38px}.reading-actions button:last-child{margin-left:auto}#timeNotice{font-size:9px;margin-top:9px;text-align:left}.reading-company{margin-top:12px;padding-top:10px}.reading-company summary{font-size:12px;cursor:pointer;color:#64765d}.company-empty{padding:12px;margin-top:10px}.company-icon{display:none}.company-empty p{font-size:12px}.company-empty small{font-size:10px}#app.seated #soundPanel{bottom:290px}
@media(max-width:600px){#app.seated #readingHud{padding:13px 15px;bottom:14px}.reading-main{padding:10px 0 13px;gap:12px}.reading-book h2{font-size:21px}.reading-time{padding-left:12px}.reading-time strong{font-size:25px}.reading-actions{gap:5px}.reading-actions button{font-size:10px;padding:8px 9px}.reading-company{margin-top:10px}.reading-book #readingAuthor{font-size:11px}}

#recommendBtn{display:block;margin:0 0 8px auto;color:#f8f1df;background:#385542;border:1px solid #d6debd;font-size:12px}#recommendDialog{width:780px;max-height:calc(100svh - 32px);overflow:auto;padding:30px}#recommendTitle{font:400 30px Georgia,"AppleMyungjo",serif;margin:16px 0 10px}.recommend-intro{font-size:13px;color:#79816d}#recommendedBooks{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:25px 0 16px}.recommend-card{padding:22px 18px;border:1px solid #d6dccb;border-radius:14px;background:#fffbf2;display:flex;flex-direction:column}.recommend-card>small{color:#7d8d6a;font-size:10px}.recommend-card h3{font:400 24px Georgia,"AppleMyungjo",serif;margin:18px 0 7px}.recommend-card p{font-size:12px;line-height:1.8;color:#6a7661}.recommend-card .recommend-author{font-size:11px;margin:0}.recommend-card button{margin-top:auto;background:#3b5944;color:#fff5e3;font-size:12px}#recommendDialog>small{font-size:11px;color:#79816d}@media(max-width:600px){#recommendedBooks{grid-template-columns:1fr}.recommend-card{padding:16px}.recommend-card h3{margin-top:10px}#recommendTitle{font-size:25px}}

/* Centered reading popup; retain the first-person cafe around the panel. */
#app.seated #readingHud{top:50%;bottom:auto;left:50%;transform:translate(-50%,-50%);width:820px;max-width:calc(100% - 48px);max-height:calc(100svh - 64px);padding:28px 34px;border-radius:26px}
#readingHud .reading-main{padding:32px 0;gap:30px;min-height:180px}
#readingHud .reading-book h2{font-size:32px;line-height:1.4;max-height:150px}
#readingHud .reading-book #readingAuthor{font-size:15px;margin-top:8px}
#readingHud .reading-time strong{font-size:44px}
#readingHud .reading-time span{font-size:12px}
#readingHud .reading-actions{gap:10px}
#readingHud .reading-actions button{font-size:13px;min-height:44px;padding:10px 16px}
#readingHud .reading-company{margin-top:22px;padding-top:17px}
#readingHud .reading-company summary{font-size:14px}
#readingHud #timeNotice{margin-top:14px;font-size:10px}
#app.seated #soundPanel{bottom:18px;max-height:calc(100svh - 36px);overflow:auto}
@media(max-width:600px){#app.seated #readingHud{max-width:calc(100% - 24px);max-height:calc(100svh - 32px);padding:22px 20px}#readingHud .reading-main{flex-direction:column;align-items:stretch;gap:20px;padding:24px 0;min-height:0}#readingHud .reading-book h2{font-size:26px;max-height:110px}#readingHud .reading-time{border-left:0;padding-left:0;align-self:flex-start}#readingHud .reading-time strong{font-size:38px}#readingHud .reading-actions{flex-wrap:wrap;gap:6px}#readingHud .reading-actions button{font-size:12px;padding:9px 12px}}



/* Nearby seating is a prominent action, alongside automatic seat finding. */
#nearSeatAction{display:block;margin:0 0 10px auto;padding:13px 20px;min-height:48px;max-width:100%;background:#334f3c;color:#fff7e7;border:1px solid #e5ddc8;box-shadow:0 4px 18px #14251b35;font-size:14px;font-weight:600;line-height:1.5}
#nearSeatAction:hover{background:#45654d}
@media(max-width:600px){#nearSeatAction{font-size:12px;padding:10px 13px}}

/* v53: fixed-width status text so the small footer never resizes when the text changes */
#state{display:inline-block;width:4.2em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* v53 presence: reader list rows */
.company-list{display:flex;flex-direction:column;gap:6px;padding:8px 2px}.company-row{display:flex;justify-content:space-between;gap:12px;font-size:13px;padding:6px 10px;border-radius:10px;background:#ffffff10}
