/* The Watch page on top of site.css (TrueUp's look). Nothing here changes size while TrueUp plays. */
.intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.intro .lead { margin-bottom: 0; }
#status { margin-top: 8px; }
.layout { display: grid; grid-template-columns: minmax(0, auto) minmax(360px, 1fr); gap: 24px; align-items: start; }
.telemetry { display: grid; gap: 16px; min-width: 0; }
.metrics { grid-template-columns: 1fr 1fr; }
.arcade-screen canvas { height: min(66vh, 700px); }
#notice { font-size: 13.5px; color: var(--muted); height: 3.2em; overflow: hidden; margin: 12px 4px 0; }
.choices p { font-size: 14px; color: var(--muted); }
#reason { height: 3.2em; overflow: hidden; margin: 0 0 6px; }
#chosen { min-width: 64px; justify-content: center; }
#actions { height: 132px; }
.action { display: grid; grid-template-columns: 56px 1fr 64px; gap: 12px; align-items: center; height: 22px; margin: 8px 0;
          font: 600 12.5px ui-monospace, Menlo, monospace; color: var(--muted); font-variant-numeric: tabular-nums; }
.action span:last-child { text-align: right; }
.action.off { opacity: .35; }
.track { height: 8px; background: var(--bg-2); border-radius: 5px; overflow: hidden; }
.bar { height: 100%; background: var(--line-2); min-width: 2px; border-radius: 5px; transition: width .15s; }
.action.chosen { color: var(--accent); }
.action.chosen .bar { background: var(--accent); }
.mini { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.mini b { color: var(--text); margin-left: 5px; font-variant-numeric: tabular-nums; }
.fine { font-size: 12.5px !important; color: var(--dim) !important; margin: 10px 0 0; }
#comparison { height: 3em; overflow: hidden; margin: 8px 0 6px; }
#events { padding: 0; margin: 0; list-style: none; font-size: 13.5px; color: var(--muted); }
#events li { border-top: 1px solid var(--line); padding: 7px 0; height: 36px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
#events li:first-child { border-top: 0; }
.text-button { padding: 0; border: 0; background: none; color: var(--accent); font-size: 13px; cursor: pointer; }
.method { margin-top: 24px; color: var(--muted); font-size: 14.5px; }
.method summary { cursor: pointer; color: var(--text); font-weight: 650; }
.method p { max-width: 900px; }
/* The arcade choice popup: the game's own start-screen look, drawn over the maze. */
.screen { position: relative; }
.popup { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
         background: rgba(0,0,0,.84); font-family: "Press Start 2P", ui-monospace, monospace; text-align: center; padding: 16px; }
.popup[hidden] { display: none; }
.popup h2 { color: #ffe600; font-size: clamp(16px, 2.6vw, 24px); font-weight: 400; margin: 0 0 6px; letter-spacing: 1px; }
.popup .sub { color: #fff; font-size: 10px; margin: 0 0 22px; }
.popup button { background: none; border: 0; color: #00ffff; font: inherit; font-size: clamp(10px, 1.4vw, 13px); padding: 10px 14px; border-radius: 4px; cursor: pointer; }
.popup button::before { content: "▶ "; visibility: hidden; }
.popup button:hover, .popup button:focus-visible { color: #ffe600; outline: none; }
.popup button:hover::before, .popup button:focus-visible::before { visibility: visible; }
.popup .hint { color: #aaa; font-size: 8px; line-height: 1.9; margin: 0 0 16px; }
.popup .keys { color: #777; font-size: 7px; margin-top: 10px; }
@media (max-width: 1000px) { .layout { grid-template-columns: 1fr; } .intro { display: block; } }
