/* DEV IS COOKING: a late-night kitchen line crossed with a dev terminal. */
:root {
  --bg: #12100e;
  --bg-2: #1a1714;
  --steel-1: #2e2b28;
  --steel-2: #221f1d;
  --steel-hi: #4d4842;
  --line: #3a3531;
  --text: #f3ece2;
  --muted: #b3a99c;
  --dim: #8c8276;
  --flame: #ff6b1a;
  --flame-2: #ffb02e;
  --ember: #ff3d00;
  --paper: #f5ecd7;
  --paper-2: #e6d8b8;
  --ink: #26201a;
  --ink-2: #6a5e4f;
  --term: #0b0a09;
  --code: #e7dcc8;
  --green: #a3e36f;
  --amber: #ffc861;
  --red: #ff5a4e;
  --blue: #86bdff;
  --r: 14px;
  --gut: 16px;
  --fd: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  --fb: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fm: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --shadow: 0 18px 40px rgba(0, 0, 0, .38);
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gut: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  min-height: 100vh;
  font: 16px/1.55 var(--fb);
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(255, 107, 26, .17), transparent 62%),
    radial-gradient(700px 400px at 0% 30%, rgba(255, 176, 46, .05), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .014) 0 1px, transparent 1px 4px),
    var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--flame-2); }
