* { box-sizing: border-box; }
:root {
  --bg: #0c0e12; --card: #171b22; --line: #262d38; --text: #eef1f5; --muted: #9aa5b1;
  --red: #e63329; --amber: #ffb300; --green: #2ecc71;
}
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.hidden { display: none !important; }
button, input, textarea, select { font: inherit; }
input, textarea, select {
  width: 100%; background: #0f1218; color: var(--text); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; margin-top: 4px;
}
label { display: block; margin: 10px 0; font-size: .92rem; color: var(--muted); }
textarea { resize: vertical; }
.btn { border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 700; cursor: pointer; background: #232a35; color: var(--text); }
.btn.primary { background: var(--red); color: #fff; }
.btn.big { width: 100%; padding: 14px; font-size: 1.05rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.small { padding: 6px 12px; font-size: .85rem; }
.error { color: #ff6b61; min-height: 1em; font-size: .9rem; }
.ok { color: var(--green); font-size: .9rem; }

/* Gate */
.gate { min-height: 100dvh; display: flex; align-items: flex-start; justify-content: center; padding: 20px 14px 40px;
  background: repeating-linear-gradient(45deg, #0c0e12 0 26px, #10131a 26px 52px); }
.gate-card { width: 100%; max-width: 430px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px; }
.logo { font-weight: 900; font-size: 1.9rem; letter-spacing: .5px; font-style: italic; }
.logo span { color: var(--red); }
.logo.small { font-size: 1.25rem; }
.tagline { color: var(--muted); }
.disclosure { background: #0f1218; border: 1px solid var(--line); border-radius: 12px; padding: 6px 14px; font-size: .92rem; }
.disclosure ul { margin: 4px 0 10px; padding-left: 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.check input { width: auto; margin-top: 3px; transform: scale(1.25); }

/* App frame */
header { position: sticky; top: 0; z-index: 5; background: rgba(12,14,18,.92); backdrop-filter: blur(6px);
  display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 3px solid var(--red); }
.whoami { color: var(--muted); font-size: .9rem; }
main { max-width: 560px; margin: 0 auto; padding: 14px 12px 96px; }
.tab { display: none; } .tab.active { display: block; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin: 14px 0; scroll-margin-top: 76px; }
.card h3 { margin-top: 4px; }
.section-title { margin: 18px 2px 6px; }

/* Meets */
.day-title { margin: 20px 2px 8px; font-size: 1.05rem; color: var(--amber); text-transform: uppercase; letter-spacing: .6px; }
.meet { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--amber); border-radius: 14px; padding: 12px 14px; margin: 8px 0; }
.meet h4 { margin: 0 0 4px; font-size: 1.05rem; }
.meet .meta { color: var(--muted); font-size: .9rem; }
.meet .desc { font-size: .92rem; margin-top: 6px; }
.meet.live { border-left-color: var(--red); }
.badge { display: inline-block; background: var(--red); color: #fff; font-weight: 800; font-size: .72rem;
  padding: 2px 8px; border-radius: 999px; letter-spacing: 1px; vertical-align: middle; margin-right: 6px;
  animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.live-banner { background: linear-gradient(90deg, #3d0a08, #171b22); border: 1px solid var(--red); border-radius: 14px; padding: 10px 14px; margin-bottom: 6px; }

/* Live feed */
.post { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 10px 0; }
.post .who { font-weight: 700; }
.post .when { color: var(--muted); font-size: .82rem; }
.post .at { color: var(--amber); font-size: .88rem; }
.post img, .preview { width: 100%; border-radius: 10px; margin-top: 8px; }
.preview { max-height: 260px; object-fit: cover; }

/* Gallery */
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.media-tile { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer; }
.media-tile img { width: 100%; height: 150px; object-fit: cover; display: block; }
.media-cap { padding: 8px 10px; }
.media-cap .who { font-weight: 700; }
.media-cap .at { color: var(--amber); font-size: .85rem; }
.media-cap .when { color: var(--muted); font-size: .8rem; }
.media-full { width: 100%; border-radius: 10px; }
/* Parts */
.parts-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; }
.parts-head h2 { margin: 0; }
.hint { color: var(--muted); font-size: .88rem; }
.part .photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.part .photos img { width: 100%; border-radius: 10px; }
.part.gone { opacity: .55; }
.price { color: var(--green); font-weight: 700; }

/* People */
.person { display: flex; justify-content: space-between; align-items: center; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 6px 0; }
.person .blocked-tag { color: #ff6b61; font-size: .8rem; font-weight: 700; }

/* Bottom nav */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: repeat(6, 1fr);
  background: #10131a; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav button { background: none; border: 0; color: var(--muted); padding: 9px 0 7px; font-size: 1.25rem; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 1px; }
.bottom-nav button span { font-size: .72rem; font-weight: 700; letter-spacing: .4px; }
.bottom-nav button.active { color: #fff; box-shadow: inset 0 3px 0 var(--red); }
.sponsor-banner { position: sticky; bottom: 64px; z-index: 30; display: flex; align-items: center; gap: 10px; margin: 0 10px 8px; padding: 10px 14px; border-radius: 12px; cursor: pointer; color: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.25); } .sponsor-banner .sp-name { font-weight: 800; letter-spacing: .4px; font-size: 15px; } .sponsor-banner .sp-tag { font-size: 12px; opacity: .9; } .sponsor-banner .sp-tap { margin-left: auto; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.18); padding: 5px 9px; border-radius: 999px; white-space: nowrap; } .sponsor-card { margin: 10px 0; padding: 12px 14px; border-radius: 12px; cursor: pointer; color: #fff; border: 1px solid rgba(255,255,255,.25); } .sponsor-card .sp-name { font-weight: 800; font-size: 16px; } .sponsor-card .sp-tag { font-size: 13px; opacity: .92; } .sponsor-card .sp-tap { font-size: 12px; font-weight: 700; margin-top: 6px; display: inline-block; background: rgba(255,255,255,.18); padding: 5px 9px; border-radius: 999px; } .modal { position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 100; display: flex; align-items: flex-end; justify-content: center; } .modal.hidden { display: none; } .modal-card { background: #17181c; color: #f2f2f2; width: 100%; max-width: 520px; border-radius: 16px 16px 0 0; padding: 18px; border-top: 4px solid #f5b301; } .modal-card h3 { margin: 0 0 4px; font-size: 19px; } .modal-card .sp-tag { color: #c9c9c9; font-size: 13px; margin-bottom: 12px; } .modal-card .big-call { display: block; text-align: center; background: #1d7a35; color: #fff; font-weight: 800; font-size: 17px; padding: 13px; border-radius: 10px; text-decoration: none; margin: 10px 0; } .modal-card .row-btns { display: flex; gap: 8px; } .modal-card .row-btns a { flex: 1; text-align: center; background: #26272c; color: #f2f2f2; padding: 11px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 14px; border: 1px solid #3a3b41; } .modal-card .sp-addr { font-size: 13px; color: #c9c9c9; margin-top: 10px; }
.sponsor-row { display: flex; flex-direction: column; gap: 2px; margin: 0 0 8px; padding: 10px 14px; border-radius: 12px; cursor: pointer; color: #fff; border: 1px solid rgba(255,255,255,.25); } .sponsor-row .sp-name { font-weight: 800; font-size: 15px; } .sponsor-row .sp-tag { font-size: 12px; opacity: .9; }
.region-bar{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 16px}
.region-btn.active{background:var(--red);color:#fff}
