/* Home — hero, triptych, zigzag sections (from the mockup) + new sections in its language. */

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 0; position: relative; }
.hero-h1 { font-size: var(--fs-display); letter-spacing: -.045em; line-height: .98; }
.mk { display: inline-block; position: relative; color: #fff; padding: 0 .14em .02em; margin-left: -.04em; isolation: isolate; }
.mk::before { content: ""; position: absolute; inset: .06em 0 -.02em; background: var(--color-brand); clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%); z-index: -1; transform-origin: left; animation: mk .8s .25s var(--ease) both; }
@keyframes mk { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-top: clamp(24px, 3.5vw, 44px); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; color: var(--ink-2); font: 500 14px/1.2 var(--font-b); list-style: none; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.hero-desc { font-size: var(--fs-lead); color: var(--ink-2); max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ---------- triptych (signature hero motion) ---------- */
.tp-wrap { margin-top: clamp(32px, 4vw, 56px); position: relative; }
.tp-list { display: flex; gap: 12px; height: clamp(520px, 62vh, 600px); }
.tp { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r-3); overflow: hidden; background: var(--ink); box-shadow: var(--sh-2); transition: flex-grow .7s var(--ease), box-shadow .3s, height .6s var(--ease); }
.tp.is-open { flex-grow: 7.2; box-shadow: var(--sh-3); }
.tp-img { position: absolute; inset: 0; }
.tp-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.tp.is-open .tp-img img { transform: scale(1); }
.tp-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,33,47,.55), rgba(23,33,47,.72)); transition: opacity .5s; }
.tp.is-open .tp-shade { background: linear-gradient(180deg, rgba(23,33,47,.25) 0%, rgba(23,33,47,0) 35%, rgba(23,33,47,.35) 70%); }
.tp-toggle { position: absolute; inset: 0; z-index: 1; width: 100%; border: 0; background: transparent; cursor: pointer; padding: 0; text-align: left; border-radius: var(--r-3); }
.tp-toggle:focus-visible { outline-offset: -4px; outline-color: #fff; }
.tp-vlabel { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 14px; color: #fff; transition: opacity .3s .2s; }
.tp-vlabel .t { writing-mode: vertical-rl; transform: rotate(180deg); font: 800 26px/1 var(--font-h); letter-spacing: -.02em; white-space: nowrap; }
.tp-vlabel .shape { width: 22px; height: 22px; }
.tp.is-open .tp-vlabel { opacity: 0; transition-delay: 0s; pointer-events: none; }
.tp-num { position: absolute; top: 20px; left: 24px; z-index: 2; font: 800 15px/1 var(--font-h); color: #fff; letter-spacing: .06em; display: flex; align-items: center; gap: 10px; pointer-events: none; }
.tp-num::after { content: ""; width: 28px; height: 1px; background: rgba(255,255,255,.6); }
.tp:not(.is-open) .tp-num::after { display: none; }
.tp-tag { position: absolute; top: 16px; right: 18px; z-index: 2; opacity: 0; transition: opacity .3s; }
.tp-tag .shape { width: 10px; height: 10px; }
.tp.is-open .tp-tag { opacity: 1; transition-delay: .4s; }
.tp-band { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 76px 32px 28px; background: var(--band); color: var(--band-ink); clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%); opacity: 0; visibility: hidden; transform: translateY(40px); transition: opacity .3s, transform .5s var(--ease), visibility 0s .3s; }
.tp.is-open .tp-band { opacity: 1; visibility: visible; transform: none; transition: opacity .4s .3s, transform .6s .25s var(--spring), visibility 0s; }
.tp-band-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 28px; align-items: end; }
.tp-kicker { display: flex; align-items: center; gap: 10px; font: 600 13px/1 var(--font-b); letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.tp-title { font-size: clamp(34px, 3.6vw, 52px); letter-spacing: -.04em; margin: 10px 0 8px; }
.tp-band p { font-size: 16px; max-width: 42ch; opacity: .92; }
.tp-band .btn { margin-top: 16px; }
.tp[data-k="lot"] { --band: var(--color-brand); --band-ink: #fff; }
.tp[data-k="cas"] { --band: var(--color-trust); --band-ink: #fff; }
.tp[data-k="spo"] { --band: var(--color-gold); --band-ink: var(--ink); }
.tp-band .btn-on { background: #fff; color: var(--ink); box-shadow: 0 6px 16px rgba(23,33,47,.18); }
.tp-band .btn-on:hover { background: var(--surface-2); }
.tp[data-k="spo"] .btn-on { background: var(--ink); color: #fff; }
.tp[data-k="spo"] .btn-on:hover { background: #26344a; }
.frag { background: var(--surface-1); color: var(--ink); border-radius: var(--r-2); padding: 16px 18px; box-shadow: 0 1px 2px rgba(23,33,47,.12), 0 14px 32px rgba(23,33,47,.22); }
.frag-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 600 13px/1.2 var(--font-b); color: var(--ink-2); }
.frag-h strong { color: var(--ink); font-size: 15px; }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.cd div { background: var(--surface-2); border-radius: var(--r-1); padding: 8px 4px; text-align: center; }
.cd b { display: block; font: 800 26px/1 var(--font-h); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cd span { font: 500 12px/1 var(--font-b); color: var(--ink-2); }
.frag-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.frag-foot strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.avs { display: flex; align-items: center; }
.avs i { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; display: grid; place-items: center; font: 600 12px/1 var(--font-b); font-style: normal; color: #fff; }
.avs i:first-child { margin-left: 0; }
.tables { display: grid; gap: 8px; margin-top: 12px; }
.tbl { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-1); font-size: 14px; }
.tbl .n { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.tbl .n .shape { width: 10px; height: 10px; color: var(--color-trust); }
.tbl small { color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mm-teams { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-weight: 600; font-size: 15px; margin-top: 12px; }
.mm-teams .sc { font: 800 18px/1.2 var(--font-h); font-variant-numeric: tabular-nums; text-align: right; }
.mm-odds { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 8px; margin-top: 12px; }
.tp-progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 3; background: rgba(255,255,255,.18); opacity: 0; transition: opacity .3s; }
.tp.is-open .tp-progress { opacity: 1; }
.tp-progress i { display: block; height: 100%; width: 0; background: #fff; }
.tp-hint { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; color: var(--ink-2); font-size: 14px; }
.tp-dots { display: flex; gap: 8px; }
.tp-dots button { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; padding: 0; }
.tp-dots button span { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); transition: width .3s var(--spring), background .2s; display: block; }
.tp-dots button[aria-current="true"] span { width: 28px; border-radius: 999px; background: var(--ink); }

/* ---------- zigzag sections (signature 2: diagonals) ---------- */
.sec-a { background: var(--surface-1); clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%); margin-top: clamp(64px, 8vw, 110px); padding: calc(var(--cut) + clamp(64px, 6vw, 96px)) 0; }
.sec-b { margin-top: calc(var(--cut) * -0.55); }
.zz { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.zz.mirror { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); }
.zz.mirror .zz-photo { order: 2; }
.zz-photo { position: relative; margin: 0; align-self: stretch; min-height: 560px; }
.zz-photo .ph { position: absolute; inset: 0; overflow: hidden; border-radius: var(--r-3); clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); }
.zz.mirror .zz-photo .ph { clip-path: polygon(0 0, 100% 0, 100% 100%, 16% 100%); }
.zz-photo .ph picture, .zz-photo .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zz-photo .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(23,33,47,0) 40%, rgba(23,33,47,.45)); }
.big-shape { position: absolute; z-index: 1; pointer-events: none; }
.big-shape--tri { width: 150px; height: 130px; background: var(--color-gold); clip-path: polygon(50% 0, 100% 100%, 0 100%); left: -26px; bottom: -30px; }
.big-shape--circle { width: 140px; height: 140px; border-radius: 50%; background: var(--color-brand); right: -24px; top: -30px; }
.big-shape--square { width: 120px; height: 120px; border-radius: 10px; background: var(--color-trust); left: -20px; top: -24px; transform: rotate(10deg); }
.float { position: absolute; z-index: 2; padding: 14px 16px; max-width: 270px; }
.float--tl { left: 20px; top: 24px; }
.float--br { right: 24px; bottom: 28px; }
.float .k { font: 600 12px/1 var(--font-b); color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; }
.float .v { font: 800 22px/1.15 var(--font-h); letter-spacing: -.02em; margin-top: 6px; }
.float .s { font-size: 14px; color: var(--ink-2); margin-top: 4px; }

/* matches list */
.matches { display: grid; gap: 10px; }
.match { display: grid; grid-template-columns: 78px minmax(0, 1fr) repeat(3, 64px) auto; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; border-radius: var(--r-2); background: var(--surface-0); border: 1px solid var(--line); transition: transform .2s var(--spring), box-shadow .2s, background .2s; }
.match:hover { transform: translateY(-2px); box-shadow: var(--sh-2); background: var(--surface-1); }
.match.in { animation: rowIn .45s var(--spring) both; animation-delay: calc(var(--i) * 50ms); }
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.match--2 { grid-template-columns: 78px minmax(0, 1fr) repeat(2, 64px) auto; }
.m-meta { font: 600 14px/1.25 var(--font-b); font-variant-numeric: tabular-nums; }
.m-meta small { display: block; color: var(--ink-2); font-weight: 500; font-size: 12px; margin-top: 3px; }
.m-teams { min-width: 0; display: grid; gap: 4px; font-weight: 600; font-size: 15px; text-decoration: none; }
.m-teams div { display: flex; justify-content: space-between; gap: 8px; }
.m-teams span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-teams em { font-style: normal; font: 800 15px/1.4 var(--font-h); font-variant-numeric: tabular-nums; }
.m-teams:hover span { color: var(--color-trust); }
.m-league { font-size: 12px; color: var(--ink-2); font-weight: 500; }
.more { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--color-trust); font: 600 13px/1 var(--font-b); white-space: nowrap; border-radius: var(--r-1); font-variant-numeric: tabular-nums; text-decoration: none; }
.more:hover { background: var(--trust-50); }
.sec-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; color: var(--ink-2); font-size: 14px; flex-wrap: wrap; }
.sec-foot > span { display: inline-flex; align-items: center; gap: 8px; }
.sec-foot svg.icon { width: 16px; height: 16px; }

/* results card */
.res-card { padding: 26px; }
.res-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.res-top h3 { font-size: 24px; letter-spacing: -.03em; }
.res-top .d { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.res-top .jp { text-align: right; }
.res-top .jp small { display: block; color: var(--ink-2); font-size: 13px; }
.res-top .jp b { font: 800 22px/1.2 var(--font-h); font-variant-numeric: tabular-nums; }
.check { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.check label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.check-row { display: flex; gap: 10px; }
.check input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-2); font: 500 16px/1 var(--font-b); font-variant-numeric: tabular-nums; background: var(--surface-0); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.check input:focus { outline: none; border-color: var(--color-trust); box-shadow: 0 0 0 4px var(--trust-50); }
.check-out { min-height: 24px; margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.check-out strong { color: var(--ink); }
.res-next { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.res-next .n { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 15px; }
.res-next .n strong { color: var(--ink); }
.res-panel[hidden] { display: none; }

/* ---------- casino shelf (new, horizontal slider) ---------- */
.shelf-wrap { position: relative; }
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 4px 18px; margin: 0 -4px; overscroll-behavior-x: contain; }
.shelf::-webkit-scrollbar { display: none; }
.shelf > * { scroll-snap-align: start; }
.shelf-nav { display: flex; gap: 8px; }
.shelf-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-1); display: grid; place-items: center; cursor: pointer; box-shadow: var(--sh-1); transition: transform .2s var(--spring), opacity .2s; }
.shelf-nav button:hover { transform: translateY(-2px); }
.shelf-nav button[disabled] { opacity: .35; cursor: default; transform: none; }
.shelf-progress { height: 3px; background: var(--surface-3); border-radius: 3px; overflow: hidden; margin-top: 4px; }
.shelf-progress i { display: block; height: 100%; width: 20%; background: var(--ink); border-radius: 3px; transition: transform .2s linear; }

/* ---------- family tiles (bingo/poker/keno/instant) ---------- */
.fam { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fam-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 22px; border-radius: var(--r-3); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--sh-2); transition: transform .3s var(--spring), box-shadow .3s; }
.fam-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--sh-3); }
.fam-card picture, .fam-card .bg { position: absolute; inset: 0; z-index: -2; }
.fam-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.fam-card:hover img { transform: scale(1.07); }
.fam-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23,33,47,.05) 20%, rgba(23,33,47,.85)); }
.fam-card .shape { position: absolute; top: 20px; left: 22px; width: 22px; height: 22px; color: #fff; transition: transform .4s var(--spring); }
.fam-card:hover .shape { transform: rotate(90deg) scale(1.15); }
.fam-card h3 { font-size: 26px; letter-spacing: -.03em; }
.fam-card p { font-size: 14px; opacity: .88; margin-top: 6px; }
.fam-card .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 14px; }
.fam-card .go svg.icon { width: 16px; height: 16px; transition: transform .25s var(--spring); }
.fam-card:hover .go svg.icon { transform: translateX(4px); }

