/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/next@16.2.6_@babel+core@7.29.7_@playwright+test@1.58.2_react-dom@19.2.6_react@19.2.6__react@19.2.6_sass@1.77.4/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[2].use[1]!./node_modules/.pnpm/next@16.2.6_@babel+core@7.29.7_@playwright+test@1.58.2_react-dom@19.2.6_react@19.2.6__react@19.2.6_sass@1.77.4/node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[15].oneOf[2].use[2]!./node_modules/.pnpm/next@16.2.6_@babel+core@7.29.7_@playwright+test@1.58.2_react-dom@19.2.6_react@19.2.6__react@19.2.6_sass@1.77.4/node_modules/next/font/google/target.css?{"path":"src/components/site/HeroQuote.tsx","import":"Amatic_SC","arguments":[{"subsets":["latin","cyrillic"],"weight":"700","variable":"--font-amatic","display":"block"}],"variableName":"amatic"} ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic */
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url(/_next/static/media/99d25a68b55ba901-s.p.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* hebrew */
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url(/_next/static/media/544e76bd9b6b9ef1-s.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* vietnamese */
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url(/_next/static/media/ab054e2e3446c63a-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url(/_next/static/media/9215d045b83e2769-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url(/_next/static/media/e5b09a5f0c44ad7e-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Amatic SC Fallback';src: local("Arial");ascent-override: 157.82%;descent-override: 38.06%;line-gap-override: 0.00%;size-adjust: 64.38%
}.__className_7f5150 {font-family: 'Amatic SC', 'Amatic SC Fallback';font-weight: 700;font-style: normal
}.__variable_7f5150 {--font-amatic: 'Amatic SC', 'Amatic SC Fallback'
}

/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/next@16.2.6_@babel+core@7.29.7_@playwright+test@1.58.2_react-dom@19.2.6_react@19.2.6__react@19.2.6_sass@1.77.4/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[2].use[1]!./node_modules/.pnpm/next@16.2.6_@babel+core@7.29.7_@playwright+test@1.58.2_react-dom@19.2.6_react@19.2.6__react@19.2.6_sass@1.77.4/node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[15].oneOf[2].use[2]!./node_modules/.pnpm/next@16.2.6_@babel+core@7.29.7_@playwright+test@1.58.2_react-dom@19.2.6_react@19.2.6__react@19.2.6_sass@1.77.4/node_modules/next/font/google/target.css?{"path":"src/components/site/SportMap/SportMapSection.tsx","import":"Amatic_SC","arguments":[{"subsets":["latin","cyrillic"],"weight":"700","variable":"--font-amatic","display":"swap"}],"variableName":"amatic"} ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic */
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/99d25a68b55ba901-s.p.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* hebrew */
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/544e76bd9b6b9ef1-s.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* vietnamese */
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/ab054e2e3446c63a-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/9215d045b83e2769-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/e5b09a5f0c44ad7e-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Amatic SC Fallback';src: local("Arial");ascent-override: 157.82%;descent-override: 38.06%;line-gap-override: 0.00%;size-adjust: 64.38%
}.__className_54a8ca {font-family: 'Amatic SC', 'Amatic SC Fallback';font-weight: 700;font-style: normal
}.__variable_54a8ca {--font-amatic: 'Amatic SC', 'Amatic SC Fallback'
}

/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/next@16.2.6_@babel+core@7.29.7_@playwright+test@1.58.2_react-dom@19.2.6_react@19.2.6__react@19.2.6_sass@1.77.4/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/.pnpm/next@16.2.6_@babel+core@7.29.7_@playwright+test@1.58.2_react-dom@19.2.6_react@19.2.6__react@19.2.6_sass@1.77.4/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./src/components/site/SportMap/sportMap.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*
 * Мапа спортивних напрямків (/sport). Механіка – з проби docs/probes/sport-map-proba.html,
 * варіант A, схваленої власником 2026-10-17. Усі класи з префіксом sm-, щоб не перетинатись
 * з утилітами сайту. Анімуються лише transform і opacity; фільтрів під час руху немає.
 */
.sport-map {
  /* Кільця на мапі світліші за --medal-*: ті тони розраховані на білий фон і губляться
     на кольоровому малюнку. У картці й списку – тони сайту */
  /* золото – те саме яскраве, що на сайті: старе #e2b632 поруч із бронзою читалось як вона (власник 2026-10-20);
     темний край --medal-gold-edge тримає його і на світлих ділянках малюнка */
  --sm-ring-gold: var(--medal-gold);
  --sm-ring-silver: #c3cbd1;
  --sm-ring-bronze: #c9824f;
  /* маркерні шви малюнка учнів */
  --sm-seam: #14181a;
  /* фокус на кольоровому малюнку: бірюза сайту там губиться, жовтий видно на всіх фрагментах */
  --sm-focus: #ffd84d;
  --sm-offmap: var(--card-honey-ink);
  --sm-scroll-thumb: #cfc9bd;
  --sm-radius: 18px;
  --sm-gap-1: 4px;
  --sm-gap-2: 8px;
  --sm-gap-3: 12px;
  --sm-gap-4: 16px;
  --sm-gap-5: 24px;
  /* Підйом фрагмента при наведенні і все, що його супроводжує (золотий шов, блиск, тінь),
     іде ОДНИМ темпом: окремі тривалості й криві давали «межу, що живе окремо» –
     на підйомі крізь напівпрозоре золото на мить проступав чорний шов, на опусканні
     золото й тінь гасли пізніше, ніж фрагмент ставав на місце.
     Підйом – пружна крива; повернення – БЕЗ перельоту: з перельотом translateZ на мить
     ставав від'ємним, і Chromium ховав фрагмент під чорний силует на z=0 */
  --sm-lift-time: 0.35s;
  --sm-lift-rise: cubic-bezier(0.2, 1.5, 0.4, 1);
  --sm-lift-settle: cubic-bezier(0.2, 0.8, 0.3, 1);
  /* частка підйому при наведенні (HOVER_Z у camera.ts); у WebKit нижча – див. @supports нижче */
  --sm-hover-k: 1;
}
/* Safari показує той самий підйом вищим, фрагмент читається пласкою карткою (власник 19.10; headless WebKit
   цього не відтворює, коефіцієнт – на око власника). Перевірка в CSS: правильний перший кадр до гідратації, без розбору user agent */
@supports (font: -apple-system-body) and (not (-moz-appearance: none)) {
  .sport-map { --sm-hover-k: 0.56; }
  /* тінь падає ближче на стільки ж, на скільки нижчий підйом; розмиття і насиченість – як були */
  .sm-shadow { transition: opacity var(--sm-lift-time) var(--sm-lift-settle), translate var(--sm-lift-time) var(--sm-lift-settle); }
  .sm-shadow.is-hover { translate: 0 calc(var(--sm-drop, 0%) * (var(--sm-hover-k) - 1)); }
}

.sm-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sm-stage { position: relative; }

/* ---------- 3D-сцена ---------- */
.sm-map {
  position: relative;
  width: 100%;
  perspective: 1500px;
  perspective-origin: 50% 35%;
  overflow: hidden;
  border-radius: var(--sm-radius);
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
}
.sm-map.is-flat { perspective: none; }
/* у спокої тінь нижніх фрагментів виходить за низ мапи: даємо їй поле. Safari overflow-clip-margin
   не знає і просто обрізає, як раніше; у наближенні кадр ріже рівно по краю.
   Поле веде GSAP (--sm-clip) на краях переходу камери, а не клас рівня: клас перемикався миттєво,
   і поле то обтинало тінь різкою смугою (відкриття), то пускало наближену мапу за край (закриття) */
.sm-map {
  --sm-clip-rest: 48px;
  --sm-clip: var(--sm-clip-rest);
  /* частка телефонного збільшення бірок (1 – спокій, 0 – наближено); веде GSAP разом із камерою */
  --sm-chip-boost: 1;
  overflow: clip;
  overflow-clip-margin: var(--sm-clip);
}
/* стартовий нахил до гідратації – той самий, що потім ставить GSAP (restCamera) */
.sm-plane {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(16deg) scale(0.96);
}
@media (pointer: coarse) {
  .sm-plane { transform: rotateX(8deg) scale(0.96); }
}
/* телефон: мапа виходить за поля контейнера на всю ширину екрана, малюнок – за 10-15 px від країв
   (власник 2026-10-19); масштаб спокою – REST_SCALE_PHONE у camera.ts */
@media (max-width: 767px) {
  /* край у край екрана: заокруглені кути наближеної мапи читались би як обрізана картка */
  .sm-map { width: 100vw; margin-inline: calc(50% - 50vw); border-radius: 0; }
  .sm-plane { transform: rotateX(16deg) scale(0.97); }
}
@media (max-width: 767px) and (pointer: coarse) {
  .sm-plane { transform: rotateX(8deg) scale(0.97); }
}
.sm-silhouette,
.sm-bridge,
.sm-shadow,
.sm-frag { position: absolute; pointer-events: none; }
.sm-silhouette svg,
.sm-bridge svg { display: block; width: 100%; height: 100%; overflow: visible; }
.sm-silhouette polygon { fill: var(--sm-seam); stroke: var(--sm-seam); stroke-width: 34; stroke-linejoin: round; }
.sm-frag { transform-style: preserve-3d; }
/* оверлей під відкритим фрагментом; без 3D (is-flat) глибини немає, тож порядок дає z-index */
.sm-dim { position: absolute; pointer-events: none; opacity: 0; background: var(--color-bg); }
.sm-map.is-flat .sm-dim { z-index: 1; }
.sm-map.is-flat .sm-frag.is-active { z-index: 2; }
.sm-lift {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform var(--sm-lift-time) var(--sm-lift-settle);
}
/* крива береться зі стану, У ЯКИЙ переходимо: наведено – підйом, інакше – повернення */
.sm-frag.is-hover .sm-lift,
.sm-frag.is-hover .sm-seam-gold,
.sm-frag.is-hover .sm-shine,
.sm-shadow.is-hover { transition-timing-function: var(--sm-lift-rise); }
.sm-frag svg { display: block; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
/* хітзона лише для фокуса з клавіатури; влучання мишею/пальцем рахує fragmentAt() */
.sm-hit { fill: transparent; pointer-events: none; outline: none; }
.sm-hit:focus-visible { stroke: var(--sm-focus); stroke-width: 6; }
.sm-seam { fill: none; stroke: var(--sm-seam); stroke-width: 9; stroke-linejoin: round; }
.sm-seam-gold { fill: none; stroke-width: 16; stroke-linejoin: round; opacity: 0; transition: opacity var(--sm-lift-time) var(--sm-lift-settle); }
/* у верхніх полів чорна обводка малюнка товща зверху: золото трохи вище, щоб чорне визирало знизу, як тінь (власник 2026-10-20) */
.sm-frag[data-id="dance"] .sm-seam-gold,
.sm-frag[data-id="athletics"] .sm-seam-gold,
.sm-frag[data-id="team-games"] .sm-seam-gold { transform: translateY(-5px); }
/* у шахів зсув оголював чорне знизу: золото на місці, лише ширше, щоб накрити верхній край */
.sm-frag[data-id="chess"] .sm-seam-gold { stroke-width: 22; }
.sm-shine { fill: #ffffff; opacity: 0; transition: opacity var(--sm-lift-time) var(--sm-lift-settle); }
.sm-veil { fill: var(--dark); opacity: 0; }
.sm-frag.is-hover .sm-lift { transform: translateZ(calc(18px * var(--sm-hover-k))); }
.sm-map.is-flat .sm-frag.is-hover .sm-lift { transform: translateY(-6px); }
.sm-frag.is-hover .sm-seam-gold,
.sm-frag.is-active .sm-seam-gold { opacity: 1; }
.sm-frag.is-hover .sm-shine { opacity: 0.14; }
.sm-shadow { opacity: 0; transition: opacity var(--sm-lift-time) var(--sm-lift-settle); }
.sm-shadow.is-hover { opacity: 0.52; } /* × SHADOW_ALPHA 0.75 у camera.ts = давні 0.385 */
.sm-chip text { font-family: var(--font-amatic), var(--font-neucha), cursive; font-weight: 700; }
/* на телефоні мапа дрібна: нижчий кегль з розрідкою читається легше; ширина бірки лишається
   з запасом (заміряно getBBox на 412 px, найменший запас – «Шахи», 49 одиниць сцени) */
@media (max-width: 767px) {
  .sm-chip text { font-size: 44px; letter-spacing: 0.06em; }
}

/* ---------- портрети: один спільний шар над відкритим фрагментом ---------- */
.sm-portraits { position: absolute; pointer-events: none; }
.sm-portrait {
  /* кільце – фон кнопки, фото – вкладка всередині: padding у % рахувався б від ширини шару */
  position: absolute;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  background: var(--ring, rgba(255, 255, 255, 0.6));
  box-shadow: 0 0 0 1px var(--ring-edge, transparent), 0 2px 6px rgba(16, 28, 32, 0.35);
  container-type: inline-size;
}
.sm-portrait img,
.sm-portrait .sm-initials {
  position: absolute;
  inset: 7%;
  width: 86%;
  height: 86%;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-sizing: border-box;
  transition: opacity 0.3s;
}
.sm-portrait img { display: block; object-fit: cover; background: var(--accent-tint); }
.sm-initials {
  display: grid;
  place-items: center;
  background: var(--accent-deep);
  color: #ffffff;
  font: 700 30cqw/1 var(--font-nunito), sans-serif;
}
.sm-portrait.is-more { background: var(--color-text); }
.sm-portrait.is-more span { display: grid; place-items: center; height: 100%; color: #ffffff; font: 700 30cqw/1 var(--font-nunito), sans-serif; }
.sm-portrait:focus-visible { outline: 3px solid var(--sm-focus); outline-offset: 2px; }
.sm-portrait.is-active { box-shadow: 0 0 0 4px var(--sm-focus); }
.sm-map.is-level2 .sm-portrait:not(.is-active) img,
.sm-map.is-level2 .sm-portrait:not(.is-active) .sm-wreath { opacity: 0.35; }
/* вінець чемпіона (LaurelWreath): золото поверх темно-золотої підкладки (проп halo) – на кольоровому
   малюнку саме яскраве листя губиться на жовтих і світлих ділянках; підкладка – штрих, не filter */
.sm-wreath {
  color: var(--medal-gold);
  transition: opacity 0.3s;
}
.sm-empty {
  position: absolute;
  margin: 0;
  width: 40%;
  /* центрує GSAP (xPercent/yPercent -50, як портрети); CSS-translate GSAP читав як зсув у px і додавав
     до свого – текст на телефоні зʼїжджав на пів ширини вліво, за край поля */
  text-align: center;
  color: #ffffff;
  font-family: var(--font-neucha), cursive;
  font-size: clamp(14px, 2vw, 22px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
/* телефон: шар фрагмента вужчий за 180 px, тож кегль 14 px не влазив у поле (власник 2026-10-20);
   мапа тут на всю ширину екрана, тож кегль і ширина у vw масштабуються разом із нею, однакові для всіх
   полів; 15vw тримає текст у контурі найвужчого в центрі поля «Танці» з запасом (заміряно на 360/390/412) */
@media (max-width: 767px) {
  /* 66% – вузький острівець «Шахи»: там текст іде в кілька рядків, а не за контур */
  .sm-empty { width: min(15vw, 66%); font-size: 2.1vw; line-height: 1.2; }
}

/* ---------- підказка ---------- */
.sm-tip {
  position: absolute;
  z-index: 20;
  pointer-events: none;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1.5px solid var(--color-line);
  border-radius: 12px;
  box-shadow: var(--shadow-lift);
  padding: var(--sm-gap-2) var(--sm-gap-3);
  font-size: 14px;
  line-height: 1.3;
  transform: translate(-50%, calc(-100% - 10px));
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.15s;
}
.sm-tip.is-on { opacity: 1; }
.sm-tip.is-below { transform: translate(-50%, 0); }
.sm-tip b { display: block; font-family: var(--font-neucha), cursive; font-weight: 400 !important; font-size: 18px; }
.sm-tip small { display: block; color: var(--color-muted); font-size: 12px; }

/* ---------- панель «Назад» ---------- */
.sm-bar {
  position: absolute;
  top: var(--sm-gap-3);
  left: var(--sm-gap-3);
  z-index: 15;
  display: flex;
  align-items: center;
  gap: var(--sm-gap-2);
  max-width: calc(100% - 2 * var(--sm-gap-3));
}
.sm-back {
  display: inline-flex;
  align-items: center;
  gap: var(--sm-gap-1);
  flex: none;
  border: 1.5px solid var(--color-line);
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-lift);
}
.sm-back .material-symbols-outlined { font-size: 20px; }
.sm-back:focus-visible { outline: 3px solid var(--sm-focus); outline-offset: 2px; }
.sm-bar-title {
  background: color-mix(in srgb, var(--color-surface) 92%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.sm-bar-title b { font-family: var(--font-neucha), cursive; font-weight: 400 !important; font-size: 18px; }
.sm-bar-title small { color: var(--color-muted); }

/* ---------- картка спортсмена ---------- */
.sm-card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-line);
  border-radius: var(--sm-radius);
  box-shadow: var(--shadow-lift);
  padding: var(--sm-gap-4);
  margin-top: var(--sm-gap-3);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--sm-scroll-thumb) transparent;
}
.sm-card::-webkit-scrollbar { width: 8px; }
.sm-card::-webkit-scrollbar-track { background: transparent; }
.sm-card::-webkit-scrollbar-thumb { background: var(--sm-scroll-thumb); border-radius: 8px; }
.sm-card::-webkit-scrollbar-thumb:hover { background: var(--accent-deep); }
.sm-card::-webkit-scrollbar-corner { background: transparent; }
@media (min-width: 760px) {
  .sm-card {
    position: absolute;
    z-index: 16;
    top: var(--sm-gap-4);
    right: var(--sm-gap-4);
    bottom: var(--sm-gap-4);
    width: 360px;
    margin: 0;
  }
}
.sm-card-head { display: flex; gap: var(--sm-gap-3); align-items: center; }
.sm-card-head h3 { font-size: 24px; line-height: 1.2; }
.sm-meta { margin: 2px 0 0; font-size: 14px; color: var(--color-muted); }
.sm-headline { margin: var(--sm-gap-3) 0 0; font-size: 16px; }
.sm-card h4 {
  margin: var(--sm-gap-4) 0 var(--sm-gap-2);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}
.sm-ach { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sm-gap-2); }
.sm-ach li { display: flex; gap: var(--sm-gap-2); align-items: flex-start; font-size: 15px; }
.sm-ach .material-symbols-outlined { flex: none; font-size: 22px; }
.sm-quote { margin: var(--sm-gap-4) 0 0; padding-left: var(--sm-gap-3); border-left: 3px solid var(--accent-soft); }
.sm-quote blockquote { margin: 0; font-size: 16px; line-height: 1.4; font-style: italic; }
.sm-quote figcaption { margin-top: var(--sm-gap-2); font-size: 14px; font-weight: 700; color: var(--color-muted); }
.sm-go {
  display: inline-flex;
  align-items: center;
  gap: var(--sm-gap-2);
  margin-top: var(--sm-gap-4);
  background: var(--accent-deep);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
}
.sm-go:focus-visible { outline: 3px solid var(--sm-focus); outline-offset: 2px; }
.sm-offmap-note {
  margin: var(--sm-gap-3) 0 0;
  padding: var(--sm-gap-2) var(--sm-gap-3);
  background: var(--card-honey-tint);
  border-radius: 10px;
  font-size: 14px;
  color: var(--card-honey-strong);
}

/* ---------- аватари у картці, списку і панелі ---------- */
.sm-ava {
  flex: none;
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--accent-deep);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--ring, transparent), 0 0 0 5px var(--ring-edge, transparent);
}
.sm-ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sm-ava.is-big { width: 64px; height: 64px; font-size: 22px; box-shadow: 0 0 0 3px #ffffff, 0 0 0 7px var(--ring, transparent), 0 0 0 8px var(--ring-edge, transparent); }
/* аватар чемпіона: вінець виходить за коло на ~0.5 радіуса – поле, щоб листя не лягало на рамку рядка чи сусіда */
.sm-ava-wrap { position: relative; flex: none; display: inline-grid; margin: 12px 4px; }
.sm-ava-wrap.is-card { margin: 16px 8px; }
.sm-ava-wrap.is-panel { margin: 8px 0; }
.sm-ava.is-row { width: 64px; height: 64px; font-size: 20px; }

/* ---------- панель портретів на сенсорних екранах ---------- */
.sm-panel {
  margin-top: var(--sm-gap-3);
  display: flex;
  gap: var(--sm-gap-3);
  overflow-x: auto;
  padding: var(--sm-gap-2) var(--sm-gap-1);
  scrollbar-width: thin;
  scrollbar-color: var(--sm-scroll-thumb) transparent;
}
.sm-panel::-webkit-scrollbar { height: 8px; }
.sm-panel::-webkit-scrollbar-track { background: transparent; }
.sm-panel::-webkit-scrollbar-thumb { background: var(--sm-scroll-thumb); border-radius: 8px; }
.sm-panel::-webkit-scrollbar-thumb:hover { background: var(--accent-deep); }
.sm-panel::-webkit-scrollbar-corner { background: transparent; }
.sm-pp {
  flex: none;
  width: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sm-gap-2);
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  color: var(--color-text);
  padding: var(--sm-gap-1);
  border-radius: 12px;
}
.sm-pp .sm-ava { width: 56px; height: 56px; font-size: 18px; box-shadow: 0 0 0 2px #ffffff, 0 0 0 5px var(--ring, transparent), 0 0 0 6px var(--ring-edge, transparent); }
.sm-pp-plus { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--color-text); color: #ffffff; font-weight: 700; font-size: 16px; }
.sm-pp[aria-current='true'] { background: var(--accent-tint); }
.sm-pp:focus-visible { outline: 3px solid var(--sm-focus); outline-offset: 2px; }
.sm-pp-empty { margin: 0; color: var(--color-muted); font-size: 14px; }

/* ---------- легенда, фільтри, список ---------- */
.sm-legend {
  margin-top: var(--sm-gap-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm-gap-2) var(--sm-gap-4);
  font-size: 13px;
  color: var(--color-muted);
  align-items: center;
}
/* зноска про авторів мапи; на телефоні – кеглем легенди кілець, щоб не важила більше за мапу (власник 2026-10-20) */
.sm-credit { margin: 1rem 0 1.75rem; text-align: center; font-size: 0.98rem; color: var(--color-muted); }
.sm-phone-only { display: none; }
@media (max-width: 767px) {
  .sm-phone-only { display: inline; }
  .sm-chip-phone-shift { transform: translate(var(--sm-phone-dx, 0), var(--sm-phone-dy, 0)); }
  /* translate, а не transform: transform шару веде GSAP */
  .sm-portraits[data-phone-lift] { translate: 0 calc(-1 * var(--sm-phone-lift)); }
}
@media (max-width: 767px) { .sm-credit { font-size: 13px; line-height: 1.45; margin: var(--sm-gap-3) 0 var(--sm-gap-4); } }
.sm-legend span { display: inline-flex; gap: 6px; align-items: center; }
.sm-legend i { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--c); background: #ffffff; display: inline-block; box-shadow: 0 0 0 1px var(--e, transparent); }
.sm-filters { margin-top: var(--sm-gap-5); display: flex; flex-wrap: wrap; gap: var(--sm-gap-2); }
.sm-filters button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--color-line);
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.sm-filters button[aria-pressed='true'] { border-color: var(--color-text); background: var(--color-text); color: #ffffff; }
.sm-filters button:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 2px; }
.sm-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.sm-filters .sm-n { color: var(--text-quiet); font-weight: 700; }
.sm-filters button[aria-pressed='true'] .sm-n { color: var(--dark-fg); }
.sm-list {
  list-style: none;
  margin: var(--sm-gap-3) 0 0;
  padding: 0;
  display: grid;
  gap: var(--sm-gap-2);
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
/* картки одного рядка сітки – однакової висоти */
.sm-list li { display: flex; }
.sm-row {
  flex: 1;
  width: 100%;
  min-width: 0;
  display: flex;
  gap: var(--sm-gap-3);
  align-items: center;
  text-align: left;
  border: 1.5px solid var(--color-line);
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: 14px;
  padding: var(--sm-gap-2) var(--sm-gap-3);
  text-decoration: none;
  transition: opacity 0.25s, border-color 0.2s, background-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
/* ховер у бірюзі сайту, помітний (власник 2026-10-19): рамка акценту, тінт фону, легкий підйом */
a.sm-row:hover {
  border-color: var(--accent);
  background: var(--accent-tint);
  box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--accent) 55%, transparent);
  transform: translateY(-2px);
}
a.sm-row:hover .sm-row-name { color: var(--accent-deep); }
.sm-row:focus-visible { outline: 3px solid var(--accent-deep); outline-offset: 2px; }
.sm-row-text { min-width: 0; flex: 1; }
.sm-row-name { display: block; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-row-sport { display: flex; flex-wrap: wrap; gap: 2px 8px; font-size: 13px; color: var(--color-muted); align-items: center; }
.sm-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--color-text); }
.sm-list.has-focus .sm-row:not(.is-in) { opacity: 0.4; }
.sm-list.is-filtered li:not(:has(.is-in)) { display: none; }
.sm-row.is-in { border-color: var(--c); background: color-mix(in srgb, var(--c) 7%, var(--color-surface)); }

@media (max-width: 520px) {
  .sm-bar-title { font-size: 13px; }
  .sm-bar-title b { font-size: 16px; }
  .sm-back { padding: 4px 10px 4px 6px; font-size: 13px; }
  /* на 412px бірка у масштабі малюнка ~8px – збільшуємо, щоб читалась без наближення.
     Не клас is-zoomed (перемикався миттєво, бірки стрибали на 33-50 %), а --sm-chip-boost,
     який GSAP веде тією ж кривою і тривалістю, що й камеру */
  .sm-chip-inner { transform: scale(calc(1 + 0.5 * var(--sm-chip-boost))); transform-origin: 0 0; }
}

/* reduced motion – не коротша анімація, а її відсутність: без підйому і світла, стан показує контур */
@media (prefers-reduced-motion: reduce) {
  .sport-map .sm-lift,
  .sport-map .sm-frag *,
  .sport-map .sm-shadow,
  .sport-map .sm-portrait img,
  .sport-map .sm-wreath,
  .sport-map .sm-tip,
  .sport-map .sm-row { transition: none !important; }
  .sport-map a.sm-row:hover { transform: none; }
  .sm-frag.is-hover .sm-lift { transform: none; }
  .sm-frag.is-hover .sm-hit { stroke: var(--sm-focus); stroke-width: 6; }
}

