/* Rulebook page — unique styling */

/* Fixed header compensation */
main { padding-top: 76px; }

/* Shared headings */
.sec-title { font-family: "Orbitron", sans-serif; font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0 0 6px; }
.sec-sub   { color: var(--muted); max-width: 70ch; }
.kicker    { color: var(--brand); letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; text-shadow: 0 0 10px rgba(94,247,255,.5); }

/* =============== Section 1: Charter =============== */
.rb-head { max-width: 1240px; margin: 0 auto 14px; padding: 0 4px; }
.charter-grid {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px;
}
.charter-card {
  padding: 14px; border-radius: 18px; border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03), rgba(255,255,255,.03) 6px, transparent 6px, transparent 12px);
  box-shadow: var(--shadow); transition: transform 260ms ease, box-shadow 260ms ease, filter 260ms ease;
}
.charter-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); filter: saturate(1.06); }
.charter-media img { border-radius: 12px; }
.charter-title { margin: 10px 0 6px; font-weight: 800; }
.charter-copy  { color: var(--muted); }

.charter-points {
  max-width: 1240px; margin: 12px auto 0; list-style: disc; padding-left: 26px; color: var(--muted);
}

.charter-ambient {
  position: relative; max-width: 1240px; margin: 12px auto 0; height: 8px; border-radius: 999px;
  background: radial-gradient(60% 80% at 50% 50%, rgba(94,247,255,.22), transparent 70%); filter: blur(8px);
}

@media (max-width: 980px){ .charter-grid { grid-template-columns: 1fr; } }

/* =============== Section 2: Eligibility & Rosters =============== */
.el-grid {
  max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; align-items: start;
}
.el-card {
  padding: 14px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  box-shadow: var(--shadow); transition: transform 260ms ease, box-shadow 260ms ease;
}
.el-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); }
.el-title { margin: 2px 0 6px; font-weight: 800; }
.el-list  { margin: 0; padding-left: 18px; color: var(--muted); }

.el-media { display: grid; gap: 18px; }
.el-tile {
  padding: 12px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  box-shadow: var(--shadow); transition: transform 260ms ease, box-shadow 260ms ease;
}
.el-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); }
.el-tile img { border-radius: 12px; }

.el-ambient {
  position: relative; max-width: 1240px; margin: 12px auto 0; height: 8px; border-radius: 999px;
  background: radial-gradient(60% 80% at 50% 50%, rgba(168,255,96,.25), transparent 70%); filter: blur(8px);
}

@media (max-width: 1100px){ .el-grid { grid-template-columns: 1fr; } }

/* =============== Section 3: Devices & Integrity =============== */
.dv-grid {
  max-width: 1240px; margin: 0 auto; display: grid;
  grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start;
}
.policy-chips {
  display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0,1fr));
}
.chip {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  padding: 10px 12px; text-align: center; font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.chip:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.chip.do[aria-pressed="true"] {
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #0a0b10;
}
.chip.dont[aria-pressed="true"] {
  background: linear-gradient(90deg, #ff7a7a, #ff4d4d); color: #0a0b10;
}

.dv-list {
  list-style: disc; padding-left: 20px; color: var(--muted);
  grid-column: 1 / 2;
}

.dv-media { display: grid; gap: 18px; }
.dv-tile {
  padding: 12px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  box-shadow: var(--shadow); transition: transform 260ms ease, box-shadow 260ms ease;
}
.dv-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); }
.dv-tile img { border-radius: 12px; }

.dv-ambient {
  position: relative; max-width: 1240px; margin: 12px auto 0; height: 8px; border-radius: 999px;
  background: radial-gradient(60% 80% at 50% 50%, rgba(255,77,248,.25), transparent 70%); filter: blur(8px);
}

@media (max-width: 1020px){
  .dv-grid { grid-template-columns: 1fr; }
  .dv-list { grid-column: 1 / -1; }
}

/* Safety cap for all images on the page */
.charter img, .eligibility img, .devices img { max-width: 350px; }

