/* Zenniz Umpire Guide — styled after zenniz.com and the Zenniz Brand Book 2024.
   Layout: off-white page, large rounded photo/media cards, italic extra-bold headlines,
   one navy band for the practice court. Light theme only, as on zenniz.com. */

@font-face { font-family: "Maison Neue Extended"; src: url("fonts/MaisonNeueExtended-Book.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Maison Neue Extended"; src: url("fonts/MaisonNeueExtended-Demi.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Maison Neue Extended"; src: url("fonts/MaisonNeueExtended-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Maison Neue Extended"; src: url("fonts/MaisonNeueExtended-ExtraBoldItalic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Maison Neue Mono"; src: url("fonts/MaisonNeueMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Maison Neue Mono"; src: url("fonts/MaisonNeueMono-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #fafafa;
  --card: #ffffff;
  --ink: #001e42;          /* headings, zenniz.com navy */
  --text: #1c2230;
  --muted: #5a6273;
  --line: #e4e6ec;
  --primary: #185bbb;      /* brand primary */
  --primary-soft: #d8e2ff;
  --navy: #001e42;
  --navy-2: #013353;       /* brand inverse background */
  --inv-text: #e8f2ff;
  --inv-muted: #a9bdd6;
  --inv-primary: #aec6ff;
  --green: #00e384;        /* key court green, accents only */
  --success: #006d3c;
  --error: #a8363f;
  --warn-bg: #f4f6c8;
  --warn-ink: #4f5100;
  --p1: #1d9bf0;           /* player one in the app */
  --p2: #f47b20;           /* player two in the app */
  --p1-soft: #e6f2fd;
  --p2-soft: #fdf0e7;
  --shadow: 0 1px 2px rgba(0, 30, 66, .05), 0 12px 32px rgba(0, 30, 66, .08);
  --shadow-lg: 0 24px 60px rgba(0, 30, 66, .22);
  --r: 20px;
  --f-display: "Maison Neue Extended", Montserrat, "Noto Kufi Arabic", "Noto Sans KR", system-ui, sans-serif;
  --f-body: "DM Sans", Montserrat, "Noto Sans Arabic", "Noto Sans KR", system-ui, -apple-system, sans-serif;
  --f-mono: "Maison Neue Mono", ui-monospace, Menlo, monospace;
  --f-app: "Maison Neue Extended", Montserrat, "Noto Sans Arabic", "Noto Sans KR", system-ui, sans-serif;

  /* App screen palette (fixed: the real apps look the same everywhere) */
  --app-bg: #dfe6fb;
  --app-sheet: #eef2fb;
  --app-white: #fbfcff;
  --app-ink: #061a3a;
  --app-muted: #5d6a85;
  --app-faint: #b9c4dc;
  --app-btn: #1e4fb3;
  --app-line: #c9d2e6;
  --app-scrim: rgba(40, 46, 60, .45);
  --app-in: #0e7a36;
  --app-out: #a8202a;
  --app-hl: #cdd6e4;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--f-body); padding-bottom: env(safe-area-inset-bottom, 0px); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--bg); z-index: 30; }
[hidden] { display: none !important; }
img, video, svg { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
:lang(ar) h1, :lang(ar) .h2, :lang(ar) .step__big, :lang(ko) h1, :lang(ko) .h2 { font-style: normal !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: 8px; transform: translateY(-300%); background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 40px; z-index: 50; }
.skip:focus { transform: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

.h2 { font: italic 800 clamp(26px, 3.2vw, 38px)/1.08 var(--f-display); letter-spacing: -.01em; }
.h2--inv { color: #fff; }
.kicker { font: 600 13px/1.3 var(--f-body); letter-spacing: .02em; color: var(--inv-primary); }
.ui { display: inline-block; font: 600 .85em/1.2 var(--f-app); padding: 3px 10px; border-radius: 40px; background: var(--card); border: 1.5px solid var(--ink); color: var(--ink); white-space: nowrap; vertical-align: 1px; }

/* Pills, as on zenniz.com */
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 40px; padding: 12px 22px; font: 600 15px/1.2 var(--f-body); text-decoration: none; border: 1.5px solid transparent; transition: transform .15s ease, background .15s ease; }
.pill:hover { transform: translateY(-1px); }
.pill--white { background: #fff; color: var(--ink); }
.pill--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.pill--navy { background: var(--ink); color: #fff; }
.pill--ghost-navy { color: var(--ink); border-color: rgba(0,30,66,.28); }
.pill--ghost-navy:hover { border-color: var(--ink); }
.pill--soft { background: var(--primary-soft); color: var(--ink); }
.pill svg { width: 18px; height: 18px; }

/* Header */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(250,250,250,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.bar__in { max-width: 1240px; margin: 0 auto; padding: 12px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); display: flex; align-items: center; gap: 24px; }
.bar__logo img { width: 88px; height: auto; }
.bar__nav { display: flex; gap: 4px; margin-inline-start: auto; }
.bar__nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 40px; }
.bar__nav a:hover { background: #eceef3; }
.lang { display: flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; border-radius: 40px; padding: 7px 12px; }
.lang svg { width: 17px; height: 17px; flex: none; }
.lang select { background: transparent; border: 0; color: inherit; font-weight: 600; font-size: 14px; max-width: 140px; }
.lang select option { color: var(--ink); background: #fff; }
@media (max-width: 720px) { .bar__nav { display: none; } .lang { margin-inline-start: auto; } }

/* Hero: rounded photo card like zenniz.com */
.hero { padding-block: 8px 0; }
.hero__card { position: relative; border-radius: 24px; overflow: hidden; min-height: 520px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; background: var(--navy); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,30,66,.92) 0%, rgba(0,30,66,.7) 48%, rgba(0,30,66,.15) 100%); }
.hero__copy { position: relative; padding: clamp(28px, 5vw, 64px); display: grid; gap: 16px; color: #fff; }
.hero h1 { color: #fff; font: italic 800 clamp(34px, 5.4vw, 64px)/1.02 var(--f-display); letter-spacing: -.015em; max-width: 13ch; }
.hero__sub { font-size: clamp(16px, 1.6vw, 19px); color: var(--inv-text); max-width: 40ch; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.hero__devices { position: relative; height: 100%; min-height: 480px; }
.hero__phone img { display: block; width: 100%; }
.hero__phone--back { right: 47%; bottom: auto; top: 8%; transform: rotate(-6deg) !important; opacity: .96; }
.hero__tab { position: absolute; width: min(300px, 70%); right: 22%; top: 50%; transform: translateY(-50%) rotate(-4deg); }
.hero__phone { position: absolute; margin: 0; width: min(190px, 40%); right: 6%; bottom: 7%; border-radius: 22px; overflow: hidden; border: 6px solid #0b0f16; box-shadow: var(--shadow-lg); transform: rotate(5deg); }
@media (max-width: 860px) {
  .hero__card { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__devices { min-height: 300px; margin-top: -20px; }
  .hero__tab { width: 200px; right: auto; left: 12%; }
  .hero__phone { width: 120px; right: 12%; }
  .hero__phone--back { right: auto; left: 14%; top: 4%; }
}

/* Tablet frame used for app screenshots */
.frame-tab { margin: 0; background: #eceff4; border-radius: 22px; padding: 10px; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #fff; }
.frame-tab img, .frame-tab video { border-radius: 12px; width: 100%; height: auto; }
.frame-phone { margin: 0; background: #0b0f16; border-radius: 28px; padding: 6px; box-shadow: var(--shadow-lg); }
.frame-phone img, .frame-phone video { border-radius: 22px; width: 100%; height: auto; }

/* Meet the court */
.court { padding-block: 64px 0; display: grid; gap: 22px; }
.court__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .court__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.photo { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy-2); margin: 0; }
.photo img, .photo video { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(180deg, transparent, rgba(0,30,66,.85)); color: #fff; font: 700 15px/1.25 var(--f-display); }

/* Placeholder card for media that still has to be produced */
.ph { position: relative; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; padding: 20px; border-radius: var(--r); border: 2px dashed #b8c3d9; background: repeating-linear-gradient(135deg, #f1f4fa 0 12px, #eaeef6 12px 24px); color: var(--ink); min-height: 220px; }
.ph svg { width: 40px; height: 40px; color: var(--primary); }
.ph b { font: 700 15px/1.3 var(--f-display); }
.ph small { font-size: 13px; color: var(--muted); }
.ph__badge { position: absolute; top: 12px; inset-inline-start: 12px; font: 700 11px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; background: var(--warn-bg); color: var(--warn-ink); padding: 6px 9px; border-radius: 40px; }
.photo.ph { aspect-ratio: 4 / 5; }

/* Steps */
.steps { padding-block: 80px 0; display: grid; gap: 22px; }
.steps-block { display: grid; gap: 22px; }
.rail { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 10px; }
@media (max-width: 900px) { .rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; } .rail button { flex: 0 0 132px; scroll-snap-align: start; } }
.rail button { border: 0; background: var(--card); border-radius: 16px; padding: 8px 8px 12px; display: grid; gap: 8px; text-align: start; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.rail button:hover { transform: translateY(-2px); }
.rail button[aria-selected="true"] { background: var(--ink); color: #fff; }
.rail__thumb { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--app-bg); }
.rail__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rail__label { display: flex; gap: 8px; align-items: baseline; padding-inline: 4px; }
.rail__n { font: 700 13px/1 var(--f-mono); color: var(--primary); }
.rail button[aria-selected="true"] .rail__n { color: var(--green); }
.rail__t { font: 700 14px/1.2 var(--f-display); }
.rail button[aria-selected="true"] .rail__t { color: #fff; }

.viewer { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; background: var(--card); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
@media (max-width: 900px) { .viewer { grid-template-columns: minmax(0, 1fr); } }
.stage { position: relative; background: radial-gradient(120% 90% at 30% 20%, #0b3a63 0%, var(--navy) 70%); padding: clamp(18px, 3vw, 36px); display: grid; gap: 16px; align-content: center; justify-items: center; min-height: 520px; }
.stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.12)) 50% 0 / 2px 100% no-repeat,
              linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.12)) 0 78% / 100% 2px no-repeat; }
.stage__media { position: relative; width: 100%; display: grid; place-items: center; }
.stage__media .frame-tab { width: min(400px, 100%); }
.stage__media .frame-phone { width: min(250px, 70%); }
.stage__media .ph { width: min(400px, 100%); aspect-ratio: 4 / 5; min-height: 0; }
.stage__media img[data-zoom] { cursor: zoom-in; }
.thumbs { position: relative; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.thumbs button { width: 58px; height: 58px; border-radius: 12px; border: 2px solid transparent; padding: 0; overflow: hidden; background: #0d2c4f; position: relative; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: .75; }
.thumbs button[aria-pressed="true"] { border-color: var(--green); }
.thumbs button[aria-pressed="true"] img { opacity: 1; }
.thumbs .play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.thumbs .play svg { width: 22px; height: 22px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.thumbs .dash { position: absolute; inset: 0; border: 2px dashed #6f88a8; border-radius: 10px; display: grid; place-items: center; color: #aec6ff; }
.thumbs .dash svg { width: 20px; height: 20px; }

.step { padding: clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 22px; }
.step__big { font: italic 800 clamp(56px, 7vw, 96px)/.85 var(--f-display); color: var(--primary-soft); }
.step h3 { font: italic 800 clamp(26px, 3vw, 36px)/1.05 var(--f-display); }
.step ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 17px; line-height: 1.45; }
.step li::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23185bbb' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.calls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.calls div { background: #f3f5f9; border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.calls b { font: 700 14px/1 var(--f-app); letter-spacing: .02em; }
.calls span { font-size: 13px; color: var(--muted); }
.c-in { color: var(--app-in); } .c-out { color: var(--app-out); }
.step__foot { margin-top: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.navbtn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); display: grid; place-items: center; color: var(--ink); }
.navbtn:disabled { opacity: .35; cursor: default; }
.navbtn svg { width: 20px; height: 20px; }
[dir="rtl"] .navbtn svg { transform: scaleX(-1); }

.remote { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; background: var(--primary-soft); border-radius: var(--r); padding: 16px 20px 16px 16px; }
.remote video, .remote img { width: 96px; border-radius: 10px; }
.remote b { display: block; font: 700 17px/1.25 var(--f-display); color: var(--ink); }
.remote span { color: var(--text); font-size: 15px; }
@media (max-width: 640px) { .remote { grid-template-columns: 72px minmax(0, 1fr); } .remote video, .remote img { width: 72px; } .remote .pill { grid-column: 1 / -1; justify-self: start; } }

/* Help tiles */
.help__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .help__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .help__grid { grid-template-columns: minmax(0, 1fr); } .photo figcaption { font-size: 13px; padding: 30px 10px 10px; } }
.tile { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.tile__media { aspect-ratio: 4 / 3; background: var(--app-bg); overflow: hidden; position: relative; }
.tile__media img, .tile__media video { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tile__media .ph { border-radius: 0; height: 100%; min-height: 0; border: 0; }
.tile__body { padding: 16px 18px 20px; display: grid; gap: 6px; }
.tile__body b { font: 700 16px/1.25 var(--f-display); color: var(--ink); }
.tile__body span { color: var(--muted); font-size: 15px; }

/* Practice band */
.help { padding-block: 80px 0; display: grid; gap: 22px; }
.practice { margin-top: 96px; background: var(--navy); color: var(--inv-text); padding-block: 72px 80px; }
.practice__head { display: grid; gap: 8px; margin-bottom: 26px; }
.practice__head p { color: var(--inv-muted); max-width: 52ch; }
.sim { display: grid; gap: 16px; }
.mchips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.mchips button { flex: none; display: inline-flex; align-items: center; gap: 8px; border-radius: 40px; border: 1.5px solid #29466b; background: transparent; color: var(--inv-text); padding: 8px 14px 8px 8px; font: 600 14px/1.2 var(--f-body); white-space: nowrap; }
.mchips button:hover { border-color: #4f6f99; }
.mchips button[aria-current="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.mchips .tick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #4f6f99; display: grid; place-items: center; font: 700 11px/1 var(--f-mono); }
.mchips button[aria-current="true"] .tick { border-color: var(--line); }
.mchips .ok .tick { background: var(--green); border-color: var(--green); color: var(--navy); }
.coach { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; background: #0a2d55; border-radius: 16px; padding: 12px 16px; min-height: 56px; }
.coach__m { font: 700 15px/1.3 var(--f-display); color: #fff; }
.coach__h { color: var(--inv-muted); font-size: 14.5px; flex: 1 1 260px; }
.coach__sit { display: inline-flex; gap: 10px; align-items: center; font-size: 14.5px; font-weight: 600; color: #fff; }
.coach__sit b { font: 700 11px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; background: var(--p2); color: #fff; padding: 5px 8px; border-radius: 40px; }
.coach__fb { flex-basis: 100%; font-size: 14.5px; font-weight: 600; padding: 9px 12px; border-radius: 10px; }
.coach__fb.good { background: rgba(0, 227, 132, .16); color: #8ff5c4; }
.coach__fb.bad { background: rgba(255, 120, 120, .14); color: #ffb3b3; }
.coach__fb.info { background: rgba(174, 198, 255, .14); color: var(--inv-text); }
.coach .pill { padding: 8px 14px; font-size: 14px; }
.sim__foot { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--inv-muted); flex-wrap: wrap; }
.linkbtn { background: none; border: 0; color: var(--inv-primary); font-weight: 700; padding: 0; }
.court-stage { position: relative; border-radius: 24px; padding: clamp(18px, 3vw, 44px); display: flex; gap: clamp(20px, 4vw, 56px); align-items: center; justify-content: center; flex-wrap: wrap;
  background: radial-gradient(90% 70% at 50% 0%, #2a69a8 0%, #1b4f86 55%, #143f6e 100%); overflow: hidden; }
.court-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.22)) 50% 0 / 2px 100% no-repeat,
              linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.22)) 0 80% / 100% 2px no-repeat,
              linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.22)) 0 20% / 100% 2px no-repeat; }
.dev { position: relative; display: grid; gap: 12px; justify-items: center; }
.dev__label { font: 600 12px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: #d9e6f7; }
.dev-phone { flex: 0 1 330px; width: min(330px, 100%); }
.dev-tab { flex: 0 1 360px; width: min(360px, 100%); }
.phone { position: relative; width: 100%; background: #0b0f16; border-radius: 46px; padding: 11px; box-shadow: 0 30px 60px rgba(0,0,0,.42), inset 0 0 0 1.5px #2b313c; }
.tablet { width: 100%; background: #1a1f27; border-radius: 26px; padding: 13px; box-shadow: 0 26px 54px rgba(0,0,0,.38), inset 0 0 0 1.5px #3a414d; }
.tablet .scr { aspect-ratio: 4 / 5; border-radius: 12px; }

/* Quiz */
.quiz { padding-block: 88px 96px; display: grid; gap: 22px; }
.qcard { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); background: var(--card); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
@media (max-width: 800px) { .qcard { grid-template-columns: minmax(0, 1fr); } }
.qcard__img { background: var(--app-bg); display: grid; place-items: center; padding: 24px; }
.qcard__img img { max-height: 380px; width: auto; border-radius: 12px; box-shadow: var(--shadow); }
.qcard__body { padding: clamp(22px, 3vw, 40px); display: grid; gap: 16px; align-content: start; }
.qcard__of { font: 700 13px/1 var(--f-mono); color: var(--primary); }
.qcard h3 { font: 700 clamp(20px, 2.2vw, 26px)/1.25 var(--f-display); }
.qopts { display: grid; gap: 8px; }
.qopts button { text-align: start; border: 1.5px solid var(--line); background: var(--card); border-radius: 14px; padding: 13px 16px; font-size: 16px; }
.qopts button:hover:not(:disabled) { border-color: var(--primary); }
.qopts button.right { border-color: var(--success); background: #e6f8ee; }
.qopts button.wrong { border-color: var(--error); background: #fdecec; }
.qopts button:disabled { cursor: default; }
.qex { color: var(--muted); font-size: 15px; }
.qex b { color: var(--ink); }
.qdots { display: flex; gap: 6px; }
.qdots i { width: 28px; height: 5px; border-radius: 4px; background: var(--line); }
.qdots i.ok { background: var(--success); } .qdots i.no { background: var(--error); } .qdots i.cur { background: var(--primary); }
.qdone { text-align: center; display: grid; gap: 14px; justify-items: center; padding: 48px 20px; background: var(--card); border-radius: 24px; box-shadow: var(--shadow); }
.qdone b { font: italic 800 clamp(40px, 6vw, 72px)/1 var(--f-display); color: var(--ink); }

/* Footer */
.foot { background: var(--navy); color: var(--inv-muted); padding-block: 40px 48px; }
.foot__in { display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.foot__in img { width: 96px; height: auto; }
.foot__slogan { font: italic 800 18px/1 var(--f-display); color: #fff; }
.foot__lite { margin-inline-start: auto; font-size: 14px; border: 1px solid #29466b; padding: 8px 14px; border-radius: 40px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 720px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(0, 20, 45, .82); }
.lightbox img { max-height: 88vh; width: auto; border-radius: 14px; }
.lightbox__x { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 16px; }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 40px; font-weight: 600; font-size: 14px; z-index: 40; max-width: calc(100% - 32px); }

/* ===== Practice court app screens. Sizes are in cqw of the device screen, measured from the 720 px wide
   recording of the Zenniz App umpire view (1 cqw = 7.2 px there). ===== */
.scr { position: relative; overflow: hidden; container-type: inline-size; background: #fafafd; color: #0b1d33; font-family: var(--f-body); user-select: none; -webkit-user-select: none; touch-action: manipulation; -webkit-font-smoothing: antialiased; }
.scr button { border: 0; background: none; font-family: inherit; color: inherit; padding: 0; cursor: pointer; }
.scr button:disabled { cursor: default; }
.scr svg { display: block; width: 100%; height: 100%; }
.scr i { font-style: normal; }
.phone .scr { aspect-ratio: 720 / 1518; border-radius: 36px; }
.sb { position: absolute; top: 0; left: 0; right: 0; height: 8cqw; display: flex; align-items: center; justify-content: space-between; padding: 1.4cqw 7cqw 0; font: 600 3.3cqw/1 var(--f-body); color: #0b1d33; z-index: 25; pointer-events: none; }
.sb.dark { color: #fff; }
.sb__r { display: flex; gap: 1.3cqw; align-items: center; }
.sb__r i { display: block; }
.sb__sig { width: 4.4cqw; height: 2.8cqw; background: linear-gradient(90deg, currentColor 0 22%, transparent 22% 26%, currentColor 26% 48%, transparent 48% 52%, currentColor 52% 74%, transparent 74% 78%, currentColor 78%); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.sb__bat { width: 6cqw; height: 2.8cqw; border: .35cqw solid currentColor; border-radius: .9cqw; position: relative; }
.sb__bat::after { content: ""; position: absolute; inset: .35cqw; right: 30%; background: currentColor; border-radius: .3cqw; }
.pscr { position: absolute; left: 0; right: 0; bottom: 0; top: 0; }
.pscr--pad { top: 8cqw; }

/* --- umpire view --- */
.u { position: absolute; inset: 0; background: #fafafd; }
.u-top { height: 13.9cqw; display: grid; grid-template-columns: 11cqw 1fr 11cqw; align-items: center; padding: 0 1.8cqw; }
.u-ic { width: 11cqw; height: 11cqw; display: grid !important; place-items: center; border-radius: 50%; color: #0b1d33; }
.u-ic svg { width: 5.6cqw; height: 5.6cqw; }
.u-ic:last-child svg { width: 5cqw; height: 5cqw; }
.u-ic:active { background: rgba(11,29,51,.07); }
.u-clock { justify-self: center; display: flex; align-items: center; gap: 1.6cqw; }
.u-clock i { width: 6cqw; height: 6cqw; }
.u-clock b { font: 700 8.6cqw/1 var(--f-mono); letter-spacing: .01em; }
.u-board { margin: 4.2cqw 3.75cqw 0; border: .28cqw solid #dfe2ec; border-radius: 5.6cqw; background: #fdfdff; padding: 3.4cqw 3.9cqw 1.4cqw; }
.u-board__hd { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 2.4cqw; border-bottom: .21cqw solid #e3e6ee; color: #3c4250; }
.u-board__hd span { font: 500 2.9cqw/1 var(--f-body); letter-spacing: .13em; }
.u-board__hd b { font: 700 3.5cqw/1 var(--f-mono); }
.u-board__r { width: 100%; height: 11.8cqw; display: grid !important; grid-template-columns: 2.2cqw 8cqw minmax(0, 1fr) auto auto 11.7cqw; gap: 0 2.4cqw; align-items: center; text-align: start; border-radius: 2.4cqw; }
.u-board__r:first-of-type { margin-top: 1cqw; }
button.u-board__r:active { background: rgba(11,29,51,.06); }
.u-dot { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; }
.u-dot.on { background: #1a5bbf; }
.u-ava { width: 8cqw; height: 8cqw; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font: 600 2.8cqw/1 var(--f-body); letter-spacing: .02em; flex: none; }
.u-ava.A { background: #129ef2; } .u-ava.B { background: #ff8a00; }
.u-board__n { font: 600 3.9cqw/1.1 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-board__g { display: flex; grid-column: 5; }
.u-troph { grid-column: 4; width: 4cqw; height: 4cqw; color: #1a5bbf; margin-right: 1cqw; }
.u-board__g span { min-width: 7.3cqw; text-align: center; font: 700 3.6cqw/1 var(--f-mono); color: #0b1d33; }
.u-board__g span.l { color: #8b909b; }
.u-board__p { width: 11.7cqw; height: 8.9cqw; border-radius: 2cqw; background: #e8edfb; color: #1a5bbf; display: grid; place-items: center; font: 700 3.4cqw/1 var(--f-mono); }
.u-big { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 0 6cqw; margin-top: 16.6cqw; }
.u-big__c { display: flex; flex-direction: column; align-items: center; }
.u-big__n { display: flex; align-items: center; gap: 1.8cqw; }
.u-big__n .u-ava { width: 7.2cqw; height: 7.2cqw; font-size: 2.6cqw; }
.u-big__n b { font: 600 3.9cqw/1 var(--f-display); }
.u-big__v { font: 700 20.5cqw/1 var(--f-mono); margin-top: 3cqw; letter-spacing: -.02em; }
.u-dash { position: absolute; left: 50%; top: 16.6cqw; width: 5.4cqw; height: 1.4cqw; border-radius: 1cqw; background: #dfe1ea; transform: translateX(-50%); }
.u-serving { display: inline-block; background: #1a5bbf; color: #fff; font: 600 2.6cqw/1 var(--f-body); letter-spacing: .17em; padding: 1.3cqw 3.2cqw 1.3cqw 3.6cqw; border-radius: 99px; }
.u-serving--ghost { visibility: hidden; }
.u-big .u-serving { margin-top: 2.6cqw; }
.u-match .u-row { position: absolute; left: 3.75cqw; right: 3.75cqw; bottom: 68.8cqw; display: flex; justify-content: space-between; }
.u-match .u-row--ch { bottom: 12.4cqw; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.u-btn { height: 8.9cqw; display: inline-flex !important; align-items: center; justify-content: center; gap: 1.8cqw; border: .28cqw solid #7d828d !important; border-radius: 99px; color: #1a5bbf !important; font: 500 3.4cqw/1 var(--f-body) !important; padding: 0 4.4cqw !important; background: #fdfdff !important; white-space: nowrap; }
.u-btn i { width: 3.8cqw; height: 3.8cqw; }
.u-btn:active { background: #eef1f8 !important; }
.u-btn:disabled { border-color: #e6e8ee !important; color: #c9d0e0 !important; }
.u-btn--sm:first-child { width: 25.8cqw; }
.u-btn--sm:last-child { width: 37.5cqw; }
.u-btn--ch { width: 100%; }
.u-btn--dark { color: #15181e !important; border-color: #15181e !important; }
.u-cards { position: absolute; left: 3.75cqw; right: 3.75cqw; bottom: 25.2cqw; height: 39.7cqw; display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; }
.u-card { position: relative; border-radius: 5cqw; border: .42cqw solid !important; display: flex !important; flex-direction: column; align-items: center; padding-top: 4.6cqw !important; transition: background .12s ease; }
.u-card.A { border-color: #129ef2 !important; background: #e9f5fe !important; }
.u-card.B { border-color: #ff8a00 !important; background: #fcf2ea !important; }
.u-card.A:active { background: #cfe3f3 !important; } .u-card.B:active { background: #f0dccb !important; }
.u-card__n { display: flex; align-items: center; gap: 1.8cqw; }
.u-card__n .u-ava { width: 7.2cqw; height: 7.2cqw; font-size: 2.6cqw; }
.u-card__n b { font: 600 5cqw/1 var(--f-display); }
.u-card .u-serving { margin-top: 1.6cqw; }
.u-plus { width: 9.6cqw; height: 9.6cqw; margin-top: 2.4cqw; color: #0b1d33; }
.u-card:disabled .u-plus { color: #7b7f88; }
.u-match.is-over .u-card { pointer-events: none; }
/* before the match */
.u-lead { margin: 4.4cqw 3.75cqw 0; font: 400 3.1cqw/1.2 var(--f-body); color: #2a2f3a; }
.u-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; margin: 4.4cqw 3.75cqw 0; }
.u-pcard { height: 26.8cqw; border-radius: 4.2cqw; border: .42cqw solid !important; display: flex !important; flex-direction: column; align-items: center; padding-top: 3cqw !important; }
.u-pcard.A { border-color: #129ef2 !important; background: #e9f5fe !important; }
.u-pcard.B { border-color: #ff8a00 !important; background: #fcf2ea !important; }
.u-pcard .u-ava { width: 9.2cqw; height: 9.2cqw; font-size: 3.3cqw; }
.u-pcard b { font: 600 3.6cqw/1 var(--f-display); margin-top: 2.3cqw; }
.u-pcard .u-serving { margin-top: 2cqw; }
.u-btn--wide { display: flex !important; width: calc(100% - 7.5cqw); margin: 4cqw 3.75cqw 0; height: 8.8cqw; }
.u-warm { display: flex; flex-direction: column; align-items: center; margin-top: 17cqw; }
.u-warm__l { display: inline-flex; align-items: center; gap: 2cqw; font: 600 3.6cqw/1 var(--f-display); letter-spacing: .14em; color: #3a3f4a; }
.u-warm__l i { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; border: .4cqw solid #808590; }
.u-warm__l.on { color: #1a5bbf; } .u-warm__l.on i { background: #1a5bbf; border-color: #1a5bbf; }
.u-ring { width: 57cqw; height: 57cqw; margin-top: 4.6cqw; border-radius: 50%; border: 2.3cqw solid #1a5bbf; background: #fff; display: grid; place-items: center; }
.u-ring b { font: 700 13.9cqw/1 var(--f-mono); letter-spacing: -.01em; }
.u-pre__ft { position: absolute; left: 4.6cqw; right: 4.6cqw; bottom: 11.4cqw; display: grid; gap: 2.9cqw; }
.u-btn--lg { height: 10.7cqw; font-size: 4.4cqw !important; }
.u-btn--lg i { width: 4.6cqw; height: 4.6cqw; }
.u-solid { height: 10.8cqw; display: flex !important; align-items: center; justify-content: center; gap: 2.4cqw; background: #1a5bbf !important; color: #fff !important; border-radius: 99px; font: 500 4.4cqw/1 var(--f-body) !important; }
.u-solid i { width: 3.4cqw; height: 3.4cqw; }
.u-solid:active { background: #154ea6 !important; }
.u-solid--sm { height: 8.9cqw; font-size: 3.4cqw !important; }
/* menu and dialogs */
.u-menu-scrim { position: absolute; inset: 0; z-index: 14; }
.u-menu { position: absolute; top: 1.7cqw; right: 2cqw; width: 50.5cqw; z-index: 15; background: #fff; border-radius: 3.4cqw; padding: 1cqw 0; box-shadow: 0 1cqw 3cqw rgba(0,0,0,.12), 0 .2cqw .6cqw rgba(0,0,0,.1); }
.u-menu button { width: 100%; height: 10.9cqw; display: flex !important; align-items: center; gap: 4cqw; padding: 0 4.6cqw !important; font: 400 3.6cqw/1 var(--f-body); color: #1b1d22; text-align: start; }
.u-menu button:active { background: #f1f2f6; }
.u-menu i { width: 4.4cqw; height: 4.4cqw; }
.u-scrim { position: absolute; inset: 0; background: rgba(28,32,44,.34); z-index: 16; }
.u-scrim--top { z-index: 18; }
.u-dlg { position: absolute; left: 7.2cqw; right: 7.2cqw; top: 36.4cqw; z-index: 19; background: #eceef7; border-radius: 5.6cqw; padding: 6cqw 3.7cqw 6cqw 5.6cqw; box-shadow: 0 2cqw 6cqw rgba(0,0,0,.18); }
.u-dlg h5 { margin: 0; font: 600 3.6cqw/1.25 var(--f-display); color: #0b1d33; padding-right: 2cqw; }
.u-dlg p { margin: 5cqw 0 0; font: 400 3cqw/1.35 var(--f-body); color: #1c2230; }
.u-dlg__row { display: flex; justify-content: space-between; margin-top: 6.4cqw; }
.u-dlg__row .u-btn { font-size: 3cqw !important; min-width: 21cqw; }
.u-radios { display: grid; gap: 1cqw; margin-top: 4cqw; }
.u-radio { display: flex !important; justify-content: space-between; align-items: center; height: 10cqw; padding: 0 3cqw !important; border-radius: 2.4cqw; font: 500 3.6cqw/1 var(--f-body); }
.u-radio.sel { background: #dbe2f3 !important; }
.u-radio i { width: 4.6cqw; height: 4.6cqw; border-radius: 50%; border: .5cqw solid #3a3f4a; display: grid; place-items: center; }
.u-radio.sel i { border-color: #1a5bbf; }
.u-radio.sel i::after { content: ""; width: 2.3cqw; height: 2.3cqw; border-radius: 50%; background: #1a5bbf; }
/* challenge sheet */
.u-sheet { position: absolute; left: 0; right: 0; bottom: 0; top: 16cqw; z-index: 17; background: #fafafd; border-radius: 6cqw 6cqw 0 0; display: flex; flex-direction: column; box-shadow: 0 -1cqw 5cqw rgba(0,0,0,.14); }
.u-sheet .z-grab { margin-top: 2.6cqw; }
.u-sheet__hd { padding: 3.4cqw 4.6cqw 0; }
.u-sheet__hd h5 { margin: 0; text-align: center; font: italic 800 6cqw/1 var(--f-display); }
.u-sheet__hd p { margin: 4cqw 0 0; display: flex; align-items: center; gap: 2cqw; font: 600 3.4cqw/1.2 var(--f-display); }
.u-sheet__hd p span { font: 400 3.2cqw/1.2 var(--f-body); color: #5a6070; }
.u-sheet__hd .u-ava { width: 6.4cqw; height: 6.4cqw; font-size: 2.3cqw; }
.u-court { height: 30cqw; display: grid; place-items: center; margin-top: 2cqw; }
.u-court svg { width: 86%; height: 100%; }
.u-shots { flex: 1; overflow-y: auto; border-top: .21cqw solid #e3e6ee; overscroll-behavior: contain; }
.u-shot { width: 100%; display: grid !important; grid-template-columns: 6.4cqw 1fr auto 21cqw; gap: 3cqw; align-items: center; padding: 2.8cqw 4.6cqw !important; text-align: start; border-bottom: .21cqw solid #eceef3 !important; }
.u-shot .u-ava { width: 6.4cqw; height: 6.4cqw; font-size: 2.3cqw; }
.u-shot.sel { background: #e1e8f8 !important; }
.u-shot .ty { font: 500 3.4cqw/1 var(--f-body); color: #232836; }
.u-shot .sp { font: 700 3.3cqw/1 var(--f-mono); }
.u-shot .cl { font: 600 3cqw/1 var(--f-display); text-align: end; letter-spacing: .02em; white-space: nowrap; }
.u-shot .cl.ok { color: #0e8a3e; } .u-shot .cl.bad { color: #c0262f; }
.u-sheet__ft { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; padding: 3.6cqw 3.75cqw 8cqw; border-top: .21cqw solid #e3e6ee; }
/* match ended */
.u-ended h4 { margin: 0; padding-top: 8.4cqw; text-align: center; font: italic 800 4.8cqw/1 var(--f-display); }
.u-ended .u-board { margin-top: 8.8cqw; padding-bottom: 2cqw; }
.u-ended .u-board__r { grid-template-columns: 0 8cqw minmax(0, 1fr) auto auto; gap: 0 2.4cqw; }
.u-ended .u-dot { width: 0; visibility: hidden; }
.u-ended__ft { position: absolute; left: 3.75cqw; right: 3.75cqw; bottom: 11.4cqw; display: grid; gap: 2.8cqw; }
.u-note { display: grid; grid-template-columns: 4.4cqw 1fr; gap: 3.4cqw; background: #edf1fb; border-radius: 3.4cqw; padding: 4cqw 4.4cqw; font: 400 2.9cqw/1.45 var(--f-body); color: #262b38; }
.u-note i { width: 4.4cqw; height: 4.4cqw; color: #1a5bbf; }
.u-ended .u-solid { height: 10.6cqw; }

/* --- Zenniz App home and login --- */
.z-home { position: absolute; inset: 0; background: #f6f7fa; display: flex; flex-direction: column; }
.z-hero { position: relative; height: 56cqw; padding: 0 5cqw; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 13cqw; overflow: hidden;
  background: linear-gradient(180deg, rgba(8,26,52,.15), rgba(8,26,52,.55)),
    repeating-linear-gradient(118deg, transparent 0 21cqw, rgba(255,255,255,.22) 21cqw 21.5cqw, transparent 21.5cqw 34cqw),
    repeating-linear-gradient(28deg, transparent 0 25cqw, rgba(255,255,255,.18) 25cqw 25.5cqw, transparent 25.5cqw 40cqw),
    radial-gradient(120% 90% at 30% 10%, #1c3a66 0%, #10284a 55%, #0b1c36 100%); }
.z-hero__top { position: absolute; top: 14cqw; right: 4.6cqw; display: flex; align-items: center; gap: 4cqw; }
.z-bell { width: 5.6cqw; height: 5.6cqw; color: #fff; opacity: .95; }
.z-me { width: 9cqw; height: 9cqw; border-radius: 50%; background: #e4e9f2; color: #1b2a44; display: grid; place-items: center; font: 600 3cqw/1 var(--f-body); box-shadow: 0 0 0 .5cqw rgba(255,255,255,.35); }
.z-hero h4 { margin: 0; font: 600 6.6cqw/1.12 var(--f-display); letter-spacing: -.005em; max-width: 72cqw; }
.z-sec { background: #fff; padding: 6cqw 0 9cqw 4.4cqw; }
.z-sec__hd { display: flex; justify-content: space-between; align-items: baseline; padding-right: 4.4cqw; }
.z-sec__hd b { font: 600 4.1cqw/1 var(--f-display); }
.z-sec__hd span { font: 500 3.5cqw/1 var(--f-body); color: #1a5bbf; }
.z-cards { display: flex; gap: 3cqw; margin-top: 3.6cqw; overflow: hidden; }
.z-card { flex: none; width: 70cqw; border: .28cqw solid #cdd1da; border-radius: 4cqw; padding: 4cqw 4cqw 4.6cqw; display: grid; justify-items: start; gap: 1cqw; }
.z-card--peek { width: 20cqw; padding: 3.2cqw; align-content: start; }
.z-card__hd { display: flex; align-items: center; gap: 2.6cqw; margin-bottom: 1.6cqw; }
.z-card__hd b { font: 600 4.1cqw/1 var(--f-display); }
.z-card__hd em { font: 500 2.7cqw/1 var(--f-body); font-style: normal; background: #dce6f6; color: #233c66; padding: .9cqw 1.6cqw; border-radius: 1cqw; }
.z-q { width: 8cqw; height: 8cqw; border-radius: 50%; background: #e3e5ea; display: grid; place-items: center; font: 700 3.4cqw/1 var(--f-body); color: #3b4252; }
.z-card small { font: 400 2.8cqw/1 var(--f-body); color: #6b7080; margin-top: .8cqw; }
.z-tag { font: 500 2.5cqw/1 var(--f-body); background: #e6eefb; color: #253e69; padding: 1cqw 1.6cqw; border-radius: .8cqw; }
.z-len { font: 400 3cqw/1 var(--f-mono); } .z-len b { font: 700 5cqw/1 var(--f-mono); }
.z-date { margin-top: 1.4cqw !important; }
.z-promo { flex: 1; min-height: 0; margin-top: 0; background: linear-gradient(160deg, #0b1f3a, #071528); color: #fff; padding: 4.6cqw 4.4cqw 0; display: flex; flex-direction: column; gap: 2cqw; }
.z-promo div { display: flex; gap: 1.6cqw; }
.z-beta { background: #e7ef4a; color: #1b1d10; font: 600 2.5cqw/1 var(--f-body); padding: 1cqw 1.6cqw; border-radius: 1cqw; }
.z-chip { background: #d9e6fb; color: #17325c; font: 600 2.5cqw/1 var(--f-body); padding: 1cqw 1.6cqw; border-radius: 1cqw; }
.z-promo b { font: 600 4cqw/1.25 var(--f-display); max-width: 62cqw; margin-top: 1cqw; }
.z-promo > span { font: 400 2.9cqw/1.4 var(--f-body); color: #a9b4c4; max-width: 66cqw; }
.z-promo em { font: 500 3.3cqw/1 var(--f-body); font-style: normal; align-self: flex-end; color: #dfe7f3; margin-top: auto; padding: 3cqw 0 8cqw; border-top: .2cqw solid rgba(255,255,255,.12); width: 100%; text-align: end; }
.z-nav { position: relative; height: 25cqw; background: #fff; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding-bottom: 7cqw; }
.z-nav::after { content: ""; position: absolute; left: 50%; bottom: 2.2cqw; width: 34cqw; height: 1.2cqw; border-radius: 99px; background: #15181e; transform: translateX(-50%); }
.z-nav > span { display: grid; justify-items: center; gap: 1.2cqw; font: 500 2.9cqw/1 var(--f-body); color: #2a2f3a; }
.z-nav > span i { width: 12cqw; height: 7cqw; border-radius: 99px; display: grid; place-items: center; }
.z-nav > span i svg { width: 5cqw; height: 5cqw; }
.z-nav > span.on i { background: #d3e3fb; color: #12305c; }
.z-play { position: absolute; right: 9cqw; top: -6.4cqw; width: 15.4cqw; height: 15.4cqw; border-radius: 50%; background: #1a5bbf !important; color: #fff !important; display: grid !important; place-items: center; box-shadow: 0 1.4cqw 3cqw rgba(16,60,140,.35); }
.z-play i { width: 6.4cqw; height: 6.4cqw; }
.z-play__l { position: absolute; right: 9cqw; width: 15.4cqw; bottom: 8.4cqw; text-align: center; font: 500 2.9cqw/1 var(--f-body); color: #2a2f3a; }
.z-scrim { position: absolute; inset: 0; background: rgba(15,20,30,.45); z-index: 4; }
.z-sheet { position: absolute; left: 0; right: 0; bottom: 0; top: 37cqw; z-index: 5; background: #fafafd; border-radius: 6cqw 6cqw 0 0; display: flex; flex-direction: column; align-items: center; padding: 0 3.75cqw; overflow: hidden; }
.z-sheet--low { top: 82cqw; justify-content: flex-start; }
.z-grab { display: block; width: 10cqw; height: .9cqw; border-radius: 99px; background: #c4c8d2; margin: 3cqw auto 0; flex: none; }
.z-sheet h5 { margin: 4.4cqw 0 0; font: italic 800 6.2cqw/1 var(--f-display); }
.z-note { position: relative; z-index: 2; width: 100%; margin-top: 4cqw; display: grid; grid-template-columns: 4cqw 1fr; gap: 2.6cqw; background: #e4eefb; border: .28cqw solid #c8d7ee; border-radius: 3.2cqw; padding: 3.2cqw 3.6cqw; }
.z-note i { width: 3.8cqw; height: 3.8cqw; margin-top: .2cqw; }
.z-note b { display: block; font: 500 3cqw/1.3 var(--f-body); letter-spacing: .02em; }
.z-note span { display: block; font: 400 2.85cqw/1.4 var(--f-body); letter-spacing: .02em; color: #2c3242; margin-top: .6cqw; }
.z-cam { position: absolute !important; left: 0; right: 0; top: 40cqw; bottom: 0; display: block !important; }
.z-cam__bg { position: absolute; inset: 0; background: radial-gradient(70% 40% at 50% 38%, #f3f4f6, #d9dbe0 70%, #c7cad1); filter: saturate(.6); }
.z-cam__bg--x::before { content: ""; position: absolute; left: 6%; right: 6%; top: 6%; height: 44%; border-radius: 3cqw; background: linear-gradient(#fff, #eef0f4); box-shadow: 0 0 0 1.6cqw #2a2e36, 0 3cqw 6cqw rgba(0,0,0,.18); filter: blur(.9cqw); opacity: .8; }
.z-cam__tab { position: absolute; left: 50%; top: 9cqw; width: 42cqw; height: 42cqw; transform: translateX(-50%); border-radius: 3cqw; overflow: hidden; background: #f2f3f5; display: grid; place-items: center; box-shadow: 0 0 0 100cqw rgba(255,255,255,.35); }
.z-cam__tab .qr { width: 27cqw; background: #fff; padding: 1.4cqw; line-height: 0; }
.z-cam__frame { position: absolute; left: 50%; top: 9cqw; width: 42cqw; height: 42cqw; transform: translateX(-50%); border-radius: 3cqw; }
.z-cam__cap { position: absolute; left: 0; right: 0; top: 99cqw; margin: 0; text-align: center; font: 400 3.2cqw/1.4 var(--f-body); color: #1f2430; z-index: 2; pointer-events: none; }
.z-spin { width: 10.6cqw; height: 10.6cqw; margin-top: 10cqw; border-radius: 50%; border: 1cqw solid transparent; border-top-color: #1a5bbf; border-right-color: #1a5bbf; animation: rot .9s linear infinite; }
.z-sheet--low p { margin: 6cqw 0 0; font: 400 3.2cqw/1 var(--f-body); color: #2a2f3a; }
@keyframes rot { to { transform: rotate(360deg); } }

/* --- court tablet: the real court app (v3.1.17), measured from the screen recording; 1 cqw = 1 % of the screen width --- */
.tablet .scr { aspect-ratio: 1696 / 2366; }
.t { position: absolute; inset: 0; background: #fbfbfe; color: #0b1d33; font-family: var(--f-body); }
.t-top { position: absolute; left: 3.5cqw; right: 3.5cqw; top: 4cqw; display: flex; justify-content: space-between; z-index: 3; }
.t-pill { height: 5.5cqw; padding: 0 2.6cqw !important; border: .25cqw solid #b9c1d3 !important; border-radius: 99px; background: #fff !important; font: 500 2.45cqw/1 var(--f-body); color: #2a2f3a; }
.t-pill--blue { color: #1a5bbf !important; }
.t-title { position: absolute; left: 0; right: 0; top: 9.4cqw; text-align: center; }
.t-title h4 { margin: 0; font: italic 800 9cqw/1 var(--f-display); }
.t-title b { display: block; margin-top: 1.2cqw; font: 700 3.7cqw/1 var(--f-mono); color: #8a91a3; }
.t-field { position: absolute; left: 0; right: 0; top: 27.6cqw; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: .2cqw solid #e6e9f2; }
.t-half { display: flex; flex-direction: column; align-items: center; padding-top: 4.6cqw; gap: 1.6cqw; }
.t-half.A { background: #eaf3fd; } .t-half.B { background: #fdf2eb; }
.t-half b { font: 700 2.8cqw/1.1 var(--f-display); text-align: center; }
.t-ava { width: 7.4cqw; height: 7.4cqw; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 600 2.7cqw/1 var(--f-body); }
.t-ava.A { background: #129ef2; } .t-ava.B { background: #ff8a00; }
.t-switch { position: absolute; left: 50%; top: 4.4cqw; transform: translateX(-50%); display: grid; justify-items: center; gap: 1cqw; }
.t-switch i { width: 7.2cqw; height: 7.2cqw; border-radius: 50%; background: #dbe6fb; color: #1a5bbf; padding: 1.9cqw; }
.t-switch small { font: 500 1.9cqw/1 var(--f-body); color: #3a3f4a; white-space: nowrap; }
.t-score { position: absolute; left: 0; right: 0; top: 43cqw; display: grid; justify-items: center; gap: 1.6cqw; }
.t-score small { font: 700 3cqw/1 var(--f-mono); }
.t-score div { display: flex; align-items: center; gap: 6cqw; }
.t-score b { font: 700 9.3cqw/1 var(--f-mono); min-width: 34cqw; text-align: center; }
.t-plus { width: 7.4cqw; height: 7.4cqw; border-radius: 50%; background: #d6e3fb; display: grid; place-items: center; font: 500 5cqw/1 var(--f-body); color: #0b1d33; }
.t-undo { margin-top: 1.4cqw; height: 5.4cqw; padding: 0 3cqw; display: inline-flex; align-items: center; border: .25cqw solid #b9c1d3; border-radius: 99px; background: #fff; font: 500 2.3cqw/1 var(--f-body); color: #1a5bbf; }
.t-foot { position: absolute; left: 13.7cqw; right: 13.7cqw; bottom: 3.4cqw; display: grid; grid-template-columns: 1fr 1fr; gap: 2.2cqw; }
.t-ch { height: 5.6cqw; display: grid; place-items: center; border: .25cqw solid #b9c1d3; border-radius: 99px; background: #fff; font: 500 2.4cqw/1 var(--f-body); color: #1a5bbf; }
/* warm-up overlay */
.t.is-warm .t-top .t-pill, .t.is-warm .t-title, .t.is-warm .t-field { opacity: .26; }
.t.is-warm .t-top { opacity: 1; }
.t-warm { position: absolute; inset: 0; background: rgba(206, 216, 252, .78); z-index: 2; }
.t-warm h4 { position: absolute; left: 0; right: 0; top: 9.6cqw; margin: 0; text-align: center; font: italic 800 9.2cqw/1 var(--f-display); }
.t-warm__mid { position: absolute; left: 0; right: 0; top: 54.4cqw; display: grid; justify-items: center; }
.t-warm__mid small { font: 600 2.3cqw/1 var(--f-body); }
.t-warm__mid b { margin-top: 2cqw; font: 700 10cqw/1 var(--f-mono); letter-spacing: -.01em; }
.t-start { margin-top: 2.6cqw; height: 5.5cqw; padding: 0 3.4cqw; display: inline-flex; align-items: center; border: .25cqw solid #8d94a6; border-radius: 99px; background: #fff; font: 700 2.45cqw/1 var(--f-body); color: #1a5bbf; }
.t-warm__btns { position: absolute; left: 13.7cqw; right: 13.7cqw; top: 120.4cqw; display: grid; grid-template-columns: 1fr 1fr; gap: 2cqw; }
.t-btn { height: 5.6cqw; border: .25cqw solid #8d94a6 !important; border-radius: 99px; background: #fff !important; font: 500 2.55cqw/1 var(--f-body); color: #1d222c; }
.t-btn--blue { color: #1a5bbf !important; }
.t-btn:active { background: #eef1f8 !important; }
/* QR panel after Umpire login */
.t-qr { position: absolute; left: 13.6cqw; right: 13cqw; top: 110.8cqw; z-index: 4; display: grid; grid-template-columns: 23.2cqw 1fr; gap: 3.7cqw; align-items: start; }
.t-qr__box { display: block; width: 23.2cqw; height: 23.2cqw; background: #fff; padding: 2.6cqw; }
.t-qr__box .qr { display: block; line-height: 0; }
.t-qr p { margin: 2.4cqw 0 0; font: 400 2cqw/1.6 var(--f-body); color: #1d222c; }
.t-btn--wide { width: 100%; margin-top: 3cqw; font-size: 2.6cqw; }
/* match ended */
.t-ended { position: absolute; left: 10cqw; right: 10cqw; top: 40cqw; z-index: 3; background: #fff; border-radius: 3cqw; padding: 5cqw; text-align: center; box-shadow: 0 1cqw 4cqw rgba(0,0,0,.12); }
.t-ended small { font: 500 2.4cqw/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: #5a6070; }
.t-ended h4 { margin: 2cqw 0 0; font: italic 800 6cqw/1 var(--f-display); }
/* challenge review sheet avatars, as in the app */
.u-xava { width: 6.4cqw; height: 6.4cqw; border-radius: 50%; position: relative; display: block; }
.u-xava.A { background: #129ef2; } .u-xava.B { background: #ff8a00; }
.u-xava::before, .u-xava::after { content: ""; position: absolute; left: 50%; top: 14%; bottom: 14%; width: .5cqw; margin-left: -.25cqw; background: #0b1d33; border-radius: 1cqw; transform: rotate(45deg); }
.u-xava::after { transform: rotate(-45deg); }
.u-sheet__hd p { display: block !important; margin: 3.4cqw 0 0 !important; font: 400 3cqw/1.3 var(--f-body) !important; color: #1d222c; }

/* next thing to tap */
.hint-ring { animation: ring 1.6s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(0,227,132,.8); } 100% { box-shadow: 0 0 0 3.4cqw rgba(0,227,132,0); } }
.u-shot.hint-ring, .u-board__r.hint-ring, .u-menu .hint-ring, .u-radio.hint-ring { animation: none; outline: .7cqw solid #00c473; outline-offset: -.7cqw; }
.z-cam.hint-ring { animation: none; box-shadow: none; }
.z-cam.hint-ring .z-cam__frame { animation: ring 1.6s ease-out infinite; outline: .8cqw solid #00e384; }
.rail__thumb--ph { display: grid; place-items: center; border: 2px dashed #b8c3d9; background: repeating-linear-gradient(135deg, #f1f4fa 0 10px, #eaeef6 10px 20px); color: var(--primary); }
.rail__thumb--ph svg { width: 28px; height: 28px; }
[dir="rtl"] .hero__shade { background: linear-gradient(270deg, rgba(0,30,66,.92) 0%, rgba(0,30,66,.7) 48%, rgba(0,30,66,.15) 100%); }
[dir="rtl"] .hero__phone { right: auto; left: 6%; } [dir="rtl"] .hero__phone--back { left: 34%; }

/* Mission panel: grouped list beside the court (stacks above it on small screens) */
.sim { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; }
.sim__main { display: grid; gap: 16px; min-width: 0; }
.mpanel { background: #0a2d55; border-radius: 20px; padding: 18px; display: grid; gap: 14px; position: sticky; top: 84px; }
.mpanel__hd { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mpanel__hd h3 { color: #fff; font: italic 800 20px/1.1 var(--f-display); }
.mpanel__hd span { font: 600 13px/1 var(--f-mono); color: var(--inv-muted); white-space: nowrap; }
.mbar { height: 6px; border-radius: 6px; background: #163d6b; overflow: hidden; }
.mbar i { display: block; height: 100%; background: var(--green); border-radius: 6px; transition: width .3s ease; }
.mgroups { display: grid; gap: 14px; }
.mgroup { display: grid; gap: 6px; }
.mgroup__hd { display: flex; justify-content: space-between; align-items: baseline; padding-inline: 4px; }
.mgroup__hd b { font: 700 12px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--inv-primary); }
.mgroup__hd span { font: 600 12px/1 var(--f-mono); color: var(--inv-muted); }
.mgroup ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mbtn { width: 100%; display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; text-align: start; border: 0; border-radius: 12px; background: transparent; color: var(--inv-text); padding: 8px 10px; font: 600 14px/1.25 var(--f-body); }
.mbtn:hover { background: #123d6c; }
.mbtn[aria-current="true"] { background: #fff; color: var(--ink); }
.mbtn .tick { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #4f6f99; display: grid; place-items: center; font: 700 11px/1 var(--f-mono); }
.mbtn[aria-current="true"] .tick { border-color: var(--line); }
.mbtn.ok .tick { background: var(--green); border-color: var(--green); color: var(--navy); }
.mpanel .linkbtn { justify-self: start; font-size: 13px; }
.pill--green { background: var(--green); color: var(--navy); }
.sim__foot { font-size: 13px; color: var(--inv-muted); }
.mpanel__toggle { display: none; }
@media (max-width: 980px) {
  .sim { grid-template-columns: minmax(0, 1fr); }
  .mpanel { position: static; padding: 12px; gap: 12px; }
  .mpanel__toggle { display: grid; grid-template-columns: 26px 1fr auto 20px; gap: 10px; align-items: center; width: 100%; border: 0; border-radius: 12px; background: #fff; color: var(--ink); padding: 10px 12px; text-align: start; font: 600 15px/1.25 var(--f-body); }
  .mpanel__toggle .tick { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font: 700 11px/1 var(--f-mono); }
  .mpanel__toggle em { font: 600 12px/1 var(--f-mono); font-style: normal; color: var(--muted); }
  .mpanel__toggle svg { width: 20px; height: 20px; transition: transform .2s ease; }
  .mpanel.open .mpanel__toggle svg { transform: rotate(180deg); }
  .mpanel:not(.open) .mpanel__hd, .mpanel:not(.open) .mbar, .mpanel:not(.open) .mgroups, .mpanel:not(.open) .linkbtn { display: none; }
  .mgroups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .mgroups { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .mbtn { padding: 7px 8px; font-size: 13.5px; }
}

/* ===== Topic navigation ===== */
.tabs { display: flex; gap: 2px; margin-inline-start: auto; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 9px 14px; border-radius: 40px; white-space: nowrap; }
.tabs a:hover { background: #eceef3; }
.tabs a[aria-current="page"] { background: var(--ink); color: #fff; }
@media (max-width: 1060px) {
  .bar__in { flex-wrap: wrap; row-gap: 8px; }
  .tabs { order: 3; flex-basis: 100%; margin-inline: -4px; }
  .lang { margin-inline-start: auto; }
}
.topic { animation: tfade .25s ease; }
@keyframes tfade { from { opacity: .3; } to { opacity: 1; } }

/* Wide (desktop) media: browser frame + wider stage */
.frame-web { margin: 0; width: 100%; background: #e9ecf2; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.frame-web__bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #dfe3ea; }
.frame-web__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c3c9d4; display: block; }
.frame-web__bar span { margin-inline-start: 8px; font: 500 11.5px/1 var(--f-body); color: var(--muted); background: #f3f5f8; padding: 4px 10px; border-radius: 6px; }
.frame-web img, .frame-web video { width: 100%; height: auto; display: block; }
.viewer--wide { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.viewer--wide .stage { min-height: 0; }
@media (max-width: 900px) { .viewer--wide { grid-template-columns: minmax(0, 1fr); } }
.rail__thumb--web img { object-position: center; }
.codechip { display: block; font: 500 13.5px/1.4 var(--f-mono); background: #f1f4f9; border: 1px dashed #b8c3d9; color: var(--ink); padding: 10px 12px; border-radius: 10px; overflow-wrap: anywhere; }
.help__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .help__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .help__grid--3 { grid-template-columns: minmax(0, 1fr); } }
.tile__link { color: var(--primary); font-weight: 600; font-size: 14.5px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.tile__link svg { width: 16px; height: 16px; }
.hero__card--photo { grid-template-columns: minmax(0, 1fr); min-height: 460px; }
.hero__card--photo .hero__shade { background: linear-gradient(90deg, rgba(0,30,66,.9) 0%, rgba(0,30,66,.55) 50%, rgba(0,30,66,0) 85%); }
[dir="rtl"] .hero__card--photo .hero__shade { background: linear-gradient(270deg, rgba(0,30,66,.9) 0%, rgba(0,30,66,.55) 50%, rgba(0,30,66,0) 85%); }
.h1 { font: italic 800 clamp(32px, 4.6vw, 56px)/1.03 var(--f-display); letter-spacing: -.015em; color: var(--ink); }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 46ch; }
.kicker--dark { color: var(--primary); }

/* Organizer plan */
.plan { padding-block: 64px 0; display: grid; gap: 22px; }
.plan__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 900px) { .plan__grid { grid-template-columns: minmax(0, 1fr); } }
.phase { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; display: grid; gap: 12px; }
.phase__hd { display: flex; align-items: center; gap: 10px; }
.phase__n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 13px/1 var(--f-mono); }
.phase__hd b { font: italic 800 20px/1.1 var(--f-display); color: var(--ink); }
.phase ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.phase__item { display: grid; grid-template-columns: 26px 1fr 18px; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #f3f5f9; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.3; transition: background .15s ease; }
.phase__item:hover { background: var(--primary-soft); }
.phase__ic { width: 26px; height: 26px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.phase__ic svg { width: 16px; height: 16px; }
.phase__item > svg { width: 18px; height: 18px; color: var(--primary); }
[dir="rtl"] .phase__item > svg, [dir="rtl"] .tile__link svg { transform: scaleX(-1); }

/* Streaming hero */
.stream-hero { padding-block: 32px 0; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .stream-hero { grid-template-columns: minmax(0, 1fr); } }
.stream-hero__copy { display: grid; gap: 16px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.fact { display: inline-flex; align-items: center; gap: 8px; background: var(--card); box-shadow: var(--shadow); border-radius: 40px; padding: 8px 14px 8px 10px; font-weight: 600; font-size: 14px; color: var(--ink); }
.fact svg { width: 18px; height: 18px; color: var(--success); }

/* Players flow */
.flow5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .flow5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .flow5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fstep { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; display: grid; gap: 6px; padding-bottom: 16px; align-content: start; }
.fstep__img { aspect-ratio: 3 / 4; background: var(--app-bg); overflow: hidden; }
.fstep__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fstep__n { font: 700 13px/1 var(--f-mono); color: var(--primary); padding: 8px 14px 0; }
.fstep b { font: 700 15.5px/1.25 var(--f-display); color: var(--ink); padding-inline: 14px; }
.fstep > span:last-child { color: var(--muted); font-size: 14px; padding-inline: 14px; }

/* Coming soon */
.soon { padding-block: 24px 96px; }
.soon__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--card); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.soon__card img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.soon__copy { padding: clamp(24px, 4vw, 56px); display: grid; gap: 16px; align-content: center; justify-items: start; }
.soon__copy .ph__badge { position: static; }
@media (max-width: 800px) { .soon__card { grid-template-columns: minmax(0, 1fr); } .soon__card img { min-height: 220px; } }
.foot__contact { margin-inline-start: auto; font-size: 14px; color: var(--inv-muted); }
.lightbox--wide { max-width: min(94vw, 1200px); }
.lightbox--wide img { width: 100%; height: auto; }

.mnav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.mnav__b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1.5px solid #29466b; background: transparent; color: var(--inv-text); border-radius: 40px; padding: 9px 12px; font: 600 14px/1 var(--f-body); }
.mnav__b:hover:not(:disabled) { background: #123d6c; border-color: #4f6f99; }
.mnav__b--next { background: var(--green); border-color: var(--green); color: var(--navy); }
.mnav__b--next:hover:not(:disabled) { background: #3df0a3; border-color: #3df0a3; }
.mnav__b:disabled { opacity: .35; cursor: default; }
.mnav__b svg { width: 16px; height: 16px; flex: none; }
[dir="rtl"] .mnav__b svg { transform: scaleX(-1); }
.mnav__n { font: 600 13px/1 var(--f-mono); color: var(--inv-muted); white-space: nowrap; }

/* Organizer: either/or and optional steps */
.rail--grp { display: flex; gap: 14px; align-items: stretch; }
.rgrp { flex: var(--k, 1) 1 0; min-width: 0; display: grid; grid-template-rows: auto 1fr; gap: 8px; border-radius: 20px; }
.rgrp__hd { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; min-height: 22px; padding-inline: 4px; color: var(--ink); }
.rgrp__hd b { font: 700 13px/1 var(--f-mono); color: var(--primary); }
.rgrp__hd span { font: italic 800 15px/1.1 var(--f-display); }
.rgrp__hd em { font: 600 12px/1 var(--f-body); font-style: normal; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.rgrp__row { display: flex; gap: 8px; align-items: center; }
.rgrp__row > button { flex: 1 1 0; min-width: 0; align-self: stretch; }
.rgrp--choice { background: var(--primary-soft); padding: 10px; }
.rgrp--choice .rgrp__hd em { color: var(--primary); }
.rgrp__or { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 11px/1 var(--f-mono); text-transform: uppercase; margin-inline: -16px; z-index: 1; box-shadow: 0 0 0 4px var(--primary-soft); }
.rgrp--opt { border: 2px dashed #b8c3d9; padding: 8px; }
.rgrp--opt .rail__n { font-size: 16px; }
.rgrp--opt .rail button:not([aria-selected="true"]) .rail__thumb, .rgrp--opt button:not([aria-selected="true"]) .rail__thumb { opacity: .8; }
@media (max-width: 900px) {
  .rail--grp { overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 0 16px 6px; }
  .rgrp { flex: none; scroll-snap-align: start; }
  .rgrp__row > button { flex: 0 0 132px; }
}
.optsw { display: grid; gap: 8px; }
.optsw small { font: 600 12px/1 var(--f-body); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.optsw__row { display: flex; align-items: center; gap: 6px; background: #f1f4fa; border-radius: 40px; padding: 5px; }
.optsw__row button { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 8px; border: 0; border-radius: 40px; padding: 8px 12px 8px 8px; background: transparent; color: var(--ink); font: 600 14px/1.2 var(--f-body); text-align: start; cursor: pointer; }
.optsw__row button b { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font: 700 13px/1 var(--f-mono); }
.optsw__row button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.optsw__row button[aria-pressed="true"] b { background: var(--green); color: var(--navy); }
.optsw__or { flex: none; font: 700 11px/1 var(--f-mono); text-transform: uppercase; color: var(--muted); }
.optbadge { justify-self: start; display: inline-flex; align-items: center; border: 1.5px dashed #8d9bb8; color: var(--ink); border-radius: 40px; padding: 5px 12px; font: 700 12px/1 var(--f-body); text-transform: uppercase; letter-spacing: .06em; }
.when { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--warn-bg); color: var(--warn-ink); font-weight: 600; font-size: 15px; line-height: 1.4; }
.when svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.phase__or { display: flex; align-items: center; gap: 10px; padding-inline: 12px; color: var(--muted); font: 700 11px/1 var(--f-mono); text-transform: uppercase; }
.phase__or::before, .phase__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.phase__item--alt .phase__ic { background: var(--ink); color: #fff; font: 700 12px/1 var(--f-mono); }
.phase__item--opt { background: transparent; border: 1.5px dashed #c3ccdc; font-weight: 500; }
.phase__tag { font-style: normal; font: 700 10px/1 var(--f-body); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-inline-start: 6px; white-space: nowrap; }
.step > .optbadge, .step > .optsw { align-self: stretch; } .step > .optbadge { align-self: flex-start; }


.photo img[src*="/u-"] { object-position: 50% 0; }

/* ---------- Live streaming: narrated film, steps follow its chapters ---------- */
.stream-head { padding-block: 36px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 18px clamp(24px, 5vw, 72px); align-items: end; }
@media (max-width: 900px) { .stream-head { grid-template-columns: minmax(0, 1fr); align-items: start; } }
.stream-head__title, .stream-head__side { display: grid; gap: 14px; }
.stream-head .facts { margin-top: 0; }
.steps--film { padding-block: 28px 0; }
.viewer--film { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); }
@media (max-width: 1000px) { .viewer--film { grid-template-columns: minmax(0, 1fr); } }
.stage--film { min-height: 0; padding: clamp(14px, 2.2vw, 26px); gap: 12px; justify-items: stretch; }
.film-wrap { position: relative; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg); }
.film-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.film-meta { position: relative; margin: 0; font: 500 13px/1.3 var(--f-body); color: var(--inv-muted); }
.step--film { gap: 18px; padding: clamp(22px, 2.8vw, 40px); }
.step--film .step__big { font-size: clamp(48px, 5.4vw, 76px); }
.step__big--icon { width: 64px; height: 64px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.step__big--icon svg { width: 28px; height: 28px; margin-inline-start: 3px; }
.step--film .step__foot .pill { margin-inline-start: 4px; }
.rail--film button { position: relative; overflow: hidden; padding-bottom: 14px; }
.rail__thumb--film { position: relative; aspect-ratio: 5 / 3; }
.rail__thumb--film img { object-position: center; }
.rail__time { position: absolute; inset-inline-end: 6px; bottom: 6px; font: 700 11px/1 var(--f-mono); color: #fff; background: rgba(0, 30, 66, .82); padding: 4px 6px; border-radius: 6px; }
.rail__prog { position: absolute; inset-inline: 0; bottom: 0; height: 4px; }
.rail__prog i { display: block; height: 100%; width: 0; background: var(--green); transition: width .25s linear; }

/* ---------- Watch / Step by step switch (pages with a narrated film) ---------- */
.steps-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.modesw { display: inline-flex; gap: 4px; padding: 4px; background: #e8ecf4; border-radius: 40px; }
.modesw:empty { display: none; }
.modesw button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--ink); font: 600 15px/1 var(--f-body); padding: 11px 18px 11px 14px; border-radius: 40px; cursor: pointer; transition: background .15s ease, color .15s ease, box-shadow .15s ease; white-space: nowrap; }
.modesw button:hover { background: rgba(255, 255, 255, .7); }
.modesw button svg { width: 18px; height: 18px; flex: none; }
.modesw button small { font: 700 12px/1 var(--f-mono); color: var(--muted); }
.modesw button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.modesw button[aria-pressed="true"] small { color: var(--green); }
.modesw button:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
@media (max-width: 560px) { .steps-head { align-items: stretch; } .modesw { width: 100%; } .modesw button { flex: 1 1 0; justify-content: center; padding-inline: 10px; } }
.navbtn--replay { color: var(--primary); }
.navbtn--replay svg { width: 21px; height: 21px; }
[dir="rtl"] .navbtn--replay svg { transform: none; }

/* Stream upload address: stream URL + slash + stream key */
.addr { display: grid; gap: 12px; padding: 14px; border-radius: 16px; background: #f1f4f9; }
.addr__code { display: block; direction: ltr; text-align: left; unicode-bidi: isolate; font: 500 14px/1.6 var(--f-mono); color: var(--ink); background: #fff; border: 1px solid #dde3ee; border-radius: 10px; padding: 10px 12px; overflow-wrap: anywhere; }
.addr__code .u { color: var(--primary); }
.addr__code .s { display: inline-block; margin-inline: 3px; padding: 0 6px; border-radius: 5px; background: var(--ink); color: #fff; font-weight: 700; }
.addr__code .k { padding: 0 5px; border-radius: 5px; background: #fff1cc; color: #7a5600; letter-spacing: .02em; }
.addr__leg { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.addr__leg li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; line-height: 1.35; color: var(--muted); }
.addr__leg li::before { content: none !important; }
.addr .u { position: static; inset: auto; background: none; }   /* .u is also the practice court's screen class */
.addr__leg strong { color: var(--ink); font-weight: 700; }
.addr__leg i { flex: none; width: 12px; height: 12px; border-radius: 4px; }
.addr__leg i.u { background: var(--primary); } .addr__leg i.s { background: var(--ink); } .addr__leg i.k { background: #f5c242; }
.addr__code .nw { white-space: nowrap; }
.step li.is-on > span { color: var(--ink); font-weight: 600; }
.step li.is-on::before { background-color: var(--primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.step ul:has(li.is-on) li:not(.is-on) > span { color: var(--muted); }
.step li { transition: color .2s ease; }

/* ===================== Chair umpire: condensed layout (after the Zenniz App page) =====================
   Hero with the two-device rule → film with a compact chapter list → practice court → quiz → help rows. */
.sec-hd { display: grid; gap: 4px; }
[data-topic="umpire"] .hero__card { min-height: 480px; }
[data-topic="umpire"] .steps { padding-block: clamp(36px, 5vw, 56px) 0; gap: 16px; }
[data-topic="umpire"] .practice { margin-top: clamp(48px, 6vw, 72px); padding-block: clamp(40px, 5vw, 56px); }
[data-topic="umpire"] .practice__head { gap: 4px; margin-bottom: 18px; }
[data-topic="umpire"] .practice__head p { margin-top: 4px; }
[data-topic="umpire"] .quiz { padding-block: clamp(40px, 5vw, 56px) 0; gap: 16px; }
@media (max-width: 860px) { [data-topic="umpire"] .hero__devices { display: none; } }

/* the two-device rule in the hero */
.rule { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 600px; }
.rule li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; padding: 12px 14px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rule__ic { flex: none; width: 38px; height: 38px; border-radius: 11px; background: #fff; color: var(--ink); display: grid; place-items: center; }
.rule__ic svg { width: 22px; height: 22px; }
.rule__tx { display: grid; gap: 3px; font-size: 14.5px; line-height: 1.4; color: var(--inv-text); }
.rule__tx b { font: 700 15px/1.2 var(--f-display); color: #fff; }
.rule .ui { border-color: #fff; }
@media (max-width: 560px) { .rule { grid-template-columns: minmax(0, 1fr); } }

/* Watch mode: film with a compact chapter list beside it (below it on narrow screens) */
.tour { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 24px); align-items: start; }
.tour .film-wrap { border-radius: 16px; }
.chl { display: grid; gap: 8px; }
.chl__hint { font-size: 13.5px; color: var(--muted); }
.chl__intro { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.chl__intro li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--text); }
.chl__intro svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--primary); }
.chl__list { list-style: none; margin: 0; padding: 0; display: grid; border-radius: 14px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.chl__list > li + li { border-top: 1px solid var(--line); }
.chl__r { position: relative; width: 100%; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 8px; align-items: center; text-align: start; padding: 10px 14px; border: 0; background: var(--card); color: var(--ink); font: inherit; cursor: pointer; overflow: hidden; }
.chl__r:hover { background: var(--app-sheet); }
.chl__n { font: 700 12px/1 var(--f-mono); color: var(--primary); justify-self: start; }
.chl__t { font: 600 15px/1.25 var(--f-display); }
.chl__time { font: 600 12px/1 var(--f-mono); color: var(--muted); }
.chl__bar { position: absolute; inset: auto 0 0 0; height: 3px; }
.chl__bar i { display: block; height: 100%; width: 0; background: var(--primary); transition: width .25s linear; }
.chl__r[aria-current="step"] { background: var(--app-sheet); }
.chl__r[aria-current="step"] .chl__n { color: #fff; background: var(--primary); border-radius: 6px; padding: 3px 4px; }
.chl__body { display: none; background: var(--app-sheet); padding: 0 14px 14px 50px; }
.chl__r[aria-current="step"] + .chl__body { display: grid; gap: 10px; }
.chl__body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.chl__body li { position: relative; padding-inline-start: 16px; font-size: 14px; line-height: 1.45; color: var(--text); }
.chl__body li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); }
.chl__body .ui { font-size: .8em; }
.chl__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.chl__acts .pill { padding: 8px 14px; font-size: 14px; }
.chl__acts .pill svg { width: 16px; height: 16px; }
.chl__body .addr { margin: 0; }
.chl .film-meta { color: var(--muted); }
@media (max-width: 900px) {
  .tour { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .chl__hint { display: none; }
  .chl__r { padding: 9px 12px; }
  .chl__t { font-size: 14.5px; }
  .chl__body { padding: 0 12px 12px 48px; }
}

/* If something goes wrong: compact rows */

/* Practice court: mission bar above the court instead of a side panel */
.sim { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.mtabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.mtabs::-webkit-scrollbar { display: none; }
.mtab { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 40px; border: 1.5px solid #29466b; background: transparent; color: var(--inv-text); padding: 9px 16px; font: 600 14px/1.2 var(--f-body); white-space: nowrap; }
.mtab:hover { border-color: #4f6f99; }
.mtab em { font: 600 12px/1 var(--f-mono); font-style: normal; color: var(--inv-muted); }
.mtab.ok em { color: var(--green); }
.mtab[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--ink); }
.mtab[aria-pressed="true"] em { color: var(--muted); }
.coach { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 18px; align-items: center; padding: 14px 18px; }
.coach__top { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.coach__of { font: 600 12px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--inv-primary); }
.mdots { display: flex; gap: 6px; }
.mdot { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #4f6f99; background: transparent; color: var(--inv-text); display: grid; place-items: center; font: 700 11px/1 var(--f-mono); padding: 0; }
.mdot:hover { border-color: #fff; }
.mdot.ok { background: var(--green); border-color: var(--green); color: var(--navy); }
.mdot[aria-current="true"] { box-shadow: 0 0 0 3px #fff; border-color: #fff; }
.coach__m { grid-column: 1; font: italic 800 clamp(19px, 2vw, 23px)/1.15 var(--f-display); color: #fff; }
.coach__h { grid-column: 1; font-size: 15px; }
.coach > .pill, .coach__sit, .coach__fb { grid-column: 1; justify-self: start; }
.coach .mnav { grid-column: 2; grid-row: 2 / span 2; display: flex; gap: 8px; align-self: center; }
.mnav__b--next.is-go { box-shadow: 0 0 0 4px rgba(0, 227, 132, .25); }
.devsw { display: none; }
.sim__foot { align-items: center; }
.sim__foot .linkbtn { font-size: 13px; }
@media (max-width: 760px) {
  .mtab { flex: none; padding: 8px 14px; }
  .coach { grid-template-columns: minmax(0, 1fr); padding: 12px 14px; }
  .coach .mnav { grid-column: 1; grid-row: auto; justify-content: space-between; }
  .coach .mnav .mnav__b { flex: 1 1 0; }
  .devsw { display: flex; gap: 4px; padding: 4px; background: #0a2d55; border-radius: 40px; }
  .devsw button { position: relative; flex: 1 1 0; border: 0; border-radius: 40px; background: transparent; color: var(--inv-text); font: 600 14px/1 var(--f-body); padding: 10px 12px; }
  .devsw button[aria-pressed="true"] { background: #fff; color: var(--ink); }
  .devsw__dot { position: absolute; top: 7px; inset-inline-end: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: ring 1.6s ease-out infinite; }
  .court-stage[data-show="phone"] .dev-tab, .court-stage[data-show="tablet"] .dev-phone { display: none; }
  .court-stage .dev__label { display: none; }
}

/* topic bar on small screens: fade the side with more topics behind it */
.tabs--end { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.tabs--start { -webkit-mask-image: linear-gradient(270deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(270deg, #000 calc(100% - 48px), transparent); }
.tabs--start.tabs--end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
[dir="rtl"] .tabs--end:not(.tabs--start) { -webkit-mask-image: linear-gradient(270deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(270deg, #000 calc(100% - 48px), transparent); }
[dir="rtl"] .tabs--start:not(.tabs--end) { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
@media (max-width: 800px) { [data-topic="umpire"] .qcard__img { padding: 16px; } [data-topic="umpire"] .qcard__img img { max-height: 240px; } }
/* Step by step on phones: the instructions first, the screen below them */
@media (max-width: 900px) {
  [data-topic="umpire"] .viewer .step { order: -1; }
  [data-topic="umpire"] .viewer .stage { min-height: 0; }
  [data-topic="umpire"] .viewer .stage__media img, [data-topic="umpire"] .viewer .stage__media video { max-height: 56vh; width: auto; margin-inline: auto; }
}

/* review round 2 */
.frame-card { margin: 0; background: #fff; border-radius: 18px; padding: 6px; box-shadow: var(--shadow-lg); max-width: 460px; }
.frame-card img, .frame-card video { border-radius: 13px; width: 100%; height: auto; }
.chl__body .addr__leg li { padding-inline-start: 0; font-size: 13.5px; }
.chl__r:focus-visible { outline-offset: -3px; border-radius: 0; }
.practice :focus-visible { outline-color: #fff; }
.mtabs { padding: 4px; margin: -4px; }
.mtab:focus-visible, .mdot:focus-visible { outline-offset: 2px; }
.coach .mnav__b--next:not(.is-go):not(:disabled) { background: transparent; border-color: #4f6f99; color: var(--inv-text); }
.coach .mnav__b--next:not(.is-go):hover:not(:disabled) { background: #123d6c; }
.devsw button { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 760px) { .devsw button { font-size: 13.5px; padding-inline: 8px; } }

/* ===================== Chair umpire, round 3: fit the screen =====================
   Compact hero so the film shows on a laptop without scrolling; Step by step in the film's frame;
   practice court with all missions in one bar and the devices sized to the window height. */
[data-topic="umpire"] .hero__card.hero__card--compact { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 18px clamp(24px, 4vw, 56px); padding: clamp(20px, 2.6vw, 34px) clamp(22px, 4vw, 52px); align-items: center; }
.hero__card--compact .hero__shade { background: linear-gradient(90deg, rgba(0,30,66,.94) 0%, rgba(0,30,66,.84) 55%, rgba(0,30,66,.62) 100%); }
[dir="rtl"] .hero__card--compact .hero__shade { background: linear-gradient(270deg, rgba(0,30,66,.94) 0%, rgba(0,30,66,.84) 55%, rgba(0,30,66,.62) 100%); }
.hero__card--compact .hero__copy { padding: 0; gap: 12px; }
.hero__card--compact h1 { font-size: clamp(32px, 4vw, 52px); max-width: 15ch; }
.hero__card--compact .hero__cta { margin-top: 6px; }
.hero__card--compact .rule { position: relative; grid-template-columns: minmax(0, 1fr); margin: 0; max-width: none; gap: 8px; }
.hero__card--compact .rule li { padding: 11px 14px; }
@media (max-width: 860px) { [data-topic="umpire"] .hero__card.hero__card--compact { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 561px) and (max-width: 860px) { .hero__card--compact .rule { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
[data-topic="umpire"] .steps { padding-top: clamp(24px, 3vw, 36px); gap: 12px; }

/* Step by step on pages with a film: same frame as the film, chapter list beside it */
.stage--fit { aspect-ratio: 16 / 9; min-height: 0; padding: 12px; border-radius: 16px; overflow: hidden; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; justify-items: stretch; align-content: stretch; box-shadow: var(--shadow-lg); }
.stage--fit .stage__media { container-type: size; min-height: 0; height: 100%; }
.stage--fit .stage__media > figure { width: auto; max-width: 100%; }
.stage--fit .frame-phone { padding: 5px; border-radius: 20px; }
.stage--fit .frame-phone img, .stage--fit .frame-phone video { height: calc(100cqh - 10px); width: auto; max-width: 100%; object-fit: contain; border-radius: 16px; }
.stage--fit .frame-tab { padding: 7px; border-radius: 16px; }
.stage--fit .frame-tab img, .stage--fit .frame-tab video { height: calc(100cqh - 14px); width: auto; max-width: 100%; object-fit: contain; border-radius: 10px; }
.stage--fit .frame-card img, .stage--fit .frame-card video { height: calc(100cqh - 12px); width: auto; max-width: 100%; object-fit: contain; }
.stage--fit .frame-card { max-width: 100%; }
.stage--fit .frame-web { width: auto; max-width: 100%; }
.stage--fit .frame-web img, .stage--fit .frame-web video { width: auto; max-width: 100%; height: auto; max-height: calc(100cqh - 30px); }
.stage--fit .ph { height: 100cqh; width: auto; aspect-ratio: 4 / 5; min-height: 0; padding: 12px; }
.stage--fit .thumbs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; }
.stage--fit .thumbs button { flex: none; width: 42px; height: 42px; border-radius: 9px; }
.stage--fit .thumbs .play svg { width: 16px; height: 16px; }
@media (max-width: 600px) { .stage--fit { aspect-ratio: 1 / 1; } }
.chl__acts .navbtn { width: 38px; height: 38px; }
.chl__acts .navbtn svg { width: 17px; height: 17px; }
.chl__body li.is-on { color: var(--ink); font-weight: 600; }
.chl__body li.is-on::before { background: var(--green); box-shadow: 0 0 0 3px rgba(0, 227, 132, .25); }
.chl__body ul:has(li.is-on) li:not(.is-on) { color: var(--muted); }
.chl__body .calls { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.chl__body .calls div { background: #fff; padding: 7px 8px; }
.chl__body .calls span { font-size: 12px; }

/* Practice court: one mission bar, the coach beside the court, devices sized to the window */
[data-topic="umpire"] .practice__head { margin-bottom: 14px; }
.sim { gap: 10px; }
.mset { display: flex; align-items: center; gap: 8px 14px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: -4px; }
.mset::-webkit-scrollbar { display: none; }
.mgrp { flex: none; display: flex; align-items: center; gap: 8px; }
.mgrp + .mgrp { border-inline-start: 1px solid #29466b; padding-inline-start: 14px; }
.mgrp__t { border: 0; background: none; color: var(--inv-muted); font: 700 12px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; padding: 8px 2px; white-space: nowrap; cursor: pointer; }
.mgrp__t:hover { color: #fff; }
.mgrp.is-on .mgrp__t { color: #fff; }
.mgrp.ok .mgrp__t { color: var(--green); }
.mgrp__dots { display: flex; gap: 5px; }
.sim__row { display: grid; grid-template-columns: minmax(260px, 300px) minmax(0, 1fr); gap: 12px; align-items: stretch; }
.sim__row .coach { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; min-height: 0; }
.sim__row .coach__m { font-size: clamp(19px, 1.8vw, 22px); }
.sim__row .coach__h { font-size: 14.5px; line-height: 1.45; flex: none; }
.sim__row .coach__sit { display: grid; gap: 6px; }
.sim__row .coach__sit b { justify-self: start; }
.sim__row .coach .mnav { margin-top: auto; width: 100%; display: flex; gap: 8px; }
.sim__row .coach .mnav__b { flex: 1 1 0; }
.sim__row .sim__foot { display: grid; gap: 4px; justify-items: start; font-size: 12px; line-height: 1.4; }
.sim__court { min-width: 0; display: grid; gap: 10px; }
.sim__court .court-stage { padding: 14px 20px 18px; gap: clamp(16px, 3vw, 44px); flex-wrap: nowrap; align-items: flex-end; }
.sim__court .dev { gap: 8px; }
.sim__court .dev__label { font-size: 11px; }
.sim__court .dev-phone { flex: none; width: clamp(220px, calc((100svh - 214px) / 2.108 + 22px), 320px); max-width: 100%; }
.sim__court .dev-tab { flex: 0 1 auto; min-width: 200px; width: clamp(220px, calc((100svh - 240px) / 1.395 + 26px), 360px); }
@media (max-width: 980px) {
  .sim__row { grid-template-columns: minmax(0, 1fr); }
  .sim__row .coach .mnav { margin-top: 4px; }
}
@media (max-width: 760px) {
  .mgrp + .mgrp { padding-inline-start: 10px; }
  .sim__court .court-stage { padding: 14px; }
  .sim__court .dev-tab, .sim__court .dev-phone { width: min(320px, 100%); min-width: 0; }
}

/* round 3b: review fixes */
html { scroll-padding-top: 66px; }
@media (max-width: 1060px) { html { scroll-padding-top: 112px; } }
/* hero: one-line title, one-line device cards */
[data-topic="umpire"] .hero__card.hero__card--compact { padding: clamp(18px, 2vw, 24px) clamp(22px, 4vw, 52px); gap: 14px 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); }
.hero__card--compact h1 { font-size: clamp(30px, 3.1vw, 44px); max-width: none; }
.hero__card--compact .hero__copy { gap: 10px; }
.hero__card--compact .rule li { padding: 8px 12px; align-items: center; }
.hero__card--compact .rule__ic { width: 32px; height: 32px; border-radius: 9px; }
.hero__card--compact .rule__ic svg { width: 19px; height: 19px; }
.hero__card--compact .rule__tx { display: block; font-size: 14px; }
.hero__card--compact .rule__tx b { display: inline; margin-inline-end: 6px; font-size: 14.5px; }
@media (max-width: 560px) {
  .hero__card--compact .hero__cta { gap: 8px; }
  .hero__card--compact .hero__cta .pill { padding: 10px 14px; font-size: 14px; gap: 6px; }
  .hero__card--compact .hero__cta .pill svg { width: 15px; height: 15px; }
}
[data-topic="umpire"] .steps { padding-top: 22px; gap: 10px; }
[data-topic="umpire"] #steps-h { font-size: clamp(24px, 2.5vw, 32px); }
/* wide screens: the film (and Step by step) never taller than the window allows; the chapter list as tall as the film */
@media (min-width: 901px) {
  [data-topic="umpire"] .tour { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); }
  [data-topic="umpire"] .tour > .film-wrap, [data-topic="umpire"] .tour > .stage--fit { width: 100%; max-width: calc((100svh - 340px) * 16 / 9); justify-self: start; }
  /* The chapter list is exactly as tall as the film. Every chapter title stays in view; when the open chapter's
     instructions don't fit, they scroll inside the open chapter (its buttons stay pinned at the bottom). */
  .tour .chl { height: 0; min-height: 100%; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; scrollbar-width: thin; }
  .tour .chl > * { flex: none; }
  .tour .chl > .chl__list { flex: 0 1 auto; min-height: 0; display: flex; flex-direction: column; }
  .tour .chl__list > li { flex: none; }
  .tour .chl__list > li:has(> .chl__r[aria-current]) { flex: 0 1 auto; min-height: 108px; display: flex; flex-direction: column; }
  .tour .chl__list > li:has(> .chl__r[aria-current]) > .chl__r { flex: none; }
  .tour .chl__r[aria-current] + .chl__body { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(0, 30, 66, .25) transparent; }
  .tour .chl__body:has(> .chl__acts) { padding-bottom: 0; }
  .tour .chl__body > .chl__acts { position: sticky; bottom: 0; z-index: 1; padding-block: 8px 14px; background: var(--app-sheet); }
  .tour .chl__body.is-more > .chl__acts { box-shadow: 0 -10px 14px -8px rgba(0, 30, 66, .18); }
  .chl__more { display: none; width: 30px; height: 30px; flex: none; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(0, 30, 66, .25); cursor: pointer; pointer-events: auto; animation: chl-more 1.6s ease-in-out 2; }
  .chl__more svg { width: 17px; height: 17px; }
  .chl__more:hover { background: var(--ink); }
  .tour .chl__body.is-more .chl__more { display: grid; }
  .tour .chl__acts .chl__more { margin-inline-start: auto; align-self: center; }
  .tour .chl__fade { display: none; position: sticky; bottom: -14px; z-index: 1; height: 46px; margin: -46px -14px -14px -50px; padding: 0 14px 6px; justify-content: flex-end; align-items: flex-end; background: linear-gradient(transparent, var(--app-sheet) 72%); pointer-events: none; }
  .tour .chl__body.is-more > .chl__fade { display: flex; }
  @keyframes chl-more { 50% { transform: translateY(3px); } }
  @media (prefers-reduced-motion: reduce) { .chl__more { animation: none; } }
  /* short windows: tighter rows so all chapters and the open one's buttons still fit beside the film */
  @media (max-height: 820px) { .tour .chl__r { padding-block: 7px; } .tour .chl { gap: 6px; } .tour .chl__body > .chl__acts { padding-block: 6px 10px; } }
  .tour .chl__list { box-shadow: 0 0 0 1px var(--line); }
}
.stage__zoom { position: absolute; z-index: 2; top: 10px; inset-inline-end: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); }
.stage__zoom svg { width: 18px; height: 18px; }
.stage__zoom:hover { background: #fff; }
/* practice court: the result message stays in the coach column; devices use the height the window has */
.sim__row .coach { flex-wrap: nowrap; }
.sim__row .coach__fb { flex-basis: auto; align-self: stretch; }
.sim__court .dev-phone { width: clamp(220px, calc((100svh - 200px) / 2.108 + 22px), 340px); }
.sim__court .dev-tab { width: clamp(220px, calc((100svh - 222px) / 1.395 + 26px), 400px); }
@media (max-width: 760px) {
  .mset { flex-wrap: wrap; overflow: visible; }
  .mgrp + .mgrp { border: 0; padding-inline-start: 0; }
  .sim__court .court-stage { min-height: 690px; align-items: center; }
  .sim__court .dev-tab, .sim__court .dev-phone { width: min(320px, 100%); min-width: 0; }
}
.sim__row .coach .mnav__b { white-space: nowrap; padding-inline: 10px; font-size: 13.5px; }
@media (max-width: 860px) { [data-topic="umpire"] .hero__card.hero__card--compact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .mset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
  .mgrp { flex-direction: column; align-items: flex-start; gap: 4px; }
  .mgrp__t { padding: 2px 0; font-size: 11px; }
  .mdot { width: 30px; height: 30px; }
}

/* ===================== Tournament organizer (#organizer): same pattern as the umpire page ===================== */
[data-topic="organizer"] .hero__card.hero__card--compact { min-height: 0; padding: clamp(18px, 2vw, 24px) clamp(22px, 4vw, 52px); gap: 14px 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); align-items: center; }
@media (max-width: 860px) { [data-topic="organizer"] .hero__card.hero__card--compact { grid-template-columns: minmax(0, 1fr); } }
[data-topic="organizer"] .steps { padding-block: 22px 0; gap: 10px; }
[data-topic="organizer"] #org-steps-h { font-size: clamp(24px, 2.5vw, 32px); }
@media (min-width: 901px) {
  [data-topic="organizer"] .tour { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); }
  [data-topic="organizer"] .tour > .film-wrap, [data-topic="organizer"] .tour > .stage--fit { width: 100%; max-width: calc((100svh - 372px) * 16 / 9); justify-self: start; }
}
[data-topic="organizer"] .plan { padding-block: clamp(40px, 5vw, 56px) 0; gap: 16px; }
[data-topic="organizer"] .help { padding-block: clamp(40px, 5vw, 56px) clamp(48px, 6vw, 72px); gap: 16px; }
.hrow__link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-weight: 600; font-size: 14.5px; color: var(--primary); text-decoration: none; }
.hrow__link svg { width: 16px; height: 16px; }
.hrow__link:hover { text-decoration: underline; }
[dir="rtl"] .hrow__link svg { transform: scaleX(-1); }
/* captions on the silent organizer film: a little larger and clearer */
[data-viewer="organizer"] video.film::cue { font-size: 1.05em; background: rgba(0, 18, 40, .82); }
[data-topic="organizer"] .tour .chl { height: auto; min-height: 0; overflow: visible; }

/* ---------- Tournaments: checklist (tick items off; ticks stay in this browser) ---------- */
[data-topic="organizer"] .ck { padding-block: clamp(40px, 5vw, 56px) clamp(48px, 6vw, 72px); display: grid; gap: 16px; }
.ck__hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; }
.ck__tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ck__count { font: 600 13px/1 var(--f-mono); color: var(--muted); margin-inline-end: 4px; }
.ck__btn { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid rgba(0, 30, 66, .2); background: var(--card); color: var(--ink); border-radius: 40px; padding: 7px 13px; font: 600 13.5px/1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap; }
.ck__btn:hover { border-color: var(--ink); }
.ck__btn svg { width: 15px; height: 15px; }
.ck__btn.is-copied { border-color: var(--success); color: var(--success); }
.ck__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
@media (max-width: 1000px) { .ck__grid { grid-template-columns: minmax(0, 1fr); } }
.ck__col { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; display: grid; gap: 8px; }
.ck__colhd { display: flex; align-items: center; gap: 10px; padding: 2px 4px 4px; }
.ck__n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 13px/1 var(--f-mono); }
.ck__colhd b { font: italic 800 19px/1.1 var(--f-display); color: var(--ink); }
.ck__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ck__it { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 9px 8px; border-radius: 12px; }
.ck__it:hover { background: #f5f7fb; }
.ck__box { position: relative; width: 24px; height: 24px; margin-top: 1px; cursor: pointer; }
.ck__box input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ck__tick { position: absolute; inset: 0; border: 2px solid #b9c4dc; border-radius: 7px; background: #fff; display: grid; place-items: center; color: transparent; transition: background .15s ease, border-color .15s ease; }
.ck__tick svg { width: 16px; height: 16px; }
.ck__box input:checked + .ck__tick { background: var(--primary); border-color: var(--primary); color: #fff; }
.ck__box input:focus-visible + .ck__tick { outline: 3px solid var(--primary); outline-offset: 2px; }
.ck__tx { display: grid; gap: 3px; min-width: 0; }
.ck__tx b { font: 700 15px/1.3 var(--f-display); color: var(--ink); }
.ck__tx p { font-size: 14px; line-height: 1.45; color: var(--muted); }
.ck__tx .ui { font-size: .8em; }
.ck__it.is-done .ck__tx b { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(90, 98, 115, .5); }
.ck__opt { font-style: normal; font: 700 10px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: #eef1f6; border-radius: 40px; padding: 3px 7px; vertical-align: 2px; margin-inline-start: 4px; white-space: nowrap; }
.ck__links { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 3px; }
.ck__play { display: inline-flex; align-items: center; gap: 5px; font: 700 12px/1 var(--f-mono); color: var(--primary); background: var(--primary-soft); border-radius: 40px; padding: 5px 9px 5px 7px; text-decoration: none; }
.ck__play svg { width: 12px; height: 12px; }
.ck__play:hover { background: #c6d4fb; }
.ck__guide { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 13.5px; color: var(--primary); text-decoration: none; }
.ck__guide svg { width: 14px; height: 14px; }
.ck__guide:hover { text-decoration: underline; }
.ck__note { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 0; padding: 11px 12px; border-radius: 12px; background: var(--warn-bg); color: var(--warn-ink); font-size: 14px; line-height: 1.45; }
.ck__note svg { flex: none; width: 19px; height: 19px; margin-top: 1px; }
.ck__note b { color: #3b3d00; }
.ck__share { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; background: var(--primary-soft); border-radius: var(--r); padding: 16px 20px; }
.ck__sharetx { display: grid; gap: 2px; }
.ck__sharetx b { font: 700 16px/1.25 var(--f-display); color: var(--ink); }
.ck__sharetx span { font-size: 14px; color: var(--text); }
.ck__guides { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ck__g { display: flex; align-items: center; gap: 6px; }
.ck__g > span { font-weight: 600; font-size: 14.5px; color: var(--ink); margin-inline-end: 4px; }
[dir="rtl"] .ck__guide svg, [dir="rtl"] .ck__btn svg { transform: scaleX(-1); }
/* Print: just the checklist */
@media print {
  html.print-ck body > *:not(main), html.print-ck .bar, html.print-ck .foot, html.print-ck [data-topic] > section:not(.is-printing), html.print-ck .ck__tools, html.print-ck .ck__share, html.print-ck .ck__links { display: none !important; }
  html.print-ck .ck__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  html.print-ck .ck__col { box-shadow: none; border: 1px solid #ccd; break-inside: avoid; }
  html.print-ck .ck { padding: 0; }
}
.ck__box input { z-index: 1; }
.ck__tick { pointer-events: none; }
.ck__btn svg { flex: none; }
@media (max-width: 600px) {
  .ck__guides { display: grid; gap: 10px; width: 100%; }
  .ck__g { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; }
}

/* Tournaments hero: one column (title, one line, one button); "The quick tour" heading above the film */
[data-topic="organizer"] .hero__card.hero__card--compact { grid-template-columns: minmax(0, 1fr); }
[data-topic="organizer"] .hero__card--compact .hero__sub { font-size: clamp(15px, 1.4vw, 18px); max-width: 52ch; }
[data-topic="organizer"] .hero__card--compact .hero__shade { background: linear-gradient(90deg, rgba(0,30,66,.94) 0%, rgba(0,30,66,.8) 50%, rgba(0,30,66,.35) 100%); }
[dir="rtl"] [data-topic="organizer"] .hero__card--compact .hero__shade { background: linear-gradient(270deg, rgba(0,30,66,.94) 0%, rgba(0,30,66,.8) 50%, rgba(0,30,66,.35) 100%); }
@media (min-width: 861px) {
  [data-topic="organizer"] .hero__card--compact .hero__copy { grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; row-gap: 8px; align-items: center; }
  [data-topic="organizer"] .hero__card--compact .hero__copy > * { grid-column: 1; }
  [data-topic="organizer"] .hero__card--compact .hero__cta { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
}
@media (min-width: 901px) {
  [data-topic="organizer"] .tour > .film-wrap, [data-topic="organizer"] .tour > .stage--fit { max-width: calc((100svh - 342px) * 16 / 9); }
}

/* ---------- Live streaming: same layout as Tournaments ----------*/
[data-topic="streaming"] .hero__card.hero__card--compact { min-height: 0; padding: clamp(18px, 2vw, 24px) clamp(22px, 4vw, 52px); gap: 14px 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); align-items: center; }
@media (max-width: 860px) { [data-topic="streaming"] .hero__card.hero__card--compact { grid-template-columns: minmax(0, 1fr); } }
[data-topic="streaming"] .steps { padding-block: 22px 0; gap: 10px; }
[data-topic="streaming"] #st-steps-h { font-size: clamp(24px, 2.5vw, 32px); }
@media (min-width: 901px) {
  [data-topic="streaming"] .tour { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); }
  [data-topic="streaming"] .tour > .film-wrap, [data-topic="streaming"] .tour > .stage--fit { width: 100%; max-width: calc((100svh - 372px) * 16 / 9); justify-self: start; }
}
[data-topic="streaming"] .hero__card.hero__card--compact { grid-template-columns: minmax(0, 1fr); }
[data-topic="streaming"] .hero__card--compact .hero__sub { font-size: clamp(15px, 1.4vw, 18px); max-width: 52ch; }
[data-topic="streaming"] .hero__card--compact .hero__shade { background: linear-gradient(90deg, rgba(0,30,66,.94) 0%, rgba(0,30,66,.8) 50%, rgba(0,30,66,.35) 100%); }
[dir="rtl"] [data-topic="streaming"] .hero__card--compact .hero__shade { background: linear-gradient(270deg, rgba(0,30,66,.94) 0%, rgba(0,30,66,.8) 50%, rgba(0,30,66,.35) 100%); }
@media (min-width: 861px) {
  [data-topic="streaming"] .hero__card--compact .hero__copy { grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; row-gap: 8px; align-items: center; }
  [data-topic="streaming"] .hero__card--compact .hero__copy > * { grid-column: 1; }
  [data-topic="streaming"] .hero__card--compact .hero__cta { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
}
@media (min-width: 901px) {
  [data-topic="streaming"] .tour > .film-wrap, [data-topic="streaming"] .tour > .stage--fit { max-width: calc((100svh - 342px) * 16 / 9); }
}
.ck__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; }
@media (max-width: 1000px) { .ck__grid--2 { grid-template-columns: minmax(0, 1fr); } }
[data-topic="streaming"] .ck { padding-block: clamp(40px, 5vw, 56px) clamp(48px, 6vw, 72px); }
[data-topic="streaming"] .tour .chl { height: auto; min-height: 0; overflow: visible; }

/* ---------- Chair umpire: same hero and section pattern as Tournaments ----------
   One column (kicker, title, one line, one button on the right), a kicker above each section title. */
[data-topic="umpire"] .hero__card.hero__card--compact { min-height: 0; padding: clamp(18px, 2vw, 24px) clamp(22px, 4vw, 52px); gap: 14px 40px; grid-template-columns: minmax(0, 1fr); align-items: center; }
[data-topic="umpire"] .hero__card--compact .hero__sub { font-size: clamp(15px, 1.4vw, 18px); max-width: 52ch; }
[data-topic="umpire"] .hero__sub .ui { border-color: #fff; }
[data-topic="umpire"] .hero__card--compact .hero__shade { background: linear-gradient(90deg, rgba(0,30,66,.94) 0%, rgba(0,30,66,.8) 50%, rgba(0,30,66,.35) 100%); }
[dir="rtl"] [data-topic="umpire"] .hero__card--compact .hero__shade { background: linear-gradient(270deg, rgba(0,30,66,.94) 0%, rgba(0,30,66,.8) 50%, rgba(0,30,66,.35) 100%); }
[data-topic="umpire"] .hero__img { object-position: 50% 28%; }
[dir="rtl"] [data-topic="umpire"] .hero__img { transform: scaleX(-1); }
@media (min-width: 861px) {
  [data-topic="umpire"] .hero__card--compact .hero__copy { grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; row-gap: 8px; align-items: center; }
  [data-topic="umpire"] .hero__card--compact .hero__copy > * { grid-column: 1; }
  [data-topic="umpire"] .hero__card--compact .hero__cta { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
}
.pill__dur { font: 700 12px/1 var(--f-mono); color: var(--primary); }
.pill__dur:empty { display: none; }
/* order: steps, quick fixes, practice court, quiz */
[data-topic="umpire"] .help { padding-block: clamp(36px, 4.5vw, 52px) 0; }
[data-topic="umpire"] .quiz { padding-block: clamp(40px, 5vw, 56px) clamp(48px, 6vw, 72px); }
/* the narration line only shows when the film is not in the page language */
.film-meta:empty { display: none; }
/* keyboard focus stays visible on the navy heroes */
.hero :focus-visible { outline-color: #fff; }
/* arrows point the reading direction */
.arr { display: inline-block; }
[dir="rtl"] .arr, [dir="rtl"] .pill--ghost-navy svg { transform: scaleX(-1); }
@media (max-width: 760px) {
  /* practice court on phones: the stage fits the device, so the instruction and the screen share one view */
  .sim__court .court-stage { min-height: 0; }
}
@media (max-width: 800px) {
  /* quiz on phones: question and answers on one screen */
  [data-topic="umpire"] .qcard__img { display: none; }
}
/* desktop practice court: Previous and Next sit right under the mission, not at the bottom of the column */
.sim__row .coach .mnav { margin-top: 14px; }

/* printable PDF button + popover (header) */
.pdfdl { position: relative; margin-inline-start: auto; }
.tabs + .pdfdl { margin-inline-start: 0; }
.pdfdl__btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 14px; font-weight: 600; line-height: 1; color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-radius: 40px; padding: 7px 12px; cursor: pointer; }
.pdfdl__btn svg { width: 17px; height: 17px; }
.pdfdl__btn:hover, .pdfdl__btn[aria-expanded="true"] { background: var(--primary-soft); }
.pdfdl__pop { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); width: 290px; background: #fff; border-radius: 20px; padding: 18px; box-shadow: 0 18px 50px rgba(0,30,66,.18), 0 0 0 1px var(--line); z-index: 30; }
.pdfdl__k { font-size: 13px; font-weight: 600; color: var(--primary); margin: 0; }
.pdfdl__name { font-family: var(--f-display); font-weight: 800; font-style: italic; font-size: 20px; line-height: 1.15; color: var(--ink); margin: 4px 0 6px; }
:lang(ar) .pdfdl__name, :lang(ko) .pdfdl__name { font-style: normal; }
.pdfdl__sub { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.pdfdl__lang { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.pdfdl__lang select { font: inherit; font-weight: 500; padding: 9px 10px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.pdfdl__get { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: #fff; border-radius: 40px; padding: 11px 16px; font-weight: 600; text-decoration: none; }
.pdfdl__get svg { width: 18px; height: 18px; }
.pdfdl__get:hover { background: var(--primary); }
.pdfdl__meta { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
@media (max-width: 1060px) { .pdfdl { margin-inline-start: auto; } .pdfdl + .lang { margin-inline-start: 0; } }
@media (max-width: 520px) { .pdfdl__btn span { display: none; } .pdfdl__btn { padding: 8px; } .pdfdl__pop { position: fixed; inset-inline: 12px; top: 64px; width: auto; } }
@media print { .pdfdl { display: none; } }

/* Practice court: the break timer is a button in the practice copy (mission "Time the breaks"); both + buttons can be pointed at together */
button.u-clock { background: none; border: 0; color: inherit; font: inherit; padding: 1cqw 2.6cqw; border-radius: 99px; cursor: pointer; }
.u-cards.hint-ring { border-radius: 4.5cqw; }

/* --- Zenniz App profile (Profile > Account > Try umpire playground) and the playground --- */
.scr .z-me { cursor: pointer; background: #e4e9f2; color: #1b2a44; }
.z-prof { position: absolute; inset: 0; background: #fafafd; padding-top: 8cqw; display: flex; flex-direction: column; }
.z-prof__top { height: 13.9cqw; display: grid; grid-template-columns: 11cqw 1fr 11cqw; align-items: center; padding: 0 1.8cqw; }
.z-prof__top h4 { margin: 0; text-align: center; font: italic 800 5.6cqw/1 var(--f-display); }
.z-out { width: 5.4cqw; height: 5.4cqw; justify-self: center; color: #0b1d33; }
.z-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: .21cqw solid #dfe2ea; }
.scr .z-tabs button { height: 11cqw; font: 500 3.4cqw/1 var(--f-body); color: #2a2f3a; position: relative; }
.scr .z-tabs button[aria-selected="true"] { color: #1a5bbf; background: #eef2fa; }
.z-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 50%; bottom: -.2cqw; width: 14cqw; height: .7cqw; border-radius: .7cqw .7cqw 0 0; background: #1a5bbf; transform: translateX(-50%); }
.z-prof__body { flex: 1; min-height: 0; overflow: hidden; padding: 3cqw 4.4cqw 0; display: flex; flex-direction: column; }
.z-id { display: flex; align-items: center; gap: 4cqw; padding: 2cqw 0 4cqw; }
.z-me--lg { width: 17cqw !important; height: 17cqw !important; font-size: 5cqw !important; box-shadow: none !important; }
.z-id b { display: block; font: 600 3.4cqw/1.2 var(--f-display); }
.z-id small { display: block; font: 400 2.7cqw/1.4 var(--f-body); color: #3b4252; }
.z-prem { display: inline-block; margin-top: 1.4cqw; background: #1a5bbf; color: #fff; font: 600 2.6cqw/1 var(--f-body); padding: 1.3cqw 2.4cqw; border-radius: 99px; }
.z-sub { display: flex; justify-content: space-between; align-items: center; height: 9.4cqw; border: .28cqw solid #7d828d; border-radius: 99px; padding: 0 4.4cqw; font: 500 2.9cqw/1 var(--f-body); letter-spacing: .02em; margin-bottom: 2cqw; }
.z-sub i { font-size: 5cqw; line-height: 1; }
.z-row { display: flex; justify-content: space-between; align-items: center; min-height: 15cqw; padding: 1cqw 0; }
.z-row small { display: block; font: 500 2.6cqw/1.2 var(--f-body); letter-spacing: .03em; color: #3c4250; }
.z-row span { display: block; font: 400 3.4cqw/1.35 var(--f-body); color: #15181e; }
.z-row--chk span { font-size: 3.4cqw; }
.z-pen { width: 5cqw; height: 5cqw; color: #3c4250; flex: none; }
.z-chk { width: 4.6cqw; height: 4.6cqw; border: .35cqw solid #3c4250; border-radius: .6cqw; flex: none; }
.z-acts { margin-top: auto; padding-bottom: 6cqw; display: grid; gap: 2.8cqw; justify-items: stretch; text-align: center; }
.scr .z-pill { height: 9.6cqw; border-radius: 99px; font: 500 3.2cqw/1 var(--f-body); letter-spacing: .01em; }
.scr .z-pill--blue { background: #cfe2fb; color: #0e2a57; }
.scr .z-pill--blue:active { background: #b9d4f6; }
.scr .z-pill--red { background: #fbd6d6; color: #4a0f12; }
.z-acts small { font: 400 2.3cqw/1 var(--f-body); color: #6b7080; }
.u-pgtag { position: absolute; left: -9cqw; bottom: 9cqw; z-index: 30; width: 36cqw; transform: rotate(45deg); background: rgba(176, 32, 44, .9); color: #fff; text-align: center; font: 700 2.4cqw/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: 1.2cqw 0; pointer-events: none; }
.t-off { display: grid; place-items: center; background: #eef0f5; }
.scr .t-off__msg { display: grid; gap: 1.6cqw; max-width: 60cqw; text-align: center; padding: 4cqw 5cqw; border-radius: 3cqw; background: #fff; box-shadow: 0 .6cqw 2cqw rgba(11,29,51,.08); }
.t-off__msg b { font: 600 3cqw/1.2 var(--f-display); }
.t-off__msg span { font: 400 2.1cqw/1.5 var(--f-body); color: #3c4250; }
.practice__head .practice__app { font-size: 15px; line-height: 1.7; max-width: 75ch; }

/* ---------- Practice court: the step list (like a film's chapter list) beside the court ----------
   Every step title stays in view; the open step expands in place with its instructions, situation, feedback and
   Back / Next. Phones: the open step's card above the court, the list of steps under it. */
.sim__row { align-items: stretch; grid-template-columns: minmax(270px, 330px) minmax(0, 1fr); }
.sim__row .coach { display: flex; flex-direction: column; gap: 10px; align-items: stretch; padding: 0; background: none; border-radius: 0; min-height: 0; }
.coach .slist { flex: 1 1 0; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #2b4c78 transparent; display: grid; align-content: start; gap: 12px; padding-inline-end: 4px; }
.slist__g { display: grid; gap: 4px; }
.slist__gt { font: 600 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--inv-primary); padding: 2px 4px 4px; }
.slist ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.slist__r { width: 100%; display: flex; align-items: center; gap: 10px; text-align: start; background: #0a2d55; border: 1.5px solid transparent; border-radius: 12px; padding: 8px 10px; color: var(--inv-text); font: 600 14px/1.25 var(--f-body); cursor: pointer; }
.slist__r:hover { background: #0e3767; }
.slist__r i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #4f6f99; font: 700 11px/1 var(--f-mono); font-style: normal; color: var(--inv-text); }
.slist__r.ok i { background: var(--green); border-color: var(--green); color: var(--navy); }
.slist__r.is-on { background: #fff; color: var(--ink); border-color: #fff; }
.slist__r.is-on i { border-color: var(--ink); color: var(--ink); }
.slist__r.is-on.ok i { border-color: var(--green); }
.slist__open { margin: 4px 0 6px; }
.coach__card { display: grid; gap: 8px; background: #0a2d55; border-radius: 14px; padding: 14px 16px; }
.coach__card .coach__m { font: italic 800 19px/1.2 var(--f-display); color: #fff; }
:lang(ar) .coach__card .coach__m, :lang(ko) .coach__card .coach__m { font-style: normal; }
.coach__card .coach__h { margin: 0; color: var(--inv-text); font-size: 14.5px; line-height: 1.45; }
.coach__ol { margin: 0; padding-inline-start: 20px; display: grid; gap: 4px; color: var(--inv-text); font-size: 14.5px; line-height: 1.4; }
.coach__ol li::marker { color: var(--inv-primary); font-weight: 700; }
.coach__card .coach__sit { display: grid; gap: 6px; font-size: 14px; }
.coach__card .coach__sit b { justify-self: start; }
.coach__card .coach__fb { font-size: 14px; }
.coach__card .mnav { display: flex; gap: 8px; margin-top: 4px; }
.coach__card .mnav__b { flex: 1 1 0; white-space: nowrap; padding: 8px 10px; font-size: 13.5px; }
.sim__ready { display: grid; gap: 6px; justify-items: start; background: rgba(0, 227, 132, .14); border: 1.5px solid rgba(0, 227, 132, .5); border-radius: 14px; padding: 14px 16px; }
.sim__ready b { font: italic 800 20px/1.15 var(--f-display); color: #fff; }
.sim__ready span { color: var(--inv-text); font-size: 14px; line-height: 1.45; }
.sim__ready .linkbtn { color: #8ff5c4; font-size: 13.5px; }
.coach .sim__foot { margin: 2px 4px 0; }
.coach-now { display: none; }
@media (max-width: 980px) {
  .coach-now { display: grid; gap: 10px; order: 1; }
  .sim__row .sim__court { order: 2; }
  .sim__row .coach { order: 3; }
  .coach .sim__ready { display: none; }
  .coach .slist { flex: none; overflow: visible; padding: 0; }
  .slist__open { display: none; }
}
/* the open step's card sits inside the list: one column, whatever the older coach rules say */
.coach__card > * { grid-column: 1 / -1 !important; grid-row: auto !important; justify-self: stretch; }
.coach__card > .coach__sit, .coach__card > .coach__fb { justify-self: start; }
.sim__row .coach .coach__card .mnav { margin-top: 4px; width: auto; display: flex; }
.coach__card .coach__of { font-size: 11.5px; }
.slist .coach__ol { list-style: decimal; padding-inline-start: 20px; gap: 4px; }
