
:root{color-scheme:dark;--ink:#fff;--bg:#000;--line:#414141;--soft:#191919;--mono:"Courier New",monospace;--muted:#b6b6b6;--edge:#494949}
*{box-sizing:border-box}
*,::before,::after,::marker{font-family:var(--mono)}
html{scroll-padding-top:1.4rem}
body{margin:0;min-height:100vh;background:var(--bg);color:var(--ink);font:clamp(1rem,1.22vw,1.1667rem)/1.48 var(--mono);font-synthesis:none;-webkit-font-smoothing:antialiased}
a{color:inherit;text-underline-offset:.22em;text-decoration-thickness:1px}
button,summary{font:inherit;cursor:pointer}
button,a,summary{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:2px solid white;outline-offset:4px}
[hidden]{display:none!important}
h1,h2,h3,p,blockquote,pre,ol{margin:0}
h1{font-size:clamp(3rem,6.4vw,6.6rem);line-height:1;letter-spacing:-.08em;overflow-wrap:break-word}
h2{font-size:clamp(1.4rem,2.4vw,2.05rem);line-height:1.16;letter-spacing:-.055em}
h3{font-size:1.22rem;line-height:1.28;letter-spacing:-.035em}
.skip{position:fixed;left:12px;top:-120px;z-index:20;background:white;color:black;padding:.4em}
.skip:focus{top:8px}
.bound{width:min(100%,91rem);margin:auto;padding-inline:clamp(1.15rem,4.3vw,4.9rem)}
.game{padding-block:clamp(1.9rem,3.5vw,3.6rem) clamp(2.2rem,4vw,4.2rem);min-width:0}
.game .home,.roundgrid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(1.5rem,4.6vw,5rem)}
.game .home{align-items:center}
.game .home>div,.roundgrid>*{min-width:0}
.game .eyebrow,.game .label{font-weight:bold;color:var(--muted);font-size:.94rem}
.game .eyebrow{margin-bottom:.7rem}
.game h1{max-width:12ch}
.deck,.profile{margin-top:1.1rem;color:#d0d0d0;max-width:49ch;line-height:1.5}
.game button{display:inline-block;padding:.53rem .85rem;border:1px solid white;background:white;color:#080808;font: bold 1rem/1.35 var(--mono);text-align:start;border-radius:0;min-height:2.75rem}
.game button:hover{background:#d1d1d1}
.actions{display:flex;align-items:center;gap:.6rem 1.25rem;flex-wrap:wrap;margin-top:1.5rem}
.game .plain{background:none;border:0;color:white;font-weight:normal;text-decoration:underline;text-underline-offset:.22em;padding-inline:0}
.game .plain:hover{color:#ccc}
.queue-art{display:block;width:min(100%,29rem);height:auto;margin:0 auto .65rem;image-rendering:pixelated}
.paper{min-width:0;border:1px solid var(--edge);background:#0c0c0c;padding:clamp(1rem,1.8vw,1.65rem);overflow-wrap:anywhere}
.paper blockquote{color:#eee;font-size:1.04rem;margin:.75rem 0 0;line-height:1.5}
.trace{border-top:1px solid var(--edge);padding:.75rem 0 0;margin:.85rem 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font:normal .96rem/1.5 var(--mono);color:#d0d0d0}
.disclosure{border-top:1px solid var(--edge);padding-top:.9rem;margin-top:clamp(1.5rem,3vw,2.8rem);color:var(--muted);font-size:.94rem}
.roundhead{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.65rem}
.clock{color:white;font-weight:bold;font-variant-numeric:tabular-nums}
.meter{height:4px;background:#393939;margin-bottom:clamp(1.1rem,2.4vw,1.9rem)}
.meter span{display:block;height:100%;background:white;transform-origin:left center}
.roundgrid{align-items:start}
.deskrow{display:flex;align-items:center;gap:.6rem;margin-bottom:.7rem}
.glyph{width:28px;height:28px;image-rendering:pixelated}
.answers{display:grid;gap:.55rem;margin-top:.9rem}
.game .option{width:100%;background:#0c0c0c;border:1px solid var(--edge);color:white;display:flex;gap:.85rem;align-items:baseline;padding:.8rem 1rem;line-height:1.45;font-weight:normal}
.game .option:hover,.game .option:focus-visible{background:#171717;border-color:#ccc}
.key{color:var(--muted);font-size:.92rem}
.game button:disabled{cursor:default}
.game .option:disabled{background:#0c0c0c;color:#b6b6b6}
.game .option.chosen{border-style:dashed;border-color:#aaa}
.game .option.best{background:#191919;border:1px solid white;box-shadow:inset 3px 0 white;color:white}
.feedback{border-top:1px solid var(--edge);margin-top:1.65rem;padding-top:1.15rem}
.feedback h3{margin:0 0 .45rem}
.feedback p{max-width:70ch}
.notes{margin-top:.75rem;color:#d0d0d0}
.notes summary{width:fit-content;display:flex;align-items:center;gap:.6rem;min-height:2.75rem;text-decoration:underline;text-underline-offset:.22em}
.notes summary:before{content:"+"}
.notes[open] summary:before{content:"−"}
.game .report{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(12rem,.65fr);gap:clamp(1.5rem,4.6vw,5rem);align-items:center}
.report-art{display:block;justify-self:center;width:min(100%,15rem);height:auto;image-rendering:pixelated}
.results h2{margin:.7rem 0;font-size:clamp(2.35rem,4.8vw,5rem);line-height:1;letter-spacing:-.07em}
.score{font-weight:bold;font-size:1.12rem}
.profile{max-width:62ch}
.review{padding-left:1.5rem}
.review li+li{margin-top:.8rem}
.review small{display:block;color:#ccc;font-size:.95rem}
.game .home .paper{padding:clamp(.8rem,1.2vw,1.1rem) clamp(1rem,1.6vw,1.5rem)}
@media(max-width:45rem){
 .game .home,.roundgrid,.game .report{grid-template-columns:minmax(0,1fr)}
 .game h1{font-size:clamp(2.7rem,11.5vw,3.6rem)}
 .game{padding-block:1.75rem 2rem}
 .queue-art{width:min(100%,22rem)}
 .report-art{width:9rem;order:-1;justify-self:start}
 .game .report{gap:1rem}
}
@media(max-width:28rem){.game .actions{gap:.5rem 1rem}.game .option{padding:.68rem .8rem}}
@media print{.actions,.meter,.hf-mast,.hf-footer{display:none}}

.hf-mast, .hf-footer {
  --hf-edge: #494949;
  background: #000;
  color: #fff;
  font: 1rem/1.4 "Courier New", monospace;
  box-sizing: border-box;
}
.hf-mast *, .hf-footer * {box-sizing: border-box}
header.hf-mast {border: 0; border-block-end: 1px solid var(--hf-edge)}
.hf-mast .hf-frame, .hf-footer .hf-foot-frame {
  width: min(100%, 91rem);
  max-width: none;
  margin: 0 auto;
  padding: 0 clamp(1.15rem, 4.3vw, 4.9rem);
}

.hf-mast .hf-frame {
  --hf-gutter: clamp(1.15rem, 4.3vw, 4.9rem);
  position: relative; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem 1rem; min-height: 4.7rem; padding-block: .65rem;
}
.hf-mast .hf-brand {
  display: inline-block; color: inherit; white-space: nowrap; text-decoration: none;
  font: bold clamp(1.45rem, 2.2vw, 2rem)/1 "Courier New", monospace;
  letter-spacing: -.075em;
}
.hf-brand span {color: #aaa; font-weight: normal}
.hf-controls {display: flex; align-items: center; justify-content: flex-end; gap: .5rem; max-width: 100%; margin-inline-start: auto}
.hf-controls > div {min-width: 0}
.hf-mast .hf-tools {
  display: flex; flex-wrap: wrap; align-items: baseline; flex-basis: 100%;
  gap: .1rem clamp(.7rem, 2.2vw, 2rem); padding-block-start: .35rem;
  border-block-start: 1px solid var(--hf-edge);
}
.hf-tools > span {color: #aaa; font-weight: bold; overflow-wrap: anywhere}
.hf-mast :is(.hf-tools, .hf-controls) > a {
  display: inline-block; max-width: 100%; padding-block: .4rem; color: inherit;
  font: 1rem/1.35 "Courier New", monospace; text-decoration: none; overflow-wrap: anywhere;
}
.hf-controls > a {margin-inline-end: .4rem}
.hf-mast :is(.hf-tools, .hf-controls) > a:is(:hover, :focus-visible, [aria-current]) {
  text-decoration: underline; text-underline-offset: .22em;
}
.hf-mast .service-languages {position: static; display: block; margin: 0}
.hf-mast .hf-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 2.5rem; max-width: 100%; padding: .45rem .72rem;
  border: 1px solid var(--hf-edge); border-radius: 0; cursor: pointer;
  background: #0b0b0b; color: #fff;
  font: normal .95rem/1.3 "Courier New", monospace;
  text-decoration: none; white-space: normal; overflow-wrap: anywhere;
}
.hf-toggle::after {
  content: ""; flex: 0 0 auto; width: .4rem; height: .4rem; margin-block-start: -.2em;
  border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg);
}
.hf-mast .hf-toggle:hover {border-color: #aaa; background: #171717}
.hf-mast :is(.hf-menu,.hf-locale):has(:popover-open) .hf-toggle {border-color: #eee; background: #171717}
.hf-mast :is(.hf-menu,.hf-locale):has(:popover-open) .hf-toggle::after {transform: rotate(225deg); margin-block-start: .2em}
.hf-mast :is(a, button):focus-visible, .hf-footer a:focus-visible {outline: 2px solid white; outline-offset: 2px}
.hf-mast nav.hf-popup {
  display: none; position: fixed; z-index: 15; inset: auto; top: 4.05rem;
  inset-inline-end: max(var(--hf-gutter), calc((100% - 91rem) / 2 + var(--hf-gutter)));
  max-width: calc(100% - 2 * var(--hf-gutter)); max-height: min(68vh, 31rem);
  max-height: min(68dvh, calc(100dvh - 6.5rem), 31rem);
  margin: 0; padding: .65rem; overflow: auto; overscroll-behavior: contain;
  align-items: start; border: 1px solid #777; background: #101010; color: #fff;
  text-align: start; box-shadow: 0 .6rem 1.25rem #0007;
}
.hf-mast nav.hf-popup:popover-open {display: grid}
.hf-mast .hf-menu-list {
  width: 32rem; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem;
}
.hf-mast .hf-language-list {width: 26rem; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .12rem .65rem}
.hf-menu-group {margin: 0; padding: .2rem; min-width: 0}
.hf-menu-group + .hf-menu-group {border-inline-start: 1px solid #404040; padding-inline-start: .65rem}
.hf-menu-group h2 {
  margin: 0 0 .45rem; padding: .35rem .5rem .55rem; border-bottom: 1px solid #383838;
  color: #aaa; font: bold .87rem/1.35 "Courier New", monospace;
  letter-spacing: normal; overflow-wrap: anywhere;
}
.hf-menu-links {display: grid}
.hf-mast .hf-popup a {
  display: block; margin: 0; border: 0; padding: .5rem; min-width: 0; max-width: 100%;
  color: #eee; font: normal .98rem/1.4 "Courier New", monospace;
  text-decoration: none; overflow-wrap: anywhere;
}
.hf-mast .hf-popup a[aria-current] {font-weight: bold; background: #282828; color: white; box-shadow: inset 2px 0 white}
[dir="rtl"] .hf-mast .hf-popup a[aria-current] {box-shadow: inset -2px 0 white}
.hf-mast .hf-popup a:hover, .hf-mast .hf-popup a:focus-visible {color: white; background: #252525}
.hf-mast .hf-popup a:focus-visible {outline-offset: -2px}
@supports (top: anchor(bottom)) {
  .hf-menu > button {anchor-name: --hf-menu-button}
  .hf-locale button {anchor-name: --hf-language-button}
  .hf-mast nav.hf-menu-list {position-anchor: --hf-menu-button}
  .hf-mast nav.hf-language-list {position-anchor: --hf-language-button}
  .hf-mast nav.hf-popup {top: calc(anchor(bottom) + .4rem)}
}

@supports not selector(:popover-open) {
  .hf-mast :is(.hf-menu, .service-languages):focus-within > nav.hf-popup {display: grid; position: absolute; top: calc(100% - .2rem)}
}
.hf-footer a {
  display: inline-block; padding: .5rem 0; max-width: 100%; border: 0; color: #c5c5c5;
  font: normal 1rem/1.35 "Courier New", monospace; text-decoration: none; overflow-wrap: anywhere;
}
.hf-mast .vhidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.hf-footer {border: 0; border-block-start: 1px solid var(--hf-edge)}
.hf-footer .hf-foot-frame {display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: .4rem 1.4rem; padding-block: .8rem}
.hf-footer nav {display: flex; flex-wrap: wrap; gap: .35rem 1.5rem}
.hf-footer a:hover {color: white; text-decoration: underline}
@media (max-width: 45rem) {
  .hf-mast .hf-menu-list {grid-template-columns: minmax(0, 1fr); gap: .55rem; width: 27rem}
  .hf-menu-group + .hf-menu-group {border-inline-start: 0; padding-inline-start: .2rem}
  .hf-menu-links {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .4rem}
}
@media (max-width: 30rem) {
  .hf-mast .hf-frame {gap: .35rem .25rem; min-height: 3.75rem}
  .hf-mast .hf-brand {font-size: clamp(1.06rem, 5.5vw, 1.35rem)}
  .hf-controls {flex-wrap: wrap; gap: .35rem}
  .hf-mast .hf-toggle {gap: .42rem; padding: .4rem .52rem; font-size: .9rem}
}
@media print {.hf-mast, .hf-footer {display: none}}

.overtime-offer{margin-top:1.35rem;padding:clamp(1rem,2vw,1.5rem);background:#0c0c0c;border:1px solid var(--edge);border-inline-start:3px solid #fff}
.overtime-offer p{margin-top:.55rem;max-width:53ch}
.overtime-offer .actions{margin-top:.85rem}

#error:not([hidden]),#parting:not([hidden]){border-left:3px solid #aaa;padding:.65rem 1rem;margin:0 0 1.35rem}
#parting{color:var(--muted);font-style:italic}
#poker{max-width:62rem;margin:0 auto}
.studio-top,.table-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}
#poker-title{font-size:clamp(2.3rem,6vw,4.8rem);line-height:1;margin:.35rem 0 1rem;letter-spacing:-.06em}
.studio{position:relative;border-block:2px solid #ddd}
.studio img{display:block;width:100%;height:auto;image-rendering:pixelated}
#cat-line{border:0;margin:.8rem 0 1.3rem;min-height:2.8em;padding:0;font-size:clamp(1rem,2.2vw,1.35rem)}
.table-head h3{margin:0}
#cookies{white-space:nowrap;color:#ccc}
#hand-help{color:#ccc;margin:.45rem 0 1rem}
#hand{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(.35rem,1.8vw,1.4rem);max-width:43rem}
.game .playing-card{border:2px solid #fff;background:#eee;color:#080808;padding:.4rem;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;aspect-ratio:5/6;line-height:1;box-shadow:inset 0 0 0 2px #eee;position:relative}
.game .playing-card b{font-size:clamp(1.1rem,4vw,2.8rem)}
.game .playing-card i{font-style:normal;font-size:clamp(1.5rem,5.4vw,4rem);align-self:center}
.game .playing-card span{font-size:clamp(.65rem,1.8vw,.95rem);align-self:center;letter-spacing:.04em}
.game .playing-card[aria-pressed=true]{background:#111;color:#fff}
.game .playing-card:focus-visible{outline:2px dashed #fff;outline-offset:3px}
.game .playing-card:disabled{opacity:1}
.game .card-back{aspect-ratio:5/6;border:2px solid #ddd;background:repeating-linear-gradient(45deg,#111,#111 4px,#444 4px,#444 5px);box-shadow:inset 0 0 0 5px #101010}
#poker .actions{margin-top:1.1rem}
@media(max-width:32rem){.game .playing-card{padding:.22rem}.roundhead{flex-wrap:wrap}.studio-top{align-items:flex-start}#cat-line{min-height:3em}}

.game h1{max-width:14ch;font-size:clamp(2.7rem,6.7vw,6.6rem)}
.room{margin:0;min-width:0}
.room-frame{overflow:hidden;border-bottom:1px solid #686868}
.room-scene{position:relative;margin-top:-12%}
.room-scene img{width:100%;height:auto;display:block;image-rendering:pixelated}
.room-scene i{position:absolute;display:block;background:#080808;pointer-events:none;animation:activity 4.1s steps(1,end) infinite}
.drive{width:.63%;height:.86%}
.drive-a{left:76.67%;top:40.8%}
.drive-b{left:92.37%;top:45.45%;animation-delay:-1.8s!important}
.drive-c{left:75.85%;top:61.95%;animation-delay:-2.9s!important}
.room-scene .crt{left:16.15%;top:61.2%;width:2.7%;height:.87%;animation-duration:2.4s}
@keyframes activity{0%,24%,55%,100%{opacity:0}30%,68%{opacity:.92}48%,84%{opacity:.2}}
.shift-strip{border-block:1px solid var(--edge);display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.62rem 0;margin-bottom:1.5rem}
.night-lamps{display:flex;gap:4px;margin-bottom:5px}
.night-lamps i{height:4px;width:1.2rem;background:#363636}
.night-lamps .lit{background:#eee}
.stock,.reward{display:flex;align-items:center;gap:.55rem;font-weight:bold}
.stock{white-space:nowrap}
.stock img,.reward img{image-rendering:pixelated}
.reward{margin:.4rem 0 .8rem}
.reward:not([hidden]) img{animation:collect .38s steps(4,end) 1}
@keyframes collect{0%{transform:translateY(.6rem)}55%{transform:translateY(-.25rem)}100%{transform:none}}
#incident{max-width:48rem;margin:1rem auto;border:2px solid #aaa;background:#080808;padding:clamp(1rem,3vw,2rem)}
.incident-head{display:flex;justify-content:space-between;text-transform:uppercase;letter-spacing:.09em}
.alarm-meter{height:4px;background:#333;margin:.65rem 0 1.25rem}
.alarm-meter i{display:block;height:100%;background:#fff;transform-origin:left}
#incident-title{font-size:clamp(1.8rem,4vw,3rem);margin:0 0 .6rem}
#incident-clue,#incident-why{color:#d1d1d1;margin:0 0 1.25rem}
#incident-feedback{border-top:1px solid #555;padding-top:1rem;margin-top:1rem}
#incident-solution{font-weight:bold;margin:.75rem 0}
#incident-choices .picked{border-color:white;box-shadow:inset 3px 0 white}
@media(prefers-reduced-motion:reduce){.room-scene i,.reward:not([hidden]) img{animation:none}.room-scene i{opacity:0}}
.shift-strip .miniature{width:6rem;flex:none;align-self:center}
.miniature .room-frame{border-bottom:0}
.shift-strip .night-label{flex:1}
@media(max-width:32rem){.shift-strip{gap:.5rem}.shift-strip .miniature{width:3.5rem}.stock{gap:.25rem}.shift-strip .night-label{font-size:.9rem}}
.pager-call{display:inline-flex;align-items:center;gap:.6rem}
.pager-call img{image-rendering:pixelated}
.incident-head{align-items:center}
#incident:not([hidden]){animation:incoming .22s steps(3,end) both}
@keyframes incoming{from{transform:translateY(-.4rem);border-color:#fff}to{transform:none;border-color:#aaa}}
@media(prefers-reduced-motion:reduce){#incident:not([hidden]){animation:none}}
#incident-verdict{font-size:clamp(1.4rem,3vw,2rem)}

#browser-check{background:#080808;color:#fff;border:1px solid #aaa;padding:1.4rem;max-width:min(26rem,90vw);font:inherit}
#browser-check::backdrop{background:rgba(0,0,0,.8)}
#browser-check h2{margin-top:0}

.trace{direction:ltr;text-align:left;unicode-bidi:plaintext}
