/* Christchurch Paintball Club — red & black (Canterbury) */
:root {
  --red: #e1141e; --red-2: #ff3b3b; --red-dk: #8f0a10;
  --ink: #09090b; --char: #121215; --char-2: #1a1a1f; --line: #2b2b32;
  --text: #f3f3f5; --mute: #a3a3ad; --ok: #2fbf71; --warn: #f2b33d;
  --r: 14px; --head: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --hoops: repeating-linear-gradient(180deg, var(--red) 0 10px, #000 10px 20px);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body { margin: 0; background: var(--ink); color: var(--text); font: 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--red-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; letter-spacing: .02em; line-height: 1; margin: 0 0 .4em; }
h1 { font-size: clamp(2.8rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 92vw); margin: 0 auto; }
.mute { color: var(--mute); }
.small { font-size: .875rem; }
.red { color: var(--red); }
.center { text-align: center; }
.hidden { display: none !important; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(9,9,11,.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: linear-gradient(90deg, var(--red), var(--red-dk) 60%, transparent); }
.top .wrap { display: flex; align-items: center; gap: 1rem; height: 66px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); font-family: var(--head); font-size: 1.7rem; letter-spacing: .04em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand b { color: var(--red); font-weight: 400; }
.nav { display: flex; gap: .3rem; margin-left: auto; align-items: center; }
.nav a { color: var(--text); padding: .45rem .8rem; border-radius: 99px; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a.on { background: var(--char-2); text-decoration: none; }
.nav a.on { color: var(--red-2); }
.nav .btn { margin-left: .3rem; }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: .4rem .7rem; font-size: 1.2rem; }
@media (max-width: 1080px) {
  .burger { display: block; }
  .nav { display: none; position: absolute; top: 69px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--ink); padding: 1rem 4vw 1.4rem; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 1rem; }
  .nav .btn { margin: .4rem 0 0; }
}

/* ---------- buttons + forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 0; cursor: pointer; font: 700 .95rem/1 Inter, sans-serif; padding: .85rem 1.4rem; border-radius: 99px; background: var(--red); color: #fff !important; text-decoration: none !important; box-shadow: 0 6px 24px -8px rgba(225,20,30,.7); transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { background: var(--red-2); transform: translateY(-1px); box-shadow: 0 10px 30px -8px rgba(225,20,30,.85); }
.btn.ghost { background: transparent; border: 2px solid rgba(255,255,255,.35); box-shadow: none; }
.btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn.dark { background: var(--char-2); border: 1px solid var(--line); box-shadow: none; }
.btn.dark:hover { background: #24242b; }
.btn.sm { padding: .5rem .9rem; font-size: .85rem; }
.btn.danger { background: transparent; color: var(--red-2) !important; border: 1px solid var(--red-dk); box-shadow: none; }
.btn.danger:hover { background: rgba(225,20,30,.12); }
.btn.big { padding: 1.1rem 2rem; font-size: 1.05rem; }
label { display: block; font-weight: 600; font-size: .9rem; margin: 0 0 .35rem; }
input, select, textarea { width: 100%; font: inherit; color: var(--text); background: #0d0d10; border: 1px solid var(--line); border-radius: 10px; padding: .75rem .9rem; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(225,20,30,.25); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--red); transform: scale(1.2); margin: 0 .5rem 0 0; }
input[type=file] { padding: .55rem; }
textarea { min-height: 120px; resize: vertical; }
.field { margin-bottom: 1rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.check { display: flex; align-items: flex-start; gap: .2rem; font-weight: 500; cursor: pointer; }
.check input { margin-top: .3rem; }
.hp { position: absolute; left: -9999px; }
.alert { padding: .9rem 1.1rem; border-radius: 10px; margin: 0 0 1.2rem; border: 1px solid; }
.alert.err { background: rgba(225,20,30,.1); border-color: var(--red-dk); color: #ffb3b3; }
.alert.ok { background: rgba(47,191,113,.1); border-color: #1c7a47; color: #a9f0c8; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 30%; transform: scale(1.06); animation: drift 22s ease-in-out infinite alternate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(100deg, rgba(9,9,11,.96) 0%, rgba(9,9,11,.82) 38%, rgba(9,9,11,.25) 70%, rgba(143,10,16,.35) 100%),
  linear-gradient(0deg, var(--ink) 0%, transparent 30%); }
.hero::after { content: ''; position: absolute; right: -8%; top: -10%; width: 46%; height: 130%; background: linear-gradient(180deg, var(--red), var(--red-dk)); transform: skewX(-14deg); opacity: .18; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 85%); mask-image: linear-gradient(180deg, #000 55%, transparent 85%); mix-blend-mode: screen; z-index: -1; }
@keyframes drift { from { transform: scale(1.06) translateX(0); } to { transform: scale(1.12) translateX(-2%); } }
.hero .wrap { padding: 4rem 0 6rem; }
.hero h1 { max-width: 14ch; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.hero h1 em { font-style: normal; color: var(--red); display: inline-block; position: relative; }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 44ch; color: #e6e6ea; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 800; color: var(--red-2); margin-bottom: 1rem; }
.kicker::before { content: ''; width: 34px; height: 3px; background: var(--red); }
.hero @keyframes pop { from { transform: scale(0) rotate(-40deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: .9; } }
@media (max-width: 1080px) { .brand { font-size: 1.45rem; } }

.page-hero { position: relative; padding: 5rem 0 3rem; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .35; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 20%, rgba(9,9,11,.6)), linear-gradient(0deg, var(--ink), transparent 60%); }
.page-hero p { max-width: 60ch; color: #ddd; }

/* ---------- countdown strip ---------- */
.nextup { position: relative; margin-top: -4.5rem; z-index: 5; }
.nextup .box { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; background: linear-gradient(135deg, #1b0507, var(--char) 55%); border: 1px solid #3a1216; border-radius: var(--r); padding: 1.3rem 1.6rem; box-shadow: 0 30px 60px -30px #000, inset 0 1px 0 rgba(255,255,255,.04); }
.nextup .date { text-align: center; background: var(--red); border-radius: 12px; padding: .6rem 1rem; min-width: 84px; font-family: var(--head); line-height: 1; }
.nextup .date b { display: block; font-size: 2.4rem; font-weight: 400; }
.nextup .date span { font-size: 1rem; letter-spacing: .1em; }
.count { display: flex; gap: .6rem; }
.count div { text-align: center; background: #0b0b0d; border: 1px solid var(--line); border-radius: 10px; padding: .45rem .6rem; min-width: 60px; }
.count b { display: block; font-family: var(--head); font-size: 1.9rem; font-weight: 400; line-height: 1; color: var(--red-2); }
.count span { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); }
@media (max-width: 760px) { .nextup .box { grid-template-columns: auto 1fr; } .count { grid-column: 1 / -1; justify-content: space-between; } .count div { flex: 1; } }

/* ---------- sections + cards ---------- */
section.s { padding: 5.5rem 0; position: relative; }
section.s.alt { background: linear-gradient(180deg, var(--char), var(--ink)); }
.s-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.s-head p { max-width: 56ch; margin: 0; }
.hoops { height: 14px; background: var(--hoops); background-size: 100% 20px; opacity: .9; }
.hoopbar { height: 6px; background: repeating-linear-gradient(90deg, var(--red) 0 40px, #000 40px 80px); }
.cards { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.cards.fill { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { background: var(--char); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; position: relative; overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); border-color: #43434c; box-shadow: 0 20px 40px -24px #000; }
.card.red-top::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red), transparent); }
.card .ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: rgba(225,20,30,.12); color: var(--red-2); font-size: 1.5rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: .3rem; }
.photo-card { padding: 0; }
.photo-card .ph { aspect-ratio: 16/10; background-size: cover; background-position: center; transition: transform .6s; }
.photo-card:hover .ph { transform: scale(1.05); }
.photo-card .in { padding: 1.3rem 1.5rem 1.5rem; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.split .pic { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; background-size: cover; background-position: center; box-shadow: 0 30px 60px -30px #000; }
.split .pic::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.08); border-radius: var(--r); }
.split .pic .tag { position: absolute; left: 1rem; bottom: 1rem; background: var(--red); padding: .35rem .8rem; border-radius: 99px; font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0; }
.ticks li { padding: .35rem 0 .35rem 2rem; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .7rem; width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(225,20,30,.2); }

/* events */
.ev-list { display: grid; gap: .9rem; }
.ev { display: grid; grid-template-columns: 78px 1fr auto; gap: 1.2rem; align-items: center; background: var(--char); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem; transition: border-color .2s, transform .2s; }
.ev:hover { border-color: #4a1a1e; transform: translateX(3px); }
.ev .d { text-align: center; font-family: var(--head); line-height: 1; border-right: 1px solid var(--line); padding-right: 1rem; }
.ev .d b { display: block; font-size: 2.3rem; font-weight: 400; color: var(--red-2); }
.ev .d span { letter-spacing: .12em; font-size: .95rem; color: var(--mute); }
.ev h3 { font-size: 1.45rem; margin: 0 0 .15rem; }
.ev .meta { color: var(--mute); font-size: .9rem; }
.ev .acts { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .ev { grid-template-columns: 62px 1fr; } .ev .acts { grid-column: 1 / -1; justify-content: flex-start; } }
.pill { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 99px; background: var(--char-2); border: 1px solid var(--line); color: var(--mute); vertical-align: middle; }
.pill.game, .pill.comp { background: rgba(225,20,30,.15); border-color: var(--red-dk); color: #ff9a9a; }
.pill.agm, .pill.meeting { background: rgba(242,179,61,.12); border-color: #6b5016; color: #f6cd7a; }
.pill.social { background: rgba(92,128,255,.12); border-color: #2c3d80; color: #a9b9ff; }
.pill.members, .pill.committee { background: #000; border-color: #444; color: #ddd; }
.pill.ok { background: rgba(47,191,113,.12); border-color: #1c7a47; color: #8ee6b5; }
.pill.warn { background: rgba(242,179,61,.12); border-color: #6b5016; color: #f6cd7a; }
.pill.bad { background: rgba(225,20,30,.15); border-color: var(--red-dk); color: #ff9a9a; }

/* calendar */
.cal { background: var(--char); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; background: linear-gradient(90deg, #1d0608, var(--char)); border-bottom: 1px solid var(--line); }
.cal-head h3 { margin: 0; font-size: 2rem; }
.cal-head button { background: var(--char-2); border: 1px solid var(--line); color: var(--text); width: 40px; height: 40px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; }
.cal-head button:hover { border-color: var(--red); color: var(--red-2); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-grid .dow { padding: .6rem; text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .14em; color: var(--mute); text-transform: uppercase; border-bottom: 1px solid var(--line); }
.cal-grid .day { min-height: 96px; padding: .4rem; border-right: 1px solid #1f1f25; border-bottom: 1px solid #1f1f25; font-size: .85rem; position: relative; }
.cal-grid .day:nth-child(7n) { border-right: 0; }
.cal-grid .day.other { opacity: .3; }
.cal-grid .day.today .n { background: var(--red); color: #fff; }
.cal-grid .n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-weight: 700; font-size: .8rem; }
.cal-grid .e { display: block; width: 100%; text-align: left; margin-top: 3px; padding: 3px 6px; border-radius: 6px; font: 600 .74rem/1.25 Inter, sans-serif; background: rgba(225,20,30,.18); border: 0; border-left: 3px solid var(--red); color: #ffd2d2; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-grid .e.agm, .cal-grid .e.meeting { background: rgba(242,179,61,.14); border-left-color: var(--warn); color: #fbe1a8; }
.cal-grid .e.social { background: rgba(92,128,255,.14); border-left-color: #5c80ff; color: #cdd7ff; }
.cal-grid .e.working, .cal-grid .e.training, .cal-grid .e.other { background: rgba(255,255,255,.07); border-left-color: #888; color: #ddd; }
@media (max-width: 640px) { .cal-grid .day { min-height: 58px; padding: .25rem; } .cal-grid .e { font-size: 0; height: 7px; padding: 0; border-left-width: 0; border-radius: 4px; background: var(--red); } .cal-grid .e.agm, .cal-grid .e.meeting { background: var(--warn); } .cal-grid .e.social { background: #5c80ff; } .cal-grid .e.working, .cal-grid .e.training, .cal-grid .e.other { background: #888; } }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 100; padding: 1rem; }
.modal .box { background: var(--char); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--r); padding: 1.6rem; width: min(520px, 100%); max-height: 90vh; overflow: auto; box-shadow: 0 40px 80px -20px #000; }
.modal .x { float: right; background: none; border: 0; color: var(--mute); font-size: 1.6rem; cursor: pointer; line-height: 1; }

/* fees */
.price { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 15%, rgba(225,20,30,.4), transparent 45%), linear-gradient(135deg, #1a0406, #0b0b0d 60%); border: 1px solid #3a1216; border-radius: 22px; padding: 2.4rem; }
.price .amt { font-family: var(--head); font-size: 6rem; line-height: .9; }
.price .amt small { font-size: 1.6rem; color: var(--mute); }

/* gallery strip */
.strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: .8rem; }
.strip div { border-radius: var(--r); background-size: cover; background-position: center; position: relative; overflow: hidden; }
.strip div:first-child { grid-row: span 2; }
.strip div::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.5), transparent 50%); }
@media (max-width: 700px) { .strip { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px 140px; } .strip div:first-child { grid-column: span 2; grid-row: auto; } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding: 5rem 0; text-align: center; }
.cta-band .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(143,10,16,.92), rgba(9,9,11,.9)); }

/* faq */
details.faq { background: var(--char); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.2rem; margin-bottom: .7rem; }
details.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.faq summary::after { content: '+'; color: var(--red-2); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { color: #d4d4da; }

/* panels (forms) */
.panel { background: var(--char); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.3rem, 4vw, 2.2rem); }
.narrow { width: min(560px, 92vw); margin: 0 auto; }
.tabs { display: flex; background: #0b0b0d; border: 1px solid var(--line); border-radius: 99px; padding: 4px; margin-bottom: 1.5rem; }
.tabs a { flex: 1; text-align: center; padding: .6rem; border-radius: 99px; color: var(--mute); font-weight: 700; }
.tabs a.on { background: var(--red); color: #fff; }
.tabs a:hover { text-decoration: none; }

/* footer */
footer.foot { border-top: 1px solid var(--line); background: #060607; padding: 3.5rem 0 2rem; margin-top: 0; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
@media (max-width: 700px) { footer .cols { grid-template-columns: 1fr; } }
footer h4 { font-family: var(--head); font-weight: 400; font-size: 1.3rem; letter-spacing: .06em; margin: 0 0 .6rem; color: var(--red-2); }
footer a { color: #ccc; display: block; padding: .15rem 0; }
footer .legal { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .82rem; color: #777; }
footer .legal a { display: inline; color: #888; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero .bg { animation: none; } }

/* ---------- members + committee shared ---------- */
.dash-wrap { padding: 2.5rem 0 4rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat { background: var(--char); border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; display: block; color: var(--text); position: relative; overflow: hidden; }
.stat:hover { text-decoration: none; border-color: var(--red-dk); }
.stat b { display: block; font-family: var(--head); font-size: 2.8rem; font-weight: 400; line-height: 1; }
.stat span { color: var(--mute); font-size: .85rem; font-weight: 600; }
.stat.hot b { color: var(--red-2); }
table.t { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.t th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); padding: .6rem .7rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t td { padding: .7rem; border-bottom: 1px solid #1f1f25; vertical-align: middle; }
table.t tr:hover td { background: #16161a; }
table.t a.row-link { color: var(--text); font-weight: 600; }
.tbl-wrap { overflow-x: auto; background: var(--char); border: 1px solid var(--line); border-radius: var(--r); }
.toolbar { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.toolbar input, .toolbar select { width: auto; flex: 1 1 180px; padding: .55rem .8rem; }
.toolbar .sp { flex: 1; }
.chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.chips a { padding: .4rem .8rem; border-radius: 99px; border: 1px solid var(--line); color: var(--mute); font-size: .85rem; font-weight: 600; }
.chips a.on { background: var(--red); border-color: var(--red); color: #fff; }
.chips a:hover { text-decoration: none; border-color: #555; }
.box-h { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .8rem; }
.box-h h3 { margin: 0; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: .65rem 0; border-bottom: 1px solid #1f1f25; display: flex; gap: .8rem; align-items: center; justify-content: space-between; }
.list-plain li:last-child { border-bottom: 0; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.cols-side { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.2rem; align-items: start; }
@media (max-width: 860px) { .cols2, .cols-side { grid-template-columns: 1fr; } }
.inline { display: inline; }
.row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.doc { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: 10px; color: var(--text); }
.doc:hover { background: #1c1c22; text-decoration: none; }
.doc .fi { width: 38px; height: 44px; border-radius: 6px; background: linear-gradient(135deg, #2a2a31, #1a1a1f); border: 1px solid var(--line); display: grid; place-items: center; font-size: .62rem; font-weight: 800; color: var(--red-2); letter-spacing: .05em; flex: none; }
.doc .nm { font-weight: 600; word-break: break-word; }

/* committee layout */
.cm { display: grid; grid-template-columns: 230px 1fr; min-height: calc(100vh - 66px); }
.cm-side { background: #0c0c0f; border-right: 1px solid var(--line); padding: 1.5rem 1rem; position: sticky; top: 66px; height: calc(100vh - 66px); overflow: auto; }
.cm-side .who { padding: 0 .6rem 1rem; margin-bottom: .8rem; border-bottom: 1px solid var(--line); }
.cm-side .who b { display: block; }
.cm-side a { display: flex; align-items: center; justify-content: space-between; gap: .6rem; color: #d6d6dc; padding: .6rem .8rem; border-radius: 10px; font-weight: 600; font-size: .93rem; }
.cm-side a:hover { background: var(--char-2); text-decoration: none; }
.cm-side a.on { background: linear-gradient(90deg, rgba(225,20,30,.22), transparent); color: #fff; box-shadow: inset 3px 0 0 var(--red); }
.cm-side .badge { background: var(--red); color: #fff; border-radius: 99px; font-size: .7rem; padding: .1rem .45rem; }
.cm-main { padding: 2rem clamp(1rem, 3vw, 2.5rem) 4rem; min-width: 0; }
.cm-main h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
@media (max-width: 900px) {
  .cm { grid-template-columns: 1fr; }
  .cm-side { position: static; height: auto; display: flex; gap: .3rem; overflow-x: auto; padding: .6rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .cm-side .who { display: none; }
  .cm-side a { white-space: nowrap; padding: .5rem .8rem; }
  .cm-side a.on { box-shadow: inset 0 -3px 0 var(--red); }
}
.fm { display: grid; grid-template-columns: 240px 1fr; gap: 1.2rem; align-items: start; }
@media (max-width: 860px) { .fm { grid-template-columns: 1fr; } }
.fm-folders a { display: flex; gap: .6rem; align-items: center; padding: .55rem .7rem; border-radius: 10px; color: #ddd; font-weight: 600; }
.fm-folders a:hover { background: #1c1c22; text-decoration: none; }
.fm-folders a.on { background: rgba(225,20,30,.15); color: #fff; }
.fm-folders .cnt { margin-left: auto; font-size: .75rem; color: var(--mute); }
.drop { border: 2px dashed #3a3a44; border-radius: var(--r); padding: 1.4rem; text-align: center; color: var(--mute); transition: border-color .15s, background .15s; cursor: pointer; }
.drop.over { border-color: var(--red); background: rgba(225,20,30,.07); color: #fff; }
.progress { height: 6px; background: #222; border-radius: 99px; overflow: hidden; margin-top: .8rem; }
.progress i { display: block; height: 100%; width: 0; background: var(--red); transition: width .2s; }
.menu-btn { background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: .3rem .55rem; cursor: pointer; }
.pop { position: absolute; right: 0; top: 110%; z-index: 20; background: var(--char-2); border: 1px solid var(--line); border-radius: 12px; padding: .8rem; width: 260px; box-shadow: 0 20px 40px -10px #000; }
.rel { position: relative; }
.imgset { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.imgset .th { aspect-ratio: 16/10; background-size: cover; background-position: center; border-radius: 10px; margin-bottom: .6rem; border: 1px solid var(--line); }
.copybox { display: flex; gap: .5rem; }
.copybox input { font-size: .85rem; }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }

/* teams */
.team-card { padding: 0; color: inherit; text-decoration: none !important; display: block; }
.team-card .team-ph { aspect-ratio: 16/9; background-size: cover; background-position: center; position: relative; }
.team-card .team-ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--char) 0%, transparent 60%); }
.team-card .team-in { padding: 0 1.4rem 1.4rem; margin-top: -2.2rem; position: relative; }
.team-logo { width: 72px; height: 72px; border-radius: 16px; background: linear-gradient(135deg, var(--red), var(--red-dk)); display: grid; place-items: center; font-family: var(--head); font-size: 2rem; color: #fff; border: 3px solid var(--char); box-shadow: 0 10px 30px -10px #000; overflow: hidden; margin-bottom: .7rem; }
.team-logo img { width: 100%; height: 100%; object-fit: cover; }
.team-logo.lg { width: 120px; height: 120px; font-size: 3.4rem; border-radius: 24px; }
.team-hero { position: relative; padding: 6rem 0 2.5rem; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.team-hero .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.team-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--ink) 5%, rgba(9,9,11,.55) 60%, rgba(143,10,16,.35)); }
.team-hero .wrap { display: flex; gap: 1.5rem; align-items: end; flex-wrap: wrap; }
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .7rem; }
.player { display: flex; align-items: center; gap: .7rem; background: #0e0e11; border: 1px solid var(--line); border-radius: 12px; padding: .6rem .8rem; }
.player .av { width: 40px; height: 40px; border-radius: 50%; background: var(--char-2); border: 2px solid var(--red); display: grid; place-items: center; font-weight: 800; font-size: .85rem; flex: none; }
.player b { display: block; font-size: .95rem; }
.fb-embed-wrap { width: 100%; }
.fb-embed { display: block; max-width: 100%; height: 640px; border: 0; border-radius: var(--r); background: #fff; }

/* ---------- boxball page ---------- */
.bx-hero { min-height: min(80vh, 760px); }
.bx-hero h1 { max-width: 12ch; }
.bx-tally { margin-top: 1.4rem; color: #ddd; font-size: .95rem; }
.bx-tally b { color: var(--red-2); font-family: var(--head); font-size: 1.5rem; font-weight: 400; letter-spacing: .03em; }
.bx-facts { position: relative; z-index: 5; margin-top: -3.5rem; display: grid; grid-template-columns: repeat(4, 1fr); background: linear-gradient(135deg, #1b0507, var(--char) 55%); border: 1px solid #3a1216; border-radius: var(--r); box-shadow: 0 30px 60px -30px #000; overflow: hidden; }
.bx-facts div { padding: 1.3rem 1.2rem; text-align: center; border-right: 1px solid var(--line); }
.bx-facts div:last-child { border-right: 0; }
.bx-facts b { display: block; font-family: var(--head); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1; color: var(--red-2); }
.bx-facts span { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); font-weight: 700; }
@media (max-width: 700px) { .bx-facts { grid-template-columns: 1fr 1fr; } .bx-facts div:nth-child(2) { border-right: 0; } .bx-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.bx-table { width: 100%; border-collapse: collapse; }
.bx-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); padding: 0 0 .6rem; border-bottom: 1px solid var(--line); }
.bx-table td { padding: .8rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.bx-table td:first-child { font-family: var(--head); font-size: 1.35rem; letter-spacing: .03em; width: 40%; }
.bx-dots { display: inline-flex; gap: 5px; vertical-align: middle; margin-right: .5rem; }
.bx-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(225,20,30,.2); transition: background .3s, box-shadow .3s, transform .3s; }
.bx-dots i.off { background: transparent; box-shadow: inset 0 0 0 2px #4a4a52; transform: scale(.85); }
.bx-dots.big { gap: 8px; margin: .6rem 0 0; }
.bx-dots.big i { width: 20px; height: 20px; }
.side.b .bx-dots i:not(.off) { background: #f3f3f5; box-shadow: 0 0 0 3px rgba(255,255,255,.15); }
.sim-board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; background: #0b0b0d; border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; margin: 1rem 0; }
.sim-board .side { text-align: center; }
.sim-board .tm { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 800; color: var(--mute); }
.sim-board .side.a .tm { color: var(--red-2); }
.sim-board .side b { display: block; font-family: var(--head); font-weight: 400; font-size: 4rem; line-height: 1; }
.sim-board .vs { text-align: center; }
.sim-board .vs span { display: block; font-family: var(--head); font-size: 2rem; line-height: 1; color: var(--red-2); }
.sim-board .vs small { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); }
.sim-board .bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.25); } }
.sim-msg { min-height: 3.2em; color: #ddd; }
.bx-why { margin-top: 1.2rem; }
.as-pick { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1.2rem 0 1.4rem; }
.as-opt { position: relative; margin: 0; cursor: pointer; }
.as-opt input { position: absolute; opacity: 0; }
.as-opt span { display: block; height: 100%; padding: 1rem 1.1rem; border: 2px solid var(--line); border-radius: 14px; background: #0d0d10; transition: border-color .15s, background .15s; }
.as-opt b { display: block; font-family: var(--head); font-weight: 400; font-size: 1.5rem; letter-spacing: .03em; line-height: 1.1; }
.as-opt small { color: var(--mute); font-weight: 500; }
.as-opt:hover span { border-color: #555; }
.as-opt input:checked + span { border-color: var(--red); background: rgba(225,20,30,.1); }
.as-opt input:focus-visible + span { box-shadow: 0 0 0 3px rgba(225,20,30,.35); }
@media (max-width: 480px) { .as-pick { grid-template-columns: 1fr; } }
.season { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 10%, rgba(225,20,30,.35), transparent 50%), linear-gradient(135deg, #1a0406, #0b0b0d 65%); border: 1px solid #3a1216; border-radius: 22px; padding: clamp(1.4rem, 4vw, 2.2rem); }
.season-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1.2rem; }
.season-big b { display: block; font-family: var(--head); font-weight: 400; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: var(--red-2); }
.season-big span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--mute); }
