/* =====================================================================
   Thumb War Hockey - public theme
   Palette: navy #1f2d4d / deep #141a2b / red #b22234 / gold #c9a95c / cream #f5f1e8 / ice #a8cde6
   Type: Montserrat (headings), Barlow Condensed (scores, numbers), system (body)
   Mobile-first; every interactive target >= 44px.
   ===================================================================== */
:root {
    --preview-h: 32px;
    --navy: #1f2d4d; --navy-deep: #141a2b; --navy-soft: #2b3b63;
    --red: #b22234; --red-dark: #8e1a28;
    --gold: #c9a95c; --gold-light: #e2cf98;
    --cream: #f5f1e8; --cream-dark: #ebe4d3;
    --ice: #a8cde6; --ice-soft: #dbeaf5;
    --ink: #1a1f2b; --muted: #5d6474;
    --font-head: 'Montserrat', system-ui, sans-serif;
    --font-score: 'Barlow Condensed', 'Montserrat', sans-serif;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(20, 26, 43, .12);
    --nav-h: 76px;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { font-family: var(--font-head); font-weight: 800; letter-spacing: -.01em; color: var(--navy-deep); }
h1, .h1 { text-transform: uppercase; letter-spacing: .01em; }
a { color: var(--red); } a:hover { color: var(--red-dark); }
img { max-width: 100%; height: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 9999; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn { border-radius: 10px; font-weight: 700; padding: .7rem 1.35rem; min-height: 44px; }
.btn-sm { padding: .45rem .9rem; min-height: 38px; font-size: .85rem; }
.btn-lg { padding: .9rem 1.8rem; font-size: 1.05rem; }
.btn-cta { background: var(--red); border-color: var(--red); color: #fff; text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-head); font-size: .85rem; box-shadow: 0 6px 18px rgba(178, 34, 52, .35); }
.btn-cta:hover, .btn-cta:focus { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(178, 34, 52, .4); }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn-outline-light { border-width: 2px; }
.btn-outline-navy { border: 2px solid var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy-deep); }

/* ---------- Navbar ---------- */
.navbar-tw { background: var(--navy-deep); min-height: var(--nav-h); padding: .5rem 0; border-bottom: 3px solid var(--red); position: sticky; top: 0; z-index: 1040; transition: background .25s ease, box-shadow .25s ease; }
.navbar-tw .navbar-brand { display: flex; align-items: center; gap: .6rem; padding: 0; margin-right: .5rem; }
.brand-crest { height: 60px; width: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .45)); }
.brand-word { font-family: var(--font-head); color: #fff; line-height: 1; display: flex; flex-direction: column; gap: .18rem; }
.brand-word b { font-weight: 900; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; }
.brand-word span { font-size: .55rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
@media (max-width: 420px) { .navbar-tw .brand-word { display: none; } .brand-crest { height: 54px; } }
.offcanvas-tw .navbar-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.offcanvas-tw .brand-crest { height: 48px; }
.navbar-tw .nav-link { color: rgba(255, 255, 255, .85); font-family: var(--font-head); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; padding: .6rem .7rem !important; position: relative; }
.navbar-tw .nav-link:hover, .navbar-tw .nav-link.active { color: #fff; }
.navbar-tw .nav-link.active::after { content: ''; position: absolute; left: .7rem; right: .7rem; bottom: .25rem; height: 3px; background: var(--gold); border-radius: 2px; }
.navbar-tw .nav-portal { color: var(--gold-light); }
.navbar-tw .btn-cta { padding: .55rem 1.1rem; min-height: 40px; }
.navbar-hero { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(20, 26, 43, .85), rgba(20, 26, 43, 0)); border-bottom-color: transparent; }
.navbar-hero.scrolled { background: var(--navy-deep); border-bottom-color: var(--red); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.navbar-toggler { border: 0; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0 8px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler span { display: block; height: 3px; background: #fff; border-radius: 2px; }
.offcanvas-tw { background: var(--navy-deep); color: #fff; width: min(86vw, 360px); }
.offcanvas-tw .offcanvas-header { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mobile-nav li a { display: block; padding: .85rem .25rem; color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.mobile-nav li a:active { color: var(--gold); }
.mobile-nav li.divider { height: 10px; }
.mobile-nav-foot { margin-top: 1.5rem; display: flex; gap: 1rem; align-items: center; color: rgba(255, 255, 255, .55); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.mobile-nav-foot a { color: var(--gold); font-size: 1.3rem; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy-deep); overflow: hidden; padding: calc(var(--nav-h) + 3.5rem) 0 4rem; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background:
    radial-gradient(900px 500px at 15% 110%, rgba(168, 205, 230, .22), transparent 60%),
    radial-gradient(700px 400px at 90% -10%, rgba(178, 34, 52, .25), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 70%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image:
    linear-gradient(115deg, transparent 0 38%, rgba(168, 205, 230, .09) 38% 44%, transparent 44% 62%, rgba(168, 205, 230, .07) 62% 70%, transparent 70%),
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .35) 1px, transparent 1.5px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, .3) 1px, transparent 1.5px),
    radial-gradient(circle at 45% 80%, rgba(255, 255, 255, .25) 1px, transparent 1.5px),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .3) 1px, transparent 1.5px);
    background-size: 100% 100%, 220px 220px, 300px 300px, 260px 260px, 340px 340px; }
.hero-photo { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 26, 43, .75), rgba(20, 26, 43, .92)); }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 8vw, 5rem); line-height: .95; font-weight: 900; margin: .35rem 0 1rem; text-shadow: 0 4px 24px rgba(0, 0, 0, .35); }
.hero h1 .accent { color: var(--red); -webkit-text-stroke: 0; display: block; }
.hero .lead { font-size: clamp(1rem, 2.4vw, 1.25rem); color: rgba(255, 255, 255, .85); max-width: 640px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0; }
.chip { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; border-radius: 999px; padding: .45rem .9rem; font-size: .85rem; font-weight: 600; backdrop-filter: blur(4px); }
.chip i { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: repeating-linear-gradient(90deg, var(--red) 0 60px, var(--cream) 60px 76px); }
.hero-sm { padding: calc(var(--nav-h) + 1.5rem) 0 2.5rem; }
.hero-sm h1 { font-size: clamp(1.9rem, 6vw, 3.2rem); }
body:not(.has-hero-nav) .hero { padding-top: 3rem; }
body:not(.has-hero-nav) .hero-sm { padding-top: 2.25rem; }

