/* Formula AK - sections and pages. Tokens and base components live in base.css.
   The graphic system: the poker table seen at an angle (felt, gold line, dark rail), stadium-shaped photo frames,
   poker chips as markers and numerals, ivory playing cards, ice-blue room light. */

/* ---------- background photo / video of a section (media slots from the admin) ---------- */
.slot { position: absolute; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.slot-media, .slot-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.slot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--bg-rgb), var(--dim-d)) 0%, rgba(var(--bg-rgb), calc(var(--dim-d) * .8)) 55%, var(--bg) 100%); }
.has-slot { isolation: isolate; }
.art, .art img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- section heads ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.sec-head .kicker, .first-copy .kicker, .faq-wrap .kicker { margin-bottom: 14px; }
.sec-head .muted { max-width: 46ch; }
.sec-title { margin-bottom: clamp(28px, 3.4vw, 44px); }

/* ---------- the felt: a table surface with a gold line and a dark rail ---------- */
/* the felt of a table under its lamp: light pools in the middle of the top edge, the edges fall into the dark room */
.felt-panel { position: relative; isolation: isolate; border-radius: var(--r-lg); background: radial-gradient(130% 110% at 50% 0%, transparent 48%, rgba(var(--veil-rgb), .55) 100%), radial-gradient(70% 70% at 50% 0%, rgba(90, 140, 240, .2), transparent 68%), linear-gradient(rgba(5, 11, 32, .78), rgba(5, 11, 32, .84)), url(../images/art/tex-felt-480.webp) center / 280px repeat, #0f2763; color: #f1f4fa; box-shadow: inset 0 0 0 1px rgba(212, 175, 106, .45), inset 0 1px 0 rgba(255, 255, 255, .06), var(--shadow); }
.felt-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: .35; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23f)'/%3E%3C/svg%3E"); }


/* ---------- stadium photo frames ---------- */
/* ---------- photos: one shape everywhere, a rounded frame with a hairline ---------- */


/* =================== home =================== */

/* ---------- hero: the hand on a dark stage; the smoke lives behind it and moves slowly ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding: calc(var(--nav-h) + 24px) 0 clamp(22px, 3vw, 40px); background: #060912; color: #f1f4fa;
  --bg: #060912; --bg-rgb: 6, 9, 18; --bg-2: #0c111e; --ink: #f1f4fa; --mute: #c3cce0; --dim: #93a0bd; --line: rgba(170, 195, 240, .14); --line-2: rgba(170, 195, 240, .26); --gold-text: #e6c78e; --ice: #8fcbff; --ice-rgb: 143, 203, 255; color-scheme: dark; }
/* no z-index on the layers: every blended layer must share the hero's one stacking context, or screen has nothing to blend with */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-bg .slot { z-index: 0; }
.hero-photo { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .3) 32%, #000 66%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .3) 32%, #000 66%); }
.hero-photo .art { opacity: .6; object-position: 62% 40%; animation: breathe 30s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: scale(1.02); } to { transform: scale(1.08) translateX(-1.2%); } }
/* the reel: three photos of the club night slowly replace each other (a 27 s round, 9 s each, 2 s crossfade);
   the first is already in when the page opens, the others wait at zero until their turn */
