:root {
  --bg: #212737;
  --accent: #53F0CE;
  --accent2: #3FEFCB;
  --accent-orange: #FF9F2F;
  --card-bg: rgba(49,66,89,.80);
  --border: rgba(45,58,79,.90);
  --muted: #9CF2E0;
  --text: #FFFFFF;
  --on-accent: #0F172A;
  --danger: #F87171;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--text); font-family: Roboto, system-ui, sans-serif; margin: 0; }
h1, h2, h3, .btn, .wordmark, .countdown-digits { font-family: Rubik, system-ui, sans-serif; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
main { max-width: 1100px; margin: 0 auto; padding: 24px 16px; }
.site-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 12px 24px; border-bottom: 1px solid var(--border); }
.header-nav { display: flex; gap: 8px; align-items: center; }
.header-nav a.btn { text-decoration: none; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.wordmark { font-weight: 700; letter-spacing: .08em; }
.countdown-digits { display: flex; align-items: baseline; gap: 6px; font-weight: 700; color: var(--accent-orange); font-size: 1.5rem; }
.countdown-digits[hidden], .countdown-over[hidden] { display: none; }
.cd-unit { display: flex; flex-direction: column; align-items: center; }
.cd-unit small { font-family: Roboto, system-ui, sans-serif; font-weight: 300; font-size: .6rem; color: var(--muted); }
.countdown-over { color: var(--danger); font-family: Rubik, system-ui, sans-serif; font-weight: 700; }
.countdown-ended .countdown-digits { color: var(--danger); }
.card, .link-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 16px 20px; margin: 16px 0; }
.link-card { border-left: 4px solid var(--accent); }
.link-card h3 { margin: 0 0 8px; }
.link-card a { word-break: break-all; font-size: 1.1rem; }
.links { display: grid; gap: 4px; }
.hint, .muted { color: var(--muted); font-size: .9rem; }
.warn { color: var(--danger); font-size: .9rem; }
.btn { background: var(--accent); color: var(--on-accent); border: 0; border-radius: 6px; padding: 10px 18px; font-weight: 600; cursor: pointer; }
.btn-cta { background: var(--accent-orange); color: var(--on-accent); font-size: 1.1rem; padding: 14px 28px; }
.btn-small { padding: 6px 12px; font-size: .9rem; }
.btn-danger { background: transparent; color: var(--danger); border: 1px solid var(--danger); }
.btn-ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.clone-box { margin: 12px 0; }
.clone-box code { display: block; padding: 10px; margin-bottom: 8px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; word-break: break-all; }
.steps { list-style: none; padding: 0; margin: 0 0 12px; }
.step { display: flex; gap: 10px; padding: 4px 0; }
.step-done .step-icon { color: var(--accent); }
.step-running .step-icon { color: var(--accent-orange); }
.step-failed .step-icon, .step-error { color: var(--danger); }
.step-skipped, .step-pending { color: var(--muted); }
form label { display: block; margin-bottom: 12px; }
input, textarea { display: block; width: 100%; margin-top: 4px; padding: 8px; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 6px; font: inherit; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th, .admin-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.admin-table .actions { white-space: nowrap; }
.row-hidden { opacity: .55; }
.help-steps li { margin-bottom: 12px; line-height: 1.5; }
.help-faq { list-style: none; padding-left: 0; }
.help-faq li { padding: 12px 16px; background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; }
.help-steps code { background: var(--card-bg); padding: 1px 6px; border-radius: 4px; }
/* Landing: arcade cabinet artwork (static/brand/hero.webp) with the title on the dark screen */
.hero { text-align: center; padding: 10vh 16px 6vh; }
.hero-kicker { color: var(--muted); letter-spacing: .3em; text-transform: uppercase; font-size: .8rem; margin: 0 0 16px; }
.hero-title { font-size: clamp(2.2rem, 8vw, 4.5rem); line-height: 1.05; letter-spacing: .04em; margin: 0 0 32px; color: var(--accent); }
.hero .btn-cta { display: inline-block; text-decoration: none; min-width: 220px; }
main:has(> .arcade) { max-width: none; padding: 0; }
.arcade { position: relative; min-height: calc(100vh - 57px); display: flex; align-items: center; justify-content: center; padding: 6vh 16px; overflow: hidden; isolation: isolate; }
.arcade-bg { position: absolute; inset: 0; z-index: -2; background: var(--bg) url("/static/brand/hero.webp") center 38% / cover no-repeat; filter: saturate(1.08); animation: arcade-glow 7s ease-in-out infinite alternate; }
.arcade-bg::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(ellipse 48% 42% at 50% 44%, rgba(33,39,55,.92) 0%, rgba(33,39,55,.72) 45%, rgba(33,39,55,0) 100%),
  linear-gradient(180deg, rgba(33,39,55,.35) 0%, rgba(33,39,55,0) 25%, rgba(33,39,55,0) 60%, rgba(33,39,55,.85) 100%); }
.arcade-scanlines { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background: repeating-linear-gradient(180deg, rgba(0,0,0,0) 0 2px, rgba(0,0,0,.35) 2px 3px); mix-blend-mode: multiply; }
.arcade-screen { position: relative; max-width: 900px; }
.arcade .hero-kicker { color: var(--accent); opacity: .85; text-shadow: 0 0 12px rgba(83,240,206,.6); }
.arcade .hero-title { font-size: clamp(2.6rem, 9.5vw, 6.5rem); letter-spacing: .06em; line-height: .95; margin: 0 0 36px; }
.arcade .t-mint { color: var(--accent); text-shadow: 0 0 10px rgba(83,240,206,.75), 0 0 36px rgba(83,240,206,.45); }
.arcade .t-orange { color: var(--accent-orange); text-shadow: 0 0 10px rgba(255,159,47,.8), 0 0 40px rgba(255,159,47,.5); animation: arcade-flicker 4.5s steps(1, end) infinite; }
.arcade .t-sub { display: inline-block; margin-top: .25em; font-size: .46em; letter-spacing: .32em; color: #fff; text-shadow: 0 0 14px rgba(255,255,255,.55); }
/* the login button is an arcade cabinet push button: dark bezel ring, convex orange cap, press-down on click */
.arcade-btn { position: relative; display: inline-grid; place-items: center; width: 140px; height: 140px; border-radius: 50%; text-decoration: none; cursor: pointer;
  background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--bg) 88%, white) 0%, color-mix(in srgb, var(--bg) 65%, black) 62%, color-mix(in srgb, var(--bg) 35%, black) 100%);
  box-shadow: 0 7px 0 color-mix(in srgb, var(--bg) 20%, black), 0 14px 28px rgba(0,0,0,.65), inset 0 2px 2px rgba(255,255,255,.1), inset 0 -3px 6px rgba(0,0,0,.6); }