/* ---------- Countdown ---------- */
.countdown { display: inline-grid; grid-auto-flow: column; gap: .5rem; margin-top: 1.25rem; }
.countdown > div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); border-radius: 12px; min-width: 66px; padding: .55rem .4rem; text-align: center; }
.countdown b { display: block; font-family: var(--font-score); font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 800; line-height: 1; color: #fff; }
.countdown small { display: block; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-top: .25rem; }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy-deep); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-ice { background: linear-gradient(180deg, #fff, var(--ice-soft)); }
.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin-bottom: .5rem; }
.section-navy .eyebrow { color: var(--gold); }
.section-title { font-size: clamp(1.7rem, 4.5vw, 2.6rem); text-transform: uppercase; margin-bottom: .5rem; }
.section-head { margin-bottom: 2rem; }
.section-head p { color: var(--muted); max-width: 620px; }
.section-navy .section-head p { color: rgba(255, 255, 255, .7); }
.rule-gold { width: 64px; height: 4px; background: var(--gold); border-radius: 2px; margin: .75rem 0 1rem; }

/* ---------- Cards ---------- */
.card-tw { border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.card-tw:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(20, 26, 43, .16); }
.card-tw .card-top { height: 6px; background: var(--red); }
.card-tw .card-body { padding: 1.5rem; }
.feature-card { text-align: center; padding: 2rem 1.5rem; height: 100%; }
.feature-card .icon { width: 64px; height: 64px; border-radius: 16px; background: var(--navy); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.1rem; text-transform: uppercase; }
.division-card { height: 100%; }
.division-card .div-name { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; color: var(--navy-deep); }
.division-card .div-meta { color: var(--muted); font-size: .9rem; }
.division-card .div-stat { font-family: var(--font-score); font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1; }
.division-card .div-stat small { font-family: var(--font-head); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: block; margin-top: .2rem; }
.badge-tw { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: .35em .7em; border-radius: 6px; }
.badge-open { background: #2e9e5b; color: #fff; }
.badge-full, .badge-closed { background: var(--muted); color: #fff; }
.badge-soon { background: var(--gold); color: var(--navy-deep); }
.badge-live { background: var(--red); color: #fff; animation: pulse 1.6s infinite; }
.badge-final { background: var(--navy-deep); color: #fff; }
.badge-ot { background: var(--gold); color: var(--navy-deep); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

/* ---------- Scoreboard / game cards ---------- */
.game-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 14px rgba(20, 26, 43, .08); padding: .9rem 1rem; display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; align-items: center; border-left: 5px solid var(--navy); }
.game-card.is-final { border-left-color: var(--navy-deep); }
.game-card.is-live { border-left-color: var(--red); }
.game-card .teams { display: grid; gap: .35rem; min-width: 0; }
.game-card .team { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.game-card .team .name { font-weight: 700; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-card .team.winner .name { color: var(--navy-deep); }
.game-card .team.loser .name { color: var(--muted); }
.game-card .team .score { font-family: var(--font-score); font-size: 1.7rem; font-weight: 800; line-height: 1; min-width: 32px; text-align: right; color: var(--navy-deep); }
.game-card .team.loser .score { color: var(--muted); }
.game-card .meta { text-align: right; font-size: .78rem; color: var(--muted); line-height: 1.35; }
.game-card .meta b { display: block; color: var(--navy-deep); font-size: .85rem; }
.day-head { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; color: var(--navy-deep); margin: 1.75rem 0 .75rem; padding-bottom: .4rem; border-bottom: 3px solid var(--gold); display: flex; justify-content: space-between; align-items: baseline; }
.day-head small { font-weight: 600; letter-spacing: .08em; color: var(--muted); font-size: .72rem; }
.rink-head { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); font-weight: 700; margin: .9rem 0 .5rem; }
.game-list { display: grid; gap: .6rem; }
@media (min-width: 768px) { .game-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .game-list { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Standings ---------- */
.table-standings { margin: 0; font-size: .92rem; }
.table-standings thead th { background: var(--navy-deep); color: #fff; font-family: var(--font-head); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; border: 0; padding: .65rem .5rem; white-space: nowrap; }
.table-standings td { padding: .65rem .5rem; vertical-align: middle; border-color: #eee; }
.table-standings td.num, .table-standings th.num { text-align: center; font-family: var(--font-score); font-size: 1.05rem; font-weight: 700; }
.table-standings td.pts { color: var(--red); font-size: 1.2rem; }
.table-standings .rank { font-family: var(--font-score); font-weight: 800; color: var(--muted); width: 2rem; text-align: center; }
.table-standings tr:nth-child(-n+2) .rank { color: var(--gold); }
.table-standings .team-cell { font-weight: 700; white-space: nowrap; }
.table-standings .team-cell small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.standings-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.standings-wrap .table-responsive { -webkit-overflow-scrolling: touch; }
@media (max-width: 575.98px) {
    .table-standings .team-cell { position: sticky; left: 0; background: #fff; z-index: 1; box-shadow: 4px 0 8px -6px rgba(0, 0, 0, .25); }
    .table-standings thead .team-cell { background: var(--navy-deep); }
}

/* ---------- Bracket ---------- */
.bracket { display: grid; gap: 1.25rem; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); overflow-x: auto; padding-bottom: .5rem; -webkit-overflow-scrolling: touch; }
.bracket-round h4 { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: .75rem; }
.bracket-round .game-card { margin-bottom: .75rem; }
.bracket-round.round-final .game-card { border-left-color: var(--gold); background: linear-gradient(135deg, #fff, #fbf6e8); }
.champion-banner { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: #fff; border-radius: var(--radius); padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1rem; border: 2px solid var(--gold); }
.champion-banner i { font-size: 2.2rem; color: var(--gold); }
.champion-banner .label { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.champion-banner .name { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; }

/* ---------- Division filter pills ---------- */
.pill-nav { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .4rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.pill-nav::-webkit-scrollbar { display: none; }
.pill-nav a { flex: 0 0 auto; border: 2px solid var(--navy); color: var(--navy); border-radius: 999px; padding: .5rem 1rem; font-family: var(--font-head); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.pill-nav a.active, .pill-nav a:hover { background: var(--navy); color: #fff; }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border-radius: var(--radius); padding: 2rem 1.75rem 1.5rem; box-shadow: var(--shadow); position: relative; height: 100%; }
.quote-card::before { content: '\201C'; position: absolute; top: -.2rem; left: 1.25rem; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--gold); opacity: .8; }
.quote-card p { font-size: 1.02rem; margin: .5rem 0 1rem; }
.quote-card .who { font-family: var(--font-head); font-weight: 800; font-size: .85rem; text-transform: uppercase; color: var(--navy-deep); }
.quote-card .who small { display: block; color: var(--muted); font-weight: 600; text-transform: none; letter-spacing: 0; }
.quote-card .stars { color: var(--gold); font-size: .85rem; margin-bottom: .25rem; }

/* ---------- Sponsors ---------- */
.sponsor-band { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1.25rem; align-items: center; }
.sponsor-logo { display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 12px; padding: .9rem 1.25rem; min-height: 72px; min-width: 150px; text-decoration: none; color: var(--navy-deep); font-family: var(--font-head); font-weight: 800; font-size: .95rem; text-align: center; box-shadow: 0 3px 10px rgba(20, 26, 43, .08); filter: grayscale(1); opacity: .85; transition: all .2s; }
.sponsor-logo:hover { filter: none; opacity: 1; transform: translateY(-2px); }
.sponsor-logo img { max-height: 48px; width: auto; }
.sponsor-tier { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; text-align: center; margin: 1.5rem 0 .75rem; }
.sponsor-tier-title .sponsor-logo { min-height: 110px; min-width: 240px; font-size: 1.2rem; }
.sponsor-tier-title .sponsor-logo img { max-height: 80px; }

/* ---------- Photos ---------- */
.photo-mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
@media (min-width: 768px) { .photo-mosaic { grid-template-columns: repeat(4, 1fr); } .photo-mosaic .tall { grid-row: span 2; } }
.photo-mosaic a, .photo-mosaic .ph { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--navy) linear-gradient(135deg, var(--navy), var(--navy-deep)); position: relative; }
.photo-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.photo-mosaic a:hover img { transform: scale(1.04); }
.photo-mosaic .ph i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .25); font-size: 2rem; }
.album-card .cover { aspect-ratio: 4/3; background: var(--navy-deep); position: relative; }
.album-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.album-card .cover .count { position: absolute; right: .6rem; bottom: .6rem; background: rgba(20, 26, 43, .8); color: #fff; font-size: .72rem; border-radius: 6px; padding: .25rem .5rem; }

/* ---------- News ---------- */
.post-card .cover { aspect-ratio: 16/9; background: var(--navy-deep); }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .cat { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.post-card h3 { font-size: 1.15rem; margin: .35rem 0; }
.post-card h3 a { color: var(--navy-deep); text-decoration: none; }
.post-card h3 a:hover { color: var(--red); }
.post-card .date { color: var(--muted); font-size: .82rem; }
.post-body { font-size: 1.08rem; line-height: 1.75; }
.post-body img { border-radius: 12px; margin: 1rem 0; }
.post-body h2, .post-body h3 { margin-top: 1.75rem; }

/* ---------- Forms ---------- */
.form-control, .form-select { min-height: 48px; border-radius: 10px; border: 1.5px solid #cfd4de; padding: .6rem .9rem; font-size: 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--navy); box-shadow: 0 0 0 .2rem rgba(31, 45, 77, .15); }
.form-label { font-weight: 700; font-size: .85rem; color: var(--navy-deep); }
.form-check-input { width: 1.3em; height: 1.3em; margin-top: .15em; }
.form-check-input:checked { background-color: var(--red); border-color: var(--red); }
.form-panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.75rem; }
@media (min-width: 768px) { .form-panel { padding: 2.25rem; } }
.steps { display: flex; gap: .5rem; margin-bottom: 1.5rem; counter-reset: step; }
.steps span { flex: 1; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .55rem; border-top: 4px solid #dfe3ea; }
.steps span.active { color: var(--navy-deep); border-top-color: var(--red); }
.steps span.done { color: #2e9e5b; border-top-color: #2e9e5b; }
.roster-row { display: grid; grid-template-columns: 1fr 70px 80px auto; gap: .5rem; align-items: center; margin-bottom: .5rem; }
.roster-row .btn { min-height: 48px; }
@media (max-width: 575.98px) { .roster-row { grid-template-columns: 1fr 64px; } .roster-row .pos, .roster-row .rm { grid-column: span 1; } }

/* ---------- Portal ---------- */
.portal-shell { background: var(--cream); min-height: 60vh; padding: 2rem 0 3rem; }
.portal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.team-tile { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; height: 100%; border-top: 5px solid var(--navy); }

/* ---------- FAQ ---------- */
.accordion-tw .accordion-button { font-weight: 700; color: var(--navy-deep); background: #fff; min-height: 56px; }
.accordion-tw .accordion-button:not(.collapsed) { background: var(--cream); color: var(--red); box-shadow: none; }
.accordion-tw .accordion-item { border: 0; border-bottom: 1px solid #e6e2d8; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .78); padding: 0 0 2rem; margin-top: 0; }
.footer-stripe { height: 10px; background: repeating-linear-gradient(90deg, var(--red) 0 60px, var(--cream) 60px 76px); margin-bottom: 3rem; }
.footer-logo { height: 125px; width: auto; margin-bottom: 1rem; }
.footer-blurb { font-size: .95rem; max-width: 380px; }
.footer h5 { color: var(--gold); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; margin-bottom: 1rem; }
.footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer ul li { margin-bottom: .55rem; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 44px; height: 44px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.footer-social a:hover { background: var(--red); color: #fff; }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; }
.footer-contact i { color: var(--gold); margin-top: .35rem; width: 16px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .82rem; color: rgba(255, 255, 255, .55); }
.footer-bottom a { color: var(--gold); }

/* ---------- Toasts / sticky CTA / misc ---------- */
.twp-toast-wrap { position: fixed; top: calc(var(--nav-h) + 8px); right: 12px; left: 12px; z-index: 200000; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
@media (min-width: 576px) { .twp-toast-wrap { left: auto; width: 380px; } }
.twp-toast { pointer-events: auto; background: var(--navy-deep); color: #fff; padding: 12px 16px; border-radius: 10px; box-shadow: 0 8px 30px rgba(0, 0, 0, .3); display: flex; gap: 10px; align-items: center; border-left: 5px solid var(--gold); opacity: 0; transform: translateY(-10px); transition: all .25s; }
.twp-toast.show { opacity: 1; transform: none; }
.twp-toast-success { border-left-color: #2e9e5b; } .twp-toast-error { border-left-color: var(--red); } .twp-toast-warning { border-left-color: #e0a526; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; background: var(--navy-deep); border-top: 2px solid var(--red); padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: .75rem; color: #fff; transform: translateY(110%); transition: transform .3s; }
.sticky-cta.show { transform: none; }
.sticky-cta .t { font-size: .78rem; line-height: 1.2; }
.sticky-cta .t b { display: block; font-family: var(--font-head); text-transform: uppercase; font-size: .8rem; }
@media (min-width: 992px) { .sticky-cta { display: none; } }
/* Reveal is additive: content is always visible; .in just plays a short entrance animation */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal.in { animation: fadeUp .5s ease both; }
@media (prefers-reduced-motion: reduce) { .reveal.in { animation: none; } .badge-live { animation: none; } html { scroll-behavior: auto; } }
.stat-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat-strip div { text-align: center; }
.stat-strip b { display: block; font-family: var(--font-score); font-size: 2.6rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-strip span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.breadcrumb-tw { font-size: .8rem; color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.breadcrumb-tw a { color: var(--gold); text-decoration: none; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty-state i { font-size: 2.5rem; color: var(--ice); margin-bottom: .75rem; display: block; }
.map-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.venue-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
.venue-card h3 { font-size: 1.05rem; text-transform: uppercase; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid #eee; }
.info-list li:last-child { border: 0; }
.info-list i { color: var(--red); margin-top: .3rem; width: 18px; text-align: center; }
.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--navy) !important; }
.bg-navy { background: var(--navy) !important; }

/* registration module */
.pick-grid { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .pick-grid { grid-template-columns: repeat(2, 1fr); } }
.pick-card { position: relative; display: block; margin: 0; cursor: pointer; }
.pick-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick-card .pick-body { border: 2px solid #dfe3ea; border-radius: 12px; padding: .9rem 7.5rem .9rem 2.6rem; background: #fff; min-height: 64px; transition: border-color .15s, box-shadow .15s; }
.pick-card .pick-body::before { content: ''; position: absolute; left: 1rem; top: 1.05rem; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b9c0cc; background: #fff; }
.pick-card input:checked + .pick-body { border-color: var(--navy); box-shadow: 0 0 0 .2rem rgba(31, 45, 77, .12); }
.pick-card input:checked + .pick-body::before { border-color: var(--red); background: radial-gradient(var(--red) 0 45%, #fff 50%); }
.pick-card input:focus-visible + .pick-body { outline: 3px solid var(--ice); outline-offset: 2px; }
.pick-card .pick-title { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; color: var(--navy-deep); font-size: .98rem; line-height: 1.2; }
.pick-card .pick-meta { color: var(--muted); font-size: .85rem; margin-top: .15rem; }
.pick-card .pick-right { position: absolute; right: .9rem; top: .9rem; text-align: right; }
.pick-card .pick-fee { font-family: var(--font-score); font-weight: 800; font-size: 1.3rem; color: var(--navy); line-height: 1; }
.pick-card .pick-spots { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: block; margin-top: .2rem; }
.pick-card.is-full .pick-body { background: #f8f8f6; }
@media (max-width: 575.98px) {
    .pick-card .pick-body { padding-right: 1rem; }
    .pick-card .pick-right { position: static; text-align: left; display: flex; align-items: baseline; gap: .6rem; margin-top: .45rem; }
    .pick-card .pick-spots { margin-top: 0; }
}
.reg-step { display: none; } .reg-step.active { display: block; }
.reg-nav { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.reg-nav .btn { flex: 1 1 140px; }
.reg-errors { background: #fdeef0; border-left: 5px solid var(--red); border-radius: 10px; padding: .85rem 1rem; margin-bottom: 1rem; color: #7a1522; font-size: .92rem; }
.reg-errors ul { margin: 0; padding-left: 1.1rem; }
.roster-head { display: none; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.roster-rows .roster-row { grid-template-columns: minmax(0, 1.4fr) 68px 84px minmax(0, 1fr) 48px 48px; }
.roster-rows .roster-row .form-control, .roster-rows .roster-row .form-select { padding-left: .6rem; padding-right: .6rem; }
.roster-rows .roster-row .cap { display: flex; align-items: center; justify-content: center; min-height: 48px; }
.roster-rows .roster-row .cap input { width: 1.4em; height: 1.4em; margin: 0; }
.roster-rows .roster-row .rm { min-width: 48px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
@media (min-width: 768px) { .roster-head { display: grid; grid-template-columns: minmax(0, 1.4fr) 68px 84px minmax(0, 1fr) 48px 48px; gap: .5rem; margin-bottom: .35rem; padding: 0 .25rem; } .roster-head span:nth-child(5) { text-align: center; } }
@media (max-width: 767.98px) {
    .roster-rows .roster-row { grid-template-columns: minmax(0, 1fr) 64px 48px; grid-template-areas: "name num rm" "pos usa cap"; border-bottom: 1px solid #e6e8ee; padding-bottom: .6rem; margin-bottom: .6rem; }
    .roster-rows .roster-row .name { grid-area: name; } .roster-rows .roster-row .num { grid-area: num; } .roster-rows .roster-row .rm { grid-area: rm; }
    .roster-rows .roster-row .pos { grid-area: pos; } .roster-rows .roster-row .usa { grid-area: usa; } .roster-rows .roster-row .cap { grid-area: cap; }
    .roster-rows .roster-row .cap::after { content: 'C'; font-weight: 800; font-size: .75rem; color: var(--muted); margin-left: .25rem; }
}
.review-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .review-grid { grid-template-columns: 1fr 1fr; } }
.review-box { background: var(--cream); border-radius: 12px; padding: 1rem 1.15rem; }
.review-box h4 { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: .5rem; }
.review-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .25rem .75rem; font-size: .92rem; }
.review-box dt { color: var(--muted); font-weight: 600; } .review-box dd { margin: 0; word-break: break-word; }
.payment-note { background: #fff8e6; border: 1px solid #f0dca3; border-radius: 12px; padding: 1rem 1.15rem; font-size: .92rem; }
.confirm-panel { text-align: center; padding: 1.5rem .5rem; }
.confirm-panel .ok-icon { width: 72px; height: 72px; border-radius: 50%; background: #2e9e5b; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1rem; }
.confirm-panel.is-waitlist .ok-icon { background: var(--gold); color: var(--navy-deep); }
.team-tile .tile-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; flex-wrap: wrap; }
.team-tile h3 { font-size: 1.15rem; text-transform: uppercase; margin: 0; }
.team-tile .tile-meta { color: var(--muted); font-size: .9rem; }
.team-tile .tile-badges { display: flex; gap: .35rem; flex-wrap: wrap; margin: .6rem 0; }
.badge-pending { background: #e0a526; color: var(--navy-deep); } .badge-approved, .badge-paid { background: #2e9e5b; color: #fff; }
.badge-waitlisted, .badge-deposit { background: #0d6efd; color: #fff; } .badge-withdrawn, .badge-refunded { background: var(--muted); color: #fff; } .badge-unpaid { background: var(--red); color: #fff; }
.portal-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem 1.35rem; }
.portal-card h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .9rem; }
.portal-notice { background: #fff8e6; border-left: 5px solid var(--gold); border-radius: 10px; padding: .85rem 1rem; margin-bottom: 1.25rem; font-size: .92rem; }
.auth-panel { max-width: 460px; margin: 0 auto; }
.auth-panel .form-label { font-weight: 600; font-size: .9rem; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .9rem; margin-top: 1rem; }
.pw-wrap { position: relative; } .pw-wrap .form-control { padding-right: 52px; }
.pw-wrap .pw-toggle { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 44px; border: 0; background: transparent; color: var(--muted); border-radius: 8px; }

/* schedule module */
.tab-bar { position: sticky; top: var(--nav-h); z-index: 1030; background: #fff; border-bottom: 1px solid #e6e2d8; box-shadow: 0 6px 16px -10px rgba(20, 26, 43, .25); }
.tab-bar .pill-nav { padding-bottom: .5rem; padding-top: .5rem; }
.tab-bar .pill-nav a { border-color: transparent; color: var(--navy); background: var(--cream); min-height: 40px; }
.tab-bar .pill-nav a.active, .tab-bar .pill-nav a:hover { background: var(--navy); color: #fff; }
.schedule-filters .form-select { min-height: 48px; }
.hero-sm .hero-actions .btn { min-height: 44px; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 64px); }
.day-head[id] { scroll-margin-top: calc(var(--nav-h) + 20px); }

/* gallery module */
.album-card { color: inherit; }
.album-card .cover .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .25); font-size: 2.4rem; background: linear-gradient(135deg, var(--navy), var(--navy-deep)); }
.album-card h3 { color: var(--navy-deep); }
.album-card .album-link { font-family: var(--font-head); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.album-mosaic .glightbox { min-height: 44px; }
.album-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; align-items: center; }
.album-nav > a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; }
.album-nav > a:last-child { justify-self: end; }
.album-nav > a .text-truncate { max-width: 160px; }
@media (max-width: 575.98px) { .album-nav { grid-template-columns: 1fr 1fr; } .album-nav > a.btn-navy { grid-column: 1 / -1; order: 3; } .album-nav > a .text-truncate { max-width: 110px; } .album-nav > span { display: none; } }
.pagination-tw .page-link { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--navy); border-color: #cfd4de; font-weight: 700; }
.pagination-tw .page-item.active .page-link { background: var(--navy); border-color: var(--navy); color: #fff; }
.post-title { max-width: 900px; }
.post-featured { margin: 0; }
.post-featured img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.post-excerpt { color: var(--muted); font-size: 1.15rem; }
.post-body img { max-width: 100%; height: auto; }
.post-body iframe { max-width: 100%; }
.post-body table { width: 100%; }
.post-body blockquote { border-left: 4px solid var(--gold); padding-left: 1rem; color: var(--muted); }
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; border-top: 1px solid #e6e8ee; padding-top: 1.25rem; }
.share-label { font-family: var(--font-head); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--navy-deep); }
.share-btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.share-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 2px solid var(--navy); background: #fff; color: var(--navy); font-weight: 700; font-size: .85rem; text-decoration: none; cursor: pointer; transition: all .15s; }
.share-btn:hover { background: var(--navy); color: #fff; }
.share-btn.share-fb { border-color: #1877f2; color: #1877f2; } .share-btn.share-fb:hover { background: #1877f2; color: #fff; }
.share-btn.share-x { border-color: #111; color: #111; } .share-btn.share-x:hover { background: #111; color: #fff; }
.portal-shell .btn-sm, .form-panel .btn-sm { min-height: 44px; padding-top: .55rem; padding-bottom: .55rem; }
.sticky-cta .btn-sm { min-height: 44px; }

/* ---------- Preview mode ---------- */
.preview-bar { background: var(--gold); color: var(--navy-deep); font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; min-height: var(--preview-h); display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .35rem 1rem; text-align: center; position: relative; z-index: 1041; }
.preview-bar span { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .78rem; }
body.has-preview .navbar-hero { top: var(--preview-h); }
body.has-preview .hero { padding-top: calc(var(--nav-h) + var(--preview-h) + 3.5rem); }
body.has-preview .hero-sm { padding-top: calc(var(--nav-h) + var(--preview-h) + 1.5rem); }
body.has-preview:not(.has-hero-nav) .hero { padding-top: 3rem; }
body.has-preview:not(.has-hero-nav) .hero-sm { padding-top: 2.25rem; }
.fee-asterisk { color: var(--red); font-size: .6em; margin-left: .05em; vertical-align: super; line-height: 0; }
.fee-note { font-size: .78rem; color: var(--muted); margin: .75rem 0 0; }
.section-navy .fee-note { color: rgba(255,255,255,.65); }
.footer-preview { margin-top: 2rem; padding: .75rem 1rem; border: 1px dashed rgba(201,169,92,.5); border-radius: 10px; font-size: .8rem; color: rgba(255,255,255,.75); }
.footer-preview .fee-note { display: inline; color: inherit; margin: 0; }
@media (max-width: 575.98px) { .preview-bar { font-size: .68rem; } .preview-bar span { font-size: .72rem; } }
