@font-face{font-family:Archivo;src:local("Archivo Variable"),local("Archivo");font-weight:100 900;font-stretch:62% 125%}
:root{--ink:#1e2a4a;--muted:#4a5677;--sub:#707b96;--paper:#f2f4f8;--line:#1e2a4a25;--yellow:#ffd84d;--red:#e5484d;--shadow:0 1px 0 #1e2a4a14,0 10px 30px -12px #1e2a4a73;color-scheme:light}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{height:100%;margin:0;overflow:hidden;background:#1b2440;font:15px/1.45 Archivo,Arial,system-ui,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased}
button,input,textarea{font:inherit;color:inherit}button,.file{cursor:pointer}button{border:0}button:focus-visible,button:focus-visible+label,.file:focus-within{outline:3px solid #e7af00;outline-offset:3px}
#office{position:fixed;inset:0;width:100%;height:100dvh;touch-action:none}#landing{position:fixed;inset:0;overflow:auto;display:grid;grid-template-rows:auto 1fr auto;padding:calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));color:white;background:radial-gradient(120% 70% at 50% 0,#1b244059,#1b2440d1 70%),linear-gradient(#1b244033,#1b2440e6)}
.landing-top,footer,.hero{width:100%;max-width:1080px;margin:0 auto}.wordmark{display:flex;align-items:center;gap:10px;font:900 15px Archivo,"Arial Black",Arial,sans-serif;letter-spacing:-.01em;font-stretch:125%}.wordmark img{width:30px;height:30px}.hero{display:grid;gap:28px;align-self:center;justify-items:center;padding:12px 0 24px;text-align:center}.hero-copy{display:grid;justify-items:center;gap:16px;min-width:0}
.hero h1{margin:0;letter-spacing:-.025em;font:900 clamp(30px,6.4vw,54px)/1.02 Archivo,"Arial Black","Segoe UI Black",Arial,sans-serif;font-stretch:112%;text-wrap:balance;max-width:14ch}.hero p{margin:0;font-size:17px;max-width:38ch;color:#ffffffd1;text-wrap:pretty}.race{display:grid;gap:8px;width:min(420px,100%)}.track{height:10px;overflow:hidden;border-radius:99px;background:#ffffff24}.track i{display:block;width:95%;height:100%;border-radius:inherit;background:var(--yellow);transition:width .8s}.race p{margin:2px 0 0}.race b{color:var(--yellow)}footer{text-align:center;color:#ffffff8c;font-size:12px}
.lanyard{position:relative;width:230px;height:380px;margin-top:-16px;transform-origin:50% 0;animation:swing 3.2s .2s both}.lanyard:before,.lanyard:after{content:"";position:absolute;top:-40px;width:9px;height:92px;border-radius:2px;transform-origin:top;background:repeating-linear-gradient(#e5484d 0 10px,#c93f45 10px 11px)}.lanyard:before{left:82px;transform:rotate(14deg)}.lanyard:after{right:82px;transform:rotate(-14deg)}.lanyard canvas{position:absolute;top:46px;left:0;width:230px;height:334px;border-radius:16px;box-shadow:0 24px 50px -18px #0009}.clip{position:absolute;z-index:1;top:34px;left:100px;width:30px;height:18px;border-radius:6px;background:linear-gradient(#d7dde8,#9aa5b8)}
@keyframes swing{0%{transform:rotate(-10deg)}23%{transform:rotate(6deg)}47%{transform:rotate(-3deg)}70%{transform:rotate(1.6deg)}100%{transform:none}}
.actions,.input-row,.sheet-head,.chips,.hud-top nav,.office-actions,.dept-choice{display:flex;align-items:center;gap:8px}.actions,.chips,.dept-choice{flex-wrap:wrap}.hero-actions{justify-content:center;gap:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border:0;border-radius:99px;letter-spacing:.005em;font-size:16px;font-weight:700;transition:transform .12s,background .15s;line-height:1.2}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.5;cursor:default}.primary{background:var(--yellow);box-shadow:0 3px 0 #efc100;color:var(--ink)}.primary:hover{background:#ffe274}.ghost{background:#ffffff1f;box-shadow:inset 0 0 0 1.5px #ffffff59;color:white}.ghost:hover{background:#ffffff35}.dark{background:var(--ink);color:white;box-shadow:0 3px 0 #101a30}.quiet{background:transparent;box-shadow:inset 0 0 0 1.5px var(--line);color:var(--muted)}.light{background:#fff;box-shadow:var(--shadow)}.wide{width:100%}
@media(min-width:880px){.hero{grid-template-columns:300px 1fr;gap:56px;justify-items:start;text-align:left}.lanyard{justify-self:center}.hero-copy{justify-items:start}.hero-actions{justify-content:flex-start}}
@media(max-width:879px){.lanyard{zoom:.72;margin-top:26px}.hero{gap:18px}.hero h1{max-width:15ch}.hero-copy{max-width:580px}.hero-actions .btn{min-height:45px}.landing-top{padding-left:4px}}
@media(max-width:639px){#landing{padding-top:12px}.hero{gap:14px;padding:20px 0 14px}.lanyard{zoom:.65}.hero h1{font-size:29px}.hero p{font-size:15px}.hero-copy{gap:12px}.hero-actions{gap:8px}.hero-actions .btn{padding:0 16px;font-size:14px}.race{max-width:350px}.race p{justify-self:center}footer{font-size:11px}}
@media(max-height:610px) and (min-width:640px){.hero{grid-template-columns:210px 1fr;text-align:left;gap:20px;align-items:center}.lanyard{zoom:.62;margin-top:18px}.hero-copy{justify-items:start}.hero h1{font-size:35px}.hero-copy{gap:8px}.hero-copy p{font-size:15px}}
dialog{position:fixed;inset:0;width:min(520px,100%);max-width:100vw;padding:0;border:0;border-radius:24px;max-height:calc(100dvh - 24px);color:var(--ink);background:var(--paper);box-shadow:0 16px 60px #10162b55;overflow-y:auto;overscroll-behavior:contain}dialog::backdrop{background:#0f162c8c}dialog[open]{animation:rise .22s ease-out}@keyframes rise{from{opacity:.3;transform:translateY(20px)}}
.sheet{padding:22px 26px 26px}.sheet-head{align-items:flex-start;justify-content:space-between;gap:12px}.sheet h2{font:850 22px/1.15 Archivo,"Arial Black","Segoe UI",sans-serif;font-stretch:108%;margin:0 0 4px;letter-spacing:-.015em}.sheet p{margin:0 0 12px}.sheet .lede{color:var(--muted);margin:0 0 16px}.x{flex:none;border:0;border-radius:50%;width:36px;height:36px;background:#1e2a4a12;font-size:23px;font-weight:300;line-height:1}.steps{display:flex;gap:6px;margin:2px 0 16px}.steps i{background:#d6dae1;border-radius:3px;height:4px;flex:1}.steps i.on{background:var(--ink)}
.field{display:grid;gap:6px;margin:0 0 14px}.field>label,.field-title{font-size:14px;font-weight:700}.hint,.muted{color:var(--sub);font-size:13px}.input,.textarea{border:1.5px solid var(--line);border-radius:14px;background:white;padding:12px 14px;font-size:16px;width:100%;min-width:0}.input:focus,.textarea:focus{outline:0;border-color:var(--ink);box-shadow:0 0 0 1px #1e2a4a22}.textarea{min-height:94px;resize:vertical}.input-row .input{flex:1}.counter{text-align:right;font-size:12px;color:var(--sub)}.file{position:relative;width:fit-content}.file input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.look{display:grid;grid-template-columns:96px 1fr;align-items:center;gap:14px;margin-bottom:18px}.look canvas,.hr-avatar{width:96px;height:120px;border-radius:14px;background:linear-gradient(#dfe5ef,#c9d2e1)}.swatches{display:grid;gap:8px}.sw-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.sw-row small{width:52px;color:var(--sub);font-size:12px;font-weight:600}.sw{width:26px;height:26px;padding:0;border:2px solid white;border-radius:50%;box-shadow:0 0 0 1.5px var(--line)}.sw[aria-pressed=true]{box-shadow:0 0 0 2.5px var(--ink)}.sw.txt{width:auto;border-radius:99px;padding:0 9px;background:white;font-size:12px;font-weight:700}.error{color:#b4232a;font-size:14px;min-height:20px;margin:4px 0 8px}.error:empty.compact{display:none}
.hr{display:flex;align-items:center;gap:10px;margin:12px 0}.hr-avatar{width:44px;height:48px;border-radius:50%}.hr small,.status-box small{display:block;color:var(--sub)}.thread{display:grid;align-content:start;gap:10px;min-height:174px;margin:8px 0 14px}.bubble{border-radius:16px;max-width:86%;padding:10px 14px;text-align:left}.bubble.hr-msg{background:white;border-bottom-left-radius:4px}.bubble.me{justify-self:end;background:var(--ink);color:white;border-bottom-right-radius:4px}.choice{border:1px solid var(--line);background:white;border-radius:14px;padding:10px 14px;font-size:14px;font-weight:700;text-align:left}.choice:hover{background:#fff6ce}.stack{display:grid;gap:8px}.offer{background:white;border-radius:14px;padding:18px;margin:12px 0;box-shadow:var(--shadow)}.offer strong{font-size:19px}.offer blockquote{margin:10px 0 0;padding:10px 12px;background:#fff8d6;border-radius:10px}.card-out{text-align:center;margin:12px auto 16px}.card-out canvas{width:174px;height:auto;border-radius:12px;box-shadow:var(--shadow)}.print-code{display:block;margin-top:6px;font:700 14px monospace}.center{justify-content:center}
.reader{width:260px;margin:20px auto 16px;padding:14px 16px 18px;background:linear-gradient(#2d3453,#1b2240);border-radius:17px;box-shadow:0 10px 20px #10183035;color:var(--yellow);text-align:right;font-size:12px;font-weight:900}.reader i{float:left;width:12px;height:12px;margin-top:2px;border-radius:50%;background:#e74d52;box-shadow:0 0 8px #e74d5280}.reader b{display:block;background:#0b1425;color:#50ce91;text-align:left;margin:10px 0;padding:11px 12px;border-radius:7px;font-size:14px}.reader:after{content:"";display:block;height:8px;background:#070d19;border-radius:4px;box-shadow:inset 0 3px 5px #000}.or{text-align:center;margin:10px!important;color:var(--sub);font-size:13px}.code{font-family:monospace;font-weight:bold;letter-spacing:.045em;text-transform:uppercase}
#hud{position:fixed;inset:0;pointer-events:none}#hud>*{pointer-events:auto}.hud-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;position:absolute;top:10px;left:10px;right:10px;pointer-events:none!important}.hud-top>*{pointer-events:auto}.chip,.tool{display:inline-flex;align-items:center;justify-content:center;background:#fffffff2;border-radius:99px;box-shadow:var(--shadow);font-weight:700}.chip{font-size:13px;padding:0 12px;min-height:34px;gap:6px}.chip.dark,.chat-toggle{background:var(--ink);color:white}.tool{border-radius:14px;width:49px;height:47px;flex-direction:column;font-size:9.5px}.tool span{font-size:18px}.status-box{position:absolute;top:58px;left:10px;background:#ffffffed;border-radius:14px;box-shadow:var(--shadow);padding:10px 14px;min-width:150px}.status-box small,.status-box span{font-size:12px}.status-box span{display:block;margin-top:4px;color:#627355}.office-actions{position:absolute;bottom:18px;left:14px}.chat-toggle{position:absolute;bottom:18px;right:14px;box-shadow:var(--shadow)}.chat-toggle span{background:var(--yellow);color:var(--ink);padding:2px 6px;border-radius:99px;font-size:12px}.chat-panel{position:absolute;right:14px;bottom:74px;width:min(380px,calc(100% - 28px));background:var(--paper);border-radius:18px;box-shadow:var(--shadow);overflow:hidden}.chat-panel header,.chat-panel form{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;background:white}.chat-panel ol{padding:12px 16px;margin:0;list-style:none;height:min(300px,38dvh);overflow:auto}.chat-panel li{padding:5px 0;overflow-wrap:anywhere}.chat-panel li b{display:block;font-size:12px;color:#586e92}.chat-panel li.empty{color:var(--sub);font-size:13px}.chat-panel .btn{padding:0 16px;min-height:40px}
#toast{position:fixed;z-index:9;left:50%;bottom:82px;transform:translateX(-50%);border-radius:99px;background:#19243de8;color:white;padding:10px 18px;box-shadow:var(--shadow);font-weight:600;text-align:center;max-width:calc(100% - 26px);pointer-events:none}
#elevator{position:fixed;z-index:20;inset:0;pointer-events:none;visibility:hidden}#elevator.moving{visibility:visible}#elevator i{position:absolute;top:0;bottom:0;width:50.2%;background:linear-gradient(90deg,#a6b1c2,#e9edf2 57%,#bbc5d1);transition:transform .32s cubic-bezier(.5,0,.2,1)}#elevator i:first-child{left:0;transform:translateX(-101%)}#elevator i:nth-child(2){right:0;transform:translateX(101%)}#elevator.closed i{transform:translateX(0)}#elevator b{position:absolute;left:50%;top:19%;transform:translateX(-50%);color:#ff9a71;background:#20283b;border-radius:8px;padding:7px 16px;opacity:0}#elevator.closed b{opacity:1}
.map{width:100%;border:3px solid white;border-radius:12px;background:#b4c0cb;display:block}.map-legend{font-size:13px;color:var(--muted);margin-top:8px!important}.game-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.game-grid button{display:grid;grid-template-columns:36px 1fr;align-items:center;gap:6px}.game-grid button i{font-size:23px;font-style:normal}.game-status{border-radius:10px;background:white;padding:10px 12px;margin:12px 0!important;font-weight:650}.board{display:grid;aspect-ratio:1/1;gap:1px;background:#bd9a6c;border:4px solid #a87c49;border-radius:6px;overflow:hidden;margin:10px auto;width:min(100%,390px)}.board button{padding:0;min-width:0;line-height:1;font-weight:900;background:#efce9b;color:#ba4d4c}.board button.o{color:#345879}.game-slot{margin:12px 0}.game-slot .choice:disabled{opacity:.5;cursor:default}.pits{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.pits button,.money-tile{display:grid;place-items:center;padding:9px 3px;background:#fff;border-radius:8px}.pits button{font-weight:bold}.pits small{font-weight:500}.tokens{display:flex;flex-wrap:wrap;gap:6px}.tokens button{padding:7px 10px}.tokens button.selected{background:#fff0a8;border-color:#e2b929}.map-tile{cursor:crosshair}.game-log{max-height:105px;overflow:auto;margin:8px 0;font-size:13px;color:var(--muted)}
@media(max-width:639px){dialog{margin:auto 0 0;width:100%;border-radius:24px 24px 0 0}.sheet{padding:10px 18px calc(20px + env(safe-area-inset-bottom))}.sheet:before{content:"";display:block;width:40px;height:4px;margin:0 auto 12px;border-radius:5px;background:#1e2a4a33}.look{grid-template-columns:76px 1fr;gap:10px}.look canvas{width:76px;height:95px}.sw-row{gap:5px}.sw-row small{width:42px}.sw{width:23px;height:23px}.sw.txt{font-size:11px;padding:0 6px}.chip{font-size:11px;padding:0 9px}.tool{width:39px;height:40px}.hud-top nav{gap:4px}.clock{display:none}.status-box{top:54px}.office-actions{bottom:12px;left:8px;gap:4px}.chat-toggle{bottom:12px;right:8px}.office-actions .btn,.chat-toggle{padding:0 12px;font-size:13px;min-height:44px}.chat-panel{bottom:64px}.game-grid button{grid-template-columns:27px 1fr}.actions>.btn{max-width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important}}

@media(min-width:880px) and (min-height:611px) {
  .hero h1{max-width:none;font-size:clamp(43px,4.17vw,54px)}
  .hero h1 span{display:block;white-space:nowrap;transform:scaleX(1.05);transform-origin:left}
  .hero-copy>p{max-width:376px}
  .hero-copy{row-gap:19px}
  .hero-actions .btn{min-height:52px}
}
@media(max-width:520px) and (max-height:700px){.lanyard{zoom:.58}}
@media(max-width:520px) and (max-height:600px){.lanyard{zoom:.48}.hero{padding-top:8px;gap:8px}.hero h1{font-size:24px}}

.wordmark small{font:600 12px/1.3 system-ui,sans-serif;letter-spacing:0;border-left:1px solid #ffffff55;padding-left:9px;color:#e1e6ef}