/* Reveal-on-scroll base (in case global not loaded early) */
.reveal-on-scroll { opacity: 0; transform: translateY(18px) scale(.98); transition: opacity 600ms ease, transform 600ms ease; }
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0) scale(1); }
/* =========================
   Section 4 — Format & Scheduling
   ========================= */
.fm-wrap {
  max-width: 1240px; margin: 0 auto; display: grid;
  grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start;
}
.fm-steps { display: grid; gap: 12px; }
.step-slab {
  padding: 14px; border-radius: 18px; border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03), rgba(255,255,255,.03) 6px, transparent 6px, transparent 12px);
  box-shadow: var(--shadow);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}
.step-slab:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); }
.step-slab.is-hot { border-color: rgba(168,255,96,.45); box-shadow: 0 0 0 1px rgba(168,255,96,.25) inset; }
.step-points { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }

.fm-media { display: grid; gap: 18px; }
.fm-tile {
  padding: 12px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  box-shadow: var(--shadow); transition: transform 260ms ease, box-shadow 260ms ease;
}
.fm-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); }
.fm-tile img { border-radius: 12px; }

.fm-ambient {
  position: relative; max-width: 1240px; margin: 12px auto 0; height: 8px; border-radius: 999px;
  background: radial-gradient(60% 80% at 50% 50%, rgba(94,247,255,.22), transparent 70%); filter: blur(8px);
}

@media (max-width: 1020px){ .fm-wrap { grid-template-columns: 1fr; } }

/* =========================
   Section 5 — Maps & Modes
   ========================= */
.pl-grid {
  max-width: 1240px; margin: 0 auto; display: grid;
  grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start;
}
.mode-panel { display: grid; gap: 12px; }
.mode-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.mode-chip {
  padding: 10px 12px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; font-weight: 700;
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.mode-chip:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.mode-chip.is-active, .mode-chip[aria-pressed="true"] {
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #0a0b10;
}

.mode-preview { position: relative; border: 1px solid var(--line); border-radius: 18px; padding: 14px; box-shadow: var(--shadow);
  background: linear-gradient(135deg, rgba(94,247,255,.05), rgba(255,77,248,.05)); min-height: 170px; }
.pv { display: none; }
.pv.is-shown { display: block; }
.pv h3 { margin: 2px 0 6px; font-weight: 800; }
.pv-points { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }

.pl-media { display: grid; gap: 18px; }
.pl-tile {
  padding: 12px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  box-shadow: var(--shadow); transition: transform 260ms ease, box-shadow 260ms ease;
}
.pl-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); }
.pl-tile img { border-radius: 12px; }

.pl-ambient {
  position: relative; max-width: 1240px; margin: 12px auto 0; height: 8px; border-radius: 999px;
  background: radial-gradient(60% 80% at 50% 50%, rgba(168,255,96,.25), transparent 70%); filter: blur(8px);
}

@media (max-width: 1020px){ .pl-grid { grid-template-columns: 1fr; } }

/* =========================
   Section 6 — Timeouts & Reviews
   ========================= */
.to-grid {
  max-width: 1240px; margin: 0 auto; display: grid;
  grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start;
}
.to-deck { display: grid; gap: 12px; }
.to-card {
  padding: 14px; border-radius: 18px; border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03), rgba(255,255,255,.03) 6px, transparent 6px, transparent 12px);
  box-shadow: var(--shadow); transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}
.to-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); }
.to-head { display: flex; justify-content: space-between; align-items: baseline; }
.to-badge { font-family: "Orbitron", sans-serif; font-weight: 700; color: var(--accent); }
.to-copy { color: var(--muted); margin-top: 4px; }

/* progress bars */
.to-bar { position: relative; height: 10px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; margin-top: 8px; }
.to-bar span {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); opacity: .8;
  transition: width 900ms ease;
}
.to-bar.freeze span {
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.25), rgba(255,255,255,.25) 6px, transparent 6px, transparent 12px);
  animation: pulse-freeze 1.2s ease-in-out infinite;
}
@keyframes pulse-freeze { 0%{opacity:.4} 50%{opacity:.9} 100%{opacity:.4} }

