/* UMPIR.ES — стили сайта.
   Вынесены из index.html 23.11.2026 (решение владельца): инлайновые 53 КБ
   дублировались на каждой из 2428 сгенерированных страниц, и ни одна не
   брала их из кэша соседней. Порядок правил сохранён: сначала основной
   блок, затем дополнения. Критические 372 байта остались в <head>
   index.html — они рисуют скелет до загрузки этого файла. */
/* Layout: cyan rounded top bar (from the owner's wireframe), single column up to 1480px wide, cards only where an object is meant (search, pyramid, profile). Badge colours (white / blue / gold) carry meaning everywhere. */
:root{
  --bg:#f3f6f7; --surface:#ffffff; --sunk:#e9eff1; --ink:#0c1d26; --muted:#566a75; --line:#d5dfe3; --edge:rgba(12,29,38,.20);
  --brand:#38dfea; --on-brand:#062a31; --brand-ink:#0b6b75;
  --wb:#ffffff; --wb-line:#9fb0b8; --bb:#2459c9; --gb:#c69523; --gb-ink:#8a6410; --gb-soft:#f6ecd2; --bb-soft:#e0e9fb;
  --focus:#0b6b75;
  --g-f:#f19cbb; --g-m:#56b4e9;
  --map-sea:#eaf1f3; --map-border:#ffffff; --ch0:#d9e2e6; --ch1:#b9ecf0; --ch2:#62cfd9; --ch3:#1b95a2; --ch4:#0a5862;
  --f-display:"Fira Sans Extra Condensed","Arial Narrow",system-ui,sans-serif;
  --f-body:"Golos Text",system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-mono:"JetBrains Mono",ui-monospace,Menlo,Consolas,monospace;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#0a1418; --surface:#101e24; --sunk:#16262d; --ink:#e4eef1; --muted:#8fa3ad; --line:#223740; --edge:rgba(0,0,0,.55);
  --brand:#38dfea; --on-brand:#062a31; --brand-ink:#7fe9f1;
  --wb:#dfe7ea; --wb-line:#7d919a; --bb:#6c97ff; --gb:#e3b54e; --gb-ink:#e3b54e; --gb-soft:#3a3018; --bb-soft:#1b2a4a; --focus:#7fe9f1; --g-f:#f4a7c4; --g-m:#6cc2f0;
  --map-sea:#0d1a20; --map-border:#0a1418; --ch0:#1f3038; --ch1:#1c4b54; --ch2:#227984; --ch3:#33b6c3; --ch4:#9af0f6; color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#0a1418; --surface:#101e24; --sunk:#16262d; --ink:#e4eef1; --muted:#8fa3ad; --line:#223740; --edge:rgba(0,0,0,.55);
  --brand:#38dfea; --on-brand:#062a31; --brand-ink:#7fe9f1;
  --wb:#dfe7ea; --wb-line:#7d919a; --bb:#6c97ff; --gb:#e3b54e; --gb-ink:#e3b54e; --gb-soft:#3a3018; --bb-soft:#1b2a4a; --focus:#7fe9f1; --g-f:#f4a7c4; --g-m:#6cc2f0;
  --map-sea:#0d1a20; --map-border:#0a1418; --ch0:#1f3038; --ch1:#1c4b54; --ch2:#227984; --ch3:#33b6c3; --ch4:#9af0f6; color-scheme:dark}
*{box-sizing:border-box}
body{background:var(--bg);color:var(--ink);font-family:var(--f-body);font-size:15px;line-height:1.5;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-block:12px 40px}
a{color:inherit}
/* кнопка, выглядящая как ссылка в тексте: «Contribute» в подписи под «Latest tournaments» */
.alink{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;text-decoration:underline dashed;text-decoration-thickness:1px;text-underline-offset:3px}
.alink:hover{color:var(--ink)}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:4px}
/* Ширина рабочей области (владелец 25.11.2026): 1180 было подогнано под 1280 CSS-px
   (Ретина 2560×1664 в масштабе 2×). На экране 1920 без Ретины оставалось по 370 px
   пустого поля с каждой стороны. Теперь колонка растёт вместе с окном, сохраняя по
   90 px поля сверх 16 px отступа body, и упирается в 1480: при 1280 — прежние 1180,
   при 1440 — 1260, при 1600 — 1420, при 1920 и шире — 1480. Потолок парный с
   потолком H1 в fitH1() (app.js): без него заголовок рос бы вместе с колонкой. */
.wrap{max-width:clamp(1180px,calc(100vw - 180px),1480px);margin:0 auto}
.num,.mono{font-family:var(--f-mono);font-variant-numeric:tabular-nums}
h1,h2,h3{font-family:var(--f-display);font-weight:600;line-height:1.05;margin:0;text-wrap:balance;letter-spacing:.005em}
/* one H1 size on every page; sized so the home line "Share your experience." nearly fills the left hero card (curator 01.11.2026) */
:root{--h1fs:min(33.9px,calc(3.296vw - 6.56px))}
@media (max-width:900px){:root{--h1fs:min(48px,calc(8.57vw - 8.4px))}}
h1{font-size:var(--h1fs);line-height:1.25}
h2{font-size:28px}
h3{font-size:20px}
.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:600}
.eyebrow.eb-blue{color:var(--ch3)} /* home hero eyebrow in the site cyan (curator 18.11.2026) */
.muted{color:var(--muted)}
/* top bar */
.bar{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:var(--brand);color:var(--on-brand);border-radius:16px;display:flex;align-items:center;gap:20px;padding:10px 14px 10px 20px;flex-wrap:wrap}
/* Логотип — файл владельца logo.svg (umpires-world-logo.svg, 25.11.2026), положен в корень
   как есть: контуры, без текста и без шрифта. Цвета внутри файла — #062a31 и #1e838c,
   те же, что были у слов раньше. Размер задаётся высотой, ширина по пропорции файла.
   22 px — высота прежнего логотипа: Fjalla One 26 px давал 22,07 px заглавных, а контуры в
   файле заполняют viewBox вплотную, поэтому высота картинки и есть высота букв. На мобильном
   17 px — те же 22 px в пропорции прежних 20 px шрифта. */