a:hover { color: #ffd27a; }
:focus-visible { outline: 3px solid var(--flame-2); outline-offset: 2px; border-radius: 6px; }
button, input, select, textarea { font: inherit; color: inherit; }
code { font-family: var(--fm); font-size: .92em; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
.dim { color: var(--dim); }
.fine { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--flame); color: #170b03; padding: 8px 14px; border-radius: 8px; font-weight: 800; }
.skip:focus { left: 8px; }

/* ---------- buttons, chips, tags ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent;
  font: 800 14px/1 var(--fb); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform .12s, box-shadow .2s, background .2s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn-hot { background: linear-gradient(180deg, #ff8a2a, var(--flame) 55%, #e85510); color: #1a0b02; box-shadow: 0 0 0 1px rgba(255, 140, 50, .4), 0 8px 24px rgba(255, 107, 26, .3), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-hot:hover { color: #1a0b02; box-shadow: 0 0 0 1px rgba(255, 160, 70, .6), 0 10px 34px rgba(255, 107, 26, .45), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-steel { background: linear-gradient(180deg, #45403b, #2b2825); color: var(--text); border-color: #57514a; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.btn-steel:hover { color: #fff; background: linear-gradient(180deg, #514b45, #312d2a); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { color: #fff; border-color: var(--steel-hi); }
.btn-ghost[aria-disabled] { opacity: .5; pointer-events: none; }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 15px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 4px 2px; color: var(--flame-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 13px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--steel-2); color: var(--text); cursor: pointer; padding: 0; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn[aria-pressed="true"] { color: var(--dim); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 8px; border-radius: 99px; font: 700 11px/1.4 var(--fm); letter-spacing: .05em; text-transform: uppercase; background: rgba(20, 18, 16, .85); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-cooking { color: #ffb37a; border-color: rgba(255, 107, 26, .55); background: rgba(60, 22, 6, .9); }
.st-cooking i { background: var(--flame); box-shadow: 0 0 8px var(--flame); animation: pulse 1s ease-in-out infinite; }
.st-queued { color: var(--amber); border-color: rgba(255, 200, 97, .4); }
.st-idle { color: var(--muted); }
.st-break { color: var(--blue); border-color: rgba(134, 189, 255, .4); }
.st-done { color: var(--green); border-color: rgba(163, 227, 111, .4); }
.tag { display: inline-block; padding: 3px 9px; border-radius: 6px; font: 600 12px/1.4 var(--fm); color: var(--muted); background: var(--steel-2); border: 1px solid var(--line); }
.tag-hire { color: var(--amber); border-color: rgba(255, 200, 97, .45); }
.tag-launch { color: #ffb37a; border-color: rgba(255, 107, 26, .45); }

.av { position: relative; display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #5a3a22, #2a1d14); }
.av::before { content: attr(data-l); font: 400 18px/1 var(--fd); color: var(--flame-2); }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.av.sm { width: 22px; height: 22px; border-radius: 6px; }
.av.sm::before { font-size: 12px; }
.av-lg { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 0 0 3px var(--steel-1), 0 0 0 4px var(--line); }
.av-lg::before { font-size: 34px; }
@media (max-width: 520px) { .av-lg { width: 52px; height: 52px; border-radius: 13px; } .k-id { gap: 12px; } }

.panel {
  background: linear-gradient(180deg, var(--steel-1), var(--steel-2));
  border: 1px solid var(--line); border-radius: var(--r); padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), var(--shadow);
}
.panel h2 { font: 400 26px/1 var(--fd); letter-spacing: .02em; text-transform: uppercase; margin: 0 0 12px; }
.panel h2 small { font: 500 13px var(--fb); color: var(--muted); text-transform: none; letter-spacing: 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 12px/1 var(--fm); letter-spacing: .14em; text-transform: uppercase; color: var(--flame-2); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 0 rgba(255, 107, 26, .6); animation: ring 1.6s infinite; }
@keyframes ring { 70% { box-shadow: 0 0 0 10px rgba(255, 107, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 26, 0); } }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(18, 16, 14, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #2b2724; }
.tb-in { display: flex; align-items: center; gap: 14px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; }
.brand:hover { color: var(--text); }
.brand-av { width: 34px; height: 34px; border-radius: 9px; overflow: hidden; background: radial-gradient(circle at 50% 70%, var(--flame), #7a2a06 70%); display: grid; place-items: center; }
.brand-av img { width: 100%; height: 100%; object-fit: cover; }
.brand-t { font: 400 21px/1 var(--fd); letter-spacing: .03em; }
.brand-t em, .foot-brand em { font-style: normal; color: var(--flame); }
.tb-nav { display: flex; gap: 2px; margin-left: auto; }
.tb-nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.tb-nav a:hover, .tb-nav a[aria-current] { color: var(--text); background: rgba(255, 255, 255, .05); }
.tb-right { display: flex; align-items: center; gap: 10px; }
.live { display: inline-flex; align-items: center; gap: 7px; font: 700 11px/1 var(--fm); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.live[data-s="live"] { color: var(--green); }
.live[data-s="live"] i { background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse 2s infinite; }
.live[data-s="down"] i { background: var(--red); }
@media (max-width: 860px) {
  .tb-nav a:nth-child(1), .tb-nav a:nth-child(2), .tb-nav a:nth-child(4) { display: none; }
}
@media (max-width: 520px) {
  .tb-in { gap: 8px; }
  .brand-t { font-size: 18px; }
  .brand-av { width: 30px; height: 30px; }
  .tb-nav a:nth-child(5) { display: none; }
  .tb-nav a { padding: 8px; }
  .live b { display: none; }
}

/* ---------- SIMULATED badge ---------- */
.sim-badge {
  position: fixed; left: 12px; bottom: 12px; z-index: 60; display: flex; align-items: stretch; gap: 10px; overflow: hidden;
  padding: 0 12px 0 0; border-radius: 9px; background: #0d0c0b; border: 1px solid #5a4a12;
  font: 600 12px/1.2 var(--fm); color: var(--amber); box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
}
.sim-badge::before { content: ''; width: 12px; background: repeating-linear-gradient(-45deg, #ffc400 0 5px, #111 5px 10px); }
.sim-badge b { align-self: center; margin-left: -10px; padding: 7px 9px; background: #ffc400; color: #111; letter-spacing: .12em; }
.sim-badge span { align-self: center; }
@media (max-width: 520px) { .sim-badge span { display: none; } .sim-badge { padding: 0; } }

/* ---------- toasts / fatal ---------- */
.toasts { position: fixed; right: 12px; bottom: 12px; z-index: 70; display: grid; gap: 8px; max-width: min(360px, calc(100vw - 24px)); }
.toast { background: #0d0c0b; border: 1px solid var(--line); border-left: 4px solid var(--flame); padding: 10px 14px; border-radius: 10px; font-size: 14px; box-shadow: var(--shadow); animation: toast-in .3s ease-out; }
.toast.err { border-left-color: var(--red); }
.toast.ok { border-left-color: var(--green); }
.toast.burn { border-left-color: var(--ember); }
.toast.out { opacity: 0; transform: translateY(8px); transition: .35s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
.fatal { margin-top: 24px; padding: 18px; border: 1px solid var(--red); border-radius: var(--r); background: rgba(255, 90, 78, .08); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.fatal p { margin: 0; flex: 1; min-width: 220px; }

/* ---------- hero ---------- */
.hero { padding: 36px 0 18px; }
.hero-in { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 64px 0 28px; } .hero-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; } }
.wordmark { margin: 0; font: 400 clamp(68px, 21vw, 150px)/.88 var(--fd); letter-spacing: .005em; text-transform: uppercase; }
.wordmark span { display: block; }
.wm-a { color: var(--text); }
.wm-b {
  background: linear-gradient(180deg, #ffe29a 0%, #ffb02e 30%, #ff6b1a 62%, #e43a06 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 107, 26, .45));
  animation: flicker 3.2s infinite steps(1, end);
}
@keyframes flicker {
  0%, 100% { filter: drop-shadow(0 0 22px rgba(255, 107, 26, .45)); }
  7% { filter: drop-shadow(0 0 30px rgba(255, 130, 40, .6)); }
  9% { filter: drop-shadow(0 0 14px rgba(255, 90, 20, .3)); }
  31% { filter: drop-shadow(0 0 26px rgba(255, 120, 30, .55)); }
  58% { filter: drop-shadow(0 0 18px rgba(255, 100, 26, .38)); }
  77% { filter: drop-shadow(0 0 32px rgba(255, 140, 50, .62)); }
}
.tagline { margin: 22px 0 0; max-width: 40ch; font-size: clamp(17px, 2.2vw, 21px); line-height: 1.45; color: #e6dccd; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cta-row .btn { flex: 1 1 160px; }
@media (min-width: 560px) { .cta-row .btn { flex: 0 0 auto; } }

.hire-box { margin-top: 22px; max-width: 560px; padding: 14px; border-radius: var(--r); background: rgba(13, 12, 11, .7); border: 1px dashed #4b443d; }
.hire-box label { display: block; font: 700 12px/1.3 var(--fm); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.hire-row { display: flex; gap: 8px; }
.hire-row input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--term); font-family: var(--fm); font-size: 14px; }
.hire-row input::placeholder { color: var(--dim); }
.hire-row input:focus { border-color: var(--flame); outline: none; box-shadow: 0 0 0 3px rgba(255, 107, 26, .25); }
.hire-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.hire-msg, .form-msg { margin: 6px 0 0; font-size: 14px; min-height: 0; }
.hire-msg:empty, .form-msg:empty { display: none; }
[data-kind="err"] { color: #ff8f86; }
[data-kind="ok"] { color: var(--green); }

.hero-art { position: relative; }
.pass {
  position: relative; margin: 0 auto; max-width: 440px; padding: 56px 20px 18px; border-radius: 20px;
  background: linear-gradient(180deg, #1b1917, #141210 70%);
  border: 1px solid #2e2a27; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), var(--shadow); overflow: hidden;
}
.pass::before { /* stainless shelf */
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 16px;
  background: linear-gradient(180deg, #6a645d, #3a3632 60%, #24211f); box-shadow: 0 4px 10px rgba(0, 0, 0, .5);
}
.lamps { position: absolute; top: 16px; left: 0; right: 0; display: flex; justify-content: space-around; pointer-events: none; }
.lamps i { position: relative; width: 54px; height: 14px; border-radius: 0 0 30px 30px; background: linear-gradient(180deg, #4a4540, #2a2724); }
.lamps i::after { /* heat glow cone */
  content: ''; position: absolute; left: 50%; top: 10px; width: 170px; height: 300px; transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 120, 40, .32), rgba(255, 90, 20, .08) 45%, transparent 70%);
  animation: lamp 4s ease-in-out infinite;
}
.lamps i:nth-child(2)::after { animation-delay: -1.3s; }
.lamps i:nth-child(3)::after { animation-delay: -2.6s; }
@keyframes lamp { 50% { opacity: .75; } }
.chef { position: relative; display: block; width: 62%; margin: 0 auto -18px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .6)); }
.pan { position: relative; display: block; width: 100%; height: auto; }
.pan-code { font: 700 30px var(--fm); fill: var(--green); filter: drop-shadow(0 0 6px rgba(163, 227, 111, .7)); }
.flames path { transform-box: fill-box; transform-origin: 50% 100%; animation: flame .5s ease-in-out infinite alternate; }
.flames path:nth-child(2) { animation-duration: .43s; animation-delay: -.2s; }
.flames path:nth-child(3) { animation-duration: .55s; animation-delay: -.1s; }
.flames path:nth-child(4) { animation-duration: .47s; animation-delay: -.3s; }
.flames path:nth-child(5) { animation-duration: .52s; }
@keyframes flame { from { transform: scaleY(.86) skewX(-3deg); opacity: .85; } to { transform: scaleY(1.08) skewX(3deg); opacity: 1; } }
.steam path { stroke-dasharray: 60; stroke-dashoffset: 60; opacity: 0; animation: steam 2.8s ease-out infinite; }
.steam path:nth-child(2) { animation-delay: .9s; }
.steam path:nth-child(3) { animation-delay: 1.8s; }
@keyframes steam { 15% { opacity: .35; } 60% { stroke-dashoffset: 0; opacity: .2; } 100% { stroke-dashoffset: -60; opacity: 0; transform: translateY(-14px); } }
.pass-sign { margin: 10px 0 0; text-align: center; font: 700 11px/1 var(--fm); letter-spacing: .3em; color: var(--dim); }
@media (max-width: 959px) { .hero-art { max-width: 300px; width: 100%; margin: 0 auto; } .pass { padding-top: 44px; } }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.stat { padding: 14px 16px; border-radius: 12px; background: linear-gradient(180deg, #24211e, #1b1917); border: 1px solid var(--line); }
.stat b { display: block; font: 400 clamp(30px, 6vw, 44px)/1 var(--fd); letter-spacing: .02em; }
.stat span { display: block; margin-top: 6px; font: 700 11px/1.2 var(--fm); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stat.hot b { color: var(--flame); text-shadow: 0 0 18px rgba(255, 107, 26, .45); }
.stat.burn b { color: #ff8a5c; }
.stat.burn.pre b { color: var(--muted); }

/* ---------- sections ---------- */
.sec { padding: 54px 0 0; }
.sec-head { margin-bottom: 20px; }
.sec-head h2 { margin: 0; font: 400 clamp(44px, 8vw, 72px)/.95 var(--fd); text-transform: uppercase; letter-spacing: .01em; }
.sec-head h2::after { content: ''; display: block; width: 64px; height: 5px; margin-top: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--flame), var(--flame-2)); }
.sec-head p { margin: 12px 0 0; max-width: 62ch; color: var(--muted); }
.sec-head.row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.sec-head.row p { flex: 1 1 360px; margin: 0; }
.paused-note { margin-bottom: 16px; padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(134, 189, 255, .4); color: var(--blue); background: rgba(134, 189, 255, .07); }

/* ---------- THE LINE: stations ---------- */
.stations { display: grid; gap: 16px; }
@media (min-width: 900px) { .stations { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .stations .station { min-height: 430px; } }
.station {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 14px;
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, var(--steel-1), var(--steel-2));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), var(--shadow);
}
.station::before { /* brushed steel */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px);
}
.station > * { position: relative; }
.station[data-mode="cooking"] { border-color: rgba(255, 107, 26, .55); box-shadow: 0 0 0 1px rgba(255, 107, 26, .2), 0 0 46px rgba(255, 90, 20, .14), var(--shadow); }
.station[data-mode="cooking"]::after { /* heat lamp glow */
  content: ''; position: absolute; left: 10%; right: 10%; top: -60px; height: 120px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0, rgba(255, 120, 40, .3), transparent 70%); animation: lamp 2.4s ease-in-out infinite;
}
.station[data-mode="plated"] { border-color: rgba(255, 200, 97, .6); }
.st-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.st-num { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--term); border: 1px solid #000; font: 700 11px var(--fm); color: var(--dim); }
.station[data-mode="cooking"] .st-num { color: var(--flame); border-color: rgba(255, 107, 26, .5); }
.st-name { display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: var(--text); line-height: 1.15; }
.st-name b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 800; }
.st-name span { font: 600 12px var(--fm); color: var(--flame-2); }
.st-name:hover b { text-decoration: underline; }
.st-model { margin-left: auto; flex: none; padding: 3px 8px; border-radius: 6px; font: 600 11px/1.4 var(--fm); color: var(--muted); background: var(--term); border: 1px solid #000; max-width: 42%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-model:empty { display: none; }
.st-timer { flex: none; font: 700 13px var(--fm); color: var(--flame); min-width: 46px; text-align: right; font-variant-numeric: tabular-nums; }
.st-timer:empty { display: none; }
.st-cold { font: 400 20px/1 var(--fd); letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.st-plated { margin-left: auto; font: 600 11px var(--fm); color: var(--dim); white-space: nowrap; }
.st-task { margin: 0; font: 600 12.5px/1.4 var(--fm); color: #d9cbb6; }
.st-note { margin: -4px 0 0; font: italic 500 13px var(--fb); color: var(--amber); }
.st-commit { margin: 0; font-weight: 700; line-height: 1.35; }
.st-commit b { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 5px; background: var(--flame); color: #1a0b02; font: 700 12px/1.5 var(--fm); }
.st-meta { margin: -4px 0 0; font: 500 12px var(--fm); color: var(--muted); }

.term {
  position: relative; flex: none; height: 300px; border-radius: 10px; overflow: hidden;
  background: var(--term); border: 1px solid #000; box-shadow: inset 0 2px 12px rgba(0, 0, 0, .7);
}
.term::after { /* scanlines + top fade */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--term) 0, transparent 22%), repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px);
}
.term pre {
  margin: 0; height: 100%; overflow: hidden; padding: 12px 14px;
  font: 400 12px/1.6 var(--fm); color: var(--code); white-space: pre-wrap; word-break: break-all; tab-size: 2;
}
@media (max-width: 560px) { .term { height: 240px; } .term pre { font-size: 11px; } }
.c-tag { color: #ff9a5a; }
.c-attr { color: var(--amber); }
.c-str { color: var(--green); }
.c-com { color: #7d746a; font-style: italic; }
.c-kw { color: #ff7ab8; }
.c-num { color: #7fd4ff; }
.c-commit { color: #1a0b02; background: var(--flame-2); padding: 0 4px; border-radius: 3px; font-weight: 700; }
.cursor { display: inline-block; width: 7px; height: 14px; margin-left: 1px; vertical-align: -2px; background: var(--flame); animation: blink 1s steps(2, start) infinite; box-shadow: 0 0 8px var(--flame); }
@keyframes blink { to { visibility: hidden; } }

.burner { display: flex; justify-content: space-around; align-items: flex-end; height: 22px; margin: 0 6px -4px; border-bottom: 3px solid #3d3833; }
.burner i { width: 12px; height: 18px; border-radius: 50% 50% 40% 40% / 70% 70% 30% 30%; background: radial-gradient(ellipse at 50% 85%, #fff4c2 0, #ffb02e 30%, #ff5a12 65%, transparent 72%); opacity: 0; transform-origin: 50% 100%; }
.station[data-mode="cooking"] .burner i { opacity: 1; animation: lick .32s ease-in-out infinite alternate; }
.burner i:nth-child(2n) { animation-duration: .27s !important; animation-delay: -.12s !important; }
.burner i:nth-child(3n) { animation-duration: .38s !important; }
.station[data-mode="cooking"] .burner { border-bottom-color: #ff6b1a; box-shadow: 0 6px 18px -6px rgba(255, 107, 26, .8); }
@keyframes lick { from { transform: scale(.8, .7); } to { transform: scale(1.05, 1.15); } }
.station .burner { display: none; }
.station[data-mode="cooking"] .burner { display: flex; }

.plate { position: relative; display: block; border-radius: 10px; }
.thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: #0b0a09; border: 1px solid #000; }
.thumb iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; border: 0; transform: scale(var(--s, .26)); transform-origin: 0 0; pointer-events: none; background: #fff0; }
.plate .thumb { box-shadow: 0 0 0 4px #e9e2d4, 0 0 0 5px #b8ad9b, 0 14px 30px rgba(0, 0, 0, .55); border-radius: 12px; margin: 6px 6px 2px; }
.dish .thumb { box-shadow: 0 0 0 3px #3a3531, 0 10px 24px rgba(0, 0, 0, .5); }
.dish:hover .thumb { box-shadow: 0 0 0 3px var(--flame), 0 10px 24px rgba(0, 0, 0, .5); }
.stamp {
  position: absolute; left: 50%; top: 46%; z-index: 3; padding: 4px 16px 0;
  font: 400 clamp(40px, 7vw, 64px)/1.05 var(--fd); letter-spacing: .04em; color: #ff4b3a; white-space: nowrap;
  border: 5px solid #ff4b3a; border-radius: 10px; background: rgba(20, 8, 6, .55);
  transform: translate(-50%, -50%) rotate(-11deg); text-shadow: 0 0 1px #ff4b3a; mix-blend-mode: normal;
  box-shadow: 0 0 0 2px rgba(255, 75, 58, .25), inset 0 0 0 2px rgba(255, 75, 58, .35);
  animation: stamp .5s cubic-bezier(.2, 1.6, .4, 1) both;
}
.stamp.small { position: static; transform: rotate(-6deg); display: inline-block; font-size: 34px; animation: none; margin: 0 0 8px; }
@keyframes stamp { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(-11deg) scale(2.4); } 60% { opacity: 1; } 100% { opacity: 1; transform: translate(-50%, -50%) rotate(-11deg) scale(1); } }
.station[data-mode="plated"] { animation: flash .9s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 3px #ffc861, 0 0 70px rgba(255, 200, 97, .6), var(--shadow); } }
.cold { flex: 1; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; color: var(--muted); border: 1px dashed #3f3934; border-radius: 10px; padding: 24px; }
.cold p { margin: 0; }
.cold.burnt { border-color: rgba(255, 90, 78, .5); }
.cold.burnt .stamp { color: var(--red); border-color: var(--red); }

/* ---------- ticket rail ---------- */
.rail { position: relative; margin-top: 6px; }
.rail-bar { position: absolute; left: 0; right: 0; top: 0; height: 20px; z-index: 1;
  background: linear-gradient(180deg, #77706a 0, #4a4540 30%, #2a2724 75%, #1b1917); box-shadow: 0 6px 14px rgba(0, 0, 0, .55); }
.rail-bar::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: rgba(0, 0, 0, .5); }
.rail-track {
  position: relative; display: flex; align-items: flex-start; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  --rail-pad: max(var(--gut), calc((100% - 1240px) / 2 + var(--gut)));
  padding: 8px var(--rail-pad) 30px; scroll-padding-inline: var(--rail-pad); scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #4a4540 transparent;
  min-height: 210px;
}
.ticket { position: relative; flex: 0 0 196px; scroll-snap-align: start; transform: rotate(var(--tilt, 0deg)); transform-origin: 50% 0; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .45)); transition: opacity .5s, transform .5s; }
.ticket.fresh { animation: drop .7s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes drop { from { transform: translateY(-110%) rotate(-8deg); opacity: 0; } }
.ticket.gone { opacity: 0; transform: translateY(30px) rotate(6deg); }
.tk-clip { position: absolute; z-index: 3; left: 50%; top: -4px; width: 34px; height: 22px; transform: translateX(-50%); border-radius: 4px 4px 8px 8px;
  background: linear-gradient(180deg, #b9b2a8, #6f6962); box-shadow: 0 2px 4px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .5); }
.tk-paper {
  position: relative; padding: 24px 14px 20px; color: var(--ink); font: 500 13px/1.45 var(--fm);
  background: linear-gradient(180deg, #fbf4e3, var(--paper) 30%, var(--paper-2));
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
}
.tk-paper header { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 6px; border-bottom: 2px dashed #c9b994; font-size: 12px; color: var(--ink-2); }
.tk-paper header b { color: var(--ink); font-size: 14px; }
.tk-coin { display: flex; align-items: center; gap: 7px; margin-top: 8px; color: var(--ink); text-decoration: none; font-weight: 700; }
.tk-coin:hover { color: #000; text-decoration: underline; }
.tk-item { margin: 6px 0 0; font: 400 22px/1.05 var(--fd); text-transform: uppercase; letter-spacing: .02em; color: #1c1712; }
.tk-note { margin: 6px 0 0; font-size: 12.5px; color: #4b3f31; font-style: italic; word-break: break-word; }
.tk-note.dim { color: #8a7c69; font-style: normal; }
.tk-paper footer { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 6px; border-top: 1px solid #d8c9a6; font-size: 11.5px; color: var(--ink-2); }
.tk-stamp { position: absolute; right: 8px; top: 44%; padding: 2px 8px; border: 3px solid; border-radius: 6px; font: 400 20px/1.1 var(--fd); letter-spacing: .06em; transform: rotate(-14deg); opacity: 0; }
.ticket[data-status="cooking"] .tk-stamp { opacity: .9; color: #d63b1f; }
.ticket[data-status="cooking"] .tk-stamp::before { content: 'FIRING'; }
.ticket[data-status="done"] .tk-stamp { opacity: .9; color: #2f8a3a; }
.ticket[data-status="done"] .tk-stamp::before { content: 'UP!'; }
.rail-empty { margin: 34px 0 0; color: var(--muted); max-width: 52ch; }

/* ---------- the wall ---------- */
.wall-sec { padding-bottom: 64px; }
.tabs { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--term); border: 1px solid var(--line); }
.tabs button { min-width: 72px; min-height: 38px; padding: 6px 14px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: 700 13px var(--fb); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.tabs button[aria-selected="true"] { background: linear-gradient(180deg, #ff8a2a, var(--flame)); color: #1a0b02; }
.wall { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card {
  display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: var(--text); border-radius: var(--r); overflow: hidden;
  background: linear-gradient(180deg, var(--steel-1), var(--steel-2)); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 10px 24px rgba(0, 0, 0, .3); transition: transform .18s, border-color .18s, box-shadow .18s;
}
.card:hover { color: var(--text); transform: translateY(-3px); border-color: rgba(255, 107, 26, .6); box-shadow: 0 0 0 1px rgba(255, 107, 26, .25), 0 16px 34px rgba(0, 0, 0, .45); }
.card[data-status="cooking"] { border-color: rgba(255, 107, 26, .5); }
.card .thumb { border-radius: 0; border: 0; border-bottom: 1px solid #000; }
.thumb-top { position: absolute; left: 8px; right: 8px; top: 8px; display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.ver { padding: 2px 8px; border-radius: 6px; background: rgba(13, 12, 11, .85); border: 1px solid var(--line); font: 700 11px/1.4 var(--fm); color: var(--text); }
.hired { position: absolute; left: 8px; bottom: 8px; z-index: 2; padding: 2px 8px; border-radius: 6px; background: rgba(40, 30, 6, .9); border: 1px solid rgba(255, 200, 97, .5); font: 700 10.5px/1.5 var(--fm); color: var(--amber); text-transform: uppercase; letter-spacing: .06em; }
.warming { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--muted); font: 400 22px/1.1 var(--fd); text-transform: uppercase; letter-spacing: .04em;
  background: repeating-linear-gradient(-45deg, #15130f 0 10px, #1a1714 10px 20px); }
.warming small { font: 500 12px var(--fm); text-transform: none; letter-spacing: 0; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; }
.card-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.card-id { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.card-id b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-id span { font: 600 12px var(--fm); color: var(--flame-2); }
.model { position: absolute; right: 8px; bottom: 8px; z-index: 2; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 10.5px/1.5 var(--fm); color: var(--text); padding: 2px 7px; border-radius: 5px; background: rgba(13, 12, 11, .88); border: 1px solid var(--line); }
.model:empty { display: none; }
.card-title { margin: 0; font-size: 14px; color: #d8cebf; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.hot-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 8px var(--flame); animation: pulse 1s infinite; }
.salary span, .cooks span { font: 600 11.5px var(--fm); color: var(--muted); }
.sal-bar { height: 7px; border-radius: 9px; background: var(--term); border: 1px solid #000; overflow: hidden; margin-bottom: 5px; }
.sal-bar i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, var(--flame-2), var(--flame)); }
.sal-bar.big { height: 12px; margin: 12px 0 0; }
.cooks { display: flex; align-items: center; gap: 4px; }
.cooks i { width: 14px; height: 7px; border-radius: 3px; background: #3a3531; }
.cooks i.on { background: var(--amber); box-shadow: 0 0 6px rgba(255, 200, 97, .5); }
.cooks span { margin-left: 6px; }
.cooks.big i { width: 30px; height: 12px; border-radius: 4px; }
.empty { color: var(--muted); }

/* ---------- footer ---------- */
.foot { margin-top: 40px; border-top: 1px solid #2b2724; background: linear-gradient(180deg, #161412, #100e0d); padding: 34px 0 80px; }
.foot-in { display: grid; gap: 18px; }
@media (min-width: 800px) { .foot-in { grid-template-columns: auto 1fr; align-items: center; } .foot-note { grid-column: 1 / -1; } }
.foot-brand { font: 400 30px/1 var(--fd); letter-spacing: .03em; }
.foot-brand small { display: block; margin-top: 6px; font: 600 12px var(--fm); letter-spacing: .06em; color: var(--dim); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (min-width: 800px) { .foot-nav { justify-content: flex-end; } }
.foot-nav a { color: var(--muted); text-decoration: none; font-weight: 600; padding: 6px 0; }
.foot-nav a:hover { color: var(--text); }
.foot-note { margin: 0; font-size: 13px; color: var(--dim); max-width: 80ch; }

/* ---------- inner pages ---------- */
.page-head { padding: 40px 0 24px; }
.page-head h1 { margin: 0; font: 400 clamp(52px, 10vw, 96px)/.92 var(--fd); text-transform: uppercase; }
.lede { margin: 14px 0 0; max-width: 58ch; font-size: 18px; color: #e0d5c5; }
.fld { position: relative; display: block; margin-top: 14px; }
.fld > span { display: block; margin-bottom: 6px; font: 700 12px/1.3 var(--fm); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.fld > span small { text-transform: none; letter-spacing: 0; color: var(--dim); font-weight: 500; }
.fld input, .fld textarea, .ver-pick select {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--term); color: var(--text);
}
.fld textarea { resize: vertical; min-height: 84px; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--flame); box-shadow: 0 0 0 3px rgba(255, 107, 26, .25); }
.fld input::placeholder, .fld textarea::placeholder { color: #6f665c; }
.invalid input, .invalid textarea, .drop.invalid, .check.invalid, .models.invalid { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(255, 90, 78, .2); }
.count { position: absolute; right: 10px; bottom: 13px; font: 600 11px var(--fm); color: var(--dim); }

/* ---------- kitchen ---------- */
.k-head { display: grid; gap: 14px; padding-top: 24px; padding-bottom: 18px; }
@media (min-width: 900px) { .k-head { grid-template-columns: 1fr auto; align-items: center; } .k-ca { grid-column: 1 / -1; } }
.k-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.k-name { min-width: 0; }
.k-name h1 { margin: 0; font: 400 clamp(36px, 6vw, 60px)/1 var(--fd); text-transform: uppercase; letter-spacing: .01em; overflow-wrap: anywhere; }
.k-name .sym { color: var(--flame); font-size: .6em; vertical-align: .25em; margin-left: 4px; }
.k-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.k-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.k-actions .btn { flex: 1 1 auto; }
.k-ca { display: flex; align-items: center; gap: 10px; margin: 0; min-width: 0; font-size: 13px; color: var(--muted); }
.k-ca span { font: 700 11px var(--fm); letter-spacing: .1em; }
.k-ca code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.k-grid { display: grid; gap: 18px; grid-template-areas: "browser" "side" "log"; padding-bottom: 20px; }
@media (min-width: 1000px) { .k-grid { grid-template-columns: minmax(0, 1fr) 400px; grid-template-rows: auto 1fr; grid-template-areas: "browser side" "log side"; align-items: start; } }
.k-browser { grid-area: browser; min-width: 0; }
.k-side { grid-area: side; display: grid; gap: 16px; min-width: 0; }
.k-log { grid-area: log; min-width: 0; }
.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #0d0c0b; box-shadow: var(--shadow); }
.browser-bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: linear-gradient(180deg, #34302c, #262321); border-bottom: 1px solid #000; }
.dots { display: flex; gap: 6px; flex: none; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.url { flex: 1; min-width: 0; padding: 5px 10px; border-radius: 7px; background: var(--term); font: 500 12px var(--fm); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ver-pick { display: flex; align-items: center; gap: 6px; flex: none; font: 600 11px var(--fm); color: var(--muted); }
.ver-pick select { width: auto; min-height: 32px; padding: 4px 8px; font: 600 12px var(--fm); }
@media (max-width: 480px) { .ver-pick span { display: none; } .dots { display: none; } }
.browser-view { position: relative; height: min(76vh, 760px); min-height: 480px; background: #0b0a09; }
.browser-view iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff0; }
.warming.big { font-size: 34px; gap: 6px; }
.warming.big p { margin: 0; }
.warming.big small { font-size: 13px; }
.stamp.huge { font-size: clamp(54px, 9vw, 110px); top: 42%; opacity: 0; animation: none; pointer-events: none; }
.stamp.huge.go { animation: stamp-show 2.6s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes stamp-show {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-11deg) scale(2.4); }
  18% { opacity: 1; transform: translate(-50%, -50%) rotate(-11deg) scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(-11deg) scale(1); }
}
.k-hired-note { margin: 10px 0 0; font-size: 13px; color: var(--amber); }
.k-station { min-height: 0; }
.k-station .term { height: 280px; flex: none; }
.k-station[data-mode="idle"] .st-num, .k-station[data-mode="break"] .st-num { color: var(--dim); }
.k-station[data-mode="break"] .st-task { color: var(--blue); }
.elig { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.menu { border: 0; padding: 0; margin: 10px 0 0; min-width: 0; }
.menu legend { padding: 0; margin-bottom: 8px; font: 700 12px var(--fm); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.menu-items { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-item { position: relative; cursor: pointer; }
.menu-item input { position: absolute; opacity: 0; pointer-events: none; }
.menu-item span { display: inline-block; padding: 8px 12px; border-radius: 8px; font: 600 13px var(--fb); background: var(--paper); color: var(--ink); border: 2px solid transparent; box-shadow: 0 2px 0 #b9a77f; transition: transform .1s; }
.menu-item:hover span { transform: translateY(-1px); }
.menu-item input:checked + span { background: var(--flame); color: #1a0b02; box-shadow: 0 2px 0 #9c3a08; }
.menu-item input:focus-visible + span { outline: 3px solid var(--flame-2); outline-offset: 2px; }
.menu-item.static span { cursor: default; }
.order-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.wallet-pill { font: 600 12px var(--fm); color: var(--muted); }
.sal-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sal-nums div { padding: 10px; border-radius: 10px; background: var(--term); border: 1px solid #000; }
.sal-nums span { display: block; font: 700 10.5px var(--fm); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sal-nums b { font: 400 26px/1.1 var(--fd); }
.sal-nums .low b { color: var(--blue); }
.sal-line { margin: 10px 0 0; }
.warn { color: var(--blue); }
.mini-tickets { display: grid; gap: 10px; }
.mini-ticket { padding: 10px 12px; border-radius: 6px; background: var(--paper); color: var(--ink); font: 500 12.5px/1.45 var(--fm); border-left: 5px solid #c9b994; }
.mini-ticket[data-status="cooking"] { border-left-color: var(--flame); }
.mini-ticket b { font: 400 18px/1.1 var(--fd); text-transform: uppercase; }
.mini-ticket p { margin: 4px 0 0; font-style: italic; color: #4b3f31; }
.mini-ticket footer { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; color: var(--ink-2); font-size: 11.5px; }
.commits { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.commit { width: 100%; display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 10px; border-radius: 10px; border: 1px solid transparent; background: var(--term); cursor: pointer; color: var(--text); }
.commit:hover { border-color: var(--line); }
.cv { flex: none; padding: 2px 8px; border-radius: 5px; background: var(--flame); color: #1a0b02; font: 700 12px/1.5 var(--fm); }
.ct { display: flex; flex-direction: column; min-width: 0; }
.ct b { font-weight: 700; line-height: 1.3; }
.ct small { margin-top: 3px; font: 500 11.5px/1.5 var(--fm); color: var(--muted); }

/* ---------- launch ---------- */
.launch-grid { display: grid; gap: 18px; padding-bottom: 30px; }
@media (min-width: 980px) { .launch-grid { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } .launch-side { position: sticky; top: 76px; } }
.launch-main, .launch-side { display: grid; gap: 18px; min-width: 0; }
.coin-fields { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .coin-fields { grid-template-columns: 170px 1fr; } }
.fld-col .fld:first-child { margin-top: 0; }
.drop { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 220px; width: 100%; margin: 0 auto; border-radius: 14px; border: 2px dashed #57504a; background: var(--term); cursor: pointer; overflow: hidden; text-align: center; padding: 12px; }
.drop:hover, .drop.over { border-color: var(--flame); }
.drop:focus-within { outline: 3px solid var(--flame-2); outline-offset: 2px; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.drop-t b { display: block; font: 400 22px var(--fd); text-transform: uppercase; }
.drop-t small { color: var(--muted); font-size: 12px; }
.drop.has .drop-t { display: none; }
.two { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.models { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); border-radius: 12px; }
.model-card { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 12px; cursor: pointer; background: var(--term); border: 2px solid #2f2b27; transition: border-color .15s, transform .15s; }
.model-card:hover { border-color: #5a524a; transform: translateY(-1px); }
.model-card input { position: absolute; opacity: 0; }
.model-card:has(input:checked) { border-color: var(--flame); background: linear-gradient(180deg, #2a1608, var(--term)); box-shadow: 0 0 24px rgba(255, 107, 26, .18); }
.model-card:has(input:focus-visible) { outline: 3px solid var(--flame-2); outline-offset: 2px; }
.model-card:has(input:checked)::after { content: 'HIRED'; position: absolute; right: 10px; top: 10px; font: 400 14px var(--fd); letter-spacing: .08em; color: var(--flame); }
.mc-lab { font: 700 11px var(--fm); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mc-name { font: 400 24px/1.1 var(--fd); text-transform: uppercase; letter-spacing: .01em; }
.mc-id { font-size: 11px; color: var(--dim); overflow-wrap: anywhere; }
.sol-in { position: relative; display: block; max-width: 220px; }
.sol-in b { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 700 13px var(--fm); color: var(--muted); }
.disclosure { padding: 20px; border-radius: var(--r); color: var(--ink); background: linear-gradient(180deg, #fbf4e3, var(--paper)); box-shadow: 0 0 0 4px rgba(255, 107, 26, .5), var(--shadow); }
.disclosure h2 { margin: 0 0 10px; font: 400 28px/1 var(--fd); text-transform: uppercase; color: #1c1712; }
.disclosure p { margin: 0 0 10px; font-weight: 500; }
.big-split { display: grid; grid-template-columns: 7fr 3fr; overflow: hidden; border-radius: 10px; border: 2px solid #1c1712; }
.big-split span { padding: 10px; font: 700 12px var(--fm); text-transform: uppercase; letter-spacing: .08em; background: #1c1712; color: var(--paper); }
.big-split span + span { background: #d63b1f; }
.big-split b { display: block; font: 400 34px/1 var(--fd); letter-spacing: .02em; }
.fine-list { margin: 0 0 14px; padding-left: 18px; font-size: 13.5px; color: #3d342a; }
.fine-list li { margin: 4px 0; }
.fine-list code { background: #e8dcc0; padding: 1px 5px; border-radius: 4px; color: #1c1712; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 10px; background: #efe2c4; border: 2px solid transparent; font-weight: 700; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: #d63b1f; flex: none; }
.wallet-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font: 600 13px var(--fm); }
.steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; counter-reset: s; }
.steps li { position: relative; padding-left: 34px; font-size: 14px; color: var(--dim); counter-increment: s; line-height: 24px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font: 700 11px var(--fm); }
.steps li[data-s="on"] { color: var(--text); }
.steps li[data-s="on"]::before { border-color: var(--flame); color: var(--flame); animation: ring 1.4s infinite; }
.steps li[data-s="done"] { color: var(--muted); }
.steps li[data-s="done"]::before { content: '✓'; background: var(--green); border-color: var(--green); color: #102006; }
.steps li[data-s="err"] { color: #ff8f86; }
.steps li[data-s="err"]::before { content: '!'; border-color: var(--red); color: var(--red); }

/* ---------- hire page ---------- */
.hire-grid { display: grid; gap: 18px; padding-bottom: 30px; }
@media (min-width: 900px) { .hire-grid { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.hire-box.big { max-width: none; margin: 0; border-style: solid; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: #ddd2c2; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 8px; width: 10px; height: 10px; border-radius: 3px; background: var(--flame); box-shadow: 0 0 8px rgba(255, 107, 26, .6); }

/* ---------- docs ---------- */
.docs-grid { display: grid; gap: 24px; padding-bottom: 30px; }
@media (min-width: 960px) { .docs-grid { grid-template-columns: 210px minmax(0, 1fr); } .toc { position: sticky; top: 80px; align-self: start; flex-direction: column; } }
.toc { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.toc a { padding: 6px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; border: 1px solid var(--line); }
@media (min-width: 960px) { .toc a { border: 0; } }
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.prose { max-width: 72ch; min-width: 0; }
.prose section { padding: 8px 0 22px; border-bottom: 1px solid #2a2623; margin-bottom: 18px; }
.prose h2 { margin: 0 0 10px; font: 400 40px/1 var(--fd); text-transform: uppercase; }
.prose h3 { margin: 18px 0 6px; font-size: 18px; color: var(--flame-2); }
.prose p, .prose li { color: #ddd2c2; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.split-card { display: grid; gap: 12px; margin: 12px 0; }
@media (min-width: 640px) { .split-card { grid-template-columns: 7fr 3fr; } }
.split-card > div { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 12px; background: var(--term); border: 1px solid var(--line); min-width: 0; }
.split-card > div + div { border-color: rgba(214, 59, 31, .6); }
.split-card b { font: 400 46px/1 var(--fd); color: var(--flame); }
.split-card span { font: 700 12px var(--fm); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.split-card code { overflow-wrap: anywhere; color: var(--text); font-size: 12px; }
.split-card small { color: var(--muted); }
.menu-list { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.menu-h { font: 700 12px var(--fm); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.model-list { list-style: none; padding: 0 !important; }
.model-list li { padding: 8px 0; border-bottom: 1px dashed #2f2b27; }
.model-list code { font-size: 12px; color: var(--dim); overflow-wrap: anywhere; }
details { border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; margin: 8px 0; background: var(--bg-2); }
summary { cursor: pointer; padding: 12px 0; font-weight: 700; }
details p { margin: 0 0 12px; }
.risks { border: 1px solid rgba(255, 90, 78, .4) !important; border-radius: 12px; padding: 18px !important; background: rgba(255, 90, 78, .05); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .wm-b { animation: none; }
  .station[data-mode="cooking"] .burner i { animation: none; transform: none; }
  .cursor { animation: none; }
  .steam path { opacity: .25; stroke-dashoffset: 0; animation: none; }
}