.to-media { display: grid; gap: 18px; }
.to-tile {
  padding: 12px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  box-shadow: var(--shadow); transition: transform 260ms ease, box-shadow 260ms ease;
}
.to-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); }
.to-tile img { border-radius: 12px; }

.to-ambient {
  position: relative; max-width: 1240px; margin: 12px auto 0; height: 8px; border-radius: 999px;
  background: radial-gradient(60% 80% at 50% 50%, rgba(255,77,248,.25), transparent 70%); filter: blur(8px);
}

@media (max-width: 1020px){ .to-grid { grid-template-columns: 1fr; } }

/* safety cap for images in these sections */
.format img, .playlist img, .timeouts img { max-width: 350px; }
/* =========================
   Section 7 — Sanctions & Appeals
   ========================= */
.sn-grid {
  max-width: 1240px; margin: 0 auto; display: grid;
  grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start;
}
.sn-ladder {
  border: 1px solid var(--line); border-radius: 18px; padding: 14px;
  background: linear-gradient(135deg, rgba(94,247,255,.05), rgba(255,77,248,.05)); box-shadow: var(--shadow);
  display: grid; gap: 10px;
}
.ladder-step {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer;
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.ladder-step:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.ladder-step .lvl {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  font-family: "Orbitron", sans-serif; font-weight: 700; color: #0a0b10;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.ladder-step em { color: var(--muted); font-style: normal; }
.ladder-step.is-active, .ladder-step[aria-pressed="true"] {
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #0a0b10;
}
.ladder-detail { margin-top: 4px; color: var(--muted); min-height: 2.2em; }
.appeal-notes { margin-top: 8px; }
.sn-title { margin: 4px 0 6px; font-weight: 800; }
.sn-list { margin: 0; padding-left: 18px; color: var(--muted); }

.sn-media { display: grid; gap: 18px; }
.sn-tile {
  padding: 12px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  box-shadow: var(--shadow); transition: transform 260ms ease, box-shadow 260ms ease;
}
.sn-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); }
.sn-tile img { border-radius: 12px; }

.sn-ambient {
  position: relative; max-width: 1240px; margin: 12px auto 0; height: 8px; border-radius: 999px;
  background: radial-gradient(60% 80% at 50% 50%, rgba(94,247,255,.22), transparent 70%); filter: blur(8px);
}

@media (max-width: 1020px){ .sn-grid { grid-template-columns: 1fr; } }

/* =========================
   Section 8 — Code of Conduct
   ========================= */
.cd-grid {
  max-width: 1240px; margin: 0 auto; display: grid;
  grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start;
}
.cd-card {
  padding: 14px; border-radius: 18px; border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03), rgba(255,255,255,.03) 6px, transparent 6px, transparent 12px);
  box-shadow: var(--shadow); transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, filter 260ms ease;
  cursor: pointer;
}
.cd-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); }
.cd-card.is-pin { border-color: rgba(168,255,96,.45); box-shadow: 0 0 0 1px rgba(168,255,96,.25) inset; filter: saturate(1.05); }
.cd-title { margin: 2px 0 6px; font-weight: 800; }
.cd-list  { margin: 0; padding-left: 18px; color: var(--muted); }

.cd-media { display: grid; gap: 18px; }
.cd-tile {
  padding: 12px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  box-shadow: var(--shadow); transition: transform 260ms ease, box-shadow 260ms ease;
}
.cd-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); }
.cd-tile img { border-radius: 12px; }

.cd-ambient {
  position: relative; max-width: 1240px; margin: 12px auto 0; height: 8px; border-radius: 999px;
  background: radial-gradient(60% 80% at 50% 50%, rgba(168,255,96,.25), transparent 70%); filter: blur(8px);
}