.logo{display:inline-flex;align-items:center;text-decoration:none;line-height:0}
.logoimg{display:block;height:22px;width:auto}
.nav{display:flex;gap:4px;flex-wrap:wrap;flex:1;justify-content:center}
.nav a{text-decoration:none;padding:6px 10px;border-radius:8px;font-weight:500;font-size:14px}
.nav a:hover{background:rgba(6,42,49,.1)}
.nav a[aria-current="page"]{background:var(--on-brand);color:var(--brand)}
.nav .soon{opacity:.6}
/* "TABLE TENNIS | Umpires Referees Tournaments" — the sport named before the first menu group; hidden in the mobile menu (curator 18.11.2026) */
.nav .navtt{display:inline-flex;align-items:center;align-self:center;font-size:13px;font-weight:400;letter-spacing:.06em;text-transform:uppercase;color:var(--on-brand);opacity:.62;margin-right:-6.25px;line-height:1.6;white-space:nowrap;transform:translateY(.5px)}
.nav .navtt::after{content:"";flex:none;width:1px;height:22px;background:currentColor;opacity:.55;margin-left:7.5px;transform:translateY(-.5px)} /* divider after TABLE TENNIS, drawn to the curator's mock-up (18.11.2026): a thin line in the colour of TABLE TENNIS (currentColor under the same opacity, then .55 more so that a solid 1px line reads as light as the thin, antialiased strokes of the letters — measured on the mock-up), about twice the capital height, its middle level with the middle of the menu items, ~8.5px of air on each side; TABLE TENNIS itself is nudged .5px down to sit on the same middle */
.nav .navtt::after{transition:opacity .15s}
.nav .navtt:has(+ .dd .ddb:hover)::after,.nav .navtt:has(+ .dd .ddb[aria-expanded="true"])::after{opacity:0} /* the divider disappears while Umpires is hovered or its menu is open (curator 18.11.2026) */
@media (max-width:760px){.nav .navtt{display:none}}
/* mobile: "UMPIR.ES | TABLE TENNIS" — the menu's TABLE TENNIS moves next to the logo, with the same thin divider (curator 18.11.2026) */
.logott{display:none}
@media (max-width:760px){
  .logott{display:inline-flex;align-items:center;margin-left:-20px;font-size:13px;font-weight:400;letter-spacing:.06em;text-transform:uppercase;color:var(--on-brand);opacity:.62;line-height:1.6;white-space:nowrap}
  .logott::before{content:"";flex:none;width:1px;height:22px;background:currentColor;opacity:.55;margin:0 9px}
  .bar{column-gap:12px}.logott{margin-left:-12px} /* logo, TABLE TENNIS and the hamburger fit one row down to 320px */
  .bar .baract{display:none}.bar .burger{margin-left:auto} /* the header's buttons are empty on mobile: Sign in/out is in the menu panel, "That's me" is never in the header */
}
@media (max-width:350px){.logoimg{height:17px}.logott{font-size:11px}.logott::before{height:19px;margin:0 7px}}
/* mobile: menu items hide under a hamburger; the panel opens below the logo row and closes on navigation, Escape or a tap outside (curator 13.11.2026) */
.burger{display:none;order:2;align-items:center;justify-content:center;width:40px;height:40px;margin:-4px -6px -4px 0;padding:0;border:0;border-radius:10px;background:none;color:var(--on-brand);cursor:pointer}
.burger:hover{background:rgba(6,42,49,.1)}
.burger svg path{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round} /* one colour for all three lines (whole-pixel rows), a plain symmetric cross when open */
.burger .hbx,.bar.open .burger .hbi{display:none}.bar.open .burger .hbx{display:block}
@media (max-width:760px){
  .bar .burger{display:inline-flex}
  .baract{margin-left:auto}
  .bar .nav{display:none;order:3;flex-basis:100%;flex-direction:column;align-items:stretch;gap:2px;padding:6px 0 4px;border-top:1px solid rgba(6,42,49,.15)}
  .bar.open .nav{display:flex}
  .bar .nav a,.bar .nav .ddb{padding:10px 10px;font-size:16px}
  .bar .nav .navc{display:contents} /* mobile menu: every item on its own row */
  .bar .nav .dd{display:block}.bar .nav .ddb{width:100%;justify-content:space-between}
  .bar .nav .ddm{position:static;min-width:0;background:none;color:inherit;border:0;box-shadow:none;padding:0 0 4px 14px}
  .bar .nav .ddm::before{display:none}.bar .nav .ddm a{color:inherit}.bar .nav .ddm a:hover,.bar .nav .ddm a[aria-current="page"]{background:rgba(6,42,49,.1);color:inherit}
  .bar .nav .ddm .ddall{border-top:0;margin-top:0;padding-top:8px}
  .bar .nav .ddm .ddnet{background:rgba(6,42,49,.1)}
  .bar .thsw{align-self:flex-start;margin:8px 0 4px 10px}
  .bar #authBtn{display:none} /* on mobile Sign in/out lives in the menu panel, bottom right, level with the theme switch (curator 18.11.2026) */
  .bar .navft{display:flex;align-items:center;justify-content:space-between;margin:8px 10px 4px 10px}
  .bar .navft .thsw{margin:0;align-self:center}
  .bar .navft .navauth{display:inline-block}
  .bar .navft .navauth[hidden]{display:none}
}
/* compact theme switch: light = pale track, sun on the left, dark knob on the right; dark = black track, white knob on the left, moon on the right */
.thsw{position:relative;align-self:center;flex:none;width:44px;height:24px;margin-left:10px;padding:0;border-radius:12px;border:1px solid rgba(0,0,0,.12);background:#f1f2f3;box-shadow:inset 0 1px 2px rgba(0,0,0,.12);cursor:pointer;transition:background .2s,border-color .2s}
.thsw .kn{position:absolute;top:2px;left:22px;width:18px;height:18px;border-radius:50%;background:#0b6b75;box-shadow:0 1px 2px rgba(0,0,0,.35);transition:left .2s,background .2s}
.thsw svg{position:absolute;top:5px;width:12px;height:12px}
.thsw .su{left:5px;color:#2a2c2f}.thsw .mo{right:5px;color:#fff;display:none}
.thsw.dk{background:#0b6b75;border-color:#085a63}.thsw.dk .kn{left:2px;background:#fff} /* dark teal = --brand-ink of the light theme (curator 13.11.2026) */.thsw.dk .su{display:none}.thsw.dk .mo{display:block}
.thsw:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.thsw,.thsw .kn{transition:none}}
/* the first four menu items sit midway between the logo and Umpire network, whatever the width: equal auto margins on both sides;
   the extra 16px before Umpire network matches the 20px bar gap after the logo (curator 13.11.2026) */
.nav .navc{display:flex;gap:4px;flex-wrap:wrap;margin:0 auto}
.nav .dd{position:relative;display:inline-flex}
.nav .ddb{font:inherit;font-weight:500;font-size:14px;color:inherit;background:none;border:0;padding:6px 10px;border-radius:8px;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.nav .ddb:hover,.nav .ddb[aria-expanded="true"]{background:rgba(6,42,49,.1)}
.nav .ddb[aria-current="page"]{background:var(--on-brand);color:var(--brand)}
.nav .ddb svg{transition:transform .15s}
.nav .ddb[aria-expanded="true"] svg{transform:rotate(180deg)}
.nav .ddm{position:absolute;top:calc(100% + 6px);left:0;z-index:50;min-width:200px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.14);padding:6px;display:flex;flex-direction:column;gap:2px}
.nav .ddm[hidden]{display:none}
.nav .ddm::before{content:"";position:absolute;left:0;right:0;top:-8px;height:8px}
.nav .ddm a{padding:8px 10px;border-radius:8px;white-space:nowrap;color:var(--ink)}
.nav .ddm a:hover{background:var(--sunk)}
.nav .ddm a[aria-current="page"]{background:var(--sunk);color:var(--ink);font-weight:600}
.nav .ddm .ddall{border-top:1px solid var(--line);margin-top:4px;padding-top:10px}
/* «All umpires →» — в фирменном голубом (куратор 24.11.2026); на текущей странице цвет сохраняется.
   В мобильном меню пункт остаётся цвета надписей бара: голубой на бирюзовом фоне не читался бы. */
.nav .ddm .ddall,.nav .ddm .ddall[aria-current="page"]{color:var(--ch3)}
/* Umpires network в выпадающем меню — на светлой подложке (куратор 24.11.2026),
   с иконкой-графом: узел и три связи (куратор 25.11.2026). Иконка в currentColor,
   поэтому идёт за цветом пункта — в тёмной теме, при наведении и когда это текущая
   страница; от скринридера скрыта (aria-hidden), читается только текст пункта. */
.nav .ddm .ddnet{background:var(--sunk);display:flex;align-items:center}
/* viewBox обрезан по самой фигуре, поэтому 14 px — это её высота, а не высота пустой
   рамки вокруг неё: иконка выходит в полтора раза выше заглавной U (9,8 px у Golos 14 px). */
.nav .ddm .netico{height:14px;width:auto;flex:none;margin-right:7px}
.nav .ddm .ddnet:hover,.nav .ddm .ddnet[aria-current="page"]{background:var(--line)}
.btn{font:inherit;font-weight:600;font-size:14px;border-radius:10px;padding:8px 14px;border:1.5px solid currentColor;background:transparent;color:inherit;cursor:pointer}
.btn.solid{background:var(--on-brand);color:var(--brand);border-color:var(--on-brand)}
.btn.primary{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.btn:hover{filter:brightness(1.08)}
.btn:disabled{opacity:.4;cursor:default;filter:none}
main{margin-top:24px}
/* badges */
.badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:2px 9px 2px 7px;border-radius:999px;white-space:nowrap;border:1.5px solid}
.badge::before{content:"";width:9px;height:9px;border-radius:50%;background:currentColor}
.b0{color:var(--muted);border-color:var(--wb-line);background:var(--surface)}
.b0::before{background:var(--wb);box-shadow:0 0 0 1.5px var(--wb-line)}
.b1{color:var(--bb);border-color:var(--bb);background:var(--bb-soft)}
.b2{color:var(--gb-ink);border-color:var(--gb-ink);background:var(--gb-soft)}
.code{font-family:var(--f-mono);font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:5px;padding:0 5px}
/* hero */
.hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:20px;align-items:stretch}
.card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:24px}
.hero .lead{font-size:17px;max-width:46ch;margin:14px 0 22px;color:var(--muted)}
.lead .dl{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-decoration:underline dashed;text-decoration-thickness:1px;text-underline-offset:4px}
.lead .dl:hover{color:var(--brand-ink)}
.howto{font-size:13px;line-height:1.5;color:var(--muted);margin:16px 0 0;max-width:56ch}
.howto .dl{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-decoration:underline dashed;text-decoration-thickness:1px;text-underline-offset:3px}
.howto .dl:hover{color:var(--brand-ink)}
/* the howto note sits at the bottom of the hero card, level with the map hint (curator 13.11.2026) */
.hero .herol{display:flex;flex-direction:column}
.hero .herol .howto{margin-top:auto;padding-top:16px}
.ysel{flex:none!important;width:auto!important;min-width:84px}
.topctl .ysel,.section-head .ysel,h3 .ysel{font-family:var(--f-body);font-size:13px;font-weight:500;padding:5px 8px;border-radius:8px;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);min-width:76px}
.h1l{display:block}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.rot{display:inline-block;position:relative;vertical-align:top;height:1.25em;overflow:hidden;transition:width .45s ease}
.rot .rw{position:absolute;left:0;top:0;white-space:nowrap;transform:translateY(100%);opacity:0;transition:transform .45s ease,opacity .45s ease}
.rot .rw.in{transform:none;opacity:1}
.rot .rw.out{transform:translateY(-100%);opacity:0}
.search{position:relative}
.search input{width:100%;font:inherit;font-size:17px;padding:14px 16px 14px 44px;border-radius:12px;border:1.5px solid var(--line);background:var(--bg);color:var(--ink)}
.search input:focus{border-color:var(--brand-ink);outline:none;box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 35%,transparent)}
.search svg{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:var(--muted)}
.results{position:absolute;left:0;right:0;top:calc(100% + 6px);background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.14);z-index:10;max-height:360px;overflow:auto;padding:6px}
.results a{display:flex;gap:10px;align-items:center;padding:8px 10px;border-radius:8px;text-decoration:none}
.results a:hover,.results a.on{background:var(--sunk)}
.results .nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hint{font-size:13px;color:var(--muted);margin-top:10px}
.hint button{font:inherit;color:var(--brand-ink);background:none;border:0;padding:0;text-decoration:underline;cursor:pointer}
/* pyramid */
.pyr{display:flex;flex-direction:column;gap:10px;margin-top:18px}
.pyr .row{display:grid;grid-template-columns:96px 1fr;align-items:center;gap:12px}
.pyr .lab{font-size:13px;font-weight:600;text-align:right}
.pyr .track{display:flex;justify-content:center;align-items:center;gap:8px;position:relative;height:34px}
.pyr .seg{height:34px;border-radius:6px;min-width:3px}
.pyr .val{font-family:var(--f-display);font-size:22px;font-weight:600}
.pyr .note{font-size:12px;color:var(--muted);margin-top:14px}
/* map */
.mapcard{display:flex;flex-direction:column}
.mapbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}
.tabs{display:inline-flex;background:var(--sunk);border-radius:10px;padding:3px;gap:2px}
.tabs button{font:inherit;font-size:13px;font-weight:600;border:0;background:transparent;color:var(--muted);padding:6px 14px;border-radius:8px;cursor:pointer}
.tabs button[aria-selected="true"]{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.zoom{display:inline-flex;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.zoom button{font:inherit;font-size:18px;line-height:1;width:34px;height:32px;border:0;background:var(--surface);color:var(--ink);cursor:pointer;display:grid;place-items:center}
.zoom button+button{border-left:1px solid var(--line)}
.zoom button:hover{background:var(--sunk)}
.map{position:relative;margin-top:10px;border-radius:12px;overflow:hidden;background:var(--map-sea)}
.map svg{display:block;width:100%;height:auto;cursor:grab;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.map svg.drag{cursor:grabbing}
.ct{stroke:var(--map-border);stroke-width:.5;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.q0{fill:var(--ch0)}.q1{fill:var(--ch1)}.q2{fill:var(--ch2)}.q3{fill:var(--ch3)}.q4{fill:var(--ch4)}
.ct[class*="q"]:not(.q0){cursor:pointer}
.ct.on{stroke:var(--ink);stroke-width:1.6}
.dt{stroke:var(--surface);stroke-width:1.2}
.dt.on{stroke:var(--ink);stroke-width:2}
.mapfoot{display:flex;flex-direction:column;align-items:flex-start;gap:2px;font-size:11px;color:var(--muted);margin-top:8px}
.maphint{text-align:left}
.tip{position:absolute;pointer-events:none;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.16);padding:10px 12px;min-width:160px;font-size:13px;z-index:5}
.tip .tblock+.tblock{border-top:1px solid var(--line);margin-top:8px;padding-top:8px}
.tip .tn{font-weight:600;display:flex;gap:6px;align-items:center}
.tip .tt{color:var(--muted);margin:2px 0 6px}
.tip .tr{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:4px}
.tip .tgo{font-size:11px;color:var(--muted);margin-top:8px}
.maplegend{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font-size:12px;color:var(--muted);margin-top:10px}
.maplegend .lg{display:inline-flex;align-items:center;gap:5px}
.sw{display:inline-block;width:14px;height:10px;border-radius:2px;border:1px solid var(--map-border)}
.sw.q0{background:var(--ch0)}.sw.q1{background:var(--ch1)}.sw.q2{background:var(--ch2)}.sw.q3{background:var(--ch3)}.sw.q4{background:var(--ch4)}
.sw.round{width:9px;height:9px;border-radius:50%;border-color:var(--surface)}
@media (max-width:560px){.maphint{display:none}}
/* stats line */
.statline{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:baseline;margin:28px 4px 8px;font-size:18px}
.statline b{font-family:var(--f-display);font-size:26px;font-weight:600}
.facts.f4{grid-template-columns:repeat(4,minmax(0,1fr))}
.facts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-top:14px}
.fact{background:var(--surface);padding:16px 18px}
.fact .v{font-family:var(--f-display);font-size:38px;font-weight:600;line-height:1}
.fact .v a{color:inherit;text-decoration:none} /* showcase numbers open their lists (curator 13.11.2026) */
.fact .v a:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.fact .k{font-size:13px;color:var(--muted);margin-top:6px}
.fact.fadd{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:10px}
.fact.fadd .k{margin-top:0;font-size:14px;color:var(--ink);font-weight:500}
.facts.top{margin-top:28px}
/* country page: six tiles (the last one adds national umpires), rank under the IU tile, per-capita note (curator 17.11.2026) */
.facts.f6{grid-template-columns:repeat(6,minmax(0,1fr))}
@media (max-width:900px){.facts.f6{grid-template-columns:repeat(3,minmax(0,1fr))}}
.fact .crk{font-size:12px;color:var(--muted);margin-top:4px}
/* "Add" sits where the numbers are, "national umpires" is the label under it (curator 17.11.2026) */
.fact .vb{height:38px;display:flex;align-items:center} /* the Add button, same as on the home page, sits where the numbers are (curator 18.11.2026) */
.fact .vadd{font:inherit;color:var(--brand-ink);background:none;border:0;padding:0;cursor:pointer}
.fact .vadd:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.dashu{text-decoration:underline dashed;text-decoration-thickness:1px;text-underline-offset:3px;cursor:help}
.cpnote{font-size:13px;margin:8px 0 0}
.section{margin-top:40px}
.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:20px}
/* подпись и штамп обновления над лентой: текст слева, пиктограмма с датой справа */
.newsline{display:flex;justify-content:space-between;align-items:baseline;gap:14px;flex-wrap:wrap;margin:-6px 0 12px}
.newsline p{margin:0;font-size:13px}
.newsupd{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-family:var(--f-mono);font-size:12px;cursor:default}
.newsupd svg{width:13px;height:13px;flex:none;transform:translateY(.5px)}
.feed{list-style:none;margin:0;padding:0}
.feed li{display:grid;grid-template-columns:98px 1fr;gap:12px;padding:10px 0;border-top:1px solid var(--line)}
.feed li:first-child{border-top:0}
.feed .d{white-space:nowrap;font-family:var(--f-mono);font-size:12px;color:var(--muted);padding-top:3px}
.feed a{font-weight:600;text-decoration:none}
.feed a:hover{text-decoration:underline}
/* All selections (куратор 24.11.2026): цифра уровня турнира и пояснение к уровням над таблицей */
.tlv{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:7px;font:600 12.5px/1 var(--f-mono);color:var(--on-brand);background:var(--muted)}
.tlv.t1{background:var(--gb);color:#3a2b00}
.tlv.t2{background:var(--bb);color:#fff}
.tlv.t3{background:var(--sunk);color:var(--muted)}
/* название турнира — единственная колонка, которой разрешено переноситься:
   иначе семь колонок не умещаются по ширине (куратор 24.11.2026) */
#selOut td.evn{white-space:normal;max-width:300px}
/* шесть фильтров All selections должны уместиться в одну строку: поле поиска уже,
   списки — с потолком по ширине (куратор 24.11.2026) */
.selctl input,.selctl select{font-size:13px;padding-left:10px;padding-right:10px}
.selctl input{flex:1 1 150px;min-width:130px}
.selctl select{max-width:185px;padding-right:26px}
/* stacked bars */
.bars{display:flex;flex-direction:column;gap:7px}
.bars .r{display:grid;grid-template-columns:150px 1fr 40px;gap:10px;align-items:center;font-size:13px}
.bars .r a{text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bars .r a:hover{text-decoration:underline}
.bars .t{display:flex;height:16px;border-radius:4px;overflow:hidden;background:var(--sunk)}
.bars .t span{display:block;height:100%}
.bars .n{text-align:right}
.legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:12px}
/* Countries page: three top-10 charts with switch and pages (curator 17.11.2026) */
.most3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
@media (max-width:1000px){.most3{grid-template-columns:minmax(0,1fr)}}
.mcard .mhead{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-bottom:14px}
.mcard h3{margin:0;font-size:17px}
.mcard .mnote{font-size:12px;margin:-6px 0 12px}
.mcard .bars .r{grid-template-columns:22px minmax(0,120px) minmax(0,1fr) 52px}
.mcard .bars .rk{color:var(--muted);font-size:12px;text-align:right}
.mpg{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:16px;font-size:13px}
/* info icon next to Total / Adjusted; hover or focus shows the method (curator 18.11.2026) */
.tabgrp{display:inline-flex;align-items:center;gap:8px}
.infoi{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;border:1.5px solid currentColor;border-radius:50%;font:italic 600 11px/1 Georgia,"Times New Roman",serif;color:var(--muted);transition:color .15s;cursor:help;user-select:none;flex:none}
.infoi.on,.infoi:hover,.infoi:focus-visible{color:var(--ink)} /* muted like the inactive "Adjusted", bright when Adjusted is on (curator 18.11.2026) */
.mcard .mrow{display:flex;align-items:center;justify-content:space-between;gap:8px 10px;flex-wrap:wrap;width:100%}
.mcard .mchk{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:var(--muted);cursor:pointer}
.mcard .mchk input{accent-color:var(--gb);width:15px;height:15px;margin:0;cursor:pointer}
.mpg .btn{padding:4px 12px}
.mpg .btn:disabled{opacity:.35;cursor:default}
@media (max-width:560px){.mcard .bars .r{grid-template-columns:20px minmax(0,96px) minmax(0,1fr) 46px}}
.legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:5px;vertical-align:-1px}
.s0{background:var(--wb);box-shadow:inset 0 0 0 1px var(--wb-line)}.s1{background:var(--bb)}.s2{background:var(--gb)}
/* countries A-Z */
.az{columns:4 220px;column-gap:28px}
.az .L{break-inside:avoid;margin-bottom:16px}
.az .L h4{font-family:var(--f-display);font-size:22px;margin:0 0 4px;color:var(--brand-ink)}
.az a{display:flex;justify-content:space-between;gap:8px;text-decoration:none;padding:2px 0;font-size:14px}
.az a:hover span:first-child{text-decoration:underline}
.az a .num{color:var(--muted);font-size:12px}
.az a.z{opacity:.5}
tr.ina td{color:var(--muted)}
tr.ina td a{color:inherit}
.inam{font-size:12px;color:var(--muted);margin-left:4px}
.az a.z:hover{opacity:.85}
/* list view */
.controls{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.controls input,.controls select{font:inherit;font-size:14px;padding:9px 12px;border-radius:10px;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);min-width:0}
.controls input{flex:1 1 240px}
.tbl{overflow-x:auto;min-width:0;border:1px solid var(--line);border-radius:14px;background-color:var(--surface);background-image:linear-gradient(to right,var(--surface),transparent),linear-gradient(to left,var(--surface),transparent),linear-gradient(to right,var(--edge),transparent),linear-gradient(to left,var(--edge),transparent);background-position:left center,right center,left center,right center;background-repeat:no-repeat;background-size:26px 100%,26px 100%,16px 100%,16px 100%;background-attachment:local,local,scroll,scroll}
table{width:100%;border-collapse:collapse;font-size:14px}
th{text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600;padding:10px 14px;border-bottom:1px solid var(--line);white-space:nowrap}
td{padding:9px 14px;border-top:1px solid var(--line);white-space:nowrap}
tr:first-child td{border-top:0}
tbody tr{cursor:pointer}
tbody tr:hover{background:var(--sunk)}
td a{text-decoration:none;font-weight:500}
.more{display:flex;justify-content:center;margin-top:14px}
/* profile */
.crumbs{font-size:13px;color:var(--muted);margin-bottom:14px}
.crumbs a{color:var(--muted)}
.phead{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:22px;align-items:center}
.avatar{width:104px;height:104px;border-radius:50%;display:grid;place-items:center;font-family:var(--f-display);font-size:40px;font-weight:600;background:var(--sunk);border:5px solid var(--wb-line)}
.avatar.l1{border-color:var(--bb)}.avatar.l2{border-color:var(--gb-ink)}
.phead .meta{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin-top:10px;color:var(--muted)}
.pgrid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;margin-top:20px;align-items:start}
.stack{display:flex;flex-direction:column;gap:20px;min-width:0}
.ladder{list-style:none;margin:18px 0 0;padding:0;position:relative}
.ladder>li{display:grid;grid-template-columns:28px 1fr;gap:14px;padding-bottom:18px;position:relative}
.ladder>li::before{content:"";position:absolute;left:13px;top:26px;bottom:0;width:2px;background:var(--line)}
.ladder>li:last-child::before{display:none}
.ladder .dot{width:28px;height:28px;border-radius:50%;border:2px solid var(--line);background:var(--surface);display:grid;place-items:center;font-size:12px;font-weight:700;color:var(--muted)}
.ladder .done .dot{border-color:var(--ink);background:var(--ink);color:var(--bg)}
.ladder .cur .dot.l1{background:var(--bb);border-color:var(--bb);color:#fff}
.ladder .cur .dot.l2{background:var(--gb);border-color:var(--gb);color:#1c1405}
.ladder .cur .dot.l0{background:var(--wb);border-color:var(--wb-line);color:var(--ink)}
.ladder .cur .dot.lr{background:var(--brand-ink);border-color:var(--brand-ink);color:var(--bg)}
.ladder .og .dot{border-color:var(--brand-ink);background:color-mix(in srgb,var(--brand) 25%,var(--surface));color:var(--brand-ink)}
.ladder .t{font-weight:600}
.ladder .s{font-size:13px;color:var(--muted)}
.ladder .next .t{color:var(--muted)}
.req{margin:8px 0 0;padding-left:18px;font-size:13px;color:var(--muted)}
.req li{margin:3px 0}
.empty{border:1.5px dashed var(--line);border-radius:12px;padding:20px;text-align:center;color:var(--muted);font-size:14px}
.empty b{display:block;color:var(--ink);font-size:15px;margin-bottom:4px}
.colleagues{display:flex;flex-direction:column}
.colleagues a{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-top:1px solid var(--line);text-decoration:none;font-size:14px}
.colleagues a:first-child{border-top:0}
.colleagues a:hover span:first-child{text-decoration:underline}
.own{font-family:var(--f-mono);font-size:11px;color:var(--muted);margin-left:6px;white-space:nowrap}
.locnote{margin-top:16px;padding:14px 16px;border:1.5px dashed var(--line);border-radius:12px;background:var(--bg)}
.locnote p{margin:0;font-size:14px;color:var(--muted)}
.locnote .acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.modal textarea{width:100%;font:inherit;padding:9px 12px;border-radius:10px;border:1.5px solid var(--line);background:var(--bg);color:var(--ink);min-height:70px;resize:vertical}
.modal .two{display:flex;gap:10px}.modal .two>div{flex:1}
.mysubs{margin-top:14px;padding:10px 14px;border-radius:10px;background:var(--sunk);font-size:13px}
.mysubs b{display:block;margin-bottom:4px}
.stt{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:2px 7px;border-radius:5px;background:var(--sunk);color:var(--muted)}
.stt.s-pending{background:var(--gb-soft);color:var(--gb-ink)}
.stt.s-accepted{background:var(--bb-soft);color:var(--bb)}
.ibh{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.fn{font-size:10px;color:var(--muted);margin-left:2px;font-family:var(--f-mono)}
.srcnote{margin-top:14px;padding-top:10px;border-top:1px solid var(--line);font-size:12.5px;line-height:1.5}
.srcnote a{color:inherit}
.srcmark{font-style:italic}
.src a{color:inherit}
#heb path.l{fill:none;stroke:var(--brand-ink);stroke-opacity:.09;stroke-width:.8;mix-blend-mode:normal}
#heb.focus path.l{stroke-opacity:.025}
#heb.focus:not(.flat) path.l:not(.on){stroke-opacity:.014} /* grouped view: inactive links faded a bit more for contrast with the gold ones (curator 26.10.2026) */
#heb.focus path.l.on{stroke:var(--gb);stroke-opacity:.85;stroke-width:.8}
#heb.flat.focus path.l.on{stroke-width:.96} /* default (alphabetical) view: highlighted links 20 % thicker (curator 26.10.2026) */
#heb .arc{fill:var(--muted);opacity:.55}
#heb .hcont .arc{fill:var(--brand-ink);opacity:.45}
#heb.hv .hcont:not(.sel) .arc{opacity:.12} /* grouped view: continent arcs fade while an umpire dot or a link is hovered (curator 26.10.2026) */
#heb .hcont text{font:600 12px var(--f-body);fill:var(--brand-ink)}
#heb .hring.sel .arc{fill:var(--gb);opacity:1}
#heb .hring.sel text{fill:var(--gb)}
#heb .hring:hover .arc{opacity:.9}
#heb .hc text{font:600 10px var(--f-mono);fill:var(--muted)}
#heb .hd{fill:var(--brand-ink);cursor:pointer}
#heb.focus .hd{opacity:.35}
#heb.focus .hd.on{opacity:1;fill:var(--gb);stroke:#fff;stroke-width:.77;paint-order:stroke}
#heb .hlbl text{font:500 8px var(--f-body);fill:var(--ink);pointer-events:none}
#heb .hcty text{font:600 11px var(--f-body);fill:var(--brand-ink);letter-spacing:.02em}
#heb .hring.hcty.sel text{fill:var(--gb)}
#heb.lbl .hcty text{opacity:.28}
#heb .hall text{font:500 8px var(--f-body);fill:var(--ink);cursor:pointer}
#heb.focus .hall text{opacity:.22}
#heb.focus .hall text.on{opacity:0}
#heb .hall text:hover{fill:#e8711a}
#heb .hlbl text.big{font-weight:600}
#heb .hlbl text.hov{fill:#e8711a}
#heb .hlbl text.rcv{font-weight:600;fill:#fff;stroke:#0c1d26;stroke-width:.32em;stroke-linejoin:round;paint-order:stroke}
#heb.focus .hall text.on:not(.hov){pointer-events:none}
#heb .hhit path{fill:none;stroke:transparent;stroke-width:5;pointer-events:stroke;cursor:default}
#heb .hhit path.dis{pointer-events:none}
.hltip{max-width:340px;z-index:30;text-align:left}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) #heb .hall text:hover{fill:#ff9a4a}}
:root[data-theme="dark"] #heb .hall text:hover{fill:#ff9a4a}
#heb .hlbl path{fill:none;stroke:var(--muted);stroke-width:.5;stroke-opacity:.6;pointer-events:none}
#hebinfo:empty{display:none}
.mgcard{min-width:0;display:flex;flex-direction:column}
.mgzoom{position:absolute;right:10px;top:10px;z-index:3}
.mghint{position:absolute;left:10px;bottom:10px;max-width:calc(100% - 66px);z-index:2;font-size:11.5px;line-height:1.4;color:var(--muted);background:color-mix(in srgb,var(--surface) 85%,transparent);padding:3px 7px;border-radius:6px;pointer-events:none}
.mginfo{position:absolute;left:10px;top:10px;max-width:min(300px,calc(100% - 20px));max-height:calc(100% - 20px);overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.12);padding:10px 30px 10px 12px;font-size:13px;line-height:1.5}
.mginfo a{color:var(--ink)}
.mginfo .mgx{position:absolute;right:6px;top:4px;border:0;background:none;color:var(--muted);font-size:18px;cursor:pointer;line-height:1}
.mgcard .section-head{align-items:center}
.mgexp{position:absolute;right:10px;bottom:10px;z-index:3;display:inline-flex;align-items:center;justify-content:center;width:34px;height:32px;border-radius:10px;border:1px solid var(--line);color:var(--ink);background:var(--surface)}
.mgexp:hover{border-color:var(--brand-ink);color:var(--brand-ink)}
.mgwrap{position:relative;flex:1;min-height:320px;border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:hidden}
.mgwrap canvas{display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:none}

.news-up{margin-top:56px}
/* Лента и «Upcoming tournaments» ровно одной высоты (куратор 18.11.2026): высоту
   ряда задаёт правая колонка, лента растягивается на остаток и прокручивается
   внутри — кнопки «показать ещё» и ссылки на методику под ней больше нет.
   Список вынут из потока (position:absolute), иначе своими 29 записями он сам
   растягивал бы ряд. На узких экранах колонки идут друг под другом, там лента
   в потоке и ограничена по высоте. */
.news-up>div{display:flex;flex-direction:column;min-width:0}
.feedwrap{position:relative;flex:1 1 auto;min-height:240px}
/* тень у верхнего и нижнего края ленты — тем же приёмом, что у таблиц:
   видна, только пока в эту сторону есть ещё записи */
.feedwrap .feed{position:absolute;inset:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:6px;background-image:linear-gradient(to bottom,var(--bg),transparent),linear-gradient(to top,var(--bg),transparent),linear-gradient(to bottom,var(--edge),transparent),linear-gradient(to top,var(--edge),transparent);background-position:center top,center bottom,center top,center bottom;background-repeat:no-repeat;background-size:100% 18px,100% 18px,100% 14px,100% 14px;background-attachment:local,local,scroll,scroll}
@media (max-width:900px){.feedwrap{min-height:0}.feedwrap .feed{position:static;max-height:420px}}
.gwrap{position:relative;margin-top:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:hidden}
.gwrap canvas{display:block;width:100%;height:640px;touch-action:none;cursor:grab}
.gwrap canvas.drag{cursor:grabbing}
@media (max-width:700px){.gwrap canvas{height:460px}}
.gtip{position:absolute;pointer-events:none;background:var(--ink);color:var(--bg);font-size:12.5px;line-height:1.35;padding:6px 9px;border-radius:8px;max-width:280px;transform:translate(-50%,calc(-100% - 12px));white-space:normal;z-index:5}
.gtip .num{font-family:var(--f-mono);opacity:.8}
.gleg{display:flex;gap:16px;align-items:center;font-size:13px;color:var(--muted);flex-wrap:wrap;margin-top:10px}
.gleg i{display:inline-block;width:10px;height:10px;margin-right:6px;vertical-align:-1px}
.gleg .um{background:var(--brand-ink);border-radius:50%}.gleg .um0{border:1.5px solid var(--brand-ink);border-radius:50%;box-sizing:border-box}.gleg .w1,.gleg .w2,.gleg .w3{width:22px;background:var(--muted);border-radius:2px}.gleg .w1{height:1px;opacity:.5}.gleg .w2{height:2px;opacity:.75}.gleg .w3{height:3px}
.gside{margin-top:16px}
.gside .gl{display:flex;flex-direction:column;margin-top:10px;max-height:420px;overflow:auto}
.gside .gl a{display:flex;gap:10px;justify-content:space-between;padding:7px 0;border-top:1px solid var(--line);text-decoration:none;font-size:14px}
.gside .gl a:first-child{border-top:0}
.gside .gl a:hover .n{text-decoration:underline}
.gside .gl .s{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.gside .gl .w{font-family:var(--f-mono);font-weight:600;font-size:13px;min-width:1.5em;text-align:right}
.gside .gl .m{font-family:var(--f-mono);font-size:12px;color:var(--muted);white-space:nowrap}
.gres{position:absolute;left:0;right:0;top:100%;margin-top:4px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.15);z-index:20;max-height:300px;overflow:auto}
.gres button{display:flex;width:100%;gap:10px;justify-content:space-between;text-align:left;font:inherit;font-size:14px;background:none;border:0;padding:8px 12px;cursor:pointer;color:var(--ink)}
.gres button:hover,.gres button.on{background:var(--sunk)}
.hcbox{position:relative;flex:1;min-width:200px;display:flex}
.hcbox input{flex:1;min-width:0;width:100%;padding-right:64px!important}
.hcode{position:absolute;right:34px;top:50%;transform:translateY(-50%);font-family:var(--f-mono);font-size:12px;color:var(--muted);pointer-events:none}
.gres .m{font-family:var(--f-mono);font-size:12px;color:var(--muted)}
.iust{position:relative;cursor:help;text-decoration:underline dashed;text-underline-offset:3px;text-decoration-thickness:1px;outline:none}
.iutip{display:none;position:absolute;left:0;top:calc(100% + 6px);z-index:40;width:min(340px,calc(100vw - 40px));background:var(--ink);color:var(--bg);font:400 12.5px/1.45 var(--f-body);letter-spacing:0;text-transform:none;padding:9px 11px;border-radius:9px;box-shadow:0 8px 24px rgba(0,0,0,.2);white-space:normal}
.iutip a{color:inherit;text-decoration:underline}
#ftipBox{white-space:pre-line;position:fixed;z-index:60;width:min(340px,calc(100vw - 32px));background:var(--ink);color:var(--bg);font:400 12.5px/1.45 var(--f-body);padding:9px 11px;border-radius:9px;box-shadow:0 8px 24px rgba(0,0,0,.2);pointer-events:none}
.iust:hover .iutip,.iust:focus .iutip,.iust:focus-within .iutip{display:block}
.iutip::before{content:"";position:absolute;left:0;right:0;top:-8px;height:8px}
.corow{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:7px 0;border-top:1px solid var(--line);font-size:14px;position:relative}
.corow:first-child{border-top:0}
.corow>a{text-decoration:none;min-width:0}
.corow>a:hover{text-decoration:underline}
.cobtn{font:inherit;font-size:13px;color:var(--muted);background:none;border:0;padding:0;cursor:pointer;white-space:nowrap;text-decoration:underline dashed;text-underline-offset:3px;text-decoration-thickness:1px}
.cobtn:hover,.cobtn[aria-expanded="true"]{color:var(--ink)}
.cobtn:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:3px}
.copop{position:absolute;right:0;top:calc(100% + 4px);z-index:60;width:min(380px,calc(100vw - 32px));max-height:320px;overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.18);padding:6px}
.copop h5{margin:4px 8px 6px;font-size:12px;font-weight:600;color:var(--muted)}
.copop a{display:block;padding:7px 8px;border-radius:6px;text-decoration:none;font-size:13.5px}
.copop a:hover,.copop a:focus-visible{background:var(--sunk);outline:none}
.copop a:hover .n{text-decoration:underline}
.copop .n{display:block;font-weight:600}
.copop .d{display:block;font-family:var(--f-mono);font-size:11.5px;color:var(--muted);margin-top:1px}
.kv{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;font-size:14px;margin-top:12px}
.kv dt{color:var(--muted)}.kv dd{margin:0}
.src{font-size:12px;color:var(--muted);margin-top:28px;border-top:1px solid var(--line);padding-top:14px}
/* modal */
.scrim{position:fixed;inset:0;background:rgba(5,15,20,.55);display:grid;place-items:center;z-index:50;padding:16px}
.modal{background:var(--surface);border-radius:16px;max-width:520px;width:100%;padding:24px;border:1px solid var(--line);max-height:90vh;overflow:auto}
.modal label{display:block;font-size:13px;font-weight:600;margin:14px 0 4px}
.modal input,.modal select{width:100%;font:inherit;padding:9px 12px;border-radius:10px;border:1.5px solid var(--line);background:var(--bg);color:var(--ink)}
.modal .row{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}
/* selections link + rows of the "add officials" form (curator 14.11.2026) */
.sellink{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left;text-decoration:underline dashed;text-decoration-thickness:1px;text-underline-offset:4px}
.sellink:hover{color:var(--brand-ink)}
.selrow{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1.1fr);gap:6px;margin-top:6px}
@media (max-width:560px){.selrow{grid-template-columns:1fr 1fr}.selrow .s_name{grid-column:1/-1}.selrow+.selrow{margin-top:14px}}
.ok{background:var(--bb-soft);border-radius:10px;padding:12px 14px;font-size:14px;margin-top:14px}
footer{margin-top:48px;font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
@media (max-width:900px){.hero,.two,.pgrid{grid-template-columns:minmax(0,1fr)}.facts,.facts.f4,.facts.f6{grid-template-columns:repeat(2,minmax(0,1fr))}.fact:last-child:nth-child(odd){grid-column:1/-1}}
@media (max-width:560px){.phead{grid-template-columns:auto 1fr}.phead .act{grid-column:1/-1}.avatar{width:72px;height:72px;font-size:28px}.bars .r{grid-template-columns:100px 1fr 34px}.nav{justify-content:flex-start;order:3;flex-basis:100%}.pyr .row{grid-template-columns:70px 1fr}}
@media (prefers-reduced-motion:no-preference){main{animation:in .25s ease-out}@keyframes in{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none}}}


