/* The station is the home of the shift. Keep navigation out of the room. */
.station-dialog{background:#142e3c;color:#e5e6d9}
.station-dialog .station-canvas{position:absolute;left:290px;top:108px;width:calc(100% - 306px);height:calc(100% - 204px);border:1px solid #45606a;border-radius:12px;box-sizing:border-box}
.station-dialog .station-header{padding:22px 28px;align-items:center;z-index:3;background:#142e3c;box-sizing:border-box}
.station-dialog .station-header small{font-size:12px;letter-spacing:2px;color:#acbeb6}
.station-dialog .station-header h1{margin:8px 0 0;font-size:26px;font-weight:600;letter-spacing:2px}
.station-header-actions{display:flex;align-items:center;gap:7px;pointer-events:auto}
.station-header-actions time{font:30px var(--mono);letter-spacing:1px;color:#efd5a3;margin-right:16px}
.station-dialog .station-header button{margin:0;background:#1b3947;border-color:#47616a;font-size:14px;border-radius:7px}
.station-life-panel{position:absolute;left:26px;top:115px;bottom:82px;width:238px;overflow:auto;scrollbar-width:thin;box-sizing:border-box}
.station-state{display:flex;align-items:center;gap:8px;font-size:13px;color:#b1d4c4}
.station-state>i{width:7px;height:7px;border-radius:50%;background:#87be9e;box-shadow:0 0 14px #87be9e55}
.station-state>b{margin-left:auto;font:10px var(--mono);letter-spacing:1px;color:#789a9f}
.station-life-panel h2{font-size:27px;letter-spacing:1px;font-weight:500;margin:19px 0 7px}
.station-life-panel>p{color:#9db3b4;font-size:13px;line-height:1.7;margin:0 0 18px}
.station-floors{display:grid;gap:8px}
.station-floors button{display:flex;gap:12px;align-items:center;text-align:left;min-height:72px;background:#1a3643;border:1px solid #395662;border-radius:8px;color:#a7bcba;padding:11px;cursor:pointer}
.station-floors button[aria-current=true]{border-color:#9fbc9b;background:#2f4b4e;color:#eee2bc}
.station-floors button:disabled{cursor:default;opacity:.65}
.station-floors button>b{font:22px var(--mono);color:#b9ccc1}
.station-floors button>span{font-size:15px;flex:1;min-width:0;line-height:1.5}
.station-floors button small{display:block;font-size:10px;line-height:1.5;color:#91aaa9;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.station-floors button i{font-style:normal;font-size:15px;color:#819f9c}
#stationOverview{width:100%;margin-top:12px;padding:12px;border:1px solid #69847c;color:#d9d7b4;background:transparent;border-radius:7px;font-size:14px;cursor:pointer}
.station-daily{margin-top:18px;border-top:1px solid #3b5660;padding-top:14px}
.station-daily>small{font-size:14px;color:#d8c89d}
.station-daily p{font-size:14px;line-height:1.9;color:#a9bdb9;margin:9px 0}
.station-life-panel p.station-route{font-size:12px;color:#89a5a6;margin:14px 0 0}
#stationReceive{position:fixed;left:310px;top:122px;z-index:4;width:auto;max-width:calc(100% - 340px);padding:11px 18px;border:1px solid #edc49b;border-radius:6px;background:#ebc59b;color:#293e43;font-size:15px;cursor:pointer;box-shadow:0 5px 20px #071a2660}
.station-alert .station-state{color:#ffd3a8}.station-alert .station-state>i{background:#ffb58a}
.station-alert .station-daily{border-color:#c88d6b}
.station-dialog .station-pocket{top:auto;bottom:30px;left:302px;right:210px;flex-direction:row;flex-wrap:wrap;gap:6px}
.station-dialog .station-pocket>small{display:none}
.station-dialog .station-pocket>span{padding:6px 9px;font-size:12px;border-radius:5px}
.station-dialog .station-help{left:28px;bottom:30px;gap:4px;flex-direction:column;font-size:11px;color:#819da0}
.station-dialog .station-direction{bottom:17px;right:25px;z-index:2}
.station-dialog .station-hint{bottom:105px;left:calc(50% + 140px);z-index:2}
.station-dialog .station-hint>span{font-size:13px;background:#152d39e8;border:1px solid #527269;border-radius:6px;padding:8px 14px}
.station-dialog .station-hint button{font-size:15px;padding:8px 15px;border-radius:6px}
.station-dialog .station-hint button span{display:none}
.station-dialog .station-labels button{margin:0;font-size:13px;padding:6px 9px;min-height:34px;border:1px solid #bdb89b;border-radius:5px;background:#efe5cceF;color:#2c4448;box-shadow:0 3px 8px #06131b40}
.station-dialog .station-labels button.complete{background:#c3ddc9;color:#2b504c;border-color:#86aa8d}
.station-dialog .station-labels [data-station-go*="stairs"]{background:#375b59;color:#e1e9d6;border-color:#85aaa0}
.station-dialog .station-labels.inactive{visibility:hidden}
.station-dialog .station-conversation{z-index:5;max-height:62dvh;box-sizing:border-box;background:#182f3dfb;border-color:#bfa77d}
.station-dialog .station-narrator{display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px solid #637e77;background:#2a4a4f;mask-image:none;height:115px;border-radius:10px}
.station-narrator>span{font-size:48px;color:#c9d4b1}.station-narrator>small{font-size:12px;color:#b4c7b6;margin-top:8px}
.station-talking .station-direction,.station-talking .station-hint{visibility:hidden}
.station-overview .station-hint,.station-overview .station-direction{visibility:hidden}
.station-dialog .station-labels button:focus-visible{outline:3px solid #f0cf86;outline-offset:3px}
.station-time-controls{position:absolute;right:28px;top:76px;display:flex;align-items:center;gap:5px;z-index:4}
.station-time-controls>span{font-size:12px;color:#b3c7c0;margin-right:5px}
.station-time-controls button{font:13px var(--mono);min-height:30px;min-width:35px;padding:4px 7px;border:1px solid #55746e;border-radius:5px;background:#1b3945;color:#b9cbc2;cursor:pointer}
.station-time-controls button[aria-pressed=true]{background:#c9d7b9;color:#213a3e;border-color:#e3e6c9}
.station-time-controls button:disabled{opacity:.45;cursor:default}
.station-time-controls>small{font-size:12px;color:#d7c89f;padding-left:8px}
.station-sleep{position:absolute;inset:108px 16px 96px 290px;z-index:5;background:linear-gradient(110deg,#0e233c25,#0b193585);display:flex;justify-content:flex-end;align-items:center;border-radius:12px;pointer-events:none}
.station-sleep-card{pointer-events:auto;width:270px;max-width:calc(100% - 40px);margin:20px 30px;padding:25px;border:1px solid #8b9f9f;border-radius:14px;background:#172c42f2;box-shadow:0 16px 60px #06172766;color:#e1e5d6}
.station-sleep-card>small{font:11px var(--mono);letter-spacing:2px;color:#a5b9c0}.sleep-moon{display:block;font-size:45px;line-height:1.3;color:#ecdaad;margin-top:9px}
.station-sleep-card h2{font-size:26px;font-weight:500;letter-spacing:2px;margin:5px 0 12px}
.station-sleep-card p{font-size:14px;line-height:1.8;color:#aec2c5;margin:8px 0 16px}
.station-sleep-stats{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-top:21px;color:#a9bfc1}.station-sleep-stats b{display:block;font:21px var(--mono);color:#ece5c7;margin-top:7px}
#stationRestBar{width:100%;height:7px;margin-top:17px;accent-color:#a7c6b3;border:0;border-radius:6px;overflow:hidden}
.station-sleep-card p.station-sleep-rate{font-size:11px;margin:10px 0 20px}
#stationWake{width:100%;background:#d8d5b5;border:1px solid #eeead0;border-radius:6px;color:#243d46;padding:11px;font-size:14px;cursor:pointer}#stationWake kbd{border:1px solid #8f9e95;border-radius:3px;padding:2px 5px;margin-right:8px}
.station-sleeping .station-direction,.station-sleeping .station-hint{visibility:hidden}
@media(min-width:1600px){.station-dialog .station-canvas{left:330px;width:calc(100% - 356px)}.station-life-panel{width:270px;left:32px}.station-dialog .station-pocket{left:345px}}
@media(min-width:801px) and (min-height:521px) and (max-height:760px){
  .station-life-panel h2{margin-top:13px}.station-floors button{min-height:62px;padding:8px 11px}
  .station-life-panel .station-route,.station-daily>small{display:none}.station-daily{margin-top:12px;padding-top:10px}
}

@media(max-width:800px) and (min-height:521px){
  .station-dialog .station-header{padding:16px;align-items:flex-start;height:106px}
  .station-dialog .station-header h1{font-size:21px;letter-spacing:1px;margin-top:7px}
  .station-dialog .station-header small{font-size:10px;letter-spacing:1px}
  .station-time-controls{top:216px;left:14px;right:14px;justify-content:space-between;gap:4px}.station-time-controls>span{font-size:11px;margin:0}.station-time-controls button{min-width:34px;font-size:12px}.station-time-controls>small{font-size:11px;padding-left:2px}
  .station-header-actions{gap:5px;justify-content:flex-end;flex-wrap:wrap;width:145px}
  .station-header-actions time{font-size:24px;margin:0;width:100%;text-align:right}
  .station-dialog .station-header button{min-height:32px;padding:5px 7px;font-size:12px}
  #stationEnd{display:none}
  .station-life-panel{top:98px;left:14px;right:14px;width:auto;bottom:auto;overflow:visible;display:grid;grid-template-columns:1fr auto;gap:6px 10px;z-index:2}
  .station-state{font-size:12px;grid-column:1/-1}.station-state>b{font-size:10px}
  .station-life-panel h2{font-size:18px;margin:0;line-height:36px}
  .station-life-panel>p:not(.station-route){display:none}
  .station-floors{grid-column:1/-1;grid-row:3;grid-template-columns:repeat(3,1fr);gap:6px;direction:rtl}
  .station-floors button{direction:ltr;min-height:43px;padding:5px 8px;gap:7px;border-radius:6px}
  .station-floors button>b{font-size:17px}.station-floors button>span{font-size:12px}.station-floors button small,.station-floors button i{display:none}
  #stationOverview{grid-column:2;grid-row:2;width:auto;padding:6px 9px;font-size:12px;margin:0}
  .station-daily{grid-column:1/-1;margin:0;padding:0;border:0}.station-daily>small,.station-daily p,.station-route{display:none}
  #stationReceive{position:fixed;top:256px;left:14px;right:14px;width:calc(100% - 28px);max-width:none;padding:7px;font-size:14px}
  .station-dialog .station-canvas{left:0;top:279px;width:100%;height:calc(100% - 399px);border:0;border-radius:0}
  .station-dialog.station-alert .station-canvas{top:316px;height:calc(100% - 436px)}
  .station-sleep{inset:265px 10px 10px;align-items:flex-end;justify-content:center;background:linear-gradient(transparent,#0d203ac9)}.station-sleep-card{width:100%;max-width:none;margin:0;padding:18px 22px}.station-sleep-card .sleep-moon{float:right;font-size:35px;margin:0}.station-sleep-card h2{font-size:23px;margin-bottom:6px}.station-sleep-card p{margin:5px 0 10px;font-size:13px}.station-sleep-stats{margin-top:10px}.station-sleep-card p.station-sleep-rate{margin:8px 0 12px}
  .station-dialog .station-pocket{left:14px;right:150px;bottom:19px;gap:4px}.station-dialog .station-pocket>span{font-size:10px;padding:4px 6px}
  .station-dialog .station-labels button{font-size:12px;min-height:31px;padding:5px 7px;margin:0}
  .station-dialog .station-help{display:none}
  .station-dialog .station-hint{bottom:120px;left:50%;width:max-content;max-width:calc(100% - 20px)}
  .station-dialog .station-hint>span{font-size:12px;padding:7px 10px}
  .station-dialog .station-hint button{font-size:14px;padding:7px 10px}
  .station-dialog .station-direction{right:10px;bottom:10px}
  .station-dialog .station-direction button{width:39px;height:38px}
  .station-dialog .station-conversation{width:calc(100% - 20px);bottom:10px;max-height:65dvh;padding:17px;display:block}
  .station-dialog .rpg-copy>p{font-size:18px;line-height:1.7}
  .station-dialog .rpg-copy>small{font-size:17px}
  .station-dialog .rpg-replies button{font-size:15px;min-height:44px}
  .station-dialog .station-narrator{height:64px}.station-narrator>span{font-size:26px}.station-narrator>small{font-size:9px;margin:0}
}
@media(max-height:520px){
  .station-time-controls{top:45px;right:18px;gap:4px}.station-time-controls>span,.station-time-controls>small{font-size:10px}.station-time-controls button{min-height:22px;min-width:30px;padding:2px 5px;font-size:11px}
  .station-sleep{inset:73px 10px 10px 190px;justify-content:flex-end}.station-sleep-card{width:230px;margin:8px;padding:15px 18px}.station-sleep-card>small{font-size:10px}.station-sleep-card .sleep-moon{float:right;font-size:29px;margin:0}.station-sleep-card h2{font-size:21px;margin:3px 0 6px}.station-sleep-card p{font-size:12px;margin:5px 0 8px}.station-sleep-stats{margin-top:8px}.station-sleep-stats b{font-size:18px;margin-top:4px}#stationRestBar{margin-top:10px}.station-sleep-card p.station-sleep-rate{font-size:10px;margin:6px 0 10px}#stationWake{padding:8px;font-size:12px}
  .station-dialog .station-header{height:69px;padding:10px 17px}.station-dialog .station-header h1{font-size:19px;margin-top:3px}.station-dialog .station-header small{font-size:10px}
  .station-header-actions time{font-size:22px;margin-right:8px}.station-dialog .station-header button{font-size:12px;min-height:34px;padding:5px 8px}
  .station-life-panel{top:78px;left:14px;bottom:56px;width:164px}.station-life-panel h2{font-size:19px;margin:10px 0 4px}.station-life-panel>p{font-size:10px;margin-bottom:10px}.station-state{font-size:11px}.station-state>b{display:none}
  .station-floors{gap:5px}.station-floors button{min-height:39px;padding:5px 8px;gap:8px}.station-floors button>b{font-size:18px}.station-floors button>span{font-size:12px}.station-floors button small{display:none}
  #stationOverview{font-size:11px;padding:8px;margin-top:7px}.station-daily{margin-top:10px;padding-top:8px}.station-daily>small,.station-life-panel .station-route{display:none}.station-daily p{font-size:11px;line-height:1.5;margin:0 0 5px}#stationReceive{top:81px;left:202px;right:auto;max-width:calc(100% - 220px);font-size:12px;padding:7px}
  .station-dialog .station-canvas{left:190px;top:72px;width:calc(100% - 200px);height:calc(100% - 133px)}
  .station-dialog .station-pocket{left:200px;right:160px;bottom:15px;gap:4px}.station-dialog .station-pocket>span{font-size:10px;padding:4px 5px}
  .station-dialog .station-help{display:none}.station-dialog .station-hint{left:calc(50% + 90px);bottom:67px}.station-dialog .station-hint>span{font-size:11px;padding:5px 8px}.station-dialog .station-hint button{font-size:12px;padding:5px 8px}
  .station-dialog .station-direction{right:12px;bottom:8px}.station-dialog .station-direction button{width:34px;height:29px;font-size:14px}
  .station-dialog .station-labels button{font-size:11px;min-height:28px;padding:4px 6px;margin:0}
  .station-dialog .station-conversation{left:auto;right:12px;transform:none;width:calc(100% - 205px);max-height:calc(100dvh - 84px);bottom:12px;padding:16px;display:block}
  .station-dialog .rpg-copy>p{font-size:17px;line-height:1.7}.station-dialog .rpg-copy>small{font-size:16px}.station-dialog .rpg-replies button{font-size:14px;min-height:40px}
  .station-dialog .rpg-face{float:left;width:46px;min-width:46px;height:61px;margin:0 12px 8px 0}.station-dialog .station-narrator>span{font-size:25px}.station-dialog .station-narrator>small{display:none}
}

/* v0.10: the room belongs to the player; maps are an explicit, paused view. */
.station-dialog .station-canvas{left:0;top:94px;width:100%;height:calc(100% - 94px);border:0;border-radius:0}
.station-dialog .station-header{height:94px;background:linear-gradient(#142e3c,#142e3cf2)}
.station-dialog .station-life-panel{top:110px;left:22px;bottom:auto;width:220px;max-height:calc(100% - 220px);padding:13px 15px;border:1px solid #5c79784d;border-radius:9px;background:#122c38dd}
.station-dialog .station-life-panel h2{font-size:21px;margin:9px 0 0}
.station-dialog:not(.station-map-open) .station-life-panel>p,
.station-dialog:not(.station-map-open) .station-floors,
.station-dialog:not(.station-map-open) #stationOverview,
.station-dialog:not(.station-map-open) .station-daily>small,
.station-dialog:not(.station-map-open) .station-daily p{display:none}
.station-dialog:not(.station-map-open) .station-daily{margin:0;padding:0;border:0}
.station-dialog.station-map-open .station-canvas{left:270px;width:calc(100% - 270px)}
.station-dialog.station-map-open .station-life-panel{width:230px}
.station-dialog .station-destination{position:absolute;top:225px;left:22px;display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:6px;background:#122c38e8;color:#b7d0c7;font-size:12px}
.station-destination{white-space:nowrap}.station-destination select{max-width:190px;background:#1b3947;border:1px solid #5c7978;border-radius:4px;color:#efe5cc;padding:6px;font:inherit}
.station-map-open .station-destination{top:auto;bottom:26px}
.station-dialog .station-time-controls{top:106px;right:22px;left:auto}
.station-dialog .station-pocket{left:160px;right:24px;bottom:25px}
.station-dialog .station-help{left:160px;bottom:63px;flex-direction:row;gap:16px}
.station-dialog .station-hint{left:50%;bottom:112px}
.station-dialog .station-labels button{margin:0}
.station-stick{position:absolute;bottom:25px;left:25px;width:90px;height:90px;border:1px solid #adcbbd70;border-radius:50%;background:radial-gradient(circle,#739d9b24 30%,#102a36bb 32%,#85bba237 95%);touch-action:none;user-select:none;cursor:grab}
.station-stick>span{position:absolute;left:50%;top:45px;width:36px;height:36px;background:#bfd6c4bd;border:1px solid #d7e6c6;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;box-shadow:0 4px 14px #08212d}
.station-stick>small{position:absolute;top:97px;left:-8px;width:106px;text-align:center;font-size:10px;color:#b5ccc4;pointer-events:none}
.station-dialog.station-talking .station-life-panel,.station-dialog.station-talking .station-destination,.station-dialog.station-talking .station-stick,
.station-dialog.station-sleeping .station-destination,.station-dialog.station-sleeping .station-stick{visibility:hidden}
.station-dialog.station-map-open .station-stick,.station-dialog.station-map-open .station-hint{visibility:hidden}
.station-dialog.station-map-open .station-pocket,.station-dialog.station-map-open .station-help{display:none}
.station-dialog .station-conversation{width:min(920px,calc(100% - 32px));left:50%;right:auto;transform:translateX(-50%);bottom:18px}
#stationReceive{top:210px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px)}
@media(max-width:800px) and (min-height:521px){
 .station-dialog .station-header{height:110px;padding:14px}.station-header-actions{width:200px}.station-header-actions time{width:auto;font-size:24px}
 .station-dialog .station-canvas{top:110px;height:calc(100% - 110px)}
 .station-dialog .station-life-panel{top:122px;left:12px;width:165px;padding:10px;display:block}.station-dialog .station-life-panel h2{font-size:18px;line-height:1.5}
 .station-dialog .station-destination{top:211px;left:12px;padding:5px;font-size:11px;max-width:165px}.station-destination select{max-width:126px;padding:5px}
 .station-dialog .station-time-controls{top:122px;right:10px;max-width:180px;flex-wrap:wrap;justify-content:flex-end}.station-time-controls>span{display:none}.station-time-controls>small{width:100%;text-align:right}
 .station-dialog.station-map-open .station-canvas{left:0;top:320px;width:100%;height:calc(100% - 320px)}
 .station-dialog.station-map-open .station-life-panel{width:calc(100% - 24px);max-height:180px}.station-map-open .station-floors{display:flex;gap:6px}.station-map-open .station-floors button{flex:1}.station-map-open .station-daily,.station-map-open .station-life-panel>p{display:none}.station-map-open #stationOverview{margin-top:8px;display:block;width:100%}
 .station-dialog.station-map-open .station-destination{top:280px;bottom:auto;max-width:calc(100% - 24px)}
 .station-dialog .station-pocket{left:130px;bottom:24px;right:10px}.station-dialog .station-pocket>span{font-size:10px}.station-dialog .station-hint{bottom:135px;left:50%}
 .station-stick{left:20px;bottom:28px}.station-dialog .station-conversation{bottom:12px;max-height:calc(100dvh - 126px);width:calc(100% - 24px)}
}
@media(max-height:520px){
 .station-dialog .station-header{height:64px;padding:8px 14px}.station-dialog .station-header h1{font-size:18px}.station-dialog .station-header small{font-size:9px}.station-header-actions{width:auto}.station-header-actions time{font-size:21px;margin-right:4px}.station-dialog .station-header button{font-size:11px;padding:4px 6px;min-height:30px}
 .station-dialog .station-canvas{left:0;top:64px;width:100%;height:calc(100% - 64px)}
 .station-dialog .station-life-panel{top:76px;left:12px;bottom:auto;width:145px;padding:8px;max-height:calc(100% - 135px)}.station-dialog .station-life-panel h2{font-size:17px;margin:5px 0 0}
 .station-dialog .station-destination{top:150px;left:12px;padding:4px;font-size:10px;max-width:145px}.station-destination select{max-width:112px;padding:4px}
 .station-dialog .station-time-controls{top:75px;right:12px;left:auto}.station-dialog .station-time-controls>span{display:none}
 .station-dialog.station-map-open .station-canvas{left:180px;width:calc(100% - 180px)}.station-dialog.station-map-open .station-life-panel{width:155px}.station-map-open .station-daily,.station-map-open .station-life-panel>p{display:none}.station-map-open .station-floors button{min-height:30px;padding:4px}.station-map-open .station-floors button>b{font-size:15px}.station-map-open #stationOverview{padding:6px}
 .station-dialog.station-map-open .station-destination{top:auto;bottom:12px}
 .station-dialog .station-pocket{left:auto;right:14px;bottom:13px;max-width:230px;gap:3px}.station-dialog .station-pocket>span{font-size:9px}
 .station-stick{left:22px;bottom:22px;width:90px;height:90px;transform:scale(.85);transform-origin:bottom left}
 .station-dialog .station-hint{left:50%;bottom:52px}.station-dialog .station-conversation{left:50%;right:auto;transform:translateX(-50%);width:calc(100% - 24px);max-height:calc(100dvh - 78px);bottom:10px;padding:14px}
 #stationReceive{top:110px;left:50%;right:auto;font-size:12px}
}