.arcade-btn-cap { position: relative; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; font-family: Rubik, system-ui, sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: .12em; color: var(--on-accent);
  background: radial-gradient(circle at 36% 30%, color-mix(in srgb, var(--accent-orange) 45%, white) 0%, color-mix(in srgb, var(--accent-orange) 75%, white) 26%, #ff9f2f 56%, color-mix(in srgb, var(--accent-orange) 80%, black) 100%);
  box-shadow: 0 9px 0 color-mix(in srgb, var(--accent-orange) 55%, black), 0 12px 20px rgba(0,0,0,.55), inset 0 -8px 12px rgba(0,0,0,.28), inset 0 4px 8px rgba(255,255,255,.45), 0 0 30px rgba(255,159,47,.55);
  transform: translateY(-5px); transition: transform .07s ease, box-shadow .07s ease; }
.arcade-btn-cap::before { content: ""; position: absolute; top: 9%; left: 20%; width: 58%; height: 30%; border-radius: 50%; background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,0)); pointer-events: none; }
.arcade-btn:hover .arcade-btn-cap { box-shadow: 0 9px 0 color-mix(in srgb, var(--accent-orange) 55%, black), 0 12px 20px rgba(0,0,0,.55), inset 0 -8px 12px rgba(0,0,0,.28), inset 0 4px 8px rgba(255,255,255,.5), 0 0 44px rgba(255,159,47,.85), 0 0 90px rgba(255,159,47,.35); }
.arcade-btn:active .arcade-btn-cap { transform: translateY(3px); box-shadow: 0 1px 0 color-mix(in srgb, var(--accent-orange) 55%, black), 0 3px 8px rgba(0,0,0,.5), inset 0 -4px 8px rgba(0,0,0,.3), inset 0 3px 6px rgba(255,255,255,.4), 0 0 24px rgba(255,159,47,.6); }
.arcade-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.arcade-hint { margin: 22px 0 0; color: var(--accent-orange); font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; text-shadow: 0 0 10px rgba(255,159,47,.65); animation: arcade-blink 1.6s steps(1, end) infinite; }
@keyframes arcade-blink { 0%, 100% { opacity: 1; } 55% { opacity: .15; } }
@keyframes arcade-glow { from { filter: saturate(1.02) brightness(.96); } to { filter: saturate(1.14) brightness(1.04); } }
@keyframes arcade-flicker { 0%, 100% { opacity: 1; } 47% { opacity: 1; } 48% { opacity: .72; } 49% { opacity: 1; } 73% { opacity: 1; } 74% { opacity: .85; } 75% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .arcade-bg, .arcade .t-orange, .arcade-hint { animation: none; } }
@media (max-width: 640px) {
  .arcade-bg { background-position: 50% 40%; }
  .arcade-screen { max-width: 100%; }
  .arcade .hero-title { font-size: clamp(1.5rem, 8.2vw, 2.4rem); letter-spacing: .02em; }
  .arcade .t-sub { letter-spacing: .18em; }
  .arcade-hint { font-size: .68rem; letter-spacing: .16em; }
  .arcade-bg { background-image: url("/static/brand/hero-small.webp"); }
  .arcade-btn { width: 116px; height: 116px; }
  .arcade-btn-cap { width: 86px; height: 86px; font-size: .95rem; }
}
.mcp-card pre { padding: 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; overflow-x: auto; font-size: .85rem; margin: 8px 0; }
.mcp-card details { margin: 8px 0; }
.mcp-card summary { cursor: pointer; }