/* ---------- steps (registration) ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: st; list-style: none; position: relative; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px); }
.step { position: relative; padding: 0 4px; }
.step-n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--surface-1); border: 2px solid var(--ink); font: 800 20px/1 var(--font-h); margin-bottom: 16px; transition: transform .3s var(--spring), background .2s, color .2s; }
.step:hover .step-n { transform: scale(1.08) rotate(-6deg); background: var(--ink); color: #fff; }
.step:nth-child(1) .step-n { border-color: var(--color-brand); }
.step:nth-child(4) .step-n { border-color: var(--color-trust); }
.step h3 { font-size: 18px; letter-spacing: -.02em; }
.step p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }

/* ---------- payments ---------- */
.pay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.pay-list { display: grid; gap: 10px; list-style: none; }
.pay-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 16px 18px; background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-2); transition: transform .2s var(--spring), box-shadow .2s; }
.pay-list li:hover { transform: translateX(4px); box-shadow: var(--sh-2); }
.pay-list .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--trust-50); color: var(--color-trust); }
.pay-list b { display: block; font: 700 16px/1.3 var(--font-h); }
.pay-list span { font-size: 14px; color: var(--ink-2); }
.cad { display: inline-flex; align-items: baseline; gap: 10px; margin-top: 22px; padding: 16px 20px; border-radius: var(--r-2); background: var(--ink); color: #fff; }
.cad b { font: 800 40px/1 var(--font-h); letter-spacing: -.03em; }

/* ---------- responsible band ---------- */
.rg { position: relative; margin-top: clamp(64px, 8vw, 110px); background: var(--color-trust); color: #fff; clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); padding: calc(var(--cut) + 64px) 0 96px; overflow: hidden; }
.rg .sec-num { -webkit-text-stroke: 2px #fff; opacity: .22; }
.rg-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: end; position: relative; }
.rg h2 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.035em; margin: 14px 0 12px; }
.rg p { opacity: .92; max-width: 52ch; }
.rg .eyebrow { color: rgba(255,255,255,.85); }
.rg-line { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.28); border-radius: var(--r-2); background: rgba(255,255,255,.08); font-weight: 600; }
.rg-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rg-tool { padding: 18px; border-radius: var(--r-2); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); transition: transform .2s var(--spring), background .2s; }
.rg-tool:hover { transform: translateY(-3px); background: rgba(255,255,255,.16); }
.rg-tool svg.icon { color: var(--color-gold); width: 24px; height: 24px; }
.rg-tool b { display: block; margin-top: 10px; font: 700 17px/1.2 var(--font-h); }
.rg-tool span { font-size: 14px; opacity: .88; }
.rg-deco { position: absolute; right: -60px; top: 30%; width: 340px; height: 340px; border-radius: 50%; border: 2px solid rgba(255,255,255,.12); pointer-events: none; }
.rg .btn-on { background: #fff; color: var(--ink); margin-top: 22px; }
.rg .btn-on:hover { background: var(--surface-2); }
.rg a { color: #fff; }

/* ---------- about strip ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.about-photo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-3); overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.legal-box { margin-top: 24px; padding: 18px 20px; border-radius: var(--r-2); border: 1px solid var(--line); background: var(--surface-0); display: grid; grid-template-columns: 40px 1fr; gap: 14px; font-size: 15px; color: var(--ink-2); }
.legal-box b { display: block; color: var(--ink); margin-bottom: 4px; font-family: var(--font-h); }
.legal-box .badge18 { color: var(--color-cta); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .tp-band-in { grid-template-columns: minmax(0, 1fr); }
  .tp-band p { display: none; }
  .fam { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .steps::before { display: none; }
}
@media (max-width: 900px) {
  .hero-row, .zz, .zz.mirror, .rg-grid, .pay, .about { grid-template-columns: minmax(0, 1fr); }
  .zz.mirror .zz-photo { order: 0; }
  .zz-photo { min-height: 340px; }
}
@media (max-width: 760px) {
  .tp-list { flex-direction: column; height: auto; gap: 10px; }
  .tp { flex: none; height: 84px; }
  .tp.is-open { height: 520px; }
  .tp-vlabel { left: 20px; right: 20px; bottom: auto; top: 50%; transform: translateY(-50%); flex-direction: row-reverse; justify-content: flex-end; }
  .tp-vlabel .t { writing-mode: horizontal-tb; transform: none; font-size: 22px; }
  .tp-tag { display: none; }
  .tp-num { top: 16px; left: 18px; }
  .tp:not(.is-open) .tp-num { display: none; }
  .tp-band { padding: 56px 18px 18px; clip-path: polygon(0 36px, 100% 0, 100% 100%, 0 100%); }
  .tp-title { font-size: 30px; }
  .tp-band .btn { margin-top: 10px; }
  .tp-hint { display: none; }
  .match, .match--2 { grid-template-columns: repeat(var(--oc, 3), minmax(0, 1fr)) auto; padding: 12px; }
  .m-meta { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; }
  .m-meta small { margin: 0; }
  .m-teams { grid-column: 1 / -1; }
  .zz-photo { min-height: 300px; }
  .float { max-width: 220px; }
  .sec-a { padding-top: calc(var(--cut) + 56px); padding-bottom: calc(var(--cut) + 56px); }
  .sec-b { padding-top: 64px; padding-bottom: 72px; }
  .segc { display: grid; width: 100%; }
  .segc button { padding: 0 8px; font-size: 14px; }
  .res-card { padding: 20px; }
  .ball { width: 44px; height: 44px; font-size: 16px; }
  .balls { gap: 8px; }
  .res-top .jp { text-align: left; }
  .rg-tools { grid-template-columns: minmax(0, 1fr); }
  .big-shape--tri { left: -8px; width: 110px; height: 96px; }
  .big-shape--circle { right: -8px; width: 100px; height: 100px; }
  .big-shape--square { left: -8px; width: 90px; height: 90px; }
  .fam { grid-template-columns: minmax(0, 1fr); }
  .fam-card { min-height: 220px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; }
  .step-n { grid-row: span 2; margin: 0; }
  .shelf { grid-auto-columns: 68%; }
  .check-row { flex-direction: column; }
}

/* ---------- lottery categories + lottery cards ---------- */
.lot-cats { margin-bottom: 28px; }
.lot-cat { display: block; text-decoration: none; transition: transform .25s var(--spring), box-shadow .25s; }
.lot-cat:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.lot-cat-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-50); color: var(--color-cta); margin-bottom: 16px; transition: transform .3s var(--spring); }
.lot-cat:hover .lot-cat-ic { transform: rotate(-8deg) scale(1.08); }
.lot-cat h3 { font-size: 19px; letter-spacing: -.02em; }
.lot-cat p { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
.lot-shelf .shelf { grid-auto-columns: minmax(260px, 1fr); }
.lot-card { padding: 22px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; }
.lot-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: var(--brand-50); }
.lot-card-top { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.lot-card-top h3 { font-size: 21px; letter-spacing: -.03em; flex: 1; }
.lot-card p { font-size: 14px; color: var(--ink-2); flex: 1; }
.lot-card-next { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.lot-card-next svg.icon { width: 18px; height: 18px; color: var(--color-brand); }
.lot-card-next strong { color: var(--ink); }

/* ---------- games shelf ---------- */
.shelf--games { grid-auto-columns: minmax(190px, 220px); }
.game.is-hidden { display: none; }

/* ---------- live casino section (photo background) ---------- */
.live-sec { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--ink); clip-path: polygon(0 0, 100% var(--cut), 100% 100%, 0 calc(100% - var(--cut))); padding: calc(var(--cut) + 56px) 0; }
.live-bg { position: absolute; inset: 0; z-index: -2; }
.live-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.live-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23,33,47,.82), rgba(23,33,47,.68) 50%, rgba(23,33,47,.9)); }
.live-sec .sec-head p, .live-sec .eyebrow { color: rgba(255,255,255,.82); }
.live-sec .sec-num { -webkit-text-stroke-color: rgba(255,255,255,.4); }
.live-sec .shelf-nav button { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.live-sec .shelf-progress { background: rgba(255,255,255,.18); }
.live-sec .shelf-progress i { background: #fff; }
.live-sec .game { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.live-sec .game-b span { color: rgba(255,255,255,.72); }
.live-cats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: -8px 0 22px; }
.live-cats li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-weight: 600; font-size: 14px; }
.live-cats .shape { width: 12px; height: 12px; }
.fam--home { margin-top: 18px; }
.fam-card h2 { font-size: 26px; letter-spacing: -.03em; color: #fff; }

/* calibration fixes */
.tbl { text-decoration: none; transition: border-color .15s, background .15s; }
.tbl:hover { border-color: var(--line-strong); background: var(--surface-0); }
.lot-card::after { display: none; }
.sec--tight + .sec-a { margin-top: 0; }
.match, .match--2 { grid-template-columns: 104px minmax(0, 1fr) repeat(var(--oc, 3), 64px) auto; }
.m-meta .live { height: 22px; padding: 0 8px; font-size: 11px; }
@media (max-width: 760px) { .match, .match--2 { grid-template-columns: repeat(var(--oc, 3), minmax(0, 1fr)) auto; } }
.fam-card::before { background: linear-gradient(180deg, rgba(23,33,47,.15) 0%, rgba(23,33,47,.55) 40%, rgba(23,33,47,.92) 100%); }
.fam-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rg-tool { display: block; text-decoration: none; }
.about-photo picture, .fam-card picture, .tp-img picture { position: absolute; inset: 0; }
.about-photo img, .tp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.live-bg picture { position: absolute; inset: 0; }
.live-bg img { height: 100%; }
.tp[data-k="lot"] { --band: var(--color-cta); }
.tp-band p { opacity: 1; }
/* outright (golf, F1): participant names need room */
.match.match--field { grid-template-columns: 104px minmax(0, 1fr) repeat(3, minmax(96px, 120px)) auto; }
.match--field .odd small { white-space: normal; line-height: 1.15; text-align: center; }
@media (max-width: 760px) { .match.match--field { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; } }
.m-league { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-teams > *, .m-teams div > span { min-width: 0; }
.m-teams div span { flex: 1 1 auto; }
.match--field .m-teams span { white-space: normal; overflow: visible; }
@media (max-width: 760px) {
  .match.match--field { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .match--field .more { grid-column: 1 / -1; justify-self: end; }
}
.m-teams div span { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; }
.m-teams div { align-items: flex-start; }
