:root {
  --bg: #120820; --card: #24103d; --border: #4a2370; --field: #170a2b;
  --pink: #ff2d95; --orange: #ff8a3d; --purple: #9b4dff; --yellow: #ffe14d;
  --text: #fff4fb; --muted: #d9c4e6; --green: #3ddc84; --red: #ff3b3b;
  --display: 'Georgia', serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh; color: var(--text); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(ellipse at top, #4a1460 0%, transparent 60%), var(--bg); background-color: var(--bg);
}
a { color: var(--pink); }
.rainbow { height: 6px; background: linear-gradient(90deg, #ff3b3b, #ff9f1c, #ffe14d, #3ddc84, #3da5ff, #9b4dff); }
.page { max-width: 760px; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 1.5rem; box-shadow: 0 20px 60px #0008; margin-bottom: 1rem; }
.eyebrow { color: var(--pink); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .25rem; }
h1, h2 { font-family: var(--display); margin: 0 0 .5rem; background: linear-gradient(90deg, var(--pink), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); line-height: 1.15; }
h2 { font-size: 1.25rem; }
.meta { color: var(--muted); margin: .15rem 0; }
.mono { font-family: ui-monospace, Menlo, monospace; }
.notice { padding: .75rem 1rem; border-radius: 14px; font-weight: 700; margin: 1rem 0; }
.notice.ok { background: #3ddc8433; border: 1px solid var(--green); color: #bff5d6; }
.notice.refused { background: #ff3b3b33; border: 1px solid var(--red); color: #ffd0d0; }
.field-label { display: block; font-weight: 700; font-size: .9rem; color: var(--muted); margin: 1rem 0 .35rem; }
input:not([type=radio]):not([type=checkbox]):not([type=hidden]), select, textarea {
  display: block; width: 100%; min-height: 48px; box-sizing: border-box; border-radius: 14px; border: 2px solid var(--border);
  background-color: var(--field); color: var(--text); padding: .6rem .9rem; font: inherit; color-scheme: dark;
}
input::placeholder { color: #8f78a8; opacity: 1; }
input:focus { border-color: var(--pink); outline: none; box-shadow: 0 0 0 4px #ff2d9533; }
.btn { display: inline-block; border: 0; border-radius: 999px; background: var(--pink); color: #fff; font: inherit; font-weight: 800; font-size: 1rem; padding: .85rem 1.5rem; cursor: pointer; box-shadow: 0 10px 30px #ff2d9555; text-decoration: none; }
.btn:hover { background: #ff4aa5; }
.btn.small { padding: .4rem .9rem; font-size: .9rem; box-shadow: none; }
.btn.ghost { background: transparent; border: 2px solid var(--border); color: var(--text); box-shadow: none; }
.btn.block { display: block; width: 100%; text-align: center; }
.tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; margin-top: .5rem; }
.table-pick { position: relative; cursor: pointer; }
.table-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.table-pick span { display: flex; align-items: center; gap: .5rem; border: 2px solid var(--border); border-radius: 14px; padding: .7rem .8rem; background: var(--field); font-weight: 700; }
.table-pick .dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 12px currentColor; flex: none; }
.table-pick input:checked + span { border-color: var(--pink); background: #2c1248; }
.table-pick.taken span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.glow { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; box-shadow: 0 0 22px currentColor; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
th { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.pill { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .2rem .6rem; border-radius: 999px; background: #3a1d5a; }
.pill.arrived { background: #3ddc8433; color: #bff5d6; }
.search { display: flex; gap: .5rem; margin-bottom: .5rem; }
.search input { flex: 1; }
.stats { display: flex; gap: 1rem; margin: .5rem 0 0; color: var(--muted); }
.lamp-line { display: flex; align-items: center; gap: .6rem; margin-top: .75rem; color: var(--muted); }
.footer { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 2rem; }
