@font-face{font-family:"Literata";font-style:normal;font-weight:700;font-display:swap;src:url("../font/literata-700-latin.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:"Literata";font-style:normal;font-weight:700;font-display:swap;src:url("../font/literata-700-latin-ext.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Literata";font-style:normal;font-weight:700;font-display:swap;src:url("../font/literata-700-cyrillic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Literata";font-style:normal;font-weight:700;font-display:swap;src:url("../font/literata-700-cyrillic-ext.woff2") format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"Golos Text";font-style:normal;font-weight:400;font-display:swap;src:url("../font/golos-400-latin.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:"Golos Text";font-style:normal;font-weight:400;font-display:swap;src:url("../font/golos-400-latin-ext.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Golos Text";font-style:normal;font-weight:400;font-display:swap;src:url("../font/golos-400-cyrillic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Golos Text";font-style:normal;font-weight:400;font-display:swap;src:url("../font/golos-400-cyrillic-ext.woff2") format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"Golos Text";font-style:normal;font-weight:500;font-display:swap;src:url("../font/golos-500-latin.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:"Golos Text";font-style:normal;font-weight:500;font-display:swap;src:url("../font/golos-500-latin-ext.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Golos Text";font-style:normal;font-weight:500;font-display:swap;src:url("../font/golos-500-cyrillic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Golos Text";font-style:normal;font-weight:500;font-display:swap;src:url("../font/golos-500-cyrillic-ext.woff2") format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"Golos Text";font-style:normal;font-weight:700;font-display:swap;src:url("../font/golos-700-latin.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:"Golos Text";font-style:normal;font-weight:700;font-display:swap;src:url("../font/golos-700-latin-ext.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Golos Text";font-style:normal;font-weight:700;font-display:swap;src:url("../font/golos-700-cyrillic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Golos Text";font-style:normal;font-weight:700;font-display:swap;src:url("../font/golos-700-cyrillic-ext.woff2") format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:500;font-display:swap;src:url("../font/jbmono-500-latin.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:"JetBrains Mono";font-style:normal;font-weight:500;font-display:swap;src:url("../font/jbmono-500-latin-ext.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:500;font-display:swap;src:url("../font/jbmono-500-cyrillic.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:500;font-display:swap;src:url("../font/jbmono-500-cyrillic-ext.woff2") format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
:root{
  --paper:#f7f5f0; --card:#ffffff; --tint:#efece3; --sand:#e6e1d4;
  --edge:rgba(32,30,25,.14); --edge-2:rgba(32,30,25,.26); --txt:#1d1b16; --txt-2:#5f5b51;
  --pine:#17624a; --wine:#9c2b38; --ochre:#b07d15; --lake:#245f8c;
  --disp:"Literata",Georgia,"Times New Roman",serif;
  --body:"Golos Text",system-ui,-apple-system,"Segoe UI",sans-serif;
  --fig:"JetBrains Mono",ui-monospace,Consolas,monospace;
  --w:1160px; --r:5px; --r2:10px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
/* Бумага под гирихом: восьмиконечная звезда с перемычками — та
   геометрия, которой в Узбекистане выложена половина изразцовых стен.
   Клетка на её месте не говорила о сайте ничего. Рисунок лежит в CSS
   как SVG data-URI: ни одного запроса и меньше килобайта веса. */
body{margin:0; color:var(--txt); font:400 17px/1.64 var(--body);
  background-color:var(--paper);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23231f18' stroke-opacity='.085' stroke-width='1.1'%3E%3Crect x='24' y='24' width='48' height='48'/%3E%3Crect x='24' y='24' width='48' height='48' transform='rotate(45 48 48)'/%3E%3Cpath d='M0 48h14M82 48h14M48 0v14M48 82v14'/%3E%3Cpath d='M0 0l14 14M96 0l-14 14M0 96l14-14M96 96l-14-14'/%3E%3C/g%3E%3C/svg%3E");
  background-size:96px 96px}
img{max-width:100%; height:auto; display:block}
a{color:var(--pine)}
a:hover{color:var(--wine)}
h1,h2,h3{font-family:var(--disp); font-weight:700; line-height:1.2;
  margin:0 0 14px; overflow-wrap:break-word}
h1{font-size:clamp(29px,4vw,48px); line-height:1.1; letter-spacing:-.012em}
h2{font-size:clamp(22px,2.5vw,31px)}
h3{font-size:clamp(18px,1.6vw,21px); margin-top:26px}
p{margin:0 0 14px; max-width:72ch}
ul,ol{margin:0 0 16px; padding-left:21px; max-width:72ch}
li{margin:0 0 8px}
strong{color:#000}

.hold{width:min(100% - 34px,var(--w)); margin-inline:auto}

.tojump{position:absolute; left:-9999px; top:0; background:var(--pine);
  color:#fff; padding:10px 16px; z-index:60}
.tojump:focus{left:0}

/* ── шапка в две строки ──────────────────────────────────────────────── */
.mast{background:var(--card); box-shadow:inset 0 -1px 0 var(--edge)}
.mast__top{display:flex; align-items:center; gap:20px; flex-wrap:wrap;
  padding:15px 0}
.emblem{display:inline-flex; align-items:center; gap:11px; text-decoration:none;
  color:var(--txt)}
.emblem__t{display:grid; line-height:1.14}
.emblem__t b{font:700 19px/1.1 var(--disp)}
.emblem__t span{font-size:11.5px; color:var(--txt-2); letter-spacing:.1em;
  text-transform:uppercase}
.mast__top .cta{margin-inline-start:auto}
.mast__nav{box-shadow:inset 0 1px 0 var(--edge)}
/* max-width:72ch с общего правила для списков резал меню до 759 px, и
   шесть пунктов на 1440 не помещались в строку — переносились на вторую */
.links{display:flex; gap:2px; list-style:none; margin:0; padding:0;
  flex-wrap:wrap; max-width:none}
.links a{display:inline-block; padding:12px 14px; font-size:15px;
  color:var(--txt-2); text-decoration:none; white-space:nowrap;
  border-bottom:2px solid transparent}
.links a:hover{color:var(--txt); border-bottom-color:var(--edge-2)}
.links a[aria-current]{color:var(--pine); font-weight:500;
  border-bottom-color:var(--pine)}

.where{padding:16px 0 0; font-size:13.5px; color:var(--txt-2)}
.where a{color:var(--txt-2)}

/* ── кнопки ──────────────────────────────────────────────────────────── */
.cta{display:inline-flex; align-items:center; gap:9px; text-decoration:none;
  padding:12px 22px; border-radius:var(--r); font-weight:500; font-size:16px;
  color:#fff; background:linear-gradient(170deg,#1d7a5a,var(--pine));
  box-shadow:0 8px 20px -10px rgba(23,98,74,.85);
  transition:transform .14s, box-shadow .14s}
.cta:hover{transform:translateY(-1px); color:#fff;
  box-shadow:0 14px 26px -10px rgba(23,98,74,.9)}
.cta::after{content:"\2192"; font-family:var(--fig); font-size:15px}
.cta--line{background:none; color:var(--txt);
  box-shadow:inset 0 0 0 1px var(--edge-2)}
.cta--line:hover{color:var(--pine); box-shadow:inset 0 0 0 1px var(--pine)}
.cta--sm{padding:9px 16px; font-size:14.5px}

/* ── первый экран ────────────────────────────────────────────────────── */
/* Первый экран: мягкое пятно света из верхнего левого угла и линовка
   пореже — герой не должен сливаться с остальной бумагой. */
.open{padding:30px 0 6px; position:relative}
.open::before{content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(120% 90% at 8% -10%, rgba(23,98,74,.10), transparent 62%),
    radial-gradient(90% 80% at 100% 0%, rgba(176,125,21,.07), transparent 60%)}
.open>*{position:relative}
.open__g{display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);
  gap:36px; align-items:start}
.eyebrow{display:inline-block; font:500 11.5px/1 var(--fig); letter-spacing:.15em;
  text-transform:uppercase; color:var(--wine); padding:7px 11px;
  background:rgba(156,43,56,.08); border-radius:var(--r); margin-bottom:16px}
.stand{font-size:19px; color:var(--txt-2); max-width:56ch; margin-bottom:20px}
.doors{display:flex; gap:11px; flex-wrap:wrap; margin-bottom:12px}
.small{font-size:13px; color:var(--txt-2); margin:0}

/* панель показателей: цифры моноширинным — примета архетипа */
.score{margin:0; background:var(--card); border-radius:var(--r2);
  box-shadow:inset 0 0 0 1px var(--edge); overflow:hidden}
.score div{display:flex; align-items:baseline; justify-content:space-between;
  gap:16px; padding:13px 18px; box-shadow:inset 0 -1px 0 var(--edge)}
.score div:last-child{box-shadow:none}
.score div:nth-child(2n){background:var(--tint)}
.score dt{font-size:14px; color:var(--txt-2)}
.score dd{margin:0; font:500 15px/1.3 var(--fig); text-align:right}

.face{margin:0; background:var(--card); border-radius:var(--r2);
  overflow:hidden; box-shadow:inset 0 0 0 1px var(--edge)}
.face img{width:100%}
.face figcaption{padding:11px 16px; font-size:13px; color:var(--txt-2)}

/* мозаика зала: шесть обложек на тёмной панели. Обложка — самое
   узнаваемое, что есть у казино, и она же даёт светлой странице цвет */
.hall{margin:0; border-radius:var(--r2); overflow:hidden;
  background:linear-gradient(158deg,#1a6e53 0%,#12503d 52%,#0e3b2f 100%);
  box-shadow:0 16px 34px rgba(18,74,57,.22), inset 0 0 0 1px rgba(0,0,0,.18)}
.hall__g{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px;
  padding:15px}
.hall__g img{width:100%; border-radius:var(--r);
  box-shadow:0 3px 9px rgba(0,0,0,.33)}
.hall figcaption{display:flex; justify-content:space-between; gap:14px;
  flex-wrap:wrap; padding:0 17px 15px; font:500 11.5px/1.4 var(--fig);
  letter-spacing:.06em; text-transform:uppercase; color:rgba(255,255,255,.62)}
.hall figcaption span:first-child{color:#ffd489}

/* показатели строкой во всю ширину под первым экраном */
.score--row{display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  margin-top:26px}
.score--row div{flex-direction:column; align-items:flex-start; gap:2px;
  padding:14px 18px; box-shadow:inset -1px 0 0 var(--edge)}
.score--row div:last-child{box-shadow:none}
.score--row div:nth-child(2n){background:var(--card)}
.score--row dd{text-align:left}

/* ── оглавление карточкой ────────────────────────────────────────────── */
/* Карточки поверх узора кладутся сплошным цветом: текст читается на
   ровном фоне, а рисунок остаётся вокруг них. */
.index{margin:28px 0 8px; padding:20px 22px; background:var(--card);
  border-radius:var(--r2); box-shadow:inset 0 0 0 1px var(--edge)}
.index h2{font-size:14px; font-family:var(--body); font-weight:700;
  letter-spacing:.09em; text-transform:uppercase; color:var(--txt-2);
  margin-bottom:12px}
.index ol{list-style:none; margin:0; padding:0; max-width:none;
  columns:2; column-gap:34px}
.index li{margin:0 0 7px; break-inside:avoid}
.index a{text-decoration:none; color:var(--txt); font-size:15.5px}
.index a:hover{color:var(--pine); text-decoration:underline}
.index em{font:500 12px/1 var(--fig); font-style:normal; color:var(--ochre);
  margin-inline-end:9px}

/* ── разделы ─────────────────────────────────────────────────────────── */
main{display:block; padding-bottom:16px}
.part{padding:26px 0 8px}
/* Тонированный раздел: ромбовая сетка, как кладка майолики. Из того же
   семейства, что гирих на бумаге, но мельче и спокойнее — раздел должен
   отличаться от фона, а не спорить с ним. */
.part--tint{margin:20px 0; padding:24px 26px 10px; border-radius:var(--r2);
  background-color:var(--tint);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='26' viewBox='0 0 44 26'%3E%3Cg fill='none' stroke='%23231f18' stroke-opacity='.06' stroke-width='1'%3E%3Cpath d='M22 0L44 13 22 26 0 13z'/%3E%3Cpath d='M0 0l22 13L44 0M0 26l22-13 22 13'/%3E%3C/g%3E%3C/svg%3E");
  background-size:44px 26px}
.part__b>h2{display:flex; align-items:baseline; gap:12px; flex-wrap:wrap}
.part__n{flex:none; display:inline-block; min-width:30px; padding:4px 7px;
  font:500 13px/1.25 var(--fig); text-align:center; color:#fff;
  background:var(--txt); border-radius:var(--r)}
/* цвет плашки идёт по кругу: зелёный, озёрный, охра, винный */
.part__n--a1{background:var(--pine)}
.part__n--a2{background:var(--lake)}
.part__n--a3{background:var(--ochre)}
.part__n--a0{background:var(--wine)}

/* ── карточки ────────────────────────────────────────────────────────── */
.tiles{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px;
  align-content:stretch; margin:18px 0 22px}
.tiles--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.tiles--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.tiles__i{display:flex; flex-direction:column; gap:8px; padding:17px 18px;
  background:var(--card); border-radius:var(--r2);
  box-shadow:inset 0 0 0 1px var(--edge)}
.tiles__i b{font:700 16px/1.28 var(--disp)}
.tiles__i span{font-size:14.5px; color:var(--txt-2)}
.sigil{width:34px; height:34px; border-radius:var(--r); display:grid;
  place-items:center; background:rgba(23,98,74,.09)}
.sigil svg{width:19px; height:19px; stroke:var(--pine); fill:none;
  stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round}
/* в ряду карточек значки разного цвета: одинаковые зелёные квадраты
   подряд глаз не различает и читает как орнамент */
.tiles__i:nth-child(4n+2) .sigil{background:rgba(36,95,140,.1)}
.tiles__i:nth-child(4n+2) .sigil svg{stroke:var(--lake)}
.tiles__i:nth-child(4n+3) .sigil{background:rgba(176,125,21,.12)}
.tiles__i:nth-child(4n+3) .sigil svg{stroke:var(--ochre)}
.tiles__i:nth-child(4n+4) .sigil{background:rgba(156,43,56,.1)}
.tiles__i:nth-child(4n+4) .sigil svg{stroke:var(--wine)}

/* ── витрина слотов ──────────────────────────────────────────────────── */
/* шесть в ряд, как в настоящем лобби: обложка 180x180 встаёт ровно в
   свой блок и не увеличивается */
.games{display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px;
  align-content:stretch; list-style:none; margin:20px 0 24px; padding:0;
  max-width:none}
.games li{margin:0}
.games__i{display:flex; flex-direction:column; height:100%;
  background:var(--card); border-radius:var(--r2); overflow:hidden;
  box-shadow:inset 0 0 0 1px var(--edge)}
.games__i img{width:100%}
.games__i div{display:flex; flex-direction:column; gap:3px; padding:10px 11px 12px}
.games__i b{font:700 13.5px/1.24 var(--disp)}
.games__i span{font-size:12px; color:var(--txt-2); line-height:1.38}
.games__i em{font:500 11px/1 var(--fig); font-style:normal; color:var(--ochre);
  margin-top:4px}

/* ── полосы, схемы, шаги ─────────────────────────────────────────────── */
.belt{margin:22px 0; border-radius:var(--r2); overflow:hidden;
  box-shadow:inset 0 0 0 1px var(--edge)}
.belt img{width:100%}
.frame{margin:20px 0 24px}
.frame img{width:100%; border-radius:var(--r2);
  box-shadow:inset 0 0 0 1px var(--edge)}
.frame figcaption{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px;
  font-size:13.5px; color:var(--txt-2)}
.frame figcaption b{font:500 11.5px/1.5 var(--fig); letter-spacing:.1em;
  text-transform:uppercase; color:var(--wine)}
.dual{margin:20px 0 24px}
.dual img{width:100%; border-radius:var(--r2);
  box-shadow:inset 0 0 0 1px var(--edge)}
.dual h3{margin:18px 0 12px}
.dual ul{margin:0; padding:0; list-style:none; max-width:none;
  columns:2; column-gap:34px}
.dual li{break-inside:avoid; padding-left:19px; position:relative}
.dual li::before{content:"\2022"; position:absolute; left:2px; top:-1px;
  color:var(--ochre); font-size:19px}

.walk{counter-reset:w; list-style:none; margin:18px 0 24px; padding:0;
  max-width:none; display:grid; gap:1px; background:var(--edge);
  border-radius:var(--r2); overflow:hidden;
  box-shadow:inset 0 0 0 1px var(--edge)}
.walk li{counter-increment:w; display:grid;
  grid-template-columns:34px minmax(0,1fr); gap:14px; align-items:start;
  margin:0; padding:15px 18px; background:var(--card)}
.walk li::before{content:counter(w,decimal-leading-zero);
  font:500 13px/1.6 var(--fig); color:var(--ochre)}
.walk b{display:block; font:700 15.5px/1.32 var(--disp); margin-bottom:2px}
.walk span{color:var(--txt-2); font-size:15px}

.ticks{list-style:none; margin:16px 0 22px; padding:0; max-width:72ch;
  display:grid; gap:9px}
.ticks li{position:relative; padding-left:28px}
.ticks li::before{content:""; position:absolute; left:3px; top:7px; width:13px;
  height:7px; border-left:2px solid var(--pine); border-bottom:2px solid var(--pine);
  transform:rotate(-45deg)}

/* ── таблица: плотная, как в аналитической панели ────────────────────── */
.tscan{overflow-x:auto; margin:18px 0 24px; background:var(--card);
  border-radius:var(--r2); box-shadow:inset 0 0 0 1px var(--edge)}
table{width:100%; border-collapse:collapse; font-size:15px}
caption{caption-side:top; text-align:left; padding:14px 18px 10px;
  font:500 11.5px/1.4 var(--fig); letter-spacing:.1em; text-transform:uppercase;
  color:var(--wine)}
th,td{padding:10px 18px; text-align:left; vertical-align:top;
  box-shadow:inset 0 -1px 0 var(--edge)}
th{font:700 12.5px/1.4 var(--body); letter-spacing:.04em; text-transform:uppercase;
  color:var(--txt-2); white-space:nowrap; background:var(--tint)}
tbody tr:last-child td{box-shadow:none}

/* ── врезки ──────────────────────────────────────────────────────────── */
.remark{margin:20px 0 24px; padding:16px 20px; background:var(--card);
  border-left:3px solid var(--ochre); border-radius:0 var(--r2) var(--r2) 0;
  font-size:17px; box-shadow:inset 0 0 0 1px var(--edge)}

/* полоса перехода тонирована: это точка действия, и она должна
   отличаться от обычной белой карточки */
.push{display:flex; align-items:center; gap:18px; flex-wrap:wrap;
  margin:22px 0 24px; padding:16px 20px;
  background:linear-gradient(100deg,rgba(23,98,74,.10),rgba(23,98,74,.04) 62%,
    rgba(176,125,21,.09));
  border-radius:var(--r2); box-shadow:inset 0 0 0 1px rgba(23,98,74,.42)}
.push>span{display:grid; gap:2px; min-width:min(100%,240px); flex:1 1 240px}
.push b{font:700 16px/1.3 var(--disp)}
.push span span{font-size:14.5px; color:var(--txt-2)}

.ask{display:grid; gap:8px; margin:18px 0 24px}
.ask details{background:var(--card); border-radius:var(--r2);
  box-shadow:inset 0 0 0 1px var(--edge)}
.ask summary{cursor:pointer; padding:14px 18px; font-weight:500; font-size:16px;
  list-style:none}
.ask summary::-webkit-details-marker{display:none}
.ask summary::after{content:"+"; float:right; font-family:var(--fig);
  color:var(--pine)}
.ask details[open] summary::after{content:"\2013"}
.ask p{margin:0; padding:0 18px 16px; color:var(--txt-2)}

.digits{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px;
  align-content:stretch; margin:18px 0 24px}
.digits div{display:flex; flex-direction:column; justify-content:center; gap:3px;
  padding:16px 18px; background:var(--card); border-radius:var(--r2);
  box-shadow:inset 0 0 0 1px var(--edge)}
.digits b{font:500 25px/1.15 var(--fig); color:var(--pine)}
.digits span{font-size:13.5px; color:var(--txt-2)}

/* ── дальше и финал ──────────────────────────────────────────────────── */
.onward{padding:24px 0 6px}
.onward h2{font-size:clamp(19px,2vw,23px)}
.onward ul{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px;
  align-content:stretch; list-style:none; margin:0; padding:0; max-width:none}
.onward li{margin:0}
.onward a{display:flex; height:100%; align-items:center;
  justify-content:space-between; gap:14px; padding:15px 18px;
  background:var(--card); border-radius:var(--r2); text-decoration:none;
  color:var(--txt); box-shadow:inset 0 0 0 1px var(--edge)}
.onward a:hover{color:var(--txt); box-shadow:inset 0 0 0 1px var(--pine)}
.onward b{display:block; font:700 15.5px/1.3 var(--disp)}
.onward span{font-size:13.5px; color:var(--txt-2)}
.onward em{font-style:normal; font-family:var(--fig); color:var(--pine)}
.onward li:nth-child(2) em{color:var(--lake)}
.onward li:nth-child(3) em{color:var(--ochre)}

.last{margin:26px 0 36px; padding:34px 28px; border-radius:var(--r2);
  text-align:center; color:#fff;
  background:linear-gradient(150deg,#1a6e53 0%,#12503d 55%,#0f3c30 100%);
  box-shadow:0 18px 38px -16px rgba(18,74,57,.6)}
.last h2{color:#fff}
.last p{margin:0 auto 20px; max-width:54ch; color:rgba(255,255,255,.8)}
.last .cta{color:#123c30; background:linear-gradient(170deg,#ffd489,#f0b757);
  box-shadow:0 10px 24px -12px rgba(0,0,0,.6)}
.last .cta:hover{color:#123c30}

/* ── подвал ──────────────────────────────────────────────────────────── */
/* Подвал: розетки сюзане — узбекская вышивка. Плотнее, чем бумага:
   низ страницы должен ощущаться тяжелее верха. */
.plinth{margin-top:14px; padding:30px 0 26px; background-color:var(--sand);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='52' viewBox='0 0 52 52'%3E%3Cg fill='none' stroke='%23231f18' stroke-opacity='.11' stroke-width='1'%3E%3Ccircle cx='26' cy='26' r='7'/%3E%3Cpath d='M26 12v-7M26 40v7M12 26h-7M40 26h7M16 16l-5-5M36 36l5 5M36 16l5-5M16 36l-5 5'/%3E%3C/g%3E%3C/svg%3E");
  background-size:52px 52px;
  box-shadow:inset 0 1px 0 var(--edge)}
.plinth__g{display:grid; grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr));
  gap:24px; align-content:stretch}
.plinth h3{font-size:13.5px; letter-spacing:.09em; text-transform:uppercase;
  font-family:var(--body); font-weight:700; color:var(--txt-2); margin-bottom:10px}
.plinth ul{list-style:none; margin:0; padding:0; display:grid; gap:6px}
.plinth a{color:var(--txt); text-decoration:none; font-size:14.5px}
.plinth a:hover{color:var(--pine)}
.plinth p{font-size:14px; color:var(--txt-2)}
.years{display:inline-block; margin-top:6px; padding:4px 10px; border-radius:var(--r);
  font:500 12px/1.3 var(--fig); color:var(--wine);
  box-shadow:inset 0 0 0 1px rgba(156,43,56,.4)}
.plinth__l{margin-top:20px; padding-top:16px; box-shadow:inset 0 1px 0 var(--edge)}
.plinth__l p{margin:0 0 6px; font-size:13px; max-width:none}

.gone{list-style:none; margin:18px 0 0; padding:0; display:flex; gap:9px;
  flex-wrap:wrap; max-width:none}
.gone a{display:inline-block; padding:9px 15px; border-radius:var(--r);
  text-decoration:none; color:var(--txt); background:var(--card);
  box-shadow:inset 0 0 0 1px var(--edge)}
.gone a:hover{box-shadow:inset 0 0 0 1px var(--pine)}

/* ссылка внутри текста подчёркнута: задание требует видимых ссылок */
.part__b p a,.part__b li a,.remark a,.tscan a{text-decoration:underline;
  text-underline-offset:3px}

/* ── узкие экраны ────────────────────────────────────────────────────── */
@media (max-width:980px){
  .open__g{grid-template-columns:1fr; gap:24px}
  /* на телефоне мозаика идёт первой: сначала показываем зал, потом
     объясняем. Колонкой текста первый экран открывать нечем */
  .open__g .hall{order:-1}
  .games{grid-template-columns:repeat(4,minmax(0,1fr))}
  /* тройка карточек остаётся тройкой: на двух колонках она даёт ряд 2+1 */
  .tiles--4,.digits,.onward ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  .score--row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .score--row div:nth-child(2n){background:var(--paper)}
  .score--row div:nth-child(4n+2),.score--row div:nth-child(4n+3){
    background:var(--card)}
  .score--row div:nth-child(2n){box-shadow:none}
  .plinth__g{grid-template-columns:repeat(2,minmax(0,1fr))}
  .plinth__g>div:first-child{grid-column:1/-1}
}
@media (max-width:640px){
  body{font-size:16px}
  .index ol,.dual ul{columns:1}
  .tiles,.tiles--2,.tiles--4,.digits,.onward ul{grid-template-columns:1fr}
  .games{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hall__g{gap:7px; padding:11px}
  .plinth__g{grid-template-columns:1fr}
  .mast__top .cta{margin-inline-start:0}
  /* меню в четыре ряда съедало весь первый экран телефона */
  .links a{padding:7px 10px; font-size:13.5px; border-bottom-width:1px}
  .part--tint{padding:20px 16px 8px; margin-inline:-4px}
  .last{padding:24px 18px}
  /* таблица на телефоне разворачивается в карточки */
  .tscan table,.tscan thead,.tscan tbody,.tscan tr,.tscan td{display:block;
    width:100%}
  .tscan thead{display:none}
  .tscan tr{padding:6px 0; box-shadow:inset 0 -1px 0 var(--edge)}
  .tscan td{box-shadow:none; padding:5px 18px}
  .tscan td::before{content:attr(data-label); display:block;
    font:700 11.5px/1.5 var(--body); letter-spacing:.06em; text-transform:uppercase;
    color:var(--txt-2)}
}
@media (prefers-reduced-motion:reduce){
  *{transition:none !important}
}