@media (max-width: 1020px){ .cd-grid { grid-template-columns: 1fr; } }

/* =========================
   Section 9 — Streaming & Media
   ========================= */
.md-grid {
  max-width: 1240px; margin: 0 auto; display: grid;
  grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start;
}
.md-panel { display: grid; gap: 12px; }
.md-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.md-chip {
  padding: 10px 12px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; font-weight: 700;
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.md-chip:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.md-chip.is-active, .md-chip[aria-selected="true"] {
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #0a0b10;
}

.md-preview { border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: linear-gradient(135deg, rgba(94,247,255,.05), rgba(255,77,248,.05)); box-shadow: var(--shadow); }
.md-view { display: none; }
.md-view.is-shown { display: block; }
.md-points { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }

.md-actions { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.md-status { color: var(--accent); min-height: 1em; }

.md-media { display: grid; gap: 18px; }
.md-tile {
  padding: 12px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  box-shadow: var(--shadow); transition: transform 260ms ease, box-shadow 260ms ease;
}
.md-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); }
.md-tile img { border-radius: 12px; }

.md-ambient {
  position: relative; max-width: 1240px; margin: 12px auto 0; height: 8px; border-radius: 999px;
  background: radial-gradient(60% 80% at 50% 50%, rgba(255,77,248,.25), transparent 70%); filter: blur(8px);
}

@media (max-width: 1020px){ .md-grid { grid-template-columns: 1fr; } }

/* safety cap */
.sanctions img, .conduct img, .media img { max-width: 350px; }
/* =========================
   Section 10 — Officiating Protocol
   ========================= */
.of-grid {
  max-width: 1240px; margin: 0 auto; display: grid;
  grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start;
}
.signal-panel { display: grid; gap: 12px; }
.signal-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.sig-chip {
  padding: 10px 12px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; font-weight: 700;
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.sig-chip:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.sig-chip.is-active, .sig-chip[aria-pressed="true"] {
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #0a0b10;
}
.signal-status { color: var(--accent); min-height: 1.4em; }
.signal-notes { margin: 0; padding-left: 18px; color: var(--muted); list-style: disc; }

.of-media { display: grid; gap: 18px; }
.of-tile {
  padding: 12px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  box-shadow: var(--shadow); transition: transform 260ms ease, box-shadow 260ms ease;
}
.of-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); }
.of-tile img { border-radius: 12px; }

.of-ambient {
  position: relative; max-width: 1240px; margin: 12px auto 0; height: 8px; border-radius: 999px;
  background: radial-gradient(60% 80% at 50% 50%, rgba(94,247,255,.22), transparent 70%); filter: blur(8px);
}

@media (max-width: 1020px){ .of-grid { grid-template-columns: 1fr; } }

/* =========================
   Section 11 — Dispute Casebook
   ========================= */
.cbk-wrap { position: relative; max-width: 1240px; margin: 0 auto 10px; }
.cbk-lane {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 56px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  background: linear-gradient(135deg, rgba(94,247,255,.04), rgba(255,77,248,.04));
}
.cbk-lane::-webkit-scrollbar{ display:none; }
.casecard {
  scroll-snap-align: start; flex: 0 0 72%; border: 1px solid var(--line); border-radius: 18px; padding: 14px;
  background:
    linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03), rgba(255,255,255,.03) 6px, transparent 6px, transparent 12px);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}
.casecard:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); }
.casecard.is-hot { border-color: rgba(168,255,96,.45); box-shadow: 0 0 0 1px rgba(168,255,96,.25) inset; }
.cc-title { margin: 2px 0 6px; font-weight: 800; }
.cc-copy  { color: var(--muted); }

.cbk-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink); cursor: pointer; z-index: 2;
  transition: transform 180ms ease, background 180ms ease;
}
.cbk-arrow:hover { transform: translateY(-50%) scale(1.05); background: rgba(255,255,255,.06); }
.cbk-prev { left: 8px; } .cbk-next { right: 8px; }