/* additions: language switch, tournaments */
.ftlang{display:inline-flex;gap:8px}
.ftlang button{font:inherit;font-size:12px;border:0;background:none;color:var(--muted);padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.ftlang button[aria-pressed="true"]{color:var(--ink);text-decoration:none;cursor:default}
.baract{display:flex;gap:10px;align-items:center}
.navft{display:contents}.navauth{display:none} /* desktop: the theme switch stays a plain nav item, Sign in/out stays in the header */
.bx{color:var(--muted);border-color:var(--line);background:var(--sunk)}
.bx::before{background:var(--muted)}
.bp{color:var(--bb);border-color:var(--bb);border-style:dashed;background:transparent}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chips button{font:inherit;font-size:13px;font-weight:600;border:1.5px solid var(--line);background:var(--surface);color:var(--muted);padding:5px 12px;border-radius:999px;cursor:pointer}
.chips button[aria-pressed="true"]{border-color:var(--ink);color:var(--ink);background:var(--sunk)}
/* filter options with nothing behind them (curator 14.11.2026) */
.chips button:disabled,.tabs button:disabled{opacity:.38;cursor:default;pointer-events:none}
.gres button:disabled{opacity:.42;cursor:default;pointer-events:none}
select option:disabled{color:var(--muted)}
.evtype{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;padding:2px 7px;border-radius:5px;white-space:nowrap;background:var(--sunk);color:var(--muted)}
.evtype.t-wtt{background:var(--bb-soft);color:var(--bb)}
.evtype.t-youth{background:color-mix(in srgb,var(--brand) 22%,transparent);color:var(--brand-ink)}
.evtype.t-para{background:var(--gb-soft);color:var(--gb-ink)}
.evtype.t-ittf{background:var(--ink);color:var(--bg)}
.evtype.t-cont{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
.month{font-family:var(--f-display);font-size:22px;font-weight:600;margin:26px 0 8px;color:var(--brand-ink)}
.evrow{display:grid;grid-template-columns:130px minmax(0,1fr) auto;gap:14px;align-items:center;padding:11px 14px;border-top:1px solid var(--line);text-decoration:none;background:var(--surface)}
.evlist{border:1px solid var(--line);border-radius:14px;overflow:hidden}
.evlist .evrow:first-child{border-top:0}
.evrow:hover{background:var(--sunk)}
.evrow .nm{font-weight:600;min-width:0}
.evrow .nm small{display:block;font-weight:400;color:var(--muted);font-size:13px;margin-top:2px}
.evrow .dt{font-family:var(--f-mono);font-size:12px;color:var(--muted)}
.evrow .cnt{font-size:13px;color:var(--muted);white-space:nowrap;text-align:right}
.live{display:inline-block;width:8px;height:8px;border-radius:50%;background:#22b07d;margin-right:6px;vertical-align:1px}
.roster h3{margin-bottom:10px}
.rgroup{margin-top:18px}
.rgroup h4{margin:0 0 6px;font-size:13px;display:flex;gap:8px;align-items:center}
.plist{display:flex;flex-direction:column}
.plist .p{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-top:1px solid var(--line);font-size:14px;text-decoration:none}
.plist .p:first-child{border-top:0}
.plist a.p:hover span:first-child{text-decoration:underline}
.plist .p .r{color:var(--muted);font-size:13px;white-space:nowrap}
.plist .p.p3{display:grid;grid-template-columns:minmax(0,1fr) 3.4em 12.5em;align-items:baseline}
.plist .p.p3 .r{text-align:right}
.plist .p .urole{font-size:12px;font-weight:600;color:var(--brand-ink);text-align:left}
.mini{display:flex;flex-direction:column}
.mini a{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;padding:9px 0;border-top:1px solid var(--line);text-decoration:none;font-size:14px}
.mini a:first-child{border-top:0}
.mini a:hover .n{text-decoration:underline}
.mini .d{font-family:var(--f-mono);font-size:12px;color:var(--muted);padding-top:2px;white-space:nowrap}
.mini .n{font-weight:600}
.mini .s{display:block;color:var(--muted);font-size:12px;font-weight:400}
.statrow{display:flex;gap:22px;flex-wrap:wrap;margin-top:12px}
.statrow div{font-size:13px;color:var(--muted)}
.statrow b{display:block;font-family:var(--f-display);font-size:30px;color:var(--ink);font-weight:600;line-height:1.1}
.bi{color:var(--brand-ink);border-color:var(--brand-ink);background:color-mix(in srgb,var(--brand) 15%,transparent)}
.fdot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:8px;vertical-align:1px}.f-iu{background:var(--muted)}.f-gn,.f-gr{background:var(--gb)}.f-bn,.f-br{background:var(--bb)}.f-gr,.f-br{background:transparent;box-shadow:inset 0 0 0 2px currentColor}.f-gr{color:var(--gb-ink)}.f-br{color:var(--bb)}
/* Top 10 without place numbers; badges form a column right after the longest name (subgrid), count on the right (curator 13.11.2026) */
.toplist{display:grid;grid-template-columns:minmax(0,max-content) auto 1fr auto;column-gap:10px}
.toplist a{grid-column:1/-1;display:grid;grid-template-columns:subgrid;align-items:center;padding:8px 0;border-top:1px solid var(--line);text-decoration:none;font-size:14px}
.toplist a:first-child{border-top:0}
.toplist a:hover .nm{text-decoration:underline}
.toplist .rk{color:var(--muted);font-size:12px}
.toplist .ct small{font-size:12px;font-weight:400;color:var(--muted);font-family:var(--f-body)}
.toplist .ct{grid-column:4;white-space:nowrap;font-family:var(--f-display);font-size:20px;font-weight:600;text-align:right;margin-right:16px} /* the count column sits 16px in from the right edge (curator 18.11.2026) */
.toplist .nm{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:560px){.toplist .bd{display:none}}
.s.clash{color:var(--gb-ink)}
.topctl{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
#topCtl .topctl{margin-bottom:16px} /* room between the filters and the Top 10 list (curator 13.11.2026) */
.bt{color:var(--ink);border-color:var(--ink);background:transparent;border-width:1px}
.bt::before{display:none}
.cont{font-family:var(--f-mono);font-size:11px;font-weight:600;text-decoration:none;border-bottom:1px dotted var(--muted);color:var(--muted);cursor:help;padding:0 1px}
.ctry{display:inline-flex;align-items:center;gap:5px}
.idn .idn{font-weight:inherit}
.idn{color:var(--ink);font-weight:600;white-space:nowrap}
/* both home rows share one grid: the graph is as wide as Upcoming tournaments (curator 13.11.2026) */
.two.top-news,.two.news-up{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);column-gap:48px}
@media (max-width:900px){.two.top-news,.two.news-up{grid-template-columns:1fr}}
[hidden]{display:none!important}
/* all selects: own chevron, set a bit further in from the right edge than the native arrow (curator 13.11.2026) */
select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23858b94' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 13px center!important;background-size:10px 6px!important;padding-right:34px!important}
/* loading skeleton: the shape of the home page while the directory arrives */
.sk i,.nav .skp{display:block;border-radius:8px;background-color:var(--sunk);background-image:linear-gradient(90deg,transparent 0,color-mix(in srgb,var(--line) 75%,transparent) 50%,transparent 100%);background-size:240px 100%;background-repeat:no-repeat;animation:skshine 1.25s linear infinite}
@keyframes skshine{from{background-position:-240px 0}to{background-position:calc(100% + 240px) 0}}
.flag{display:inline-block;width:.95em;height:auto;aspect-ratio:4/3;object-fit:cover;vertical-align:-.06em;margin-right:.34em;border-radius:2px;box-shadow:0 0 0 1px rgba(12,29,38,.18)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .flag{box-shadow:0 0 0 1px rgba(255,255,255,.22)}}
:root[data-theme="dark"] .flag{box-shadow:0 0 0 1px rgba(255,255,255,.22)}
#claimBtn:empty{visibility:hidden}
.nav .skp{display:inline-block;height:22px;margin:7px 5px;border-radius:8px;background-color:rgba(6,42,49,.16)}
.sk i+i{margin-top:10px}
.sk-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:20px;align-items:stretch}
.sk-row{display:grid;grid-template-columns:84px 1fr;gap:12px;align-items:center;margin-top:12px}
.sk-row i,.sk-row i+i{margin:0}
.sk-facts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-top:28px}
.sk-fact{background:var(--surface);padding:16px 18px}
.sk-map{margin-top:28px}
@media (prefers-reduced-motion:reduce){.sk i,.nav .skp{animation:none}}
@media (max-width:900px){.sk-hero{grid-template-columns:1fr}.sk-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.sk-fact:last-child{grid-column:1/-1}}
.gantt{margin-top:20px}
.gctl{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;margin:16px 0 6px}
.gcbox{position:relative;display:inline-flex;align-items:center;min-width:220px}
.gcbox input{font:inherit;font-size:14px;padding:7px 30px 7px 10px;border-radius:8px;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);width:240px;max-width:100%}
.gcbox input::-webkit-search-cancel-button{margin-right:2px}
.gcbtn{position:absolute;right:4px;top:50%;transform:translateY(-50%);border:0;background:none;color:var(--muted);font-size:13px;cursor:pointer;padding:4px 6px}
.gcbox .gres button{align-items:baseline}
.gcbox .gres button[aria-selected="true"]{font-weight:600}
.gsort{font-size:13px;color:var(--muted);display:inline-flex;gap:8px;align-items:center}
.gsort select{font:inherit;padding:6px 10px;border-radius:8px;border:1.5px solid var(--line);background:var(--surface);color:var(--ink)}
.gdot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px;vertical-align:0}.gF{background:var(--g-f)}.gM{background:var(--g-m)}
.gplot{overflow-x:auto;margin-top:6px}
.gplot svg{display:block;max-width:none}
.gcap{font-size:12px;color:var(--muted);margin:2px 0 6px}
.gsw{display:inline-block;width:12px;height:8px;border-radius:2px;background:var(--g-m);margin:0 5px 0 4px;vertical-align:0}.gsw-o{opacity:.55}
@media (prefers-reduced-motion:no-preference){.gfade{animation:gfade .35s ease-out}@keyframes gfade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}}
.ogcell{white-space:normal;min-width:260px}
.ogc{display:inline-block;font-size:12.5px;padding:2px 8px;margin:2px 4px 2px 0;border-radius:6px;background:color-mix(in srgb,var(--brand) 16%,var(--surface));border:1px solid color-mix(in srgb,var(--brand-ink) 35%,transparent);white-space:nowrap}
.ogc b{font-family:var(--f-mono);font-weight:600;font-size:12px;margin-right:2px}
.ogc.off{opacity:.38;background:transparent}
tr.nolink{cursor:default}
.note{background:var(--sunk);border-radius:10px;padding:10px 14px;font-size:13px;color:var(--muted);margin-top:14px}
@media (max-width:560px){.evrow{grid-template-columns:1fr;gap:4px}.evrow .cnt{text-align:left}.mini a{grid-template-columns:1fr;gap:2px}}