.hero-photo.reel .art { position: absolute; inset: 0; opacity: 0; animation: breathe 30s ease-in-out infinite alternate, reel 27s linear infinite; animation-delay: 0s, -2s; }
.hero-photo.reel .art:nth-child(2) { animation-delay: -10s, 7s; }
.hero-photo.reel .art:nth-child(3) { animation-delay: -20s, 16s; }
@keyframes reel { 0% { opacity: 0; } 7.4% { opacity: .5; } 33.3% { opacity: .5; } 40.7% { opacity: 0; } 100% { opacity: 0; } }
.hero-photo.reel .art:nth-child(1) img { object-position: 100% 35%; }
.hero-photo.reel .art:nth-child(2) img { object-position: 27% 50%; }
.hero-photo.reel .art:nth-child(3) img { object-position: 100% 50%; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(52% 62% at 72% 40%, rgba(37, 86, 200, .14), transparent 70%), linear-gradient(0deg, #060912 0%, rgba(6, 9, 18, 0) 38%), linear-gradient(180deg, rgba(6, 9, 18, .72) 0%, transparent 22%); }
.fx { position: absolute; pointer-events: none; mix-blend-mode: screen; }
.fx .art { object-fit: contain; }
/* the GPU smoke and blue fire (js/fx.js): always behind the content, light added onto the scene, faded in after the first frame */
.fxc { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity 2.4s var(--ease); }
.fxc.on { opacity: 1; }
/* the thin layer in front: wider than its objects, so the smoke can wrap around their lower edge */
.hero-stage .fx-front { left: -25%; top: -5%; width: 150%; height: 130%; }
.royal .fx-front { left: -5%; top: 0; width: 110%; height: 140%; }
.smoke-fb { position: absolute; left: -10%; right: -10%; bottom: -12%; height: 75%; opacity: .4; mix-blend-mode: screen; -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 35%, #000 70%, transparent); animation: drift 46s ease-in-out infinite alternate; transition: opacity 3s; }
.smoke-fb .art { object-fit: cover; }
.hero-bg:has(.fxc.on) .smoke-fb { opacity: 0; }
@keyframes drift { from { translate: -4% 0; } to { translate: 4% 2%; } }
.beams { position: absolute; inset: 0; mix-blend-mode: screen; }
.beams i { position: absolute; top: -12%; width: 26vw; height: 120%; background: linear-gradient(180deg, rgba(143, 203, 255, .14), rgba(143, 203, 255, .03) 55%, transparent 80%); clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); filter: blur(14px); transform-origin: 50% 0; animation: sweep 22s ease-in-out infinite alternate; }
.beams i:nth-child(1) { left: 54%; rotate: 12deg; }
.beams i:nth-child(2) { left: 76%; rotate: -12deg; animation-duration: 28s; animation-delay: -9s; opacity: .7; }
@keyframes sweep { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
.sparks { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }.hero-in { position: relative; flex: 1 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(16px, 3vw, 48px); }
.hero-copy { position: relative; z-index: 2; }
.hero .h1 { max-width: 12.5ch; text-shadow: 0 4px 40px rgba(7, 14, 34, .6); }
.hero .lead { margin-top: 22px; max-width: 46ch; color: #c3cce0; }
.hero .lead b { color: #fff; font-weight: 600; }
@media (min-width: 761px) { .hero .lead .mbr { display: none; } }
.cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.js .hero-copy > * { animation: rise 1.2s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .1s; } .js .hero-copy > :nth-child(3) { animation-delay: .22s; } .js .hero-copy > :nth-child(4) { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* the stage: the hand in front, the club's chips glowing behind it */
.hero-stage { position: relative; height: min(64vh, 580px); }
.hero-chips { position: absolute; right: -2%; top: 2%; width: 36%; opacity: .85; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); animation: bob 9s ease-in-out infinite; }
.hero-chips .art { width: 100%; height: auto; translate: calc(var(--px, 0) * -12px) calc(var(--py, 0) * -8px); }
.js .hero-chips { animation: chips-in 2s 1.4s var(--ease) both, bob 9s 3.4s ease-in-out infinite; }
@keyframes chips-in { from { opacity: 0; transform: translateY(30px) scale(.92); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
/* Formula AK deck: poker proportions, the house serif, mirrored indices and court halves. */
.card { position: absolute; display: block; width: var(--cw, 230px); aspect-ratio: 63 / 88; perspective: 1200px; }
.card-in { position: absolute; inset: 0; display: block; transform-style: preserve-3d; transition: transform 1s var(--spring); }
.js .card:not(.open) .card-in { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; display: block; border-radius: 4.8% / 3.4%; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; box-shadow: 0 30px 50px -24px rgba(2, 6, 18, .85), 0 10px 18px -10px rgba(2, 6, 18, .6); }
.front { background: #f6f1e6; color: #121b32; box-shadow: inset 0 0 0 1px rgba(212, 175, 106, .5), 0 30px 50px -24px rgba(2, 6, 18, .85), 0 10px 18px -10px rgba(2, 6, 18, .6); }
.front.card-red { color: var(--red); }
.card-ace-suit { position: absolute; inset: 25% 15%; display: grid; place-items: center; font-size: calc(var(--cw, 230px) * .65); }
.front::before { content: ''; position: absolute; inset: 3.8%; border: 1px solid rgba(164, 125, 57, .24); border-radius: 2% / 1.4%; pointer-events: none; }
.card-index { position: absolute; z-index: 1; display: flex; width: 17%; flex-direction: column; align-items: center; gap: calc(var(--cw, 230px) * .012); }
.card-index-top { left: 6.5%; top: 5.5%; }
.card-index-bottom { right: 6.5%; bottom: 5.5%; transform: rotate(180deg); }
.card-index b { font-family: var(--display); font-size: calc(var(--cw, 230px) * .17); font-weight: 700; font-style: normal; font-variant-numeric: lining-nums; line-height: 1; letter-spacing: -.035em; }
.card-index .s { font-size: calc(var(--cw, 230px) * .105); }
.card-rank-10 .card-index b { font-size: calc(var(--cw, 230px) * .16); line-height: calc(.17 / .16); letter-spacing: -.07em; }
.card-court { position: absolute; inset: 14% 23%; overflow: hidden; }
.card-court-half { position: absolute; left: 0; width: 100%; height: 50%; display: grid; place-items: center; }
.card-court-top { top: 0; }
.card-court-bottom { bottom: 0; transform: rotate(180deg); }
.card-court-half img { width: 100%; height: 100%; object-fit: contain; }
.card-ace-emblem { position: absolute; left: 50%; top: 48%; width: 46%; aspect-ratio: 15 / 17.7; transform: translate(-50%, -50%); }
.card-ace-shape { width: 100%; height: 100%; }
.card-ace-mark { position: absolute; left: 50%; top: 50%; width: 43%; aspect-ratio: 461.23 / 341.19; transform: translate(-50%, -50%); background: #f6f1e6; -webkit-mask: url(../images/brand/ak-mark.svg) center / contain no-repeat; mask: url(../images/brand/ak-mark.svg) center / contain no-repeat; }
.card-signature { position: absolute; top: 74%; left: 22%; right: 22%; text-align: center; font-family: var(--text); font-size: calc(var(--cw, 230px) * .043); font-weight: 600; line-height: 1; letter-spacing: .13em; text-transform: uppercase; color: #907039; }
.card-ten-pips { position: absolute; inset: 19% 32%; }
.card-ten-pips .s { position: absolute; left: var(--pip-x); top: var(--pip-y); font-size: calc(var(--cw, 230px) * .17); transform: translate(-50%, -50%); }
.card-ten-pips .pip-inverted { transform: translate(-50%, -50%) rotate(180deg); }
.back { transform: rotateY(180deg); background: #15254a; }
.back::before { content: ''; position: absolute; inset: 7%; border-radius: 5% / 3.6%; border: 1px solid rgba(212, 175, 106, .6); background: repeating-linear-gradient(45deg, transparent 0 9px, rgba(212, 175, 106, .14) 9px 10px), repeating-linear-gradient(-45deg, transparent 0 9px, rgba(212, 175, 106, .14) 9px 10px); }
.back-mark { position: absolute; aspect-ratio: 522 / 356; background: var(--foil); background-size: 240% 240%; -webkit-mask: url(../images/brand/ak-mark.svg) center / contain no-repeat; mask: url(../images/brand/ak-mark.svg) center / contain no-repeat; }
.back-mark { left: 50%; top: 50%; width: 46%; translate: -50% -50%; }

/* the hand: dealt from off-screen onto the table */
.hole { position: absolute; inset: 0; transform: translate(calc(var(--px, 0) * 14px), calc(var(--py, 0) * 9px)); }
.hole .card { --cw: min(17vw, 228px); transition: translate 1.2s var(--ease), rotate 1.2s var(--ease), opacity .7s; }
.c-ace { left: 22%; top: 12%; rotate: -10deg; z-index: 1; }
.c-king { left: 46%; top: 8%; rotate: 8deg; z-index: 2; }
.js .hole:not(.dealt) .c-ace { translate: 60vw -70vh; rotate: -60deg; opacity: 0; }
.js .hole:not(.dealt) .c-king { translate: 50vw -80vh; rotate: -40deg; opacity: 0; }
.hole.dealt .c-king { transition-delay: .25s; }
.hole.settled .card { transition: translate .6s var(--spring), rotate .6s var(--spring); }
.hole.settled .c-ace:hover { translate: 0 -16px; rotate: -6deg; }
.hole.settled .c-king:hover { translate: 0 -16px; rotate: 4deg; }

/* ---------- the board: the nearest game, the countdown, the phases of the night and the way in ---------- */
.board { position: relative; margin-top: clamp(18px, 2.4vw, 32px); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-areas: "main art" "plan plan"; border-radius: var(--r-lg); overflow: hidden; color: #f1f4fa;
  background: radial-gradient(70% 120% at 88% 10%, rgba(60, 110, 230, .26), transparent 62%), linear-gradient(rgba(var(--veil-rgb), .8), rgba(var(--veil-rgb), .88)), url(../images/art/tex-felt-480.webp) center / 280px repeat, #0c1d4a;
  box-shadow: inset 0 0 0 1px rgba(212, 175, 106, .32), inset 0 1px 0 rgba(255, 255, 255, .07), 0 44px 80px -40px rgba(0, 0, 0, .9); }
.js .board { animation: rise 1.2s .45s var(--ease) both; }
/* the mask sits on the picture itself: on the wrapper it would isolate the picture and screen would have nothing to blend with */
.bd-art { grid-area: art; position: relative; min-height: 300px; }
.bd-art > .art { position: absolute; inset: 0; mix-blend-mode: screen; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); animation: breathe 26s ease-in-out infinite alternate; }
.bd-art > .art img { object-position: 60% 50%; }
/* the cup: its box is the picture itself, so the round mask melts the smoke at its real edges, not at the edges of the column */
.bd-art.is-emblem > .art { inset: 4% auto 0 50%; height: 96%; width: auto; aspect-ratio: 2 / 3; translate: -50% 0; -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent 100%); mask-image: radial-gradient(closest-side, #000 50%, transparent 100%); }
.bd-art.is-emblem > .art img { object-fit: cover; }
.bd-main { grid-area: main; position: relative; z-index: 1; min-width: 0; padding: clamp(24px, 3vw, 40px) clamp(22px, 3vw, 44px) 22px; display: flex; flex-direction: column; align-items: flex-start; }
.bd-k { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #f1dcaa; }
/* the dot only pulses while the game is really on */
.bd-dot { width: 8px; height: 8px; border-radius: 50%; background: #d4af6a; }
.board.is-live .bd-dot { background: #8fcbff; --ping: 143, 203, 255; animation: ping 1.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(var(--ping, 212, 175, 106), .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(var(--ping, 212, 175, 106), 0); } }
.bd-name { margin-top: 10px; font-family: var(--display); font-weight: 600; font-size: clamp(32px, 3.3vw, 48px); line-height: 1.05; overflow-wrap: anywhere; }
.bd-name a { transition: color .3s; }
.bd-name a:hover { color: #f1dcaa; }
.bd-sub { margin-top: 8px; max-width: 46ch; font-size: 15px; color: #c3cce0; }
/* what is honestly known while the game is on (or that registration is over) */
.bd-status { margin-top: 22px; max-width: 46ch; padding: 12px 16px; border-radius: 16px; font-size: 15px; font-weight: 500; line-height: 1.5; color: #f1f4fa; background: rgba(143, 203, 255, .08); box-shadow: inset 0 0 0 1px rgba(143, 203, 255, .22); }
.bd-status[hidden], .bd-clock[hidden] { display: none; }
/* One date-scoped arrival offer, shared by the board, calendar and event details. */
.arrival-bonus { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 460px; margin-top: 16px; padding: 14px 18px; border: 1px solid rgba(var(--gold-rgb), .4); border-radius: var(--r-sm); background: rgba(var(--gold-rgb), .09); color: var(--gold-hi); }
.arrival-bonus-value { flex: none; font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.arrival-bonus-copy { display: block; min-width: 0; font-size: 14px; line-height: 1.45; text-align: left; }
.arrival-bonus-copy b { display: block; font-weight: 600; color: var(--ink); }
.arrival-bonus-copy > span { display: block; }
.tcard .arrival-bonus { flex-wrap: wrap; gap: 8px 12px; padding: 12px 14px; }
.bd-main > .bd-desc:has(.arrival-bonus) { width: 100%; }
.bd-desc > .arrival-bonus:first-child { margin-top: 0; }
.bd-clock { margin-top: 24px; }
.bd-label { display: block; font-size: 13px; font-weight: 600; color: rgba(241, 244, 250, .66); }
.bd-digits { margin-top: 10px; display: flex; gap: 8px; }
.bd-digits .u { min-width: 78px; padding: 12px 10px 10px; display: flex; flex-direction: column; align-items: center; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025)); box-shadow: inset 0 0 0 1px rgba(170, 195, 240, .16), inset 0 1px 0 rgba(255, 255, 255, .1); }
.bd-digits .u[hidden] { display: none; }
.bd-digits b { display: flex; height: 1em; overflow: hidden; font-size: clamp(34px, 3.1vw, 46px); font-weight: 600; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.bd-digits b span { display: block; }
.bd-digits b span.roll { animation: roll .55s var(--ease); }
@keyframes roll { from { transform: translateY(-80%); opacity: 0; filter: blur(3px); } }
.bd-digits i { margin-top: 7px; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .03em; color: rgba(241, 244, 250, .55); }
.board.is-closed .bd-digits { display: none; }
.bd-cta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.btn-xl { min-height: 62px; padding: 16px 34px; font-size: 17px; }
.btn-xl .btn-ic { width: 44px; height: 44px; margin: -8px -24px -8px 8px; }
/* the way in breathes: a warm halo every few seconds and a glint across it */
.bd-reg { animation: halo 3.2s ease-in-out infinite; }
.bd-reg::before { animation: glint 5s 1.6s var(--ease) infinite; }
@keyframes halo { 50% { box-shadow: inset 0 1px 0 rgba(255, 251, 238, .85), inset 0 -1px 0 rgba(120, 82, 24, .28), 0 0 0 6px rgba(227, 192, 124, .1), 0 14px 44px -8px rgba(227, 192, 124, .85), 0 18px 34px -20px rgba(2, 6, 18, .9); } }
@keyframes glint { 0% { background-position: 160% 0; } 28%, 100% { background-position: -60% 0; } }
.bd-note { margin-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(241, 244, 250, .6); }
.bd-note .i { color: #8fcbff; }
.bd-plan { grid-area: plan; position: relative; z-index: 1; padding: 18px clamp(22px, 3vw, 44px) 22px; border-top: 1px solid rgba(170, 195, 240, .12); background: rgba(3, 8, 24, .42); }
.bd-now { font-size: 14px; font-weight: 500; color: #dfe7f7; }
.bd-now b { font-weight: 600; color: #f1dcaa; }
.phases { margin-top: 14px; display: flex; gap: 6px; }
.pha { flex: var(--w) 1 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; transition: opacity .6s; }
.pha-bar { position: relative; height: 6px; margin-bottom: 9px; border-radius: var(--pill); background: linear-gradient(90deg, rgba(170, 195, 240, .12), rgba(170, 195, 240, .22)); overflow: hidden; }
/* the fill: ice light that warms into gold as the phase goes on, a sheen running along it */
.pha-bar i { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; transform-origin: 0 50%; transform: scaleX(var(--f, 0)); background: linear-gradient(90deg, #4f93ff 0%, #8fcbff 32%, #f6e5bb 72%, #e3c07c 100%); transition: transform 1s linear; }
.pha-bar i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .8) 50%, transparent 65%); background-size: 240% 100%; animation: pha-sheen 2.6s ease-in-out infinite; }
@keyframes pha-sheen { from { background-position: 130% 0; } to { background-position: -130% 0; } }
.pha.is-past .pha-bar i { background: linear-gradient(90deg, #a8823f, #e3c07c); }
.pha.is-past .pha-bar i::after { animation: none; background: none; }
.pha-break .pha-bar { background: repeating-linear-gradient(90deg, rgba(170, 195, 240, .26) 0 3px, transparent 3px 7px); }
.pha-final .pha-bar { background: linear-gradient(90deg, rgba(212, 175, 106, .4), rgba(212, 175, 106, 0)); }
.pha b { font-size: 13px; font-weight: 600; line-height: 1.3; text-wrap: balance; }
/* the second bar: blue while the doors are open for registration, gold dashes while the late one lasts; it runs on
   across the gaps between the phases, its words stand once at the start of each */
.pha-reg { position: relative; min-height: 22px; margin: -3px 0 6px; padding-top: 8px; font-size: 10px; font-weight: 500; line-height: 1; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.pha-reg::before { content: ''; position: absolute; left: 0; right: calc(var(--pgap, 6px) * -1); top: 0; height: 3px; border-radius: 3px; }
.pha-reg.is-end::before { right: 0; }
.pha-reg.is-reg { color: #8fcbff; }
.pha-reg.is-reg::before { background: linear-gradient(90deg, rgba(143, 203, 255, .95), rgba(143, 203, 255, .55)); box-shadow: 0 0 10px rgba(143, 203, 255, .35); }
.pha-reg.is-late { color: #e3c07c; }
/* each phase draws its own piece, so the dashes are fitted whole into it (round); a dash sits in the middle of its
   tile, so no piece ever ends in a sliver and the joins read as one line; the outer ends reach out by half a gap
   to stand flush with the bars above */
.pha-reg.is-late::before { background: linear-gradient(90deg, transparent 0 16.667%, rgba(227, 192, 124, .9) 16.667% 83.333%, transparent 83.333%) 0 0 / 15px 100% round; border-radius: 0; }
.pha-reg.is-late.is-start::before { left: -2.5px; }
.pha-reg.is-late.is-end::before { right: -2.5px; }
.pha > span:last-child { font-size: 12px; color: rgba(241, 244, 250, .55); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pha.is-past { opacity: .6; }
.pha.is-now b { color: #f1dcaa; }
.pha.is-now .pha-bar { box-shadow: 0 0 14px rgba(143, 203, 255, .55); }

.draft-mark { color: var(--warn); font-weight: 600; }
/* A rare multi-game evening: equal boards, each with its own artwork, clock and way in. */
.board-day { margin-top: clamp(24px, 3vw, 40px); }
.board-day-head { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; margin-bottom: 20px; }
.board-day-head h2 { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.15; text-wrap: balance; }
.board-day-head p { margin-top: 8px; color: var(--mute); font-size: 15px; }
.boards-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.boards-pair .board { margin-top: 0; min-width: 0; grid-template-columns: minmax(0, 1fr); grid-template-areas: "art" "main" "plan"; grid-template-rows: 190px 1fr auto; }
.boards-pair .bd-art { min-height: 0; }
.boards-pair .bd-art > .art { mask-image: linear-gradient(180deg, #000 30%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
.boards-pair .bd-art > .art img { object-position: 65% 48%; }
.boards-pair .bd-main { margin-top: -36px; padding: 0 clamp(22px, 2.6vw, 34px) 26px; }
.boards-pair .bd-name { font-size: clamp(32px, 3.3vw, 44px); }
.bd-kind { margin-top: 10px; color: #f1dcaa; font-weight: 600; font-size: 14px; }
.bd-desc { margin-top: 12px; max-width: 46ch; color: #c3cce0; font-size: 15px; }
.tpage-parallel { margin-top: 18px; max-width: 70ch; color: var(--mute); font-size: 15px; }
.boards-pair .bd-cta { margin-top: 22px; gap: 10px 20px; }
.boards-pair .bd-clock { align-self: stretch; width: 100%; max-width: 380px; }
.boards-pair .bd-digits .u { flex: 1 1 0; min-width: 0; }
.boards-pair .bd-reg { font-size: 16px; }
.boards-pair .bd-note { margin-top: 14px; }
.boards-pair .bd-plan { padding: 18px 24px 22px; }
.boards-pair .phases { overflow-x: auto; scrollbar-width: none; }
.boards-pair .phases::-webkit-scrollbar { display: none; }
.boards-pair .pha-reg:not(.is-reg):not(.is-late)::before { content: none; }
.boards-pair .pha { flex: var(--w) 0 110px; }
@media (min-width: 761px) {
  /* Shared content tracks align every row even when descriptions wrap or one game has started. */
  .boards-pair { row-gap: 0; }
  .boards-pair .board { grid-row: span 10; grid-template-areas: none; grid-template-rows: subgrid; row-gap: 0; }
  .boards-pair .bd-art { grid-area: 1 / 1; min-height: 190px; }
  .boards-pair .bd-main { grid-area: 2 / 1 / span 8; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; align-items: start; justify-items: start; row-gap: 0; }
  .boards-pair .bd-k { grid-row: 1; }
  .boards-pair .bd-name { grid-row: 2; }
  .boards-pair .bd-kind { grid-row: 3; }
  .boards-pair .bd-sub { grid-row: 4; }
  .boards-pair .bd-desc { grid-row: 5; }
  .boards-pair .bd-clock, .boards-pair .bd-status { grid-area: 6 / 1; }
  .boards-pair .bd-cta { grid-row: 7; }
  .boards-pair .bd-note { grid-row: 8; }
  .boards-pair .bd-plan { grid-area: 10 / 1; }
}
@media (max-width: 760px) {
  .board-day-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .boards-pair { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .boards-pair .board { grid-template-rows: 170px auto auto; }
  .boards-pair .bd-main { align-items: flex-start; text-align: left; }
  .boards-pair .bd-note { align-self: flex-start; text-align: left; }
  .boards-pair .bd-now { padding: 0; text-align: left; }
}
/* ---------- a row that scrolls sideways: its edges fade and round arrows show there is more to see ---------- */
.hs-box { position: relative; }
.hs-btn { display: none; position: absolute; top: 50%; z-index: 3; width: 36px; height: 36px; margin-top: -18px; place-items: center; border-radius: 50%; color: #f1dcaa; background: rgba(8, 12, 24, .84); border: 1px solid rgba(var(--gold-rgb), .45); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .3s; }
.hs-prev { left: 2px; }
.hs-next { right: 2px; }
.hs-on > .hs-btn { display: grid; }
.hs-on.hs-start > .hs-prev, .hs-on.hs-end > .hs-next { opacity: 0; pointer-events: none; }
.hs-on > [data-hs] { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 44px, #000 calc(100% - 44px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 44px, #000 calc(100% - 44px), transparent 100%); }
.hs-on.hs-start > [data-hs] { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent 100%); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent 100%); }
.hs-on.hs-end > [data-hs] { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 44px); mask-image: linear-gradient(90deg, transparent 0, #000 44px); }
.hs-on.hs-start.hs-end > [data-hs] { -webkit-mask-image: none; mask-image: none; }

/* ---------- the tournament calendar: a month of days, the card of the chosen day beside it ---------- */
.cal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.cal-head { display: flex; align-items: center; gap: 12px 16px; margin-bottom: 14px; }
.cal-season { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; padding: 6px 14px; border-radius: var(--pill); border: 1px solid rgba(var(--gold-rgb), .45); background: rgba(var(--gold-rgb), .08); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #f1dcaa; }
.cal-title { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
.cal-title::first-letter { text-transform: uppercase; }
.cal-arrows { display: flex; gap: 8px; }
.cal-arrows .icon-btn:disabled { opacity: .3; pointer-events: none; }
.cal-dow, .cal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.cal-dow { margin-bottom: 8px; }
.cal-dow span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-align: center; color: var(--dim); }
.cal-d { position: relative; isolation: isolate; overflow: hidden; min-height: 104px; padding: 10px 11px; border-radius: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; text-align: left; background: rgba(var(--ice-rgb), .04); border: 1px solid var(--line); color: var(--mute); transition: transform .45s var(--spring), border-color .3s, box-shadow .4s var(--ease), opacity .3s; }
.cal-d:not(:disabled) { cursor: pointer; }
.cal-d:not(:disabled):hover { transform: translateY(-3px); border-color: rgba(var(--ice-rgb), .45); }
.cal-d:disabled { background: none; border-color: transparent; opacity: .38; }
.cal-n { position: absolute; left: 11px; top: 9px; font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1; color: var(--ink); }
.cal-today { position: absolute; right: 8px; top: 9px; padding: 3px 8px; border-radius: var(--pill); background: var(--foil); color: var(--btn-ink); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.cal-t { font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cal-time { font-size: 12px; font-weight: 600; color: var(--gold-text); font-variant-numeric: tabular-nums; }
/* a published game carries its format's poster, darkened under the words */
.cal-thumb { position: absolute; inset: 0; z-index: -2; }
.cal-thumb .art img { object-position: 60% 40%; }
/* a day with a game: a raised ink tile with a gold edge (not a field of blue squares) */
.cal-d.k-event, .cal-d.k-done, .cal-d.k-past, .cal-d.k-cancelled { background: linear-gradient(180deg, #141c31, #0c1222); border-color: rgba(var(--gold-rgb), .35); }
.cal-d.k-event::before, .cal-d.k-done::before, .cal-d.k-past::before, .cal-d.k-cancelled::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--veil-rgb), .94) 10%, rgba(var(--veil-rgb), .3) 72%, rgba(var(--veil-rgb), .55)); }
.cal-d.k-daily { border-style: dashed; border-color: rgba(var(--ice-rgb), .3); }
.cal-d.k-daily .cal-t { font-weight: 500; color: var(--mute); }
.cal-d.k-done, .cal-d.k-past, .cal-d.k-cancelled { opacity: .6; }
.cal-d.k-cancelled .cal-t { text-decoration: line-through; }
/* Monday, the club's day off: a quiet hatched day, readable but not a game */
.cal-d.k-off { opacity: .75; border-color: rgba(var(--ice-rgb), .08); background: repeating-linear-gradient(135deg, rgba(var(--ice-rgb), .08) 0 1px, transparent 1px 8px); }
.cal-d.k-off .cal-t { font-weight: 500; color: var(--dim); }
.cal-d.is-today { border-color: rgba(var(--gold-rgb), .75); }
.cal-d[aria-pressed="true"] { opacity: 1; transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 18px 34px -18px rgba(var(--gold-rgb), .6); }
.cal-legend { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-size: 13px; color: var(--dim); }
.cal-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.lg { flex: none; width: 16px; height: 11px; border-radius: 4px; }
.lg-event { background: linear-gradient(180deg, #141c31, #0c1222); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), .6); }
.lg-daily { border: 1px dashed rgba(var(--ice-rgb), .55); }
.lg-off { background: repeating-linear-gradient(135deg, rgba(var(--ice-rgb), .45) 0 1px, transparent 1px 4px); }
/* a month or a card that is not shown stays hidden whatever display the layout gives it */
.cal-days[hidden], .cal-card[hidden], .cal-day-group[hidden] { display: none; }
.cal-count { position: absolute; right: 8px; top: 36px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 50%; color: #060912; background: #f1dcaa; font-size: 11px; font-weight: 700; }
.cal-day-group { display: grid; gap: 16px; }
.cal-group-title { color: var(--gold-text); font-size: 14px; font-weight: 600; }
.cal-day-group .cal-card { display: block; position: relative; isolation: isolate; }
.cal-day-group .cal-cover { position: absolute; inset: 0; aspect-ratio: auto; opacity: .28; mask-image: linear-gradient(180deg, #000, transparent 80%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); }
.cal-day-group .cal-body { position: relative; padding: 24px; }
.cal-day-group .cal-when { font-size: 13px; }
@media (max-width: 760px) {
  .cal-count { top: 3px; right: 3px; min-width: 16px; height: 16px; padding: 0 3px; font-size: 10px; }
}
/* the card of the chosen day: the poster, the words and the way in */
.cal-side { position: sticky; top: calc(var(--nav-h) + 16px); }
.cal-card { overflow: hidden; }
.cal-card::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(212, 175, 106, .45); pointer-events: none; }
.cal-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.cal-cover > .art, .cal-cover > picture { position: absolute; inset: 0; z-index: -2; }
.cal-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
/* the cup as an emblem (the daily game, a one-off evening): whole and in its own proportions, its dark ground and smoke
   melt into the felt on every side (no isolation on the cover, or screen has nothing to blend with) */
.cal-cover.is-emblem > .art { mix-blend-mode: screen; }
.cal-cover.is-emblem img { position: absolute; left: 50%; top: 0; width: auto; height: 100%; aspect-ratio: 2 / 3; transform: translateX(-50%); object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent 100%); mask-image: radial-gradient(closest-side, #000 58%, transparent 100%); }
.cal-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #0d214f 2%, rgba(13, 33, 79, 0) 58%); }
.cal-body { padding: 2px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.cal-when { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #f1dcaa; }
.cal-name { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; color: #fff; }
.cal-name a { transition: color .3s; }
.cal-name a:hover { color: #f1dcaa; }
.cal-tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ice); }
.cal-lead { font-size: 15px; color: rgba(241, 244, 250, .82); }
.cal-meta { display: grid; gap: 6px; font-size: 14px; color: rgba(241, 244, 250, .82); }
.cal-meta li { display: flex; align-items: flex-start; gap: 8px; }
.cal-meta .i { flex: none; margin-top: 1px; color: #f1dcaa; }
.cal-meta b { font-weight: 700; color: #f1dcaa; font-variant-numeric: tabular-nums; }
.cal-act { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.cal-win { display: flex; align-items: center; gap: 10px; font-size: 16px; color: #fff; }
.cal-win .i { color: #f1dcaa; }
.cal-card.k-done .cal-cover, .cal-card.k-past .cal-cover { filter: saturate(.75); }

/* the formats in one row under the calendar: a poster, a name, the idea */
.fmt-row { margin-top: clamp(28px, 3vw, 40px); }
.fmt-row-cap { margin-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--gold-text); }
.fmt-row ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px 12px; }
.fmt-row li { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
.fmt-row a { grid-row: span 3; display: grid; grid-template-rows: subgrid; row-gap: 0; padding-bottom: 14px; overflow: hidden; border-radius: 18px; background: rgba(var(--ice-rgb), .04); border: 1px solid var(--line); transition: transform .45s var(--spring), border-color .3s, background-color .3s; }
.fmt-row a:hover { transform: translateY(-3px); border-color: rgba(var(--ice-rgb), .45); background: rgba(var(--ice-rgb), .07); }
.fmt-row-art { aspect-ratio: 16 / 10; overflow: hidden; background: #0f2763; }
.fmt-row-art img { transition: transform 1.2s var(--ease); }
.fmt-row a:hover .fmt-row-art img { transform: scale(1.05); }
.fmt-row-n { padding: 12px 14px 4px; font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.2; color: var(--ink); }
.fmt-row-g { padding: 0 14px; font-size: 12.5px; line-height: 1.35; color: var(--mute); }

/* ---------- the season table: the scale on top, every player below, the rest of the table opens in place ---------- */
.rt-scale { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.rt-scale li { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: var(--r); background: rgba(var(--ice-rgb), .04); border: 1px solid var(--line); }
.rt-scale b { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 2.6vw, 38px); line-height: 1; color: #f1dcaa; font-variant-numeric: tabular-nums lining-nums; overflow-wrap: anywhere; }
.rt-scale span { font-size: 14px; color: var(--mute); }
.rt-scale .rt-leader b { font-size: clamp(24px, 2.2vw, 32px); color: #fff; }
.rt-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.rt-tools .dim { font-size: 14px; text-wrap: balance; }
.nick-n { display: inline-flex; align-items: center; flex-wrap: wrap; }
.rt-sub { display: none; margin-top: 3px; font-size: 12px; font-weight: 500; color: rgba(241, 244, 250, .6); }
.pts-bar { display: block; height: 3px; width: calc(var(--p) * 110px); margin: 7px 0 0 auto; border-radius: 3px; background: linear-gradient(90deg, rgba(var(--gold-rgb), .2), #e3c07c); }
.rt.is-cut .rt-more { display: none; }
.rt.is-search .rt-more:not([hidden]) { display: table-row; }
.rtbl tr.hit td { background: rgba(212, 175, 106, .12); }
.rt-none { padding: 14px; color: rgba(241, 244, 250, .75); }
.rt-all { display: flex; margin: 14px auto 4px; }
.rt.is-search .rt-all { display: none; }
.rt-rules { margin-top: 14px; max-width: 70ch; font-size: 14px; color: var(--mute); }
.rt-archive { margin-top: 18px; }
@media (max-width: 1080px) {
  .cal { grid-template-columns: minmax(0, 1fr); }
  .cal-side { position: static; }
  .cal-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .cal-cover { aspect-ratio: auto; min-height: 100%; }
  .cal-cover::after { background: linear-gradient(270deg, #0d214f 0%, rgba(13, 33, 79, 0) 45%); }
  .cal-body { padding: 24px; }
  .fmt-row ul { display: flex; gap: 10px; margin: 0 calc(var(--pad) * -1); padding: 2px var(--pad) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); scrollbar-width: none; }
  .fmt-row ul::-webkit-scrollbar { display: none; }
  .fmt-row li { flex: 0 0 min(240px, 64%); display: flex; scroll-snap-align: start; }
  /* in the scrolling row there is no shared grid: each card is a plain column */
  .fmt-row a { width: 100%; display: flex; flex-direction: column; }
  .fmt-row-n { white-space: nowrap; }
}
@media (max-width: 760px) {
  .cal-head { flex-wrap: wrap; }
  .cal-season { order: -1; flex: none; white-space: nowrap; margin-right: 100%; }
  .cal-title { margin-right: auto; }
  .cal-dow, .cal-days { gap: 5px; }
  .cal-d { min-height: 0; aspect-ratio: 1; padding: 0; align-items: center; justify-content: center; border-radius: 12px; }
  .cal-n { position: static; font-size: 17px; }
  .cal-thumb, .cal-t, .cal-time, .cal-today { display: none; }
  .cal-d.is-today .cal-n { color: #f1dcaa; }
  /* a dot tells what the day holds: gold - a game of the schedule, a ring - the daily game */
  .cal-d.k-event::after, .cal-d.k-daily::after { content: ''; position: absolute; bottom: 6px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gold); }
  .cal-d.k-daily::after { background: none; box-shadow: inset 0 0 0 1px rgba(var(--ice-rgb), .9); }
  .cal-card { display: block; }
  .cal-cover { aspect-ratio: 16 / 9; }
  .cal-cover::after { background: linear-gradient(0deg, #0d214f 2%, rgba(13, 33, 79, 0) 58%); }
  .cal-body { padding: 2px 20px 22px; }
  .cal-act .btn-gold { width: 100%; }
  .rt-scale { grid-template-columns: 1fr 1fr; }
  .rt-scale .rt-leader { grid-column: 1 / -1; }
  .rt-scale li { padding: 14px 16px; }
  .rtbl-season .c-opt { display: none; }
  /* the player's column takes the width: a narrow place, a short bar under the points */
  .rtbl-season .pos { width: 34px; font-size: 18px; }
  .rtbl-season .top1 .pos { font-size: 22px; }
  .rtbl-season .pts-bar { width: calc(var(--p) * 56px); }
  .rt-sub { display: block; }
}
.drawer .cal { grid-template-columns: minmax(0, 1fr); }
.drawer .cal-side { position: static; }
.games-note { margin-top: 24px; color: var(--mute); }

/* ---------- the club: a bento of scenes, the club's numbers are one more tile ---------- */
.reason-i { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 16px; color: var(--gold-text); background: linear-gradient(145deg, rgba(212, 175, 106, .16), rgba(212, 175, 106, .04)); box-shadow: inset 0 0 0 1px rgba(212, 175, 106, .3); }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(210px, 19vw, 270px); grid-auto-flow: dense; gap: 14px; }
.bt { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); background: var(--bg-2); color: #f1f4fa; box-shadow: inset 0 0 0 1px rgba(170, 195, 240, .14); transition: transform .6s var(--spring), box-shadow .5s var(--ease); }
.bt > .art { position: absolute; inset: 0; z-index: -2; transition: transform 1.8s var(--ease); }
.bt::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--veil-rgb), .95) 0%, rgba(var(--veil-rgb), .6) 36%, rgba(var(--veil-rgb), 0) 66%); }
/* the tall tiles carry the longest texts: their shade climbs higher so the words never sit on a bright part of the photo */
.bt-1::after, .bt-3::after { background: linear-gradient(0deg, rgba(var(--veil-rgb), .96) 0%, rgba(var(--veil-rgb), .82) 34%, rgba(var(--veil-rgb), .45) 56%, rgba(var(--veil-rgb), 0) 76%); }
.bt:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(212, 175, 106, .45), 0 30px 60px -30px rgba(2, 6, 18, .9); }
.bt:hover > .art { transform: scale(1.05); }
.bt-0 { grid-column: span 2; grid-row: span 2; }
.bt-1, .bt-3 { grid-row: span 2; }
.bt-2 { grid-column: span 2; }
.bt-0 > .art img { object-position: 50% 30%; }
.bt-1 > .art img { object-position: 50% 22%; }
.bt-2 > .art img { object-position: 50% 15%; }
.bt-3 > .art img { object-position: 50% 30%; }
.bt-in { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2vw, 28px); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.bt-i { width: 44px; height: 44px; margin-bottom: 4px; display: grid; place-items: center; border-radius: 14px; color: #f1dcaa; background: rgba(var(--veil-rgb), .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(212, 175, 106, .42); }
.bt h3 { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 1.8vw, 27px); line-height: 1.15; }
.bt-0 h3 { font-size: clamp(28px, 2.6vw, 40px); }
.bt p { max-width: 44ch; font-size: 15px; line-height: 1.55; color: rgba(225, 232, 246, .86); }
/* the wide tile is one row high: its longer text runs wider instead of climbing over the photo */
.bt-2 p { max-width: 64ch; }
.bt-stats { grid-column: span 2; display: grid; align-items: center; padding: clamp(18px, 2.4vw, 30px) clamp(12px, 2vw, 24px); background: radial-gradient(80% 130% at 50% 0%, rgba(80, 130, 240, .3), transparent 62%), linear-gradient(rgba(5, 11, 32, .6), rgba(5, 11, 32, .7)), url(../images/art/tex-felt-480.webp) center / 280px repeat, #0f2763; box-shadow: inset 0 0 0 1px rgba(212, 175, 106, .42); }
.bt-stats::after { display: none; }
.stats { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); text-align: center; }
.stats li { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 12px; padding: 6px 12px; }
.stats li + li { border-left: 1px solid rgba(212, 175, 106, .24); }
.stat-v { display: flex; align-items: baseline; justify-content: center; line-height: 1; }
.stat-v b { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 3.6vw, 60px); line-height: 1; color: #f1dcaa; font-variant-numeric: tabular-nums lining-nums; text-shadow: 0 0 30px rgba(227, 192, 124, .35); }
.stat-suf { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.2vw, 38px); line-height: 1; color: #f1dcaa; }
.stat-l { max-width: 22ch; font-size: 14px; font-weight: 500; line-height: 1.35; color: #b9dcff; text-wrap: balance; }
/* a single figure (150+ regulars) is the tile itself: large, in gold foil, counted up when it comes into view */
.stats.n1 li { gap: 16px; padding: 0 24px; }
.stats.n1 .stat-v b, .stats.n1 .stat-suf { background: linear-gradient(180deg, #fff3d1 0%, #f1dcaa 38%, #d4af6a 74%, #9c7637 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; filter: drop-shadow(0 6px 30px rgba(227, 192, 124, .32)); }
.stats.n1 .stat-v b { font-size: clamp(96px, 10vw, 168px); line-height: .9; letter-spacing: -.02em; }
.stats.n1 .stat-suf { font-size: clamp(60px, 6vw, 100px); line-height: .9; }
.stats.n1 .stat-l { max-width: 24ch; font-size: clamp(16px, 1.3vw, 19px); }

/* ---------- the voice ---------- */
/* one lamp over the royal flush, not a blue fog over the whole block */
.river { text-align: center; overflow: hidden; isolation: isolate; background: radial-gradient(34% 38% at 50% 24%, rgba(52, 98, 220, .22), transparent 72%), radial-gradient(60% 50% at 50% 30%, rgba(37, 86, 200, .07), transparent 75%); }
.river-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.fx-river { z-index: -1; }
.royal { position: relative; width: 100%; height: calc(var(--rw) * 88 / 63 + 50px); --rw: min(14vw, 176px); }
.royal .card { --cw: var(--rw); left: 50%; top: 24px; margin-left: calc(var(--rw) / -2); transform-origin: 50% 120%; transition: transform 1.2s var(--ease); }
.royal .card .card-in { transition-delay: var(--d, 0s); }
.royal .r1 { --x: -2.3; --r: -12deg; --d: 0s; } .royal .r2 { --x: -1.15; --r: -6deg; --d: .12s; } .royal .r3 { --x: 0; --r: 0deg; --d: .24s; } .royal .r4 { --x: 1.15; --r: 6deg; --d: .36s; } .royal .r5 { --x: 2.3; --r: 12deg; --d: .6s; }
.royal .card { transform: translateX(calc(var(--x) * var(--rw) * .82)) rotate(var(--r)); }
.js .royal:not(.in) .card { transform: none; }
.royal.in .card:hover { transform: translateX(calc(var(--x) * var(--rw) * .82)) rotate(var(--r)) translateY(-16px); transition-duration: .5s; }
.royal.in .r5 .face.front { animation: shine 1.4s 1.5s both; }
@keyframes shine { 40% { box-shadow: 0 0 0 3px rgba(212, 175, 106, .95), 0 30px 50px -24px rgba(2, 6, 18, .85); } 100% { box-shadow: 0 0 0 2px rgba(212, 175, 106, .75), 0 30px 50px -24px rgba(2, 6, 18, .85); } }
.manifesto { margin-top: clamp(44px, 5vw, 72px); max-width: 820px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.manifesto .h2 { max-width: 18ch; }
.manifesto p { max-width: 58ch; font-size: clamp(17px, 1.35vw, 19px); color: var(--mute); text-wrap: pretty; }
/* the welcome: a wide frame where someone takes you by the hand through the door of the club */
.welcome { position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(48px, 6vw, 88px); aspect-ratio: 21 / 9; border-radius: var(--r-lg); background: var(--bg); text-align: left; box-shadow: inset 0 0 0 1px rgba(212, 175, 106, .3), 0 50px 100px -50px rgba(0, 0, 0, .9); }
.welcome > .art { position: absolute; inset: 0; z-index: -2; }
/* walking into the hall: once the block is on screen the photo slowly comes closer, toward the depth of the room */
/* the lounge picture of 24.10: the chandelier stays whole at the top, the slow zoom walks towards the bar on the right */
.welcome > .art img { object-position: 50% 12%; transform-origin: 72% 20%; transition: transform 22s cubic-bezier(.22, .5, .28, 1); }
.welcome.in > .art img { transform: scale(1.24); }
.welcome > .veil { z-index: -1; }
.welcome::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--veil-rgb), .85) 0%, rgba(var(--veil-rgb), .4) 40%, rgba(var(--veil-rgb), 0) 62%), linear-gradient(0deg, rgba(var(--veil-rgb), .6), transparent 45%); }
.welcome-in { position: absolute; left: clamp(22px, 4vw, 64px); bottom: clamp(22px, 4vw, 56px); max-width: 44%; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.welcome-t { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(40px, 5.2vw, 78px); line-height: 1.02; color: #f1dcaa; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.welcome .btn { margin-top: 6px; }

/* ---------- the season ---------- */
/* the cup over the leader's card in its own smoke; no z-index on the wrapper, or the screen layers inside lose the page to blend with */
.rt-leader { position: relative; }
.rt-leader:has(.trophy) { padding-right: 120px; }
.trophy { position: absolute; right: 12px; top: -46px; width: 100px; aspect-ratio: 2 / 3; pointer-events: none; }
.trophy .fxc { left: -60%; top: -10%; width: 220%; height: 120%; z-index: 2; }
.trophy-art { inset: 0; z-index: 2; -webkit-mask-image: radial-gradient(closest-side, #000 75%, transparent 100%); mask-image: radial-gradient(closest-side, #000 75%, transparent 100%); }
.trophy-art .art { height: auto; }
.table-panel { padding: 26px clamp(16px, 2.6vw, 34px) 16px; }
.rtbl { width: 100%; font-variant-numeric: tabular-nums; }
.rtbl th { padding: 0 14px 12px; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: rgba(241, 244, 250, .6); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.rtbl td { padding: 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); color: rgba(241, 244, 250, .85); }
.rtbl tr:last-child td { border-bottom: 0; }
.rtbl .num { text-align: right; }
.rtbl .pos { width: 64px; font-family: var(--display); font-weight: 600; font-size: 22px; color: rgba(241, 244, 250, .7); }
.rtbl .nick { font-weight: 600; color: #fff; }
.rtbl .pts { font-weight: 700; color: #f1dcaa; }
.rtbl tbody tr { transition: background-color .3s; }
.rtbl tbody tr:not(.empty-row):hover td { background: rgba(255, 255, 255, .04); }
.rtbl .top .pos { color: #f1dcaa; }
.rtbl .top1 td { background: rgba(212, 175, 106, .1); }
.rtbl .top1 td:first-child { box-shadow: inset 2px 0 0 #d4af6a; }
.rtbl .top1 .pos { font-size: 28px; }
.rtbl .delta { display: inline-flex; align-items: center; gap: 1px; margin-left: 8px; font-size: 12px; font-weight: 700; vertical-align: middle; }
.rtbl .delta.up { color: #7fe0ae; } .rtbl .delta.down { color: #ff9b9b; }
.rtbl .empty-row td { padding: 26px 14px 20px; color: rgba(241, 244, 250, .75); line-height: 1.6; }
.rtbl .empty-row b { display: block; margin-bottom: 6px; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.25; color: #fff; text-wrap: balance; }
.winners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.win { padding: 20px 22px 14px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); transition: transform .5s var(--spring), border-color .4s; }
.win:hover { transform: translateY(-4px); border-color: rgba(var(--ice-rgb), .4); }
.win-head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.win-head .i { margin-left: auto; align-self: center; color: var(--gold-text); transition: transform .45s var(--spring); }
.win-head:hover .i { transform: translateX(4px); }
.win-date { font-size: 13px; font-weight: 600; color: var(--gold-text); white-space: nowrap; }
.win-name { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.15; }
.win-podium { margin-top: 4px; display: grid; }
.pl { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.pl + .pl { border-top: 1px solid var(--line); }
.pl-n { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 13px; font-weight: 700; line-height: 1; border: 1px solid var(--line-2); color: var(--mute); }
.pl1 .pl-n { border-color: rgba(212, 175, 106, .7); color: var(--gold-text); }
.pl-nick { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl1 .pl-nick { font-size: 17px; }
.pl .i { margin-left: auto; color: var(--gold-text); }

/* ---------- the gallery: a mosaic with table-shaped windows ---------- */
/* the gallery of the home page: two rows of the album's first frames, every frame uncut, scrolling sideways under big
   arrows; the tile at the end leads into the rest of the album */
.gstrip { --gs-h: clamp(200px, 19vw, 270px); --gs-gap: 10px; display: flex; gap: var(--gs-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding: 0 2px; scrollbar-width: none; }
.gstrip::-webkit-scrollbar { display: none; }
/* both rows are one width (--gs-w, from the average of the two); each row gets the height at which its frames fill exactly
   that width: --rs is the sum of their proportions, --rg the number of its gaps */
.gs-rows { --gs-w: calc(var(--gs-s) * var(--gs-h) + var(--gs-g) * var(--gs-gap)); flex: 0 0 auto; width: var(--gs-w); display: flex; flex-direction: column; gap: var(--gs-gap); }
.gs-row { display: flex; gap: var(--gs-gap); height: calc((var(--gs-w) - var(--rg) * var(--gs-gap)) / var(--rs)); }
.gs-it { position: relative; flex: 0 0 auto; height: 100%; aspect-ratio: var(--ar); overflow: hidden; border-radius: var(--r); background: var(--bg-3); scroll-snap-align: start; }
.gs-it picture, .gs-it img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gs-it img { transition: transform 1.2s var(--ease); }
.gs-it::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(170, 195, 240, .1); pointer-events: none; transition: box-shadow .4s var(--ease); }
.gs-it:hover img { transform: scale(1.05); }
.gs-it:hover::after { box-shadow: inset 0 0 0 1px rgba(212, 175, 106, .6); }
.gs-it:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.gs-more { position: relative; isolation: isolate; overflow: hidden; flex: 0 0 auto; width: clamp(240px, 22vw, 320px); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 10px; padding: 28px; border: 1px solid rgba(212, 175, 106, .35); border-radius: var(--r-lg); color: #f1f4fa; text-align: left; cursor: pointer;
  background: var(--bg-2); scroll-snap-align: end; transition: border-color .4s var(--ease), transform .5s var(--spring); }
.gs-more:hover { border-color: var(--gold); transform: translateY(-3px); }
/* behind the words: the next four frames of the album, sunk into the night blue toward the text */
.gs-more-bg { position: absolute; inset: 0; z-index: -1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; }
.gs-more-bg picture, .gs-more-bg img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.gs-more-bg img { transition: transform 1.4s var(--ease); }
.gs-more:hover .gs-more-bg img { transform: scale(1.06); }
.gs-more-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--veil-rgb), .45) 0%, rgba(var(--veil-rgb), .78) 45%, rgba(var(--veil-rgb), .96) 100%); }
.gs-more-n { font-size: 14px; font-weight: 600; color: var(--gold-text); }
.gs-more-t { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; }
.gs-more .btn-ic { margin-top: 6px; }
/* the arrows of the gallery: the gold of the site's buttons, big, half out of the strip into the margin, never over a face */
/* the volume: a light top edge and a darker bottom one on the gold, a close contact shadow and a long soft one below it */
.hs-big > .hs-btn { width: 60px; height: 60px; margin-top: -30px; border: 0; color: #16100a; background: linear-gradient(180deg, #f6e2b0 0%, #e3c07c 52%, #c99d52 100%);
  box-shadow: inset 0 1px 0 rgba(255, 251, 238, .95), inset 0 -2px 3px rgba(110, 72, 18, .35), 0 0 0 1px rgba(110, 76, 22, .35),
    0 2px 3px rgba(2, 6, 18, .55), 0 8px 16px -2px rgba(2, 6, 18, .6), 0 20px 38px -6px rgba(2, 6, 18, .75), 0 10px 30px -8px rgba(227, 192, 124, .4);
  backdrop-filter: none; -webkit-backdrop-filter: none; transition: opacity .3s, transform .45s var(--spring), box-shadow .4s var(--ease); }
.hs-big > .hs-btn .i { --is: 24px; stroke-width: 2.4; }
.hs-big > .hs-btn:hover { transform: translateY(-2px) scale(1.06);
  box-shadow: inset 0 1px 0 rgba(255, 251, 238, .95), inset 0 -2px 3px rgba(110, 72, 18, .35), 0 0 0 1px rgba(110, 76, 22, .35),
    0 3px 4px rgba(2, 6, 18, .5), 0 12px 22px -2px rgba(2, 6, 18, .6), 0 28px 48px -6px rgba(2, 6, 18, .8), 0 14px 36px -8px rgba(227, 192, 124, .55); }
.hs-big > .hs-btn:active { transform: scale(.96); }
.hs-big > .hs-btn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.hs-big > .hs-prev { left: -30px; }
.hs-big > .hs-next { right: -30px; }
/* a row that loops: both arrows always work, from the start the left one goes to the end and back */
.hs-loop.hs-on > .hs-prev, .hs-loop.hs-on > .hs-next { opacity: 1; pointer-events: auto; }
/* on a touch screen the gallery is swiped, the frames at the edge show there is more: the arrows would only cover faces */
@media (hover: none) and (pointer: coarse) { .hs-on > .hs-btn { display: none; } }
/* the head of the gallery: the title, then the line of the album with its button, both on the middle of that line */
.gal-head { flex-direction: column; align-items: stretch; gap: 18px; }
.gal-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; }
.gal-bar > * { margin: 0; }
.gal-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.gal-meta { font-size: 17px; color: var(--mute); }
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 220px); grid-auto-flow: dense; gap: 14px; }
.mosaic > * { position: relative; overflow: hidden; border-radius: var(--r); background: var(--bg-3); }
.mosaic .art { position: absolute; inset: 0; transition: transform 1.6s var(--ease); }
.mosaic > :hover .art { transform: scale(1.06); }
.mosaic .m-0 { grid-column: span 2; grid-row: span 2; }
.mosaic .m-1, .mosaic .m-2 { grid-row: span 2; }
.mosaic .m-4 { grid-column: span 2; }
.mosaic .m-3 img { object-position: 50% 35%; }

/* ---------- the first game ---------- */
.first-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.first-copy .lead { margin-top: 18px; }
/* the club's mark as a large quiet watermark behind a section: the page is not just text on navy */
.section.first, .section.faq-sec { position: relative; isolation: isolate; overflow: clip; }
.section.first::before, .section.faq-sec::before { content: ''; position: absolute; z-index: -1; aspect-ratio: 522 / 356; background: linear-gradient(120deg, rgba(var(--gold-rgb), .11), rgba(var(--ice-rgb), .05)); -webkit-mask: url(../images/brand/ak-mark.svg) center / contain no-repeat; mask: url(../images/brand/ak-mark.svg) center / contain no-repeat; pointer-events: none; }
.section.first::before { right: -8%; top: 4%; width: min(52vw, 700px); }
.section.faq-sec::before { left: -10%; bottom: 0; width: min(40vw, 520px); opacity: .7; }
.section.games { background: radial-gradient(50% 40% at 100% 0%, rgba(37, 86, 200, .09), transparent 70%); }
/* four steps as four equal cards: a big number, a quiet icon, one line of action */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.step { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 26px; border-radius: var(--r); background: linear-gradient(180deg, rgba(var(--ice-rgb), .08), rgba(var(--ice-rgb), .02)); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--spring), box-shadow .4s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), .45); }
.step-n { font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--gold-text); opacity: .8; }
.step-i { position: absolute; right: 20px; top: 20px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-text); background: rgba(var(--gold-rgb), .1); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), .3); }
.step h3 { margin-top: 10px; font-size: 19px; font-weight: 600; line-height: 1.3; }
.step p { font-size: 15px; line-height: 1.55; color: var(--mute); }

/* ---------- FAQ ---------- */
:root { interpolate-size: allow-keywords; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.faq-wrap .lead { margin-top: 18px; }
.faq-all { margin-top: 26px; }
.faq { display: grid; gap: 10px; }
.faq-item { border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); transition: border-color .3s; }
.faq-item[open], .faq-item:hover { border-color: rgba(var(--ice-rgb), .35); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 16px 22px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--gold-text); }
.faq-item summary .i { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(var(--ice-rgb), .1); color: var(--gold-text); transition: transform .5s var(--spring), background-color .3s; }
.faq-item[open] summary .i { transform: rotate(45deg); background: rgba(212, 175, 106, .18); }
.faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
.faq-a { padding: 0 22px 20px; max-width: 66ch; color: var(--mute); }

/* ---------- contacts ---------- */
.findus { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; }
.findus-map { position: relative; min-height: 440px; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-3); }
.findus-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.findus-info { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; border-radius: var(--r-lg); }
.findus-addr { font-family: var(--display); font-weight: 600; font-size: clamp(25px, 2.2vw, 32px); line-height: 1.18; }
.findus-info .muted { color: rgba(241, 244, 250, .78); }
.findus-list { margin-top: 12px; display: grid; gap: 12px; }
.findus-list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(241, 244, 250, .85); }
.findus-list .i { color: #f1dcaa; margin-top: 2px; }
.findus-list a { color: #fff; font-weight: 600; }
.findus-btns { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.findus-btns .btn-ghost { color: #f1f4fa; border-color: rgba(255, 255, 255, .3); }

/* ---------- schedule rows (detail pages) ---------- */
.tlist { display: grid; gap: 12px; }
.tcard { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) minmax(170px, 250px); align-items: center; gap: 24px; padding: 20px 24px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); transition: transform .5s var(--spring), border-color .4s; }
.tcard:hover { transform: translateY(-3px); border-color: rgba(var(--ice-rgb), .4); }
.tcard.is-today { border-color: rgba(212, 175, 106, .6); }
.tcard-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.tcard-date { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.tcard-date b { font-family: var(--display); font-weight: 600; font-size: 44px; line-height: .9; }
.tcard-date span { margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--gold-text); }
.tcard-main { min-width: 0; }
.tcard-title { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.12; }
.sl-tag { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 15px; color: var(--mute); }
.tcard-main .sl-tag { margin-top: 6px; }
.tcard-lead { margin-top: 6px; font-size: 15px; color: var(--mute); }
.tcard-badges { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tcard-badges .badge { white-space: normal; text-align: left; }
.tcard-side { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.sl-meta { display: flex; flex-direction: column; gap: 2px; }
.sl-time { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sl-price { font-size: 14px; color: var(--mute); }
.tcard-act { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tcard.is-cancelled { opacity: .55; }
.tcard.is-cancelled .tcard-title { text-decoration: line-through; text-decoration-thickness: 1px; }

/* ---------- responsive: home ---------- */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-stage { order: -1; height: 340px; margin-bottom: -10px; }
  .hole .card { --cw: min(24vw, 190px); }
  .c-ace { left: 24%; } .c-king { left: 48%; }
  .hero-chips { width: 34%; right: 2%; }
  .hero-photo { -webkit-mask-image: linear-gradient(180deg, #000 20%, rgba(0, 0, 0, .25) 70%); mask-image: linear-gradient(180deg, #000 20%, rgba(0, 0, 0, .25) 70%); }
  .board { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
  .first-in, .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 230px; }
  .findus { grid-template-columns: minmax(0, 1fr); }
  .findus-map { min-height: 340px; }
  .royal { --rw: min(16vw, 150px); }
  .mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  /* short texts on a narrow screen: even lines instead of one or two words hanging on the last one */
  .lead, .sec-lead, .bd-sub, .page-note, .flow-note { text-wrap: balance; }
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 4px); }
  .hero-stage { height: 230px; }
  .hole .card { --cw: min(30vw, 128px); }
  .c-ace { left: 18%; top: 6%; } .c-king { left: 44%; top: 0; }
  .hero-chips { width: 36%; right: -8%; top: 8%; }
  /* the photo stays behind the hand only, and fades at the sides: no bright fragment of the room cut by the screen edge */
  .hero-photo { bottom: auto; height: 780px; }
  .hero-photo .art { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent); mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent); }
  .hero-photo .art img, .hero-photo.reel .art:nth-child(1) img { object-position: 55% 40%; }
  .hero-photo.reel .art:nth-child(2) img { object-position: 59% 50%; }
  .hero-photo.reel .art:nth-child(3) img { object-position: 65% 50%; }
  .bt-2 > .art img { object-position: 25% 30%; }
  .bt-1 > .art img { object-position: 50% 38%; }
  .beams i { width: 60vw; }
  .hero .lead { margin-top: 16px; font-size: 16px; }
  .cta { margin-top: 24px; }
  .cta .btn { flex: 1 1 auto; }
  .board { grid-template-columns: minmax(0, 1fr); grid-template-areas: "art" "main" "plan"; border-radius: var(--r-lg); }
  .bd-art { min-height: 180px; }
  .bd-art > .art { -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 100%); mask-image: linear-gradient(180deg, #000 50%, transparent 100%); }
  .bd-main { margin-top: -56px; padding: 0 18px 20px; align-items: center; text-align: center; }
  .bd-clock { align-self: stretch; }
  .bd-name { font-size: 34px; }
  .bd-digits { width: 100%; gap: 6px; }
  .bd-digits .u { flex: 1 1 0; min-width: 0; padding: 10px 4px 9px; border-radius: 14px; }
  .bd-digits b { font-size: 30px; }
  .bd-cta { width: 100%; gap: 6px; }
  .bd-cta .btn { width: 100%; }
  .bd-cta .btn-xl { padding-inline: 22px; font-size: 16px; white-space: normal; }
  .bd-cta .btn-xl .btn-ic { margin-inline-end: -12px; }
  .bd-note { display: block; align-self: center; max-width: 30ch; }
  .bd-note .i { display: inline-block; margin-right: 6px; vertical-align: -3px; }
  .bd-plan { padding: 16px 0 18px; }
  .bd-now { padding: 0 18px; text-align: center; }
  .phases { --pgap: 8px; gap: 8px; padding: 0 18px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 18px; scrollbar-width: none; }
  .phases::-webkit-scrollbar { display: none; }
  .pha { flex: 0 0 auto; width: 138px; scroll-snap-align: start; }
  .pha-break { width: 100px; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 12px; }
  .bt-0, .bt-1, .bt-2, .bt-3, .bt-stats { grid-column: auto; grid-row: auto; }
  /* the texts of the tiles are long: the tile grows so the photo still shows above the words, and the shade follows them */
  .bt { min-height: 290px; }
  .bt-0, .bt-2, .bt-3 { min-height: 460px; }
  .bt-1 { min-height: 520px; }
  .bt:not(.bt-stats)::after { background: linear-gradient(0deg, rgba(var(--veil-rgb), .97) 0%, rgba(var(--veil-rgb), .85) 40%, rgba(var(--veil-rgb), .4) 62%, rgba(var(--veil-rgb), 0) 80%); }
  .bt:hover { transform: none; }
  .bt-stats { min-height: 0; padding: 24px 6px; }
  .stat-v b { font-size: 30px; }
  .stat-suf { font-size: 20px; }
  .stats.n1 .stat-v b { font-size: 104px; }
  .stats.n1 .stat-suf { font-size: 62px; }
  .stats.n1 .stat-l { font-size: 16px; }
  .stat-l { font-size: 13px; }
  .stats.n4 { grid-auto-flow: row; grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .stats.n4 li:nth-child(3) { border-left: 0; }
  .royal { --rw: 18vw; }
  .royal .card { transform: translateX(calc(var(--x) * var(--rw) * .62)) rotate(var(--r)); }
  .royal.in .card:hover { transform: translateX(calc(var(--x) * var(--rw) * .62)) rotate(var(--r)); }
  .trophy { width: 84px; top: -34px; right: 8px; }
  .rt-leader:has(.trophy) { padding-right: 100px; }
  .rtbl td, .rtbl th { padding-left: 10px; padding-right: 10px; }
  .winners { grid-template-columns: minmax(0, 1fr); }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 10px; }
  /* on a phone the strip runs from edge to edge of the screen, like any row one swipes */
  .gallery-sec .hs-big { margin: 0 calc(var(--pad) * -1); }
  .gstrip { --gs-h: 150px; --gs-gap: 6px; padding: 0 var(--pad); scroll-padding: 0 var(--pad); }
  .gs-more { width: 200px; padding: 20px; }
  .hs-big > .hs-btn { width: 46px; height: 46px; margin-top: -23px; }
  .hs-big > .hs-btn .i { --is: 20px; }
  .hs-big > .hs-prev { left: 10px; }
  .hs-big > .hs-next { right: 10px; }
  .gal-bar { align-items: flex-start; flex-direction: column; }
  .gal-meta { font-size: 15px; }
  .mosaic .m-0 { grid-column: span 2; }
  .mosaic .m-4 { grid-column: span 2; }
  .welcome { aspect-ratio: 4 / 5; }
  .welcome > .art img { object-position: 60% 50%; transform-origin: 60% 36%; }
  .mosaic .m-0 img { object-position: 40% 50%; }
  .welcome::after { background: linear-gradient(0deg, rgba(var(--veil-rgb), .92) 0%, rgba(var(--veil-rgb), .35) 50%, rgba(var(--veil-rgb), 0) 72%); }
  .welcome-in { right: 22px; max-width: none; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .step { padding: 20px 20px 22px; }
  .step-n { font-size: 36px; }
  .step h3 { margin-top: 6px; }
  .faq-item summary { padding: 14px 16px; font-size: 16px; }
  .faq-a { padding: 0 16px 18px; }
  .tcard { grid-template-columns: 64px minmax(0, 1fr); gap: 8px 14px; padding: 16px; }
  .tcard-date b { font-size: 34px; }
  .tcard-side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 6px; }
}

/* =================== detail pages =================== */
.sec-tight { padding-top: 0; }
.empty { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px; border-radius: var(--r); background: var(--bg-2); border: 1px dashed var(--line-2); }
.empty > .i { color: var(--gold-text); }
.empty .btn { margin-top: 8px; }
/* the next step out of an empty list: one or two buttons side by side */
.empty-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.empty-act .btn { margin-top: 0; }
.fmt-grid .empty-act { margin-top: 14px; }
.flow-note { margin: 6px 0 18px; font-size: 15px; color: rgba(241, 244, 250, .75); }
.page-note { margin-top: 12px; max-width: 60ch; font-size: 15px; color: var(--mute); }
.sec-lead { margin-top: 14px; max-width: 52ch; color: var(--mute); }
.h1-sub { display: block; margin-top: 6px; font-size: .62em; line-height: 1.1; }
.side-status { align-self: flex-start; }
.faq-phone { margin-top: 18px; }
.empty-row { flex-direction: row; align-items: center; gap: 22px; }
.empty-row > .i { flex: none; }
.notice { margin-top: 20px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: var(--pill); background: rgba(212, 175, 106, .1); border: 1px solid rgba(212, 175, 106, .4); color: var(--ink); font-size: 15px; }
.notice .i { color: var(--gold-text); }

/* how a tournament goes */
.flow-band { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 30px 34px; }
/* the title and its note share one line on a wide screen, the steps run below in one row */
.flow-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 40px; }
.flow-head .flow-note { margin: 0; max-width: 48ch; }
/* the timeline: one line of the night, a dot on it for every step, the cup lit at its end */
.tl { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: 18px; }
.tl::before { content: ''; position: absolute; left: 8px; right: 8px; top: 7px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(var(--gold-rgb), .75), rgba(var(--gold-rgb), .25) 72%, rgba(var(--gold-rgb), .85)); }
.tl li { position: relative; display: flex; flex-direction: column; gap: 6px; padding-top: 30px; }
.tl li::before { content: ''; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: #0f2763; box-shadow: inset 0 0 0 2px #e3c07c; }
.tl .tl-end::before { background: #e3c07c; box-shadow: 0 0 0 5px rgba(227, 192, 124, .18), 0 0 18px rgba(227, 192, 124, .55); }
.tl .about { min-height: 14px; font-size: 11px; font-weight: 600; line-height: 14px; letter-spacing: .1em; text-transform: uppercase; color: rgba(241, 244, 250, .55); }
.tl b { display: flex; align-items: center; min-height: 30px; font-size: 24px; font-weight: 700; line-height: 1; color: #f1dcaa; font-variant-numeric: tabular-nums; }
.tl span { font-size: 14px; line-height: 1.4; color: rgba(241, 244, 250, .82); text-wrap: balance; }
@media (max-width: 900px) {
  .tl { grid-auto-flow: row; grid-auto-columns: auto; row-gap: 16px; padding-left: 32px; }
  .tl::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; background: linear-gradient(180deg, rgba(var(--gold-rgb), .75), rgba(var(--gold-rgb), .25) 72%, rgba(var(--gold-rgb), .85)); }
  .tl li { display: grid; grid-template-columns: 70px minmax(0, 1fr); column-gap: 12px; align-items: baseline; padding-top: 0; }
  .tl li::before { left: -32px; top: 3px; }
  .tl .about { grid-column: 1 / -1; min-height: 0; line-height: 1.4; }
  .tl b { min-height: 0; font-size: 20px; }
  .tl span { font-size: 15px; }
}
/* the regulation of one game: a plain list, the time beside each step */
.flow-v { display: flex; flex-direction: column; }
.flow-v li { display: flex; align-items: baseline; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); }
.flow-v li:first-child { border-top: 0; }
.flow-v b { flex: none; min-width: 72px; min-height: 28px; display: flex; align-items: center; font-size: 18px; font-weight: 700; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.flow-v span { font-size: 16px; color: var(--mute); text-wrap: balance; }
/* the turbo tournament for the guests who are out: a side note under the order of the night */
.turbo { display: flex; align-items: flex-start; gap: 14px; max-width: 72ch; padding: 16px 20px; border-radius: 16px; background: rgba(var(--gold-rgb), .07); border: 1px solid rgba(var(--gold-rgb), .3); font-size: 15px; line-height: 1.55; color: var(--mute); }
.turbo .i { flex: none; margin-top: 1px; color: var(--gold-text); }
.turbo b { font-weight: 600; color: var(--ink); }
.flow-v + .turbo { margin-top: 18px; }

/* formats */
.formats { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.fcard-link { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r); background: radial-gradient(130% 110% at 50% 0%, transparent 48%, rgba(var(--veil-rgb), .5) 100%), radial-gradient(90% 80% at 70% 0%, rgba(90, 140, 240, .26), transparent 68%), linear-gradient(rgba(5, 11, 32, .66), rgba(5, 11, 32, .74)), url(../images/art/tex-felt-480.webp) center / 280px repeat, var(--felt-lo); color: #f1f4fa; box-shadow: var(--shadow-sm); transition: transform .5s var(--spring), box-shadow .5s; }
.fcard-link:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.fcard-tag { font-size: 13px; font-weight: 600; color: #f1dcaa; }
.fcard-name { font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1.1; }
.fcard-lead { font-size: 15px; color: rgba(241, 244, 250, .82); }
.fcard-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: #f1dcaa; }
.fcard-more .i { transition: transform .45s var(--spring); }
.fcard-link:hover .fcard-more .i { transform: translateX(5px); }
.fmt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.fmt-grid .h3 { margin-bottom: 18px; }
.fmt-note { margin-top: 18px; font-size: 15px; }
.tlist-compact .tcard { grid-template-columns: 74px minmax(0, 1fr); }
.tlist-compact .tcard-side { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 20px; }

/* rules with spades */
.rules { display: grid; gap: 12px; }
.rules li { display: flex; gap: 14px; align-items: baseline; font-size: 17px; color: var(--ink); }
.rules .s { flex: none; color: var(--gold-text); font-size: 15px; }
.rules + .tcard-badges { margin-top: 18px; }

/* one tournament */
.tpage-head .h1 em { display: block; font-size: .5em; margin-top: .3em; }
.tmeta-row { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.tmeta { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--gold-text); }
.tpage-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: clamp(60px, 8vw, 110px); }
.tpage-cover { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 36px; }
.tpage-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.block { margin-bottom: 40px; }
.block > .h3 { margin-bottom: 18px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.facts > div { padding: 16px 18px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.facts dt { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--gold-text); }
.facts dt .i { --is: 16px; --n: 16; }
.facts dd { margin-top: 6px; font-size: 19px; font-weight: 600; line-height: 1.3; }
.dd-note { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--mute); }
.podium-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pr { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--r); background: var(--card); color: var(--card-ink); box-shadow: var(--shadow-sm); }
.pr1 { box-shadow: var(--shadow-sm), 0 0 0 2px rgba(212, 175, 106, .85); }
.pr-place { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; }
.pr-place .s { font-size: .55em; margin-left: 4px; }
.pr-nick { font-size: 19px; font-weight: 700; overflow-wrap: anywhere; }
.pr-l { font-size: 13px; color: var(--card-mute); }
.finalists { margin-top: 14px; color: var(--mute); font-size: 15px; }
.finalists b { color: var(--ink); font-weight: 600; }
.res-note { margin-top: 10px; }
/* after the program: the next step first, the format's own page beside it */
.tp-next { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }.disclaimer { margin-top: 28px; display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--dim); }
.tpage-side { position: sticky; top: calc(var(--nav-h) + 20px); }
.side-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--r-lg); }
.side-date { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 15px; line-height: 1.35; color: rgba(241, 244, 250, .85); }
.side-day { font-family: var(--display); font-weight: 600; font-size: 64px; line-height: .9; color: #f1dcaa; }
.side-time, .side-price { display: flex; gap: 10px; align-items: flex-start; color: #f1f4fa; font-weight: 600; }
.side-time .i, .side-price .i { color: #f1dcaa; margin-top: 2px; }
.side-card > .btn-gold { width: 100%; }
.side-hint { margin-top: -6px; text-align: center; font-size: 13px; color: rgba(241, 244, 250, .7); }
.side-row { display: flex; flex-wrap: wrap; gap: 8px; }
.side-row .btn { flex: 1 1 auto; padding-left: 14px; padding-right: 14px; white-space: nowrap; color: #f1f4fa; border-color: rgba(255, 255, 255, .3); }
.side-place { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); display: grid; gap: 8px; font-size: 14px; color: rgba(241, 244, 250, .82); }
.side-place p { display: flex; gap: 10px; }
.side-place .i { --is: 16px; --n: 16; color: #f1dcaa; margin-top: 3px; }
.side-place .link { justify-self: start; color: #f1dcaa; }
.sticky-reg { display: none; }

/* results archive */
.results { display: grid; gap: 12px; }
.res { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 22px; padding: 20px 24px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.res-date { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.res-date b { font-family: var(--display); font-weight: 600; font-size: 40px; line-height: .9; }
.res-date span { margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--gold-text); }
.res-name { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.15; }
.res-name a:hover { color: var(--gold-text); }
.res-podium { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.res-next { margin-top: clamp(28px, 3vw, 40px); }
.res-podium .pl + .pl { border-top: 0; }

/* rating */
.search { display: flex; align-items: center; gap: 10px; width: min(380px, 100%); min-height: 50px; padding: 0 18px; border-radius: var(--pill); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--dim); }
.search:focus-within { border-color: rgba(var(--ice-rgb), .6); }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 16px; color: var(--ink); }
.delta { display: inline-flex; align-items: center; gap: 1px; margin-left: 8px; font-family: var(--text); font-size: 12px; font-weight: 700; vertical-align: middle; }
.delta.up { color: var(--ok); } .delta.down { color: var(--bad); }

/* feature tiles */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
/* who plays here: three cards on the felt, a gold line on top of each */
.aud { margin-top: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.aud li { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 26px; border-radius: var(--r-lg); overflow: hidden; color: #f1f4fa; background: radial-gradient(130% 110% at 50% 0%, transparent 48%, rgba(var(--veil-rgb), .5) 100%), radial-gradient(90% 80% at 85% 0%, rgba(90, 140, 240, .2), transparent 65%), linear-gradient(rgba(5, 11, 32, .74), rgba(5, 11, 32, .8)), url(../images/art/tex-felt-480.webp) center / 280px repeat, #0f2763; box-shadow: inset 0 0 0 1px rgba(212, 175, 106, .4), var(--shadow-sm); }
.aud li::before { content: ''; position: absolute; left: 26px; right: 26px; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #e3c07c, transparent); }
.aud h3 { font-family: var(--display); font-weight: 600; font-size: 23px; line-height: 1.2; }
.aud p { font-size: 15px; color: rgba(241, 244, 250, .82); }
.trio li { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.trio h3 { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.2; }
.trio p { font-size: 15px; color: var(--mute); }

/* hand rankings */
.combos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; }
.combo { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.combo-n { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--gold-text); }
.combo-t h3 { font-size: 17px; font-weight: 600; }
.combo-t p { font-size: 14px; color: var(--mute); line-height: 1.45; }
.combo-cards { display: flex; gap: 4px; }
.mc { width: 32px; height: 45px; border-radius: 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: #f6f1e6; color: #12151d; font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); transition: transform .45s var(--spring); }
.mc .s { font-size: 12px; }
.mc.r .s, .mc.r b { color: #b3262e; }
.mc.off { opacity: .45; }
.combo:hover .mc:not(.off) { transform: translateY(-4px); }
.combo:first-child .mc { box-shadow: 0 0 0 1.5px rgba(212, 175, 106, .9), 0 3px 8px rgba(0, 0, 0, .3); }
.glossary { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.glossary > div { padding: 18px 20px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.glossary dt { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.2; color: var(--gold-text); }
.glossary dd { margin-top: 6px; font-size: 15px; color: var(--mute); }

/* club page */
.club-hero { padding-bottom: clamp(60px, 8vw, 110px); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pillars li { display: flex; flex-direction: column; gap: 12px; min-height: 300px; padding: 30px; border-radius: var(--r-lg); background: radial-gradient(130% 110% at 50% 0%, transparent 48%, rgba(var(--veil-rgb), .5) 100%), radial-gradient(90% 80% at 80% 0%, rgba(90, 140, 240, .18), transparent 65%), linear-gradient(rgba(5, 11, 32, .76), rgba(5, 11, 32, .82)), url(../images/art/tex-felt-480.webp) center / 280px repeat, #0f2763; color: #f1f4fa; box-shadow: inset 0 0 0 1px rgba(212, 175, 106, .4), var(--shadow-sm); transition: transform .5s var(--spring); }
.pillars li:hover { transform: translateY(-6px); }
.pillar-k { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: .14em; text-transform: uppercase; color: #f1dcaa; }
.pillars .h3 { color: #fff; }
.pillars p { font-size: 15px; color: rgba(241, 244, 250, .82); }
.pillars .link { margin-top: auto; align-self: flex-start; color: #f1dcaa; text-decoration-color: rgba(241, 220, 170, .45); }
.voice { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.manifesto-left { margin-top: 0; align-items: flex-start; text-align: left; }
.manifesto-left .m-first { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.18; color: var(--ink); }
.club-rules { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.club-rules .lead { margin: 18px 0 14px; }

/* gallery pages */
.albums { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.album:only-child { max-width: 480px; }
.album a { display: flex; flex-direction: column; gap: 6px; }
.album-cover { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-3); }
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.album a:hover img { transform: scale(1.05); }
.album-meta { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--gold-text); }
.album-title { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.12; }
/* an album: rows of equal height, every frame uncut and in the order of the night (each frame grows by its proportions,
   the empty ::after keeps the last row from stretching) */
.alb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.alb-bar > * { margin: 0; }
.alb-n { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--gold-text); }
.jg { --row: 260px; display: flex; flex-wrap: wrap; gap: 8px; }
.jg::after { content: ''; flex-grow: 1000000; }
.jg > li { position: relative; flex-grow: calc(var(--ar) * 100); flex-shrink: 1; flex-basis: calc(var(--ar) * var(--row)); }
.jg > li > a { position: relative; display: block; aspect-ratio: var(--ar); overflow: hidden; border-radius: 10px; background: var(--bg-3); }
.jg picture, .jg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jg img { transition: transform 1.2s var(--ease); }
.jg > li > a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(170, 195, 240, .1); pointer-events: none; transition: box-shadow .4s var(--ease); }
.jg > li > a:hover img { transform: scale(1.045); }
.jg > li > a:hover::after { box-shadow: inset 0 0 0 1px rgba(212, 175, 106, .6); }
.jg > li > a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.jg-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .25); }
.jg-more { height: 1px; }

/* the photo viewer: the frame on night blue, controls that step aside, a strip of all frames below */
.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; color: #fff; background: rgba(var(--veil-rgb), var(--vw-fade, 1)); }
.viewer::backdrop { background: rgba(var(--veil-rgb), .85); }
.viewer[open] { animation: vw-in .35s var(--ease) both; }
@keyframes vw-in { from { opacity: 0; } }
.vw-stage { position: absolute; inset: 72px 0 112px; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.vw-stage:active { cursor: grabbing; }
.vw-stage:focus { outline: none; }
.vw-track { display: flex; height: 100%; transform: translate3d(-100%, 0, 0); will-change: transform; }
/* a flex box with a definite height: max-height: 100% of a frame really holds (in a grid cell it did not, and a vertical
   frame grew past the screen and was cut, as if zoomed in) */
.vw-slide { flex: 0 0 100%; box-sizing: border-box; height: 100%; display: flex; align-items: center; justify-content: center; padding: 0 88px; }
.vw-slide img, .vw-slide video { flex: 0 1 auto; min-width: 0; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9); transition: transform .35s var(--ease); -webkit-user-drag: none; }
.vw-slide.is-zoom { position: relative; z-index: 1; }
.vw-slide.is-zoom img { border-radius: 0; cursor: move; }
.vw-bar { position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 72px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: env(safe-area-inset-top) 20px 0 32px; }
.vw-meta { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.vw-title { overflow: hidden; font-family: var(--display); font-weight: 600; font-size: 20px; white-space: nowrap; text-overflow: ellipsis; }
.vw-title:empty { display: none; }
.vw-count { font-size: 14px; color: rgba(255, 255, 255, .62); font-variant-numeric: tabular-nums; white-space: nowrap; }
.viewer .icon-btn { color: #fff; border-color: rgba(255, 255, 255, .2); background: rgba(var(--veil-rgb), .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vw-prev, .vw-next { position: absolute; z-index: 2; top: calc(72px + (100% - 184px) / 2); translate: 0 -50%; }
.vw-prev { left: 22px; }
.vw-next { right: 22px; }
.vw-strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 112px; box-sizing: border-box; display: flex; gap: 6px; padding: 22px 28px calc(22px + env(safe-area-inset-bottom)); overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.vw-strip::-webkit-scrollbar { display: none; }
.vw-th { flex: 0 0 auto; height: 64px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: rgba(255, 255, 255, .06); opacity: .45; cursor: pointer; transition: opacity .25s var(--ease), box-shadow .25s var(--ease); }
.vw-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vw-th:hover { opacity: .85; }
.vw-th.on { opacity: 1; box-shadow: 0 0 0 2px var(--gold), 0 0 18px rgba(212, 175, 106, .35); }
.vw-bar, .vw-strip, .vw-prev, .vw-next { transition: opacity .3s var(--ease); }
.viewer.vw-quiet .vw-bar, .viewer.vw-quiet .vw-strip, .viewer.vw-quiet .vw-prev, .viewer.vw-quiet .vw-next { opacity: 0; pointer-events: none; }
@media (hover: none) { .vw-prev, .vw-next { display: none; } }

/* the album as tiles («Смотреть весь альбом»): rows of whole frames, each as wide as the screen, scrolled up and down;
   the rows are laid out by site.js (gLayout), the frames are never cut */
.lgrid { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; color: #fff; background: rgb(var(--veil-rgb)); }
.lgrid::backdrop { background: rgba(var(--veil-rgb), .85); }
.lgrid[open] { animation: vw-in .35s var(--ease) both; }
.lg-bar { position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 72px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: env(safe-area-inset-top) 20px 0 32px; background: rgba(var(--veil-rgb), .78); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.lgrid .icon-btn { color: #fff; border-color: rgba(255, 255, 255, .2); background: rgba(var(--veil-rgb), .6); }
.lg-body { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding: calc(72px + env(safe-area-inset-top) + 6px) 32px calc(32px + env(safe-area-inset-bottom)); scroll-padding-top: calc(72px + env(safe-area-inset-top) + 6px); }
.lg-body:focus { outline: none; }
.lg-wrap { max-width: 1480px; margin: 0 auto; }
.lg-row { display: flex; }
.lg-row:last-child { margin-bottom: 0 !important; }
.lg-it { flex: none; height: 100%; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, .06); cursor: zoom-in; transition: filter .25s var(--ease); }
.lg-it img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.lg-it:hover { filter: brightness(1.12); }
.lg-it:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* contacts page */
.contact-cards { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.contact-cards li { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.contact-cards .link { align-self: flex-start; font-weight: 600; font-size: 17px; }
.faq-page { max-width: 880px; }

/* legal */
.legal-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.legal-nav { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 4px; padding: 14px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); font-size: 15px; }
.legal-nav a { padding: 9px 14px; border-radius: var(--pill); color: var(--mute); transition: color .25s, background-color .25s; }
.legal-nav a:hover { color: var(--ink); background: rgba(var(--ice-rgb), .08); }
.legal-nav a[aria-current] { color: var(--ink); background: rgba(var(--ice-rgb), .14); }
.legal-text .legal-ed { margin: 0 0 1.4em; font-size: 15px; }
/* the short legal line under a format, the rating, the results and the albums */
.legal-note { margin-top: 18px; max-width: 72ch; font-size: 14px; line-height: 1.55; }

/* 404 */
.fold { padding-top: calc(var(--nav-h) + 80px); }
.fold-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.fold-cards { position: relative; width: 260px; height: 300px; }
.fold-cards .card { --cw: 170px; }
.fold-cards .card:first-child { left: 10px; top: 40px; transform: rotate(-14deg); }
.fold-cards .card:last-child { left: 80px; top: 10px; transform: rotate(9deg); }
.fold-cards .face.back { transform: none; }
.fold .lead { margin-top: 20px; }
.fold-code { margin-top: 18px; }

@media (max-width: 1080px) {
  .tpage-grid { grid-template-columns: minmax(0, 1fr); }
  .tpage-side { position: static; order: -1; }
  .flow-band { grid-template-columns: minmax(0, 1fr); }
  .fmt-grid, .voice, .club-rules, .legal-grid { grid-template-columns: minmax(0, 1fr); }
  .legal-nav { position: static; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .combos { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .flow-v b { min-width: 0; width: 76px; }
  .flow-v span { font-size: 15px; }
  .flow-band { padding: 24px 20px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .podium-row { grid-template-columns: minmax(0, 1fr); }
  .pr { flex-direction: row; align-items: baseline; gap: 14px; }
  .pr-l { margin-left: auto; }
  .tpage-side { order: 0; }
  .side-card { padding: 20px; }
  .sticky-reg { display: block; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 30; }
  .sticky-reg .btn { width: 100%; box-shadow: var(--shadow); }
  /* the label on one line, the date under it: a bar that never wraps mid-phrase */
  .sticky-reg .sr-t { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
  .sticky-reg .sr-t small { font-size: 13px; font-weight: 500; color: rgba(22, 16, 10, .68); }
  .tpage .foot, body:has(.sticky-reg) .foot { padding-bottom: 96px; }
  .res { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .res-date b { font-size: 32px; }
  .res-name { font-size: 22px; }
  .delta { display: flex; margin: 2px 0 0; }
  .trio, .pillars, .contact-cards, .aud { grid-template-columns: minmax(0, 1fr); }
  .pillars li { min-height: 0; }
  .combo { grid-template-columns: 28px minmax(0, 1fr); }
  .combo-cards { grid-column: 2; }
  .mc { width: 30px; height: 42px; }
  .jg { --row: 124px; gap: 4px; }
  .jg > li > a { border-radius: 6px; }
  .alb-bar { margin-bottom: 14px; }
  .vw-stage { inset: 56px 0 84px; }
  .vw-slide { padding: 0; }
  .vw-slide img, .vw-slide video { border-radius: 0; box-shadow: none; }
  .vw-bar { height: 56px; padding: env(safe-area-inset-top) 10px 0 16px; }
  /* on a phone the tiles go edge to edge, as in the iPhone's Photos */
  .lg-bar { height: 56px; padding: env(safe-area-inset-top) 10px 0 16px; }
  .lg-body { padding: calc(56px + env(safe-area-inset-top) + 3px) 0 calc(16px + env(safe-area-inset-bottom)); scroll-padding-top: calc(56px + env(safe-area-inset-top) + 3px); }
  .lg-it { border-radius: 0; }
  .vw-title { font-size: 17px; }
  .vw-prev, .vw-next { display: none; }
  .vw-strip { height: 84px; gap: 4px; padding: 14px 14px calc(14px + env(safe-area-inset-bottom)); }
  .vw-th { height: 52px; border-radius: 6px; }
  .fold-in { grid-template-columns: minmax(0, 1fr); }
  .fold-cards { width: 220px; height: 230px; }
  .fold-cards .card { --cw: 130px; }
  .empty-row { flex-direction: column; align-items: flex-start; }
}

/* =================== the window: details open in the middle of the screen, the page steps back behind them =================== */
.drawer { position: fixed; inset: 0; width: min(900px, calc(100vw - 48px)); max-width: none; height: min(88dvh, 1000px); max-height: none; margin: auto; padding: 0; border: 0; border-radius: var(--r-lg); background: var(--bg); color: var(--ink); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(170, 195, 240, .16), inset 0 1px 0 rgba(255, 255, 255, .06), 0 80px 160px -40px rgba(0, 0, 0, .95), 0 30px 60px -30px rgba(0, 0, 0, .7); }
.drawer::backdrop { background: radial-gradient(90% 80% at 50% 50%, rgba(var(--veil-rgb), .4), rgba(2, 5, 14, .8)); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.drawer[open] { animation: window-in .8s var(--ease); }
.drawer[open]::backdrop { animation: fade-in .6s var(--ease); }
.drawer.closing { animation: window-out .3s var(--ease) forwards; }
.drawer.closing::backdrop { animation: fade-out .3s var(--ease) forwards; }
@keyframes window-in { from { opacity: 0; transform: perspective(1400px) translateY(70px) rotateX(9deg) scale(.94); } }
@keyframes window-out { to { opacity: 0; transform: perspective(1400px) translateY(40px) rotateX(5deg) scale(.96); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
html.drawer-open { overflow: hidden; }
/* the page behind steps back and dims: the window stands in front of it */
#main, .foot { transition: transform .8s var(--ease), filter .8s var(--ease); }
html.drawer-open #main, html.drawer-open .foot { transform: scale(.94); transform-origin: 50% var(--oy, 50vh); filter: brightness(.6) saturate(.85); }
.nav { transition: opacity .5s var(--ease), translate .6s var(--ease); }
html.drawer-open .nav { opacity: 0; translate: 0 -24px; }
.drawer-in { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.drawer-x { position: sticky; top: 16px; float: right; z-index: 5; margin: 16px 16px -60px 0; background: var(--bg-2); }
.drawer-body { min-height: 100%; transition: opacity .35s var(--ease); }
.drawer.loading .drawer-body { opacity: .35; }
.drawer .wrap { max-width: none; padding: 0 clamp(20px, 4vw, 52px); }
.drawer .page-head { padding: 34px 0 22px; }
.drawer .page-head .h1 { font-size: clamp(32px, 4vw, 52px); padding-right: 56px; }
.drawer .back-link { display: none; }
.drawer .section { padding: 34px 0; }
.drawer .section + .section { padding-top: 0; }
.drawer .tpage-grid { grid-template-columns: minmax(0, 1fr); padding-bottom: 40px; }
.drawer .tpage-side { position: static; order: -1; }
.drawer .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.drawer .combos, .drawer .first-in, .drawer .faq-wrap, .drawer .fmt-grid, .drawer .voice, .drawer .club-rules, .drawer .legal-grid { grid-template-columns: minmax(0, 1fr); }
.drawer .legal-nav { position: static; }
/* the window already has its way in at the top and in the card: no third button stuck to its bottom */
.drawer .sticky-reg { display: none; }
@media (max-width: 760px) {
  .drawer { width: calc(100vw - 16px); height: calc(100dvh - 32px - env(safe-area-inset-top)); border-radius: 26px; }
  .drawer .formats { grid-template-columns: minmax(0, 1fr); }
}

/* =================== motion: the smoke on the pictures, the light on the cards, the depth of the scroll =================== */
/* a thin veil of moving smoke over a picture (js/fx.js draws it): above the image, under the dark gradient and the words */
.veil { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity 2s var(--ease); }
.veil.on { opacity: 1; }
.bt > .veil, .cal-cover > .veil { z-index: -1; }
/* the light on the cards: a soft band crosses the face now and then */
.front::after { content: ''; position: absolute; inset: -30% -60%; z-index: 2; pointer-events: none; background: linear-gradient(112deg, transparent 40%, rgba(255, 255, 255, .5) 48%, rgba(205, 228, 255, .32) 51%, transparent 60%); translate: -45% 0; animation: sheen 9s var(--ease) var(--sd, 0s) infinite; }
@keyframes sheen { 0%, 58% { translate: -45% 0; } 92%, 100% { translate: 45% 0; } }
.c-king { --sd: 1.6s; }
.royal .r2 { --sd: .5s; } .royal .r3 { --sd: 1s; } .royal .r4 { --sd: 1.5s; } .royal .r5 { --sd: 2s; }
/* the depth of the scroll: pictures drift inside their frames, the hero falls behind as it leaves, the hand rises out of it.
   Done by the browser on the scroll itself (no script); where it is not supported the page simply stays still */
@supports (animation-timeline: view()) {
  .bt > .art, .mosaic .art, .cal-cover > .art, .welcome > .art, .bd-art:not(.is-emblem) > .art { scale: 1.14; animation: drift-y linear both; animation-timeline: view(); }
  .bd-art:not(.is-emblem) > .art { animation: breathe 26s ease-in-out infinite alternate, drift-y linear both; animation-timeline: auto, view(); }
  @keyframes drift-y { from { translate: 0 -6%; } to { translate: 0 6%; } }
  .hero-photo .art { animation: breathe 30s ease-in-out infinite alternate, hero-sink linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 100vh; }
  @keyframes hero-sink { to { translate: 0 16%; } }
  .hero-photo.reel .art { animation: breathe 30s ease-in-out infinite alternate, reel 27s linear infinite, hero-sink linear both; animation-timeline: auto, auto, scroll(root); animation-range: normal, normal, 0 100vh; animation-delay: 0s, -2s, 0s; }
  .hero-photo.reel .art:nth-child(2) { animation-delay: -10s, 7s, 0s; }
  .hero-photo.reel .art:nth-child(3) { animation-delay: -20s, 16s, 0s; }
  /* moving a wrapper would isolate the screen-blended layers inside it (black boxes): the layers move themselves */
  .hole, .hero-stage .fx-front { animation: hero-lift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  @keyframes hero-lift { to { translate: 0 -70px; } }
  .hero-copy { animation: hero-leave linear both; animation-timeline: scroll(root); animation-range: 10vh 90vh; }
  @keyframes hero-leave { to { translate: 0 -8%; opacity: .2; } }
  .royal > *, .trophy > * { animation: float-y linear both; animation-timeline: view(); }
  @keyframes float-y { from { translate: 0 44px; } to { translate: 0 -44px; } }
}

/* ---------- news: cards, the list with search, one article ---------- */
.nhome { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-auto-rows: auto; gap: 18px; }
.nhome.n1 { grid-template-columns: minmax(0, 1fr); }
.nhome .ncard-big { grid-row: span 2; }
.nhome.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nhome.n2 .ncard-big { grid-row: auto; }
.ncard { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--r); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transition: transform .5s var(--spring), border-color .4s; }
.ncard:hover { transform: translateY(-3px); border-color: rgba(var(--ice-rgb), .4); }
.ncard.is-hidden { border-style: dashed; border-color: rgba(var(--gold-rgb), .5); }
.ncard-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.ncard-cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(70% 80% at 50% 10%, rgba(90, 140, 240, .16), transparent 65%), linear-gradient(rgba(5, 11, 32, .7), rgba(5, 11, 32, .8)), url(../images/art/tex-felt-480.webp) center / 280px repeat, #0f2763; }
.ncard-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ncard:hover .ncard-cover img { transform: scale(1.05); }
/* a piece of news without a picture: the club's mark on the felt */
.ncard-mark { position: absolute; inset: 28% 34%; background: linear-gradient(120deg, rgba(var(--gold-rgb), .5), rgba(var(--gold-rgb), .2)); -webkit-mask: url(../images/brand/ak-mark.svg) center / contain no-repeat; mask: url(../images/brand/ak-mark.svg) center / contain no-repeat; }
.ncard-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.ncard-date { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; font-weight: 600; color: var(--gold-text); }
.ncard-date .badge { white-space: normal; }
.ncard-title { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 1.9vw, 26px); line-height: 1.16; letter-spacing: -.01em; text-wrap: balance; }
.ncard-lead { font-size: 15px; line-height: 1.55; color: var(--mute); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard-big .ncard-cover { aspect-ratio: 16 / 9; }
.ncard-big .ncard-title { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.ncard-big .ncard-lead { font-size: 16px; -webkit-line-clamp: 4; }
.ncard-row { flex-direction: row; align-items: stretch; }
.ncard-row .ncard-cover { flex: none; width: 38%; aspect-ratio: auto; min-height: 150px; }
.ncard-row .ncard-body { justify-content: center; padding: 18px 20px; }
.ncard-row .ncard-title { font-size: clamp(20px, 1.7vw, 23px); }
.ngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.ngrid > li { display: flex; }
.ngrid .ncard { flex: 1; }

/* the list: the search pill, the years, what was found */
.nsearch { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.nsearch .search { width: min(560px, 100%); flex: 1 1 320px; max-width: 560px; }
.nsearch .search .i { color: var(--gold-text); }
.nsearch .search input::-webkit-search-cancel-button { filter: invert(1) opacity(.6); }
.nyears { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.nyears a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--line-2); font-size: 15px; font-weight: 500; color: var(--mute); font-variant-numeric: lining-nums tabular-nums; transition: color .3s, background-color .3s, border-color .3s; }
.nyears a:hover { color: var(--ink); border-color: rgba(var(--ice-rgb), .55); background: rgba(var(--ice-rgb), .08); }
.nyears a[aria-current] { color: var(--ink); background: rgba(var(--ice-rgb), .14); border-color: rgba(var(--ice-rgb), .4); }
.nresults { transition: opacity .3s var(--ease); }
.nresults.is-loading { opacity: .5; }
.nfound { margin-bottom: 18px; font-size: 15px; color: var(--mute); }
.nmore { margin-top: 26px; display: flex; justify-content: center; }
mark { padding: 0 2px; border-radius: 4px; background: rgba(var(--gold-rgb), .3); color: var(--ink); }

/* one article: a reading column, the cover, then the text with its quotes, galleries and videos */
.news-wrap, .news-item-page .page-head .wrap { max-width: calc(860px + var(--pad) * 2); }
.news-item-page .page-head .h1 { max-width: none; font-size: clamp(36px, 4.4vw, 60px); }
.news-when { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-text); }
.news-wrap > .notice { margin: 0 0 22px; }
.news-cover { margin-bottom: clamp(26px, 3vw, 40px); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-3); box-shadow: var(--shadow-sm); }
.news-cover img { width: 100%; }
.news-body > * + * { margin-top: clamp(22px, 2.6vw, 34px); }
.nb-text { font-size: 18px; line-height: 1.7; color: rgba(241, 244, 250, .88); }
.nb-text p + p, .nb-text p + blockquote, .nb-text blockquote + p { margin-top: 1em; }
.nb-text b { font-weight: 600; color: var(--ink); }
.nb-text u { text-decoration-thickness: 1px; text-underline-offset: .2em; }
.nb-text a { color: var(--gold-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: rgba(var(--gold-rgb), .45); transition: text-decoration-color .25s; }
.nb-text a:hover { text-decoration-color: currentColor; }
/* the quote: words of a person on the felt, the gold marks before them */
.nb-text blockquote { position: relative; margin: 1.4em 0; padding: 26px 30px 26px 74px; border-radius: var(--r); background: radial-gradient(90% 90% at 80% 0%, rgba(90, 140, 240, .16), transparent 65%), linear-gradient(rgba(5, 11, 32, .6), rgba(5, 11, 32, .7)), url(../images/art/tex-felt-480.webp) center / 280px repeat, #0f2763; box-shadow: inset 0 0 0 1px rgba(var(--gold-rgb), .4); font-family: var(--display); font-style: italic; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.45; color: #f1f4fa; }
.nb-text blockquote::before { content: '«'; position: absolute; left: 24px; top: 14px; font-family: var(--display); font-style: normal; font-weight: 600; font-size: 64px; line-height: 1; color: var(--gold-text); }
.nb-text blockquote p + p { margin-top: .6em; }
.nb-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nb-gallery a { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--bg-3); }
.nb-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.nb-gallery a:hover img { transform: scale(1.04); }
.nb-gallery.g1 { grid-template-columns: minmax(0, 1fr); }
.nb-gallery.g1 a { aspect-ratio: auto; }
.nb-gallery.g1 img { height: auto; }
.nb-gallery.g3 a:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.nb-gallery.g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nb-gallery.g5 a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.nb-video { display: grid; gap: 10px; }
.vid { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--bg); box-shadow: var(--shadow-sm); }
.vid-felt { position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 40%, rgba(90, 140, 240, .26), transparent 70%), linear-gradient(rgba(5, 11, 32, .5), rgba(5, 11, 32, .7)), url(../images/art/tex-felt-480.webp) center / 280px repeat, #0f2763; }
.vid-poster, .vid-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 11, 32, .1), rgba(5, 11, 32, .55)); }
.vid-play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; cursor: pointer; }
.vid-ic { width: 88px; height: 88px; display: grid; place-items: center; border-radius: 50%; color: #16100a; background: linear-gradient(180deg, #f3dba4 0%, #e3c07c 55%, #d6ae64 100%); box-shadow: inset 0 1px 0 rgba(255, 251, 238, .85), 0 16px 40px -14px rgba(227, 192, 124, .8), 0 0 0 10px rgba(var(--gold-rgb), .14); transition: transform .5s var(--spring), box-shadow .4s; }
.vid-ic .i { margin-left: 4px; }
.vid-play:hover .vid-ic { transform: scale(1.08); box-shadow: inset 0 1px 0 rgba(255, 251, 238, .9), 0 20px 50px -14px rgba(227, 192, 124, .9), 0 0 0 16px rgba(var(--gold-rgb), .12); }
.vid-src { position: absolute; left: 14px; top: 14px; z-index: 3; background: rgba(5, 11, 32, .72); }
.vid.is-on .vid-src { display: none; }
.vid iframe { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; border: 0; animation: fade-in .5s var(--ease); }
.nb-video figcaption { font-size: 14px; line-height: 1.5; color: var(--mute); }
.vid-note { color: var(--dim); }
/* share: the link, the three messengers, the phone's own sheet */
.share { margin-top: clamp(34px, 4vw, 52px); padding-top: 24px; border-top: 1px solid var(--line); }
.share-t { margin-bottom: 14px; font-family: var(--display); font-weight: 600; font-size: 21px; }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.share-mono { width: 22px; height: 22px; display: grid; place-items: center; flex: none; border-radius: 7px; box-shadow: inset 0 0 0 1.5px currentColor; font-size: 9.5px; font-weight: 800; letter-spacing: .02em; line-height: 1; color: var(--gold-text); }
.share .btn .i { color: var(--gold-text); }
.share .btn.is-done { border-color: rgba(127, 211, 166, .6); color: #bfe9d2; }
.news-more { padding-top: 0; }
.drawer .news-wrap { max-width: none; }
.drawer .news-more .wrap { padding-bottom: 40px; }
@media (max-width: 900px) {
  .nhome, .nhome.n2 { grid-template-columns: minmax(0, 1fr); }
  .nhome .ncard-big { grid-row: auto; }
}
@media (max-width: 640px) {
  .ncard-row .ncard-cover { width: 34%; min-height: 112px; }
  .ncard-row .ncard-body { padding: 14px 16px; gap: 6px; }
  .ncard-row .ncard-title { font-size: 19px; }
  .ncard-body { padding: 16px 18px 20px; }
  .nb-text { font-size: 17px; }
  .nb-text blockquote { padding: 54px 20px 20px; }
  .nb-text blockquote::before { left: 18px; top: 8px; font-size: 54px; }
  .nb-gallery.g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nb-gallery.g5 a:first-child { grid-row: auto; aspect-ratio: 16 / 9; }
  .vid-ic { width: 72px; height: 72px; }
  .share-btns .btn { flex: 1 1 calc(50% - 4px); }
  .share-btns [data-copy] { flex-basis: 100%; }
  .nsearch-go { flex: 1 1 100%; }
}

/* The beginners' actions share one size and the site's existing button component. */
.first-copy .cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }.first-copy .cta .btn { width: 100%; min-width: 0; min-height: 54px; padding-left: 18px; padding-right: 18px; }.first-copy .cta .btn > svg { flex: none; }
@media (max-width: 640px) { .first-copy .cta { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1081px) and (max-width: 1300px) { .menu { font-size: 13px; }.menu a { padding-left: 9px; padding-right: 9px; }.nav-in { gap: 12px; }.nav-in .brand { gap: 8px; }.nav-in .brand-word { font-size: 19px; } }