.cbk-detail {
  max-width: 1240px; margin: 0 auto 8px; color: var(--muted); padding: 0 4px;
}

.cbk-media {
  max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px;
}
.cbk-tile {
  padding: 12px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  box-shadow: var(--shadow); transition: transform 260ms ease, box-shadow 260ms ease;
}
.cbk-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); }
.cbk-tile img { border-radius: 12px; }

.cbk-ambient {
  position: relative; max-width: 1240px; margin: 12px auto 0; height: 8px; border-radius: 999px;
  background: radial-gradient(60% 80% at 50% 50%, rgba(168,255,96,.25), transparent 70%); filter: blur(8px);
}

@media (max-width: 1100px){
  .cbk-media { grid-template-columns: 1fr; }
}

/* =========================
   Section 12 — Punctuality & No-Show
   ========================= */
.td-grid {
  max-width: 1240px; margin: 0 auto; display: grid;
  grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start;
}
.clockboard { display: grid; gap: 12px; }
.penalty-clock {
  --pct: 0%;
  width: 220px; height: 220px; border-radius: 50%;
  background:
    conic-gradient(var(--brand) 0 var(--pct), rgba(255,255,255,.08) var(--pct) 360deg);
  display: grid; place-items: center; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: background 600ms ease;
}
.pc-core {
  width: 160px; height: 160px; border-radius: 50%; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  display: grid; place-items: center; text-align: center; padding: 10px;
}
.pc-label { font-family: "Orbitron", sans-serif; font-weight: 800; font-size: 1.2rem; }
.pc-note  { color: var(--muted); }

.td-ladder { margin: 0; padding-left: 18px; color: var(--muted); list-style: disc; }

.td-media { display: grid; gap: 18px; }
.td-tile {
  padding: 12px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  box-shadow: var(--shadow); transition: transform 260ms ease, box-shadow 260ms ease;
}
.td-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); }
.td-tile img { border-radius: 12px; }

.td-ambient {
  position: relative; max-width: 1240px; margin: 12px auto 0; height: 8px; border-radius: 999px;
  background: radial-gradient(60% 80% at 50% 50%, rgba(255,77,248,.25), transparent 70%); filter: blur(8px);
}

@media (max-width: 1020px){ .td-grid { grid-template-columns: 1fr; } }

/* safety cap */
.officiating img, .casebook img, .tardy img { max-width: 350px; }
/* =========================
   Section 13 — Match Flow & Reporting
   ========================= */
.mf-grid {
  max-width: 1240px; margin: 0 auto; display: grid;
  grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start;
}
.mf-panel { display: grid; gap: 12px; }
.mf-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px;
}
.mf-step {
  position: relative; padding: 12px; border-radius: 14px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  box-shadow: var(--shadow); display: grid; grid-auto-flow: column; gap: 8px; align-items: center; justify-content: start;
  cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.mf-step:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.mf-step.is-current { border-color: rgba(168,255,96,.45); box-shadow: 0 0 0 1px rgba(168,255,96,.25) inset; }
.mf-step .dot { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.mf-step .label { font-weight: 700; }
.mf-progress {
  height: 10px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; position: relative;
}
.mf-progress span {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); opacity: .85;
}
.mf-progress.is-run span { animation: mf-grow 2.2s ease forwards; }
@keyframes mf-grow { to { width: 100%; } }
.mf-status { color: var(--muted); min-height: 1.6em; }
.mf-actions { display: flex; gap: 10px; align-items: center; }
.mf-copy-status { color: var(--accent); min-height: 1em; }

.mf-media { display: grid; gap: 18px; }
.mf-tile {
  padding: 12px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  box-shadow: var(--shadow); transition: transform 260ms ease, box-shadow 260ms ease;
}
.mf-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); }
.mf-tile img { border-radius: 12px; }

