/* Glitch-blog-inspired: bright flat colour, chunky black outlines, hard shadows, app-window panels. */
:root {
  --bg:#f3f0ff; --card:#fff; --ink:#0b0b1c; --muted:#5b5a73; --line:#0b0b1c;
  --blue:#2800ff; --on-blue:#fff; --pink:#ff9ec4; --mint:#7bf0cd; --yellow:#ffe94a; --danger:#d3123f;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:#13112b; --card:#1d1a40; --ink:#f4f2ff; --muted:#a8a5d1; --line:#f4f2ff;
    --blue:#8c7bff; --on-blue:#0b0b1c; --pink:#ff7fb0; --mint:#41d9ab; --yellow:#ffd93a; --danger:#ff8aa5;
  }
}
:root[data-theme="dark"] {
  --bg:#13112b; --card:#1d1a40; --ink:#f4f2ff; --muted:#a8a5d1; --line:#f4f2ff;
  --blue:#8c7bff; --on-blue:#0b0b1c; --pink:#ff7fb0; --mint:#41d9ab; --yellow:#ffd93a; --danger:#ff8aa5;
}
* { box-sizing: border-box; }
body {
  margin:0; min-height:100vh; background:var(--bg); color:var(--ink); line-height:1.5;
  font-family:"Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
:focus-visible { outline:3px solid var(--blue); outline-offset:2px; }

.nav { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; padding:14px 24px; background:var(--card); border-bottom:3px solid var(--line); }
.brand { font-weight:800; font-size:1.15rem; color:var(--ink); text-decoration:none; }

/* Mobile default: exactly your original 480px width */
.hero-container {
  max-width: 480px;
  margin: 0 auto;
  padding: 36px 20px 20px;
}
.hero-text { margin-bottom: 24px; }
.hero-box { width: 100%; }

/* Laptop only (>= 860px): Expands container and creates side-by-side layout */
@media (min-width: 860px) {
  .hero-container {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 52px;
    max-width: 1040px;
    padding: 56px 24px;
    align-items: start;
  }
  .hero-text {
    margin-bottom: 0;
    padding-top: 8px;
  }
}

.wrap { max-width:860px; margin:0 auto; padding:36px 20px 20px; }
.tagline { font-size:clamp(1.8rem,5vw,2.8rem); font-weight:800; letter-spacing:-.02em; line-height:1.1; margin:0 0 8px; }
.muted, .note { color:var(--muted); font-size:.9rem; }

.win { margin:0 0 28px; background:var(--card); border:3px solid var(--line); border-radius:10px; box-shadow:6px 6px 0 var(--line); overflow:hidden; }
.win.pink { --bar:var(--pink); } .win.mint { --bar:var(--mint); } .win.yellow { --bar:var(--yellow); }
.bar { display:flex; align-items:center; gap:6px; padding:8px 12px; background:var(--bar,var(--pink)); border-bottom:3px solid var(--line); color:#0b0b1c; font:500 .8rem "Fira Code", ui-monospace, monospace; }
.bar i { width:11px; height:11px; border:2px solid #0b0b1c; border-radius:50%; background:#fff; }
.bar span { margin-left:8px; }
.body { padding:22px; }

label { display:block; font-size:.85rem; font-weight:600; margin-bottom:4px; }
input, select { width:100%; font:inherit; color:var(--ink); padding:10px 12px; background:var(--card); border:2px solid var(--line); border-radius:6px; }
input:focus, select:focus { outline:none; box-shadow:3px 3px 0 var(--blue); }
button { font:inherit; cursor:pointer; }
button.primary { padding:10px 18px; font-weight:800; color:var(--on-blue); background:var(--blue); border:3px solid var(--line); border-radius:8px; box-shadow:4px 4px 0 var(--line); transition:transform .1s, box-shadow .1s; }
button.primary:hover:not(:disabled) { transform:translate(2px,2px); box-shadow:2px 2px 0 var(--line); }
button.primary:active:not(:disabled) { transform:translate(4px,4px); box-shadow:0 0 0 var(--line); }
button.primary:disabled { opacity:.65; cursor:default; }
button.link { background:none; border:none; padding:0; margin-left:14px; color:var(--muted); font-size:.9rem; text-decoration:underline; }
button.link:hover { color:var(--ink); }

.sticky { padding:14px 16px; background:var(--yellow); color:#0b0b1c; border:3px solid var(--line); border-radius:8px; box-shadow:4px 4px 0 var(--line); }
.sticky .note { color:#0b0b1c; }
.todo { list-style:none; margin:0 0 22px; padding:0; }
.todo li { margin:8px 0; }

.live { display:inline-block; width:10px; height:10px; margin-right:8px; border:2px solid var(--line); border-radius:50%; background:var(--mint); animation:ping 2s infinite; }
@keyframes ping { 0% { box-shadow:0 0 0 0 var(--mint); } 80%,100% { box-shadow:0 0 0 9px transparent; } }
@media (prefers-reduced-motion: reduce) { .live { animation:none; } button.primary { transition:none; } }

.row { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; padding:12px 0; border-bottom:2px dashed color-mix(in srgb, var(--line) 25%, transparent); }
.row:first-child { padding-top:0; } .row:last-child { border-bottom:none; padding-bottom:0; }
.search-row { display:grid; grid-template-columns:repeat(auto-fit, minmax(170px,1fr)); gap:16px; align-items:end; }
.scroll { overflow-x:auto; }
table { width:100%; border-collapse:collapse; margin-top:18px; font-size:.9rem; }
th, td { text-align:left; padding:8px 12px 8px 0; white-space:nowrap; border-bottom:1px dashed color-mix(in srgb, var(--line) 25%, transparent); }
th { color:var(--muted); font-weight:600; font-size:.82rem; border-bottom:2px solid var(--line); }
.seats-open { display:inline-block; padding:1px 10px; background:var(--mint); color:#0b0b1c; border:2px solid var(--line); border-radius:999px; font-weight:800; }
.seats-zero { color:var(--muted); }
.error { color:var(--danger); font-weight:600; }

.foot { max-width:860px; margin:0 auto; padding:10px 20px 40px; font-size:.9rem; }
.foot .link { margin-left:10px; }
.foot a.link { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.foot a.link:visited { color: var(--muted); }
.foot a.link:hover { color: var(--ink); }
.foot p { margin:8px 0 0; }
@media (max-width:600px) { .body { padding:16px; } .nav { padding:12px 16px; } }