:root { --bg: #15171a; --panel: #1f2328; --line: #2d333b; --text: #e6e6e6; --muted: #9aa3ad; --accent: #e0a526; --red: #d9534f; --green: #4caf50; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; }
code, kbd { background: #0d0f12; padding: 1px 5px; border-radius: 3px; font-size: 0.92em; } kbd { border: 1px solid var(--line); }
h1 { font-size: 1.7rem; margin: 0.4em 0; } h2 { font-size: 1.25rem; margin: 1.2em 0 0.4em; border-bottom: 1px solid var(--line); padding-bottom: 4px; } h3 { margin: 0 0 0.4em; font-size: 1.05rem; } h4 { margin: 0.8em 0 0.2em; }
small { font-weight: normal; } .muted { color: var(--muted); } .small { font-size: 0.88em; } .nowrap { white-space: nowrap; } .hidden { display: none; }
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 10px 16px; background: var(--panel); border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; font-size: 1.2rem; color: var(--text); } .top nav { display: flex; flex-wrap: wrap; gap: 4px 14px; flex: 1; } .top nav a { color: var(--text); } .who { display: flex; gap: 10px; align-items: center; }
.pill { background: var(--accent); color: #111; padding: 3px 10px; border-radius: 12px; font-weight: 600; } .pill:hover { text-decoration: none; }
main { max-width: 1100px; margin: 0 auto; padding: 16px; } main.wide { max-width: none; }
footer { text-align: center; color: var(--muted); font-size: 0.85em; padding: 24px 16px; border-top: 1px solid var(--line); margin-top: 32px; }
.flash { max-width: 1100px; margin: 12px auto 0; padding: 10px 14px; border-radius: 6px; background: #203a24; border: 1px solid var(--green); } .flash.error { background: #3a2020; border-color: var(--red); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 14px 0; } .two { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; margin: 14px 0; }
.hero { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; margin: 20px 0; } @media (max-width: 760px) { .hero { grid-template-columns: 1fr; } }
.lead { font-size: 1.1rem; color: #cfd5db; } .joinrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-block; background: var(--accent); color: #111; padding: 8px 16px; border-radius: 6px; font-weight: 700; } .btn.big { font-size: 1.15rem; padding: 12px 22px; } .btn:hover { text-decoration: none; filter: brightness(1.1); }
.status .row { display: flex; align-items: center; gap: 8px; } .dot { width: 12px; height: 12px; border-radius: 50%; background: #666; display: inline-block; } .dot.on { background: var(--green); box-shadow: 0 0 8px var(--green); } .dot.off { background: var(--red); }
.status .big { font-size: 2.4rem; font-weight: 700; line-height: 1.1; } .status .big small { font-size: 1rem; color: var(--muted); } .names { list-style: none; padding: 0; margin: 8px 0; font-size: 0.9em; columns: 2; }
ul.stats { list-style: none; padding: 0; margin: 0; } ul.stats li { padding: 2px 0; } ul.stats b { display: inline-block; min-width: 3.5em; }
table.t { border-collapse: collapse; width: 100%; margin: 8px 0; font-size: 0.95em; } table.t th { text-align: left; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); padding: 6px 8px; } table.t td { padding: 6px 8px; border-bottom: 1px solid #23272e; vertical-align: top; }
.tabs a { display: inline-block; padding: 6px 12px; margin: 0 4px 6px 0; background: var(--panel); border-radius: 6px; color: var(--text); } .tabs a.on { background: var(--accent); color: #111; }
form.act { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0; } form.act.inline, form.inline { display: inline-flex; margin: 0 4px; } .acts { display: flex; flex-wrap: wrap; gap: 6px; }
.actgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 6px 14px; }
input, select { background: #0d0f12; color: var(--text); border: 1px solid var(--line); border-radius: 4px; padding: 6px 8px; font: inherit; } input[type=number] { width: 7em; }
button { background: var(--accent); color: #111; border: 0; border-radius: 4px; padding: 6px 12px; font: inherit; font-weight: 600; cursor: pointer; } button.link { background: none; color: var(--accent); padding: 0; font-weight: normal; }
.subnav { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 8px 0; border-bottom: 1px solid var(--line); margin-bottom: 8px; } .subnav a { color: var(--text); }
ol.rules li { margin: 6px 0; }
#map { height: calc(100vh - 220px); min-height: 420px; background: #0a2a45; border-radius: 8px; } #map.small { height: 420px; margin-top: 14px; }
.maphead { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; } .legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.9em; align-items: center; } .legend span { display: inline-flex; align-items: center; gap: 5px; }
.sw { width: 12px; height: 12px; border-radius: 50%; display: inline-block; } .sw.red { background: #e33; } .sw.green { background: #3c3; } .sw.blue { background: #39f; } .sw.grey { background: #999; } .sw.gold { background: #f5c518; } .sw.white { background: #fff; }
.ptip { background: rgba(0,0,0,0.7); color: #fff; border: 0; padding: 1px 5px; font-size: 11px; box-shadow: none; } .ptip::before { display: none; }
#playerbox { position: fixed; right: 24px; bottom: 24px; z-index: 1000; max-width: 420px; }
.welcome { max-width: 520px; margin: 30px auto; }
.welcome label[for=email] { display: block; font-weight: 600; margin: 10px 0 6px; }
.welcome input[type=email] { width: 100%; font-size: 1.05rem; padding: 9px 11px; border: 2px solid var(--green); }
/* red until it holds an address: optional, but asked for */
.welcome input[type=email].bad { border-color: var(--red); background: #2a1515; }
.welcome input[type=email]:disabled { opacity: 0.45; }
.welcome .hint { margin: 6px 0 0; color: var(--muted); font-size: 0.85em; }
.welcome .row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.welcome .tiny { font-size: 0.72em; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.welcome .tiny input { width: 11px; height: 11px; margin: 0; }
button:disabled { background: #3d3f43; color: #8a8a8a; cursor: default; }
.wheelbox { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 24px; align-items: start; margin: 16px 0; } @media (max-width: 760px) { .wheelbox { grid-template-columns: 1fr; } }
.wheelbox .disc { position: relative; } .wheelbox svg { width: 100%; height: auto; display: block; }
#turn { transition: transform 4.2s cubic-bezier(0.15, 0.6, 0.1, 1); } #turn text { font-size: 7.5px; fill: #101010; font-weight: 600; }
.wheelbox .pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 22px solid #fff; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.6)); }
table.odds i { display: inline-block; width: 11px; height: 11px; border-radius: 2px; } table.odds tr.won td { color: #fff; font-weight: 700; background: #2a3a2a; }
.emailcard input[type=email] { min-width: 260px; }