.mf-ambient {
  position: relative; max-width: 1240px; margin: 12px auto 0; height: 8px; border-radius: 999px;
  background: radial-gradient(60% 80% at 50% 50%, rgba(94,247,255,.22), transparent 70%); filter: blur(8px);
}

@media (max-width: 1100px){ .mf-grid { grid-template-columns: 1fr; } }

/* =========================
   Section 14 — Prizes & Taxes
   ========================= */
.pz-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start; }
.pz-panel { display: grid; gap: 12px; }
.pz-chips, .tax-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pz-chip, .tax-chip {
  padding: 10px 12px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; font-weight: 700;
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.pz-chip:hover, .tax-chip:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.pz-chip.is-active, .pz-chip[aria-pressed="true"], .tax-chip.is-active, .tax-chip[aria-pressed="true"] {
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #0a0b10;
}
.pz-preview { border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: linear-gradient(135deg, rgba(94,247,255,.05), rgba(255,77,248,.05)); box-shadow: var(--shadow); }
.pz-view { display: none; }
.pz-view.is-shown { display: block; }
.pz-points { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }

.pz-tax { border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: linear-gradient(135deg, rgba(94,247,255,.05), rgba(255,77,248,.05)); box-shadow: var(--shadow); }
.tax-view { display: none; }
.tax-view.is-shown { display: block; }
.tax-note { color: var(--muted); }

.pz-media { display: grid; gap: 18px; }
.pz-tile {
  padding: 12px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  box-shadow: var(--shadow); transition: transform 260ms ease, box-shadow 260ms ease;
}
.pz-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); }
.pz-tile img { border-radius: 12px; }

.pz-ambient {
  position: relative; max-width: 1240px; margin: 12px auto 0; height: 8px; border-radius: 999px;
  background: radial-gradient(60% 80% at 50% 50%, rgba(168,255,96,.25), transparent 70%); filter: blur(8px);
}

@media (max-width: 1100px){ .pz-grid { grid-template-columns: 1fr; } }

/* =========================
   Section 15 — Glossary & Quick Links
   ========================= */
.gs-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start; }
.gs-panel { display: grid; gap: 12px; }
.gs-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.gs-chip {
  padding: 10px 12px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; font-weight: 700;
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.gs-chip:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.5); }
.gs-chip.is-active, .gs-chip[aria-pressed="true"] {
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #0a0b10;
}

.gs-terms {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px;
  border: 1px solid var(--line); border-radius: 18px; padding: 14px;
  background: linear-gradient(135deg, rgba(94,247,255,.05), rgba(255,77,248,.05)); box-shadow: var(--shadow);
}
.gs-card {
  border: 1px solid var(--line); border-radius: 14px; padding: 12px;
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06)); transition: transform 260ms ease, box-shadow 260ms ease;
}
.gs-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); }
.gs-term { margin: 2px 0 6px; font-weight: 800; }
.gs-def  { color: var(--muted); }
.gs-card.is-hidden { display: none; }

.gs-media { display: grid; gap: 18px; }
.gs-tile {
  padding: 12px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(94,247,255,.06), rgba(255,77,248,.06));
  box-shadow: var(--shadow); transition: transform 260ms ease, box-shadow 260ms ease;
}
.gs-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.56); }
.gs-tile img { border-radius: 12px; }

.gs-links { display: grid; gap: 8px; margin-top: 4px; }
.gs-link  { color: var(--ink); text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,.25); padding-bottom: 2px; }
.gs-link:hover { text-decoration: none; border-color: rgba(255,255,255,.5); }

.gs-ambient {
  position: relative; max-width: 1240px; margin: 12px auto 0; height: 8px; border-radius: 999px;
  background: radial-gradient(60% 80% at 50% 50%, rgba(255,77,248,.25), transparent 70%); filter: blur(8px);
}

@media (max-width: 1100px){
  .gs-grid { grid-template-columns: 1fr; }
  .gs-terms { grid-template-columns: 1fr; }
}

/* safety cap */
.matchflow img, .prizes img, .glossary img { max-width: 350px; }
