:root{color-scheme:dark;--bg:#0a111c;--panel:#111c2b;--panel2:#142236;--line:#27374b;--text:#edf2f5;--muted:#aab9c9;--amber:#e9b978;--blue:#8db8d9;--red:#e18e83;--green:#9dc7a9;--radius:14px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.5}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:radial-gradient(circle at 75% 0%,#192a40 0%,transparent 42%),var(--bg);color:var(--text)}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--amber);outline-offset:3px}button:disabled{opacity:.48;cursor:not-allowed}a{color:var(--amber)}.skip-link{position:absolute;left:1rem;top:-4rem;background:var(--amber);color:#101722;padding:.5rem 1rem;z-index:20}.skip-link:focus{top:.5rem}[hidden]{display:none!important}
.site-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,4vw,64px);background:rgba(10,17,28,.8)}.brand{display:flex;gap:12px;align-items:center;letter-spacing:.14em;line-height:1.05}.brand strong{display:block;font-size:14px;font-weight:800}.brand small{display:block;font-size:10px;color:var(--amber);font-weight:700;margin-top:4px}
.brand-mark {
  display: block;
  flex: none;
  border: 1px solid #9b744b;
  border-radius: 9px;
  background: #101722;
}
.topbar-right{display:flex;align-items:center;gap:22px}.shift-indicator{font-size:11px;letter-spacing:.12em;color:var(--amber);font-weight:700}.pulse-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--amber);margin-right:7px;box-shadow:0 0 13px var(--amber)}.clock{font-variant-numeric:tabular-nums;font-size:22px;font-weight:300;letter-spacing:.08em}main{width:100%;flex:1}.eyebrow{font-size:11px;letter-spacing:.18em;font-weight:800;color:var(--amber);margin:0 0 16px}.start-layout{max-width:1600px;margin:0 auto;min-height:calc(100vh - 134px);padding:clamp(30px,5vw,80px) clamp(20px,4vw,64px);display:grid;grid-template-columns:minmax(0,1fr) minmax(350px,.88fr);gap:clamp(32px,5vw,88px);align-items:center}.start-copy h1{font-size:clamp(38px,4.7vw,74px);line-height:1.08;letter-spacing:-.045em;margin:0 0 24px;font-weight:740;max-width:900px}.start-copy h1 em{color:var(--amber);font-style:normal}.start-copy>p:not(.eyebrow):not(.fineprint){max-width:620px;font-size:clamp(16px,1.35vw,19px);color:var(--muted);margin:0 0 32px}.mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:690px}.mode-card{min-height:167px;text-align:left;background:rgba(19,32,49,.92);color:var(--text);border:1px solid #35465a;border-radius:var(--radius);padding:18px;display:flex;flex-direction:column;gap:8px;transition:border-color .16s,transform .16s,background .16s}.mode-card:hover{transform:translateY(-2px);border-color:var(--amber)}.mode-card.selected{border-color:var(--amber);background:#1c2a3b;box-shadow:inset 0 0 0 1px #765a3d}.mode-top{display:flex;justify-content:space-between;align-items:center}.mode-number{color:var(--amber);font-size:11px;font-weight:800;letter-spacing:.1em}.mode-count{font-size:11px;color:#c7d3df}.mode-card strong{font-size:20px}.mode-card>span:last-child{font-size:13px;color:var(--muted);line-height:1.43}.start-actions{display:flex;gap:20px;align-items:end;margin-top:24px;flex-wrap:wrap}.primary-button{min-height:48px;border:1px solid #f1c589;background:var(--amber);color:#142031;border-radius:9px;padding:11px 19px;font-weight:800;box-shadow:0 8px 24px rgba(0,0,0,.14)}.primary-button:hover{background:#f3c98e}.ghost-button{min-height:42px;border:1px solid #53677d;background:#1a2b40;color:var(--text);border-radius:9px;padding:8px 15px;font-weight:700}.ghost-button:hover{border-color:var(--amber);color:var(--amber)}.seed-field{font-size:12px;color:var(--muted);display:flex;flex-direction:column;gap:5px}.seed-field input{height:48px;width:170px;background:#0e1a29;border:1px solid #506176;border-radius:8px;padding:0 11px;color:var(--text)}.fineprint{font-size:12px;color:#96a8b9;margin:18px 0 0;max-width:680px}
.scene-card {
  position: relative;
  isolation: isolate;
  height: min(560px, 65vh);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid #38506a;
  border-radius: 20px;
  background: radial-gradient(ellipse at 50% 42%, #202e3d, #0e1725 75%);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .3);
}
.scene-art {
  position: absolute;
  inset: 0;
  margin: auto;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  mask-image: linear-gradient(to right, transparent, #000 11%, #000 89%, transparent);
  pointer-events: none;
}
.scene-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0e1725d9, transparent 17%, transparent 74%, #0e1725e8);
  pointer-events: none;
}
.scene-header,.scene-footer{position:absolute;z-index:1;left:24px;right:24px;display:flex;justify-content:space-between;color:#bec9d3;font-size:10px;letter-spacing:.13em;font-weight:700}.scene-header{top:20px}.scene-footer{bottom:18px;color:#8fa1b4}
.scene-overlay{position:absolute;z-index:1;right:22px;bottom:56px;display:flex;flex-direction:column;gap:7px;background:#08111cf2;border:1px solid #40546b;border-radius:12px;padding:14px 17px;min-width:220px}.scene-line{font-size:12px;color:#e9eef2}.signal{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:8px}.signal.amber{background:var(--amber)}.signal.blue{background:var(--blue)}.signal.red{background:var(--red)}
.game-layout{max-width:1740px;margin:auto;padding:28px clamp(16px,3vw,48px) 44px}.game-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:22px}.game-head h1{font-size:clamp(28px,2.5vw,40px);line-height:1.15;margin:0 0 6px;letter-spacing:-.03em}.subtle{color:var(--muted);margin:0}.game-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.seed-badge,.count-pill{font-size:11px;letter-spacing:.06em;color:#d7e2e9;background:#1b2d42;border:1px solid #3a5068;border-radius:30px;padding:5px 9px}.game-columns{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(310px,1.08fr) minmax(320px,1fr);gap:14px;align-items:start}.panel{border:1px solid #34475d;border-radius:var(--radius);background:rgba(17,28,43,.94);box-shadow:0 18px 38px rgba(0,0,0,.12)}.game-columns>.panel{min-height:650px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 19px;border-bottom:1px solid var(--line)}.panel-head h2{font-size:17px;margin:0}.panel-foot{font-size:12px;color:var(--muted);padding:14px 18px;border-top:1px solid var(--line)}.panel-help{font-size:13px;color:var(--muted);padding:0 19px;margin:15px 0}.ticket-list{display:flex;flex-direction:column;padding:10px}.ticket{border:1px solid transparent;border-radius:9px;background:#17263a;color:var(--text);text-align:left;padding:14px;margin:3px 0}.ticket:hover,.ticket.active{border-color:#8aa8bd;background:#1d3249}.ticket-meta{display:flex;justify-content:space-between;color:#aabed0;font-size:11px;margin-bottom:5px}.ticket strong{display:block;font-size:14px;line-height:1.35}.ticket p{color:var(--muted);margin:7px 0 0;font-size:12px}.ticket .related-toggle{margin-top:10px;display:flex;align-items:center;gap:8px;font-size:12px;color:#d7e3ec}.related-toggle input{accent-color:var(--amber)}.investigation-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 18px 17px}.investigation-actions button{min-height:48px;text-align:left;border:1px solid #486078;background:#1a2e44;color:#e6edf3;border-radius:8px;padding:10px 12px;font-size:12px}.investigation-actions button:hover{border-color:var(--amber)}.investigation-actions button.used{border-color:#587d78;color:#abcabb;background:#152a31}.evidence-feed{border-top:1px solid var(--line);padding:18px;display:flex;flex-direction:column;gap:11px}.evidence-item{border-left:3px solid var(--blue);background:#17273a;padding:11px 13px;border-radius:0 8px 8px 0}.evidence-item strong{font-size:11px;color:#b9d4e7;text-transform:uppercase;letter-spacing:.08em}.evidence-item p{font-size:13px;line-height:1.48;margin:5px 0 0}.empty-evidence{color:var(--muted);font-size:13px;padding:16px 4px}.decision-panel form{padding:17px 19px;display:flex;flex-direction:column;gap:12px}.decision-panel label{display:flex;flex-direction:column;gap:5px;color:#c6d4e0;font-size:12px;font-weight:700}.decision-panel select{min-height:42px;width:100%;background:#0d1b2b;border:1px solid #52677b;color:var(--text);border-radius:7px;padding:8px 9px;appearance:auto;font-size:13px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.submit-button{margin-top:8px;width:100%}.debrief-layout{max-width:1160px;padding:52px 22px 72px;margin:auto}.debrief-layout h1{font-size:clamp(36px,5vw,64px);letter-spacing:-.04em;margin:0 0 12px}.lead{font-size:18px;color:var(--muted);max-width:760px}.score-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:25px 0}.score-card{border:1px solid #3b5269;background:#16283c;border-radius:10px;padding:15px}.score-card strong{display:block;font-size:24px;color:var(--amber)}.score-card span{display:block;font-size:12px;color:var(--muted)}.debrief-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.debrief-columns .panel{padding:22px}.debrief-columns h2{margin:0 0 12px;font-size:19px}.debrief-columns p,.debrief-columns li{color:#d0dbe4;font-size:14px}.debrief-columns ul{padding-left:20px}.debrief-actions{display:flex;gap:12px;margin-top:23px;flex-wrap:wrap}.site-footer{display:flex;justify-content:space-between;gap:20px;padding:17px clamp(20px,4vw,64px);border-top:1px solid var(--line);font-size:10px;letter-spacing:.13em;color:#8296a8}
.ticket-group{display:flex;flex-direction:column;gap:5px;margin-top:11px;font-size:11px;color:#c8d7e4;font-weight:700}.ticket-group select{min-height:38px;width:100%;background:#0d1b2b;border:1px solid #52677b;color:var(--text);border-radius:7px;padding:6px 9px;font-size:12px}
.about-layout{max-width:1600px;margin:0 auto;padding:36px clamp(20px,4vw,64px) 76px;border-top:1px solid var(--line)}.about-layout h2{font-size:clamp(28px,3vw,44px);letter-spacing:-.035em;margin:0 0 15px}.about-layout>p:not(.eyebrow){max-width:900px;color:var(--muted);font-size:16px}.about-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:30px 0}.about-grid>div{border:1px solid #354a60;background:#132237;border-radius:12px;padding:19px;display:flex;flex-direction:column;gap:8px}.about-grid strong{font-size:17px;color:var(--amber)}.about-grid span{font-size:13px;color:#c6d5e1}.about-layout .about-note{font-size:12px;color:#9db0c0}
@media(max-width:760px){.about-grid{grid-template-columns:1fr}.about-layout{padding-bottom:48px}}
@media(max-width:1180px){.start-layout{grid-template-columns:1fr}.scene-card{height:390px;min-height:390px}.game-columns{grid-template-columns:minmax(230px,.8fr) minmax(310px,1.2fr)}.decision-panel{grid-column:1/-1}.game-columns>.panel{min-height:0}}
@media(max-width:760px){.topbar{height:64px}.start-layout{padding:32px 18px 46px;gap:28px}.start-copy h1{font-size:clamp(36px,8vw,52px)}.mode-grid{grid-template-columns:1fr}.mode-card{min-height:136px}.scene-card{height:330px;min-height:330px}.scene-overlay{right:13px;bottom:39px;min-width:180px;padding:10px}.scene-line{font-size:10px}.game-layout{padding:23px 14px 42px}.game-head{align-items:start;flex-direction:column}.game-columns{grid-template-columns:1fr}.decision-panel{grid-column:auto}.score-grid{grid-template-columns:1fr 1fr}.debrief-columns{grid-template-columns:1fr}.site-footer{padding:17px;flex-direction:column;gap:5px}}
@media(max-width:420px){.topbar-right{gap:7px}.shift-indicator{font-size:9px}.clock{font-size:17px}.mode-card{padding:15px}.start-actions{align-items:stretch}.seed-field input{width:100%}.scene-card{min-height:300px;height:300px}.scene-header,.scene-footer{left:13px;right:13px;font-size:8px}.investigation-actions{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.mode-card{transition:none}.mode-card:hover{transform:none}}

/* Return to the seated workstation in the shared Digi office. */
.digi-return{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;padding:9px 11px;border:1px solid currentColor;border-radius:7px;color:inherit;text-decoration:none;font-size:13px;line-height:1.4;white-space:nowrap}
.digi-return svg{width:16px;height:16px;display:block;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.digi-return:hover{background:#ffffff0d}
.digi-return:focus-visible{outline:3px solid currentColor;outline-offset:4px}
.topbar{height:auto;min-height:76px;padding-top:13px;padding-bottom:13px;flex-wrap:wrap;gap:16px}

.topbar .brand{margin-right:auto}
