/* «وصّلها»: its own look, a modern night table. Four looks by a class on #app (t-midnight, t-obsidian, t-emerald, t-day);
   the board is a baked picture and the marbles sprites (art/), the cards SVG (cards.js), the fire a canvas. */
:root { --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px); color-scheme: dark; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; overflow: hidden; background: #0A1120; }
body { font-family: "Readex Pro", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; touch-action: manipulation; overscroll-behavior: none; }
button { font-family: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2.5px solid var(--gold2); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#safeProbe { position: fixed; top: 0; left: 0; width: 0; height: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); visibility: hidden; pointer-events: none; }
@keyframes fade { from { opacity: 0; } }

/* ---------- the four looks ---------- */
.ws {
  position: fixed; inset: 0; overflow: hidden; overflow: clip; color: var(--ink); background: radial-gradient(120% 70% at 50% 28%, var(--bg1), var(--bg2) 78%);
  --top-h: 54px; --bg1: #16294A; --bg2: #0A1120; --ink: #F4F7FF; --muted: #A9B6CF; --dim: #8592AC;
  --gold: #EBC675; --gold2: #FFE3A0; --on-gold: #2A1A06; --glass: rgba(255, 255, 255, .07); --glass2: rgba(255, 255, 255, .14); --line: rgba(255, 255, 255, .12);
  --sheet: linear-gradient(170deg, #1B2E51, #0E1930); --scrim: rgba(5, 9, 18, .68); --row: rgba(255, 255, 255, .06);
  --ring: #FFE08A; --ring-rgb: 255, 224, 138; --pick: #FFFFFF; --trail: #FFC65A; --name-shadow: 0 1px 3px rgba(0, 0, 0, .7);
  --board-shadow: 0 18px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06); --card-shadow: rgba(0, 0, 0, .5);
}
.t-obsidian { --bg1: #23232B; --bg2: #0C0C10; --muted: #B5B3AD; --dim: #8E8C86; --sheet: linear-gradient(170deg, #26262E, #131317); }
.t-emerald { --bg1: #0E4238; --bg2: #051512; --muted: #A5C4BB; --dim: #7A9D93; --sheet: linear-gradient(170deg, #124A3E, #08211B); }
.t-ruby { --bg1: #4A1426; --bg2: #14050B; --muted: #D3A9B6; --dim: #A8848F; --sheet: linear-gradient(170deg, #551B2F, #210A13); }
.t-dunes { --bg1: #5E3A1C; --bg2: #1A0E05; --muted: #D9C2A3; --dim: #AB9071; --sheet: linear-gradient(170deg, #5E3A1C, #24130A); }
.t-royal { --bg1: #2C1F66; --bg2: #0B0820; --muted: #B4AEDB; --dim: #8F89B8; --sheet: linear-gradient(170deg, #352876, #140F35); }
.t-day {
  --bg1: #FBF8F2; --bg2: #E9E2D5; --ink: #1C2333; --muted: #5D6474; --dim: #62687A; --gold: #A9782A; --gold2: #8A6118;
  --glass: rgba(255, 255, 255, .78); --glass2: #FFFFFF; --line: rgba(20, 30, 50, .13); --sheet: linear-gradient(170deg, #FFFDF9, #F3EDE1); --scrim: rgba(50, 42, 28, .42); --row: rgba(60, 50, 30, .06);
  --ring: #C8860F; --ring-rgb: 200, 134, 15; --pick: #14203A; --trail: #C8860F; --name-shadow: none;
  --board-shadow: 0 18px 40px rgba(60, 50, 30, .28), 0 0 0 1px rgba(60, 50, 30, .08); --card-shadow: rgba(60, 50, 30, .32); color-scheme: light;
}
.c0 { --c: #3E82FF; } .c1 { --c: #FF3560; } .c2 { --c: #19E3CC; } .c3 { --c: #FFB81F; }
.t-day .c2 { --c: #00A896; } .t-day .c3 { --c: #E09A00; }

/* ---------- the top bar ---------- */
#bar { position: absolute; top: var(--safe-t); left: 0; right: 0; height: var(--top-h); z-index: 22; display: flex; align-items: center; gap: 10px; padding: 0 14px; }
/* (3D: the board's world round it — a yacht's white rail, a tent's light cloth — can be light at the top; a soft dark band
   behind the bar keeps its score, its buttons and the clock readable over any of them) */
.d3 #bar::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: calc(-1 * var(--safe-t)); bottom: -22px; background: linear-gradient(180deg, rgba(6, 9, 20, .82), rgba(6, 9, 20, .6) 62%, rgba(6, 9, 20, 0)); pointer-events: none; }
.at-menu #bar { visibility: hidden; }
.brand, .logo h1, .loading b { font-family: Alexandria, "Readex Pro", sans-serif; font-weight: 800; background: linear-gradient(180deg, #FFF1C9, #E2B458 66%, #B98A35); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-day .brand, .t-day .logo h1, .t-day .loading b { background-image: linear-gradient(180deg, #C2902F, #8A6118); }
.brand { font-size: 24px; line-height: 1.4; padding: 2px 0; }
.ic { flex: none; width: 38px; height: 38px; padding: 0; border-radius: 13px; border: 1px solid var(--line); background: var(--glass); color: var(--ink); display: grid; place-items: center; }
.ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic:active, .hint-btn:active { background: var(--glass2); }
.prog { margin-inline-start: auto; display: flex; flex-direction: column; gap: 3px; padding: 5px 10px; border-radius: 13px; background: var(--glass); border: 1px solid var(--line); }
.prog > div { display: flex; align-items: center; gap: 6px; font-size: 10.5px; line-height: 1.2; font-weight: 600; color: var(--muted); }
.prog span { min-width: 18px; }
.prog i { display: flex; gap: 3px; }
.prog u { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .3s, box-shadow .3s; }
.prog .us u.on { background: #3E82FF; box-shadow: 0 0 6px #3E82FF; }
.prog .th u.on { background: #FF3560; box-shadow: 0 0 6px #FF3560; }

/* ---------- the board ---------- */
#table { position: absolute; z-index: 10; border-radius: 18px; background: var(--bg1); box-shadow: var(--board-shadow); touch-action: manipulation; }
#boardImg { display: block; width: 100%; height: 100%; border-radius: inherit; -webkit-user-drag: none; user-select: none; }
#fire { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; mix-blend-mode: screen; }
#trail, #marbles, #spots, #fireCards, #seats { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.at-menu #table, .at-menu #acts, .at-menu #hand, .at-menu #marbles { visibility: hidden; }
/* the board in 3D (board3d.js): drawn under the board's own layer, which takes the camera's matrix; the fire, the last
   card and the seats stand over it in #up */
#gl { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 9; pointer-events: none; }
#up { position: absolute; z-index: 11; pointer-events: none; transition: opacity .35s; }
.at-menu #gl, .at-menu #up { visibility: hidden; }
.d3 #table { background: none; box-shadow: none; border-radius: 0; transform-origin: 0 0; }
.d3 #boardImg { visibility: hidden; }
.d3 #marbles .mb { opacity: 0; animation: none; }
/* the King's cinematic: bars, and the table's furniture steps aside for it */
.cine-bars { position: fixed; inset: 0; z-index: 44; pointer-events: none; }
.cine-bars i { position: absolute; left: 0; right: 0; height: 0; background: #000; transition: height .5s cubic-bezier(.3, .7, .2, 1); }
.cine-bars i:first-child { top: 0; } .cine-bars i:last-child { bottom: 0; }
.cine .cine-bars i { height: 11vh; }
#acts, #hand, #bar { transition: opacity .35s; }
.cine #up, .cine #acts, .cine #hand, .cine #bar { opacity: 0; pointer-events: none; }
/* your partner talking (partner.js): his words over his seat, the box to talk to him, his word on the result */
.pl .bub.mate { background: #FFF6E2; color: #2A1A06; border: 1.5px solid var(--c); }
.bub .dots { display: inline-flex; gap: 3px; vertical-align: middle; } .bub .dots b { width: 5px; height: 5px; border-radius: 50%; background: #7A6440; animation: dot 1s infinite; }
.bub .dots b:nth-child(2) { animation-delay: .15s; } .bub .dots b:nth-child(3) { animation-delay: .3s; }
.mate-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.mate-h b { color: #FFE3A0; }
#mateList:empty::before { content: "اسأله وش تلعب، أو سولف معه 👋"; }
.mate-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.mate-quick button { padding: 6px 11px; border-radius: 14px; border: 1px solid rgba(255, 227, 160, .35); background: rgba(255, 227, 160, .1); color: #FFE9B8; font: inherit; font-size: 12.5px; font-weight: 600; }
.over-mate { margin: 0 0 10px; font-size: 13.5px; line-height: 1.6; color: var(--ink); }
.over-mate b { color: var(--gold); }
#trail polyline { fill: none; stroke: var(--trail); stroke-linecap: round; stroke-linejoin: round; }
#trail .glow { stroke-opacity: .28; }
#trail .sweep { stroke: #FF7A2A; }
/* the cards on the fire */
.fc { position: absolute; left: 50%; top: 50%; width: var(--fc, 60px); height: calc(var(--fc, 60px) * 1.5); margin-left: calc(var(--fc, 60px) / -2); margin-top: calc(var(--fc, 60px) * -.75); transform: rotate(var(--r, 0deg)); transition: filter .5s, opacity .5s, transform .5s; }
.fc .cd { display: block; width: 100%; height: 100%; filter: drop-shadow(0 0 16px rgba(255, 140, 40, .5)) drop-shadow(0 7px 11px rgba(0, 0, 0, .7)); }
.fc.old { filter: brightness(.34) sepia(1) saturate(2.4) hue-rotate(-20deg); opacity: .78; transform: rotate(var(--r, 0deg)) scale(.92); }
/* a burned card (game.src.js burnCard, 2026-11-13): it scorches while it burns and stays scorched; sparks over it */
.fc.burning .cd, .fc.burnt .cd { transition: filter 1.5s ease-out; }
/* while it burns it rises over the fire, bigger, and the paper twists in the heat; then it settles back on the pile */
.fc.burning { z-index: 4; transform: rotate(var(--r, 0deg)) translateY(-14%) scale(1.75); transition: transform .45s cubic-bezier(.2, 1.4, .4, 1), filter .5s, opacity .5s; }
.fc.burnt { transition: transform .7s cubic-bezier(.4, 0, .2, 1), filter .5s, opacity .5s; }
.fc.burning .cd { animation: wbTwist 1.9s ease-in-out both; }
@keyframes wbTwist { 0% { transform: none; } 30% { transform: skewY(-1.6deg) scale(.99, 1.01); } 60% { transform: skewY(1.2deg) scale(1.01, .985); } 100% { transform: skewY(-.6deg) scale(.985, .99); } }
.wb-aura { position: absolute; left: 50%; top: 50%; width: 190%; height: 160%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 170, 60, .55), rgba(255, 90, 20, .28) 45%, rgba(255, 60, 10, 0) 100%); mix-blend-mode: screen; opacity: 0; transition: opacity .5s; animation: wbAura .16s ease-in-out infinite alternate paused; }
.fc.burning .wb-aura { opacity: 1; animation-play-state: running; }
@keyframes wbAura { to { transform: translate(-50%, -52%) scale(1.06); } }
.fc.burning .cd { filter: sepia(.22) saturate(1.15) brightness(.93) drop-shadow(0 0 22px rgba(255, 120, 30, .85)) drop-shadow(0 7px 11px rgba(0, 0, 0, .7)); }
.fc.burnt .cd { filter: sepia(.38) saturate(1.05) brightness(.8) contrast(1.06) drop-shadow(0 0 12px rgba(255, 90, 20, .32)) drop-shadow(0 7px 11px rgba(0, 0, 0, .75)); }
.wb-px { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.wb-flash { position: absolute; width: 90%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.1); border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(closest-side, rgba(255, 252, 230, .95), rgba(255, 200, 80, .7) 35%, rgba(255, 110, 20, .25) 65%, rgba(255, 80, 10, 0)); animation: wbFlash .75s ease-out forwards; }
@keyframes wbFlash { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.1); } 18% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); } }
.wb-e, .wb-s, .wb-a { position: absolute; display: block; pointer-events: none; }
.wb-e { width: 3.5px; height: 3.5px; margin: -1.75px; border-radius: 50%; background: #FFE08A; box-shadow: 0 0 5px 2px rgba(255, 130, 30, .95), 0 0 12px 3px rgba(255, 70, 10, .45); animation: wbUp var(--t, 1s) ease-out forwards; }
.wb-s { width: 26px; height: 26px; margin: -13px; border-radius: 50%; background: radial-gradient(circle, rgba(58, 50, 46, .6), rgba(58, 50, 46, 0) 68%); filter: blur(2px); animation: wbSmoke var(--t, 1.6s) ease-out forwards; }
.wb-a { width: 4px; height: 3px; margin: -1.5px; border-radius: 1px; background: #3B3431; box-shadow: 0 0 2px rgba(255, 110, 40, .55); animation: wbAsh var(--t, 1.8s) ease-in forwards; }
@keyframes wbUp { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 12% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.3); } }
@keyframes wbSmoke { 0% { opacity: 0; transform: translate(0, 0) scale(.5); } 25% { opacity: .9; } 100% { opacity: 0; transform: translate(calc(var(--dx) * .6), calc(var(--dy) * 1.1)) scale(2.4); } }
@keyframes wbAsh { 0% { opacity: 0; transform: translate(0, 0) rotate(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(260deg); } }
.who-last { position: absolute; left: 50%; transform: translateX(-50%); z-index: 6; white-space: nowrap; font-size: 11px; font-weight: 600; padding: 3px 11px; border-radius: 11px; background: rgba(8, 12, 22, .84); color: #fff; border: 1px solid rgba(255, 255, 255, .14); pointer-events: none; }
/* the marbles */
.mb { position: absolute; left: 0; top: 0; width: var(--mb, 16px); height: var(--mb, 16px); margin-left: calc(var(--mb, 16px) / -2); margin-top: calc(var(--mb, 16px) / -2); border-radius: 50%; background: center / 100% 100% no-repeat; box-shadow: 0 2px 3px rgba(0, 0, 0, .55); will-change: transform; }
.mb.c0 { background-image: url(art/mb_blue.png); } .mb.c1 { background-image: url(art/mb_red.png); } .mb.c2 { background-image: url(art/mb_teal.png); } .mb.c3 { background-image: url(art/mb_amber.png); }
.mb.c0.st-pearl { background-image: url(art/mb_pearl_blue.png); } .mb.c1.st-pearl { background-image: url(art/mb_pearl_red.png); } .mb.c2.st-pearl { background-image: url(art/mb_pearl_teal.png); } .mb.c3.st-pearl { background-image: url(art/mb_pearl_amber.png); }
.mb.c0.st-metal { background-image: url(art/mb_metal_blue.png); } .mb.c1.st-metal { background-image: url(art/mb_metal_red.png); } .mb.c2.st-metal { background-image: url(art/mb_metal_teal.png); } .mb.c3.st-metal { background-image: url(art/mb_metal_amber.png); }
.mb.c0.st-galaxy { background-image: url(art/mb_galaxy_blue.png); } .mb.c1.st-galaxy { background-image: url(art/mb_galaxy_red.png); } .mb.c2.st-galaxy { background-image: url(art/mb_galaxy_teal.png); } .mb.c3.st-galaxy { background-image: url(art/mb_galaxy_amber.png); }
.mb.c0.st-agate { background-image: url(art/mb_agate_blue.png); } .mb.c1.st-agate { background-image: url(art/mb_agate_red.png); } .mb.c2.st-agate { background-image: url(art/mb_agate_teal.png); } .mb.c3.st-agate { background-image: url(art/mb_agate_amber.png); }
.mb.c0.st-glass { background-image: url(art/mb_glass_blue.png); } .mb.c1.st-glass { background-image: url(art/mb_glass_red.png); } .mb.c2.st-glass { background-image: url(art/mb_glass_teal.png); } .mb.c3.st-glass { background-image: url(art/mb_glass_amber.png); }
.mb.c0.st-lava { background-image: url(art/mb_lava_blue.png); } .mb.c1.st-lava { background-image: url(art/mb_lava_red.png); } .mb.c2.st-lava { background-image: url(art/mb_lava_teal.png); } .mb.c3.st-lava { background-image: url(art/mb_lava_amber.png); }
.mb.c0.st-opal { background-image: url(art/mb_opal_blue.png); } .mb.c1.st-opal { background-image: url(art/mb_opal_red.png); } .mb.c2.st-opal { background-image: url(art/mb_opal_teal.png); } .mb.c3.st-opal { background-image: url(art/mb_opal_amber.png); }
.mb.c0.st-planet { background-image: url(art/mb_planet_blue.png); } .mb.c1.st-planet { background-image: url(art/mb_planet_red.png); } .mb.c2.st-planet { background-image: url(art/mb_planet_teal.png); } .mb.c3.st-planet { background-image: url(art/mb_planet_amber.png); }
.mb.c0.st-sun { background-image: url(art/mb_sun_blue.png); } .mb.c1.st-sun { background-image: url(art/mb_sun_red.png); } .mb.c2.st-sun { background-image: url(art/mb_sun_teal.png); } .mb.c3.st-sun { background-image: url(art/mb_sun_amber.png); }
.mb.c0.st-wave { background-image: url(art/mb_wave_blue.png); } .mb.c1.st-wave { background-image: url(art/mb_wave_red.png); } .mb.c2.st-wave { background-image: url(art/mb_wave_teal.png); } .mb.c3.st-wave { background-image: url(art/mb_wave_amber.png); }
.mb.c0.st-candy { background-image: url(art/mb_candy_blue.png); } .mb.c1.st-candy { background-image: url(art/mb_candy_red.png); } .mb.c2.st-candy { background-image: url(art/mb_candy_teal.png); } .mb.c3.st-candy { background-image: url(art/mb_candy_amber.png); }
.mb.c0.st-neon { background-image: url(art/mb_neon_blue.png); } .mb.c1.st-neon { background-image: url(art/mb_neon_red.png); } .mb.c2.st-neon { background-image: url(art/mb_neon_teal.png); } .mb.c3.st-neon { background-image: url(art/mb_neon_amber.png); }
.mb.st-neon { box-shadow: 0 0 7px 1px var(--c), 0 2px 3px rgba(0, 0, 0, .5); }
.mb.moving { z-index: 5; box-shadow: 1px 6px 8px rgba(0, 0, 0, .45); }
.mb.pick { z-index: 4; box-shadow: 0 0 0 1.6px var(--pick), 0 0 10px 2px rgba(var(--ring-rgb), .75), 0 2px 3px rgba(0, 0, 0, .55); animation: pickPulse 1s ease-in-out infinite; }
@keyframes pickPulse { 50% { box-shadow: 0 0 0 2.2px var(--pick), 0 0 16px 5px rgba(var(--ring-rgb), .5), 0 2px 3px rgba(0, 0, 0, .55); } }
.mb.onfire { box-shadow: 0 0 8px 3px #FF7A2A, 0 0 16px 7px rgba(255, 90, 20, .6); }
.mb.charred { filter: brightness(.3) saturate(.3); }
.mb.safe { animation: safeGlow .8s ease-out; }
@keyframes safeGlow { 30% { box-shadow: 0 0 0 3px #B8F5C8, 0 0 14px 6px rgba(120, 240, 170, .75); } }
/* where a card can take you */
.spot { position: absolute; width: calc(var(--mb, 16px) * 1.55); height: calc(var(--mb, 16px) * 1.55); margin-left: calc(var(--mb, 16px) * -.775); margin-top: calc(var(--mb, 16px) * -.775); padding: 0; border: 2px solid var(--ring); border-radius: 50%; background: rgba(var(--ring-rgb), .16); box-shadow: 0 0 10px rgba(var(--ring-rgb), .8), inset 0 0 8px rgba(var(--ring-rgb), .35); pointer-events: auto; animation: spotIn .22s ease-out; }
.spot.from { border: 0; background: none; box-shadow: none; animation: none; }
.spot.kill { border-color: #FF6A2A; background: rgba(255, 90, 42, .2); box-shadow: 0 0 10px rgba(255, 90, 42, .8), inset 0 0 8px rgba(255, 90, 42, .35); }
.spot.warn { border-color: #FF2E4A; background: rgba(255, 40, 70, .3); box-shadow: 0 0 12px rgba(255, 40, 70, .9), inset 0 0 8px rgba(255, 40, 70, .4); }
.spot.safe { border-color: #7DF2B0; background: rgba(120, 240, 170, .2); box-shadow: 0 0 10px rgba(120, 240, 170, .8), inset 0 0 8px rgba(120, 240, 170, .35); }
.spot.swap { border-color: #C8A6FF; background: rgba(160, 110, 255, .22); box-shadow: 0 0 10px rgba(170, 130, 255, .8), inset 0 0 8px rgba(170, 130, 255, .35); }
/* the seven's stops: side by side, so small, each with its number */
.spot.stop { width: calc(var(--mb, 16px) * 1.12); height: calc(var(--mb, 16px) * 1.12); margin-left: calc(var(--mb, 16px) * -.56); margin-top: calc(var(--mb, 16px) * -.56); border: 1.5px solid #FFE08A; background: rgba(8, 12, 22, .9); color: #FFE08A; font: 700 calc(var(--mb, 16px) * .62)/1 "Readex Pro", sans-serif; display: grid; place-items: center; box-shadow: 0 0 8px rgba(255, 224, 138, .6); }
.spot.stop.whole { background: #FFE08A; color: #2A1A06; }
.spot.stop.kill { border-color: #FF8A5A; color: #FFB89A; }
@keyframes spotIn { from { transform: scale(.4); opacity: 0; } }
.flame-badge { position: absolute; width: calc(var(--mb, 16px) * 1.5); height: calc(var(--mb, 16px) * 1.5); margin-left: calc(var(--mb, 16px) * -.75); margin-top: calc(var(--mb, 16px) * -.75); z-index: 3; animation: spotIn .24s ease-out; }
.flame-badge svg { display: block; width: 100%; height: 100%; }
.burn-ring { position: absolute; width: calc(var(--mb, 16px) * 1.35); height: calc(var(--mb, 16px) * 1.35); margin-left: calc(var(--mb, 16px) * -.675); margin-top: calc(var(--mb, 16px) * -.675); border-radius: 50%; border: 2px solid #FF6A2A; box-shadow: 0 0 8px rgba(255, 106, 42, .7); }

/* ---------- the players, in the board's corners ---------- */
.pl { position: absolute; width: calc(var(--av, 46px) * 1.7); min-width: 72px; display: flex; flex-direction: column; align-items: center; z-index: 2; pointer-events: none; transform: translateX(-50%); }
.pl .av { position: relative; width: var(--av, 46px); height: var(--av, 46px); }
.pa.real, .pa.ini { position: relative; overflow: hidden; }
.pa.ini { display: grid !important; place-items: center; color: #0B1220; font-size: calc(var(--av, 46px) * .44); font-weight: 800; }
.av2 { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: 50%; container-type: inline-size; }
.av2-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.av2::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 30% 0%, rgba(255, 255, 255, .26), transparent 55%); pointer-events: none; }
.av2-in { position: absolute; inset: 6%; display: block; }
.av2-b { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2.5cqw 2.5cqw rgba(0, 0, 0, .32)); }
.av2-acc { position: absolute; object-fit: contain; filter: drop-shadow(0 1cqw 1.4cqw rgba(0, 0, 0, .3)); }
.av2-badge { display: none; }
.av2 img { background: none; border-radius: 0; max-width: none; }
.av2-sp, .av2-talk { display: none; }
.pl .pa { display: block; width: 100%; height: 100%; border-radius: 50%; background: #111; box-shadow: 0 0 0 2.5px var(--c), 0 0 14px -2px var(--c), 0 4px 10px rgba(0, 0, 0, .5); }
.pl.turn .pa { box-shadow: 0 0 0 2.5px var(--pick), 0 0 0 5px var(--c), 0 0 22px 3px var(--c); }
.pl .cnt { position: absolute; z-index: 5; left: calc(var(--av, 46px) * -.34); bottom: calc(var(--av, 46px) * .04); height: clamp(19px, calc(var(--av, 46px) * .37), 28px); min-width: clamp(30px, calc(var(--av, 46px) * .6), 44px); padding: 0 .5em 0 .42em; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: .32em; direction: ltr; background: linear-gradient(180deg, rgba(26, 33, 52, .97), rgba(9, 13, 24, .97)); color: #fff; border: 1.5px solid var(--c); box-shadow: 0 3px 9px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .12); font-size: clamp(11px, calc(var(--av, 46px) * .235), 15.5px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; pointer-events: none; }
/* cards in hand: two little cards fanned, before the number; above any frame (z 5), outside the picture's corner */
.pl .cnt::before { content: ""; flex: none; width: .7em; height: .95em; border-radius: .17em; background: linear-gradient(155deg, #FFFFFF, #CFDCF0); box-shadow: -.26em .09em 0 -.04em rgba(255, 255, 255, .5), 0 0 0 .5px rgba(0, 0, 0, .25); transform: rotate(9deg) translateX(.08em); }
.pl.empty .cnt { opacity: .5; }
.pl.empty .cnt::before { background: rgba(255, 255, 255, .35); box-shadow: none; }
/* ---------- the turn clock, inside the picture: a ring along its edge that empties with a glowing head, gold → amber → red, and
   the last ten seconds counted big in the middle of the picture, dimmed under them. Under the frame, above the picture. ---------- */
.pl .tmr { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; opacity: 0; transform: scale(.86); transition: opacity .25s, transform .35s cubic-bezier(.2, .9, .25, 1.2); }
.pl .av.timed .tmr { opacity: 1; transform: none; }
.tmr circle { fill: none; }
.tmr .tm-bg { stroke: rgba(4, 7, 14, .62); stroke-width: 9; }
.tmr .tm-fg { stroke: var(--tc, #FFD36B); stroke-width: 6.5; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: calc(100 - var(--t, 1) * 100); transform: rotate(-90deg); transform-origin: 50% 50%; filter: drop-shadow(0 0 3px var(--tc, #FFD36B)); transition: stroke .5s; }
.tmr .tm-hd { transform: rotate(calc(var(--t, 1) * 360deg)); transform-origin: 50% 50%; }
.tmr .tm-hd circle { fill: #fff; stroke: var(--tc, #FFD36B); stroke-width: 2.5; filter: drop-shadow(0 0 4px var(--tc, #FFD36B)); transition: stroke .5s; }
.pl .tmn { position: absolute; inset: 10%; z-index: 3; border-radius: 50%; display: none; place-items: center; background: radial-gradient(circle, rgba(8, 12, 22, .42), rgba(8, 12, 22, .7)); color: #fff; font-size: calc(var(--av, 46px) * .44); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 2px 6px rgba(0, 0, 0, .65); pointer-events: none; }
.pl .av.timed.low .tmn { display: grid; }
.pl .av.timed.late .tmn { color: #FFE6E9; text-shadow: 0 0 10px rgba(255, 77, 94, .95), 0 0 2px rgba(255, 77, 94, .9), 0 2px 6px rgba(0, 0, 0, .6); }
.pl .av.timed.late .pa { box-shadow: 0 0 0 2.5px #FF4D5E, 0 0 18px 2px rgba(255, 77, 94, .75), 0 4px 10px rgba(0, 0, 0, .5); }
.pl .av.timed.late .tmr { animation: tmPulse .9s ease-in-out infinite; }
@keyframes tmPulse { 50% { filter: brightness(1.35) drop-shadow(0 0 6px rgba(255, 77, 94, .8)); } }
@media (prefers-reduced-motion: reduce) { .pl .tmr, .pl .av.timed.late .tmr { animation: none !important; transition: none !important; } }

.pl .nm { margin-top: 5px; font-size: var(--nm, 11.5px); line-height: 1.25; font-weight: 600; color: var(--ink); white-space: nowrap; text-shadow: var(--name-shadow); }
.pl .tag { margin-top: 2px; font-size: 9.5px; line-height: 1.5; font-weight: 600; padding: 0 7px; border-radius: 8px; background: rgba(0, 224, 200, .16); color: #7FF3E2; white-space: nowrap; }
.t-day .pl .tag { background: #0A7E70; color: #fff; }
.pl .tag.turn-t, .t-day .pl .tag.turn-t { background: linear-gradient(#FFE9B0, #E2B458); color: #2A1A06; }
.pl .think { position: absolute; left: 50%; top: -9px; transform: translateX(-50%); display: none; gap: 3px; background: rgba(8, 12, 22, .9); border: 1px solid rgba(255, 255, 255, .14); padding: 4px 7px; border-radius: 10px; z-index: 3; }
.pl .think b { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: dot 1s infinite; }
.pl .think b:nth-child(2) { animation-delay: .15s; } .pl .think b:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.pl.thinking .think { display: flex; }
.pl .bub { position: absolute; bottom: calc(100% - 4px); z-index: 8; width: max-content; max-width: 190px; background: #F7F8FC; color: #141C2E; font-weight: 600; font-size: 12.5px; line-height: 1.4; text-align: center; padding: 5px 11px; border-radius: 13px; box-shadow: 0 6px 16px rgba(0, 0, 0, .45); animation: fade .2s; pointer-events: none; }
.pl .bub.emo { font-size: 24px; padding: 1px 8px; }
.pl .bub.pass { background: rgba(8, 12, 22, .94); color: #D5DCEA; border: 1px solid rgba(255, 255, 255, .12); }
.pl .bub.teach { max-width: 220px; }
.pl .bub.out { opacity: 0; transition: opacity .25s; }
.pl[data-i="1"] .bub, .pl[data-i="2"] .bub { bottom: auto; top: calc(100% + 2px); }
.pl[data-i="0"] .bub, .pl[data-i="1"] .bub { left: -8px; }
.pl[data-i="2"] .bub, .pl[data-i="3"] .bub { right: -8px; }

/* ---------- under the board ---------- */
#acts { position: absolute; z-index: 20; display: flex; align-items: center; gap: 8px; }
#acts.timed.late::after { background: #FF4D5E; }
.watching #acts { visibility: hidden; }
#hand .hc.wb { cursor: default; }
.watch-n { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 11px; background: var(--glass); border: 1px solid var(--line); }
.watch-bar { position: absolute; z-index: 24; left: var(--acts-x, 10px); top: var(--acts-top, 400px); width: var(--acts-w, calc(100% - 20px)); height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 4px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.watch-bar > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.watch-bar .btn { flex: none; }
.net { position: fixed; top: calc(var(--safe-t) + 58px); left: 50%; transform: translateX(-50%); z-index: 48; width: max-content; max-width: calc(100% - 32px); padding: 8px 14px; border-radius: 13px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(52, 10, 16, .96); border: 1px solid rgba(255, 90, 90, .7); box-shadow: 0 10px 24px rgba(0, 0, 0, .45); }
.back-btn { position: absolute; z-index: 24; left: var(--acts-x, 10px); top: calc(var(--acts-top, 400px) + 2px); width: var(--acts-w, calc(100% - 20px)); height: 40px; padding: 0 10px; font-size: 13.5px; }
.say { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--ink); text-align: start; }
.say .warn-t { color: #FF8A7A; font-weight: 700; }
.t-day .say .warn-t { color: #C81E3A; }
.choices { flex: 1; display: flex; gap: 6px; min-width: 0; }
.hint-btn { flex: none; border: 1px solid var(--line); border-radius: 13px; padding: 8px 12px; font-size: 12.5px; font-weight: 600; line-height: 1.2; color: var(--ink); background: var(--glass); white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.hint-btn svg { width: 15px; height: 15px; fill: none; stroke: #FFD677; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.t-day .hint-btn svg { stroke: var(--gold); }
.react-btn, .chat-btn { width: 36px; height: 36px; }
.chat-btn { position: relative; }
.chat-dot { position: absolute; top: -5px; left: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #FF3B5C; color: #fff; font-size: 10px; font-style: normal; font-weight: 700; line-height: 17px; text-align: center; }
.chat-box { position: absolute; left: var(--acts-x, 12px); bottom: calc(100% - var(--acts-top, 400px) + 6px); z-index: 46; width: min(360px, calc(100% - 24px)); max-height: min(330px, 46vh); display: flex; flex-direction: column; gap: 8px; padding: 10px; background: rgba(10, 16, 30, .97); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; box-shadow: 0 14px 34px rgba(0, 0, 0, .55); color: #F4F7FF; animation: fade .15s; }
.chat-box.down { bottom: auto; top: calc(var(--acts-top, 400px) + 50px); max-height: min(330px, calc(100% - var(--acts-top, 400px) - 58px)); }
.chat-list { flex: 1 1 auto; min-height: 60px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 2px; -webkit-user-select: text; user-select: text; }
.chat-list:empty::before { content: "قل شي للطاولة 👋"; color: #8C98B2; font-size: 12.5px; text-align: center; padding: 14px 0; }
.cm { align-self: flex-start; max-width: 86%; padding: 6px 10px; border-radius: 13px 13px 13px 4px; background: rgba(255, 255, 255, .08); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.cm b { display: block; font-size: 11px; font-weight: 600; color: #FFE3A0; }
.cm.me { align-self: flex-end; border-radius: 13px 13px 4px 13px; background: rgba(62, 130, 255, .26); }
.cm.me b { color: #A9C8FF; }
.chat-note { margin: 0; padding: 7px 10px; border-radius: 11px; background: rgba(226, 64, 47, .16); border: 1px solid rgba(226, 64, 47, .35); color: #FFD9D0; font-size: 12.5px; line-height: 1.5; }
.chat-note[hidden] { display: none; }
.chat-form { display: flex; gap: 6px; flex: none; }
.chat-form input { flex: 1; min-width: 0; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); color: #fff; border-radius: 12px; padding: 8px 11px; font: 16px "Readex Pro", sans-serif; -webkit-user-select: text; user-select: text; }
.chat-form .btn { flex: none; }
.pl .bub.chat { max-width: 170px; font-size: 12px; font-weight: 500; background: #EEF3FF; }
.ws .pl .av { pointer-events: auto; cursor: pointer; }
.pmenu { position: fixed; z-index: 47; width: min(290px, calc(100% - 16px)); max-height: calc(100% - 16px); overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px; padding: 12px; background: rgba(10, 16, 30, .98); color: #F4F7FF; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; box-shadow: 0 16px 40px rgba(0, 0, 0, .55); animation: fade .15s; }
.pm-head { display: flex; align-items: center; gap: 10px; }
.pm-av { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; }
.pm-av .pa { width: 100%; height: 100%; border-radius: 50%; display: block; }
.pm-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pm-t b { font-size: 14.5px; font-weight: 700; } .pm-card { font-size: 11.5px; color: #FFE3A0; }
.pm-card:empty { display: none; }
.pm-x { flex: none; width: 30px; height: 30px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 18px; line-height: 1; }
.pm-btns, .pm-why { display: flex; gap: 6px; flex-wrap: wrap; }
.pm-why small { width: 100%; font-size: 12px; color: #A9B6CF; }
.pm-why .btn { flex: 1 1 40%; color: #F4F7FF; border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); }
.pmenu .btn.ghost { color: #F4F7FF; border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); }
.drag-ghost { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; transform-origin: 50% 85%; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .55)); }
.drag-ghost .cd { display: block; width: 100%; height: 100%; }
#hand .hc.lifted { opacity: .35; }
#hand .hc { touch-action: none; }
.spot.near { transform: scale(1.35); box-shadow: 0 0 16px rgba(var(--ring-rgb), 1), inset 0 0 10px rgba(var(--ring-rgb), .5); }
#hand { position: absolute; z-index: 21; }
#hand .hc { position: absolute; left: 0; top: 0; border: 0; padding: 0; background: none; border-radius: 9px; touch-action: manipulation; transform-origin: 50% 100%; transition: transform .22s cubic-bezier(.2, .9, .3, 1.1); }
#hand .hc .cd { display: block; width: 100%; height: 100%; filter: drop-shadow(0 8px 14px var(--card-shadow)); transition: filter .18s; }
#hand.mine .hc.ok .cd { filter: drop-shadow(0 0 7px rgba(255, 214, 119, .55)) drop-shadow(0 8px 14px var(--card-shadow)); }
#hand.mine .hc:not(.ok) .cd { filter: brightness(.55) saturate(.7) drop-shadow(0 6px 10px var(--card-shadow)); }
#hand .hc.off .chip { opacity: .55; }
#hand .hc.sel { z-index: 30 !important; }
#hand .hc.sel .cd { filter: drop-shadow(0 0 13px rgba(255, 214, 119, .95)) drop-shadow(0 10px 14px var(--card-shadow)); }
#hand .hc.hinted .cd { animation: hintGlow 1s ease-in-out infinite; }
@keyframes hintGlow { 50% { filter: drop-shadow(0 0 20px rgba(255, 224, 138, 1)) drop-shadow(0 8px 12px var(--card-shadow)); } }
#hand.burning .hc .cd { filter: drop-shadow(0 0 10px rgba(255, 110, 40, .9)) drop-shadow(0 8px 14px var(--card-shadow)); animation: wsHeat 1.1s ease-in-out infinite; }
/* choosing which card to burn: the hand's glow flickers like heat */
@keyframes wsHeat { 50% { filter: drop-shadow(0 0 15px rgba(255, 140, 50, 1)) drop-shadow(0 8px 14px var(--card-shadow)); } }
@media (prefers-reduced-motion: reduce) { #hand.burning .hc .cd { animation: none; } .fc.burning { transform: rotate(var(--r, 0deg)); } .fc.burning .cd, .wb-aura { animation: none; } }
#hand .chip { position: absolute; left: 5%; bottom: 15%; white-space: nowrap; font-size: 10px; font-weight: 700; line-height: 1.4; padding: 2px 8px; border-radius: 9px; background: #0D1424; color: #FFE9B0; box-shadow: 0 2px 5px rgba(0, 0, 0, .35); }
#hand.tight .chip { left: 2%; font-size: 9px; padding: 2px 5px; }
.tray { position: absolute; left: var(--acts-x, 12px); bottom: calc(100% - var(--acts-top, 400px) + 6px); z-index: 40; width: min(320px, calc(100% - 24px)); display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 10px; background: rgba(10, 16, 30, .97); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; box-shadow: 0 14px 34px rgba(0, 0, 0, .55); animation: fade .15s; }
.tray button { border: 0; background: rgba(255, 255, 255, .07); border-radius: 12px; padding: 6px 0; font-size: 24px; line-height: 1.2; color: #fff; }
.tray button.ph { grid-column: span 2; font-size: 13px; font-weight: 600; padding: 9px 4px; }
.tray button:active { background: rgba(235, 198, 117, .3); }
.coach { position: fixed; transform: translateY(-50%); z-index: 45; padding: 11px 14px; border-radius: 15px; background: rgba(8, 12, 22, .95); color: #F4F7FF; font-size: 13.5px; line-height: 1.6; text-align: center; border: 1px solid rgba(235, 198, 117, .5); box-shadow: 0 12px 30px rgba(0, 0, 0, .55); pointer-events: none; animation: fade .25s; }
.coach b { color: #FFE3A0; }
.toast { position: absolute; left: var(--cx, 50%); top: calc(var(--center-top, 200px) - 4px); transform: translate(-50%, -40%); z-index: 35; max-width: min(calc(100% - 32px), calc(2 * var(--cx, 50vw) - 24px)); width: max-content; text-align: center; padding: 9px 15px; border-radius: 14px; font-size: 13.5px; font-weight: 600; line-height: 1.5; color: #F4F7FF; background: rgba(8, 12, 22, .95); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 10px 26px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.on { opacity: 1; transform: translate(-50%, -100%); }
.toast.warn { border-color: rgba(255, 90, 90, .7); background: rgba(52, 10, 16, .96); }
.banner { position: fixed; transform: translate(-50%, 0) scale(.7); z-index: 46; pointer-events: none; text-align: center; opacity: 0; transition: opacity .2s, transform .25s cubic-bezier(.2, 1.3, .4, 1); font: 800 40px/1.25 Alexandria, "Readex Pro", sans-serif; white-space: nowrap; color: #FFE3A0; text-shadow: 0 2px 0 rgba(0, 0, 0, .35), 0 0 24px rgba(0, 0, 0, .8); }
.banner.on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.banner.ours { color: #B8F5C8; } .banner.theirs { color: #FFB3BF; } .banner.dbl { color: #FFB089; }

/* ---------- effects ---------- */
#fx { position: fixed; inset: 0; pointer-events: none; z-index: 45; overflow: hidden; }
.fly { position: absolute; left: 0; top: 0; will-change: transform; }
.fly .flip, .fly .face { position: absolute; inset: 0; }
.fly svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); }
.burst { position: fixed; width: 0; height: 0; z-index: 60; pointer-events: none; }
.burst b { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: radial-gradient(circle, #FFF3B0, #FF8A1E 60%, #D93A08); }
.burst.big b { width: 8px; height: 8px; left: -4px; top: -4px; }
.burst::before { content: ""; position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 230, 150, .95), rgba(255, 120, 30, .6) 45%, rgba(255, 80, 10, 0) 72%); animation: burstO .5s ease-out both; }
@keyframes burstO { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.trail-fire { position: fixed; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; z-index: 58; pointer-events: none; background: radial-gradient(circle, rgba(255, 220, 120, .95), rgba(255, 100, 20, .55) 50%, rgba(255, 60, 0, 0) 74%); animation: burstO .6s ease-out both; }
.float-word { position: fixed; z-index: 61; transform: translate(-50%, -100%); font: 700 15px/1.2 Alexandria, "Readex Pro", sans-serif; color: #FFE3A0; text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 10px rgba(0, 0, 0, .8); white-space: nowrap; pointer-events: none; animation: floatUp 1.05s ease-out both; }
.float-word.good { color: #B8F5C8; } .float-word.bad { color: #FF9A8A; }
@keyframes floatUp { 0% { opacity: 0; margin-top: 6px; } 18% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; margin-top: -26px; } }
.confetti { position: absolute; top: -20px; width: 9px; height: 9px; border-radius: 2px; }

/* ---------- buttons and controls ---------- */
.btn { border: 1px solid transparent; border-radius: 15px; padding: 12px 18px; font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--ink); background: var(--glass); transition: transform .12s, filter .12s; }
.btn:active { transform: scale(.98); }
.btn.gold { background: linear-gradient(180deg, #FFEDBC, #E7BB62 55%, #C4923A); color: var(--on-gold); box-shadow: 0 6px 18px rgba(226, 180, 88, .28), inset 0 1px 0 rgba(255, 255, 255, .55); }
.t-day .btn.gold { box-shadow: 0 6px 16px rgba(170, 120, 40, .32), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn.big { font: 700 19px/1.2 Alexandria, "Readex Pro", sans-serif; padding: 14px 18px; }
.btn.ghost { background: var(--glass); border-color: var(--line); color: var(--ink); }
.btn.sm { flex: 1; font-size: 12.5px; padding: 8px 10px; border-radius: 12px; white-space: nowrap; text-align: center; text-decoration: none; }
.btn:disabled { cursor: default; opacity: .62; }
.btn.used, .btn.used:disabled { opacity: 1; background: none; border-color: var(--gold); color: var(--gold2); }
a.btn { display: block; text-align: center; text-decoration: none; }
.seg { display: flex; background: rgba(0, 0, 0, .28); border-radius: 13px; padding: 3px; gap: 3px; }
.t-day .seg { background: rgba(60, 50, 30, .09); }
.seg button { flex: 1; min-width: 0; border: 0; background: none; color: var(--muted); font-size: 13.5px; font-weight: 600; line-height: 1.2; padding: 8px 6px; border-radius: 10px; white-space: nowrap; transition: background .15s, color .15s; }
.seg button[aria-checked="true"] { background: linear-gradient(180deg, #FFE9B0, #DFB255); color: var(--on-gold); box-shadow: 0 2px 6px rgba(0, 0, 0, .28); }

/* ---------- the screens ---------- */
.screen { position: absolute; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: calc(16px + var(--safe-t)) 16px calc(16px + var(--safe-b)); overflow-y: auto; }
.screen.dim { background: var(--scrim); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .22s; }
.how-card, .pause-card, .over-card, .shop-card { width: min(440px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 20px 18px; color: var(--ink); background: var(--sheet); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); animation: cardIn .26s cubic-bezier(.2, .9, .3, 1.05); }
@keyframes cardIn { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.pause-card { width: min(340px, 100%); gap: 10px; }
.how-card h2, .over-card h2, .shop-head h2, .first-card h2 { margin: 0; font: 800 22px/1.3 Alexandria, "Readex Pro", sans-serif; color: var(--ink); text-align: center; text-wrap: balance; }
.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.shop-pts { font-size: 12.5px; font-weight: 700; line-height: 1.2; color: var(--on-gold); background: linear-gradient(180deg, #FFE9B0, #DFB255); padding: 5px 11px; border-radius: 11px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.shop-pts:empty { display: none; }
.shop-note { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.6; text-align: center; text-wrap: balance; }
/* the menu */
.menu-bg { position: fixed; left: 50%; top: 50%; width: max(150vmin, 620px); height: max(150vmin, 620px); margin: calc(max(150vmin, 620px) / -2) 0 0 calc(max(150vmin, 620px) / -2); background: center / cover no-repeat; opacity: .46; pointer-events: none; -webkit-mask-image: radial-gradient(closest-side, #000 22%, transparent 96%); mask-image: radial-gradient(closest-side, #000 22%, transparent 96%); }
.t-day .menu-bg { opacity: .5; }
.menu-in { position: relative; width: min(420px, 100%); display: flex; flex-direction: column; align-items: center; gap: 14px; margin: auto 0; }
.logo { display: flex; flex-direction: column; align-items: center; }
.ws-fan { display: flex; justify-content: center; gap: 9px; height: 34px; align-items: center; margin-bottom: 2px; }
.mb.lg { position: relative; left: auto; top: auto; margin: 0; width: 30px; height: 30px; flex: none; box-shadow: 0 5px 10px rgba(0, 0, 0, .5); animation: lgIn .6s cubic-bezier(.2, 1.4, .4, 1) both; animation-delay: calc(var(--i) * 90ms); }
@keyframes lgIn { from { transform: translateY(-34px) scale(.5); opacity: 0; } }
.logo h1 { margin: 0; font-size: 58px; line-height: 1.32; padding: 0 6px; filter: drop-shadow(0 3px 12px rgba(0, 0, 0, .45)); }
.t-day .logo h1 { filter: none; }
.tagline { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; text-align: center; text-wrap: balance; }
.menu-card { width: 100%; display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 22px; background: var(--sheet); border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(0, 0, 0, .35); }
.t-day .menu-card { box-shadow: 0 18px 44px rgba(60, 50, 30, .16); }
.opt { display: flex; flex-direction: column; gap: 6px; }
.opt-t { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.online-btn, .friends-btn { display: flex; align-items: center; justify-content: center; gap: 9px; }
.online-btn .dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #128A4B; animation: livePulse 1.6s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(18, 138, 75, .55); } 100% { box-shadow: 0 0 0 9px rgba(18, 138, 75, 0); } }
.friends-btn { font-size: 16px; padding: 12px 18px; }
.friends-btn svg, .practice .btn svg { flex: none; width: 19px; height: 19px; fill: none; stroke: var(--gold); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.practice { display: flex; align-items: center; gap: 7px; }
.practice .btn { flex: none; display: flex; align-items: center; gap: 6px; padding: 9px 10px; font-size: 13px; white-space: nowrap; }
.practice .seg { flex: 1; min-width: 0; }
.practice .seg button { padding: 7px 2px; font-size: 12.5px; }
.live-strip { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 10px; border-radius: 13px; border: 1px solid rgba(255, 90, 90, .55); background: rgba(255, 60, 80, .1); color: var(--ink); text-align: start; }
.ls-av { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; }
.ls-av .ini, .ss-av .ini, .rs-av .ini { display: grid; place-items: center; width: 100%; height: 100%; color: #0B1220; font-weight: 800; }
.ls-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ls-t b { font-size: 13px; font-weight: 600; } .ls-t small { font-size: 11px; color: var(--muted); }
.ls-go { flex: none; font-size: 12px; font-weight: 700; color: #FF8A7A; }
.t-day .ls-go { color: #C81E3A; }
.resume-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 13px; border-radius: 15px; border: 1px solid rgba(125, 242, 176, .45); background: rgba(70, 200, 130, .12); color: var(--ink); text-align: start; }
.rs-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rs-t b { font: 700 15px/1.3 Alexandria, "Readex Pro", sans-serif; } .rs-t small { font-size: 11.5px; color: var(--muted); }
.rs-go { flex: none; font-size: 18px; color: #3FCF8E; }
.nudge { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 8px 7px 10px; border-radius: 13px; border: 1px solid rgba(62, 130, 255, .45); background: rgba(62, 130, 255, .1); }
.nudge .btn { flex: none; }
.nudge-x { flex: none; width: 28px; height: 28px; border: 0; border-radius: 9px; background: var(--glass); color: var(--muted); font-size: 16px; line-height: 1; }
.over-rated { margin: -4px 0 0; text-align: center; font-size: 13.5px; color: var(--muted); }
.over-rated b { font: 800 17px Alexandria, "Readex Pro", sans-serif; color: var(--ink); }
.over-rated span { font-weight: 700; } .over-rated.up span { color: #3FCF8E; } .over-rated.dn span { color: #FF6B7D; }
.over-rated .rank-badge { width: 22px; height: 22px; vertical-align: -6px; margin-inline-end: 4px; }
.over-rated em { font-style: normal; font-weight: 800; color: var(--gold2); }
.auto1 { margin-top: 2px; }
.auto1 .rule-t b { font-size: 13px; }
.menu-foot { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.snd-row { display: flex; gap: 6px; }
.pause-card .snd-row { justify-content: center; margin-top: 2px; }
.snd-row .ic { width: 34px; height: 34px; border-radius: 11px; }
.snd-row .ic svg { width: 17px; height: 17px; }
.ic .off { display: none; }
.ic[aria-pressed="false"] { color: var(--dim); }
.ic[aria-pressed="false"] .off { display: inline; } .ic[aria-pressed="false"] .on { display: none; }
.menu-note { margin: 0; text-align: center; font-size: 12px; line-height: 1.4; color: var(--dim); }
.menu-row { width: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 5px; min-width: 0; padding: 9px 2px 7px; border: 1px solid var(--line); border-radius: 15px; background: var(--glass); font-size: 10.5px; font-weight: 600; line-height: 1.25; color: var(--ink); text-align: center; }
.tile:active { background: var(--glass2); }
.tile svg { width: 21px; height: 21px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile em { position: absolute; top: 4px; left: 6px; min-width: 15px; height: 15px; border-radius: 8px; background: #E2B458; color: #2A1A06; font-size: 10px; font-style: normal; font-weight: 700; line-height: 15px; text-align: center; }
.back-site { color: var(--dim); font-size: 12.5px; text-decoration: none; padding: 2px 10px; }
/* house rules, sounds: rows with a switch */
.rules-list { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; min-height: 0; }
.rule-row { width: 100%; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 13px; border: 1px solid var(--line); background: var(--row); color: var(--ink); text-align: start; }
.rule-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rule-t b { font-size: 14px; font-weight: 600; } .rule-t small { font-size: 12px; color: var(--muted); line-height: 1.45; }
.sw { flex: none; position: relative; width: 42px; height: 24px; border-radius: 12px; background: var(--glass2); transition: background .15s; }
.t-day .sw { background: rgba(60, 50, 30, .18); }
.sw::after { content: ""; position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .15s; }
.rule-row[aria-checked="true"] .sw { background: linear-gradient(180deg, #F2CE7C, #D9A847); }
.rule-row[aria-checked="true"] .sw::after { transform: translateX(-18px); }
/* the store */
.shop-tabs { flex: none; }
.shop-tabs button[aria-selected="true"] { background: linear-gradient(180deg, #FFE9B0, #DFB255); color: var(--on-gold); box-shadow: 0 2px 6px rgba(0, 0, 0, .28); }
.shop-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; overflow-y: auto; min-height: 0; flex: 1 1 auto; padding: 2px; }
.shop-item { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding: 7px; border-radius: 15px; background: var(--row); border: 1.5px solid var(--line); }
.shop-item.on { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 14px rgba(226, 180, 88, .25); }
.si-prev { aspect-ratio: 1.3; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: rgba(0, 0, 0, .2); }
.t-day .si-prev { background: rgba(60, 50, 30, .1); }
.si-prev img { display: block; width: 100%; height: 100%; object-fit: cover; }
.si-t { font-size: 13px; font-weight: 600; line-height: 1.25; text-align: center; }
.si-act { display: flex; gap: 5px; }
.si-act .btn { padding: 8px 4px; }
.mb-row { display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; padding: 0 6px; }
.mb.still { position: relative; left: auto; top: auto; margin: 0; flex: 0 1 27px; min-width: 0; width: auto; height: auto; aspect-ratio: 1; will-change: auto; }
.look-cards { display: flex; justify-content: center; gap: 4px; }
.look-cards span { display: block; width: 44px; height: 66px; }
.look-cards span:first-child { transform: rotate(4deg); } .look-cards span:last-child { transform: rotate(-4deg); }
.look-cards .cd { display: block; width: 100%; height: 100%; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .35)); }
/* the first time */
.first-card { align-items: center; text-align: center; }
.first-card p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; text-wrap: balance; }
.first-card .btn { align-self: stretch; }
.first-av { width: 92px; height: 92px; }
.first-av .pa { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 3px var(--gold), 0 0 26px rgba(226, 180, 88, .45); }
/* looking for a table */
.search-card { align-items: center; text-align: center; }
.search-card .btn { align-self: stretch; }
.search-count { position: relative; width: 66px; height: 66px; }
.search-count svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.search-count circle { fill: none; stroke: var(--line); stroke-width: 3; }
.search-count #searchRing { stroke: var(--gold); stroke-dasharray: 119.4; stroke-linecap: round; transition: stroke-dashoffset .2s linear; }
.search-count b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 19px/1 Alexandria, "Readex Pro", sans-serif; }
.search-card.local .search-count, .search-card.local .search-slots { display: none; }
.search-slots { display: flex; justify-content: center; gap: 10px; }
.ss { width: 56px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; line-height: 1.2; }
.ss b { width: 100%; text-align: center; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-av { position: relative; display: block; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--gold); }
.ss.wait { height: 44px; width: 44px; margin: 0 6px; display: grid; place-items: center; border: 1.5px dashed var(--line); border-radius: 50%; color: var(--dim); font-size: 14px; }
/* a friends' table */
.room-card { width: min(460px, 100%); }
/* (its frame — the ticket, «أصدقاؤك الحين», a friend's code, sharing, the foot — is the three games' /tables/lobby.css) */
.room-card.lb { width: min(560px, 100%); }
.lb .room-table { width: min(400px, 100%); }
@media (min-width: 880px) { .lb .room-table { width: min(470px, 100%); } .lb .rt-seat { width: 96px; font-size: 12px; } .lb .rs-av { width: 36px; height: 36px; } }
.lb-set { display: flex; flex-direction: column; gap: 10px; }
.lb-set .opt { margin: 0; }
.t-day .lb { --lb-box: rgba(30, 40, 60, .035); --lb-row: rgba(30, 40, 60, .055); --lb-field: #FFFFFF; --lb-on-gold: #2A1A06; }
.t-day .lb .lb-dot { border-color: #FFFDF9; }
.room-body { display: flex; flex-direction: column; gap: 10px; overflow-y: auto; min-height: 0; flex: 1 1 auto; padding: 2px; }
.room-table { position: relative; flex: none; width: min(272px, 100%); aspect-ratio: 1; margin: 0 auto; border-radius: 18px; background: #0F1C33 center / cover no-repeat; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); }
#rtSeats { position: absolute; inset: 0; }
.rt-seat { position: absolute; width: 84px; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 3px 5px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 13px; background: rgba(8, 12, 22, .86); color: #fff; font-size: 11px; line-height: 1.2; }
.rt-0 { left: 50%; top: 82%; } .rt-1 { left: 19%; top: 50%; } .rt-2 { left: 50%; top: 18%; } .rt-3 { left: 81%; top: 50%; }
.rt-role { min-height: 11px; font-size: 9.5px; font-style: normal; color: #FFE3A0; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.rs-av { position: relative; display: block; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .3); }
.rs-av.empty { display: grid; place-items: center; box-shadow: none; border: 1.5px dashed rgba(255, 255, 255, .4); font-size: 17px; line-height: 1; }
.rt-seat.ok .rs-av { box-shadow: 0 0 0 2px #7DF2B0; }
.rt-seat.off { opacity: .6; }
.rt-seat b { font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-seat small { font-size: 9.5px; opacity: .78; white-space: nowrap; }
.room-opts { display: flex; flex-direction: column; gap: 8px; }
.room-house { display: flex; flex-wrap: wrap; gap: 6px; }
.hchip { border: 1px solid var(--line); background: var(--row); color: var(--ink); border-radius: 11px; padding: 6px 9px; font-size: 11.5px; font-weight: 600; line-height: 1.2; }
.hchip.on { background: linear-gradient(180deg, #FFE9B0, #DFB255); color: var(--on-gold); border-color: transparent; }
.room-link { display: flex; gap: 6px; }
.room-link input { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--row); color: var(--ink); border-radius: 11px; padding: 8px 10px; font: 12px "Readex Pro", sans-serif; direction: ltr; -webkit-user-select: all; user-select: all; }
.room-link .btn { flex: none; }
.room-h { margin: 2px 0 0; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.room-friends { display: flex; flex-direction: column; gap: 6px; }
.rf { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 12px; background: var(--row); }
.rf .ini { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #0B1220; font-weight: 700; }
.rf-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.rf-t b { font-size: 13px; font-weight: 600; } .rf-t small { font-size: 11px; color: var(--dim); } .rf-t small.on { color: #3FCF8E; }
.rf .btn { flex: none; }
/* how to play */
.how-body { overflow-y: auto; min-height: 0; font-size: 13.5px; line-height: 1.7; color: var(--ink); padding-inline-end: 4px; -webkit-user-select: text; user-select: text; }
.how-body p { margin: 0 0 8px; }
.how-body p b { color: var(--gold2); }
.how-t { width: 100%; border-collapse: separate; border-spacing: 0 5px; margin: 2px 0 8px; }
.how-t thead { display: none; }
.how-t th { width: 94px; padding: 4px 8px; text-align: start; font-weight: 600; font-size: 13px; vertical-align: middle; background: var(--row); border-radius: 0 11px 11px 0; white-space: nowrap; }
.how-t th .mini { display: inline-block; width: 26px; height: 39px; vertical-align: middle; margin-inline-end: 7px; }
.how-t th .mini .cd { display: block; width: 100%; height: 100%; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.how-t td { padding: 4px 10px; font-size: 13px; line-height: 1.5; color: var(--muted); vertical-align: middle; background: var(--row); border-radius: 11px 0 0 11px; }
.how-btns, .over-btns { display: flex; flex-direction: column; gap: 8px; flex: none; }
/* the end */
.over-mbs { display: flex; justify-content: center; gap: 8px; height: 30px; align-items: center; }
.over-sub { margin: -6px 0 0; color: var(--muted); font-size: 13.5px; text-align: center; line-height: 1.6; text-wrap: balance; }
.res { width: 100%; border-collapse: separate; border-spacing: 0 4px; font-variant-numeric: tabular-nums; }
.res th, .res td { padding: 6px 10px; text-align: center; }
.res thead th { color: var(--gold2); font-size: 13.5px; font-weight: 700; padding: 0 10px; }
.res tbody th { text-align: start; color: var(--muted); font-weight: 500; font-size: 13px; }
.res tbody td { background: var(--row); font-weight: 600; font-size: 14px; }
.res tbody td:first-of-type { border-radius: 0 10px 10px 0; } .res tbody td:last-of-type { border-radius: 10px 0 0 10px; }
.res-note { margin: 0; text-align: center; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
/* your numbers */
.stats-body { overflow-y: auto; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.st-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.st { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 11px 4px; border-radius: 14px; background: var(--row); border: 1px solid var(--line); }
.st b { font: 800 21px/1.2 Alexandria, "Readex Pro", sans-serif; color: var(--gold2); } .st small { font-size: 11px; line-height: 1.3; color: var(--muted); text-align: center; }
/* your record */
.pf-head { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--tc) 22%, transparent), transparent 70%), var(--row); border: 1px solid color-mix(in srgb, var(--tc) 45%, transparent); }
.pf-av { position: relative; flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2.5px var(--tc), 0 0 18px color-mix(in srgb, var(--tc) 55%, transparent); }
.pf-av .pa { width: 100%; height: 100%; border-radius: 50%; display: block; }
.pf-id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pf-name { font: 700 16px/1.3 Alexandria, "Readex Pro", sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-tier { align-self: flex-start; font-size: 11.5px; font-weight: 700; padding: 2px 10px; border-radius: 9px; color: #120E06; background: var(--tc); }
.pf-rate { flex: none; display: flex; flex-direction: column; align-items: center; }
.pf-rate b { font: 800 30px/1.1 Alexandria, "Readex Pro", sans-serif; color: var(--tc); font-variant-numeric: tabular-nums; }
.pf-rate small { font-size: 11px; color: var(--muted); }
.pf-chart { position: relative; height: 120px; border-radius: 16px; background: var(--row); overflow: hidden; flex: none; }
.pf-chart svg { display: block; width: 100%; height: 100%; }
.pf-chart.empty { display: grid; place-items: center; padding: 0 20px; font-size: 12.5px; color: var(--muted); text-align: center; }
.pf-hi, .pf-lo { position: absolute; right: 8px; font-size: 10.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.pf-hi { top: 5px; } .pf-lo { bottom: 5px; }
.pf-tiers { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; width: 100%; padding: 8px 6px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); color: inherit; font: inherit; }
.pf-tiers span { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; padding: 4px 0; border-radius: 10px; opacity: .55; }
.pf-tiers span .rank-badge { width: 30px; height: 30px; }
.pf-tiers span i { font-style: normal; font-size: 9.5px; font-weight: 700; color: var(--dim); white-space: nowrap; }
.pf-tiers span.on { opacity: 1; background: color-mix(in srgb, var(--tc) 22%, transparent); box-shadow: inset 0 0 0 1.5px var(--tc); }
.pf-tiers span.on i { color: var(--ink); }
.pf-tier { display: inline-flex; align-items: center; gap: 4px; }
.pf-tier .rank-badge { width: 18px; height: 18px; margin-inline-start: -4px; }
.pf-h { margin: 4px 0 0; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.pf-list { display: flex; flex-direction: column; gap: 6px; }
.pf-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 13px; background: var(--row); }
.pf-rt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pf-rt b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pf-rt small { font-size: 11px; color: var(--dim); }
.pf-res { flex: none; min-width: 52px; text-align: center; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 9px; }
.pf-res.w { background: rgba(63, 207, 142, .16); color: #3FCF8E; } .pf-res.l { background: rgba(255, 107, 125, .14); color: #FF6B7D; }
.pf-d { flex: none; font: 700 13px Alexandria, "Readex Pro", sans-serif; font-variant-numeric: tabular-nums; } .pf-d.up { color: #3FCF8E; } .pf-d.dn { color: #FF6B7D; }
.t-day .pf-tier, .t-day .pf-tiers span.on { color: #1C2333; }
/* loading, and a phone on its side */
.loading { position: absolute; inset: 0; z-index: 100; background: #0A1120; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; transition: opacity .4s; }
.loading b { font-size: 52px; line-height: 1.35; }
.loading span { color: #A9B6CF; font-size: 13.5px; }
.loading.out { opacity: 0; pointer-events: none; }
.rotate { display: none; }
@media (orientation: landscape) and (max-height: 500px) and (pointer: coarse) {
  .rotate { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; text-align: center; background: #0A1120; }
  .rotate b { font: 800 24px/1.3 Alexandria, "Readex Pro", sans-serif; color: #FFE3A0; }
  .rotate span { font-size: 14px; color: #A9B6CF; }
  .rot-phone { position: relative; width: 44px; height: 76px; margin-bottom: 14px; border: 3px solid #FFE3A0; border-radius: 10px; animation: rotPhone 2.4s ease-in-out infinite; }
  .rot-phone::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 14px; height: 3px; margin-left: -7px; border-radius: 2px; background: #FFE3A0; }
}
@keyframes rotPhone { 0%, 20% { transform: rotate(-90deg); } 55%, 100% { transform: rotate(0); } }
/* small screens: keep the menu on one page */
@media (max-height: 600px) {
  .menu-in { gap: 10px; }
  .logo h1 { font-size: 46px; }
  .ws-fan { height: 26px; } .mb.lg { width: 24px; height: 24px; }
  .menu-card { padding: 12px; gap: 9px; }
  .tile { padding: 7px 2px 5px; }
}
@media (max-width: 350px) { .tile { font-size: 9.5px; } .seg button { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .online-btn .dot, .mb.pick, #hand .hc.hinted .cd, .rot-phone, .mb.lg { animation: none; } .banner { transition: none; } }

/* ---------- what the table sees of a player (the store's pieces; effects.js draws the moving ones) ---------- */
.wfx { position: fixed; z-index: 62; pointer-events: none; transform: translate(-50%, -50%); display: block; line-height: 0; will-change: transform, opacity; }
.wfx svg { display: block; overflow: visible; }
.e-ring { border-radius: 50%; border: 3px solid #FFE08A; box-shadow: 0 0 18px rgba(255, 210, 110, .8), inset 0 0 12px rgba(255, 210, 110, .6); }
.e-glow, .w-glow { border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 140, .55), rgba(255, 170, 80, .18) 45%, transparent 70%); }
.e-smoke { border-radius: 50%; background: radial-gradient(circle, rgba(245, 240, 232, .6), rgba(230, 222, 210, .22) 55%, transparent 72%); filter: blur(2px); }
.e-flash { border-radius: 50%; mix-blend-mode: screen; }
.e-spark { width: 6px; height: 6px; border-radius: 50%; }
.e-spark.big { width: 8px; height: 8px; }
.e-feather { width: 7px; height: 14px; border-radius: 60% 60% 50% 50% / 80% 80% 20% 20%; background: linear-gradient(#8A5A2B, #3A220E); }
.e-falcon svg, .w-falcon svg { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); transform-origin: center; }
.e-sword svg, .w-sword svg { filter: drop-shadow(0 0 8px rgba(255, 230, 160, .55)); }
.t-spark { width: 5px; height: 5px; border-radius: 50%; background: #FFF4C2; box-shadow: 0 0 6px #FFC64A; }
.t-fire { border-radius: 50%; background: radial-gradient(circle, rgba(255, 220, 120, .95), rgba(255, 100, 20, .55) 50%, rgba(255, 60, 0, 0) 74%); mix-blend-mode: screen; }
.t-gold { width: 4px; height: 4px; border-radius: 50%; background: radial-gradient(circle, #FFF6CF, #F2C24E 60%, #A86E12); box-shadow: 0 0 5px rgba(255, 200, 80, .8); }
.t-gold.big { width: 7px; height: 7px; }
.x-blue { width: 5px; height: 5px; border-radius: 50%; background: #E8F6FF; box-shadow: 0 0 8px #6FC0FF; }
.x-frost { border-radius: 50%; border: 2px solid rgba(220, 245, 255, .9); background: radial-gradient(circle, rgba(200, 240, 255, .35), rgba(120, 200, 255, .12) 60%, transparent 72%); box-shadow: 0 0 16px rgba(150, 220, 255, .8); }
.x-flake { color: #E8F8FF; text-shadow: 0 0 10px #7FD0FF; line-height: 1; }
.x-shard { width: 6px; height: 14px; background: linear-gradient(#FFFFFF, #8FD8FF); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.x-dust { border-radius: 50%; background: radial-gradient(circle, rgba(222, 190, 135, .65), rgba(200, 160, 100, .25) 55%, transparent 72%); filter: blur(1.5px); }
.x-sand { width: 4px; height: 4px; border-radius: 50%; background: #E2C089; }
.x-wave { border-radius: 50%; border: 3px solid rgba(255, 255, 255, .95); box-shadow: 0 0 14px rgba(255, 255, 255, .6); }
.x-wave.hot { border-color: rgba(255, 150, 60, .95); box-shadow: 0 0 18px rgba(255, 120, 40, .8); }
.x-debris { width: 6px; height: 6px; background: #3A2A20; border-radius: 1px; box-shadow: 0 0 4px rgba(255, 120, 40, .7); }
.x-bolt svg { filter: drop-shadow(0 0 10px #9FD8FF); }
.w-coin svg { filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.w-rise { width: 4px; height: 14px; border-radius: 2px; }
.w-word { font: 800 clamp(22px, 6vw, 40px)/1.2 Alexandria, "Readex Pro", sans-serif; color: #FFE08A; text-shadow: 0 2px 0 #7A4C0E, 0 0 20px rgba(255, 200, 90, .8); white-space: nowrap; }
.g-gift svg { filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .45)); }
.g-petal { width: 9px; height: 7px; border-radius: 60% 40% 60% 40%; }
.g-drop { width: 6px; height: 6px; border-radius: 50%; }
.g-spark { width: 5px; height: 5px; border-radius: 50%; box-shadow: 0 0 6px #fff; }
.g-pour { width: 3px; border-radius: 2px; background: linear-gradient(#C08A4A, #8A5A2B); transform-origin: top; }
.g-rays { border-radius: 50%; background: repeating-conic-gradient(rgba(180, 245, 255, .55) 0 8deg, transparent 8deg 30deg); -webkit-mask: radial-gradient(circle, #000 20%, transparent 70%); mask: radial-gradient(circle, #000 20%, transparent 70%); }
/* a frame round a player's picture */
.av .frm { position: absolute; inset: -6px; border-radius: 50%; pointer-events: none; z-index: 1; }
.frm::before { content: ""; position: absolute; inset: 0; border-radius: 50%; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4.5px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4.5px), #000 calc(100% - 4px)); }
.fr-gold .frm::before { background: conic-gradient(#FFF3C4, #E8B84A, #9A6A18, #F6D27A, #B8862B, #FFF3C4); }
.fr-gold .frm { filter: drop-shadow(0 0 5px rgba(255, 200, 90, .55)); }
.fr-emerald .frm::before { background: conic-gradient(#D9B45A, #0E7A55, #42D69B, #0A4F38, #D9B45A, #19A36F, #D9B45A); animation: frSpin 7s linear infinite; }
.fr-emerald .frm { filter: drop-shadow(0 0 5px rgba(60, 220, 150, .5)); }
.fr-flame .frm::before { background: conic-gradient(#FFE08A, #FF7A1A, #D93A08, #FFB43A, #FF4D1A, #FFE08A); animation: frSpin 3s linear infinite; }
.fr-flame .frm { animation: frFlick 1.1s ease-in-out infinite alternate; }
.fr-neon .frm::before { background: #9FFFF3; }
.fr-neon .frm { animation: frNeon 1.6s ease-in-out infinite; }
.fr-royal .frm::before { background: conic-gradient(#E8B84A, #3B1E6E, #7A4FD0, #E8B84A, #3B1E6E, #E8B84A); }
.fr-dunes .frm::before { background: conic-gradient(#F4C46A, #8A5523, #E9A85A, #FFE3A0, #A8692C, #F4C46A); }
.fr-dunes .frm { filter: drop-shadow(0 0 6px rgba(244, 176, 90, .6)); }
.fr-royal .frm { filter: drop-shadow(0 0 5px rgba(160, 110, 255, .55)); }
.fr-royal .frm::after { content: ""; position: absolute; left: 50%; top: -36%; width: 54%; height: 40%; transform: translateX(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 40'%3E%3Cpath d='M4 14l12 9 16-19 16 19 12-9-5 24H9z' fill='%23F0BE3C' stroke='%237A4C0E' stroke-width='2.4' stroke-linejoin='round'/%3E%3Ccircle cx='32' cy='28' r='3.6' fill='%23E0284D'/%3E%3Ccircle cx='19' cy='30' r='2.6' fill='%237A4FD0'/%3E%3Ccircle cx='45' cy='30' r='2.6' fill='%237A4FD0'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.fr-galaxy .frm::before { background: conic-gradient(#1B1F5E, #6A3FD6, #E44FB0, #3E82FF, #1B1F5E); animation: frSpin 5s linear infinite; }
.fr-galaxy .frm::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: radial-gradient(1.6px 1.6px at 20% 30%, #fff, transparent), radial-gradient(1.6px 1.6px at 75% 18%, #fff, transparent), radial-gradient(1.3px 1.3px at 88% 70%, #fff, transparent), radial-gradient(1.3px 1.3px at 28% 86%, #fff, transparent), radial-gradient(1.1px 1.1px at 55% 4%, #fff, transparent); animation: frTwinkle 2.2s ease-in-out infinite alternate; }
.fr-galaxy .frm { filter: drop-shadow(0 0 6px rgba(120, 90, 255, .55)); }
@keyframes frSpin { to { transform: rotate(360deg); } }
@keyframes frFlick { from { filter: drop-shadow(0 0 4px rgba(255, 120, 30, .7)); } to { filter: drop-shadow(0 0 10px rgba(255, 80, 10, .95)); } }
@keyframes frNeon { 0%, 100% { filter: drop-shadow(0 0 3px #19E3CC) drop-shadow(0 0 8px #19E3CC); } 50% { filter: drop-shadow(0 0 6px #19E3CC) drop-shadow(0 0 16px #19E3CC); } }
@keyframes frTwinkle { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .frm, .frm::before, .frm::after { animation: none !important; } }
/* your name carved on your board */
.engrave { position: absolute; z-index: 2; transform: translate(-50%, -50%); pointer-events: none; display: flex; align-items: center; gap: .45em; white-space: nowrap;
  font: 800 var(--eg, 15px)/1 Alexandria, "Readex Pro", sans-serif; color: rgba(238, 196, 106, .9);
  text-shadow: 0 1px 0 rgba(255, 244, 210, .3), 0 -1px 0 rgba(0, 0, 0, .8), 0 0 10px rgba(255, 190, 80, .22); }
.engrave::before, .engrave::after { content: ""; width: 1.1em; height: 1px; background: linear-gradient(90deg, transparent, rgba(238, 196, 106, .85), transparent); box-shadow: 0 1px 0 rgba(0, 0, 0, .5); }
.t-day .engrave { color: rgba(92, 60, 20, .82); text-shadow: 0 1px 0 rgba(255, 255, 255, .6), 0 -1px 0 rgba(0, 0, 0, .3); }

/* the store: its sections, the pieces that play when tapped, a present for a friend, the wooden board on its way */
.shop-tabs { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop-tabs button { padding-inline: 4px; white-space: nowrap; }
@media (max-width: 520px) { .shop-tabs button { font-size: 13px; } }
.si-head { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 2px; padding: 6px 2px 0; }
.si-head:first-child { padding-top: 0; }
.si-head b { font: 700 14px/1.3 Alexandria, "Readex Pro", sans-serif; color: var(--ink); }
.si-head small { font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.si-prev { position: relative; }
.si-prev.plays { cursor: pointer; }
.si-prev.plays:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.si-play { position: absolute; left: 6px; bottom: 6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; color: #0B1220; background: rgba(255, 233, 176, .92); box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.si-prev svg { display: block; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4)); }
.pl.prev { position: relative; display: grid; place-items: center; --av: 52px; width: auto; min-width: 0; transform: none; }
.pl.prev .av { display: block; }
.win-ic { font-size: 40px; line-height: 1; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4)); }
.eg-prev { position: relative; width: 100%; height: 100%; display: block; background-repeat: no-repeat; background-size: 250%; background-position: 60% 96%; }
.eg-prev .engrave { left: 69%; top: 67%; --eg: 14px; }
.wood-prev { perspective: 260px; background: radial-gradient(120% 90% at 50% 20%, #5A3A22, #1E120A); }
.wood-prev img { width: 76% !important; height: auto !important; aspect-ratio: 1; transform: rotateX(38deg) translateY(4%); border-radius: 8px; box-shadow: 0 18px 22px rgba(0, 0, 0, .55); }
.wood-prev .mb { position: absolute; width: 13px; height: 13px; }
.wood-prev .mb.c0 { left: 18%; bottom: 14%; } .wood-prev .mb.c1 { left: 27%; bottom: 10%; } .wood-prev .mb.c2 { right: 18%; bottom: 13%; }
.shop-item.wood { grid-column: 1 / -1; }
.soon-pill { display: inline-block; vertical-align: middle; margin-inline-start: 6px; padding: 2px 8px; border-radius: 9px; font: 700 11px/1.4 "Readex Pro", sans-serif; color: #0B1220; background: linear-gradient(180deg, #FFE9B0, #DFB255); }
.si-sub { font-size: 12px; line-height: 1.55; color: var(--muted); }
.si-act { display: flex; gap: 6px; align-items: center; }
.si-act .btn { flex: 1 1 auto; }
.si-act .si-give { flex: none; width: 36px; padding-inline: 0; }
.give { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 16px; background: rgba(5, 9, 18, .72); border-radius: inherit; }
.give[hidden] { display: none; }
.give-in { width: min(100%, 360px); max-height: 80%; display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 16px; background: var(--sheet); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.give-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.give-h b { font: 700 15px/1.35 Alexandria, "Readex Pro", sans-serif; color: var(--ink); }
.give-list { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; min-height: 0; }
.gv-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 12px; background: var(--row); }
.gv-row b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.gv-av { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #0B1220; font-weight: 800; }
.shop-card { position: relative; }
#fxTop { position: fixed; inset: 0; z-index: 200; pointer-events: none; overflow: hidden; }
.x-fire { border-radius: 50%; background: radial-gradient(circle, rgba(255, 230, 150, .95), rgba(255, 120, 30, .6) 45%, rgba(255, 80, 10, 0) 72%); mix-blend-mode: screen; }
.x-ember { width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle, #FFF3B0, #FF8A1E 60%, #D93A08); }
.w-conf { width: 9px; height: 9px; border-radius: 2px; }
/* the gifts on a player's card */
.pm-gifts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 2px 0; }
.pm-gift { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; padding: 0; background: var(--row); border: 1px solid var(--line); cursor: pointer; }
.pm-gift:active { transform: scale(.94); }
.pm-gift svg { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); }
.pm-gift.more { font: 700 20px/1 "Readex Pro", sans-serif; color: var(--gold); }
/* voice notes at a friends' table */
.vn-btn { touch-action: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.vn-btn.rec { background: #E5484D !important; border-color: #FF8A8E !important; animation: vnPulse 1s ease-in-out infinite; }
.vn-btn.rec svg { stroke: #fff; }
@keyframes vnPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .55); } 50% { box-shadow: 0 0 0 10px rgba(229, 72, 77, 0); } }
.vn-rec { position: fixed; left: 50%; bottom: calc(var(--safe-b, 0px) + 160px); transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 24px); padding: 10px 16px; border-radius: 999px; background: rgba(10, 16, 30, .95); border: 1px solid rgba(255, 255, 255, .14); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.vn-rec[hidden] { display: none; }
.vn-rec b { font: 700 16px/1 Alexandria, "Readex Pro", sans-serif; font-variant-numeric: tabular-nums; }
.vn-rec small { font-size: 11.5px; line-height: 1.4; color: #B9C4D8; }
.vn-rec.off { background: rgba(90, 22, 28, .96); }
.vn-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #FF4D5E; animation: vnBlink 1s steps(2) infinite; }
@keyframes vnBlink { 50% { opacity: .2; } }
.vn-chip, .vn-bub { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(62, 130, 255, .18); color: inherit; font: 600 12.5px "Readex Pro", sans-serif; font-variant-numeric: tabular-nums; cursor: pointer; }
.pl .bub.voice { pointer-events: auto; padding: 3px; background: transparent; box-shadow: none; }
.vn-bub { background: #2B6CF0; color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
/* the players' pictures come alive: breathing, a hop when it's their turn, joy, a flinch, a win */
.pl .pa { transform-origin: 50% 85%; animation: avBreathe 3.8s ease-in-out infinite; animation-delay: var(--d, 0s); }
.pl .pa.real .av2-in { transform-origin: 50% 92%; animation: avSway 5.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
.pl.turn .pa { animation: avTurn 1.3s ease-in-out infinite; }
.pl.m-joy .pa { animation: avJoy .55s cubic-bezier(.3, 1.6, .5, 1) 2; }
.pl.m-ouch .pa { animation: avOuch .5s ease-in-out 2; }
.pl.m-win .pa { animation: avWin .8s cubic-bezier(.3, 1.6, .5, 1) 3; }
@keyframes avBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.022, 1.035); } }
@keyframes avSway { 0%, 100% { transform: rotate(0deg) translateY(0); } 30% { transform: rotate(-1.6deg) translateY(-1.2%); } 70% { transform: rotate(1.6deg) translateY(.6%); } }
@keyframes avTurn { 0%, 100% { transform: translateY(0) scale(1); } 45% { transform: translateY(-7%) scale(1.04); } }
@keyframes avJoy { 0%, 100% { transform: translateY(0) scale(1); } 40% { transform: translateY(-16%) scale(1.08) rotate(-4deg); } 70% { transform: translateY(0) scale(1.02, .96); } }
@keyframes avOuch { 0%, 100% { transform: translateX(0) rotate(0deg); } 20% { transform: translateX(-7%) rotate(-6deg); } 40% { transform: translateX(6%) rotate(5deg); } 60% { transform: translateX(-4%) rotate(-3deg); } 80% { transform: translateX(2%) rotate(1deg); } }
@keyframes avWin { 0%, 100% { transform: translateY(0) scale(1) rotate(0deg); } 35% { transform: translateY(-22%) scale(1.12) rotate(6deg); } 65% { transform: translateY(-8%) scale(1.06) rotate(-4deg); } }
.pl.m-ouch .pa { filter: saturate(.6) brightness(.9); }
@media (prefers-reduced-motion: reduce) { .pl .pa, .pl .pa.real .av2-in { animation: none !important; } }
/* the live voice inside the game (two ways to talk, 2026-11-16): the microphone (who hears you), the sound (who you
   hear), the card they open, the seats' badges and glow, the little pill away from the board */
.vc-mic, .vc-spk { position: relative; touch-action: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.vc-mic svg .slash, .vc-spk svg .slash { display: none; }
.vc-mic.m-off svg .slash, .vc-spk.h-off svg .slash { display: inline; }
.vc-mic.m-off, .vc-spk.h-off { color: var(--muted); }
.vc-mic .vc-l { display: none; }
.vc-mic.m-team, .vc-mic.m-all, .vc-mic.m-ptt { width: auto; padding: 0 12px 0 10px; gap: 6px; display: inline-flex; align-items: center; border-color: transparent; }
.vc-mic.m-team .vc-l, .vc-mic.m-all .vc-l, .vc-mic.m-ptt .vc-l { display: inline; font-size: 13px; font-weight: 800; line-height: 1; white-space: nowrap; }
.vc-mic.m-team, .vc-mic.m-ptt { background: linear-gradient(180deg, #FFE9B0, #DFB255); color: #2A1A06; box-shadow: 0 4px 12px rgba(223, 178, 85, .35); }
.vc-mic.m-all { background: linear-gradient(180deg, #6BF2AA, #22B868); color: #062012; box-shadow: 0 4px 12px rgba(34, 184, 104, .35); }
.vc-mic.m-ptt { animation: vcPtt 1s ease-in-out infinite; }
.vc-mic.m-team svg, .vc-mic.m-all svg, .vc-mic.m-ptt svg { stroke: currentColor; }
/* your voice's level: a ring that grows as you talk (you see the microphone works) */
.vc-mic .vc-ring { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: 0 0 calc(var(--lv, 0) * 18px) calc(var(--lv, 0) * 3px) var(--vc-glow, rgba(255, 255, 255, .45)); transition: box-shadow .1s linear; }
.vc-mic.m-team .vc-ring, .vc-mic.m-ptt .vc-ring { --vc-glow: rgba(255, 200, 90, .75); }
.vc-mic.m-all .vc-ring { --vc-glow: rgba(50, 225, 135, .7); }
.vc-mic.m-off .vc-ring { display: none; }
.vc-mic.busy svg { animation: vcBusy 1s ease-in-out infinite; }
.vc-mic.lock::after { content: ""; position: absolute; top: -5px; left: -5px; width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 0 2px #0B1220; background: #E5484D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Crect x='6' y='11' width='12' height='9' rx='2' fill='%23fff'/%3E%3Cpath d='M8.5 11V8a3.5 3.5 0 0 1 7 0v3'/%3E%3C/svg%3E") center / 10px no-repeat; }
.vc-spk .vc-tb { display: none; }
.vc-spk.h-team .vc-tb { display: block; position: absolute; bottom: -5px; right: -5px; width: 17px; height: 17px; border-radius: 50%; box-shadow: 0 0 0 2px #0B1220; background: #EBC675 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='none' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.2' fill='%232A1A06'/%3E%3Ccircle cx='16.5' cy='9' r='2.6' fill='%232A1A06'/%3E%3Cpath d='M3.5 19c.6-3.4 2.8-5.2 5.5-5.2s4.9 1.8 5.5 5.2M14 14.2c.8-.4 1.6-.6 2.5-.6 2.2 0 3.8 1.5 4.3 4.6' fill='%232A1A06'/%3E%3C/svg%3E") center / 12px no-repeat; }
.vc-spk.blocked { animation: vcBlink 1.1s ease-in-out infinite; }
.t-day .vc-mic.lock::after, .t-day .vc-spk.h-team .vc-tb { box-shadow: 0 0 0 2px #FFFDF9; }
/* a crowded row (a phone, your turn): the microphone its coloured button only, the sound inside its card — what you
   hear a little badge on the microphone (your team: the two, nobody: the speaker struck through) */
#acts.vc-tight #vcSpk { display: none !important; }
#acts.vc-tight .vc-mic.m-team, #acts.vc-tight .vc-mic.m-all, #acts.vc-tight .vc-mic.m-ptt { width: 38px; padding: 0; justify-content: center; }
#acts.vc-tight .vc-mic .vc-l { display: none !important; }
#acts.vc-tight .vc-mic.h-team::before, #acts.vc-tight .vc-mic.h-off::before { content: ""; position: absolute; bottom: -5px; right: -5px; width: 17px; height: 17px; border-radius: 50%; box-shadow: 0 0 0 2px #0B1220; z-index: 1; }
#acts.vc-tight .vc-mic.h-team::before { background: #EBC675 """ + "url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='9' cy='8' r='3.2' fill='%232A1A06'/%3E%3Ccircle cx='16.5' cy='9' r='2.6' fill='%232A1A06'/%3E%3Cpath d='M3.5 19c.6-3.4 2.8-5.2 5.5-5.2s4.9 1.8 5.5 5.2M14 14.2c.8-.4 1.6-.6 2.5-.6 2.2 0 3.8 1.5 4.3 4.6' fill='%232A1A06'/%3E%3C/svg%3E")" + """ center / 12px no-repeat; }
#acts.vc-tight .vc-mic.h-off::before { background: #E5484D """ + "url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M4 9.5h3.5L12 5.5v13l-4.5-4H4z' fill='%23fff'/%3E%3Cpath d='M16 9.5l5 5M21 9.5l-5 5'/%3E%3C/svg%3E")" + """ center / 11px no-repeat; }
.t-day #acts.vc-tight .vc-mic.h-team::before, .t-day #acts.vc-tight .vc-mic.h-off::before { box-shadow: 0 0 0 2px #FFFDF9; }
/* the seats: in the voice (a headset: hearing), talking to his team (gold) or everyone (green), muted by you (red) */
.pl[data-vc] .av::after { content: ""; position: absolute; right: -7px; top: -5px; z-index: 3; width: 19px; height: 19px; border-radius: 50%; box-shadow: 0 0 0 2px #0B1220; background: #8A93A6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1220' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M4 15v-3a8 8 0 0 1 16 0v3'/%3E%3Crect x='3' y='14' width='4' height='6' rx='1.6' fill='%230B1220'/%3E%3Crect x='17' y='14' width='4' height='6' rx='1.6' fill='%230B1220'/%3E%3C/svg%3E") center / 13px no-repeat; }
.pl[data-vc="a"] .av::after { background: #2BD46A url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1220' stroke-width='2.6' stroke-linecap='round'%3E%3Crect x='9' y='3' width='6' height='11.5' rx='3' fill='%230B1220'/%3E%3Cpath d='M5.5 11.5a6.5 6.5 0 0 0 13 0M12 18v3'/%3E%3C/svg%3E") center / 13px no-repeat; }
.pl[data-vc="t"] .av::after { background: #F2C14E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1220' stroke-width='2.6' stroke-linecap='round'%3E%3Crect x='9' y='3' width='6' height='11.5' rx='3' fill='%230B1220'/%3E%3Cpath d='M5.5 11.5a6.5 6.5 0 0 0 13 0M12 18v3'/%3E%3C/svg%3E") center / 13px no-repeat; }
.pl[data-vc="m"] .av::after { background: #E5484D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M4 9.5h3.5L12 5.5v13l-4.5-4H4z' fill='%23fff'/%3E%3Cpath d='M16 9.5l5 5M21 9.5l-5 5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.t-day .pl[data-vc] .av::after { box-shadow: 0 0 0 2px #FFFDF9; }
.pl.speaking .pa { box-shadow: 0 0 0 3px #2BD46A, 0 0 20px 5px rgba(43, 212, 106, .7) !important; }
.pl.speaking.vc-tm .pa { box-shadow: 0 0 0 3px #F2C14E, 0 0 20px 5px rgba(242, 193, 78, .72) !important; }
/* the card */
.vc-pop { position: fixed; z-index: 57; display: flex; flex-direction: column; gap: 10px; padding: 12px; background: rgba(10, 16, 30, .98); color: #F4F7FF; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; box-shadow: 0 18px 44px rgba(0, 0, 0, .55); max-height: calc(100% - 20px); overflow-y: auto; overscroll-behavior: contain; animation: vcIn .16s ease-out; color-scheme: dark; }
.vc-h { display: flex; align-items: center; gap: 10px; }
.vc-hi { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(235, 198, 117, .16); color: #FFE3A0; }
.vc-hi svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vc-ht { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vc-ht b { font-size: 15px; font-weight: 800; }
.vc-ht small { font-size: 12px; color: #A9B6CF; line-height: 1.4; }
.vc-row { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 10px; }
.vc-rt { display: flex; flex-direction: column; gap: 1px; font-size: 13.5px; font-weight: 800; }
.vc-rt small { font-size: 11px; font-weight: 500; color: #8592AC; }
.vc-seg { background: rgba(0, 0, 0, .38); }
.vc-seg button { color: #A9B6CF; font-size: 13px; padding: 9px 4px; }
.vc-seg button[data-v="team"][aria-checked="true"] { background: linear-gradient(180deg, #FFE9B0, #DFB255); color: #2A1A06; }
.vc-seg button[data-v="all"][aria-checked="true"] { background: linear-gradient(180deg, #6BF2AA, #22B868); color: #062012; }
.vc-seg button[data-v="off"][aria-checked="true"] { background: rgba(255, 255, 255, .16); color: #F4F7FF; box-shadow: none; }
.vc-seg.lock button[data-v="team"], .vc-seg.lock button[data-v="all"] { opacity: .4; }
.vc-lv { display: block; height: 4px; margin-top: -4px; margin-inline-start: 84px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.vc-lv u { display: block; height: 100%; width: calc(var(--lv, 0) * 100%); border-radius: inherit; background: linear-gradient(90deg, #22B868, #6BF2AA); transition: width .1s linear; }
.vc-list { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 10px; }
.vc-p { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.vc-av { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; transition: box-shadow .12s; }
.vc-av .pa { display: block; width: 100%; height: 100%; border-radius: 50%; }
.vc-p.talk .vc-av { box-shadow: 0 0 0 2.5px #2BD46A, 0 0 12px 2px rgba(43, 212, 106, .6); }
.vc-p.talk.vc-tm .vc-av { box-shadow: 0 0 0 2.5px #F2C14E, 0 0 12px 2px rgba(242, 193, 78, .6); }
.vc-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.vc-t b { font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-t small { font-size: 11.5px; color: #A9B6CF; }
.vc-p.in .vc-t small { color: #9FE6BC; }
.vc-mute { flex: none; width: 36px; height: 36px; border: 0; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #F4F7FF; }
.vc-mute svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vc-mute.on { background: rgba(229, 72, 77, .22); color: #FF8A8E; }
.vc-none { margin: 0; font-size: 12.5px; color: #A9B6CF; text-align: center; line-height: 1.5; }
.vc-how { margin: 0; font-size: 11.5px; color: #8592AC; line-height: 1.5; }
.vc-how kbd { display: inline-block; min-width: 20px; padding: 1px 6px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .22); border-bottom-width: 2.5px; background: rgba(255, 255, 255, .08); color: #F4F7FF; font: 700 11px/1.5 ui-monospace, Menlo, monospace; text-align: center; }
/* away from the board (the results, a friends' table between games): who hears you, at the top */
.vc-mini { position: fixed; z-index: 56; top: calc(var(--safe-t) + 10px); left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(10, 16, 30, .92); color: #F4F7FF; font: inherit; font-size: 12.5px; font-weight: 700; box-shadow: 0 8px 22px rgba(0, 0, 0, .45); }
.vc-mini svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.vc-mini.m-team, .vc-mini.m-ptt { background: linear-gradient(180deg, #FFE9B0, #DFB255); color: #2A1A06; border-color: transparent; }
.vc-mini.m-all { background: linear-gradient(180deg, #6BF2AA, #22B868); color: #062012; border-color: transparent; }
.vc-sets .opt-t small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 500; color: var(--dim); }
@keyframes vcPtt { 50% { box-shadow: 0 0 0 5px rgba(255, 233, 176, .35), 0 4px 14px rgba(223, 178, 85, .5); } }
@keyframes vcBusy { 50% { opacity: .35; } }
@keyframes vcBlink { 50% { box-shadow: 0 0 0 3px rgba(255, 224, 138, .55); } }
@keyframes vcIn { from { opacity: 0; transform: translateY(6px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .vc-mic.m-ptt, .vc-mic.busy svg, .vc-spk.blocked, .vc-pop { animation: none !important; } }
/* an offer on a piece in the store (the panel's games page) */
.shop-item .si-prev { position: relative; }
.si-off { position: absolute; top: 6px; inset-inline-start: 6px; z-index: 2; padding: 2px 7px; border-radius: 9px; background: #E5484D; color: #fff; font-style: normal; font-size: 11px; font-weight: 700; line-height: 1.5; }
.si-was { display: block; margin-top: -4px; text-align: center; font-size: 11.5px; color: #FFB4B4; }
.si-was s { color: var(--muted); margin-inline-end: 4px; }
/* the rules builder (#rules): the kept sets, the groups, a «one of» row, keeping and sharing */
.rules-card .rules-list { gap: 7px; }
.rule-sets { display: flex; flex-wrap: wrap; gap: 6px; }
.rule-set { display: inline-flex; align-items: center; }
.hchip-x { border: 0; background: none; color: var(--muted); font-size: 16px; line-height: 1; padding: 2px 5px; }
.rules-h { margin: 8px 2px 0; font-size: 12px; font-weight: 700; color: var(--gold); }
.rule-one { display: flex; flex-direction: column; gap: 6px; padding: 9px 12px; border-radius: 13px; border: 1px solid var(--line); background: var(--row); }
.rule-one-t { font-size: 13px; }
.rule-one .seg { flex-wrap: wrap; }
.rule-one .seg button { flex: 1 1 auto; font-size: 11.5px; }
.rules-keep { display: grid; gap: 7px; padding-top: 8px; border-top: 1px solid var(--line); }
.rules-row { display: flex; align-items: center; gap: 8px; }
.rules-row input, .rules-link { flex: 1; min-width: 0; padding: 8px 11px; border-radius: 11px; border: 1px solid var(--line); background: var(--row); color: var(--ink); font: inherit; font-size: 16px; }
.rules-code { flex: 1; font-size: 13px; color: var(--muted); }
.rules-code b { color: var(--ink); font-family: ui-monospace, monospace; letter-spacing: .06em; }
.room-rules { flex: 1 1 100%; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
/* settings (from the menu's sliders button): the language, streamer mode, the app */
.foot-btns { display: flex; align-items: center; gap: 6px; }
.set-btn { width: 34px; height: 34px; border-radius: 11px; }
.set-btn svg { width: 17px; height: 17px; }
.sets-card { width: min(400px, 100%); }
.sets-card .opt { display: flex; flex-direction: column; gap: 6px; }
.app-box { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 13px; border: 1px solid var(--line); background: var(--row); }
.app-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
.app-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.app-t b { font-size: 14px; font-weight: 600; } .app-t small { font-size: 12px; color: var(--muted); line-height: 1.45; }
.app-how { margin: -4px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--glass); font-size: 13px; line-height: 1.6; color: var(--ink); }
.app-how b { color: var(--gold); }
/* streamer mode: a red «بث» tag in the bar, the site's address under the name for the viewers */
.live-tag { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px 2px 8px; border-radius: 999px; background: #E5484D; color: #fff; font-size: 11.5px; font-weight: 700; line-height: 18px; }
.live-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
@media (prefers-reduced-motion: no-preference) { .live-tag::before { animation: liveDot 1.4s ease-in-out infinite; } }
@keyframes liveDot { 50% { opacity: .35; } }
.brand-url { display: none; }
.streamer .brand-url { display: block; margin-top: -3px; font-family: "Readex Pro", sans-serif; font-size: 10px; font-weight: 600; line-height: 1.2; letter-spacing: .02em; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.streamer .brand { line-height: 1.15; }
/* English: the page runs left to right (lang.js sets dir="ltr"); the board and the seats stay where they are */
[dir="ltr"] .sw::after { right: auto; left: 2px; }
[dir="ltr"] .rule-row[aria-checked="true"] .sw::after { transform: translateX(18px); }
[dir="ltr"] .rs-go { display: inline-block; transform: scaleX(-1); }
/* missions: the strip on the menu, the screen with today's and this week's */
.quest-strip { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 10px; border-radius: 13px; border: 1px solid rgba(235, 198, 117, .5); background: rgba(235, 198, 117, .09); color: var(--ink); text-align: start; }
.qs-ic { flex: none; font-size: 20px; line-height: 1; }
.qs-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.qs-t b { font-size: 13.5px; font-weight: 600; } .qs-t small { font-size: 11.5px; color: var(--muted); }
.qs-dot { flex: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--gold); color: var(--on-gold); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
@media (prefers-reduced-motion: no-preference) { .qs-dot { animation: qsPulse 1.6s ease-in-out infinite; } }
@keyframes qsPulse { 50% { transform: scale(1.12); } }
.quests-card { width: min(420px, 100%); }
.quest-run { flex: none; font-size: 14px; font-weight: 700; color: var(--gold); }
.quest-list { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; min-height: 0; }
.qrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 13px; border: 1px solid var(--line); background: var(--row); }
.qrow.ready { border-color: var(--gold); }
.qrow.got { opacity: .62; }
.q-ic { font-size: 22px; line-height: 1; }
.q-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.q-t b { font-size: 14px; font-weight: 600; } .q-t small { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.q-bar { height: 5px; border-radius: 3px; background: var(--glass2); overflow: hidden; }
.q-bar i { display: block; height: 100%; background: linear-gradient(90deg, #F2CE7C, #D9A847); border-radius: 3px; }
.q-got { font-size: 18px; color: #3DD68C; font-weight: 700; padding: 0 6px; }
.q-swap { font-size: 12px; padding: 5px 10px; }
/* the live commentator's line, at the top under the bar */
.comm-cap { position: absolute; top: calc(var(--safe-t) + 5px); left: 50%; transform: translateX(-50%); z-index: 45; max-width: min(94vw, 560px); width: max-content; min-height: calc(var(--top-h) - 10px); display: flex; align-items: center; justify-content: center; padding: 5px 16px; border-radius: 999px; background: rgba(8, 12, 22, .96); border: 1px solid rgba(235, 198, 117, .55); color: #FFE9B0; font-size: 13.5px; font-weight: 600; line-height: 1.5; text-align: center; pointer-events: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
@media (prefers-reduced-motion: no-preference) { .comm-cap.in { animation: capIn .32s cubic-bezier(.2, .9, .3, 1.2); } }
@keyframes capIn { from { opacity: 0; transform: translate(-50%, -8px) scale(.96); } }
.at-menu .comm-cap { display: none; }
.comm-cap[hidden] { display: none; }
.pause-card { overflow-y: auto; }
/* the season and its pass: the strip on the menu, the screen with its two tracks */
/* the missions' and the season's strips share a row (one alone takes it all) */
.prog-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 8px; }
.prog-row:not(:has(> :not([hidden]))) { display: none; }
.prog-row > button { min-width: 0; }
.prog-row .qs-t b, .ps-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pass-strip { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 10px; border-radius: 13px; border: 1px solid rgba(244, 176, 90, .55); background: linear-gradient(100deg, rgba(244, 176, 90, .16), rgba(120, 70, 30, .12)); color: var(--ink); text-align: start; }
.ps-lv { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #2A1A06; background: radial-gradient(circle at 35% 30%, #FFE3A0, #E9A85A 60%, #A8692C); box-shadow: 0 0 0 2px rgba(255, 227, 160, .35); }
.ps-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ps-t b { font-size: 13.5px; font-weight: 600; } .ps-t small { font-size: 11.5px; color: var(--muted); }
.ps-bar { display: block; height: 5px; border-radius: 3px; background: var(--glass2); overflow: hidden; }
.ps-bar.big { height: 8px; border-radius: 4px; }
.ps-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #FFE3A0, #E9A85A, #A8692C); }
.ps-row { display: flex; align-items: center; gap: 6px; min-height: 18px; }
.ps-row .ps-bar { flex: 1; min-width: 0; }
.ps-row .qs-dot { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; font-size: 11px; }
.ps-pass { flex: none; font-size: 14px; line-height: 1; }
/* the season's screen: the approved design — a desert hero with the season's crest, the two tracks in a gold frame */
/* the pass is always a night screen: its own light-on-dark colours, whatever board the player has */
.screen.dim.rp-scr { padding: 0; align-items: stretch; color-scheme: dark; color: var(--ink); background: radial-gradient(120% 70% at 50% 0%, rgba(30, 22, 52, .96), rgba(6, 9, 18, .97) 70%);
  --ink: #F4F7FF; --muted: #B4BFD4; --dim: #8F9BB4; --gold: #EBC675; --gold2: #FFE3A0; --on-gold: #2A1A06; --glass: rgba(255, 255, 255, .07); --glass2: rgba(255, 255, 255, .14);
  --line: rgba(255, 255, 255, .12); --sheet: linear-gradient(170deg, #1B2E51, #0E1930); --scrim: rgba(5, 9, 18, .9); --row: rgba(255, 255, 255, .06); --name-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.rp { position: relative; width: min(980px, 100%); max-height: 100%; margin: 0 auto; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 12px; padding: calc(12px + var(--safe-t)) max(12px, env(safe-area-inset-right, 0px)) calc(84px + var(--safe-b)) max(12px, env(safe-area-inset-left, 0px)); }
.rp-hero { position: relative; flex: none; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 210, 140, .3); box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }
.rp-sky { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rp-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(270deg, rgba(10, 8, 26, .8) 0%, rgba(10, 8, 26, .4) 45%, rgba(10, 8, 26, 0) 72%), linear-gradient(0deg, rgba(7, 11, 23, .7), rgba(7, 11, 23, 0) 45%); }
.rp-x { position: fixed; z-index: 6; top: calc(var(--safe-t) + 20px); right: max(20px, calc((100% - 980px) / 2 + 20px)); width: 46px; height: 46px; border-radius: 50%; background: rgba(10, 8, 26, .72); border: 1px solid rgba(255, 220, 160, .35); box-shadow: 0 4px 14px rgba(0, 0, 0, .45); display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rp-x::before { content: ""; position: absolute; inset: -8px; }
[dir="ltr"] .rp-x { right: auto; left: max(20px, calc((100% - 980px) / 2 + 20px)); } [dir="ltr"] .rp-x svg { transform: scaleX(-1); } [dir="ltr"] .rp-head { padding-right: 0; padding-left: 52px; }
.rp-x svg { width: 20px; height: 20px; fill: none; stroke: #F6F0E4; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rp-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head feat" "lvl feat"; gap: 12px 16px; align-items: center; padding: 16px 16px 14px 16px; }
.rp-head { grid-area: head; display: flex; align-items: center; gap: 12px; padding-right: 52px; min-width: 0; }
.rp-crest { position: relative; flex: none; width: 76px; height: 86px; filter: drop-shadow(0 6px 14px rgba(255, 170, 60, .35)); }
.rp-crest i, .rp-crest .i { position: absolute; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.rp-crest .o { inset: 0; background: linear-gradient(160deg, #FFF0C2, #E5A651 45%, #8E531B 75%, #F3C26A); }
.rp-crest .m { inset: 5px; background: linear-gradient(160deg, #4A2A0E, #1E1006); }
.rp-crest .i { inset: 10px; background: radial-gradient(circle at 50% 30%, #3B2410, #140A03 75%); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rp-crest small { font-size: 9.5px; font-weight: 800; color: #F4C46A; line-height: 1; }
.rp-crest b, .rp-tt h2, .rp-fcap b, .rp-dt b, .rp-legs h3, .rp-leg b { font-family: Lalezar, Alexandria, "Readex Pro", sans-serif; font-weight: 400; }
.rp-crest b { font-size: 42px; line-height: .95; }
.rp-crest b, .rp-tt h2, .rp-legs h3 { background: linear-gradient(180deg, #FFF6D6 0%, #FFD98A 30%, #E9A44A 55%, #A9661F 78%, #FFD27A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rp-tt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.rp-tt h2 { margin: 0; font-size: 38px; line-height: 1.05; white-space: nowrap; filter: drop-shadow(0 2px 0 #5A3311) drop-shadow(0 6px 12px rgba(0, 0, 0, .5)); }
.rp-tt > span { font-size: 13px; font-weight: 600; color: #F3DDB8; }
.rp-chip { padding: 3px 11px; border-radius: 999px; font-size: 12px !important; font-weight: 800 !important; color: #2A1806 !important; background: linear-gradient(180deg, #FFEDB8, #E3A54E); }
.rp-lvl { grid-area: lvl; display: flex; align-items: center; gap: 12px; padding: 9px 11px; border-radius: 15px; background: rgba(10, 8, 26, .62); border: 1px solid rgba(255, 220, 160, .18); min-width: 0; }
.rp-ring { flex: none; width: 50px; height: 50px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #2A1A06; background: radial-gradient(circle at 35% 30%, #FFE7A6, #E9A85A 60%, #A8692C); box-shadow: 0 0 0 3px rgba(255, 227, 160, .25), 0 0 16px rgba(255, 190, 90, .35); }
.rp-ring b { font-size: 20px; line-height: 1; } .rp-ring small { font-size: 8.5px; font-weight: 800; }
.rp-xp { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.rp-xt { display: flex; justify-content: space-between; align-items: baseline; gap: 2px 8px; flex-wrap: wrap; }
.rp-xt b { font-size: 13.5px; white-space: nowrap; } .rp-xt small { font-size: 11.5px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rp-how { font-size: 10.5px; color: var(--dim); }
.rp-none { margin: 0; font-size: 14px; color: var(--muted); }
.rp-feat { grid-area: feat; position: relative; width: 230px; height: 196px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.rp-rays { position: absolute; left: 50%; top: 42%; width: 380px; height: 380px; margin: -190px 0 0 -190px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255, 214, 140, .16) 0deg 6deg, rgba(255, 214, 140, 0) 6deg 18deg); -webkit-mask: radial-gradient(circle, #000 18%, transparent 62%); mask: radial-gradient(circle, #000 18%, transparent 62%); animation: frSpin 60s linear infinite; }
.rp-fcard { position: relative; width: 190px; height: 122px; border-radius: 14px; overflow: hidden; border: 2px solid #FFD27A; box-shadow: 0 0 0 4px rgba(255, 185, 56, .18), 0 0 34px rgba(255, 185, 56, .55), 0 18px 34px rgba(0, 0, 0, .6); transform: perspective(600px) rotateY(-12deg) rotateX(6deg); }
.rp-fcard img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-rib { position: absolute; top: 8px; right: 8px; z-index: 1; font-size: 10.5px; font-weight: 800; padding: 2px 9px; border-radius: 999px; color: #2A1806; background: linear-gradient(180deg, #FFE7A6, #FFB938); }
.rp-fcap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.rp-fcap b { font-size: 20px; line-height: 1.15; } .rp-fcap small { font-size: 11px; color: #F3DDB8; }
@media (max-width: 640px) {
  .rp-hero-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "feat" "lvl"; }
  .rp-crest { width: 64px; height: 72px; } .rp-crest b { font-size: 34px; }
  .rp-tt h2 { font-size: 31px; }
  .rp-feat { width: 100%; height: 180px; }
}
/* the reward chosen */
.rp-detail { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: linear-gradient(180deg, #111A31, #0B1224); border: 1px solid var(--line); min-height: 76px; }
.rp-dpic { position: relative; flex: none; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); }
.rp-dpic img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.rp-dpic .rp-coin { position: relative; width: 44px; height: 44px; }
.rp-dt { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.rp-dt b { font-size: 19px; line-height: 1.2; } .rp-dt small { font-size: 11.5px; color: var(--muted); }
.rp-rar { font-size: 10.5px; font-weight: 800; padding: 1px 9px; border-radius: 999px; color: #10131C; }
.rp-rar.r-c { background: #94A3B8; } .rp-rar.r-r { background: #4C8DFF; } .rp-rar.r-e { background: #B26BFF; } .rp-rar.r-l { background: linear-gradient(180deg, #FFE7A6, #FFB938); } .rp-rar.r-m { background: linear-gradient(100deg, #FF4D6D, #FF9A3C, #FFE14D, #FF4D6D); background-size: 220% 100%; animation: rpMyth 3s linear infinite; color: #fff; text-shadow: 0 1px 2px rgba(120, 0, 30, .6); }
.rp-dget { flex: none; height: 40px; padding: 0 16px; border: 0; border-radius: 12px; font-weight: 800; font-size: 14px; color: #2A1A06; background: linear-gradient(180deg, #FFEDB8, #E3A54E); box-shadow: 0 4px 12px rgba(233, 168, 90, .35); }
/* the two tracks in their gold frame */
.rp-frame { flex: none; padding: 2px; border-radius: 18px; background: linear-gradient(160deg, #FFE7A6, #B9772F 30%, #4A2A0E 55%, #E3A54E 85%, #FFE7A6); box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.rp-tracks { display: flex; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #0E1530, #0A1022); }
.rp-badges { flex: none; width: 74px; display: flex; flex-direction: column; border-left: 1px solid rgba(255, 220, 160, .14); }
.rp-badges .top { height: 34px; }
.rp-badges .cell, .rp-col .cell { height: 128px; }
.rp-badges .cell { display: grid; place-items: center; }
.rp-badges .free, .rp-col .free { background: rgba(255, 255, 255, .03); }
.rp-badges .plus, .rp-col .plus { background: linear-gradient(180deg, rgba(240, 170, 80, .3), rgba(130, 70, 25, .3)); }
.rp-bdg { position: relative; width: 54px; height: 61px; display: grid; place-items: center; }
.rp-bdg::before, .rp-bdg b { clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.rp-bdg::before { content: ""; position: absolute; inset: 0; }
.rp-bdg b { position: relative; width: 46px; height: 52px; display: grid; place-items: center; font-family: Lalezar, Alexandria, sans-serif; font-weight: 400; font-size: 15px; }
.rp-bdg.silver::before { background: linear-gradient(160deg, #FFFFFF, #A7B3C8 50%, #5B6680); } .rp-bdg.silver b { background: linear-gradient(160deg, #2C3754, #121A2E); color: #EEF2F8; }
.rp-bdg.gold::before { background: linear-gradient(160deg, #FFF0C2, #E5A651 45%, #8E531B 80%); } .rp-bdg.gold b { background: linear-gradient(160deg, #4A2A0E, #1E1006); color: #F4C46A; }
.rp-scroll { flex: 1; min-width: 0; overflow-x: auto; overflow-y: hidden; display: flex; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(244, 196, 106, .45) transparent; }
.rp-col { flex: none; width: 96px; display: flex; flex-direction: column; border-left: 1px solid rgba(255, 255, 255, .04); }
.rp-col.now { background: linear-gradient(180deg, rgba(255, 220, 140, .16), rgba(255, 220, 140, .02)); }
.rp-col .num { position: relative; height: 34px; display: grid; place-items: center; }
.rp-col .num::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 3px; background: rgba(255, 255, 255, .08); }
.rp-col.past .num::after, .rp-col.now .num::after { background: linear-gradient(90deg, #A8692C, #FFD27A); box-shadow: 0 0 8px rgba(255, 200, 100, .5); }
.rp-col.now .num::after { right: 50%; }
.rp-col .num span { position: relative; z-index: 1; min-width: 30px; height: 22px; padding: 0 8px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: #1A2340; color: var(--dim); border: 1px solid rgba(255, 255, 255, .1); }
.rp-col.past .num span { background: #2A2112; color: #F4C46A; border-color: rgba(244, 196, 106, .45); }
.rp-col.now .num span { background: linear-gradient(180deg, #FFEDB8, #E3A54E); color: #2A1806; border-color: #FFEDB8; box-shadow: 0 0 12px rgba(255, 200, 100, .6); }
.rp-col .cell { padding: 7px 5px; }
.rp-tile { position: relative; width: 100%; height: 100%; padding: 0; border-radius: 12px; overflow: hidden; display: block; border: 1px solid rgba(255, 255, 255, .16); color: var(--ink); }
.rp-glow { position: absolute; inset: 0; }
.r-c .rp-glow { background: radial-gradient(circle at 50% 30%, #6B7A93 0%, #2B3548 55%, #161C2B 100%); }
.r-r .rp-glow { background: radial-gradient(circle at 50% 30%, #3F7BEA 0%, #1A3A7A 55%, #0E1B3B 100%); }
.r-e .rp-glow { background: radial-gradient(circle at 50% 30%, #A35CF0 0%, #4B1F86 55%, #1E0C38 100%); }
.r-l .rp-glow { background: radial-gradient(circle at 50% 30%, #FFC95A 0%, #B9701A 50%, #4A2606 100%); }
.rp-tile.r-l { border-color: #FFD27A; box-shadow: 0 0 12px rgba(255, 185, 56, .45); }
/* mythic (the pass's top levels, 76–100): crimson and fire, a light running round its edge */
.r-m .rp-glow { background: radial-gradient(circle at 50% 30%, #FF6A5A 0%, #A0122E 50%, #3A0410 100%); }
.rp-tile.r-m { border-color: #FF8A6A; box-shadow: 0 0 14px rgba(255, 70, 90, .55), inset 0 0 0 1px rgba(255, 220, 120, .5); }
.rp-tile.r-m::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; background: conic-gradient(from 0deg, #FFE14D, #FF4D6D, #FF9A3C, #FFE14D); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); z-index: 1; pointer-events: none; animation: rpMythTurn 4s linear infinite; }
@keyframes rpMyth { from { background-position: 0 0; } to { background-position: 220% 0; } }
@keyframes rpMythTurn { from { filter: hue-rotate(0deg); } to { filter: hue-rotate(360deg); } }
.rp-tile.r-e { border-color: rgba(178, 107, 255, .6); } .rp-tile.r-r { border-color: rgba(76, 141, 255, .55); }
.rp-pic { position: absolute; top: 9px; left: 50%; width: 62px; height: 62px; margin-left: -31px; border-radius: 9px; object-fit: cover; box-shadow: 0 5px 12px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .22); }
.rp-tile .rp-coin { position: absolute; top: 15px; left: 50%; width: 48px; height: 48px; margin-left: -24px; filter: drop-shadow(0 5px 9px rgba(0, 0, 0, .45)); }
.rp-qty { position: absolute; left: 7px; top: 54px; font-size: 12px; font-weight: 800; padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, .45); color: #FFF3D2; }
.rp-nm { position: absolute; left: 5px; right: 5px; bottom: 8px; font-size: 10.5px; font-weight: 700; line-height: 1.3; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.rp-tile.got { opacity: .55; }
.rp-tile.lock .rp-pic, .rp-tile.lock .rp-coin, .rp-tile.far .rp-pic, .rp-tile.far .rp-coin { filter: saturate(.6) brightness(.72); }
.rp-tile.ready { box-shadow: 0 0 0 2px #FFE3A0, 0 0 16px rgba(255, 196, 90, .65); }
.rp-tile.sel { outline: 2px solid #FFFFFF; outline-offset: -2px; }
.rp-tile.r-l::after, .rp-tile.r-m::after { content: ""; position: absolute; top: 0; bottom: 0; width: 45%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); animation: rpShine 5s ease-in-out infinite; }
@keyframes rpShine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.rp-mark { position: absolute; top: 5px; right: 5px; z-index: 1; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; }
.rp-mark svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.rp-mark.lock { background: rgba(5, 8, 18, .8); color: #D9E0EC; } .plus .rp-mark.lock { color: #F4C46A; }
.rp-mark.ok { background: #2FBF71; color: #06130B; }
.rp-take { position: absolute; top: 5px; left: 50%; z-index: 1; transform: translateX(-50%); font-size: 10px; font-weight: 800; padding: 1px 9px; border-radius: 999px; background: linear-gradient(180deg, #FFEDB8, #DFB255); color: #2A1806; white-space: nowrap; }
/* the season's legendaries */
.rp-legs h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; }
.rp-lrow { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; }
.rp-leg { position: relative; flex: 0 0 150px; height: 104px; padding: 0; border-radius: 13px; overflow: hidden; border: 1px solid #FFB938; background: #2A1A06; box-shadow: 0 0 12px rgba(255, 185, 56, .3); color: var(--ink); }
.rp-leg.sel { outline: 2px solid #FFFFFF; outline-offset: -2px; }
.rp-leg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rp-leg .fade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 11, 23, .92), rgba(7, 11, 23, 0) 62%); }
.rp-leg .lv { position: absolute; top: 6px; right: 6px; font-size: 10px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: linear-gradient(180deg, #FFE7A6, #FFB938); color: #2A1806; }
.rp-leg b { position: absolute; right: 9px; left: 9px; bottom: 6px; font-size: 16px; text-align: start; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* buying «بلس», collecting: a bar at the bottom */
.rp-bar { position: fixed; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 10px; padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + var(--safe-b)) max(12px, env(safe-area-inset-left, 0px)); background: linear-gradient(0deg, rgba(7, 11, 23, .97) 55%, rgba(7, 11, 23, 0)); }
.rp-buy { flex: 1; max-width: 520px; height: 54px; border: 0; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 17px; font-weight: 800; color: #2A1806; background: linear-gradient(180deg, #FFEDB8, #E7B45C 55%, #C7883A); box-shadow: 0 6px 18px rgba(233, 168, 90, .4), inset 0 1px 0 rgba(255, 255, 255, .6); }
.rp-buy .price { display: flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: rgba(42, 26, 6, .15); }
.rp-buy .price .rp-coin { width: 20px; height: 20px; }
.rp-buy.on { color: #F4C46A; background: rgba(233, 168, 90, .12); border: 1px solid rgba(244, 196, 106, .6); box-shadow: none; }
.rp-buy.on svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.rp-claim { flex: none; height: 54px; padding: 0 14px; border-radius: 16px; display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--ink); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); }
.rp-claim em { font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #2A1806; background: #F4C46A; }
.rp-claim:disabled { opacity: .55; } .rp-claim:disabled em { background: rgba(255, 255, 255, .25); }
@media (prefers-reduced-motion: reduce) { .rp-rays, .rp-tile.r-l::after, .rp-tile.r-m::after, .rp-tile.r-m::before, .rp-rar.r-m { animation: none; } }
.rp-leg.m { border-color: #FF6A5A; box-shadow: 0 0 14px rgba(255, 70, 90, .5); background: #2A0610; }
.rp-leg.m .lv { background: linear-gradient(100deg, #FF4D6D, #FF9A3C); color: #fff; }

/* ---------- the season pass's pieces (server/game_pass.js) ---------- */
/* the RGB frame: every colour, running round */
.fr-rgb .frm::before { background: conic-gradient(#FF2E63, #FF9F1C, #F9F871, #2BD96B, #19C3FF, #6C5CFF, #FF3DD9, #FF2E63); animation: frSpin 2.6s linear infinite; }
.fr-rgb .frm { animation: rgbGlow 2.6s linear infinite; }
@keyframes rgbGlow { 0% { filter: drop-shadow(0 0 7px #FF2E63); } 25% { filter: drop-shadow(0 0 7px #F9F871); } 50% { filter: drop-shadow(0 0 7px #19C3FF); } 75% { filter: drop-shadow(0 0 7px #FF3DD9); } 100% { filter: drop-shadow(0 0 7px #FF2E63); } }
/* your name in neon on your board, running through the colours */
.engrave.neon { color: #FFFFFF; text-shadow: 0 0 4px #fff, 0 0 10px #19C3FF, 0 0 22px #19C3FF; animation: neonName 6s linear infinite; }
.engrave.neon::before, .engrave.neon::after { background: linear-gradient(90deg, transparent, #fff, transparent); box-shadow: 0 0 8px #fff; }
@keyframes neonName { 0%, 100% { text-shadow: 0 0 4px #fff, 0 0 10px #19C3FF, 0 0 22px #19C3FF; } 25% { text-shadow: 0 0 4px #fff, 0 0 10px #FF3DD9, 0 0 22px #FF3DD9; } 50% { text-shadow: 0 0 4px #fff, 0 0 10px #FF9F1C, 0 0 22px #FF9F1C; } 75% { text-shadow: 0 0 4px #fff, 0 0 10px #2BD96B, 0 0 22px #2BD96B; } }
.t-day .engrave.neon { color: #fff; }
/* the RGB board: lights all round its edge, running through the colours (in 3D it lies on the board's top) */
.rgb-edge { position: absolute; z-index: 1; pointer-events: none; border-radius: 4.5%; }
.rgb-edge::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: var(--rw, 4px); background: conic-gradient(#FF2E63, #FF9F1C, #F9F871, #2BD96B, #19C3FF, #6C5CFF, #FF3DD9, #FF2E63);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: rgbRun 3s linear infinite; }
.rgb-edge::after { content: ""; position: absolute; inset: calc(var(--rw, 4px) * -1.5); border-radius: inherit; padding: calc(var(--rw, 4px) * 4); background: conic-gradient(#FF2E63, #F9F871, #19C3FF, #FF3DD9, #FF2E63);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); filter: blur(10px); z-index: -1; animation: rgbRun 3s linear infinite; opacity: .7; }
@keyframes rgbRun { from { filter: hue-rotate(0deg); } to { filter: hue-rotate(360deg); } }
.rgb-edge::after { animation-name: rgbRunBlur; }
@keyframes rgbRunBlur { from { filter: blur(10px) hue-rotate(0deg); } to { filter: blur(10px) hue-rotate(360deg); } }
/* the zanoba's «طاخ!», the stars round his head */
.g-bam { font-family: Lalezar, Alexandria, sans-serif; font-weight: 800; color: #FFE14D; padding: .1em .35em; white-space: nowrap; -webkit-text-stroke: 1.5px #B3120F; text-shadow: 3px 3px 0 #B3120F, 0 0 16px rgba(255, 220, 80, .8); }
.g-dizzy svg { display: block; }
/* the red carpet, its spotlight and the cameras' flashes */
.e-carpet { transform-origin: 50% 0; clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
  background: linear-gradient(90deg, transparent 4%, #E7B85C 4%, #E7B85C 6.5%, transparent 6.5%, transparent 93.5%, #E7B85C 93.5%, #E7B85C 96%, transparent 96%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .05) 0 3px, rgba(0, 0, 0, .06) 3px 6px),
    linear-gradient(180deg, #7A0C17, #B8162A 35%, #E02A3E 100%), linear-gradient(90deg, #6E0A14, #C0182B 18%, #E02A3E 50%, #C0182B 82%, #6E0A14);
  background-blend-mode: normal, overlay, multiply, normal; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .5)); }
.e-spot { background: radial-gradient(ellipse 50% 60% at 50% 70%, rgba(255, 248, 220, .55), rgba(255, 248, 220, .12) 55%, transparent 72%); clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); }
.e-bulb { border-radius: 50%; background: radial-gradient(circle, #fff 0, #fff 18%, rgba(255, 255, 255, .6) 30%, transparent 62%); box-shadow: 0 0 18px #fff; }
.e-bulb::before, .e-bulb::after { content: ""; position: absolute; left: 50%; top: 50%; width: 170%; height: 2px; background: linear-gradient(90deg, transparent, #fff, transparent); transform: translate(-50%, -50%); }
.e-bulb::after { transform: translate(-50%, -50%) rotate(90deg); }
/* the RGB trail */
.t-rgbdot { width: 7px; height: 7px; border-radius: 50%; }
.t-ring { border-radius: 50%; border: 2px solid #19C3FF; }
/* the meteor and its scorch */
.x-meteor { border-radius: 50%; background: radial-gradient(circle at 60% 40%, #FFF6D0, #FFB347 35%, #E2541C 60%, #5A1C08 80%); box-shadow: 0 0 18px #FF9A3C, 0 0 36px rgba(255, 110, 30, .7); }
.x-meteor::after { content: ""; position: absolute; right: 50%; top: 50%; width: 520%; height: 70%; transform: translateY(-50%); border-radius: 50%; background: linear-gradient(270deg, rgba(255, 190, 90, .95), rgba(255, 100, 30, .55) 40%, transparent); filter: blur(2px); }
.x-scorch { border-radius: 50%; background: radial-gradient(circle, rgba(20, 10, 4, .85), rgba(60, 25, 8, .55) 45%, transparent 70%); }
/* the drones' lights */
.w-drone { width: 5px; height: 5px; border-radius: 50%; }
/* ---------- the season's pieces, round two (2026-11-09: every piece on the pass's tracks is the season's own) ---------- */
/* the palm-frond wreath: two branches of leaflets up from a gold knot of dates */
.fr-palm .frm::before { background: conic-gradient(#E8C068, #3FA35B, #E8C068, #2C7A45, #E8C068); }
.fr-palm .frm::after { content: ""; position: absolute; inset: -9px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22-8 -8 116 116%22%3E%3Cpath d=%22M44 95A45 45 0 0 1 22 15M56 95A45 45 0 0 0 78 15%22 fill=%22none%22 stroke=%22%23C9A24A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22/%3E%3Cg transform=%22translate(58.06 94.27) rotate(139.7)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(58.06 94.27) rotate(199.7)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(67.21 91.58) rotate(127.5)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(67.21 91.58) rotate(187.5)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(75.59 87.01) rotate(115.3)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(75.59 87.01) rotate(175.3)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(82.82 80.78) rotate(103.2)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(82.82 80.78) rotate(163.2)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(88.58 73.17) rotate(91.0)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(88.58 73.17) rotate(151.0)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(92.60 64.51) rotate(78.8)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(92.60 64.51) rotate(138.8)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(94.70 55.20) rotate(66.6)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(94.70 55.20) rotate(126.6)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(94.79 45.66) rotate(54.5)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(94.79 45.66) rotate(114.5)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(92.87 36.31) rotate(42.3)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(92.87 36.31) rotate(102.3)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(89.01 27.57) rotate(30.1)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(89.01 27.57) rotate(90.1)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(83.41 19.85) rotate(17.9)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(83.41 19.85) rotate(77.9)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(76.30 13.48) rotate(5.8)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(76.30 13.48) rotate(65.8)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(68.00 8.76) rotate(-6.4)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(68.00 8.76) rotate(53.6)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(41.94 94.27) rotate(-19.7)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(41.94 94.27) rotate(40.3)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(32.79 91.58) rotate(-7.5)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(32.79 91.58) rotate(52.5)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(24.41 87.01) rotate(4.7)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(24.41 87.01) rotate(64.7)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(17.18 80.78) rotate(16.8)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(17.18 80.78) rotate(76.8)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(11.42 73.17) rotate(29.0)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(11.42 73.17) rotate(89.0)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(7.40 64.51) rotate(41.2)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(7.40 64.51) rotate(101.2)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(5.30 55.20) rotate(53.4)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(5.30 55.20) rotate(113.4)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(5.21 45.66) rotate(65.5)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(5.21 45.66) rotate(125.5)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(7.13 36.31) rotate(77.7)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(7.13 36.31) rotate(137.7)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(10.99 27.57) rotate(89.9)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(10.99 27.57) rotate(149.9)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(16.59 19.85) rotate(102.1)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(16.59 19.85) rotate(162.1)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(23.70 13.48) rotate(114.2)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(23.70 13.48) rotate(174.2)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(32.00 8.76) rotate(126.4)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%232C7A45%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Cg transform=%22translate(32.00 8.76) rotate(186.4)%22%3E%3Cpath d=%22M0 0C3 -2 9 -2.4 13 0C9 2.4 3 2 0 0Z%22 fill=%22%233FA35B%22/%3E%3Cpath d=%22M0 0L12 0%22 stroke=%22%23E8C068%22 stroke-width=%22.7%22/%3E%3C/g%3E%3Ccircle cx=%2250%22 cy=%2295%22 r=%223.4%22 fill=%22%23F0CB7A%22 stroke=%22%238A5A14%22 stroke-width=%22.8%22/%3E%3Ccircle cx=%2244%22 cy=%2297.5%22 r=%222%22 fill=%22%239A3B1A%22/%3E%3Ccircle cx=%2256%22 cy=%2297.5%22 r=%222%22 fill=%22%239A3B1A%22/%3E%3Ccircle cx=%2247%22 cy=%2299%22 r=%221.8%22 fill=%22%23B5481F%22/%3E%3Ccircle cx=%2253%22 cy=%2299%22 r=%221.8%22 fill=%22%23B5481F%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45)); }
.fr-palm .frm { filter: drop-shadow(0 0 5px rgba(232, 192, 104, .45)); }
/* electricity: a blue-white ring, the sparks jumping round it */
.fr-bolt .frm::before { background: conic-gradient(#E9FDFF, #2BC8FF, #0D5BFF, #9FF3FF, #2BC8FF, #E9FDFF); animation: frSpin 1.6s linear infinite; }
.fr-bolt .frm::after { content: ""; position: absolute; inset: -6px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cpath d=%22M94.32 50.00 L95.81 56.59 L93.34 62.73 L92.45 69.39 L89.37 75.30 L82.66 78.30 L78.08 82.41 L76.04 90.51 L68.47 90.44 L62.48 92.51 L57.00 98.67 L50.00 95.81 L43.15 97.66 L37.08 93.99 L30.52 92.65 L26.34 86.82 L19.31 85.42 L13.46 81.67 L11.18 74.95 L6.75 69.75 L4.81 63.27 L7.23 56.15 L2.35 50.00 L3.89 43.37 L7.08 37.40 L10.89 32.14 L9.33 23.87 L15.37 19.99 L18.96 14.18 L23.82 9.26 L30.32 6.91 L36.28 3.28 L43.55 5.13 L50.00 2.07 L56.50 4.82 L63.75 3.19 L70.12 5.95 L73.48 13.47 L78.60 17.00 L83.40 21.06 L91.20 23.52 L91.47 31.06 L94.91 36.81 L94.27 43.63 L96.05 50.00Z%22 fill=%22none%22 stroke=%22%23BFF6FF%22 stroke-width=%221.6%22 stroke-linejoin=%22bevel%22/%3E%3Cpath d=%22M94.32 50.00 L95.81 56.59 L93.34 62.73 L92.45 69.39 L89.37 75.30 L82.66 78.30 L78.08 82.41 L76.04 90.51 L68.47 90.44 L62.48 92.51 L57.00 98.67 L50.00 95.81 L43.15 97.66 L37.08 93.99 L30.52 92.65 L26.34 86.82 L19.31 85.42 L13.46 81.67 L11.18 74.95 L6.75 69.75 L4.81 63.27 L7.23 56.15 L2.35 50.00 L3.89 43.37 L7.08 37.40 L10.89 32.14 L9.33 23.87 L15.37 19.99 L18.96 14.18 L23.82 9.26 L30.32 6.91 L36.28 3.28 L43.55 5.13 L50.00 2.07 L56.50 4.82 L63.75 3.19 L70.12 5.95 L73.48 13.47 L78.60 17.00 L83.40 21.06 L91.20 23.52 L91.47 31.06 L94.91 36.81 L94.27 43.63 L96.05 50.00Z%22 fill=%22none%22 stroke=%22%23FFFFFF%22 stroke-width=%22.7%22 stroke-linejoin=%22bevel%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; animation: frZap .9s steps(1) infinite; }
.fr-bolt .frm { animation: frBuzz 1.8s ease-in-out infinite; }
@keyframes frZap { 0% { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cpath d=%22M94.32 50.00 L95.81 56.59 L93.34 62.73 L92.45 69.39 L89.37 75.30 L82.66 78.30 L78.08 82.41 L76.04 90.51 L68.47 90.44 L62.48 92.51 L57.00 98.67 L50.00 95.81 L43.15 97.66 L37.08 93.99 L30.52 92.65 L26.34 86.82 L19.31 85.42 L13.46 81.67 L11.18 74.95 L6.75 69.75 L4.81 63.27 L7.23 56.15 L2.35 50.00 L3.89 43.37 L7.08 37.40 L10.89 32.14 L9.33 23.87 L15.37 19.99 L18.96 14.18 L23.82 9.26 L30.32 6.91 L36.28 3.28 L43.55 5.13 L50.00 2.07 L56.50 4.82 L63.75 3.19 L70.12 5.95 L73.48 13.47 L78.60 17.00 L83.40 21.06 L91.20 23.52 L91.47 31.06 L94.91 36.81 L94.27 43.63 L96.05 50.00Z%22 fill=%22none%22 stroke=%22%23BFF6FF%22 stroke-width=%221.6%22 stroke-linejoin=%22bevel%22/%3E%3Cpath d=%22M94.32 50.00 L95.81 56.59 L93.34 62.73 L92.45 69.39 L89.37 75.30 L82.66 78.30 L78.08 82.41 L76.04 90.51 L68.47 90.44 L62.48 92.51 L57.00 98.67 L50.00 95.81 L43.15 97.66 L37.08 93.99 L30.52 92.65 L26.34 86.82 L19.31 85.42 L13.46 81.67 L11.18 74.95 L6.75 69.75 L4.81 63.27 L7.23 56.15 L2.35 50.00 L3.89 43.37 L7.08 37.40 L10.89 32.14 L9.33 23.87 L15.37 19.99 L18.96 14.18 L23.82 9.26 L30.32 6.91 L36.28 3.28 L43.55 5.13 L50.00 2.07 L56.50 4.82 L63.75 3.19 L70.12 5.95 L73.48 13.47 L78.60 17.00 L83.40 21.06 L91.20 23.52 L91.47 31.06 L94.91 36.81 L94.27 43.63 L96.05 50.00Z%22 fill=%22none%22 stroke=%22%23FFFFFF%22 stroke-width=%22.7%22 stroke-linejoin=%22bevel%22/%3E%3C/svg%3E"); transform: rotate(0deg); opacity: 1; } 25% { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cpath d=%22M95.70 50.00 L95.91 56.60 L96.74 63.72 L91.64 69.02 L88.74 74.90 L85.19 80.49 L78.80 83.24 L74.91 88.76 L69.45 92.60 L63.49 95.94 L56.18 92.96 L50.00 94.74 L43.83 92.94 L36.48 96.04 L30.38 92.97 L26.72 86.23 L17.86 87.10 L12.99 82.07 L10.47 75.40 L7.48 69.42 L7.97 62.34 L7.54 56.10 L3.82 50.00 L7.26 43.85 L7.77 37.60 L9.66 31.58 L13.83 26.76 L15.41 20.03 L20.13 15.52 L23.95 9.46 L30.84 8.05 L36.79 5.00 L43.45 4.47 L50.00 2.96 L56.51 4.74 L62.56 7.23 L70.43 5.26 L76.58 8.63 L81.55 13.59 L85.77 19.01 L87.70 25.77 L90.27 31.61 L92.84 37.42 L92.81 43.84 L97.70 50.00Z%22 fill=%22none%22 stroke=%22%239FE8FF%22 stroke-width=%221.6%22 stroke-linejoin=%22bevel%22/%3E%3Cpath d=%22M95.70 50.00 L95.91 56.60 L96.74 63.72 L91.64 69.02 L88.74 74.90 L85.19 80.49 L78.80 83.24 L74.91 88.76 L69.45 92.60 L63.49 95.94 L56.18 92.96 L50.00 94.74 L43.83 92.94 L36.48 96.04 L30.38 92.97 L26.72 86.23 L17.86 87.10 L12.99 82.07 L10.47 75.40 L7.48 69.42 L7.97 62.34 L7.54 56.10 L3.82 50.00 L7.26 43.85 L7.77 37.60 L9.66 31.58 L13.83 26.76 L15.41 20.03 L20.13 15.52 L23.95 9.46 L30.84 8.05 L36.79 5.00 L43.45 4.47 L50.00 2.96 L56.51 4.74 L62.56 7.23 L70.43 5.26 L76.58 8.63 L81.55 13.59 L85.77 19.01 L87.70 25.77 L90.27 31.61 L92.84 37.42 L92.81 43.84 L97.70 50.00Z%22 fill=%22none%22 stroke=%22%23FFFFFF%22 stroke-width=%22.7%22 stroke-linejoin=%22bevel%22/%3E%3C/svg%3E"); transform: rotate(40deg); opacity: .85; } 50% { opacity: 0; } 62% { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cpath d=%22M95.70 50.00 L95.91 56.60 L96.74 63.72 L91.64 69.02 L88.74 74.90 L85.19 80.49 L78.80 83.24 L74.91 88.76 L69.45 92.60 L63.49 95.94 L56.18 92.96 L50.00 94.74 L43.83 92.94 L36.48 96.04 L30.38 92.97 L26.72 86.23 L17.86 87.10 L12.99 82.07 L10.47 75.40 L7.48 69.42 L7.97 62.34 L7.54 56.10 L3.82 50.00 L7.26 43.85 L7.77 37.60 L9.66 31.58 L13.83 26.76 L15.41 20.03 L20.13 15.52 L23.95 9.46 L30.84 8.05 L36.79 5.00 L43.45 4.47 L50.00 2.96 L56.51 4.74 L62.56 7.23 L70.43 5.26 L76.58 8.63 L81.55 13.59 L85.77 19.01 L87.70 25.77 L90.27 31.61 L92.84 37.42 L92.81 43.84 L97.70 50.00Z%22 fill=%22none%22 stroke=%22%239FE8FF%22 stroke-width=%221.6%22 stroke-linejoin=%22bevel%22/%3E%3Cpath d=%22M95.70 50.00 L95.91 56.60 L96.74 63.72 L91.64 69.02 L88.74 74.90 L85.19 80.49 L78.80 83.24 L74.91 88.76 L69.45 92.60 L63.49 95.94 L56.18 92.96 L50.00 94.74 L43.83 92.94 L36.48 96.04 L30.38 92.97 L26.72 86.23 L17.86 87.10 L12.99 82.07 L10.47 75.40 L7.48 69.42 L7.97 62.34 L7.54 56.10 L3.82 50.00 L7.26 43.85 L7.77 37.60 L9.66 31.58 L13.83 26.76 L15.41 20.03 L20.13 15.52 L23.95 9.46 L30.84 8.05 L36.79 5.00 L43.45 4.47 L50.00 2.96 L56.51 4.74 L62.56 7.23 L70.43 5.26 L76.58 8.63 L81.55 13.59 L85.77 19.01 L87.70 25.77 L90.27 31.61 L92.84 37.42 L92.81 43.84 L97.70 50.00Z%22 fill=%22none%22 stroke=%22%23FFFFFF%22 stroke-width=%22.7%22 stroke-linejoin=%22bevel%22/%3E%3C/svg%3E"); transform: rotate(120deg); opacity: 1; } 80% { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cpath d=%22M94.32 50.00 L95.81 56.59 L93.34 62.73 L92.45 69.39 L89.37 75.30 L82.66 78.30 L78.08 82.41 L76.04 90.51 L68.47 90.44 L62.48 92.51 L57.00 98.67 L50.00 95.81 L43.15 97.66 L37.08 93.99 L30.52 92.65 L26.34 86.82 L19.31 85.42 L13.46 81.67 L11.18 74.95 L6.75 69.75 L4.81 63.27 L7.23 56.15 L2.35 50.00 L3.89 43.37 L7.08 37.40 L10.89 32.14 L9.33 23.87 L15.37 19.99 L18.96 14.18 L23.82 9.26 L30.32 6.91 L36.28 3.28 L43.55 5.13 L50.00 2.07 L56.50 4.82 L63.75 3.19 L70.12 5.95 L73.48 13.47 L78.60 17.00 L83.40 21.06 L91.20 23.52 L91.47 31.06 L94.91 36.81 L94.27 43.63 L96.05 50.00Z%22 fill=%22none%22 stroke=%22%23BFF6FF%22 stroke-width=%221.6%22 stroke-linejoin=%22bevel%22/%3E%3Cpath d=%22M94.32 50.00 L95.81 56.59 L93.34 62.73 L92.45 69.39 L89.37 75.30 L82.66 78.30 L78.08 82.41 L76.04 90.51 L68.47 90.44 L62.48 92.51 L57.00 98.67 L50.00 95.81 L43.15 97.66 L37.08 93.99 L30.52 92.65 L26.34 86.82 L19.31 85.42 L13.46 81.67 L11.18 74.95 L6.75 69.75 L4.81 63.27 L7.23 56.15 L2.35 50.00 L3.89 43.37 L7.08 37.40 L10.89 32.14 L9.33 23.87 L15.37 19.99 L18.96 14.18 L23.82 9.26 L30.32 6.91 L36.28 3.28 L43.55 5.13 L50.00 2.07 L56.50 4.82 L63.75 3.19 L70.12 5.95 L73.48 13.47 L78.60 17.00 L83.40 21.06 L91.20 23.52 L91.47 31.06 L94.91 36.81 L94.27 43.63 L96.05 50.00Z%22 fill=%22none%22 stroke=%22%23FFFFFF%22 stroke-width=%22.7%22 stroke-linejoin=%22bevel%22/%3E%3C/svg%3E"); transform: rotate(200deg); opacity: .7; } }
@keyframes frBuzz { 0%, 47%, 53%, 100% { filter: drop-shadow(0 0 4px #2BC8FF) drop-shadow(0 0 10px rgba(43, 200, 255, .6)); } 50% { filter: drop-shadow(0 0 8px #E9FDFF) drop-shadow(0 0 20px #2BC8FF); } }
/* diamonds: a ring of cut stones, the light catching them in turn */
.fr-diamond .frm::before { background: repeating-conic-gradient(#FFFFFF 0 4deg, #BFEFFF 4deg 8deg, #7FB8D6 8deg 11deg, #F2FCFF 11deg 15deg); animation: frSpin 14s linear infinite; }
.fr-diamond .frm::after { content: ""; position: absolute; inset: -8px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cpath d=%22M16 15Q17.05 20.95 23 22Q17.05 23.05 16 29Q14.95 23.05 9 22Q14.95 20.95 16 15Z%22 fill=%22%23FFFFFF%22/%3E%3Cpath d=%22M86 25Q86.75 29.25 91 30Q86.75 30.75 86 35Q85.25 30.75 81 30Q85.25 29.25 86 25Z%22 fill=%22%23FFFFFF%22/%3E%3Cpath d=%22M80 76.5Q81.125 82.875 87.5 84Q81.125 85.125 80 91.5Q78.875 85.125 72.5 84Q78.875 82.875 80 76.5Z%22 fill=%22%23FFFFFF%22/%3E%3Cpath d=%22M14 67.5Q14.675 71.325 18.5 72Q14.675 72.675 14 76.5Q13.325 72.675 9.5 72Q13.325 71.325 14 67.5Z%22 fill=%22%23FFFFFF%22/%3E%3Cpath d=%22M50 -1.5Q50.75 2.75 55 3.5Q50.75 4.25 50 8.5Q49.25 4.25 45 3.5Q49.25 2.75 50 -1.5Z%22 fill=%22%23FFFFFF%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; animation: frGlint 2.4s ease-in-out infinite; }
.fr-diamond .frm { filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 8px rgba(160, 230, 255, .65)); }
@keyframes frGlint { 0%, 100% { opacity: .25; transform: scale(.94) rotate(0deg); } 50% { opacity: 1; transform: scale(1.04) rotate(12deg); } }
/* your name in gold: raised, polished, a shine running across it */
.engrave.gold { color: #F6D27A; background: linear-gradient(100deg, #9A6A18 0%, #F6D27A 22%, #FFF6D6 30%, #E8B84A 38%, #B8862B 55%, #FFE9A8 72%, #9A6A18 100%) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: none; filter: drop-shadow(0 1px 0 #4A2E06) drop-shadow(0 -1px 0 rgba(255, 246, 214, .4)) drop-shadow(0 0 7px rgba(255, 200, 90, .35)); animation: goldName 4.5s linear infinite; }
.engrave.gold::before, .engrave.gold::after { height: 1.5px; background: linear-gradient(90deg, transparent, #FFE9A8, #E8B84A, transparent); }
@keyframes goldName { from { background-position: 100% 0; } to { background-position: -120% 0; } }
.t-day .engrave.gold { filter: drop-shadow(0 1px 0 #4A2E06) drop-shadow(0 0 4px rgba(120, 80, 20, .35)); }
@media (prefers-reduced-motion: reduce) { .engrave.gold { animation: none; } }
/* the season's effects, round two */
.t-bubble { border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95) 0 7%, rgba(255, 255, 255, 0) 13%), radial-gradient(circle, rgba(255, 255, 255, 0) 56%, rgba(150, 215, 255, .5) 68%, rgba(255, 160, 235, .55) 80%, rgba(255, 238, 160, .6) 91%, rgba(255, 255, 255, .3) 100%); box-shadow: inset 0 0 5px rgba(255, 255, 255, .35); }
.t-dust { border-radius: 50%; background: radial-gradient(circle, rgba(236, 186, 118, .6), rgba(205, 146, 76, .26) 45%, transparent 70%); }
.t-grain { width: 3px; height: 3px; border-radius: 50%; box-shadow: 0 0 3px rgba(255, 214, 150, .8); }
.t-petal svg { filter: drop-shadow(0 1px 2px rgba(120, 10, 40, .4)); }
.e-night { border-radius: 50%; background: radial-gradient(circle, rgba(34, 56, 132, .6), rgba(16, 26, 74, .38) 45%, transparent 70%); }
.e-moon svg { filter: drop-shadow(0 0 10px rgba(255, 214, 120, .85)); }
.e-hbase { border-radius: 50%; border: 2px solid #6FF6FF; background: radial-gradient(ellipse, rgba(111, 246, 255, .45), rgba(40, 140, 255, .12) 60%, transparent 72%); box-shadow: 0 0 14px #2BC8FF, inset 0 0 10px rgba(111, 246, 255, .6); }
.e-hbeam { transform-origin: 50% 100%; clip-path: polygon(34% 100%, 66% 100%, 100% 0, 0 0); background: linear-gradient(0deg, rgba(111, 246, 255, .55), rgba(43, 200, 255, .16) 70%, transparent); }
.e-hface { border-radius: 50%; mix-blend-mode: screen; background: repeating-linear-gradient(0deg, rgba(111, 246, 255, .3) 0 2px, transparent 2px 4px), radial-gradient(circle, rgba(111, 246, 255, .2), rgba(43, 200, 255, .35) 70%, transparent 72%); }
.e-hscan { height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #E9FDFF, transparent); box-shadow: 0 0 10px #6FF6FF, 0 0 22px #2BC8FF; }
.e-hring { border-radius: 50%; border: 1.6px dashed #6FF6FF; box-shadow: 0 0 10px rgba(43, 200, 255, .8); }
.e-hbit { background: #9FFBFF; box-shadow: 0 0 6px #2BC8FF; }
.e-horse svg { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)) drop-shadow(0 0 10px rgba(255, 200, 90, .55)); }
.e-portal { border-radius: 50%; background: radial-gradient(circle closest-side, transparent 0 60%, rgba(30, 8, 80, .9) 63%, transparent 67%), conic-gradient(#7B2FFF, #19C3FF, #FF3DD9, #FFE14D, #7B2FFF);
  -webkit-mask: radial-gradient(circle closest-side, transparent 0 60%, #000 64% 86%, transparent 100%); mask: radial-gradient(circle closest-side, transparent 0 60%, #000 64% 86%, transparent 100%); filter: drop-shadow(0 0 12px rgba(150, 90, 255, .85)); }
.e-pstar svg { filter: drop-shadow(0 0 6px rgba(246, 210, 122, .9)); }
.e-pdot { width: 4px; height: 4px; border-radius: 50%; box-shadow: 0 0 6px rgba(255, 255, 255, .75); }
.x-pit { border-radius: 50%; background: radial-gradient(circle, #2A1606 0 16%, #6E4218 34%, #B57A3A 56%, rgba(214, 160, 90, .7) 68%, transparent 72%); }
.x-swirl svg { display: block; }
.x-disc { border-radius: 50%; background: conic-gradient(from 0deg, #FFF3C8, #FF9A3C, #B03A8C, #5A2A9E, #FF9A3C, #FFE08A, #FFF8E0, #FFF3C8);
  -webkit-mask: radial-gradient(circle closest-side, transparent 0 26%, #000 32% 62%, transparent 100%); mask: radial-gradient(circle closest-side, transparent 0 26%, #000 32% 62%, transparent 100%); filter: drop-shadow(0 0 8px #FF9A3C) drop-shadow(0 0 16px rgba(255, 120, 60, .6)); }
.x-lens { border-radius: 50%; border: 2px solid rgba(255, 240, 210, .95); box-shadow: 0 0 12px #FFD27A, 0 0 24px rgba(185, 140, 255, .7); }
.x-core { border-radius: 50%; background: radial-gradient(circle, #000 0 70%, rgba(0, 0, 0, .7) 85%, transparent); }
.w-lantern { border-radius: 42% 42% 22% 22% / 34% 34% 14% 14%; background: radial-gradient(ellipse at 50% 85%, #FFF6D6 0 12%, #FFD27A 30%, #FF9A3C 62%, #C9501C 100%); box-shadow: 0 0 14px rgba(255, 170, 70, .85), 0 0 34px rgba(255, 120, 40, .45); }
.w-lantern::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: -6%; height: 10%; border-radius: 0 0 40% 40%; background: #7A3A12; }
.w-beam { width: 3px; transform-origin: 50% 100%; border-radius: 3px; mix-blend-mode: screen; }
.w-neon { color: #FFFFFF; text-shadow: 0 0 4px #fff, 0 0 12px #FF3DD9, 0 0 26px #19E3FF, 0 0 40px #19E3FF; }
.w-rays { border-radius: 50%; background: repeating-conic-gradient(rgba(255, 226, 150, .5) 0 6deg, transparent 6deg 20deg); -webkit-mask: radial-gradient(circle, #000 12%, transparent 68%); mask: radial-gradient(circle, #000 12%, transparent 68%); }
.w-cup svg { filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .55)) drop-shadow(0 0 16px rgba(255, 200, 90, .55)); }
.w-shine { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent); mix-blend-mode: screen; filter: blur(4px); }
.w-sky { background: linear-gradient(180deg, rgba(4, 8, 30, .92), rgba(16, 22, 60, .82) 55%, rgba(48, 26, 50, .75)); }
.w-milky { border-radius: 50%; background: radial-gradient(ellipse, rgba(220, 210, 255, .35), rgba(150, 130, 220, .18) 40%, transparent 70%); filter: blur(6px); }
.w-star { border-radius: 50%; background: #fff; box-shadow: 0 0 4px #fff; }
.w-fall { height: 2px; border-radius: 2px; background: linear-gradient(270deg, #fff, rgba(200, 220, 255, .6) 30%, transparent); transform-origin: 100% 50%; box-shadow: 0 0 6px #fff; }
.w-dunes { line-height: 0; }
.w-dunes svg { display: block; }
.g-word { font-family: Lalezar, Alexandria, sans-serif; color: #FFE9A8; white-space: nowrap; text-shadow: 0 2px 0 #6E4410, 0 0 14px rgba(255, 200, 90, .9); }
/* the store: the season pass's card (its pieces aren't sold), an earned piece's ribbon */
.si-promo { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 15px; text-align: start; color: #FFF6DE;
  background: linear-gradient(120deg, #3A230C, #7A4A16 55%, #3A230C); border: 1.5px solid rgba(244, 196, 106, .7); box-shadow: inset 0 1px 0 rgba(255, 236, 190, .25), 0 6px 16px rgba(0, 0, 0, .3); }
.sp-pics { flex: none; display: flex; }
.sp-pics img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; border: 1.5px solid #F4C46A; box-shadow: 0 2px 6px rgba(0, 0, 0, .45); }
.sp-pics img + img { margin-inline-start: -14px; }
.sp-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sp-t b { font: 700 13.5px/1.35 Alexandria, "Readex Pro", sans-serif; }
.sp-t small { font-size: 11.5px; line-height: 1.45; color: rgba(255, 238, 200, .8); }
.sp-go { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; background: rgba(255, 230, 170, .16); border: 1px solid rgba(244, 196, 106, .55); }
.si-excl { position: absolute; top: 6px; inset-inline-start: 6px; z-index: 2; padding: 2px 7px; border-radius: 999px; font: 700 10px/1.5 Alexandria, "Readex Pro", sans-serif; font-style: normal; color: #2A1A06; background: linear-gradient(120deg, #FFE9A8, #E8B84A); box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
/* round three's frames (2026-11-10) */
.fr-wings .frm::before { background: conic-gradient(#FFF6D6, #F2C14E, #B8862B, #FFE9A8, #F2C14E, #FFF6D6); }
.fr-wings .frm::after { content: ""; position: absolute; inset: -14% -62%; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cg transform=%22translate(72.0 41.3) rotate(-70.0) scale(1 1)%22%3E%3Cpath d=%22M0 0C9.0 -6.5 21.0 -6.5 30.0 0C21.0 3.9 9.0 3.9 0 0Z%22 fill=%22%23FFF1C2%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(72.0 43.0) rotate(-58.1) scale(1 1)%22%3E%3Cpath d=%22M0 0C9.0 -6.5 21.0 -6.5 30.0 0C21.0 3.9 9.0 3.9 0 0Z%22 fill=%22%23FFF1C2%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(72.0 44.8) rotate(-46.2) scale(1 1)%22%3E%3Cpath d=%22M0 0C9.0 -6.5 21.0 -6.5 30.0 0C21.0 3.9 9.0 3.9 0 0Z%22 fill=%22%23FFF1C2%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(72.0 46.5) rotate(-34.4) scale(1 1)%22%3E%3Cpath d=%22M0 0C9.0 -6.5 21.0 -6.5 30.0 0C21.0 3.9 9.0 3.9 0 0Z%22 fill=%22%23FFF1C2%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(72.0 48.3) rotate(-22.5) scale(1 1)%22%3E%3Cpath d=%22M0 0C9.0 -6.5 21.0 -6.5 30.0 0C21.0 3.9 9.0 3.9 0 0Z%22 fill=%22%23FFF1C2%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(72.0 50.0) rotate(-10.6) scale(1 1)%22%3E%3Cpath d=%22M0 0C9.0 -6.5 21.0 -6.5 30.0 0C21.0 3.9 9.0 3.9 0 0Z%22 fill=%22%23FFF1C2%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(72.0 51.8) rotate(1.2) scale(1 1)%22%3E%3Cpath d=%22M0 0C9.0 -6.5 21.0 -6.5 30.0 0C21.0 3.9 9.0 3.9 0 0Z%22 fill=%22%23FFF1C2%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(72.0 53.5) rotate(13.1) scale(1 1)%22%3E%3Cpath d=%22M0 0C9.0 -6.5 21.0 -6.5 30.0 0C21.0 3.9 9.0 3.9 0 0Z%22 fill=%22%23FFF1C2%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(72.0 55.3) rotate(25.0) scale(1 1)%22%3E%3Cpath d=%22M0 0C9.0 -6.5 21.0 -6.5 30.0 0C21.0 3.9 9.0 3.9 0 0Z%22 fill=%22%23FFF1C2%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(74.0 39.5) rotate(-70.0) scale(1 1)%22%3E%3Cpath d=%22M0 0C6.6 -5.5 15.4 -5.5 22.0 0C15.4 3.3 6.6 3.3 0 0Z%22 fill=%22%23F2C14E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(74.0 41.8) rotate(-54.2) scale(1 1)%22%3E%3Cpath d=%22M0 0C6.6 -5.5 15.4 -5.5 22.0 0C15.4 3.3 6.6 3.3 0 0Z%22 fill=%22%23F2C14E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(74.0 44.2) rotate(-38.3) scale(1 1)%22%3E%3Cpath d=%22M0 0C6.6 -5.5 15.4 -5.5 22.0 0C15.4 3.3 6.6 3.3 0 0Z%22 fill=%22%23F2C14E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(74.0 46.5) rotate(-22.5) scale(1 1)%22%3E%3Cpath d=%22M0 0C6.6 -5.5 15.4 -5.5 22.0 0C15.4 3.3 6.6 3.3 0 0Z%22 fill=%22%23F2C14E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(74.0 48.8) rotate(-6.7) scale(1 1)%22%3E%3Cpath d=%22M0 0C6.6 -5.5 15.4 -5.5 22.0 0C15.4 3.3 6.6 3.3 0 0Z%22 fill=%22%23F2C14E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(74.0 51.2) rotate(9.2) scale(1 1)%22%3E%3Cpath d=%22M0 0C6.6 -5.5 15.4 -5.5 22.0 0C15.4 3.3 6.6 3.3 0 0Z%22 fill=%22%23F2C14E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(74.0 53.5) rotate(25.0) scale(1 1)%22%3E%3Cpath d=%22M0 0C6.6 -5.5 15.4 -5.5 22.0 0C15.4 3.3 6.6 3.3 0 0Z%22 fill=%22%23F2C14E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(76.0 38.0) rotate(-70.0) scale(1 1)%22%3E%3Cpath d=%22M0 0C4.2 -4.6 9.8 -4.6 14.0 0C9.8 2.8 4.2 2.8 0 0Z%22 fill=%22%23C98A1E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(76.0 40.8) rotate(-51.0) scale(1 1)%22%3E%3Cpath d=%22M0 0C4.2 -4.6 9.8 -4.6 14.0 0C9.8 2.8 4.2 2.8 0 0Z%22 fill=%22%23C98A1E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(76.0 43.6) rotate(-32.0) scale(1 1)%22%3E%3Cpath d=%22M0 0C4.2 -4.6 9.8 -4.6 14.0 0C9.8 2.8 4.2 2.8 0 0Z%22 fill=%22%23C98A1E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(76.0 46.4) rotate(-13.0) scale(1 1)%22%3E%3Cpath d=%22M0 0C4.2 -4.6 9.8 -4.6 14.0 0C9.8 2.8 4.2 2.8 0 0Z%22 fill=%22%23C98A1E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(76.0 49.2) rotate(6.0) scale(1 1)%22%3E%3Cpath d=%22M0 0C4.2 -4.6 9.8 -4.6 14.0 0C9.8 2.8 4.2 2.8 0 0Z%22 fill=%22%23C98A1E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(76.0 52.0) rotate(25.0) scale(1 1)%22%3E%3Cpath d=%22M0 0C4.2 -4.6 9.8 -4.6 14.0 0C9.8 2.8 4.2 2.8 0 0Z%22 fill=%22%23C98A1E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(28.0 41.3) rotate(70.0) scale(-1 1)%22%3E%3Cpath d=%22M0 0C9.0 -6.5 21.0 -6.5 30.0 0C21.0 3.9 9.0 3.9 0 0Z%22 fill=%22%23FFF1C2%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(28.0 43.0) rotate(58.1) scale(-1 1)%22%3E%3Cpath d=%22M0 0C9.0 -6.5 21.0 -6.5 30.0 0C21.0 3.9 9.0 3.9 0 0Z%22 fill=%22%23FFF1C2%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(28.0 44.8) rotate(46.2) scale(-1 1)%22%3E%3Cpath d=%22M0 0C9.0 -6.5 21.0 -6.5 30.0 0C21.0 3.9 9.0 3.9 0 0Z%22 fill=%22%23FFF1C2%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(28.0 46.5) rotate(34.4) scale(-1 1)%22%3E%3Cpath d=%22M0 0C9.0 -6.5 21.0 -6.5 30.0 0C21.0 3.9 9.0 3.9 0 0Z%22 fill=%22%23FFF1C2%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(28.0 48.3) rotate(22.5) scale(-1 1)%22%3E%3Cpath d=%22M0 0C9.0 -6.5 21.0 -6.5 30.0 0C21.0 3.9 9.0 3.9 0 0Z%22 fill=%22%23FFF1C2%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(28.0 50.0) rotate(10.6) scale(-1 1)%22%3E%3Cpath d=%22M0 0C9.0 -6.5 21.0 -6.5 30.0 0C21.0 3.9 9.0 3.9 0 0Z%22 fill=%22%23FFF1C2%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(28.0 51.8) rotate(-1.2) scale(-1 1)%22%3E%3Cpath d=%22M0 0C9.0 -6.5 21.0 -6.5 30.0 0C21.0 3.9 9.0 3.9 0 0Z%22 fill=%22%23FFF1C2%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(28.0 53.5) rotate(-13.1) scale(-1 1)%22%3E%3Cpath d=%22M0 0C9.0 -6.5 21.0 -6.5 30.0 0C21.0 3.9 9.0 3.9 0 0Z%22 fill=%22%23FFF1C2%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(28.0 55.3) rotate(-25.0) scale(-1 1)%22%3E%3Cpath d=%22M0 0C9.0 -6.5 21.0 -6.5 30.0 0C21.0 3.9 9.0 3.9 0 0Z%22 fill=%22%23FFF1C2%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(26.0 39.5) rotate(70.0) scale(-1 1)%22%3E%3Cpath d=%22M0 0C6.6 -5.5 15.4 -5.5 22.0 0C15.4 3.3 6.6 3.3 0 0Z%22 fill=%22%23F2C14E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(26.0 41.8) rotate(54.2) scale(-1 1)%22%3E%3Cpath d=%22M0 0C6.6 -5.5 15.4 -5.5 22.0 0C15.4 3.3 6.6 3.3 0 0Z%22 fill=%22%23F2C14E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(26.0 44.2) rotate(38.3) scale(-1 1)%22%3E%3Cpath d=%22M0 0C6.6 -5.5 15.4 -5.5 22.0 0C15.4 3.3 6.6 3.3 0 0Z%22 fill=%22%23F2C14E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(26.0 46.5) rotate(22.5) scale(-1 1)%22%3E%3Cpath d=%22M0 0C6.6 -5.5 15.4 -5.5 22.0 0C15.4 3.3 6.6 3.3 0 0Z%22 fill=%22%23F2C14E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(26.0 48.8) rotate(6.7) scale(-1 1)%22%3E%3Cpath d=%22M0 0C6.6 -5.5 15.4 -5.5 22.0 0C15.4 3.3 6.6 3.3 0 0Z%22 fill=%22%23F2C14E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(26.0 51.2) rotate(-9.2) scale(-1 1)%22%3E%3Cpath d=%22M0 0C6.6 -5.5 15.4 -5.5 22.0 0C15.4 3.3 6.6 3.3 0 0Z%22 fill=%22%23F2C14E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(26.0 53.5) rotate(-25.0) scale(-1 1)%22%3E%3Cpath d=%22M0 0C6.6 -5.5 15.4 -5.5 22.0 0C15.4 3.3 6.6 3.3 0 0Z%22 fill=%22%23F2C14E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(24.0 38.0) rotate(70.0) scale(-1 1)%22%3E%3Cpath d=%22M0 0C4.2 -4.6 9.8 -4.6 14.0 0C9.8 2.8 4.2 2.8 0 0Z%22 fill=%22%23C98A1E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(24.0 40.8) rotate(51.0) scale(-1 1)%22%3E%3Cpath d=%22M0 0C4.2 -4.6 9.8 -4.6 14.0 0C9.8 2.8 4.2 2.8 0 0Z%22 fill=%22%23C98A1E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(24.0 43.6) rotate(32.0) scale(-1 1)%22%3E%3Cpath d=%22M0 0C4.2 -4.6 9.8 -4.6 14.0 0C9.8 2.8 4.2 2.8 0 0Z%22 fill=%22%23C98A1E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(24.0 46.4) rotate(13.0) scale(-1 1)%22%3E%3Cpath d=%22M0 0C4.2 -4.6 9.8 -4.6 14.0 0C9.8 2.8 4.2 2.8 0 0Z%22 fill=%22%23C98A1E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(24.0 49.2) rotate(-6.0) scale(-1 1)%22%3E%3Cpath d=%22M0 0C4.2 -4.6 9.8 -4.6 14.0 0C9.8 2.8 4.2 2.8 0 0Z%22 fill=%22%23C98A1E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3Cg transform=%22translate(24.0 52.0) rotate(-25.0) scale(-1 1)%22%3E%3Cpath d=%22M0 0C4.2 -4.6 9.8 -4.6 14.0 0C9.8 2.8 4.2 2.8 0 0Z%22 fill=%22%23C98A1E%22 stroke=%22%238A5A14%22 stroke-width=%22.5%22/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; transform-origin: 50% 50%; animation: frFlap 2.8s ease-in-out infinite; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45)) drop-shadow(0 0 6px rgba(255, 200, 90, .5)); }
@keyframes frFlap { 0%, 100% { transform: scaleX(1) translateY(0); } 50% { transform: scaleX(1.08) translateY(-2%); } }
.fr-jasmine .frm::before { background: conic-gradient(#FFFFFF, #E9F4E6, #3E9A55, #FFFFFF, #E9F4E6, #FFFFFF); }
.fr-jasmine .frm::after { content: ""; position: absolute; inset: -10px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22-6 -6 112 112%22%3E%3Cg transform=%22translate(95.0 50.0) rotate(90.0)%22%3E%3Cpath d=%22M-6 0C-4 -3 -1 -3 0 0C-1 3 -4 3 -6 0Z%22 fill=%22%233E9A55%22/%3E%3Cpath d=%22M6 0C4 -3 1 -3 0 0C1 3 4 3 6 0Z%22 fill=%22%232C7A45%22/%3E%3C/g%3E%3Cg transform=%22translate(90.5 69.5) rotate(115.7)%22%3E%3Cpath d=%22M-6 0C-4 -3 -1 -3 0 0C-1 3 -4 3 -6 0Z%22 fill=%22%233E9A55%22/%3E%3Cpath d=%22M6 0C4 -3 1 -3 0 0C1 3 4 3 6 0Z%22 fill=%22%232C7A45%22/%3E%3C/g%3E%3Cg transform=%22translate(78.1 85.2) rotate(141.4)%22%3E%3Cpath d=%22M-6 0C-4 -3 -1 -3 0 0C-1 3 -4 3 -6 0Z%22 fill=%22%233E9A55%22/%3E%3Cpath d=%22M6 0C4 -3 1 -3 0 0C1 3 4 3 6 0Z%22 fill=%22%232C7A45%22/%3E%3C/g%3E%3Cg transform=%22translate(60.0 93.9) rotate(167.1)%22%3E%3Cpath d=%22M-6 0C-4 -3 -1 -3 0 0C-1 3 -4 3 -6 0Z%22 fill=%22%233E9A55%22/%3E%3Cpath d=%22M6 0C4 -3 1 -3 0 0C1 3 4 3 6 0Z%22 fill=%22%232C7A45%22/%3E%3C/g%3E%3Cg transform=%22translate(40.0 93.9) rotate(192.9)%22%3E%3Cpath d=%22M-6 0C-4 -3 -1 -3 0 0C-1 3 -4 3 -6 0Z%22 fill=%22%233E9A55%22/%3E%3Cpath d=%22M6 0C4 -3 1 -3 0 0C1 3 4 3 6 0Z%22 fill=%22%232C7A45%22/%3E%3C/g%3E%3Cg transform=%22translate(21.9 85.2) rotate(218.6)%22%3E%3Cpath d=%22M-6 0C-4 -3 -1 -3 0 0C-1 3 -4 3 -6 0Z%22 fill=%22%233E9A55%22/%3E%3Cpath d=%22M6 0C4 -3 1 -3 0 0C1 3 4 3 6 0Z%22 fill=%22%232C7A45%22/%3E%3C/g%3E%3Cg transform=%22translate(9.5 69.5) rotate(244.3)%22%3E%3Cpath d=%22M-6 0C-4 -3 -1 -3 0 0C-1 3 -4 3 -6 0Z%22 fill=%22%233E9A55%22/%3E%3Cpath d=%22M6 0C4 -3 1 -3 0 0C1 3 4 3 6 0Z%22 fill=%22%232C7A45%22/%3E%3C/g%3E%3Cg transform=%22translate(5.0 50.0) rotate(270.0)%22%3E%3Cpath d=%22M-6 0C-4 -3 -1 -3 0 0C-1 3 -4 3 -6 0Z%22 fill=%22%233E9A55%22/%3E%3Cpath d=%22M6 0C4 -3 1 -3 0 0C1 3 4 3 6 0Z%22 fill=%22%232C7A45%22/%3E%3C/g%3E%3Cg transform=%22translate(9.5 30.5) rotate(295.7)%22%3E%3Cpath d=%22M-6 0C-4 -3 -1 -3 0 0C-1 3 -4 3 -6 0Z%22 fill=%22%233E9A55%22/%3E%3Cpath d=%22M6 0C4 -3 1 -3 0 0C1 3 4 3 6 0Z%22 fill=%22%232C7A45%22/%3E%3C/g%3E%3Cg transform=%22translate(21.9 14.8) rotate(321.4)%22%3E%3Cpath d=%22M-6 0C-4 -3 -1 -3 0 0C-1 3 -4 3 -6 0Z%22 fill=%22%233E9A55%22/%3E%3Cpath d=%22M6 0C4 -3 1 -3 0 0C1 3 4 3 6 0Z%22 fill=%22%232C7A45%22/%3E%3C/g%3E%3Cg transform=%22translate(40.0 6.1) rotate(347.1)%22%3E%3Cpath d=%22M-6 0C-4 -3 -1 -3 0 0C-1 3 -4 3 -6 0Z%22 fill=%22%233E9A55%22/%3E%3Cpath d=%22M6 0C4 -3 1 -3 0 0C1 3 4 3 6 0Z%22 fill=%22%232C7A45%22/%3E%3C/g%3E%3Cg transform=%22translate(60.0 6.1) rotate(372.9)%22%3E%3Cpath d=%22M-6 0C-4 -3 -1 -3 0 0C-1 3 -4 3 -6 0Z%22 fill=%22%233E9A55%22/%3E%3Cpath d=%22M6 0C4 -3 1 -3 0 0C1 3 4 3 6 0Z%22 fill=%22%232C7A45%22/%3E%3C/g%3E%3Cg transform=%22translate(78.1 14.8) rotate(398.6)%22%3E%3Cpath d=%22M-6 0C-4 -3 -1 -3 0 0C-1 3 -4 3 -6 0Z%22 fill=%22%233E9A55%22/%3E%3Cpath d=%22M6 0C4 -3 1 -3 0 0C1 3 4 3 6 0Z%22 fill=%22%232C7A45%22/%3E%3C/g%3E%3Cg transform=%22translate(90.5 30.5) rotate(424.3)%22%3E%3Cpath d=%22M-6 0C-4 -3 -1 -3 0 0C-1 3 -4 3 -6 0Z%22 fill=%22%233E9A55%22/%3E%3Cpath d=%22M6 0C4 -3 1 -3 0 0C1 3 4 3 6 0Z%22 fill=%22%232C7A45%22/%3E%3C/g%3E%3Cg transform=%22translate(93.9 60.0) rotate(0)%22%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(0)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(72)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(144)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(216)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(288)%22/%3E%3Ccircle r=%221.1%22 fill=%22%23F4D27A%22/%3E%3C/g%3E%3Cg transform=%22translate(85.2 78.1) rotate(23)%22%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(0)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(72)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(144)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(216)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(288)%22/%3E%3Ccircle r=%221.1%22 fill=%22%23F4D27A%22/%3E%3C/g%3E%3Cg transform=%22translate(69.5 90.5) rotate(46)%22%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(0)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(72)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(144)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(216)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(288)%22/%3E%3Ccircle r=%221.1%22 fill=%22%23F4D27A%22/%3E%3C/g%3E%3Cg transform=%22translate(50.0 95.0) rotate(69)%22%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(0)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(72)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(144)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(216)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(288)%22/%3E%3Ccircle r=%221.1%22 fill=%22%23F4D27A%22/%3E%3C/g%3E%3Cg transform=%22translate(30.5 90.5) rotate(92)%22%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(0)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(72)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(144)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(216)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(288)%22/%3E%3Ccircle r=%221.1%22 fill=%22%23F4D27A%22/%3E%3C/g%3E%3Cg transform=%22translate(14.8 78.1) rotate(115)%22%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(0)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(72)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(144)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(216)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(288)%22/%3E%3Ccircle r=%221.1%22 fill=%22%23F4D27A%22/%3E%3C/g%3E%3Cg transform=%22translate(6.1 60.0) rotate(138)%22%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(0)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(72)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(144)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(216)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(288)%22/%3E%3Ccircle r=%221.1%22 fill=%22%23F4D27A%22/%3E%3C/g%3E%3Cg transform=%22translate(6.1 40.0) rotate(161)%22%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(0)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(72)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(144)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(216)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(288)%22/%3E%3Ccircle r=%221.1%22 fill=%22%23F4D27A%22/%3E%3C/g%3E%3Cg transform=%22translate(14.8 21.9) rotate(184)%22%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(0)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(72)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(144)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(216)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(288)%22/%3E%3Ccircle r=%221.1%22 fill=%22%23F4D27A%22/%3E%3C/g%3E%3Cg transform=%22translate(30.5 9.5) rotate(207)%22%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(0)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(72)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(144)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(216)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(288)%22/%3E%3Ccircle r=%221.1%22 fill=%22%23F4D27A%22/%3E%3C/g%3E%3Cg transform=%22translate(50.0 5.0) rotate(230)%22%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(0)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(72)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(144)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(216)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(288)%22/%3E%3Ccircle r=%221.1%22 fill=%22%23F4D27A%22/%3E%3C/g%3E%3Cg transform=%22translate(69.5 9.5) rotate(253)%22%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(0)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(72)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(144)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(216)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(288)%22/%3E%3Ccircle r=%221.1%22 fill=%22%23F4D27A%22/%3E%3C/g%3E%3Cg transform=%22translate(85.2 21.9) rotate(276)%22%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(0)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(72)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(144)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(216)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(288)%22/%3E%3Ccircle r=%221.1%22 fill=%22%23F4D27A%22/%3E%3C/g%3E%3Cg transform=%22translate(93.9 40.0) rotate(299)%22%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(0)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(72)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(144)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(216)%22/%3E%3Cellipse cx=%220%22 cy=%22-2.6%22 rx=%221.6%22 ry=%222.6%22 fill=%22%23FFFFFF%22 stroke=%22%23E8E2D0%22 stroke-width=%22.3%22 transform=%22rotate(288)%22/%3E%3Ccircle r=%221.1%22 fill=%22%23F4D27A%22/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .4)); }
.fr-orbit .frm::before { background: conic-gradient(#0B1E4A, #3E82FF, #E9F6FF, #3E82FF, #0B1E4A); }
.fr-orbit .frm::after { content: ""; position: absolute; inset: -9px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2247%22 fill=%22none%22 stroke=%22%239FD3FF%22 stroke-width=%22.5%22 stroke-dasharray=%221.5 2.5%22 opacity=%22.8%22/%3E%3Ccircle cx=%2297%22 cy=%2250%22 r=%223.6%22 fill=%22%23E9F6FF%22/%3E%3Ccircle cx=%2296%22 cy=%2249%22 r=%221.4%22 fill=%22%23fff%22/%3E%3Ccircle cx=%227%22 cy=%2240%22 r=%222.4%22 fill=%22%23FFD27A%22/%3E%3C/svg%3E") center / 100% 100% no-repeat; animation: frSpin 6s linear infinite; filter: drop-shadow(0 0 4px rgba(160, 210, 255, .9)); }
.fr-orbit .frm { filter: drop-shadow(0 0 6px rgba(80, 140, 255, .55)); }
.fr-arabesque .frm::before { background: conic-gradient(#3A2408, #F6D27A, #3A2408, #F6D27A, #3A2408); }
.fr-arabesque .frm::after { content: ""; position: absolute; inset: -8px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2246%22 fill=%22none%22 stroke=%22%23B8862B%22 stroke-width=%227.5%22/%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2246%22 fill=%22none%22 stroke=%22%233A2408%22 stroke-width=%226%22/%3E%3Cg transform=%22translate(96.0 50.0) rotate(0.0)%22%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22/%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22 transform=%22rotate(45)%22/%3E%3Ccircle r=%221.3%22 fill=%22%23FFF3C4%22/%3E%3C/g%3E%3Cg transform=%22translate(89.8 73.0) rotate(30.0)%22%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22/%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22 transform=%22rotate(45)%22/%3E%3Ccircle r=%221.3%22 fill=%22%23FFF3C4%22/%3E%3C/g%3E%3Cg transform=%22translate(73.0 89.8) rotate(60.0)%22%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22/%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22 transform=%22rotate(45)%22/%3E%3Ccircle r=%221.3%22 fill=%22%23FFF3C4%22/%3E%3C/g%3E%3Cg transform=%22translate(50.0 96.0) rotate(90.0)%22%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22/%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22 transform=%22rotate(45)%22/%3E%3Ccircle r=%221.3%22 fill=%22%23FFF3C4%22/%3E%3C/g%3E%3Cg transform=%22translate(27.0 89.8) rotate(120.0)%22%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22/%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22 transform=%22rotate(45)%22/%3E%3Ccircle r=%221.3%22 fill=%22%23FFF3C4%22/%3E%3C/g%3E%3Cg transform=%22translate(10.2 73.0) rotate(150.0)%22%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22/%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22 transform=%22rotate(45)%22/%3E%3Ccircle r=%221.3%22 fill=%22%23FFF3C4%22/%3E%3C/g%3E%3Cg transform=%22translate(4.0 50.0) rotate(180.0)%22%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22/%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22 transform=%22rotate(45)%22/%3E%3Ccircle r=%221.3%22 fill=%22%23FFF3C4%22/%3E%3C/g%3E%3Cg transform=%22translate(10.2 27.0) rotate(210.0)%22%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22/%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22 transform=%22rotate(45)%22/%3E%3Ccircle r=%221.3%22 fill=%22%23FFF3C4%22/%3E%3C/g%3E%3Cg transform=%22translate(27.0 10.2) rotate(240.0)%22%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22/%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22 transform=%22rotate(45)%22/%3E%3Ccircle r=%221.3%22 fill=%22%23FFF3C4%22/%3E%3C/g%3E%3Cg transform=%22translate(50.0 4.0) rotate(270.0)%22%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22/%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22 transform=%22rotate(45)%22/%3E%3Ccircle r=%221.3%22 fill=%22%23FFF3C4%22/%3E%3C/g%3E%3Cg transform=%22translate(73.0 10.2) rotate(300.0)%22%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22/%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22 transform=%22rotate(45)%22/%3E%3Ccircle r=%221.3%22 fill=%22%23FFF3C4%22/%3E%3C/g%3E%3Cg transform=%22translate(89.8 27.0) rotate(330.0)%22%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22/%3E%3Crect x=%22-3.6%22 y=%22-3.6%22 width=%227.2%22 height=%227.2%22 fill=%22none%22 stroke=%22%23F6D27A%22 stroke-width=%221%22 transform=%22rotate(45)%22/%3E%3Ccircle r=%221.3%22 fill=%22%23FFF3C4%22/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; animation: frSpin 30s linear infinite; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)) drop-shadow(0 0 5px rgba(246, 210, 122, .45)); }
.fr-silver .frm::before { background: conic-gradient(#FFFFFF, #B9C1CC, #6E7784, #E6EAF0, #9AA3AF, #FFFFFF); }
.fr-silver .frm { filter: drop-shadow(0 0 5px rgba(220, 230, 245, .55)); }
/* your name in embers: glowing hot, flickering as a fire does */
.engrave.ember { color: #FFD9A0; text-shadow: 0 0 2px #FFF3D6, 0 0 8px #FF8A2A, 0 0 16px #FF4A10, 0 0 26px rgba(255, 60, 10, .6); animation: emberName 1.6s ease-in-out infinite alternate; }
.engrave.ember::before, .engrave.ember::after { background: linear-gradient(90deg, transparent, #FF8A2A, transparent); box-shadow: 0 0 8px #FF6A20; }
@keyframes emberName { 0% { color: #FFD9A0; text-shadow: 0 0 2px #FFF3D6, 0 0 8px #FF8A2A, 0 0 16px #FF4A10, 0 0 26px rgba(255, 60, 10, .6); } 40% { color: #FFC070; text-shadow: 0 0 1px #FFE3B0, 0 0 6px #FF7A1A, 0 0 12px #E03A08, 0 0 20px rgba(220, 50, 8, .5); } 100% { color: #FFE6B8; text-shadow: 0 0 3px #FFF8E6, 0 0 10px #FF9A3A, 0 0 20px #FF5A18, 0 0 32px rgba(255, 80, 20, .7); } }
.t-day .engrave.ember { color: #8A2A06; }
@media (prefers-reduced-motion: reduce) { .engrave.ember { animation: none; } .fr-wings .frm::after { animation: none; } }
/* round three's effects (2026-11-10) */
.t-shard svg, .t-feather svg { filter: drop-shadow(0 0 4px rgba(190, 240, 255, .7)); }
.t-feather svg { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.t-letter { font: 700 16px/1 Alexandria, "Readex Pro", sans-serif; color: #FFE9A8; text-shadow: 0 0 8px rgba(255, 200, 90, .9), 0 1px 0 #7A4C0E; white-space: nowrap; }
.bfw { transform-origin: 20px 16px; animation: bfFlap .22s ease-in-out infinite alternate; }
@keyframes bfFlap { from { transform: scaleX(1); } to { transform: scaleX(.25); } }
.t-butterfly svg { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4)); }
.t-smoke, .x-smoke { border-radius: 50%; filter: blur(2px); }
.x-smoke { background: radial-gradient(circle, rgba(70, 60, 60, .7), rgba(40, 35, 35, .3) 50%, transparent 70%); }
.e-tail svg { filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .45)) drop-shadow(0 0 10px rgba(40, 200, 170, .45)); }
.e-tail { transform-origin: 50% 100%; }
.e-lion svg { filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .5)) drop-shadow(0 0 14px rgba(255, 200, 90, .6)); }
.e-pane svg { filter: drop-shadow(0 0 8px rgba(200, 240, 255, .6)); }
.e-falls { background: repeating-linear-gradient(90deg, rgba(255, 214, 120, 0) 0 6px, rgba(255, 226, 150, .38) 6px 9px, rgba(255, 214, 120, 0) 9px 15px), linear-gradient(180deg, rgba(255, 230, 160, .5), rgba(255, 200, 90, .15)); filter: blur(.6px); border-radius: 30% 30% 8px 8px / 10% 10% 8px 8px; }
.e-beam { clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, rgba(255, 252, 235, .85), rgba(255, 244, 205, .35) 60%, rgba(255, 240, 190, 0)); filter: blur(2px); }
.e-mote { width: 3px; height: 3px; border-radius: 50%; background: #FFF8E0; box-shadow: 0 0 5px #FFF3C4; }
.x-seal svg { filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .55)); }
.x-lavadrop { border-radius: 50%; background: radial-gradient(circle, #FFF3C8, #FF9A2A 45%, #C8300A); box-shadow: 0 0 8px #FF7A1A; }
.x-cracks svg { filter: drop-shadow(0 0 4px rgba(190, 240, 255, .9)); }
.x-glove svg { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.x-ko { font-family: Lalezar, Alexandria, sans-serif; font-weight: 800; color: #FFE14D; white-space: nowrap; -webkit-text-stroke: 1.5px #B3120F; text-shadow: 3px 3px 0 #B3120F, 0 0 16px rgba(255, 220, 80, .8); direction: ltr; }
.w-jet svg { filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); }
.w-trail { border-radius: 50%; filter: blur(3px); }
.w-gem svg { filter: drop-shadow(0 0 6px rgba(255, 255, 255, .6)); }
.w-aurora { border-radius: 50%; filter: blur(14px); mix-blend-mode: screen; }
.w-jetw { width: 6px; border-radius: 6px; transform-origin: 50% 100%; filter: blur(.6px); }
.w-drop { width: 5px; height: 5px; border-radius: 50%; box-shadow: 0 0 6px #fff; }
.dvw { transform-origin: 30px 21px; animation: dvFlap .3s ease-in-out infinite alternate; }
@keyframes dvFlap { from { transform: scaleY(1); } to { transform: scaleY(-.35); } }
.w-dove svg { filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .3)); }
.g-mist { border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 150, .6), rgba(200, 140, 70, .25) 50%, transparent 70%); filter: blur(2px); }
.g-note svg { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
@media (prefers-reduced-motion: reduce) { .bfw, .dvw { animation: none; } }
/* ---------- the lobby's season and missions cards (2026-11-10) ---------- */
.prog-row { gap: 9px; }
.pass-strip, .quest-strip { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 7px; min-height: 116px; padding: 10px 11px 9px; border-radius: 17px; text-align: start; color: #FFF6E4; }
.pass-strip { border: 1px solid rgba(255, 205, 120, .7); background: #1A1030; box-shadow: 0 8px 20px rgba(40, 20, 10, .28), inset 0 1px 0 rgba(255, 230, 180, .25); }
.ps-sky { position: absolute; inset: 0; z-index: -1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 26C28 14 52 16 80 25S138 10 200 21V40H0Z' fill='%232A1420'/%3E%3Cpath d='M0 34C40 25 72 27 110 34S168 27 200 31V40H0Z' fill='%23140A10'/%3E%3C/svg%3E") bottom / 100% 34% no-repeat, radial-gradient(1.2px 1.2px at 18% 16%, #fff, transparent), radial-gradient(1px 1px at 46% 10%, #fff, transparent), radial-gradient(1.3px 1.3px at 70% 24%, #fff, transparent), radial-gradient(1px 1px at 88% 12%, #fff, transparent), radial-gradient(55% 45% at 80% 88%, rgba(255, 196, 110, .6), transparent 70%), linear-gradient(180deg, #1C1238 0%, #45214E 42%, #A34E4A 78%, #E08A4C 100%); }
.pass-strip::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255, 240, 210, .16), transparent); animation: rpShine 7s ease-in-out infinite; }
.ps-top, .ps-mid, .ps-foot { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ps-top { gap: 6px; }
.ps-crest { flex: none; width: 24px; height: 28px; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: linear-gradient(160deg, #FFF0C2, #E5A651 50%, #8E531B); }
.ps-crest b { font: 400 17px/1 Lalezar, Alexandria, sans-serif; color: #2A1606; margin-top: 2px; }
.ps-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ps-name b { font: 700 13px/1.2 Alexandria, "Readex Pro", sans-serif; color: #FFFFFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.ps-name small { font-size: 10.5px; color: rgba(255, 236, 200, .82); }
.pass-strip .ps-lv { flex: none; width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; display: flex; flex-direction: column; align-items: center; line-height: 1; color: inherit; font-size: inherit; }
.pass-strip .ps-lv small { font-size: 9px; font-weight: 700; color: rgba(255, 236, 200, .78); }
.pass-strip .ps-lv b { font: 400 26px/1 Lalezar, Alexandria, sans-serif; color: #FFE3A0; text-shadow: 0 2px 6px rgba(0, 0, 0, .45); }
.ps-prog { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ps-prog small { font-size: 10px; color: rgba(255, 236, 200, .85); font-variant-numeric: tabular-nums; }
.pass-strip .ps-bar { height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .38); box-shadow: inset 0 0 0 1px rgba(255, 220, 160, .25); }
.ps-next { flex: none; width: 38px; height: 38px; border-radius: 10px; overflow: hidden; border: 1.5px solid #9AA3B5; box-shadow: 0 3px 8px rgba(0, 0, 0, .45); }
.ps-next img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ps-next.r-r { border-color: #4DA3FF; } .ps-next.r-e { border-color: #B46CFF; } .ps-next.r-l { border-color: #FFB13D; } .ps-next.r-m { border-color: #FF6A6A; box-shadow: 0 0 10px rgba(255, 70, 90, .55); }
.ps-next.lock img { filter: saturate(.55) brightness(.7); }
.ps-foot { justify-content: space-between; }
.ps-plus { font-size: 10.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: rgba(0, 0, 0, .32); border: 1px solid rgba(255, 220, 160, .5); color: #FFE3A0; white-space: nowrap; }
.ps-plus.on { background: linear-gradient(120deg, #FFE9A8, #E8B84A); color: #2A1A06; border-color: transparent; }
.quest-strip { border: 1px solid rgba(110, 230, 200, .55); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%237FF0D0' stroke-width='.8' opacity='.16'%3E%3Crect x='12' y='12' width='16' height='16'/%3E%3Crect x='12' y='12' width='16' height='16' transform='rotate(45 20 20)'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 34px 34px, radial-gradient(90% 80% at 85% 0%, rgba(80, 220, 180, .28), transparent 60%), linear-gradient(160deg, #0E423D, #0A2C34 60%, #081C26); box-shadow: 0 8px 20px rgba(5, 30, 30, .28), inset 0 1px 0 rgba(160, 255, 225, .2); }
.qs-top, .qs-foot { display: flex; align-items: center; gap: 7px; min-width: 0; }
.quest-strip .qs-ic { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(160, 255, 225, .3); }
.qs-top b { flex: 1; min-width: 0; font: 700 14px/1.2 Alexandria, "Readex Pro", sans-serif; color: #FFFFFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qs-run { flex: none; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(255, 120, 40, .2); color: #FFC08A; border: 1px solid rgba(255, 140, 60, .45); }
.qs-rings { display: flex; justify-content: space-between; gap: 4px; padding-inline: 1px; }
.qs-ring { --p: 0; flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#5FF0C8 calc(var(--p) * 1%), rgba(255, 255, 255, .14) 0); }
.qs-ring i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 14px; background: #0B2C31; }
.qs-ring.got { background: conic-gradient(#F4C46A 0 100%); }
.qs-ring.got i { background: linear-gradient(160deg, #FFE9A8, #E8B84A); color: #2A1A06; font-weight: 800; }
.qs-ring.ready { background: conic-gradient(#5FF0C8 0 100%); }
@media (prefers-reduced-motion: no-preference) { .qs-ring.ready { animation: qsGlow 1.3s ease-in-out infinite alternate; } }
@keyframes qsGlow { from { box-shadow: 0 0 0 0 rgba(95, 240, 200, 0); } to { box-shadow: 0 0 12px 2px rgba(95, 240, 200, .75); } }
.qs-foot { justify-content: space-between; }
.qs-foot .qs-clock { flex: none; font-variant-numeric: tabular-nums; color: rgba(210, 245, 235, .7); }
.qs-foot small { font-size: 10.5px; color: rgba(210, 245, 235, .82); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qs-guest { font-size: 11.5px; line-height: 1.55; color: rgba(210, 245, 235, .88); }
@media (max-width: 360px) { .qs-ring { width: 33px; height: 33px; } .qs-ring i { width: 26px; height: 26px; font-size: 12px; } .ps-next { width: 32px; height: 32px; } .pass-strip .ps-lv b { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .pass-strip::after { animation: none; } }
/* the pass screen's «شراء مستوى» and its sheet */
.rp-lvbuy { flex: none; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 10px; border-radius: 13px; background: linear-gradient(180deg, #FFFFFF, #E9E2D4); color: #2A1A06; border: 0; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.rp-lvbuy svg { width: 16px; height: 16px; fill: none; stroke: #B8862B; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.rp-lvbuy span { font: 700 12px/1.2 Alexandria, "Readex Pro", sans-serif; white-space: nowrap; }
.rp-lvbuy em { font-style: normal; font-size: 10px; font-weight: 700; color: #8A5A14; white-space: nowrap; }
.rp-lvbuy:focus-visible { outline: 2px solid #FFE3A0; outline-offset: 2px; }
.bl { position: fixed; inset: 0; z-index: 80; display: grid; place-items: end center; padding: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(4, 4, 12, .62); }
.bl[hidden] { display: none; }
.bl-in { width: min(100%, 400px); display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 22px; background: linear-gradient(180deg, #2A1C10, #140D08); border: 1px solid rgba(255, 210, 140, .42); box-shadow: 0 -10px 40px rgba(0, 0, 0, .6); color: #FFF3DC; }
@media (prefers-reduced-motion: no-preference) { .bl-in { animation: blUp .3s cubic-bezier(.2, .9, .3, 1); } }
@keyframes blUp { from { transform: translateY(30px); opacity: 0; } }
.bl-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bl-h b { font: 400 24px/1.2 Lalezar, Alexandria, sans-serif; color: #FFE3A0; }
.bl-x, .sad-x { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #FFF3DC; }
.bl-x svg, .sad-x svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.bl-jump { display: flex; align-items: center; justify-content: center; gap: 14px; }
.bl-lv { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bl-lv b { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font: 400 30px/1 Lalezar, Alexandria, sans-serif; color: #2A1A06; background: radial-gradient(circle at 35% 30%, #FFE7A6, #E9A85A 60%, #A8692C); box-shadow: 0 0 0 3px rgba(255, 220, 150, .22); }
.bl-lv.to b { background: radial-gradient(circle at 35% 30%, #FFF6D6, #F2C14E 55%, #B8862B); box-shadow: 0 0 0 3px #FFE3A0, 0 0 22px rgba(255, 200, 90, .7); }
.bl-lv small { font-size: 11px; color: rgba(255, 230, 190, .75); }
.bl-arw svg { width: 26px; height: 26px; fill: none; stroke: #F4C46A; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; display: block; }
.bl-step { display: flex; align-items: center; justify-content: center; gap: 14px; }
.bl-step button { width: 44px; height: 44px; border-radius: 50%; font-size: 24px; font-weight: 700; line-height: 1; color: #2A1A06; background: linear-gradient(180deg, #FFE9A8, #E8B84A); border: 0; }
.bl-step button:disabled { opacity: .3; }
.bl-step output { min-width: 120px; text-align: center; font: 700 18px/1.2 Alexandria, "Readex Pro", sans-serif; color: #FFFFFF; }
.bl-quick { display: flex; gap: 8px; }
.bl-quick button { flex: 1; padding: 8px 0; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 220, 160, .3); color: #FFE3A0; font-weight: 700; font-size: 13px; }
.bl-quick button[aria-pressed="true"] { background: rgba(244, 196, 106, .24); border-color: #F4C46A; color: #FFFFFF; }
.bl-gets { display: flex; justify-content: center; gap: 6px; min-height: 44px; flex-wrap: wrap; }
.bl-g { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; border: 1.5px solid #8892A6; }
.bl-g img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bl-g.r-r { border-color: #4DA3FF; } .bl-g.r-e { border-color: #B46CFF; } .bl-g.r-l { border-color: #FFB13D; } .bl-g.r-m { border-color: #FF6A6A; box-shadow: 0 0 8px rgba(255, 80, 90, .5); }
.bl-more { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #FFE3A0; font-weight: 800; font-size: 13px; }
.bl-note { margin: 0; text-align: center; font-size: 12px; color: rgba(255, 230, 190, .78); font-variant-numeric: tabular-nums; }
.bl-buy { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px; border-radius: 16px; font: 700 16px/1.2 Alexandria, "Readex Pro", sans-serif; color: #2A1A06; background: linear-gradient(180deg, #FFE9A8, #E8B84A 55%, #C98A2E); border: 0; box-shadow: 0 6px 18px rgba(232, 184, 74, .35); }
.bl-buy .price { display: inline-flex; align-items: center; gap: 4px; }
.bl-buy .rp-coin { width: 20px; height: 20px; }
.bl-buy.sure { background: linear-gradient(180deg, #FFC9A0, #F08A4A); }
.bl-buy:disabled { opacity: .55; filter: grayscale(.35); }
/* the season's announcement over the lobby */
.sad { position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: 16px; background: rgba(4, 4, 12, .74); }
.sad[hidden] { display: none; }
.sad-in { width: min(100%, 420px); max-height: calc(100% - 8px); overflow-y: auto; border-radius: 24px; background: #140D1E; border: 1px solid rgba(255, 210, 140, .42); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); color: #F6EFE0; }
@media (prefers-reduced-motion: no-preference) { .sad-in { animation: sadIn .5s cubic-bezier(.2, .9, .3, 1.15); } }
@keyframes sadIn { from { transform: translateY(24px) scale(.94); opacity: 0; } }
.sad-hero { position: relative; height: 196px; overflow: hidden; }
.sad-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 13, 30, 1) 0%, rgba(20, 13, 30, .2) 55%, rgba(20, 13, 30, 0) 75%); }
.sad-x { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; }
.sad-head { position: absolute; inset-inline: 16px; bottom: 10px; z-index: 1; display: flex; align-items: center; gap: 12px; }
.sad .rp-crest { width: 64px; height: 72px; } .sad .rp-crest b { font-size: 34px; }
.sad-tt { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.sad-k { font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #F4C46A; }
.sad-tt h2 { margin: 0; font: 400 36px/1.05 Lalezar, Alexandria, sans-serif; color: #FFFFFF; text-shadow: 0 3px 14px rgba(0, 0, 0, .55); }
.sad-body { display: flex; flex-direction: column; gap: 12px; padding: 12px 16px 16px; }
.sad-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sad-feats li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 14px; background: rgba(244, 196, 106, .08); border: 1px solid rgba(244, 196, 106, .28); }
.sad-feats b { font: 400 28px/1 Lalezar, Alexandria, sans-serif; color: #FFE3A0; }
.sad-feats span { font-size: 11.5px; color: rgba(246, 239, 224, .82); }
.sad-show { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sad-it { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 4px; text-align: center; }
.sad-it img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; border: 1.5px solid #FF6A6A; box-shadow: 0 0 10px rgba(255, 70, 90, .35); display: block; }
.sad-it i { position: absolute; top: 4px; inset-inline-start: 4px; font-style: normal; font-size: 9px; font-weight: 800; padding: 1px 6px; border-radius: 999px; background: linear-gradient(100deg, #FF4D6D, #FF9A3C); color: #FFFFFF; }
.sad-it b { font-size: 10.5px; font-weight: 600; line-height: 1.3; color: #F6EFE0; }
.sad-p { margin: 0; font-size: 13px; line-height: 1.7; text-align: center; color: rgba(246, 239, 224, .86); }
.sad-go { padding: 13px; border-radius: 16px; font: 700 16px/1.2 Alexandria, "Readex Pro", sans-serif; color: #2A1A06; background: linear-gradient(180deg, #FFE9A8, #E8B84A 55%, #C98A2E); border: 0; box-shadow: 0 6px 18px rgba(232, 184, 74, .35); }
.sad-later { padding: 6px; background: none; border: 0; font-size: 13.5px; font-weight: 600; color: rgba(246, 239, 224, .7); }
.si-prev .prev-edge { inset: 3%; --rw: 3px; position: absolute; }

/* ---------- the menu as a lobby: the top bar, the play cards, the bar of five ---------- */
.lob { gap: 12px; }
.lob-top { width: 100%; display: flex; align-items: center; gap: 8px; }
.lob-back { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--line); color: var(--ink); }
.lob-back svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lob-me { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; padding: 4px 12px 4px 5px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); text-align: start; }
.lob-av { flex: none; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--tc, var(--gold)); }
.lob-av .pa { display: block; width: 100%; height: 100%; border-radius: 50%; }
.lob-id { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.lob-id b { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lob-id small { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lob-pts { flex: none; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px 0 8px; border-radius: 999px; background: linear-gradient(180deg, rgba(255, 227, 160, .2), rgba(235, 198, 117, .1)); border: 1px solid rgba(235, 198, 117, .45); }
.lob-pts svg { width: 24px; height: 24px; flex: none; }
.lob-pts b { font-size: 14.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lob .logo h1 { font-size: 48px; line-height: 1.25; }
.lob .ws-fan { height: 28px; } .lob .mb.lg { width: 26px; height: 26px; }
.lob .tagline { font-size: 13px; }
.lob-modes { gap: 10px; padding: 12px; }
/* «العب أونلاين»: the big gold card, the marbles going round in it */
.mode-online { position: relative; width: 100%; min-height: 104px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 0; border-radius: 20px; overflow: hidden; text-align: start; color: var(--on-gold);
  background: radial-gradient(120% 140% at 0% 50%, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 45%), linear-gradient(135deg, #FFE9B0 0%, #EDBE5E 45%, #C98A35 100%); box-shadow: 0 10px 26px rgba(200, 140, 50, .35), inset 0 1px 0 rgba(255, 255, 255, .7); }
.mode-online:active { transform: scale(.985); }
.mo-t { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; position: relative; z-index: 1; }
.mo-t b { font: 800 25px/1.15 Alexandria, "Readex Pro", sans-serif; }
.mo-t small { font-size: 12.5px; font-weight: 600; opacity: .8; }
.mo-live { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; padding: 2px 9px 2px 8px; border-radius: 999px; background: rgba(42, 26, 6, .12); }
.mo-live .dot { width: 8px; height: 8px; border-radius: 50%; background: #128A4B; animation: livePulse 1.6s ease-out infinite; }
.mo-go { flex: none; position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(42, 26, 6, .14); }
.mo-go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.mo-art { flex: none; position: relative; order: 2; width: 92px; height: 92px; pointer-events: none; }
.mo-ring { position: absolute; inset: 8px; border-radius: 50%; border: 2px dashed rgba(42, 26, 6, .22); background: radial-gradient(circle, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 65%); }
.mo-orbit { position: absolute; inset: 0; animation: frSpin 18s linear infinite; }
.mo-orbit .mb { position: absolute; width: 24px; height: 24px; left: 34px; top: 34px; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); }
.mo-orbit .mb:nth-child(1) { transform: translate(0, -34px); } .mo-orbit .mb:nth-child(2) { transform: translate(34px, 0); } .mo-orbit .mb:nth-child(3) { transform: translate(0, 34px); } .mo-orbit .mb:nth-child(4) { transform: translate(-34px, 0); }
/* «مع أصدقائك» and «ضد الكمبيوتر» */
.mode-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mode-half { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px; padding: 12px; border-radius: 18px; background: var(--row); border: 1px solid var(--line); text-align: start; color: var(--ink); }
.mode-half b { font: 700 16px/1.25 Alexandria, "Readex Pro", sans-serif; }
.mode-half small { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.mh-ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 4px; }
.mh-ic svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mh-ic.blue { background: linear-gradient(160deg, #6AA8FF, #2F63E0); box-shadow: 0 6px 14px rgba(47, 99, 224, .35); }
.mh-ic.teal { background: linear-gradient(160deg, #4FE3CF, #10A08E); box-shadow: 0 6px 14px rgba(16, 160, 142, .35); }
.mode-cpu { padding: 0; gap: 0; overflow: hidden; }
.mh-main { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 12px 8px; border: 0; background: none; color: inherit; text-align: start; }
.seg.mini { width: calc(100% - 16px); margin: 0 8px 8px; }
.seg.mini button { padding: 5px 2px; font-size: 12px; }
.lob-len { flex-direction: row; align-items: center; gap: 10px; }
.lob-len .opt-t { flex: none; }
.lob-len .seg { flex: 1; min-width: 0; }
/* the bar of five */
.lob-nav { padding: 6px; border-radius: 18px; background: var(--sheet); border: 1px solid var(--line); box-shadow: 0 10px 26px var(--card-shadow); gap: 2px; }
.lob-nav .tile { border: 0; background: none; padding: 7px 2px 5px; }
.lob-nav .tile svg { width: 34px; height: 34px; padding: 7px; border-radius: 11px; background: var(--glass); }
.lob .menu-foot { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .mo-orbit { animation: none; } }
@media (max-width: 360px) { .mo-t b { font-size: 21px; } .mode-half b { font-size: 14.5px; } .mo-art { width: 76px; height: 76px; } .mo-orbit .mb { left: 28px; top: 28px; width: 20px; height: 20px; } .mo-orbit .mb:nth-child(1) { transform: translate(0, -28px); } .mo-orbit .mb:nth-child(2) { transform: translate(28px, 0); } .mo-orbit .mb:nth-child(3) { transform: translate(0, 28px); } .mo-orbit .mb:nth-child(4) { transform: translate(-28px, 0); } }
@media (max-height: 700px) { .lob { gap: 9px; } .lob .logo h1 { font-size: 38px; } .lob .ws-fan { height: 22px; } .lob .mb.lg { width: 21px; height: 21px; } .lob .tagline { font-size: 12px; } .mode-online { min-height: 88px; padding: 10px 14px; } .lob-modes { gap: 8px; } }
@media (max-width: 360px) { .prog-row .ps-lv { width: 26px; height: 26px; font-size: 12px; } .prog-row .pass-strip, .prog-row .quest-strip { padding: 6px 8px; gap: 6px; } }

/* ---------- the trophy room: the 3D cabinet behind, your name and count over it, the chosen trophy's card under it ---------- */
.screen.tr-scr { padding: 0; display: block; background: #0B0806; color-scheme: dark; color: var(--ink); overflow: hidden;
  --ink: #F6F0E4; --muted: #BDB3A2; --dim: #968C7C; --line: rgba(255, 230, 190, .12); --glass: rgba(255, 255, 255, .07); --glass2: rgba(255, 255, 255, .14); --row: rgba(255, 255, 255, .05); }
.tr-host { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 30%, #2A1C12, #0B0806 70%); }
.tr-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
.tr-gl:active { cursor: grabbing; }
.tr-top { position: absolute; z-index: 3; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 10px; padding: calc(12px + var(--safe-t)) max(14px, env(safe-area-inset-right, 0px)) 22px max(14px, env(safe-area-inset-left, 0px)); background: linear-gradient(180deg, rgba(11, 8, 6, .94) 55%, rgba(11, 8, 6, 0)); pointer-events: none; }
.tr-top > * { pointer-events: auto; }
.tr-x { flex: none; width: 46px; height: 46px; border-radius: 50%; background: rgba(30, 20, 12, .8); border: 1px solid rgba(255, 220, 160, .35); display: grid; place-items: center; }
.tr-x svg { width: 20px; height: 20px; fill: none; stroke: #F6F0E4; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
[dir="ltr"] .tr-x svg { transform: scaleX(-1); }
.tr-av { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2.5px var(--tc, #EBC675), 0 4px 12px rgba(0, 0, 0, .5); }
.tr-av .pa { display: block; width: 100%; height: 100%; border-radius: 50%; }
.tr-av .ini { display: grid; place-items: center; width: 100%; height: 100%; color: #0B1220; font-weight: 800; }
.tr-id { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 1px; }
.tr-id h2 { margin: 0; font-family: Lalezar, Alexandria, "Readex Pro", sans-serif; font-weight: 400; font-size: 25px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(180deg, #FFF6D6 0%, #FFD98A 35%, #E9A44A 65%, #FFD27A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tr-id span { font-size: 12px; color: var(--muted); }
.tr-count { position: relative; flex: none; width: 58px; height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tr-count svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
[dir="rtl"] .tr-count svg { transform: rotate(-90deg) scaleY(-1); }
.tr-count circle { fill: none; stroke-width: 3; } .tr-count .bg { stroke: rgba(255, 255, 255, .12); } .tr-count .fg { stroke: #F4C04C; stroke-linecap: round; }
.tr-count b { position: relative; font-size: 18px; line-height: 1; color: #FFE3A0; } .tr-count small { position: relative; font-size: 9.5px; color: var(--muted); }
.tr-info { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; min-height: 128px; padding: 26px max(16px, env(safe-area-inset-right, 0px)) calc(16px + var(--safe-b)) max(16px, env(safe-area-inset-left, 0px)); background: linear-gradient(0deg, rgba(11, 8, 6, .97) 68%, rgba(11, 8, 6, 0)); pointer-events: none; }
.tr-info > * { pointer-events: auto; max-width: 620px; margin-inline: auto; }
.tr-wait, .tr-hint { margin: 0 auto; text-align: center; font-size: 14px; color: var(--muted); }
.tr-rare { margin: 6px auto 0; text-align: center; font-size: 12.5px; color: #FFD98A; }
.tr-card { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 18px; background: rgba(28, 20, 14, .92); border: 1px solid rgba(255, 220, 160, .22); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); animation: fade .2s; }
.tr-big { flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 32px; background: radial-gradient(circle at 50% 35%, var(--mc, #6B7A93), rgba(0, 0, 0, .4)); filter: grayscale(.9) brightness(.6); }
.tr-big.got { filter: none; }
.tr-txt { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.tr-txt h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.tr-txt > div { display: flex; gap: 5px; flex-wrap: wrap; }
.tr-met { font-size: 10.5px; font-weight: 800; padding: 1px 9px; border-radius: 999px; color: #1A1208; background: var(--mc, #94A3B8); }
.tr-met.rare { background: linear-gradient(90deg, #FF7BA8, #FFD27A); }
.tr-how { margin: 2px 0 0; font-size: 13px; color: var(--ink); }
.tr-at { margin: 0; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tr-sp { margin: 2px 0 0; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #FFE3A0; }
.tr-sp img { width: 30px; height: 30px; object-fit: contain; border-radius: 8px; background: #fff; padding: 2px; }
.tr-bar { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-top: 4px; }
.tr-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #A8692C, #FFD27A); }
.m-bronze { --mc: #C9824F; } .m-silver { --mc: #DDE3EE; } .m-gold { --mc: #F4C04C; } .m-legend { --mc: #FF8FB1; } .m-crystal { --mc: #A9DAFF; }
.m-rose { --mc: #F2A3A0; } .m-emerald { --mc: #34C48C; } .m-ruby { --mc: #E0344F; } .m-onyx { --mc: #D9B25A; }
/* the list: what a screen reader reads over the 3D room, and the room itself when there's no 3D */
.tr-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tr-scr.flat .tr-list { position: absolute; z-index: 2; width: auto; height: auto; clip: auto; top: calc(var(--safe-t) + 84px); bottom: 150px; left: 0; right: 0; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); align-content: start; gap: 10px; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); }
.tr-it { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 10px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); background: linear-gradient(180deg, rgba(60, 40, 24, .6), rgba(20, 14, 10, .7)); color: var(--ink); }
.tr-it .tr-ic { font-size: 34px; line-height: 1; filter: grayscale(1) brightness(.45); }
.tr-it.got .tr-ic { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.tr-it.got { border-color: var(--mc); }
.tr-it.rare { box-shadow: 0 0 14px rgba(255, 140, 180, .35); }
.tr-it .tr-nm { font-size: 11.5px; font-weight: 700; line-height: 1.25; text-align: center; color: var(--muted); }
.tr-it.got .tr-nm { color: var(--ink); }
.tr-it.sel { outline: 2px solid #FFD27A; outline-offset: 1px; }
.pf-trophy { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 15px; border: 1px solid rgba(235, 198, 117, .55); background: linear-gradient(100deg, rgba(235, 198, 117, .16), rgba(235, 198, 117, .04)); color: var(--ink); text-align: start; }
.pf-trophy > span:first-child { font-size: 28px; line-height: 1; }
.pf-trophy > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pf-trophy b { font-size: 15px; } .pf-trophy small { font-size: 11.5px; color: var(--muted); }
.pf-trophy i { font-style: normal; color: var(--gold); font-weight: 800; }
[dir="ltr"] .pf-trophy i { transform: scaleX(-1); }
.pm-tr { width: 100%; margin-top: 6px; color: #2A1A06; background: linear-gradient(180deg, #FFEDB8, #E3A54E); }
.lob-nav { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* ---------- sponsored tournaments: the lobby's strip and their page ---------- */
.tour-strip { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 15px; border: 1.5px solid var(--tc, #EBC675); background: linear-gradient(100deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); color: var(--ink); text-align: start; overflow: hidden; }
.tour-strip::before { content: ""; position: absolute; inset: 0; background: var(--tc, #EBC675); opacity: .1; pointer-events: none; }
.ts-logo { position: relative; flex: none; width: 40px; height: 40px; border-radius: 11px; object-fit: contain; background: #fff; padding: 3px; }
.ts-logo.none { display: grid; place-items: center; font-size: 22px; background: rgba(255, 255, 255, .1); }
.ts-t { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ts-t b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ts-t small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ts-go { position: relative; flex: none; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; color: #2A1A06; background: linear-gradient(180deg, #FFEDB8, #E3A54E); }
.ts-me { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; line-height: 1.1; } .ts-me b { font-size: 17px; color: var(--gold); } .ts-me small { font-size: 10px; color: var(--muted); }
.screen.dim.to-scr { padding: 0; align-items: stretch; color-scheme: dark; color: var(--ink); background: radial-gradient(120% 70% at 50% 0%, rgba(22, 26, 52, .97), rgba(6, 9, 18, .98) 70%);
  --ink: #F4F7FF; --muted: #B4BFD4; --dim: #8F9BB4; --gold: #EBC675; --gold2: #FFE3A0; --glass: rgba(255, 255, 255, .07); --glass2: rgba(255, 255, 255, .14); --line: rgba(255, 255, 255, .12); --row: rgba(255, 255, 255, .06); --sheet: linear-gradient(170deg, #1B2E51, #0E1930); }
.to { position: relative; width: min(720px, 100%); max-height: 100%; margin: 0 auto; overflow-y: auto; overscroll-behavior: contain; padding: calc(14px + var(--safe-t)) max(14px, env(safe-area-inset-right, 0px)) calc(24px + var(--safe-b)) max(14px, env(safe-area-inset-left, 0px)); }
.to-x { right: max(20px, calc((100% - 720px) / 2 + 20px)); }
[dir="ltr"] .to-x { right: auto; left: max(20px, calc((100% - 720px) / 2 + 20px)); }
.to-body { display: flex; flex-direction: column; gap: 12px; }
.to-tabs { display: flex; gap: 6px; overflow-x: auto; padding-inline-end: 56px; }
.to-tabs button { flex: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); color: var(--muted); font-size: 12.5px; font-weight: 700; }
.to-tabs button[aria-selected="true"] { color: #2A1A06; background: linear-gradient(180deg, #FFEDB8, #E3A54E); border-color: transparent; }
.to-hero { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 16px; padding-inline-start: 78px; border-radius: 22px; overflow: hidden; border: 1.5px solid var(--tc, #EBC675); background: linear-gradient(160deg, #1D1838, #0C1124); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.to-hero::before { content: ""; position: absolute; width: 260px; height: 260px; top: -120px; left: -80px; border-radius: 50%; background: var(--tc, #EBC675); opacity: .28; filter: blur(50px); pointer-events: none; }
.to-logo { position: relative; flex: none; width: 84px; height: 84px; border-radius: 20px; object-fit: contain; background: #fff; padding: 6px; box-shadow: 0 0 0 3px var(--tc, #EBC675), 0 10px 24px rgba(0, 0, 0, .45); }
.to-logo.none { display: grid; place-items: center; font-size: 42px; background: rgba(255, 255, 255, .08); }
.to-ht { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.to-ht small { font-size: 12.5px; font-weight: 700; color: var(--tc, #EBC675); filter: brightness(1.3); }
.to-ht h2 { margin: 0; font-family: Lalezar, Alexandria, "Readex Pro", sans-serif; font-weight: 400; font-size: 30px; line-height: 1.1; background: linear-gradient(180deg, #FFF6D6 0%, #FFD98A 35%, #E9A44A 65%, #FFD27A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.to-when { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #2A1806; background: linear-gradient(180deg, #FFEDB8, #E3A54E); }
.to-when.live { color: #fff; background: rgba(226, 45, 70, .9); } .to-when.done { color: var(--muted); background: var(--glass2); }
.to-when .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: vnBlink 1.4s infinite; }
.to-about { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.to-h { margin: 6px 0 0; font-size: 16px; }
.to-pod { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 8px; }
.to-pz { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 22px 6px 12px; border-radius: 16px; text-align: center; border: 1px solid rgba(255, 255, 255, .14); background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); }
.to-pz.p1 { padding-top: 30px; border-color: #FFD27A; background: linear-gradient(180deg, rgba(255, 200, 90, .28), rgba(120, 70, 20, .12)); box-shadow: 0 0 22px rgba(255, 185, 56, .25); }
.to-pz.p2 { border-color: rgba(221, 227, 238, .6); } .to-pz.p3 { border-color: rgba(201, 130, 79, .7); }
.to-pl { position: absolute; top: -12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800; color: #1A1208; background: #DDE3EE; }
.p1 .to-pl { background: linear-gradient(180deg, #FFE7A6, #F4C04C); } .p3 .to-pl { background: #C9824F; }
.to-pz img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; border: 1px solid rgba(255, 255, 255, .2); }
.to-pz b { font-size: 14px; color: #FFE3A0; } .to-pz small { font-size: 11px; color: var(--muted); line-height: 1.3; }
.to-rest, .to-cups, .to-rules, .to-note { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.to-cups { color: #FFE3A0; }
.to-join { width: 100%; }
.to-me { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.to-me > div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; background: var(--row); border: 1px solid var(--line); }
.to-me b { font-size: 17px; color: var(--gold2); font-variant-numeric: tabular-nums; } .to-me small { font-size: 10.5px; color: var(--muted); text-align: center; }
.to-list { display: flex; flex-direction: column; gap: 6px; }
.to-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 13px; background: var(--row); }
.to-row.me { background: rgba(235, 198, 117, .14); outline: 1px solid rgba(235, 198, 117, .5); }
.to-rk { flex: none; width: 26px; text-align: center; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.to-nm { flex: 1; min-width: 0; display: flex; flex-direction: column; } .to-nm b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .to-nm small { font-size: 11px; color: var(--muted); }
.to-sc { flex: none; font-size: 17px; font-weight: 800; color: var(--gold2); font-variant-numeric: tabular-nums; }
.to-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 80px 20px; text-align: center; } .to-empty span { font-size: 54px; } .to-empty b { font-size: 18px; } .to-empty p { margin: 0; color: var(--muted); }
@media (max-width: 380px) { .to-hero { gap: 10px; padding: 14px 12px; padding-inline-start: 72px; } .to-logo { width: 66px; height: 66px; } .to-ht h2 { font-size: 25px; } .to-me b { font-size: 15px; } }

/* the board's world behind the flat board (its live 3D one covers this when the 3D board is on) */
.ws.has-world:not(.at-menu) { background: linear-gradient(rgba(5, 8, 16, .2), rgba(5, 8, 16, .2)), var(--world) center / cover no-repeat, #0A1120; }

/* a burned marble's billiard home: the cartoon stars over its head, the rings of light at the hit, the edges and its home */
.bl-star { position: absolute; left: 0; top: 0; width: var(--s, 14px); height: var(--s, 14px); margin: calc(var(--s, 14px) / -2) 0 0 calc(var(--s, 14px) / -2); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l2.9 6.4 7 .7-5.2 4.7 1.5 6.9L12 17l-6.2 3.5 1.5-6.9L2.1 8.9l7-.7z' fill='%23FFE066' stroke='%23A8710C' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45)); will-change: transform; }
.bl-ring { position: absolute; width: var(--u, 40px); height: var(--u, 40px); margin: calc(var(--u, 40px) / -2) 0 0 calc(var(--u, 40px) / -2); border-radius: 50%; pointer-events: none; border: 3px solid rgba(255, 236, 170, .95); box-shadow: 0 0 12px rgba(255, 210, 110, .8), inset 0 0 8px rgba(255, 230, 160, .6); animation: blRing .6s cubic-bezier(.2, .7, .3, 1) forwards; }
.bl-ring.hit { border-color: #FFFFFF; box-shadow: 0 0 18px rgba(255, 255, 255, .9), inset 0 0 10px rgba(255, 240, 200, .8); }
.bl-ring.wall { border-width: 2px; animation-duration: .45s; }
.bl-ring.home { border-color: rgba(255, 224, 138, .95); }
@keyframes blRing { from { transform: scale(.25); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bl-ring { animation-duration: .01s; } }

/* the menu's button for complaints and suggestions (tables/gamehelp.js opens its sheet) */
.help-chip { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--glass); color: var(--ink); font: 600 12.5px "Readex Pro", system-ui, sans-serif; }
.help-chip svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the rating's tiers on screen (2026-11-10): the search under your crest, the table found, the result ---------- */
.search-card { position: relative; --rk: #F6C64F; overflow: hidden; }
.search-card::before { content: ""; position: absolute; inset: -30% -20% auto; height: 70%; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--rk) 34%, transparent), transparent 70%); pointer-events: none; }
.search-card > * { position: relative; }
.search-count { position: absolute !important; top: 12px; inset-inline-start: 12px; width: 44px; height: 44px; z-index: 2; }
.search-count b { font-size: 14px; }
.search-count #searchRing { stroke: var(--rk); }
.rk-stage { width: 210px; height: 190px; margin: 4px auto -2px; display: grid; place-items: center; }
.rk-stage > * { grid-area: 1 / 1; }
.rk-badge { width: 150px; height: 150px; display: grid; place-items: center; animation: rkFloat 3.2s ease-in-out infinite; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .45)); }
.rk-badge svg { display: block; }
.rk-wave { width: 150px; height: 150px; border-radius: 50%; border: 2px solid var(--rk); opacity: 0; animation: rkWave 2.7s cubic-bezier(.2, .6, .3, 1) infinite; }
.rk-wave:nth-child(2) { animation-delay: .9s; } .rk-wave:nth-child(3) { animation-delay: 1.8s; }
.rk-sweep { width: 196px; height: 196px; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 70%, color-mix(in srgb, var(--rk) 50%, transparent) 96%, transparent 100%); -webkit-mask: radial-gradient(circle, transparent 40%, #000 41%); mask: radial-gradient(circle, transparent 40%, #000 41%); animation: rkSpin 2.4s linear infinite; opacity: .75; }
.rk-orbit { width: 184px; height: 184px; position: relative; animation: rkSpin 7s linear infinite reverse; }
.rk-orbit b { position: absolute; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: var(--rk); box-shadow: 0 0 10px var(--rk); top: 0; left: 50%; }
.rk-orbit b:nth-child(2) { top: 75%; left: 6.7%; } .rk-orbit b:nth-child(3) { top: 75%; left: 93.3%; }
.rk-tier { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rk-tier b { font: 800 22px/1.2 Alexandria, "Readex Pro", sans-serif; color: var(--rk); text-shadow: 0 2px 14px color-mix(in srgb, var(--rk) 45%, transparent); }
.t-day .rk-tier b { color: color-mix(in srgb, var(--rk) 55%, #3A2A10); text-shadow: none; }
.rk-tier small { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rk-bar { width: min(220px, 70%); height: 7px; margin: 6px auto 0; border-radius: 99px; background: var(--glass2); overflow: hidden; }
.rk-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--rk) 55%, #fff), var(--rk)); box-shadow: 0 0 12px var(--rk); transition: width .6s ease; }
.rk-next { display: block; margin-top: 4px; font-size: 12px; color: var(--dim); }
.search-card.local .rk-stage, .search-card.local .rk-tier, .search-card.local .rk-bar, .search-card.local .rk-next { display: none; }
.search-slots { gap: 8px; margin-top: 2px; }
.ss { width: 64px; position: relative; }
.ss.pop { animation: rkSlotIn .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.ss .ss-av { width: 50px; height: 50px; box-shadow: 0 0 0 2px var(--rk, var(--gold)), 0 6px 14px rgba(0, 0, 0, .35); }
.ss.me .ss-av { box-shadow: 0 0 0 2.5px var(--gold2), 0 0 16px color-mix(in srgb, var(--gold) 60%, transparent); }
.ss-rk { position: absolute; top: 30px; inset-inline-end: 0; width: 30px; height: 30px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); }
.ss-rk svg { display: block; width: 30px; height: 30px; }
.ss small { font-size: 10.5px; color: var(--rk, var(--muted)); font-weight: 700; }
.t-day .ss small { color: var(--muted); }
.ss.wait { width: 64px; height: auto; margin: 0; border: 0; border-radius: 0; display: flex; color: var(--dim); }
.ss.wait .ss-av { display: grid; place-items: center; background: var(--glass); box-shadow: none; border: 1.5px dashed var(--line); }
.ss.wait .ss-av i { width: 24px; height: 24px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--rk, var(--gold)); animation: rkSpin 1s linear infinite; }
.ss.wait small { color: var(--dim); font-weight: 500; }
/* the crests alive (effects.js RANKBADGE, 2026-11-16): a gleam across the metal now and then, the rays turning slowly,
   نخبة's embers and its ruby's star twinkling — not on the small ones, nor when the page asks for less motion */
.rank-badge .rb-shine { animation: rbShine 5.5s ease-in-out infinite; }
.rank-badge .rb-rays { animation: rkSpin 60s linear infinite; }
.rank-badge .rb-ember { animation: rbEmber 2.8s ease-in-out infinite; animation-delay: var(--d, 0s); transform-box: fill-box; transform-origin: center; }
.rank-badge .rb-spark { animation: rbTwinkle 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.rank-badge.rb-small *, .rank-badge.rb-small { animation: none !important; }
@keyframes rbShine { 0%, 62% { transform: translate(-150px, -150px); } 100% { transform: translate(150px, 150px); } }
@keyframes rbEmber { 0%, 100% { opacity: .15; transform: translateY(4px) scale(.7); } 50% { opacity: 1; transform: translateY(-6px) scale(1.15); } }
@keyframes rbTwinkle { 0%, 100% { opacity: .55; transform: scale(.8) rotate(0deg); } 50% { opacity: 1; transform: scale(1.12) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .rank-badge *, .rank-badge { animation: none !important; } }
@keyframes rkWave { 0% { transform: scale(.62); opacity: .85; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes rkSpin { to { transform: rotate(360deg); } }
@keyframes rkFloat { 50% { transform: translateY(-5px); } }
@keyframes rkSlotIn { from { transform: scale(.4); opacity: 0; } }

/* the table found */
.rk-vs { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: calc(var(--safe-t) + 16px) 16px calc(var(--safe-b) + 16px); background: radial-gradient(90% 60% at 50% 50%, rgba(12, 18, 38, .95), rgba(4, 7, 16, .98)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; opacity: 0; cursor: pointer; }
.rk-vs.on { animation: rkFadeIn .35s ease forwards; } .rk-vs.out { animation: rkFadeOut .38s ease forwards; }
.vs-in { width: min(420px, 100%); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.vs-eye { font: 800 15px Alexandria, "Readex Pro", sans-serif; letter-spacing: .02em; color: #FFE3A0; padding: 6px 14px; border-radius: 99px; background: rgba(255, 227, 160, .1); border: 1px solid rgba(255, 227, 160, .3); animation: rkPop .5s .05s cubic-bezier(.2, 1.4, .4, 1) both; }
.vs-team { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vs-p { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px 12px; border-radius: 20px; background: linear-gradient(170deg, color-mix(in srgb, var(--rk) 22%, rgba(255, 255, 255, .06)), rgba(255, 255, 255, .03)); border: 1px solid color-mix(in srgb, var(--rk) 45%, transparent); box-shadow: 0 14px 30px rgba(0, 0, 0, .35); position: relative; min-width: 0;
  animation: rkCardIn .55s calc(.12s + var(--k) * .1s) cubic-bezier(.2, 1.2, .4, 1) both; }
.them .vs-p { --from: -40px; } .us .vs-p { --from: 40px; }
.vs-av { position: relative; width: 62px; height: 62px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 2.5px var(--rk); display: block; }
.vs-av > * { width: 100%; height: 100%; display: block; }
.vs-rk { width: 52px; height: 52px; margin-top: -22px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5)); animation: rkPop .5s calc(.45s + var(--k) * .1s) cubic-bezier(.2, 1.5, .4, 1) both; }
.vs-rk svg { display: block; width: 52px; height: 52px; }
.vs-p b { max-width: 100%; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-p small { font-size: 12px; color: var(--rk); font-weight: 700; font-variant-numeric: tabular-nums; }
.vs-mid { width: 100%; display: flex; align-items: center; gap: 12px; }
.vs-mid i { flex: 1; height: 2px; background: linear-gradient(90deg, transparent, rgba(255, 227, 160, .8), transparent); animation: rkLine .5s .35s ease both; }
.vs-mid b { font: 800 30px/1 Alexandria, "Readex Pro", sans-serif; color: #FFE3A0; text-shadow: 0 0 24px rgba(255, 200, 90, .8); animation: rkSlam .5s .3s cubic-bezier(.2, 1.6, .4, 1) both; }
.vs-tip { color: rgba(255, 255, 255, .6); font-size: 12px; animation: rkFadeIn .4s .9s ease both; opacity: 0; }
@keyframes rkFadeIn { to { opacity: 1; } } @keyframes rkFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes rkPop { from { transform: scale(.3); opacity: 0; } }
@keyframes rkCardIn { from { transform: translateY(var(--from)) scale(.9); opacity: 0; } }
@keyframes rkSlam { 0% { transform: scale(2.6); opacity: 0; } 60% { transform: scale(.9); opacity: 1; } }
@keyframes rkLine { from { transform: scaleX(0); } }

/* the result */
.rk-res { position: fixed; inset: 0; z-index: 72; display: grid; place-items: center; padding: calc(var(--safe-t) + 14px) 16px calc(var(--safe-b) + 14px); background: radial-gradient(80% 55% at 50% 38%, color-mix(in srgb, var(--rk) 20%, rgba(8, 12, 26, .97)), rgba(3, 5, 12, .985)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; opacity: 0; }
.rk-res.on { animation: rkFadeIn .35s ease forwards; } .rk-res.out { animation: rkFadeOut .3s ease forwards; }
.rk-res.swap { background: radial-gradient(80% 55% at 50% 38%, color-mix(in srgb, var(--rk2) 24%, rgba(8, 12, 26, .97)), rgba(3, 5, 12, .985)); }
.rkr-card { width: min(380px, 100%); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.rkr-eye { font-size: 13px; color: rgba(255, 255, 255, .62); letter-spacing: .02em; animation: rkFadeIn .4s .1s ease both; opacity: 0; }
.rkr-stage { width: 260px; height: 230px; display: grid; place-items: center; position: relative; }
.rkr-stage > * { grid-area: 1 / 1; }
.rkr-rays { width: 300px; height: 300px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--rk) 45%, transparent) 0 3deg, transparent 3.5deg 15deg); -webkit-mask: radial-gradient(circle, #000 20%, transparent 68%); mask: radial-gradient(circle, #000 20%, transparent 68%); opacity: .35; animation: rkSpin 16s linear infinite; }
.rk-res.swap .rkr-rays { background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--rk2) 60%, transparent) 0 3deg, transparent 3.5deg 15deg); }
.rk-res.swap.up .rkr-rays { opacity: .8; animation-duration: 6s; }
.rkr-ring { width: 180px; height: 180px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--rk2) 80%, #fff); opacity: 0; }
.rkr-b { width: 168px; height: 168px; filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .55)); }
.rkr-b svg { display: block; width: 168px; height: 168px; }
.rkr-b.old { animation: rkLand .6s cubic-bezier(.2, 1.3, .4, 1) both; }
.rkr-b.new { opacity: 0; }
.rk-res.swap.up .rkr-b.old { animation: rkBlowOut .45s ease forwards; }
.rk-res.swap.up .rkr-b.new { animation: rkPromote .9s cubic-bezier(.2, 1.4, .3, 1) .12s both; }
.rk-res.swap.up .rkr-ring { animation: rkRing .8s ease-out .1s both; }
.rk-res.swap.down .rkr-b.old { animation: rkFall .8s cubic-bezier(.5, 0, .7, .4) forwards; }
.rk-res.swap.down .rkr-b.new { animation: rkRise .7s ease .55s both; }
.rkr-crack { width: 168px; height: 168px; opacity: 0; background: linear-gradient(115deg, transparent 46%, rgba(255, 255, 255, .9) 47%, transparent 48.5%), linear-gradient(62deg, transparent 52%, rgba(255, 255, 255, .7) 53%, transparent 54%), linear-gradient(160deg, transparent 38%, rgba(255, 255, 255, .6) 39%, transparent 40%); -webkit-mask: radial-gradient(circle, #000 45%, transparent 62%); mask: radial-gradient(circle, #000 45%, transparent 62%); pointer-events: none; }
.rk-res.swap.down .rkr-crack { animation: rkCrack .7s ease forwards; }
.rkr-sparks { width: 0; height: 0; position: relative; }
.rkr-sparks i { position: absolute; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: color-mix(in srgb, var(--rk2) 70%, #fff); box-shadow: 0 0 12px var(--rk2); opacity: 0; transform: rotate(var(--a)) translateY(0) scale(var(--s)); }
.rk-res.swap.up .rkr-sparks i { animation: rkSpark 1.1s cubic-bezier(.15, .7, .3, 1) calc(.18s + var(--w)) both; }
.rk-res.end.gain .rkr-sparks i { animation: rkSpark .9s cubic-bezier(.15, .7, .3, 1) var(--w) both; --d: 70px; }
.rkr-tier { margin: 2px 0 0; font: 800 28px/1.15 Alexandria, "Readex Pro", sans-serif; color: var(--rk); text-shadow: 0 2px 18px color-mix(in srgb, var(--rk) 55%, transparent); animation: rkPop .5s .25s cubic-bezier(.2, 1.4, .4, 1) both; }
.rk-res.swap .rkr-tier { color: var(--rk2); text-shadow: 0 2px 18px color-mix(in srgb, var(--rk2) 55%, transparent); animation: rkPop2 .6s cubic-bezier(.2, 1.6, .4, 1) both; }
.rkr-num { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.rkr-num b { font: 800 44px/1 Alexandria, "Readex Pro", sans-serif; font-variant-numeric: tabular-nums; min-width: 3.2ch; }
.rkr-d { direction: ltr; unicode-bidi: isolate; font: 800 20px/1 Alexandria, "Readex Pro", sans-serif; padding: 6px 12px; border-radius: 99px; animation: rkPop .45s .7s cubic-bezier(.2, 1.6, .4, 1) both; }
.rkr-d.up { color: #0B2A1B; background: linear-gradient(180deg, #7CF2B5, #32C486); box-shadow: 0 0 20px rgba(60, 220, 150, .5); }
.rkr-d.dn { color: #fff; background: linear-gradient(180deg, #FF8A98, #E0455B); box-shadow: 0 0 20px rgba(255, 90, 110, .45); }
.rkr-bar { width: 100%; height: 12px; margin-top: 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .4); }
.rkr-f { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--rk) 50%, #fff), var(--rk)); box-shadow: 0 0 16px var(--rk); position: relative; }
.rk-res.swap .rkr-f { background: linear-gradient(90deg, color-mix(in srgb, var(--rk2) 50%, #fff), var(--rk2)); box-shadow: 0 0 16px var(--rk2); }
.rkr-f::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); background-size: 60px 100%; background-repeat: no-repeat; animation: rkShine 1.6s linear infinite; }
.rkr-ends { width: 100%; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.rkr-msg { min-height: 1.5em; margin: 8px 0 4px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .9); opacity: 0; transition: opacity .3s; }
.rk-res.end .rkr-msg { opacity: 1; }
.rk-res.end.up .rkr-msg { color: #FFE3A0; font-size: 17px; }
.rkr-card .btn { align-self: stretch; opacity: 0; transition: opacity .3s .2s; }
.rk-res.end .rkr-card .btn { opacity: 1; }
@keyframes rkLand { 0% { transform: translateY(-60px) scale(1.5); opacity: 0; } 70% { transform: translateY(4px) scale(.96); opacity: 1; } }
@keyframes rkBlowOut { 0% { transform: scale(1); filter: brightness(1); } 40% { transform: scale(1.12); filter: brightness(2.6); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; filter: brightness(3); } }
@keyframes rkPromote { 0% { transform: scale(.2) rotate(-14deg); opacity: 0; filter: brightness(3); } 55% { transform: scale(1.14) rotate(3deg); opacity: 1; } 100% { transform: scale(1) rotate(0); opacity: 1; filter: brightness(1); } }
@keyframes rkRing { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes rkFall { 0% { transform: none; } 12% { transform: translateX(-6px) rotate(-3deg); } 24% { transform: translateX(6px) rotate(3deg); } 36% { transform: translateX(-4px); filter: grayscale(.6) brightness(.7); } 100% { transform: translateY(90px) rotate(8deg) scale(.8); opacity: 0; filter: grayscale(1) brightness(.4); } }
@keyframes rkRise { 0% { transform: translateY(-30px) scale(.85); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes rkCrack { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rkSpark { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(var(--s)); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(calc(-1 * var(--d))) scale(.2); } }
@keyframes rkShine { from { background-position: -60px 0; } to { background-position: 400px 0; } }
@keyframes rkPop2 { from { transform: scale(.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .rk-badge, .rk-wave, .rk-sweep, .rk-orbit, .rkr-rays, .rkr-f::after, .ss.wait .ss-av i { animation: none !important; }
  .rk-wave { opacity: .25; }
}

/* «المميّزين» (server/payments.js, 2026-11-10): a crown by the name at the table */
.nm .vip-cr { display: inline-block; width: .95em; height: .72em; margin-inline-start: 3px; vertical-align: -.04em; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .55)); }

/* «مخزوني»'s door from the store (public/inventory.js) */
.shop-inv { display: inline-flex; align-items: center; gap: 5px; margin-inline-start: auto; margin-inline-end: 8px; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(226, 180, 88, .45); color: var(--gold); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.shop-inv:active { background: var(--glass2); }

/* ---------- the landing slams (the store's ws_drop, effects.js + board3d.js) ---------- */
/* the flat board's marks on its own layer, under the marbles: a dark canvas, the glowing ones' canvases added over it (the
   box makes no layer of its own — no z-index — so «screen» lights up the board itself, not a black box) */
.wd-dec { position: absolute; pointer-events: none; }
.wd-dec canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; opacity: 0; }
.wd-dec canvas.glow { mix-blend-mode: screen; }
/* the falling marble's shadow on its hole (the flat board) */
.wd-shadow { position: absolute; z-index: 0; width: calc(var(--u) * .95); height: calc(var(--u) * .95); border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .62), rgba(0, 0, 0, .25) 60%, rgba(0, 0, 0, 0)); transform: translate(-50%, -50%); }
/* what flies off (a canvas over the screen), and the screen's flash */
.wd-fx { position: absolute; left: 0; top: 0; pointer-events: none; }
.wd-flash { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: block; pointer-events: none; opacity: 0; }
/* the store: a patch of your board with a hole and your marble in it */
.dp-prev { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: radial-gradient(90% 80% at 50% 36%, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 70%), var(--dp, #0A1120); }
.dp-hole { position: absolute; left: 50%; top: 56%; width: 26%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); z-index: 0;
  background: radial-gradient(circle at 50% 42%, rgba(0, 0, 0, .8), rgba(0, 0, 0, .45) 62%, rgba(0, 0, 0, 0) 72%); box-shadow: 0 0 0 1.5px rgba(235, 198, 117, .55); }
.dp-prev .mb.still { position: absolute; left: 50%; top: 56%; width: 21%; height: auto; flex: none; transform: translate(-50%, -50%); z-index: 1; }
/* a slam's rarity on its tile (the season pass's bands) */
.si-rar { position: absolute; top: 6px; inset-inline-end: 6px; z-index: 2; padding: 2px 7px; border-radius: 999px; font: 700 10px/1.5 Alexandria, "Readex Pro", sans-serif; font-style: normal; color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.si-rar.r-r { background: #4C8DFF; } .si-rar.r-e { background: #B26BFF; }
.si-rar.r-l { background: linear-gradient(180deg, #FFE7A6, #FFB938); color: #2A1A06; }
.si-rar.r-m { background: linear-gradient(100deg, #FF4D6D, #FF9A3C, #FFE14D, #FF4D6D); background-size: 220% 100%; animation: rpMyth 3s linear infinite; text-shadow: 0 1px 2px rgba(120, 0, 30, .6); }
.shop-item.rar.r-l:not(.on) { border-color: rgba(255, 210, 122, .7); }
.shop-item.rar.r-m:not(.on) { border-color: #FF8A6A; box-shadow: 0 0 12px rgba(255, 70, 90, .35); }
/* «جديد» on the store's marbles tab */
.tab-new { display: inline-block; margin-inline-start: 4px; padding: 0 5px; border-radius: 999px; font: 700 9px/1.6 Alexandria, "Readex Pro", sans-serif; font-style: normal; color: #fff; background: #E5484D; vertical-align: 1px; }
@media (prefers-reduced-motion: reduce) { .si-rar.r-m { animation: none; } }

/* ================= the lobby, round three (2026-11-15): «المجلس» =================
   One page for every size: on a phone a column (your board turning on its table at the top, the ways to play, your
   friends, your progress) over a tab bar fixed at the bottom; from 760 px two columns, from 1100 px three (your progress
   on the right, the board and the ways to play in the middle, your friends on the left), the tab bar floating. Glass on
   the board's own colours; the day board's light. Every old id kept (the tests and the code click them). */
#menu.screen { align-items: flex-start; padding: calc(10px + var(--safe-t)) 14px 0; overflow-x: hidden; }
.menu-in.lx::after { content: ""; display: block; flex: none; height: calc(86px + var(--safe-b)); }
/* (the board turning at the top shows your board now: the old blurred picture behind the page goes; a soft light instead) */
#menu .menu-bg { display: none; }
#menu.screen::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(70% 45% at 50% 18%, rgba(255, 200, 110, .09), rgba(255, 200, 110, 0) 70%), radial-gradient(60% 40% at 50% 100%, rgba(80, 130, 255, .07), rgba(80, 130, 255, 0) 70%); }
.t-day #menu.screen::before { background: radial-gradient(70% 45% at 50% 18%, rgba(255, 190, 90, .16), rgba(255, 190, 90, 0) 70%); }
.menu-in.lx { width: min(480px, 100%); margin: 0 auto; gap: 14px; align-items: stretch; }
.lx { --gl: rgba(255, 255, 255, .06); --gl2: rgba(255, 255, 255, .11); --gb: rgba(255, 255, 255, .13); --gsh: 0 12px 30px rgba(0, 0, 0, .28); }
.t-day .lx { --gl: rgba(255, 255, 255, .72); --gl2: #FFFFFF; --gb: rgba(40, 30, 10, .12); --gsh: 0 10px 26px rgba(80, 60, 20, .14); }
.lx-panel, .lx-card, .lx-rank, .lx-len, .lx-new { background: var(--gl); border: 1px solid var(--gb); box-shadow: var(--gsh), inset 0 1px 0 rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }

/* -- the top bar: back, you, your points, settings -- */
.lx-top { display: flex; align-items: center; gap: 8px; width: 100%; }
.lx-back, .lx-ic { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--gl); border: 1px solid var(--gb); color: var(--ink); }
.lx-back svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lx-ic svg { width: 19px; height: 19px; }
.lx-me { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 48px; padding: 4px 6px 4px 14px; border-radius: 999px; background: var(--gl); border: 1px solid var(--gb); text-align: start; }
.lx-av { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; padding: 2.5px; background: conic-gradient(from 210deg, var(--tc, #EBC675), rgba(255, 255, 255, .55), var(--tc, #EBC675)); }
.lx-av > .pa, .lx-av > svg, .lx-av > span { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.lx-id { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.lx-id b { font: 700 14.5px/1.25 Alexandria, "Readex Pro", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-id small { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.lx-id small .rank-badge { width: 17px; height: 17px; flex: none; }
.lx-id small i { font-style: normal; font-weight: 700; color: var(--tc, var(--gold)); font-variant-numeric: tabular-nums; }
.lx-pts { flex: none; display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 6px 0 12px; border-radius: 999px; color: var(--ink); background: linear-gradient(180deg, rgba(255, 216, 120, .2), rgba(255, 196, 80, .08)); border: 1px solid rgba(235, 198, 117, .5); }
.lx-pts svg { width: 24px; height: 24px; flex: none; }
.lx-pts b { font-size: 14.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lx-pts .lx-plus { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; font-weight: 700; line-height: 1; color: #2A1A06; background: linear-gradient(180deg, #FFE9B0, #DFB255); }

/* -- the body: one column, then two, then three -- */
.lx-body { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.lx-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lx-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.lx-col:not(:has(> :not([hidden]))) { display: none; }

/* -- the hero: the name over your board turning on its table -- */
.lx-hero { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 2px; }
.lx-logo h1 { font-size: 46px; line-height: 1.2; }
.lx-logo .ws-fan { height: 26px; } .lx-logo .mb.lg { width: 24px; height: 24px; }
.lx-logo .tagline { font-size: 12.5px; }
.lx-stage { --sw: min(330px, 84vw); position: relative; width: var(--sw); height: calc(var(--sw) * .6); margin-top: -4px; perspective: 900px; perspective-origin: 50% -20%; pointer-events: none; }
.lx-stage:empty { display: none; }
.lx-sky { position: absolute; left: -6%; right: -6%; top: -18%; bottom: -16%; background: radial-gradient(60% 55% at 50% 58%, rgba(255, 170, 70, .22), rgba(255, 170, 70, 0) 70%) center / cover no-repeat;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); opacity: .9; }
.lx-sky.world { background-size: cover; opacity: .55; }
.lx-tilt { position: absolute; left: 50%; top: 50%; width: calc(var(--sw) * .74); height: calc(var(--sw) * .74); margin: calc(var(--sw) * -.37) 0 0 calc(var(--sw) * -.37); transform-style: preserve-3d; transform: rotateX(57deg); }
.lx-board { position: absolute; inset: 0; border-radius: 7%; background: #0C1730 center / cover no-repeat; transform-style: preserve-3d; animation: lxSpin 90s linear infinite;
  box-shadow: 0 0 0 1.5px rgba(255, 228, 150, .85), 0 0 0 6px rgba(12, 16, 28, .9), 0 0 0 7.5px rgba(235, 198, 117, .55), 0 26px 40px rgba(0, 0, 0, .55); }
.t-day .lx-board { box-shadow: 0 0 0 1.5px rgba(185, 138, 53, .9), 0 0 0 6px #E8DECB, 0 0 0 7.5px rgba(185, 138, 53, .6), 0 22px 34px rgba(80, 60, 20, .35); }
@keyframes lxSpin { to { transform: rotateZ(-360deg); } }
.lx-glow { position: absolute; left: 30%; top: 30%; width: 40%; height: 40%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 160, 60, .55), rgba(255, 110, 20, .18) 45%, rgba(255, 110, 20, 0) 70%); animation: lxGlow 2.2s ease-in-out infinite alternate; }
@keyframes lxGlow { from { opacity: .75; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }
.lx-sh { position: absolute; width: 5.4%; height: 5.4%; margin: -2.7% 0 0 -2.7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .6), rgba(0, 0, 0, .25) 60%, rgba(0, 0, 0, 0)); }
.lx-c { position: absolute; left: 50%; top: 50%; width: 2px; height: 2px; margin: -1px 0 0 -1px; }
/* the marbles and the fire stand over the board on the screen (stagePlace puts each over its shadow) */
.lx-up { position: absolute; inset: 0; }
.lx-m { position: absolute; left: 0; top: 0; margin: 0; width: 14px; height: 14px; will-change: transform; box-shadow: none; }
.lx-fire { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.lx-flame { position: absolute; left: calc(var(--sw) * -.05); width: calc(var(--sw) * .1); bottom: calc(var(--sw) * .01); height: calc(var(--sw) * .13); }
.lx-flame b { position: absolute; left: 50%; bottom: 0; width: 70%; height: 100%; margin-left: -35%; border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%; transform-origin: 50% 100%;
  background: radial-gradient(60% 50% at 50% 78%, #FFF6C8, #FFC860 32%, rgba(255, 110, 30, .85) 62%, rgba(220, 50, 10, 0) 80%); filter: blur(.6px); animation: lxFlick 1.1s ease-in-out infinite alternate; }
.lx-flame b:nth-child(2) { width: 48%; margin-left: -40%; height: 74%; animation-duration: .8s; animation-delay: -.3s; }
.lx-flame b:nth-child(3) { width: 46%; margin-left: -6%; height: 64%; animation-duration: .95s; animation-delay: -.55s; }
@keyframes lxFlick { 0% { transform: scale(1, 1) skewX(0deg); opacity: .92; } 50% { transform: scale(.9, 1.12) skewX(3deg); } 100% { transform: scale(1.06, .9) skewX(-3deg); opacity: 1; } }
.lx-sparks { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.lx-sparks i { position: absolute; left: -2px; top: calc(var(--sw) * -.06); width: 3px; height: 3px; border-radius: 50%; background: #FFE3A0; box-shadow: 0 0 6px 2px rgba(255, 170, 60, .8); animation: lxSpark 2.4s linear infinite; }
.lx-sparks i:nth-child(2) { left: -6px; animation-delay: -.6s; animation-duration: 2.8s; } .lx-sparks i:nth-child(3) { left: 3px; animation-delay: -1.3s; } .lx-sparks i:nth-child(4) { left: -1px; animation-delay: -1.9s; animation-duration: 3.1s; }
@keyframes lxSpark { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: 1; } 100% { transform: translate(6px, -40px); opacity: 0; } }
.lx-gloss { position: absolute; inset: 0; border-radius: 7%; overflow: hidden; transform: translateZ(1px); pointer-events: none; }
.lx-gloss::before { content: ""; position: absolute; top: -40%; bottom: -40%; width: 28%; left: -60%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 250, 230, .2), rgba(255, 255, 255, 0)); animation: lxGloss 7s ease-in-out infinite; }
@keyframes lxGloss { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.lx-look { position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; max-width: 92%; padding: 5px 12px 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--ink); background: var(--gl); border: 1px solid var(--gb); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-look em { font-style: normal; color: var(--gold); font-weight: 700; }

/* -- the ways to play -- */
.lx-modes { display: flex; flex-direction: column; gap: 10px; }
.lx-online { position: relative; width: 100%; min-height: 118px; display: flex; align-items: center; gap: 10px; padding: 16px 18px; border: 0; border-radius: 24px; overflow: hidden; isolation: isolate; text-align: start; color: #2A1A06;
  background: radial-gradient(120% 140% at 100% 0%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 42%), linear-gradient(135deg, #FFEDBA 0%, #F2C566 38%, #D69A3C 72%, #B37326 100%);
  box-shadow: 0 16px 34px rgba(200, 140, 50, .38), 0 2px 0 rgba(255, 255, 255, .5) inset, 0 -3px 0 rgba(120, 70, 10, .25) inset; transition: transform .15s; }
.lx-online::after { content: ""; position: absolute; top: -30%; bottom: -30%; width: 30%; left: -50%; z-index: -1; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); animation: lxShine 4.5s ease-in-out infinite; }
@keyframes lxShine { 0%, 62% { left: -50%; } 100% { left: 125%; } }
.lx-online:active { transform: scale(.985); }
.lo-t { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.lo-t b { font: 800 28px/1.12 Alexandria, "Readex Pro", sans-serif; letter-spacing: -.2px; }
.lo-t small { font-size: 12.5px; font-weight: 600; opacity: .82; }
.lx-online .mo-live { background: rgba(42, 26, 6, .14); font-size: 11.5px; }
.lx-online .mo-live .dot { background: #0E8A47; }
.lo-art { flex: none; position: relative; width: 98px; height: 98px; pointer-events: none; }
.lo-ring { position: absolute; inset: 10px; border-radius: 50%; border: 2px dashed rgba(42, 26, 6, .24); background: radial-gradient(circle, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 66%); }
.lo-art .mo-orbit .mb { left: 37px; top: 37px; }
.lo-crest { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; filter: drop-shadow(0 4px 8px rgba(80, 40, 0, .35)); }
.lo-crest .rank-badge { width: 52px; height: 52px; }
.lo-go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(42, 26, 6, .14); }
.lo-go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 400px) { .lo-go { display: none; } .lo-t b { font-size: 25px; } .lo-art { width: 88px; height: 88px; } .lo-art .mo-orbit .mb { left: 32px; top: 32px; } }
.lx-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lx-card { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 14px; border-radius: 22px; text-align: start; color: var(--ink); }
.lx-card b { font: 700 17px/1.25 Alexandria, "Readex Pro", sans-serif; }
.lx-card small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.lx-ci { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 6px; }
.lx-ci svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lx-ci.blue { background: linear-gradient(160deg, #7AB4FF, #2F63E0); box-shadow: 0 8px 16px rgba(47, 99, 224, .35); }
.lx-ci.teal { background: linear-gradient(160deg, #5FEBD6, #0F9A88); box-shadow: 0 8px 16px rgba(16, 160, 142, .35); }
.lx-avs { display: flex; align-items: center; margin-top: 7px; min-height: 24px; }
.lx-avs:empty { display: none; }
.lx-avs > span { position: relative; flex: none; display: block; min-width: 0; width: 24px; height: 24px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--bg2); margin-inline-start: -7px; }
.lx-avs > span > *, .lx-avs > span img, .lx-avs > span svg { display: block; width: 100% !important; height: 100% !important; max-width: 100%; }
.lx-avs > span:first-child { margin-inline-start: 0; }
.lx-avs > span .pa, .lx-avs > span .ini { display: block; width: 100%; height: 100%; }
.lx-avs small { margin-inline-start: 6px; font-size: 11px; font-weight: 700; color: #4FD69A; }
.lx-cpu { padding: 0; gap: 0; overflow: hidden; }
.lx-cpu-go { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 14px 14px 10px; border: 0; background: none; text-align: start; color: inherit; }
.lx-cpu .seg.mini { margin: 0 10px 10px; width: calc(100% - 20px); }
.lx-cpu .seg.mini button { padding: 6px 2px; font-size: 12px; }
.lx-len { display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 18px; }
.lx-len .opt-t { flex: none; }
.lx-len .seg { flex: 1; min-width: 0; }
.lx-len .seg button { padding: 7px 4px; font-size: 12.5px; }
.lx-resume { border-radius: 18px; padding: 12px 14px; }

/* -- your friends now -- */
.lx-friends { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 22px; }
.lx-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lx-h b { font: 700 15px/1.3 Alexandria, "Readex Pro", sans-serif; }
.lx-n { font-size: 11.5px; font-weight: 700; color: #4FD69A; }
.lx-friends .live-strip, .lx-friends .nudge { border-radius: 15px; }
.lx-rail { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 2px 2px 4px; margin: 0 -2px; }
.lx-rail::-webkit-scrollbar { display: none; }
.lx-rail:empty { display: none; }
.lx-fi { flex: none; width: 64px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: var(--ink); text-align: center; }
.lx-fi .fa { position: relative; width: 52px; height: 52px; border-radius: 50%; padding: 2.5px; background: var(--fc, rgba(255, 255, 255, .2)); }
.lx-fi .fa > span { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--bg2); }
.lx-fi .fa > span .pa, .lx-fi .fa > span .ini { display: block; width: 100%; height: 100%; }
.lx-fi .fa i { position: absolute; bottom: 0; inset-inline-end: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--fc); box-shadow: 0 0 0 2.5px var(--bg2); }
.lx-fi.k-play .fa i { animation: livePulse 1.6s ease-out infinite; }
.lx-fi b { max-width: 100%; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-fi small { font-size: 10.5px; font-weight: 700; color: var(--fc); white-space: nowrap; }
.lx-fi.k-play { --fc: #FF5A70; } .lx-fi.k-wait { --fc: #F4B740; } .lx-fi.k-on { --fc: #4FD69A; } .lx-fi.k-off { --fc: rgba(160, 170, 190, .55); }
.lx-fi.k-off small { color: var(--muted); }
.lx-fi.inv .fa { background: none; border: 1.5px dashed var(--gb); display: grid; place-items: center; font-size: 22px; color: var(--gold); }

/* -- new in the store -- */
.lx-new { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 22px; text-align: start; color: var(--ink); overflow: hidden; }
.lx-new .nw-pics { flex: none; position: relative; width: 92px; height: 64px; }
.lx-new .nw-pics img { position: absolute; top: 4px; width: 56px; height: 56px; border-radius: 12px; object-fit: cover; box-shadow: 0 6px 14px rgba(0, 0, 0, .4); border: 1.5px solid rgba(255, 255, 255, .5); }
.lx-new .nw-pics img:nth-child(1) { left: 0; transform: rotate(-10deg); } .lx-new .nw-pics img:nth-child(2) { left: 18px; z-index: 1; transform: rotate(2deg); top: 0; } .lx-new .nw-pics img:nth-child(3) { left: 36px; z-index: 2; transform: rotate(12deg); }
.lx-new .nw-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lx-new .nw-t b { font: 700 15px/1.3 Alexandria, "Readex Pro", sans-serif; }
.lx-new .nw-t small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.lx-new .nw-tag { display: inline-block; vertical-align: 2px; margin-inline-end: 6px; padding: 0 8px; border-radius: 999px; font: 700 10.5px/1.7 Alexandria, "Readex Pro", sans-serif; font-style: normal; color: #fff; background: #E5484D; }

/* -- your rating -- */
.lx-rank { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 22px; text-align: start; color: var(--ink); overflow: hidden; }
.lx-rank::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 120% at 100% 50%, var(--tca, rgba(235, 198, 117, .22)), transparent 60%); pointer-events: none; }
.lx-rank .rk-c { flex: none; width: 60px; height: 60px; position: relative; }
.lx-rank .rk-c .rank-badge { width: 60px; height: 60px; }
.lx-rank .rk-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; position: relative; }
.lx-rank .rk-t small { font-size: 11px; color: var(--muted); }
.lx-rank .rk-t b { font: 700 17px/1.2 Alexandria, "Readex Pro", sans-serif; color: var(--tc, var(--gold)); }
.lx-rank .rk-t b i { font-style: normal; font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; margin-inline-start: 6px; }
.lx-rank .rk-bar { display: block; height: 6px; border-radius: 3px; background: var(--gl2); overflow: hidden; }
.lx-rank .rk-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--tc, #EBC675), #FFF1C4); }
.lx-rank .rk-form { display: flex; gap: 3px; margin-top: 2px; }
.lx-rank .rk-form i { width: 14px; height: 5px; border-radius: 3px; background: var(--gl2); }
.lx-rank .rk-form i.w { background: #3FCF8E; } .lx-rank .rk-form i.l { background: #FF5A70; }
.lx-rank .rk-c { width: 64px; height: 64px; } .lx-rank .rk-c .rank-badge { width: 64px; height: 64px; }
.lx-rank .rk-t b em { font-style: normal; font-size: 13px; color: var(--gold2); margin-inline-start: 4px; }
.lx-rank .rk-t .rk-st { font-size: 10.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.lx-rank .rk-sh { font-style: normal; font-size: 12px; }
.lx-rank.elite { box-shadow: 0 0 0 1.5px rgba(255, 77, 94, .55), 0 10px 30px -12px rgba(255, 52, 72, .55); }
/* (the day board's light ground: the tier's own colour is too pale for words there) */
.t-day .lx-rank .rk-t b, .t-day .lx-id small i { color: var(--ink); }
.t-day .lx-rank .rk-bar { background: rgba(40, 30, 10, .1); }
.t-day .lx-rank .rk-bar i { background: linear-gradient(90deg, #8A6118, #D6A94C); }

/* -- the foot: the sounds, a word to us -- */
.lx-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
.lx-foot .snd-row .ic { width: 36px; height: 36px; border-radius: 12px; background: var(--gl); border: 1px solid var(--gb); }

/* -- the tab bar: fixed at the bottom on a phone, floating on a wide screen -- */
.lx-dock { position: fixed; z-index: 3; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; padding: 7px 8px calc(7px + var(--safe-b));
  background: rgba(10, 14, 26, .95); border-top: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 -10px 30px rgba(0, 0, 0, .3); }
.t-day .lx-dock { background: rgba(255, 252, 245, .97); border-top-color: rgba(40, 30, 10, .1); box-shadow: 0 -8px 24px rgba(80, 60, 20, .12); }
.lx-dock .tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; padding: 5px 2px; border: 0; border-radius: 14px; background: none; color: var(--muted); font-size: 10.5px; font-weight: 600; line-height: 1.2; aspect-ratio: auto; height: auto; box-shadow: none; }
.lx-dock .tile span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-dock .tile svg { width: 23px; height: 23px; stroke: var(--gold); }
.lx-dock .tile:active { background: var(--gl2); }
.lx-dock .tile em { position: absolute; top: 1px; left: calc(50% - 20px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #E5484D; color: #fff; font: 700 10px/16px Alexandria, "Readex Pro", sans-serif; font-style: normal; box-shadow: 0 0 0 2px rgba(10, 14, 26, .9); }
.lx-dock .tile em.new { min-width: 8px; width: 9px; height: 9px; padding: 0; top: 4px; left: calc(50% - 14px); }
.t-day .lx-dock .tile em { box-shadow: 0 0 0 2px #FFFCF5; }

/* -- coming in -- */
.lx-in .lx-top, .lx-in .lx-hero, .lx-in .lx-modes > *, .lx-in .lx-col > *, .lx-in .lx-resume { animation: lxUp .5s cubic-bezier(.2, .8, .2, 1) both; }
.lx-in .lx-hero { animation-delay: .04s; } .lx-in .lx-modes > :nth-child(1) { animation-delay: .1s; } .lx-in .lx-modes > :nth-child(2) { animation-delay: .16s; } .lx-in .lx-modes > :nth-child(3) { animation-delay: .2s; }
.lx-in .lx-col > :nth-child(1) { animation-delay: .24s; } .lx-in .lx-col > :nth-child(2) { animation-delay: .3s; } .lx-in .lx-col > :nth-child(3) { animation-delay: .36s; }
@keyframes lxUp { from { opacity: 0; transform: translateY(14px); } }

/* -- two columns, then three -- */
@media (min-width: 760px) {
  .menu-in.lx::after { height: calc(96px + var(--safe-b)); }
  .menu-in.lx { width: min(940px, 100%); }
  .lx-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: "main social" "main prog"; align-items: start; gap: 16px 20px; }
  .lx-main { grid-area: main; } .lx-social { grid-area: social; } .lx-prog { grid-area: prog; }
  .lx-stage { --sw: 380px; }
  .lx-me { flex: 0 1 380px; margin-inline-end: auto; }
  .lx-rail { flex-wrap: wrap; overflow: visible; }
  .lx-prog .prog-row { grid-template-columns: minmax(0, 1fr); }
  .lx-dock { left: 50%; right: auto; bottom: calc(14px + var(--safe-b)); width: min(620px, calc(100% - 28px)); transform: translateX(-50%); padding: 8px 10px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .12); }
  .lx-dock .tile { font-size: 11.5px; }
}
@media (min-width: 1100px) {
  .menu-in.lx { width: min(1260px, 100%); }
  .lx-body { grid-template-columns: 300px minmax(0, 1fr) 300px; grid-template-areas: "prog main social"; gap: 22px; }
  .lx-stage { --sw: 440px; }
  .lx-logo h1 { font-size: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .lx-board, .lx-flame b, .lx-sparks i, .lx-glow, .lx-gloss::before, .lx-online::after { animation: none !important; }
  .lx-in .lx-top, .lx-in .lx-hero, .lx-in .lx-modes > *, .lx-in .lx-col > *, .lx-in .lx-resume { animation: none; }
}

/* ================= the lobby, round four (2026-11-15) =================
   The greeting by your name with your last game, the banners (tables/banners.css draws them; here their place and
   dots), the bell and its sheet, «البارتي» over «العب أونلاين» (and its strip on the search), a friend's invite at the
   top, the phone's reminders in the settings. The same glass as round three; the day board's light. */
/* (a word said while a page of the lobby shows: over it, near the top) */
.at-menu .toast { position: fixed; z-index: 80; top: calc(64px + var(--safe-t)); left: 50%; }
.at-menu .toast.on { transform: translate(-50%, 0); }

/* -- the greeting -- */
.lx-hi { display: flex; align-items: center; gap: 11px; padding: 2px 4px 0; min-width: 0; }
.hi-ic { flex: none; width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; color: #FFD57A; background: radial-gradient(circle at 35% 30%, rgba(255, 213, 122, .28), rgba(255, 213, 122, .06)); border: 1px solid rgba(255, 213, 122, .28); }
.lx-hi.am .hi-ic { color: #FFB547; }
.hi-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lx-hi:not(.am) .hi-ic svg path:first-child { fill: currentColor; fill-opacity: .18; }
.hi-t { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hi-t b { font: 800 19px/1.25 Alexandria, "Readex Pro", sans-serif; letter-spacing: -.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hi-t small { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.hi-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.hi-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--gl); border: 1px solid var(--gb); }
.hi-chip.fire { color: #FFB25B; border-color: rgba(255, 150, 60, .35); background: rgba(255, 140, 50, .1); }
.hi-chip.up { color: #3DDC97; border-color: rgba(61, 220, 151, .35); background: rgba(61, 220, 151, .08); font-variant-numeric: tabular-nums; }
.hi-chip.down { color: #FF7A85; border-color: rgba(255, 122, 133, .35); background: rgba(255, 122, 133, .08); font-variant-numeric: tabular-nums; }
.t-day .hi-ic { color: #C8860F; background: radial-gradient(circle at 35% 30%, rgba(255, 200, 100, .35), rgba(255, 200, 100, .1)); border-color: rgba(200, 134, 15, .3); }
.t-day .hi-chip.fire { color: #B8560B; } .t-day .hi-chip.up { color: #0B8A5B; } .t-day .hi-chip.down { color: #C81E3A; }

/* -- the banners: their place, and the dots in the board's colours -- */
.lx-banners { min-width: 0; }
.t-day .lx-banners .gb { --gb-dot: rgba(60, 45, 20, .2); --gb-dot-on: #A9782A; }
.t-day .lx-banners .gb-vp { box-shadow: 0 12px 28px -14px rgba(80, 60, 20, .45), 0 0 0 1px rgba(40, 30, 10, .08) inset; }

/* -- the bell -- */
.lx-bell { position: relative; }
.lx-bell svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lx-bell em { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; font-style: normal; font-size: 10.5px; font-weight: 800; line-height: 1;
  color: #fff; background: #E5484D; box-shadow: 0 0 0 2px var(--bg2, #0A1120); font-variant-numeric: tabular-nums; }
.lx-bell.ring svg { transform-origin: 50% 15%; animation: lxRing 3.6s ease-in-out infinite; }
@keyframes lxRing { 0%, 84%, 100% { transform: rotate(0); } 87% { transform: rotate(14deg); } 90% { transform: rotate(-12deg); } 93% { transform: rotate(8deg); } 96% { transform: rotate(-5deg); } }

/* -- a sheet over the lobby (the bell's, the party's): from the bottom on a phone, a card in the middle from 760 px -- */
.lx-sheet { position: absolute; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; background: var(--scrim); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .2s; }
.ls-card { position: relative; width: min(520px, 100%); max-height: min(78vh, 680px); display: flex; flex-direction: column; padding: 8px 16px calc(16px + var(--safe-b)); border-radius: 26px 26px 0 0; color: var(--ink);
  background: var(--sheet); border: 1px solid var(--line); border-bottom: 0; box-shadow: 0 -18px 50px rgba(0, 0, 0, .45); animation: lsUp .32s cubic-bezier(.2, .9, .25, 1); }
.ls-card::before { content: ""; display: block; width: 42px; height: 5px; margin: 0 auto 6px; border-radius: 999px; background: rgba(255, 255, 255, .22); }
.t-day .ls-card::before { background: rgba(40, 30, 10, .18); }
@keyframes lsUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.ls-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 0 8px; }
.ls-head h2 { margin: 0; font: 800 20px/1.3 Alexandria, "Readex Pro", sans-serif; }
.ls-x { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--row); color: var(--ink); }
.ls-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.ls-sub { margin: 0 0 12px; font-size: 13px; line-height: 1.6; color: var(--muted); }
@media (min-width: 760px) { .lx-sheet { align-items: center; padding: 24px; } .ls-card { border-radius: 26px; border-bottom: 1px solid var(--line); padding-bottom: 18px; max-height: min(80vh, 720px); } .ls-card::before { display: none; } .ls-head { padding-top: 8px; } }

/* -- the bell's list -- */
.bl-tabs { display: flex; gap: 6px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.bl-tabs::-webkit-scrollbar { display: none; }
.bl-tabs button { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--row); color: var(--muted); font-size: 13px; font-weight: 700; }
.bl-tabs button[aria-selected="true"] { color: #2A1A06; border-color: transparent; background: linear-gradient(180deg, #FFE9B0, #E2B458); }
.bl-tabs button i { font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; font-size: 10.5px; color: #fff; background: #E5484D; }
.bl-list { flex: 1; min-height: 120px; overflow-y: auto; margin: 0 -6px; padding: 0 6px; overscroll-behavior: contain; }
.bl-h { margin: 6px 2px 6px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--dim); }
.bl-row { display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 16px; }
.bl-row + .bl-row { margin-top: 2px; }
.bl-row.new { background: linear-gradient(90deg, rgba(255, 213, 122, 0), rgba(255, 213, 122, .09)); box-shadow: inset 0 0 0 1px rgba(255, 213, 122, .16); }
[dir="ltr"] .bl-row.new { background: linear-gradient(270deg, rgba(255, 213, 122, 0), rgba(255, 213, 122, .09)); }
.t-day .bl-row.new { background: rgba(200, 134, 15, .07); box-shadow: inset 0 0 0 1px rgba(200, 134, 15, .18); }
.bl-av { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--row); }
.bl-av > * { display: block; width: 100%; height: 100%; }
.bl-av .ini { display: grid; place-items: center; font-weight: 800; color: #fff; }
.bl-av.ic { display: grid; place-items: center; }
.bl-av.ic svg { width: 24px; height: 24px; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.bl-av.k-gift { background: linear-gradient(160deg, #FF7AA8, #B4235A); } .bl-av.k-gift svg { stroke: #fff; }
.bl-av.k-cup { background: linear-gradient(160deg, #FFE7A3, #C98A22); } .bl-av.k-cup svg { stroke: #5A3608; }
.bl-av.k-cup.m-silver { background: linear-gradient(160deg, #F2F5FA, #9AA6B8); } .bl-av.k-cup.m-bronze { background: linear-gradient(160deg, #F6C9A0, #A8622E); }
.bl-av.k-cup.m-legend { background: linear-gradient(160deg, #E6D3FF, #7B4DD8); } .bl-av.k-cup.m-crystal { background: linear-gradient(160deg, #D9FBFF, #43A7D6); }
.bl-av.k-cup.m-rose { background: linear-gradient(160deg, #FFE1DC, #C46A6A); } .bl-av.k-cup.m-emerald { background: linear-gradient(160deg, #C9F7E2, #12855A); } .bl-av.k-cup.m-ruby { background: linear-gradient(160deg, #FFC9D2, #A3182F); }
.bl-av.k-cup.m-onyx { background: linear-gradient(160deg, #5A5A66, #15151B); } .bl-av.k-cup.m-onyx svg { stroke: #F2CD72; }
.bl-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bl-t b { font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.bl-row.new .bl-t b { font-weight: 700; }
.bl-t small { font-size: 11.5px; color: var(--dim); }
.bl-go { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; border: 0; font-size: 12.5px; font-weight: 800; color: #2A1A06; background: linear-gradient(180deg, #FFE9B0, #E2B458); }
.bl-go.dead { color: var(--dim); background: var(--row); box-shadow: inset 0 0 0 1px var(--line); }
.bl-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 36px 16px 30px; text-align: center; color: var(--muted); margin: 0; }
.bl-empty b { font-size: 15px; color: var(--ink); }
.bl-empty small { font-size: 12.5px; line-height: 1.6; max-width: 26em; }
.bl-big { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 4px; background: var(--row); color: var(--gold); }
.bl-big svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bl-spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--gold); animation: blSpin .8s linear infinite; }
@keyframes blSpin { to { transform: rotate(360deg); } }

/* -- «البارتي»: you and your partner over «العب أونلاين» -- */
.lx-party { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 12px; border-radius: 20px; background: var(--gl); border: 1px solid var(--gb); box-shadow: var(--gsh), inset 0 1px 0 rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.lx-party.full { border-color: rgba(235, 198, 117, .45); background: linear-gradient(100deg, rgba(255, 213, 122, .12), rgba(255, 213, 122, .03)), var(--gl); }
.pt-avs { flex: none; display: flex; align-items: center; }
.pt-av { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; padding: 2px; background: rgba(255, 255, 255, .14); }
.pt-av > .pa, .pt-av > svg, .pt-av > span:not(.pt-dot), .pt-av > .ini { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.pt-av .ini { display: grid; place-items: center; font-weight: 800; color: #fff; }
.pt-av.slot { margin-right: -8px; border: 0; background: var(--bg2, #0A1120); box-shadow: 0 0 0 2px var(--bg2, #0A1120); z-index: 1; }
[dir="ltr"] .pt-av.slot { margin: 0 0 0 -8px; }
.pt-av.slot:not(.mate) > span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 1.5px dashed rgba(235, 198, 117, .7); color: var(--gold); font-size: 22px; font-weight: 600; line-height: 1; background: rgba(255, 213, 122, .06); }
.lx-party:not(.on) .pt-av.slot:not(.mate) > span { animation: ptPulse 2.4s ease-in-out infinite; }
@keyframes ptPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(235, 198, 117, .0); } 50% { box-shadow: 0 0 0 5px rgba(235, 198, 117, .18); } }
.pt-dot { position: absolute; bottom: 1px; left: 1px; width: 11px; height: 11px; border-radius: 50%; background: #8A90A0; box-shadow: 0 0 0 2px var(--bg2, #0A1120); }
.pt-dot.on { background: #3DDC97; }
.pt-av.speaking, .ss.speaking .ss-av { box-shadow: 0 0 0 2.5px #3DDC97, 0 0 14px 2px rgba(61, 220, 151, .55); }
.pt-av.incall::after { content: ""; position: absolute; top: -3px; right: -3px; width: 16px; height: 16px; border-radius: 50%; background: #3DDC97 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 14.5V12a8 8 0 0 1 16 0v2.5' fill='none' stroke='%23062' stroke-width='3'/></svg>") center / 10px no-repeat; box-shadow: 0 0 0 2px var(--bg2, #0A1120); }
.pt-av.callmute::after { background-color: #8A90A0; }
.pt-t { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 0; border: 0; background: none; color: var(--ink); text-align: start; }
.pt-t b { font-size: 14px; font-weight: 800; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pt-t small { font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.pt-acts { flex: none; display: flex; align-items: center; gap: 6px; }
.pt-ic { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gb); background: var(--gl2); color: var(--ink); }
.pt-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pt-ic.in { color: #fff; border-color: transparent; background: #E5484D; }
.pt-ic.in svg { fill: currentColor; stroke: none; }
.pt-ic.mic.off { color: #FF7A85; }
.pt-ic.mic.off svg { opacity: .85; }
.pt-ic.mic.off::after { content: ""; position: absolute; width: 22px; height: 2px; background: currentColor; transform: rotate(-45deg); border-radius: 2px; }
.pt-ic.mic { position: relative; }
.pt-ic.x { color: var(--muted); }
.pt-ic:not(.in):not(.x) { color: #3DDC97; }
.t-day .pt-av.slot { background: #FFFDF9; box-shadow: 0 0 0 2px #FFFDF9; }
.t-day .pt-dot, .t-day .pt-av.incall::after { box-shadow: 0 0 0 2px #FFFDF9; }
.t-day .pt-ic:not(.in):not(.x) { color: #0B8A5B; }

/* -- a friend's invite to his party: a card at the top of the lobby -- */
.pt-inv { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 20px; color: #2A1A06;
  background: linear-gradient(135deg, #FFEDBA, #F2C566 55%, #D69A3C); box-shadow: 0 16px 34px rgba(200, 140, 50, .35); animation: ptIn .45s cubic-bezier(.2, .9, .25, 1.15); }
@keyframes ptIn { from { transform: translateY(-14px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.pi-av { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2.5px rgba(255, 255, 255, .8); }
.pi-av > * { display: block; width: 100%; height: 100%; }
.pi-av .ini { display: grid; place-items: center; font-weight: 800; color: #fff; }
.pi-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pi-t b { font-size: 14px; font-weight: 800; line-height: 1.35; }
.pi-t small { font-size: 11.5px; line-height: 1.4; opacity: .8; }
.pt-inv .btn.gold { background: #2A1A06; color: #FFE7A3; box-shadow: none; }
.pi-no { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 0; background: rgba(42, 26, 6, .12); color: #2A1A06; }
.pi-no svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }

/* -- the party's sheet: your friends, the link -- */
.pts-list { flex: 1; min-height: 80px; overflow-y: auto; margin: 0 -6px; padding: 0 6px; overscroll-behavior: contain; }
.pts-row { display: flex; align-items: center; gap: 11px; padding: 8px 4px; }
.pts-row + .pts-row { border-top: 1px solid var(--line); }
.pts-av { position: relative; flex: none; width: 42px; height: 42px; }
.pts-av > :first-child { display: block; width: 42px; height: 42px; border-radius: 50%; overflow: hidden; }
.pts-av .ini { display: grid; place-items: center; font-weight: 800; color: #fff; }
.pts-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pts-t b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pts-t small { font-size: 11.5px; color: #3DDC97; }
.t-day .pts-t small { color: #0B8A5B; }
.pts-none { margin: 8px 0 14px; font-size: 13px; line-height: 1.7; color: var(--muted); text-align: center; }
.pts-share { display: flex; gap: 8px; padding-top: 12px; }
.pts-share .btn { flex: 1; justify-content: center; text-decoration: none; }

/* -- the search with a party: your partner marked, your voice -- */
.ss.mate .ss-av { box-shadow: 0 0 0 2.5px #F2C566; }
.ss-mate { display: inline-block; margin-top: 2px; padding: 1px 8px; border-radius: 999px; font-style: normal; font-size: 10.5px; font-weight: 800; color: #2A1A06; background: linear-gradient(180deg, #FFE9B0, #E2B458); }
.search-party { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px auto 2px; padding: 6px 6px 6px 12px; width: fit-content; max-width: 100%; border-radius: 999px; background: var(--row); border: 1px solid var(--line); }
.search-party #spT { font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-party .pt-ic { width: 34px; height: 34px; }

/* -- the settings: the phone's reminders -- */
.push-box { display: flex; flex-direction: column; gap: 2px; }
.push-box .pb-head { margin-bottom: 4px; }
.push-box .pb-head { padding-top: 12px; padding-bottom: 12px; }
.push-box .rule-row:disabled { opacity: .55; }

@media (prefers-reduced-motion: reduce) { .lx-bell.ring svg, .lx-party:not(.on) .pt-av.slot:not(.mate) > span, .pt-inv, .ls-card { animation: none; } }
/* (the sheets' fixed parts never squeeze; a friend's «ادعُ» button its own size) */
.ls-head, .ls-sub, .bl-tabs, .pts-share { flex: none; }
.pts-row .btn { flex: none; width: auto; min-width: 86px; padding-left: 16px; padding-right: 16px; }
/* (with the greeting and the banners on top, the name and the board a little smaller, so «العب أونلاين» shows on a phone) */
.lx-hi:not([hidden]) ~ .lx-hero .tagline { display: none; }
.lx-banners:not([hidden]) ~ .lx-hero .lx-logo h1 { font-size: 38px; }
.lx-banners:not([hidden]) ~ .lx-hero .lx-logo .ws-fan { height: 20px; }
.lx-banners:not([hidden]) ~ .lx-hero .lx-logo .mb.lg { width: 19px; height: 19px; }
.lx-banners:not([hidden]) ~ .lx-hero .lx-stage { --sw: min(300px, 74vw); }
/* (a friend's invite: its button its own size, the words the rest) */
.pt-inv .btn { flex: none; width: auto; min-width: 0; padding-left: 18px; padding-right: 18px; }
/* (a laptop: the banners and the greeting no wider than a comfortable card in the middle column) */
@media (min-width: 1100px) { .lx-banners, .lx-hi, .pt-inv { width: 100%; max-width: 680px; margin-left: auto; margin-right: auto; } }

/* ---------- «التصنيف» (2026-11-16): you, the seven ranks as a ladder, how the points work, the best and your friends ---------- */
.rks-me { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; padding-inline-end: 56px; border-radius: 24px; overflow: hidden; border: 1.5px solid color-mix(in srgb, var(--tc) 70%, transparent); background: linear-gradient(160deg, color-mix(in srgb, var(--tc) 18%, rgba(18, 24, 46, .96)), rgba(10, 14, 28, .96)); }
.rks-me::before { content: ""; position: absolute; width: 280px; height: 280px; top: -140px; inset-inline-start: -90px; border-radius: 50%; background: var(--tc); opacity: .26; filter: blur(55px); pointer-events: none; }
.rks-me.elite { border-color: rgba(255, 210, 120, .75); box-shadow: 0 0 0 1px rgba(255, 52, 72, .4), 0 18px 46px -18px rgba(255, 52, 72, .6); }
.rks-mc { position: relative; flex: none; width: 112px; height: 112px; }
.rks-mc .rank-badge { width: 112px; height: 112px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); }
.rks-mt { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rks-mt > small:first-child { font-size: 12px; font-weight: 700; color: color-mix(in srgb, var(--tc) 70%, #fff); }
.rks-mt h2 { margin: 0; font-family: Lalezar, Alexandria, "Readex Pro", sans-serif; font-weight: 400; font-size: 32px; line-height: 1.1; color: var(--tc); text-shadow: 0 2px 14px color-mix(in srgb, var(--tc) 45%, transparent); }
.rks-mt h2 em { font-style: normal; font-size: 22px; color: #FFE3A0; }
.rks-mt > b { font: 800 16px Alexandria, "Readex Pro", sans-serif; color: var(--ink); font-variant-numeric: tabular-nums; }
.rks-mt .rk-sh { font-style: normal; font-size: 12px; font-weight: 700; color: #9FE6BC; margin-inline-start: 6px; }
.rks-mt .rk-bar, .rks-r .rk-bar { --rk: var(--tc); width: 100%; max-width: 320px; margin: 4px 0 0; }
.rks-mt small { font-size: 12.5px; color: var(--muted); }
.rks-mt .rk-st, .rks-st { font-size: 11.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
.rks-tabs { padding-inline-end: 0; }
.rks-ladder { display: flex; flex-direction: column; gap: 6px; }
.rks-r { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 18px; background: var(--row); border: 1px solid transparent; }
.rks-r .rks-c { flex: none; width: 66px; height: 66px; }
.rks-r .rks-c .rank-badge { width: 66px; height: 66px; }
.rks-r .rks-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rks-r .rks-t b { font: 700 16px Alexandria, "Readex Pro", sans-serif; color: var(--tc); display: flex; align-items: center; gap: 8px; }
.rks-r .rks-t b em { font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; color: #120E06; background: var(--tc); }
.rks-r .rks-t small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rks-r.me { border-color: color-mix(in srgb, var(--tc) 75%, transparent); background: linear-gradient(90deg, color-mix(in srgb, var(--tc) 18%, transparent), var(--row)); box-shadow: 0 8px 26px -14px var(--tc); }
.rks-r.done { opacity: .62; }
.rks-r.done .rks-c { filter: saturate(.75); }
.rks-r.elite:not(.me) { background: linear-gradient(90deg, rgba(255, 52, 72, .16), rgba(255, 196, 92, .08)); border-color: rgba(255, 205, 120, .3); }
.rks-rules { padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--glass); }
.rks-rules h3 { margin: 0 0 8px; font-size: 15px; }
.rks-rules ul { margin: 0; padding-inline-start: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.rks-list { display: flex; flex-direction: column; gap: 5px; }
.rks-p { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 16px; background: var(--row); }
.rks-p .rks-n { flex: none; min-width: 34px; font: 800 14px Alexandria, "Readex Pro", sans-serif; color: var(--dim); font-variant-numeric: tabular-nums; }
.rks-p .rks-av { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px color-mix(in srgb, var(--tc) 80%, transparent); }
.rks-p .rks-av .ini { display: grid; place-items: center; width: 100%; height: 100%; color: #0B1220; font-weight: 800; }
.rks-p .rks-nm { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.rks-p .rks-nm b { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rks-p .rks-nm small { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--tc); }
.rks-p .rks-nm small .rank-badge { width: 18px; height: 18px; }
.rks-p .rks-pt { flex: none; display: flex; flex-direction: column; align-items: flex-end; font: 800 16px Alexandria, "Readex Pro", sans-serif; font-variant-numeric: tabular-nums; }
.rks-p .rks-pt small { font-size: 10px; font-weight: 600; color: var(--dim); }
.rks-p.me { background: linear-gradient(90deg, rgba(235, 198, 117, .2), var(--row)); box-shadow: inset 0 0 0 1.5px rgba(235, 198, 117, .6); }
.rks-p.top1 .rks-n { color: #FFD35C; } .rks-p.top2 .rks-n { color: #DCE5EE; } .rks-p.top3 .rks-n { color: #E8A06C; }
.rks-gap { text-align: center; color: var(--dim); letter-spacing: .3em; }
.rks-none { margin: 10px 0; text-align: center; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
@media (max-width: 420px) { .rks-me { flex-direction: column; text-align: center; padding-inline-end: 16px; padding-top: 22px; } .rks-mt { align-items: center; } .rks-mt .rk-bar { margin-inline: auto; } }
/* the result after a game: the points' unit, why they moved, «التصنيف» beside «تمام» */
.rkr-num .rkr-u { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .7); margin-inline: 2px 8px; }
.rkr-whys { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 340px; }
.rkr-why { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; color: #EAF0FF; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); }
.rkr-why.shield { color: #CFFFE3; background: rgba(63, 207, 142, .16); border-color: rgba(63, 207, 142, .45); }
.rkr-why.quit, .rkr-why.weaker { color: #FFD3D9; background: rgba(255, 90, 112, .14); border-color: rgba(255, 90, 112, .4); }
.rkr-why.stronger { color: #FFF1C4; background: rgba(235, 198, 117, .16); border-color: rgba(235, 198, 117, .45); }
.rkr-acts { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 4px; }
.rkr-acts .btn.ghost { color: #F4F7FF; border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); }
.rk-res.up .rkr-eye { color: #FFE3A0; font-weight: 800; font-size: 15px; letter-spacing: .04em; }

/* ---------- «ملفك» round two (2026-11-16): a full screen, his card in his rank's colours, then his form, path, road, numbers ---------- */
.pf2-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pf2 { --tc: #EBC675; display: flex; flex-direction: column; gap: 12px; }
.pf2 > * { animation: pf2Rise .5s cubic-bezier(.2, .9, .3, 1) both; }
.pf2 > :nth-child(2) { animation-delay: .06s; } .pf2 > :nth-child(3) { animation-delay: .12s; } .pf2 > :nth-child(4) { animation-delay: .18s; }
.pf2 > :nth-child(5) { animation-delay: .22s; } .pf2 > :nth-child(n + 6) { animation-delay: .26s; }
@keyframes pf2Rise { from { opacity: 0; transform: translateY(12px); } }

/* his card */
.pf2-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 18px 22px; border-radius: 28px; text-align: center;
  border: 1.5px solid color-mix(in srgb, var(--tc) 62%, transparent);
  background: radial-gradient(90% 60% at 50% 0%, color-mix(in srgb, var(--tc) 30%, transparent), transparent 70%), linear-gradient(180deg, #141C38 0%, #0C1226 62%, #090E1D 100%);
  box-shadow: 0 26px 60px -30px color-mix(in srgb, var(--tc) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, .09); }
/* (the sadu's stripes along its foot) */
.pf2-hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 7px; opacity: .55;
  background: repeating-linear-gradient(90deg, var(--tc) 0 12px, transparent 12px 16px, color-mix(in srgb, var(--tc) 45%, #fff) 16px 20px, transparent 20px 24px, #B8322F 24px 30px, transparent 30px 34px); }
.pf2-wm { position: absolute; z-index: -2; top: -34px; left: 50%; width: 300px; height: 300px; transform: translateX(-50%); opacity: .13; filter: saturate(1.2) blur(.5px); pointer-events: none; }
.pf2-wm .rank-badge { width: 300px; height: 300px; }
.pf2-aur { position: absolute; z-index: -1; top: 40px; left: 50%; width: 240px; height: 240px; margin-left: -120px; border-radius: 50%; background: var(--tc); opacity: .2; filter: blur(60px); pointer-events: none; animation: pf2Aur 6s ease-in-out infinite alternate; }
@keyframes pf2Aur { to { opacity: .32; transform: scale(1.15); } }
.pf2-eb { font-size: 12px; font-weight: 700; letter-spacing: .02em; color: color-mix(in srgb, var(--tc) 55%, #fff); }
.pf2-av { position: relative; width: 104px; height: 104px; margin: 8px 0 26px; }
.pf2-av .av { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; }
.pf2-av .av > .pa, .pf2-av .av > svg { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.pf2-av:not(.fr) .av { box-shadow: 0 0 0 3px var(--tc), 0 0 0 7px color-mix(in srgb, var(--tc) 22%, transparent), 0 14px 34px -8px color-mix(in srgb, var(--tc) 70%, transparent); }
.pf2-av.fr .frm { inset: -8px; }
.pf2-badge { position: absolute; z-index: 2; left: 50%; bottom: -30px; width: 58px; height: 58px; transform: translateX(-50%); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); animation: pf2Pop .7s .25s cubic-bezier(.2, 1.5, .4, 1) both; }
.pf2-badge .rank-badge { width: 58px; height: 58px; }
@keyframes pf2Pop { from { opacity: 0; transform: translateX(-50%) scale(.3) rotate(-25deg); } }
.pf2-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 27px/1.2 Lalezar, Alexandria, "Readex Pro", sans-serif; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
.pf2-rk { display: inline-flex; align-items: center; gap: 6px; padding: 3px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; color: #10131C; background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 60%, #fff), var(--tc)); box-shadow: 0 6px 16px -6px var(--tc); }
.pf2-rk em { font-style: normal; font-weight: 900; }
.pf2-pts { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 6px; }
.pf2-num { font: 400 58px/1 Lalezar, Alexandria, "Readex Pro", sans-serif; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff 10%, color-mix(in srgb, var(--tc) 85%, #fff) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 18px color-mix(in srgb, var(--tc) 45%, transparent)); }
.pf2-pts > span { font-size: 15px; font-weight: 700; color: var(--muted); }
.pf2-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); }
.pf2-meta > span { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.pf2-meta .sh { color: #A8F0C8; border-color: rgba(120, 230, 170, .35); background: rgba(70, 200, 130, .12); }
.pf2-prog { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 5px; margin-top: 10px; }
.pf2-bar { position: relative; display: block; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .09); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); overflow: hidden; }
.pf2-bar i { position: absolute; inset: 0; border-radius: inherit; transform-origin: right center; transform: scaleX(var(--f)); background: linear-gradient(270deg, color-mix(in srgb, var(--tc) 55%, #fff), var(--tc)); box-shadow: 0 0 14px color-mix(in srgb, var(--tc) 60%, transparent); animation: pf2Bar 1.1s .3s cubic-bezier(.2, .9, .3, 1) both; }
[dir="ltr"] .pf2-bar i { transform-origin: left center; background: linear-gradient(90deg, color-mix(in srgb, var(--tc) 55%, #fff), var(--tc)); }
@keyframes pf2Bar { from { transform: scaleX(0); } }
.pf2-ends { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; }
.pf2-prog small { font-size: 13px; font-weight: 700; color: var(--ink); }
.pf2-stake { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.pf2-stake > span { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 14px; border-radius: 14px; font-size: 12.5px; font-weight: 700; }
.pf2-stake b { font: 800 16px Alexandria, "Readex Pro", sans-serif; font-variant-numeric: tabular-nums; }
.pf2-stake .up { color: #BFF5D6; background: rgba(63, 207, 142, .13); border: 1px solid rgba(63, 207, 142, .35); } .pf2-stake .up b { color: #5BE3A2; }
.pf2-stake .dn { color: #FFD3D9; background: rgba(255, 107, 125, .12); border: 1px solid rgba(255, 107, 125, .35); } .pf2-stake .dn b { color: #FF8494; }
.pf2-sub { font-size: 11px; color: var(--dim); }
.pf2-hero.elite { border-color: rgba(255, 214, 130, .8); background: radial-gradient(90% 60% at 50% 0%, rgba(255, 60, 80, .32), transparent 70%), linear-gradient(180deg, #2A0D16 0%, #12070C 60%, #0A0508 100%); box-shadow: 0 0 0 1px rgba(255, 52, 72, .35), 0 28px 64px -28px rgba(255, 52, 72, .75), inset 0 1px 0 rgba(255, 230, 170, .2); }
.pf2-hero.elite .pf2-num { background: linear-gradient(180deg, #FFF6D6 10%, #F2C25B 60%, #D9862B 100%); -webkit-background-clip: text; background-clip: text; }
.pf2-hero.elite .pf2-rk { color: #2A0A0E; background: linear-gradient(180deg, #FFE8A8, #E8A53C); }
.pf2-hero.elite .pf2-bar i { background: linear-gradient(270deg, #FFE8A8, #FF4D5E); }
.pf2-hero.local { padding-bottom: 20px; } .pf2-hero.local .pf2-av { margin-bottom: 8px; } .pf2-hero.local .pf2-rk { background: rgba(255, 255, 255, .1); color: var(--muted); box-shadow: none; }

/* the cards under it */
.pf2-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 16px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .035)); border: 1px solid var(--line); color: var(--ink); text-align: start; font: inherit; }
.pf2-ch { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pf2-ch h3, .pf2-ch .h { margin: 0; font-size: 15px; font-weight: 800; color: var(--ink); }
.pf2-ch small { font-size: 12px; font-weight: 600; color: var(--muted); }
.pf2-ch small b.up { color: #5BE3A2; } .pf2-ch small b.dn { color: #FF8494; }
.pf2-dots { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
.pf2-dots > span { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; animation: pf2Dot .45s calc(.25s + var(--i) * .05s) cubic-bezier(.2, 1.4, .4, 1) both; }
.pf2-dots b { display: grid; place-items: center; width: 100%; max-width: 34px; aspect-ratio: 1; border-radius: 10px; font-size: 13px; font-weight: 900; }
.pf2-dots .w b { color: #062014; background: linear-gradient(180deg, #7BF0B5, #2FBF7C); box-shadow: 0 4px 12px -4px rgba(63, 207, 142, .8); }
.pf2-dots .l b { color: #FFD3D9; background: rgba(255, 107, 125, .16); border: 1px solid rgba(255, 107, 125, .45); }
.pf2-dots small { font-size: 9.5px; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pf2-dots > span:first-child b { outline: 2px solid rgba(255, 255, 255, .55); outline-offset: 2px; }
@keyframes pf2Dot { from { opacity: 0; transform: scale(.4); } }
.pf2-plot { position: relative; height: 150px; border-radius: 16px; background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .05)); overflow: hidden; }
.pf2-plot svg { display: block; width: 100%; height: 100%; animation: pf2Wipe 1.2s .3s ease-out both; }
@keyframes pf2Wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.pf2-bl { position: absolute; inset-inline-end: 46px; transform: translateY(-115%); display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 800; color: var(--c); text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
.pf2-bl .rank-badge { width: 16px; height: 16px; }
.pf2-dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--tc), 0 0 16px var(--tc); animation: pf2Ping 2s 1.5s ease-out infinite; }
@keyframes pf2Ping { 0% { box-shadow: 0 0 0 3px var(--tc), 0 0 0 3px color-mix(in srgb, var(--tc) 55%, transparent); } 100% { box-shadow: 0 0 0 3px var(--tc), 0 0 0 16px transparent; } }
.pf2-hi, .pf2-lo { position: absolute; inset-inline-end: 8px; font-size: 10.5px; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; }
.pf2-hi { top: 6px; } .pf2-lo { bottom: 6px; }
.pf2-empty { margin: 0; padding: 18px 8px; text-align: center; font-size: 13px; color: var(--muted); }
.pf2-road { cursor: pointer; }
.pf2-road .pf2-ch small i { font-style: normal; color: var(--gold); }
[dir="ltr"] .pf2-road .pf2-ch small i, [dir="ltr"] .pf2-cta > i { display: inline-block; transform: scaleX(-1); }
.pf2-steps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: start; }
.pf2-steps > span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.pf2-steps .c { position: relative; z-index: 1; display: grid; place-items: center; height: 58px; }
.pf2-steps .c .rank-badge { width: 38px; height: 38px; }
.pf2-steps .on .c .rank-badge { width: 56px; height: 56px; filter: drop-shadow(0 0 12px color-mix(in srgb, var(--tc) 70%, transparent)); }
.pf2-steps > span:not(:last-child)::after { content: ""; position: absolute; top: 28px; inset-inline-start: calc(50% + 17px); width: calc(100% - 34px); height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); }
.pf2-steps > .done::after { background: linear-gradient(90deg, var(--gold), #FFE3A0) !important; box-shadow: 0 0 8px rgba(235, 198, 117, .6); }
.pf2-steps i { font-style: normal; font-size: 10px; font-weight: 700; color: var(--dim); white-space: nowrap; }
.pf2-steps .on i { font-size: 11.5px; font-weight: 900; color: var(--tc); }
.pf2-steps .done i { color: var(--muted); }
.pf2-steps .next .c { opacity: .38; filter: grayscale(.6); }
.pf2-win { flex-direction: row; align-items: center; gap: 16px; }
.pf2-ring { position: relative; flex: none; width: 84px; height: 84px; display: grid; place-items: center; }
.pf2-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.pf2-ring circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.pf2-ring .bg { stroke: rgba(255, 255, 255, .09); }
.pf2-ring .fg { stroke: var(--tc); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p)); filter: drop-shadow(0 0 6px color-mix(in srgb, var(--tc) 60%, transparent)); animation: pf2Ring 1.2s .35s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes pf2Ring { from { stroke-dashoffset: 100; } }
.pf2-ring b { position: relative; font: 800 19px Alexandria, "Readex Pro", sans-serif; font-variant-numeric: tabular-nums; }
.pf2-wt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pf2-wt b { font-size: 16px; font-weight: 800; } .pf2-wt small { font-size: 12.5px; color: var(--muted); }
.pf2-split { display: block; height: 8px; margin-top: 6px; border-radius: 99px; overflow: hidden; background: linear-gradient(90deg, #D9475B, #FF8494); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4); }
.pf2-split i { display: block; height: 100%; width: var(--p); border-radius: inherit; background: linear-gradient(270deg, #7BF0B5, #2FBF7C); box-shadow: 0 0 10px rgba(63, 207, 142, .5); }
.pf2-wl { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pf2-wl .w { color: #5BE3A2; } .pf2-wl .l { color: #FF8494; }
.pf2-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pf2-st { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 6px 11px; border-radius: 18px; text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03)); border: 1px solid var(--line); }
.pf2-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: color-mix(in srgb, var(--tc) 70%, #fff); background: color-mix(in srgb, var(--tc) 16%, transparent); }
.pf2-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pf2-st b { font: 800 20px/1.15 Alexandria, "Readex Pro", sans-serif; font-variant-numeric: tabular-nums; color: var(--ink); }
.pf2-st small { font-size: 11px; line-height: 1.3; color: var(--muted); }
.pf2-mates { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.pf2-mates::-webkit-scrollbar { display: none; }
.pf2-mate { position: relative; flex: 1 0 128px; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 8px 14px; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.pf2-mate .ma { position: relative; display: block; flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px rgba(235, 198, 117, .6); }
.pf2-mate .ma .ini { display: grid; place-items: center; width: 100%; height: 100%; color: #0B1220; font-weight: 800; font-size: 18px; }
.pf2-mate b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.pf2-mate small { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pf2-mate i { position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, #5BE3A2 var(--p), rgba(255, 255, 255, .1) var(--p)); }
.pf2-games { display: flex; flex-direction: column; gap: 6px; }
.pf2-g { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 12px; padding-inline-start: 16px; border-radius: 15px; overflow: hidden; background: rgba(255, 255, 255, .045); }
.pf2-g::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; }
.pf2-g.w::before { background: linear-gradient(180deg, #7BF0B5, #2FBF7C); } .pf2-g.l::before { background: linear-gradient(180deg, #FF8494, #D9475B); }
.pf2-gr { flex: none; min-width: 50px; text-align: center; font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 9px; }
.pf2-g.w .pf2-gr { color: #5BE3A2; background: rgba(63, 207, 142, .14); } .pf2-g.l .pf2-gr { color: #FF8494; background: rgba(255, 107, 125, .12); }
.pf2-gt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pf2-gt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 700; }
.pf2-gt small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: var(--dim); }
.pf2-gd { flex: none; padding: 3px 9px; border-radius: 10px; font: 800 13px Alexandria, "Readex Pro", sans-serif; font-variant-numeric: tabular-nums; }
.pf2-gd.up { color: #5BE3A2; background: rgba(63, 207, 142, .12); } .pf2-gd.dn { color: #FF8494; background: rgba(255, 107, 125, .1); }
.pf2-cta { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 20px; border: 1px solid rgba(235, 198, 117, .55); color: var(--ink); text-align: start; font: inherit;
  background: radial-gradient(120% 140% at 100% 0%, rgba(235, 198, 117, .26), transparent 60%), linear-gradient(100deg, rgba(235, 198, 117, .12), rgba(235, 198, 117, .03)); box-shadow: 0 14px 30px -18px rgba(235, 198, 117, .7); }
.pf2-cup { font-size: 30px; line-height: 1; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4)); }
.pf2-ctt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .pf2-ctt b { font-size: 15px; } .pf2-ctt small { font-size: 12px; color: var(--muted); }
.pf2-cta > i { font-style: normal; font-weight: 900; color: var(--gold); }
.pf2-note { margin: 2px 4px 0; font-size: 12px; line-height: 1.7; text-align: center; color: var(--dim); }
.pf2-road:focus-visible, .pf2-cta:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; }
.pf2-wait { display: flex; flex-direction: column; gap: 12px; }
.pf2-wait i { display: block; height: 120px; border-radius: 22px; background: linear-gradient(100deg, rgba(255, 255, 255, .05) 30%, rgba(255, 255, 255, .11) 50%, rgba(255, 255, 255, .05) 70%) 0 0 / 300% 100%; animation: pf2Shim 1.3s linear infinite; }
.pf2-wait i:first-child { height: 330px; border-radius: 28px; }
@keyframes pf2Shim { to { background-position: -150% 0; } }
@media (min-width: 640px) { .pf2-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); } .pf2-hero { padding: 24px 24px 26px; } }
@media (prefers-reduced-motion: reduce) { .pf2 > *, .pf2-badge, .pf2-bar i, .pf2-plot svg, .pf2-dot, .pf2-ring .fg, .pf2-dots > span, .pf2-aur, .pf2-wait i { animation: none; } }

/* ---------- the backs of the cards (2026-11-16): the store's backs, a player's own drawn with the AI ---------- */
.look-back { display: block; width: 56px; height: 84px; transform: rotate(-4deg); filter: drop-shadow(0 6px 9px rgba(0, 0, 0, .45)); }
.look-back .cd { display: block; width: 100%; height: 100%; }
.shop-item.on .look-back { transform: rotate(-4deg) translateY(-2px); }
/* the little card by each picture: that player's back, when it's a picture */
.pl .cnt.bk::before { width: .82em; height: 1.12em; background: var(--bk) center / cover no-repeat, #0A0E17; box-shadow: -.26em .09em 0 -.04em rgba(255, 255, 255, .32), 0 0 0 .6px rgba(226, 180, 88, .9); }
/* «صمّم بالذكاء» in the store: its card, then his own designs */
.aib-tile { border-color: transparent; background: linear-gradient(var(--row), var(--row)) padding-box, linear-gradient(135deg, #FFE3A0, #B98CFF 48%, #7CC4FF) border-box; }
.aib-tile .si-prev { background: radial-gradient(120% 95% at 50% 18%, rgba(185, 140, 255, .32), rgba(0, 0, 0, .22) 70%); }
.aib-tile .si-t { color: #FFE3A0; }
.aib-tile .si-sub { font-size: 11px; line-height: 1.4; text-align: center; margin-top: -3px; }
.aib-mini { display: block; width: 52px; height: 78px; transform: rotate(-5deg); filter: drop-shadow(0 6px 12px rgba(80, 40, 160, .55)); }
.aib-mini .cd { display: block; width: 100%; height: 100%; }
.aib-orb { position: absolute; top: 9px; inset-inline-end: 11px; width: 30px; height: 30px; color: #FFE3A0; filter: drop-shadow(0 0 8px rgba(255, 227, 160, .7)); animation: aibTw 2.4s ease-in-out infinite; }
.aib-orb svg { width: 100%; height: 100%; }
@keyframes aibTw { 50% { transform: scale(1.14) rotate(9deg); opacity: .78; } }
.aib-st { position: absolute; top: 6px; inset-inline-start: 6px; z-index: 2; padding: 3px 7px; border-radius: 999px; background: rgba(8, 11, 19, .8); font: 600 10px/1.2 "Readex Pro", sans-serif; font-style: normal; color: #C9B6FF; }
.aib-st.wait { color: #FFD27A; } .aib-st.no { color: #FF9C9C; }
.aib-why { font-size: 11px; line-height: 1.4; color: #FF9C9C; text-align: center; }
.aib-mine.no .look-back { filter: grayscale(.75) brightness(.65) drop-shadow(0 6px 9px rgba(0, 0, 0, .45)); }
.aib-mine .si-t { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.aib-del { flex: none !important; width: 38px; display: grid; place-items: center; }
.si-act .btn.red { background: #C9373C; color: #fff; border-color: #C9373C; }
/* ---------- «صمّم بالذكاء»: the studio (round two, 2026-11-16) — a whole screen, dark and calm whatever the board ---------- */
.screen.dim.aist-scr { display: block; padding: 0; overflow: hidden; background: #070A14; color-scheme: dark; }
.aist { position: relative; height: 100%; display: flex; flex-direction: column; color: #F4F7FF; isolation: isolate; }
.aist-aur { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 80% at 50% -10%, #1B1640 0%, #0B0F1E 55%, #06080F 100%); }
.aist-aur i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(70px); opacity: .3; animation: aistAur 18s ease-in-out infinite alternate; }
.aist-aur i:nth-child(1) { background: #6D4BFF; top: -32vmax; inset-inline-start: -22vmax; }
.aist-aur i:nth-child(2) { background: #E2B458; bottom: -38vmax; inset-inline-end: -26vmax; opacity: .16; animation-delay: -6s; }
.aist-aur i:nth-child(3) { background: #19C3B0; top: 34%; inset-inline-end: -34vmax; opacity: .12; animation-delay: -12s; }
@keyframes aistAur { to { transform: translate(6vmax, 4vmax) scale(1.08); } }
/* the header */
.aist-top { flex: none; display: flex; align-items: center; gap: 10px; padding: calc(10px + var(--safe-t)) max(14px, calc((100% - 1120px) / 2 + 14px)) 10px; border-bottom: 1px solid rgba(255, 255, 255, .07); background: linear-gradient(180deg, rgba(7, 10, 20, .88), rgba(7, 10, 20, .45)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.aist-x { flex: none; width: 40px; height: 40px; border-radius: 13px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); display: grid; place-items: center; color: #F4F7FF; padding: 0; }
[dir="ltr"] .aist-x svg { transform: scaleX(-1); }
.aist-ttl { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.aist-ttl h2 { margin: 0; font: 800 clamp(16px, 2.3vw, 21px)/1.25 Alexandria, "Readex Pro", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aist-ai { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font: 700 10.5px/1.2 "Readex Pro", sans-serif; color: #2A1A06; background: linear-gradient(135deg, #FFE3A0, #E2B458); }
.aist-chips { flex: none; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.aist-chip { padding: 7px 11px; border-radius: 999px; font: 600 12px/1.2 "Readex Pro", sans-serif; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); white-space: nowrap; }
.aist-chip.pts { color: #FFE3A0; }
@media (max-width: 520px) { .aist-chips .aist-chip:not(.pts) { display: none; } }
/* the body: the card and the steps */
.aist-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; width: 100%; max-width: 1120px; margin: 0 auto; padding: 14px 14px 22px; }
@media (min-width: 720px) { .aist-body { grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); gap: 22px; padding-top: 20px; align-items: start; } .aist-body > .aist-stage { position: sticky; top: 0; } }
@media (min-width: 1100px) { .aist-body { grid-template-columns: 360px minmax(0, 1fr); gap: 30px; } }
.aist-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 10px 14px; border-radius: 22px; background: radial-gradient(70% 60% at 50% 42%, rgba(124, 92, 255, .26), transparent 72%), rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07); }
.aist-glow { position: absolute; inset: 16% 22% 32%; border-radius: 50%; background: radial-gradient(circle, rgba(226, 180, 88, .34), transparent 70%); filter: blur(22px); pointer-events: none; }
.aist-card { position: relative; width: min(46vw, 210px); aspect-ratio: 2 / 3; perspective: 900px; }
@media (min-width: 720px) { .aist-card { width: 100%; max-width: 250px; } }
@media (min-width: 1100px) { .aist-card { max-width: 280px; } }
.aist-one { position: absolute; inset: 0; display: block; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; }
.aist-one .cd, .aist-fan .cd { display: block; width: 100%; height: 100%; filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .6)); }
.aist-sheen { position: absolute; inset: 0; border-radius: 9.5% / 6.3%; background: radial-gradient(circle at var(--mx, 30%) var(--my, 20%), rgba(255, 255, 255, .26), transparent 46%); mix-blend-mode: soft-light; pointer-events: none; }
.aist-fan { position: absolute; inset: 0; }
.aist-fan i { position: absolute; inset: 4% 16%; transform-origin: 50% 115%; }
.aist-fan i:nth-child(1) { transform: rotate(-15deg) translateX(-8%); }
.aist-fan i:nth-child(3) { transform: rotate(15deg) translateX(8%); }
.aist-fan .cd { filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .55)); }
.aist-here { position: absolute; inset-inline: 10%; top: 58%; text-align: center; font: 600 12px/1.45 "Readex Pro", sans-serif; color: rgba(244, 247, 255, .72); pointer-events: none; }
.aist-card.busy .aist-one { animation: aistPulse 1.6s ease-in-out infinite; }
.aist-shim { position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(110deg, transparent 30%, rgba(255, 227, 160, .42) 50%, transparent 70%) -160% 0 / 260% 100% no-repeat; animation: aistShim 1.3s linear infinite; pointer-events: none; }
@keyframes aistShim { to { background-position: 160% 0; } }
@keyframes aistPulse { 50% { transform: scale(.975); filter: drop-shadow(0 10px 34px rgba(124, 92, 255, .6)); } }
.aist-card.reveal .aist-one { animation: aistReveal 1s cubic-bezier(.2, .8, .2, 1); }
@keyframes aistReveal { 0% { transform: perspective(800px) rotateY(95deg) scale(.86); filter: brightness(2.4); } 60% { transform: perspective(800px) rotateY(-10deg) scale(1.05); filter: brightness(1.15); } 100% { transform: none; filter: none; } }
.aist-spark { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: #FFE3A0; box-shadow: 0 0 10px #FFE3A0; animation: aistSpark 1.1s ease-out both; pointer-events: none; }
@keyframes aistSpark { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }
.aist-views { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.aist-views button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font: 600 12.5px/1 "Readex Pro", sans-serif; color: rgba(244, 247, 255, .72); }
.aist-views button[aria-selected="true"] { background: rgba(255, 227, 160, .16); color: #FFE3A0; }
.aist-prog { width: 100%; max-width: 300px; display: flex; flex-direction: column; gap: 8px; }
.aist-prog[hidden] { display: none; }
.aist-steps { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 4px; font: 600 11px/1.3 "Readex Pro", sans-serif; color: rgba(244, 247, 255, .42); }
.aist-steps li.now { color: #FFE3A0; }
.aist-steps li.done { color: rgba(244, 247, 255, .85); }
.aist-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.aist-bar i { display: block; height: 100%; width: 4%; border-radius: inherit; background: linear-gradient(90deg, #B98CFF, #FFE3A0); transition: width .9s ease; }
.aist-eta { text-align: center; font-size: 11px; color: rgba(244, 247, 255, .55); }
/* the steps */
.aist-panel { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.aist-sec { padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.aist-sec h3 { margin: 0; display: flex; align-items: center; gap: 8px; font: 700 14.5px/1.3 Alexandria, "Readex Pro", sans-serif; }
.aist-sec h3 > i { flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font: 800 12px/1 "Readex Pro", sans-serif; font-style: normal; color: #2A1A06; background: linear-gradient(135deg, #FFE3A0, #E2B458); }
.aist-sec h3 em { font-style: normal; font-weight: 500; font-size: 12px; color: rgba(244, 247, 255, .5); }
.aist-ta, .aist-in { position: relative; }
.aist textarea, .aist input { display: block; width: 100%; font: 500 15px/1.6 "Readex Pro", sans-serif; color: #F4F7FF; background: rgba(0, 0, 0, .28); border: 1.5px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 12px 14px 24px; resize: none; -webkit-user-select: text; user-select: text; }
.aist input { padding: 12px 14px; padding-inline-end: 66px; }
.aist textarea:focus, .aist input:focus { outline: none; border-color: #E2B458; box-shadow: 0 0 0 3px rgba(226, 180, 88, .2); }
.aist textarea::placeholder, .aist input::placeholder { color: rgba(244, 247, 255, .38); }
.aist textarea:disabled, .aist input:disabled { opacity: .6; }
.aist-n { position: absolute; inset-inline-end: 12px; bottom: 7px; font: 500 11px/1 "Readex Pro", sans-serif; color: rgba(244, 247, 255, .45); pointer-events: none; }
.aist-in .aist-n { bottom: auto; top: 50%; transform: translateY(-50%); }
.aist-idrow { display: flex; gap: 8px; align-items: center; min-width: 0; }
.aist-dice { flex: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .07); color: #FFE3A0; display: grid; place-items: center; padding: 0; }
.aist-dice.roll svg { animation: aistRoll .5s ease; }
@keyframes aistRoll { to { transform: rotate(360deg); } }
.aist-ideas { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; -webkit-mask: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); mask: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); }
.aist-ideas::-webkit-scrollbar { display: none; }
.aist-ideas button { flex: none; padding: 9px 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); font: 500 12px/1.2 "Readex Pro", sans-serif; color: #F4F7FF; white-space: nowrap; }
.aist-styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 1100px) { .aist-styles { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.aist-st { display: flex; flex-direction: column; gap: 7px; padding: 6px 6px 8px; border-radius: 15px; border: 1.5px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); color: #F4F7FF; min-width: 0; transition: transform .15s, border-color .15s, box-shadow .15s; }
@media (hover: hover) { .aist-st:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .22); } }
.aist-sti { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; background: #0A0E17; }
.aist-sti img { display: block; width: 100%; height: 100%; object-fit: cover; }
.aist-st b { font: 600 12px/1.3 "Readex Pro", sans-serif; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aist-ok { position: absolute; top: 6px; inset-inline-end: 6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 800 12px/1 system-ui, sans-serif; font-style: normal; color: #2A1A06; background: #FFE3A0; transform: scale(0); transition: transform .2s; }
.aist-st.on { border-color: #E2B458; background: rgba(226, 180, 88, .1); box-shadow: 0 0 0 1px #E2B458, 0 8px 24px rgba(226, 180, 88, .18); }
.aist-st.on .aist-ok { transform: scale(1); }
.aist-fonts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aist-ft { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 8px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); color: #FBE3A0; min-width: 0; }
.aist-ft .aist-fs { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 19px; line-height: 1.55; }
.aist-ft.f-naskh .aist-fs { font-family: Amiri, "Readex Pro", serif; font-weight: 700; }
.aist-ft.f-bold .aist-fs { font-family: Lalezar, Alexandria, sans-serif; }
.aist-ft small { font: 500 11px/1 "Readex Pro", sans-serif; color: rgba(244, 247, 255, .55); }
.aist-ft.on { border-color: #E2B458; background: rgba(226, 180, 88, .1); box-shadow: 0 0 0 1px #E2B458; }
/* his designs (five at most) */
.aist-cnt { margin-inline-start: auto; padding: 3px 9px; border-radius: 999px; font: 700 11.5px/1.2 "Readex Pro", sans-serif; background: rgba(255, 255, 255, .08); }
.aist-cnt.full { background: rgba(229, 72, 77, .22); color: #FFB3B5; }
.aist-sec.full { border-color: rgba(229, 72, 77, .5); box-shadow: 0 0 0 1px rgba(229, 72, 77, .25); }
.aist-mine { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.aist-m { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 6px; border-radius: 14px; background: rgba(0, 0, 0, .2); border: 1.5px solid transparent; }
.aist-m.on { border-color: #E2B458; }
.aist-m.shown { box-shadow: 0 0 0 2px rgba(185, 140, 255, .7); }
.aist-mt { position: relative; display: block; width: 100%; aspect-ratio: 2 / 3; padding: 0; border: 0; background: none; }
.aist-mt .cd { display: block; width: 100%; height: 100%; }
.aist-mst { position: absolute; top: 5px; inset-inline-start: 5px; padding: 3px 7px; border-radius: 999px; font: 600 9.5px/1.2 "Readex Pro", sans-serif; font-style: normal; background: rgba(8, 11, 19, .86); color: #9EEBC3; }
.aist-mst.wait { color: #FFD27A; }
.aist-mst.no { color: #FF9C9C; }
.aist-mq { font-size: 11px; line-height: 1.35; color: rgba(244, 247, 255, .72); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-align: center; }
.aist-why { font-size: 10.5px; line-height: 1.35; color: #FF9C9C; text-align: center; }
.aist-ma { display: flex; gap: 4px; }
.aist-ma .btn { flex: 1; padding: 7px 4px; font-size: 12px; }
.aist-ma .aist-del { flex: none; width: 34px; display: grid; place-items: center; padding: 0; }
.aist-ma .btn.red { background: #C9373C; border-color: #C9373C; color: #fff; }
.aist-empty { margin: 0; font-size: 12.5px; color: rgba(244, 247, 255, .55); }
.aist-note { padding: 11px 13px; border-radius: 14px; font-size: 13px; line-height: 1.65; }
.aist-note[hidden] { display: none; }
.aist-note.info { background: rgba(255, 227, 160, .1); border: 1px solid rgba(255, 227, 160, .3); color: #FFE9BF; }
.aist-note.bad { background: rgba(229, 72, 77, .14); border: 1px solid rgba(229, 72, 77, .45); color: #FFD4D5; }
.aist-shield { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; line-height: 1.65; color: rgba(244, 247, 255, .55); padding: 0 4px; }
.aist-shield svg { flex: none; color: #7FE0B5; margin-top: 2px; }
/* the foot: the price and what's left, the action */
.aist-foot { flex: none; display: flex; align-items: center; gap: 12px; padding: 12px max(14px, calc((100% - 1120px) / 2 + 14px)) calc(12px + var(--safe-b)); border-top: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(0deg, rgba(7, 10, 20, .96), rgba(7, 10, 20, .78)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.aist-cost { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.aist-cost b { font: 800 17px/1.2 Alexandria, "Readex Pro", sans-serif; color: #FFE3A0; }
.aist-cost small { font-size: 11.5px; color: rgba(244, 247, 255, .6); }
.aist-acts { flex: none; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.aist-go { min-width: 150px; padding: 14px 22px; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 15px; box-shadow: 0 10px 28px rgba(226, 180, 88, .28); }
.aist-go[disabled] { box-shadow: none; opacity: .55; }
.aist-acts .btn.ghost { padding: 13px 16px; border-radius: 15px; }
.aist-spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgba(42, 26, 6, .25); border-top-color: #2A1A06; animation: aistSpinA .8s linear infinite; }
@keyframes aistSpinA { to { transform: rotate(360deg); } }
@media (max-width: 480px) { .aist-acts .btn.ghost { padding: 12px; font-size: 13px; } .aist-go { min-width: 0; padding: 13px 18px; } .aist-edit { display: none; } .aist-cost b { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .aist-aur i, .aist-card.busy .aist-one, .aist-shim, .aist-card.reveal .aist-one, .aist-spark, .aist-dice.roll svg { animation: none !important; } .aist-one { transition: none; } }
@media (prefers-reduced-motion: reduce) { .aib-orb { animation: none; } }

/* ---------- the chat, round two (2026-11-16 — the owner: «ابغا الشات ويكون بتصميم جدا احتراف لابعد حدا») ----------
   «الكل» in gold, «فريقي» in the team's teal: the room you write to is the colour of everything you touch. A phone: a
   sheet over the hand (the board stays in sight; it grows up over the board with the keyboard). A wide screen: a panel
   over the side column. */
.cx { --cx-ink: #F3F6FF; --cx-mut: #8F9BB6; --cx-line: rgba(255, 255, 255, .09); --cx-acc: #FFD36B; --cx-acc-bg: rgba(255, 211, 107, .14); --cx-acc-ring: rgba(255, 211, 107, .22);
  --cx-btn: linear-gradient(180deg, #FFE08A, #F5B93A); --cx-btn-ink: #1B1405; --cx-btn-glow: rgba(245, 185, 58, .3);
  --cx-me: linear-gradient(135deg, rgba(255, 214, 110, .25), rgba(245, 165, 36, .14)); --cx-me-line: rgba(255, 211, 107, .32); --cx-me-ink: #FFF7E3;
  --cx-glow: rgba(255, 211, 107, .07);
  position: absolute; z-index: 46; display: flex; flex-direction: column; min-height: 0; color: var(--cx-ink); font-family: "Readex Pro", sans-serif;
  background: radial-gradient(120% 55% at 50% 0%, var(--cx-glow), transparent 62%), linear-gradient(180deg, #131B31, #080C18);
  border: 1px solid var(--cx-line); box-shadow: 0 -18px 60px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06); overflow: hidden; }
.cx[data-ch="team"] { --cx-acc: #3DEBD6; --cx-acc-bg: rgba(25, 227, 204, .13); --cx-acc-ring: rgba(25, 227, 204, .22);
  --cx-btn: linear-gradient(180deg, #5BF0DD, #17C2AE); --cx-btn-ink: #03211D; --cx-btn-glow: rgba(25, 227, 204, .28);
  --cx-me: linear-gradient(135deg, rgba(61, 235, 214, .24), rgba(62, 130, 255, .16)); --cx-me-line: rgba(61, 235, 214, .34); --cx-me-ink: #E9FFFC;
  --cx-glow: rgba(25, 227, 204, .08); }
.cx[hidden] { display: none; }
.pt .cx { left: 0; right: 0; bottom: var(--kb, 0px); top: clamp(8px, calc(var(--acts-top, 400px) - 10px), calc(100% - var(--kb, 0px) - 370px));
  border-radius: 24px 24px 0 0; border-bottom: 0; padding-bottom: env(safe-area-inset-bottom, 0px); animation: cxUp .28s cubic-bezier(.2, .9, .3, 1.08); }
.ls .cx { top: calc(var(--top-h, 60px) + env(safe-area-inset-top, 0px) + 8px); bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  left: var(--acts-x, 16px); width: var(--acts-w, 440px); max-width: calc(100% - var(--acts-x, 16px) - 8px);
  border-radius: 22px; animation: cxIn .2s ease-out; }
.chat-open .toast { z-index: 62; }
.cx-grab { display: none; }
.pt .cx-grab { display: block; flex: none; width: 40px; height: 4px; margin: 8px auto 0; border-radius: 2px; background: rgba(255, 255, 255, .22); }
.cx-head { display: flex; align-items: center; gap: 10px; flex: none; padding: 10px 14px 8px; }
.pt .cx-head { touch-action: none; padding-top: 6px; }
.cx-hi { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: var(--cx-acc-bg); border: 1px solid var(--cx-acc-ring); transition: background .25s, border-color .25s; }
.cx-hi svg, .cx-tabs svg, .cx-emo svg, .cx-ei svg, .cx-send svg, .cx .lk { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cx-hi svg { width: 19px; height: 19px; color: var(--cx-acc); }
.cx-ht { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.3; }
.cx-ht b { font-size: 15.5px; font-weight: 700; }
.cx-ht small { display: flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--cx-mut); font-size: 11.5px; }
.cx-ht small .lk { flex: none; width: 12px; height: 12px; color: var(--cx-acc); }
.cx-turn { flex: none; height: 30px; padding: 0 12px; border: 0; border-radius: 15px; background: linear-gradient(180deg, #FFE08A, #F5B93A); color: #1B1405; font: 700 12px "Readex Pro", sans-serif; cursor: pointer; animation: cxPulse 1.4s ease-in-out infinite; }
.cx-turn[hidden] { display: none; }
.cx-x { width: 34px; height: 34px; border-radius: 50%; color: #C9D3EA; font-size: 20px; cursor: pointer; transition: background .15s; }
.cx-x:hover { background: rgba(255, 255, 255, .14); }
/* the two rooms */
.cx-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; flex: none; margin: 0 14px 4px; padding: 4px; border-radius: 15px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .06); }
.cx-tabs[hidden] { display: none; }
.cx-tabs button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; border: 0; border-radius: 11px; background: transparent; color: var(--cx-mut); font: 600 13.5px "Readex Pro", sans-serif; cursor: pointer; transition: color .2s, background .25s, box-shadow .25s; }
.cx-tabs button:hover { color: var(--cx-ink); }
.cx-tabs button svg { width: 17px; height: 17px; }
.cx-tabs [data-ch="all"][aria-selected="true"] { color: #1B1405; background: linear-gradient(180deg, #FFE08A, #F5B93A); box-shadow: 0 4px 14px rgba(245, 185, 58, .28); }
.cx-tabs [data-ch="team"][aria-selected="true"] { color: #03211D; background: linear-gradient(180deg, #5BF0DD, #17C2AE); box-shadow: 0 4px 14px rgba(25, 227, 204, .26); }
.cx-tabs button:focus-visible, .cx-quick button:focus-visible, .cx-emo:focus-visible, .cx-send:focus-visible, .cx-x:focus-visible, .cx-m:focus-visible, .cx-menu button:focus-visible { outline: 2px solid var(--cx-acc); outline-offset: 2px; }
.cx-n { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #FF3B5C; color: #fff; font: 700 10.5px/18px "Readex Pro", sans-serif; font-style: normal; text-align: center; box-shadow: 0 0 0 2px rgba(10, 15, 28, .9); }
.cx-n[hidden] { display: none; }
/* the lines */
.cx-body { position: relative; flex: 1 1 auto; min-height: 0; display: flex; }
.cx-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; padding: 6px 12px 12px; -webkit-user-select: text; user-select: text;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 4px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 14px, #000 calc(100% - 4px), transparent 100%);
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .16) transparent; }
.cx-list::-webkit-scrollbar { width: 6px; } .cx-list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .16); border-radius: 3px; }
.cx-m { display: flex; align-items: flex-start; gap: 8px; max-width: 88%; margin-top: 12px; align-self: flex-start; animation: cxMsg .22s ease-out; cursor: pointer; border-radius: 18px; outline: none; }
.cx-m.cont { margin-top: 3px; }
.cx-m.me { align-self: flex-end; cursor: default; }
.cx-m.cw { --c: #B9C4D8; }
.cx-av { flex: none; width: 30px; height: 30px; border-radius: 50%; }
.cx-av > * { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; --av: 30px; }
.cx-m:not(.cont) .cx-av { box-shadow: 0 0 0 2px var(--c, #8F9BB6); }
.cx-b { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.cx-m.me .cx-b { align-items: flex-end; }
.cx-meta { display: flex; align-items: center; gap: 6px; min-width: 0; padding-inline: 4px; font-size: 11.5px; line-height: 1.3; }
.cx-meta b { flex: none; max-width: 170px; overflow: hidden; white-space: nowrap; text-overflow: clip; color: var(--c, #C9D3EA); font-weight: 700; }
.cx-tag { flex: none; padding: 1px 7px; border-radius: 99px; font-size: 10px; font-style: normal; font-weight: 600; }
.cx-tag.t-m { color: #7FF3E4; background: rgba(25, 227, 204, .12); border: 1px solid rgba(25, 227, 204, .3); }
.cx-tag.t-o { color: #FFA3B4; background: rgba(255, 53, 96, .1); border: 1px solid rgba(255, 53, 96, .26); }
.cx-tag.t-w { color: #C9D3EA; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.cx-tx { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0 10px; min-width: 0; max-width: 100%; padding: 7px 12px 6px; border-radius: 18px; background: rgba(255, 255, 255, .075); border: 1px solid rgba(255, 255, 255, .07);
  font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; transition: border-color .15s, box-shadow .15s; }
.cx-m:not(.me):not(.cont) .cx-tx { border-start-start-radius: 6px; }
.cx-m.me .cx-tx { background: var(--cx-me); border-color: var(--cx-me-line); color: var(--cx-me-ink); }
.cx-m.me:not(.cont) .cx-tx { border-start-end-radius: 6px; }
.cx-m:not(.me):hover .cx-tx, .cx-m.sel .cx-tx { border-color: rgba(255, 255, 255, .22); }
.cx-m.sel .cx-tx { box-shadow: 0 0 0 2px var(--cx-acc-ring); }
.cx-m.q .cx-s { font-weight: 600; }
.cx-s { min-width: 0; }
.cx-t { margin-inline-start: auto; color: rgba(255, 255, 255, .42); font-size: 10px; line-height: 2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cx-m.me .cx-t { color: rgba(255, 255, 255, .55); }
/* a voice note in the chat: its play button, its wave, its length */
.cx .vn-chip { display: flex; align-items: center; gap: 8px; min-width: 176px; padding-block: 4px; padding-inline: 4px 10px; border-radius: 99px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .1); color: inherit; font: 600 11.5px "Readex Pro", sans-serif; font-variant-numeric: tabular-nums; cursor: pointer; }
.cx .vn-pl { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--cx-btn); box-shadow: 0 3px 10px var(--cx-btn-glow); }
.cx .vn-pl::before { content: ""; position: absolute; top: 50%; left: 50%; margin: -6px 0 0 -3px; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--cx-btn-ink); }
.cx .vn-chip.on .vn-pl::before { margin: -6px 0 0 -5px; width: 10px; height: 12px; border: 0; background: linear-gradient(90deg, var(--cx-btn-ink) 0 35%, transparent 35% 65%, var(--cx-btn-ink) 65%); }
.cx .vn-wave { flex: 1; display: flex; align-items: center; gap: 2px; height: 24px; }
.cx .vn-wave u { flex: 1; max-width: 3px; height: var(--h, 50%); border-radius: 2px; background: rgba(255, 255, 255, .5); transform-origin: center; }
.cx .vn-chip.on .vn-wave u { background: var(--cx-acc); animation: cxBar .8s ease-in-out infinite alternate; }
.cx .vn-chip.on .vn-wave u:nth-child(3n) { animation-delay: -.3s; } .cx .vn-chip.on .vn-wave u:nth-child(3n+1) { animation-delay: -.55s; }
/* nothing said yet */
.cx-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px 28px; text-align: center; pointer-events: none; }
.cx-empty[hidden] { display: none; }
.cx-ei { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 4px; border-radius: 19px; background: var(--cx-acc-bg); border: 1px solid var(--cx-acc-ring); color: var(--cx-acc); }
.cx-ei svg { width: 28px; height: 28px; }
.cx-empty b { font-size: 15px; font-weight: 700; }
.cx-empty small { max-width: 32ch; color: var(--cx-mut); font-size: 12.5px; line-height: 1.65; }
.cx-new { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); padding: 7px 15px; border: 0; border-radius: 99px; background: var(--cx-btn); color: var(--cx-btn-ink); font: 700 12px "Readex Pro", sans-serif; box-shadow: 0 8px 20px rgba(0, 0, 0, .45); cursor: pointer; animation: cxIn .2s; }
.cx-new[hidden] { display: none; }
.cx-div { display: flex; align-items: center; gap: 10px; margin: 14px 2px 0; color: var(--cx-acc); font-size: 11px; font-weight: 700; letter-spacing: .2px; }
.cx-div::before, .cx-div::after { content: ""; flex: 1; height: 1px; background: var(--cx-acc-ring); }
/* a line tapped: mute, report */
.cx-menu { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 38px); margin: 6px 0 2px; margin-inline-start: 38px; padding: 6px; border-radius: 14px; background: rgba(30, 40, 66, .97); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 12px 28px rgba(0, 0, 0, .45); animation: cxIn .16s; -webkit-user-select: none; user-select: none; }
.cx-menu small { width: 100%; padding: 2px 6px; color: var(--cx-mut); font-size: 11.5px; }
.cx-menu button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 11px; background: rgba(255, 255, 255, .06); color: #fff; font: 500 12.5px "Readex Pro", sans-serif; cursor: pointer; transition: background .15s; }
.cx-menu button:hover { background: rgba(255, 255, 255, .12); }
.cx-menu button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* «يكتب…» */
.cx-typing { display: flex; align-items: center; gap: 8px; flex: none; padding: 0 18px 6px; color: var(--cx-mut); font-size: 12px; }
.cx-typing[hidden] { display: none; }
.cx-tyt { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cx .dots { display: inline-flex; gap: 3px; } .cx .dots b { width: 5px; height: 5px; border-radius: 50%; background: var(--cx-acc); animation: dot 1s infinite; }
.cx .dots b:nth-child(2) { animation-delay: .15s; } .cx .dots b:nth-child(3) { animation-delay: .3s; }
/* the quick lines */
.cx-quick { display: flex; gap: 6px; flex: none; overflow-x: auto; padding: 2px 12px 8px; scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 12px, #000 calc(100% - 16px), transparent 100%); mask-image: linear-gradient(to left, transparent 0, #000 12px, #000 calc(100% - 16px), transparent 100%); }
.cx-quick::-webkit-scrollbar { display: none; }
.cx-quick[hidden] { display: none; }
.cx-quick button { flex: none; height: 34px; padding: 0 13px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); color: var(--cx-ink); font: 500 12.5px "Readex Pro", sans-serif; white-space: nowrap; cursor: pointer; transition: transform .12s, background .2s, border-color .2s; }
.cx-quick button:hover { border-color: var(--cx-acc-ring); background: var(--cx-acc-bg); }
.cx-quick button:active { transform: scale(.95); }
.cx[data-ch="team"] .cx-quick button { border-color: rgba(25, 227, 204, .22); background: rgba(25, 227, 204, .06); }
.cx-note { flex: none; margin: 0 12px 8px; padding: 8px 12px; border-radius: 12px; background: rgba(229, 72, 77, .14); border: 1px solid rgba(229, 72, 77, .36); color: #FFD9D6; font-size: 12.5px; line-height: 1.5; animation: cxIn .2s; }
.cx-note[hidden] { display: none; }
.cx-emobox { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; flex: none; margin: 0 12px 8px; padding: 6px; border-radius: 15px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); animation: cxIn .16s; }
.cx-emobox[hidden] { display: none; }
.cx-emobox button { height: 40px; border: 0; border-radius: 10px; background: transparent; font-size: 21px; line-height: 1; cursor: pointer; transition: background .12s, transform .12s; }
.cx-emobox button:hover { background: rgba(255, 255, 255, .1); } .cx-emobox button:active { transform: scale(.9); }
/* writing */
.cx-form { display: flex; align-items: center; gap: 8px; flex: none; padding: 8px 12px 12px; border-top: 1px solid rgba(255, 255, 255, .06); background: rgba(5, 8, 18, .38); }
.cx-form[hidden] { display: none; }
.cx-emo { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .06); color: #C9D3EA; cursor: pointer; transition: background .15s, color .15s; }
.cx-emo[aria-expanded="true"] { background: var(--cx-acc-bg); color: var(--cx-acc); }
.cx-emo:disabled { opacity: .35; cursor: default; }
.cx-emo svg { width: 22px; height: 22px; }
.cx-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 44px; padding-inline: 5px 14px; border-radius: 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); transition: border-color .2s, box-shadow .2s; cursor: text; }
.cx-field:focus-within { border-color: var(--cx-acc); box-shadow: 0 0 0 3px var(--cx-acc-ring); }
.cx-aud { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 10px; border-radius: 16px; background: var(--cx-acc-bg); color: var(--cx-acc); font-size: 11.5px; font-weight: 700; }
.cx-aud .lk { width: 13px; height: 13px; }
.cx-field input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: #fff; font: 16px "Readex Pro", sans-serif; -webkit-user-select: text; user-select: text; }
.cx-field input::placeholder { color: rgba(201, 211, 234, .52); }
.cx-field input:disabled::placeholder { color: rgba(201, 211, 234, .72); font-size: 13px; }
.cx-left { flex: none; color: var(--cx-mut); font-size: 11px; font-style: normal; font-variant-numeric: tabular-nums; }
.cx-left[hidden] { display: none; } .cx-left.low { color: #FF8A8E; font-weight: 700; }
.cx-send { position: relative; flex: none; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--cx-btn); color: var(--cx-btn-ink); box-shadow: 0 6px 16px var(--cx-btn-glow);
  cursor: pointer; transition: transform .12s, opacity .2s, filter .2s; touch-action: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.cx-send:disabled { opacity: .36; filter: saturate(.35); box-shadow: none; cursor: default; }
.cx-send:not(:disabled):active { transform: scale(.92); }
.cx-send svg { width: 21px; height: 21px; stroke-width: 2; }
.cx-send .i-mic, .cx-send.mic .i-send { display: none; } .cx-send.mic .i-mic { display: block; }
html[dir="ltr"] .cx-send .i-send { transform: scaleX(-1); }
.cx-send.rec { background: #E5484D; color: #fff; animation: vnPulse 1s ease-in-out infinite; }
.cx-send.wait::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--cx-acc); animation: cxSpin .7s linear infinite; }
.cx-lock { display: flex; align-items: center; justify-content: center; gap: 6px; flex: none; margin: 0; padding: 12px 16px 14px; border-top: 1px solid rgba(255, 255, 255, .06); color: var(--cx-mut); font-size: 12.5px; line-height: 1.5; text-align: center; }
.cx-lock[hidden] { display: none; }
.ls .cx-form { padding-bottom: 14px; }
/* over a seat: what was said (a team's line with its lock and the team's edge), «يكتب…» */
.pl .bub.chat:not(.voice) { max-width: 186px; padding: 6px 11px; border-radius: 14px; background: #FFFFFF; color: #0E1526; font-size: 12.5px; font-weight: 500; line-height: 1.45;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; box-shadow: 0 8px 20px rgba(0, 0, 0, .45); }
.pl .bub.chat.team:not(.voice) { background: #ECFFFC; box-shadow: 0 8px 20px rgba(0, 0, 0, .45), 0 0 0 2px #17C2AE; }
.pl .bub .lk { width: 12px; height: 12px; margin-inline-end: 4px; vertical-align: -1px; fill: none; stroke: #0C8F80; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pl .bub.voice .lk { stroke: #3DEBD6; margin-inline-start: 4px; }
.pl .bub.typing { padding: 7px 11px; background: rgba(255, 255, 255, .96); }
.pl .bub.typing.team { box-shadow: 0 6px 16px rgba(0, 0, 0, .4), 0 0 0 2px #17C2AE; }
.chat-dot.team { background: #17C2AE; color: #03211D; }
@keyframes cxUp { from { transform: translateY(48px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cxIn { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes cxMsg { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes cxPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 185, 58, .55); } 50% { box-shadow: 0 0 0 7px rgba(245, 185, 58, 0); } }
@keyframes cxSpin { to { transform: rotate(360deg); } }
@keyframes cxBar { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .cx, .cx-m, .cx-new, .cx-menu, .cx-note, .cx-emobox, .cx-turn { animation: none; } }

/* ---------- the network (2026-11-16 — «ادوات الاتصال بالانترنت والبنق… باعلى مراحل الاحترافيه») ----------
   The line's colour everywhere: 4 ممتاز green, 3 جيد lime, 2 متوسط amber, 1 ضعيف red, 0 منقطع red and crossed, n measuring. */
.nb { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; flex: none; }
.nb u { width: 3px; border-radius: 1.5px; background: var(--glass2); transition: background .25s; }
.nb u:nth-child(1) { height: 28%; } .nb u:nth-child(2) { height: 52%; } .nb u:nth-child(3) { height: 76%; } .nb u:nth-child(4) { height: 100%; }
[data-q="4"] > .nb u, [data-q="4"] .ps .nb u { background: #2BD46A; }
[data-q="3"] > .nb u:nth-child(-n+3), [data-q="3"] .ps .nb u:nth-child(-n+3) { background: #9BE15D; }
[data-q="2"] > .nb u:nth-child(-n+2), [data-q="2"] .ps .nb u:nth-child(-n+2) { background: #F5B93A; }
[data-q="1"] > .nb u:nth-child(1), [data-q="1"] .ps .nb u:nth-child(1) { background: #FF5A5F; }
[data-q="0"] > .nb u, [data-q="0"] .ps .nb u { background: rgba(255, 90, 95, .38); }
[data-q="n"] > .nb u { animation: nbWait 1.2s ease-in-out infinite; } [data-q="n"] > .nb u:nth-child(2) { animation-delay: .15s; } [data-q="n"] > .nb u:nth-child(3) { animation-delay: .3s; } [data-q="n"] > .nb u:nth-child(4) { animation-delay: .45s; }
@keyframes nbWait { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
/* the chip in the top bar */
.net-chip { flex: none; position: relative; display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 10px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); color: var(--ink);
  font: 700 12.5px/1 "Readex Pro", sans-serif; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .2s, background .2s; }
.net-chip small { display: none; font-size: 9.5px; font-weight: 700; color: var(--muted); }
.net-chip.ms small { display: inline; }
.net-chip b:empty { display: none; }
.net-chip[data-q="0"] { border-color: rgba(255, 90, 95, .6); background: rgba(255, 90, 95, .12); }
[data-q="0"] > .nb { position: relative; }
[data-q="0"] > .nb::after { content: ""; position: absolute; left: -3px; right: -3px; top: 50%; height: 2px; border-radius: 1px; background: #FF5A5F; transform: rotate(-40deg); }
.net-chip[data-q="1"] { border-color: rgba(255, 90, 95, .45); } .net-chip[data-q="2"] { border-color: rgba(245, 185, 58, .45); }
@media (max-width: 370px) { .net-chip b, .net-chip.ms small { display: none; } .net-chip { padding: 0 8px; } }
/* a seat whose line is weak or cut off */
.pl .nq { position: absolute; z-index: 6; top: calc(var(--av, 46px) * -.1); right: calc(var(--av, 46px) * -.16); width: clamp(21px, calc(var(--av, 46px) * .4), 30px); height: clamp(21px, calc(var(--av, 46px) * .4), 30px); border-radius: 50%; display: grid; place-items: center;
  color: #F5B93A; background: rgba(8, 12, 22, .94); border: 1.5px solid currentColor; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); pointer-events: none; animation: fade .25s; }
.pl .nq svg { width: 62%; height: 62%; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.pl .nq[data-q="1"], .pl .nq[data-q="0"] { color: #FF5A5F; }
.pl .nq[data-q="0"] { background: #3A0D12; animation: nqPulse 1.4s ease-in-out infinite; }
@keyframes nqPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 90, 95, .55); } 50% { box-shadow: 0 0 0 6px rgba(255, 90, 95, 0); } }
/* «الاتصال» */
.ls-card.ns-card { overflow-y: auto; overscroll-behavior: contain; }
.ns-hero { display: flex; align-items: center; gap: 14px; padding: 4px 2px 14px; }
.ns-hero > .nb { height: 30px; gap: 4px; } .ns-hero > .nb u { width: 7px; border-radius: 3px; }
.ns-big { display: flex; align-items: baseline; gap: 5px; font-variant-numeric: tabular-nums; }
.ns-big b { font: 800 34px/1 Alexandria, "Readex Pro", sans-serif; } .ns-big small { color: var(--muted); font-size: 13px; font-weight: 700; }
.ns-hl { min-width: 0; display: flex; flex-direction: column; gap: 3px; margin-inline-start: auto; text-align: end; }
.ns-hl b { font-size: 16px; font-weight: 800; } .ns-hl small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.ns-hero[data-q="4"] .ns-hl b { color: #2BD46A; } .ns-hero[data-q="3"] .ns-hl b { color: #9BE15D; } .ns-hero[data-q="2"] .ns-hl b { color: #F5B93A; } .ns-hero[data-q="1"] .ns-hl b, .ns-hero[data-q="0"] .ns-hl b { color: #FF5A5F; }
.t-day .ns-hero[data-q="4"] .ns-hl b { color: #138A43; } .t-day .ns-hero[data-q="3"] .ns-hl b { color: #4E8A1C; } .t-day .ns-hero[data-q="2"] .ns-hl b { color: #A86A00; }
.ns-graph { --gc: #9AA6BF; position: relative; flex: none; height: 124px; border-radius: 16px; background: var(--row); border: 1px solid var(--line); overflow: hidden; }
.ns-graph[data-q="4"] { --gc: #2BD46A; } .ns-graph[data-q="3"] { --gc: #9BE15D; } .ns-graph[data-q="2"] { --gc: #F5B93A; } .ns-graph[data-q="1"], .ns-graph[data-q="0"] { --gc: #FF5A5F; }
.ns-graph svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ns-graph .gl { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.ns-graph .ln { fill: none; stroke: var(--gc); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.ns-graph .ar { fill: var(--gc); opacity: .14; }
.ns-graph .dt { fill: var(--gc); }
.ns-graph .ls { fill: rgba(255, 90, 95, .28); }
.ns-ax { position: absolute; inset-inline-start: 8px; transform: translateY(-115%); color: var(--muted); font-size: 10px; font-weight: 600; font-variant-numeric: tabular-nums; pointer-events: none; }
.ns-wait { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 12.5px; }
.ns-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 12px 0 2px; flex: none; }
.ns-tiles > div { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 6px; border-radius: 14px; background: var(--row); border: 1px solid var(--line); text-align: center; }
.ns-tiles small { color: var(--muted); font-size: 11.5px; }
.ns-tiles b { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.ns-tiles .ns-tt { font-size: 10px; line-height: 1.3; }
@media (max-width: 380px) { .ns-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ns-h { margin: 16px 2px 8px; font-size: 13px; font-weight: 700; color: var(--muted); flex: none; }
.ns-seats { display: flex; flex-direction: column; gap: 6px; flex: none; }
.ns-p { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: var(--row); border: 1px solid var(--line); }
.ns-p .pv { flex: none; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; --av: 34px; }
.ns-p .pv > * { display: block; width: 100%; height: 100%; border-radius: 50%; }
.ns-p .pn { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.ns-p .pn b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13.5px; } .ns-p .pn small { color: var(--muted); font-size: 11px; }
.ns-p .ps { flex: none; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ns-p .ps em { font-style: normal; }
.ns-p[data-q="0"] .ps em, .ns-p[data-q="1"] .ps em { color: #FF5A5F; } .ns-p[data-q="2"] .ps em { color: #F5B93A; } .ns-p[data-q="r"] .ps em, .ns-p[data-q="n"] .ps em { color: var(--muted); font-weight: 600; }
.ns-test { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; flex: none; }
.ns-out { padding: 12px 14px; border-radius: 14px; background: var(--row); border: 1px solid var(--line); border-inline-start: 4px solid #9AA6BF; font-size: 13px; line-height: 1.6; animation: fade .2s; }
.ns-out[data-q="4"] { border-inline-start-color: #2BD46A; } .ns-out[data-q="3"] { border-inline-start-color: #9BE15D; } .ns-out[data-q="2"] { border-inline-start-color: #F5B93A; } .ns-out[data-q="1"], .ns-out[data-q="0"] { border-inline-start-color: #FF5A5F; }
.ns-out b { display: block; font-size: 14.5px; } .ns-out small { display: block; color: var(--muted); font-variant-numeric: tabular-nums; }
.ns-out ul { margin: 6px 0 0; padding-inline-start: 18px; }
.ns-sets { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; flex: none; }
.ns-note { margin: 12px 2px 0; color: var(--muted); font-size: 12px; line-height: 1.6; flex: none; }
/* the table's line lost: what, for how long, try now */
.net:not([hidden]) { display: flex; align-items: center; gap: 10px; padding: 9px 12px; }
.net-spin { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: cxSpin .8s linear infinite; }
.net-t { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; } .net-t b { font-size: 13px; } .net-t small { font-size: 11.5px; font-weight: 500; opacity: .85; font-variant-numeric: tabular-nums; }
.net-re { flex: none; height: 30px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .12); color: #fff; font: 700 12px "Readex Pro", sans-serif; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .nb u, .pl .nq, .net-spin { animation: none !important; } }

/* ---------- «القائمة» (2026-11-18, the owner's approved design): a drawer from the start side (the right in Arabic) — you and
   your rank, the table and its code, «كمّل اللعب», this match now, quick tiles, five volumes, the play/look/partner/privacy
   settings, the battery saver (its battery fills, red to green, and the bolt comes: the owner's pick, number one), the language,
   leaving asked first. In the game's own look (its theme's colours) ---------- */
.screen.dim.pz { display: block; padding: 0; overflow: hidden; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; animation: none; }
.pz-scrim { position: absolute; inset: 0; animation: fade .25s; }
/* (the blur and the dim on two layers: a browser that can't draw the blur still dims) */
.pz-scrim::before, .pz-scrim::after { content: ""; position: absolute; inset: 0; }
.pz-scrim::before { -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.pz-scrim::after { background: var(--scrim); }
.pz-d { position: absolute; top: 0; bottom: 0; right: 0; width: min(384px, 92%); display: flex; flex-direction: column; color: var(--ink);
  background: linear-gradient(180deg, var(--bg1), var(--bg2) 72%); border-left: 1px solid rgba(245, 196, 81, .22); box-shadow: -30px 0 60px rgba(0, 0, 0, .5);
  animation: pzIn .42s cubic-bezier(.2, 1, .3, 1); }
[dir="ltr"] .pz-d { right: auto; left: 0; border-left: 0; border-right: 1px solid rgba(245, 196, 81, .22); box-shadow: 30px 0 60px rgba(0, 0, 0, .5); animation-name: pzInL; }
@keyframes pzIn { from { transform: translateX(100%); } }
@keyframes pzInL { from { transform: translateX(-100%); } }
.pz-out-go .pz-d { transform: translateX(100%); transition: transform .26s cubic-bezier(.5, 0, .75, 0); }
[dir="ltr"] .pz-out-go .pz-d { transform: translateX(-100%); }
.pz-out-go .pz-scrim { opacity: 0; transition: opacity .26s; }

/* the head: «القائمة», the line (its quality, the ping, the kind of game) and the close */
.pz-head { flex: none; display: flex; align-items: center; gap: 12px; padding: calc(12px + var(--safe-t)) 16px 11px; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .16); }
.t-day .pz-head { background: rgba(255, 255, 255, .5); }
.pz-ht { flex: 1; min-width: 0; }
.pz-ht b { display: block; font-size: 19px; font-weight: 700; line-height: 1.3; }
.pz-ht small { display: block; margin-top: 1px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.pz-ht small i { display: inline-block; width: 7px; height: 7px; margin-inline-end: 6px; border-radius: 50%; vertical-align: 1px; background: #3BE08A; box-shadow: 0 0 8px #3BE08A; }
.pz-ht small i.q2 { background: #F5C451; box-shadow: 0 0 8px #F5C451; }
.pz-ht small i.q1, .pz-ht small i.q0 { background: #FF5A68; box-shadow: 0 0 8px #FF5A68; }
.pz-ht small i.cpu { background: var(--muted); box-shadow: none; }
.pz-x { flex: none; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); color: var(--ink); display: grid; place-items: center; }
.pz-x svg, .pz-copy svg, .pz-warn svg, .pz-ri svg, .pz-ti svg, .pz-sh svg, .pz-vt svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pz-x svg { width: 18px; height: 18px; stroke-width: 2.2; }
.pz-scroll { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 14px 14px calc(26px + var(--safe-b)); }

/* you */
.pz-me { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 20px; border: 1px solid rgba(245, 196, 81, .25);
  background: radial-gradient(120% 140% at 100% 0%, rgba(245, 196, 81, .16), rgba(255, 255, 255, .03) 60%); }
[dir="ltr"] .pz-me { background: radial-gradient(120% 140% at 0% 0%, rgba(245, 196, 81, .16), rgba(255, 255, 255, .03) 60%); }
.pz-av { flex: none; position: relative; width: 58px; height: 58px; padding: 3px; border-radius: 50%; background: linear-gradient(160deg, #FFEDB5, #D9971F); }
.pz-av > .pa, .pz-av > svg, .pz-av > span { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #1B2647; }
.pz-av > span > *, .pz-av > span img, .pz-av > span svg { display: block; width: 100% !important; height: 100% !important; max-width: 100%; }
.pz-who { flex: 1; min-width: 0; }
.pz-who > b { display: block; font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pz-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.pz-chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 99px; font-style: normal; font-size: 12px; font-weight: 600; white-space: nowrap;
  color: var(--muted); background: var(--glass); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.pz-chip.gold { color: var(--gold); border-color: rgba(245, 196, 81, .45); background: rgba(245, 196, 81, .1); }
.pz-chip svg { flex: none; width: 16px; height: 16px; }
.pz-chip b { font-weight: 700; }

/* the table: its kind and its code (copied with a tap; hidden while streaming) */
.pz-table { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 12px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pz-mode { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pz-mode b { color: var(--ink); font-weight: 600; }
.pz-code { font-family: ui-monospace, Menlo, monospace; font-weight: 700; letter-spacing: 2px; color: var(--gold); direction: ltr; unicode-bidi: isolate; }
.pz-copy { flex: none; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 9px; background: none; color: var(--muted); display: grid; place-items: center; }
.pz-copy svg { width: 17px; height: 17px; }
.streamer .pz-code, .streamer .pz-copy { display: none; }

/* «كمّل اللعب» */
.pz-resume { width: 100%; margin-top: 12px; padding: 14px; border: 0; border-radius: 18px; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 18px; font-weight: 700; color: #2B1A04;
  background: linear-gradient(180deg, #FFEDB5, #F5C451 45%, #D9971F); box-shadow: 0 10px 26px -8px rgba(229, 165, 50, .7), inset 0 1px 0 rgba(255, 255, 255, .6); }
.pz-resume::before { content: ""; flex: none; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #2B1A04; }
.pz-resume:active { transform: scale(.98); }

/* this match, now */
.pz-card { margin-top: 14px; padding: 13px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); }
.pz-ch { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.pz-ch b { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; }
.pz-ch small { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.pz-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pz-st { min-width: 0; padding: 8px 2px; border-radius: 14px; background: var(--row); text-align: center; }
.pz-st i { display: block; font-style: normal; font-size: 15px; line-height: 1.3; }
.pz-st b { display: block; font-size: 20px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.pz-st small { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pz-race { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.pz-race > span:first-child { flex: 1 0 auto; white-space: nowrap; }
.pz-mbs { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.pz-mbs.many { gap: 3px; }
.pz-mbs::before { content: attr(data-t); margin-inline-end: 3px; }
.pz-mbs i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--glass2); }
.pz-mbs.many i { width: 7px; height: 7px; }
.pz-mbs.us i.on { background: radial-gradient(circle at 35% 30%, #fff, #4C8DFF 45%, #1B3F9E); box-shadow: 0 0 6px rgba(76, 141, 255, .7); }
.pz-mbs.them i.on { background: radial-gradient(circle at 35% 30%, #fff, #FF4D63 45%, #9E1B2E); box-shadow: 0 0 6px rgba(255, 77, 99, .7); }

/* the quick tiles (three to a row, two when there are four) */
.pz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.pz-grid.two { grid-template-columns: repeat(2, 1fr); }
.pz-tile { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); color: var(--ink); font-size: 12.5px; font-weight: 600; text-align: center; line-height: 1.3; }
.pz-tile:active { transform: scale(.97); }
.pz-ti { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(245, 196, 81, .12); color: var(--gold); }
.pz-ti svg { width: 20px; height: 20px; }
.pz-tt { max-width: 100%; }
.pz-tile > .pz-new { position: absolute; top: 6px; left: 6px; margin: 0; }
[dir="ltr"] .pz-tile > .pz-new { left: auto; right: 6px; }
.pz-tile.help-btn .pz-tt { font-size: 12px; }
.pz-new { display: inline-block; margin-inline-start: 6px; padding: 0 7px; border-radius: 99px; font-style: normal; font-size: 10px; font-weight: 700; line-height: 17px; color: #2B1A04; background: linear-gradient(180deg, #FFEDB5, #F5C451); vertical-align: 2px; }

/* «بلّغ عن لاعب»: who */
.pz-pick { margin-top: 10px; padding: 10px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); }
.pz-pick > small { display: block; margin: 0 4px 8px; font-size: 12px; color: var(--muted); }
.pz-pick > button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px; border: 0; border-radius: 12px; background: none; color: var(--ink); font-size: 14px; font-weight: 600; text-align: start; }
.pz-pick > button + button { margin-top: 2px; }
.pz-pick > button:active { background: var(--row); }
.pz-pick .pz-pav { flex: none; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: #1B2647; }
.pz-pick .pz-pav > * { display: block; width: 100% !important; height: 100% !important; }
.pz-pick .pz-pt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pz-pick .pz-pt small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }

/* the sections */
.pz-sec { margin-top: 18px; }
.pz-sh { display: flex; align-items: center; gap: 7px; margin: 0 4px 8px; color: var(--gold); font-size: 13px; font-weight: 700; }
.pz-sh svg { flex: none; width: 17px; height: 17px; }
.pz-sh::after { content: ""; flex: 1; height: 1px; margin-inline-start: 4px; background: linear-gradient(270deg, rgba(245, 196, 81, .35), rgba(245, 196, 81, 0)); }
[dir="ltr"] .pz-sh::after { background: linear-gradient(90deg, rgba(245, 196, 81, .35), rgba(245, 196, 81, 0)); }
.pz-box { border-radius: 18px; background: var(--glass); border: 1px solid var(--line); overflow: hidden; }

/* a switch's row */
.pz-row { width: 100%; display: flex; align-items: center; gap: 11px; padding: 12px 13px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); text-align: start; }
.pz-row:last-child { border-bottom: 0; }
.pz-row:has(+ [hidden]:last-child) { border-bottom: 0; }
.pz-ri { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--row); color: var(--ink); transition: background .4s; }
.pz-ri svg { width: 18px; height: 18px; }
.pz-tx { flex: 1; min-width: 0; }
.pz-tx b { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
.pz-tx small { display: block; margin-top: 1px; font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.pz-row .sw { width: 50px; height: 30px; border-radius: 99px; background: var(--glass2); transition: background .25s; }
.pz-row .sw::after { top: 3px; right: 3px; width: 24px; height: 24px; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); transition: transform .25s; }
.pz-row[aria-checked="true"] .sw { background: linear-gradient(180deg, #F5C451, #D9971F); }
.pz-row[aria-checked="true"] .sw::after { transform: translateX(-20px); }
[dir="ltr"] .pz-row .sw::after { right: auto; left: 3px; }
[dir="ltr"] .pz-row[aria-checked="true"] .sw::after { transform: translateX(20px); }
.pz-row:disabled { opacity: .55; }

/* a choice of a few (the speed, the cards' size, the language) */
.pz-segrow { display: block; }
.pz-top { display: flex; align-items: center; gap: 11px; }
.pz-seg { display: flex; gap: 3px; margin-top: 9px; padding: 3px; border-radius: 12px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); }
.t-day .pz-seg { background: rgba(60, 50, 30, .08); }
.pz-seg button { flex: 1; min-width: 0; padding: 7px 4px; border: 0; border-radius: 9px; background: none; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.pz-seg button[aria-checked="true"] { color: #2B1A04; background: linear-gradient(180deg, rgba(245, 196, 81, .95), rgba(217, 151, 31, .95)); box-shadow: 0 4px 12px -4px rgba(229, 165, 50, .7); }

/* a volume: 0 is quiet; the line fills to it (--v), the start side first in either language */
.pz-vol { padding: 11px 13px 9px; border-bottom: 1px solid var(--line); }
.pz-vol:last-child { border-bottom: 0; }
.pz-vol:has(+ .pz-vol[hidden]:last-child) { border-bottom: 0; }
.pz-vt { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.pz-vt svg { flex: none; width: 17px; height: 17px; color: var(--muted); }
.pz-vt span { flex: 1; min-width: 0; }
.pz-vt em { flex: none; min-width: 40px; font-style: normal; font-size: 12.5px; color: var(--gold); text-align: end; font-variant-numeric: tabular-nums; }
.pz-vol.off .pz-vt em { color: var(--muted); }
.pz-vol input { display: block; width: 100%; height: 30px; margin: 2px 0 0; padding: 0; background: none; -webkit-appearance: none; appearance: none; direction: ltr; transform: scaleX(-1); touch-action: pan-y; cursor: pointer; }
[dir="ltr"] .pz-vol input { transform: none; }
.pz-vol input:focus { outline: none; }
.pz-vol input:focus-visible { outline: 2px solid var(--gold2); outline-offset: 2px; border-radius: 8px; }
.pz-vol input::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, #D9971F, #F5C451) 0 0 / var(--v, 50%) 100% no-repeat, var(--glass2); }
.pz-vol input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 3px solid #F5C451; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.pz-vol input::-moz-range-track { height: 6px; border-radius: 99px; background: var(--glass2); }
.pz-vol input::-moz-range-progress { height: 6px; border-radius: 99px; background: linear-gradient(90deg, #D9971F, #F5C451); }
.pz-vol input::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid #F5C451; }

/* «توفير البطارية»: the battery fills (red to green), its bolt pops, a shine runs over it */
.pz-row.eco .pz-ri { color: var(--muted); }
.pz-ri svg.pz-bat { width: 26px; height: 15px; fill: currentColor; stroke: none; overflow: visible; }
.pz-bat .lvl { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(.22); fill: #FF5A68; transition: transform 1.2s cubic-bezier(.5, 0, .2, 1), fill 1.2s; }
.pz-bat .bolt { transform-box: fill-box; transform-origin: 50% 50%; transform: scale(0); fill: #fff; opacity: 0; }
.pz-bat .shine { fill: rgba(255, 255, 255, .55); opacity: 0; }
.pz-row.eco[aria-checked="true"] .pz-bat .lvl { transform: scaleX(1); fill: #3BE08A; }
.pz-row.eco[aria-checked="true"] .pz-bat .bolt { animation: pzBolt .5s 1.1s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.pz-row.eco[aria-checked="true"] .pz-bat .shine { animation: pzShine 1s 1.4s ease forwards; }
.pz-row.eco.still .pz-bat .lvl { transition: none; }
.pz-row.eco.still[aria-checked="true"] .pz-bat .bolt { animation: none; transform: none; opacity: 1; }
.pz-row.eco.still .pz-bat .shine { animation: none; }
.pz-row.eco[aria-checked="true"] .sw { background: linear-gradient(180deg, #3BE08A, #12B46A); }
.pz-row.eco[aria-checked="true"] .pz-ri { background: rgba(59, 224, 138, .14); color: #CFF7E2; }
.t-day .pz-row.eco[aria-checked="true"] .pz-ri { color: #1D7A4D; }
@keyframes pzBolt { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes pzShine { 0% { opacity: 0; transform: translateX(-40px) skewX(-20deg); } 30% { opacity: .8; } 100% { opacity: 0; transform: translateX(80px) skewX(-20deg); } }

/* leaving */
.pz-leave { width: 100%; margin-top: 20px; padding: 13px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 700; color: #FF6B78; background: rgba(255, 90, 104, .07); border: 1px solid rgba(255, 90, 104, .45); }
.t-day .pz-leave { color: #C42335; }
.pz-leave::before { content: ""; flex: none; width: 19px; height: 19px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4h3a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-3M10 17l-5-5 5-5M5 12h11'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4h3a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-3M10 17l-5-5 5-5M5 12h11'/%3E%3C/svg%3E") center / contain no-repeat; }
[dir="ltr"] .pz-leave::before { transform: scaleX(-1); }
.pz-ver { margin-top: 14px; text-align: center; color: var(--dim); font-size: 11.5px; }

/* «تطلع من الطاولة؟» */
.pz-sheet { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; background: rgba(2, 4, 10, .6); animation: fade .2s; }
.pz-sh-in { width: 100%; padding: 22px 18px calc(22px + var(--safe-b)); border-radius: 26px 26px 0 0; text-align: center; background: linear-gradient(180deg, var(--bg1), var(--bg2)); border-top: 1px solid rgba(255, 90, 104, .4); animation: pzUp .3s cubic-bezier(.2, 1, .3, 1); }
@keyframes pzUp { from { transform: translateY(60px); opacity: .3; } }
.pz-warn { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; color: #FF6B78; background: rgba(255, 90, 104, .14); }
.pz-warn svg { width: 28px; height: 28px; }
.pz-sh-in h3 { margin: 0 0 6px; font-size: 19px; }
.pz-sh-in p { margin: 0 0 16px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.pz-sh-in .pz-resume { margin-top: 0; }
.pz-out { width: 100%; margin-top: 10px; padding: 12px; border-radius: 16px; border: 1px solid rgba(255, 90, 104, .5); background: none; color: #FF6B78; font-size: 15px; font-weight: 700; }
.t-day .pz-out { color: #C42335; }

/* a word said while it's open shows over it, at its foot */
.pz-on .toast { position: fixed; z-index: 64; top: auto; bottom: calc(var(--safe-b) + 26px); left: 50%; transform: translate(-50%, 8px); }
.pz-on .toast.on { transform: translate(-50%, 0); }

/* the cards bigger (cardSeg), and the battery saver's lighter table: the fire's glow and the board's sparkle calmer */
.ws.eco .lx-flame b, .ws.eco .lx-sparks i, .ws.eco .lx-glow, .ws.eco .lx-gloss::before, .ws.eco .lx-online::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .pz-d, .pz-scrim, .pz-sh-in, .pz-sheet { animation: none; } .pz-row.eco[aria-checked="true"] .pz-bat .bolt { animation: none; transform: none; opacity: 1; } .pz-row.eco .pz-bat .lvl { transition: none; } }
@media (max-width: 380px) { .pz-scroll { padding-left: 11px; padding-right: 11px; } .pz-tile { font-size: 12px; } .pz-st b { font-size: 18px; } }

/* «تأكيد قبل نزول الورقة» (the menu): the place tapped once grows and beats, white-ringed; a second tap on it plays */
.spot.armed { z-index: 3; border-color: #fff; background: rgba(var(--ring-rgb), .45); box-shadow: 0 0 0 3px rgba(var(--ring-rgb), .9), 0 0 20px 6px rgba(var(--ring-rgb), .8); animation: spotArm .8s ease-in-out infinite; }
@keyframes spotArm { 0%, 100% { transform: scale(1.3); } 50% { transform: scale(1.55); } }
.say .sure-t { color: var(--gold2); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .spot.armed { animation: none; transform: scale(1.4); } }
.pz-old .pz-new { display: none; }

/* the dealer's deck (2026-11-18): a little stack at his right hand, face down with his own back, that riffles once and fades */
.deal-deck { position: fixed; z-index: 58; pointer-events: none; animation: ddIn .22s ease-out; }
.deal-deck i { position: absolute; inset: 0; display: block; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .5)); }
.deal-deck i > svg { display: block; width: 100%; height: 100%; }
.deal-deck i:nth-child(1) { translate: -2px 2px; }
.deal-deck i:nth-child(2) { translate: -1px 1px; }
.deal-deck i:nth-child(3) { animation: ddRiffle .26s ease-in-out 2; }
.deal-deck.out { opacity: 0; transition: opacity .35s; }
@keyframes ddIn { from { opacity: 0; scale: .7; } }
@keyframes ddRiffle { 50% { translate: 7px -3px; rotate: 6deg; } }
/* a dragged card leans and bends with the finger; a light runs over it the other way */
.drag-ghost { transform-style: preserve-3d; }
.dg-glare { position: absolute; inset: 0; border-radius: 9%; pointer-events: none; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .5) 48%, rgba(255, 255, 255, 0) 64%); background-size: 260% 100%; background-position: var(--gx, 50%) 0; mix-blend-mode: soft-light; }
/* a card turns over onto the fire with a shine */
.fc.land .cd { animation: fcLand .42s cubic-bezier(.2, 1.3, .4, 1) both; }
.fc.land::after { content: ""; position: absolute; inset: 0; border-radius: 9%; pointer-events: none; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, .78) 50%, rgba(255, 255, 255, 0) 65%); background-size: 260% 100%; mix-blend-mode: screen; animation: fcShine .62s .16s ease-out both; }
@keyframes fcLand { 0% { transform: perspective(420px) rotateY(-84deg) scale(1.14); } 62% { transform: perspective(420px) rotateY(9deg) scale(1.03); } 100% { transform: none; } }
@keyframes fcShine { from { background-position: 125% 0; opacity: 1; } to { background-position: -45% 0; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .deal-deck, .deal-deck i, .fc.land .cd, .fc.land::after { animation: none !important; } }

/* ===== «صمّم بالذكاء», round three (2026-11-18): the marbles and the board too ===== */
.aist-kinds { flex: none; display: flex; gap: 4px; width: calc(100% - 28px); max-width: 520px; margin: 0 auto 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.aist-kinds button { flex: 1 1 0; min-width: 0; border: 0; background: none; padding: 9px 6px; border-radius: 999px; font: 700 13px/1.1 "Readex Pro", sans-serif; color: rgba(244, 247, 255, .7); white-space: nowrap; transition: background .2s, color .2s; }
.aist-kinds button[aria-selected="true"] { background: linear-gradient(135deg, rgba(255, 227, 160, .24), rgba(185, 140, 255, .22)); color: #FFE3A0; box-shadow: inset 0 0 0 1px rgba(255, 227, 160, .35); }
.aist-who { max-width: 280px; text-align: center; font: 500 11.5px/1.55 "Readex Pro", sans-serif; color: rgba(244, 247, 255, .6); }
.aist-who:empty { display: none; }
.aist-card.aist-look { aspect-ratio: 1; width: min(72vw, 300px); }
@media (min-width: 720px) { .aist-card.aist-look { width: 100%; max-width: 300px; } }
@media (min-width: 1100px) { .aist-card.aist-look { max-width: 330px; } }
.aist-look .aist-one { border-radius: 18px; overflow: hidden; box-shadow: 0 22px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08); }
.aist-bdv img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* (the marbles on a corner of his board, away from the fire, the board dimmed so they stand out) */
.aist-mbs { display: grid; grid-template-columns: 1fr 1fr; place-items: center; padding: 15%; background: 8% 8% / 230% no-repeat #0B1220; }
.aist-mbs::before { content: ""; position: absolute; inset: 0; background: radial-gradient(75% 75% at 50% 50%, rgba(5, 8, 16, .38), rgba(5, 8, 16, .78)); }
.aist-mbs .mb.still { position: relative; z-index: 1; flex: none; width: 74%; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .55)); }
.aist-look.sample .aist-one { opacity: .78; }
.aist-look .aist-here { top: auto; bottom: 8%; }
.aist-look .aist-shim { border-radius: 18px; }
.aist-mt.mk-marble, .aist-mt.mk-board { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #0B1220; }
.aist-mt.mk-marble .aib-mbt { display: grid; grid-template-columns: 1fr 1fr; place-items: center; gap: 6%; width: 100%; height: 100%; padding: 14%; box-sizing: border-box; }
.aist-mt.mk-marble .mb.still { width: 100%; flex: none; }
.aist-mt .aib-bdt, .aist-mt .aib-bdt img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* the store: its card in the marbles' tab and the boards' tab, and his designs there */
.aib-mbs { flex-wrap: wrap; max-width: 76px; gap: 4px; }
.aib-mbs .mb.still { flex: 0 0 30px; }
.aib-bdm { display: block; width: 74px; height: 74px; border-radius: 12px; overflow: hidden; transform: rotate(-4deg); box-shadow: 0 8px 18px rgba(80, 40, 160, .5), 0 0 0 1.5px rgba(255, 227, 160, .5); }
.aib-bdm img { display: block; width: 100%; height: 100%; object-fit: cover; }
.aib-mine .aib-bdt { display: block; width: 70%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 14px rgba(0, 0, 0, .45); }
.aib-mine .aib-bdt img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ===== the ice board (2026-11-19): snow drifting over it, frost glinting, a cold light sweeping across ===== */
.ice-fx { position: absolute; z-index: 1; pointer-events: none; overflow: hidden; border-radius: 4.5%; }
.ice-fx i { position: absolute; display: block; }
.ice-sweep { inset: -25%; background: linear-gradient(115deg, transparent 40%, rgba(190, 238, 255, .12) 47%, rgba(255, 255, 255, .22) 50%, rgba(190, 238, 255, .12) 53%, transparent 60%); transform: translateX(-75%); animation: iceSweep 10s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes iceSweep { 0%, 58% { transform: translateX(-75%); } 88%, 100% { transform: translateX(75%); } }
.ice-flake { top: -3%; left: var(--x); width: calc(7px * var(--s)); height: calc(7px * var(--s)); border-radius: 50%; background: radial-gradient(circle, #fff 0, rgba(226, 247, 255, .75) 40%, transparent 72%); opacity: .9; animation: iceFall var(--d) linear var(--w) infinite; will-change: transform; }
@keyframes iceFall { from { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(var(--dx), calc(var(--H) * .5), 0); } to { transform: translate3d(0, var(--H), 0); } }
.ice-glint { left: var(--x); top: var(--y); width: 16px; height: 16px; margin: -8px; background: radial-gradient(circle, #fff 0, rgba(255, 255, 255, .9) 10%, transparent 28%), linear-gradient(0deg, transparent 47%, rgba(220, 246, 255, .95) 50%, transparent 53%), linear-gradient(90deg, transparent 47%, rgba(220, 246, 255, .95) 50%, transparent 53%); opacity: 0; transform: scale(.2); animation: iceGlint 5.5s ease-in-out var(--w) infinite; }
@keyframes iceGlint { 0%, 72%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); } 82% { opacity: 1; transform: scale(1) rotate(45deg); } 92% { opacity: 0; transform: scale(.3) rotate(90deg); } }
.eco .ice-fx { display: none; }
@media (prefers-reduced-motion: reduce) { .ice-fx { display: none; } }

/* ===================== «المتجر», redesigned (2026-11-19): a whole screen, a showcase, rarity, a piece large ===================== */
.screen.dim.shop-scr { display: block; padding: 0; overflow: hidden; background: rgba(3, 6, 14, .72); color-scheme: dark; }
.shop-scr .shop-card { position: absolute; inset: 0; width: auto; max-height: none; display: flex; flex-direction: column; gap: 0; padding: 0; border: 0; border-radius: 0; color: #F4F7FF; overflow: hidden;
  background: radial-gradient(90% 55% at 85% -5%, rgba(124, 92, 255, .22), transparent 60%), radial-gradient(80% 50% at 0% 10%, rgba(32, 180, 255, .14), transparent 60%), linear-gradient(180deg, #0A0F1E, #060912 70%); animation: shopIn .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes shopIn { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@media (min-width: 900px) { .shop-scr .shop-card { inset: 24px; margin: 0 auto; max-width: 1180px; border-radius: 28px; border: 1px solid rgba(255, 255, 255, .09); box-shadow: 0 40px 120px rgba(0, 0, 0, .65); } }
.shop-aur { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shop-aur i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(70px); opacity: .22; animation: shopAur 18s ease-in-out infinite alternate; }
.shop-aur i:nth-child(1) { background: #7C5CFF; top: -30vmax; inset-inline-end: -20vmax; }
.shop-aur i:nth-child(2) { background: #16B6FF; bottom: -38vmax; inset-inline-start: -24vmax; animation-delay: -6s; opacity: .14; }
.shop-aur i:nth-child(3) { background: #F2C14E; top: 30%; inset-inline-start: 40%; width: 30vmax; height: 30vmax; opacity: .07; animation-delay: -11s; }
@keyframes shopAur { to { transform: translate3d(-6vmax, 4vmax, 0) scale(1.12); } }
/* the head */
.shop-scr .shop-head { position: relative; z-index: 3; flex: none; display: flex; align-items: center; gap: 10px; padding: calc(10px + var(--safe-t)) 14px 10px; background: linear-gradient(180deg, rgba(8, 12, 24, .92), rgba(8, 12, 24, .7)); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.shop-x { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); color: #F4F7FF; }
.shop-x:active { transform: scale(.94); }
[dir="ltr"] .shop-x svg { transform: scaleX(-1); }
.shop-ttl { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.shop-scr .shop-ttl h2 { margin: 0; text-align: start; font: 800 23px/1.15 Alexandria, "Readex Pro", sans-serif; color: #FFE3A0; background: linear-gradient(100deg, #FFF1C9, #F2C14E 45%, #FFE3A0 70%, #E2A63A); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.shop-ttl small { font: 500 11.5px/1.3 "Readex Pro", sans-serif; color: rgba(244, 247, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-scr .shop-pts { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px; background: linear-gradient(180deg, rgba(255, 227, 160, .16), rgba(255, 227, 160, .06)); border: 1px solid rgba(255, 210, 122, .38); color: #FFE3A0; font: 800 14px/1 "Readex Pro", sans-serif; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.shop-scr .shop-pts small { font-size: 11px; font-weight: 600; color: rgba(255, 227, 160, .7); }
.sh-coin { flex: none; width: 20px; height: 20px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45)); }
.shop-scr .shop-inv { flex: none; margin: 0; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 13px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); color: #F4F7FF; font: 600 13px/1 "Readex Pro", sans-serif; text-decoration: none; }
@media (max-width: 430px) { .shop-scr .shop-inv span, .shop-ttl small { display: none; } .shop-scr .shop-inv { width: 42px; padding: 0; justify-content: center; } }
/* the scroller: the showcase, the tabs (staying at the top), the pieces */
.shop-scroll { position: relative; z-index: 1; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: calc(26px + var(--safe-b)); }
.shop-hero { position: relative; margin: 14px 0 4px; }
.shop-hero[hidden] { display: none; }
.sh-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 14px; }
.sh-track::-webkit-scrollbar { display: none; }
.sh-slide { position: relative; flex: 0 0 100%; scroll-snap-align: center; min-height: 196px; border-radius: 24px; overflow: hidden; display: flex; align-items: stretch; cursor: pointer; isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 18px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08); }
@media (min-width: 700px) { .sh-slide { flex-basis: calc(50% - 6px); min-height: 230px; } }
@media (min-width: 1100px) { .sh-slide { flex-basis: calc(50% - 6px); min-height: 250px; } }
.sh-slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .1) 45%, transparent 60%) -200% 0 / 200% 100% no-repeat; animation: shSheen 6.5s ease-in-out infinite; }
@keyframes shSheen { 0%, 60% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.sh-wsb_ice { background: radial-gradient(90% 120% at 15% 50%, #1F6FA0, transparent 70%), linear-gradient(135deg, #062440, #0B3A62 60%, #071A30); }
.sh-wsl_ice { background: linear-gradient(135deg, #0B2C4C, #1A4E7A 55%, #2B2466); }
.sh-wsc_turath { background: radial-gradient(90% 120% at 15% 50%, #6B1A22, transparent 70%), linear-gradient(135deg, #2A0B10, #4A1219 60%, #1A0A08); }
.sh-aib { background: radial-gradient(90% 120% at 15% 50%, #6A44D8, transparent 70%), linear-gradient(135deg, #1A1040, #3A2380 55%, #12305A); }
.sh-art { position: relative; flex: 0 0 46%; display: grid; place-items: center; overflow: hidden; }
.sh-board img { width: 86%; aspect-ratio: 1; border-radius: 9%; object-fit: cover; transform: perspective(700px) rotateX(18deg) rotateZ(-8deg); box-shadow: 0 26px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .12); }
.sh-world { align-self: stretch; }
.sh-world img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
[dir="rtl"] .sh-world img { -webkit-mask-image: linear-gradient(270deg, transparent, #000 35%); mask-image: linear-gradient(270deg, transparent, #000 35%); }
.sh-cards { display: block; width: 100%; height: 100%; }
.sh-cards span { position: absolute; top: 50%; left: 50%; width: 34%; aspect-ratio: 2 / 3; transform-origin: 50% 120%; }
.sh-cards .cd { display: block; width: 100%; height: 100%; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .55)); }
.sh-cards span:nth-child(1) { transform: translate(-50%, -50%) translateX(-34%) rotate(-14deg); }
.sh-cards span:nth-child(2) { transform: translate(-50%, -54%) scale(1.06); z-index: 1; }
.sh-cards span:nth-child(3) { transform: translate(-50%, -50%) translateX(34%) rotate(14deg); }
.sh-aib { gap: 0; }
.sh-art.sh-aib { display: block; }
.sh-aib-b { position: absolute; top: 18%; left: 12%; width: 52%; aspect-ratio: 1; border-radius: 12%; overflow: hidden; transform: rotate(-9deg); box-shadow: 0 16px 30px rgba(0, 0, 0, .5); }
.sh-aib-b img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sh-aib .mb-row { position: absolute; bottom: 12%; left: 18%; width: 46%; }
.sh-aib-c { position: absolute; top: 14%; right: 10%; width: 28%; transform: rotate(10deg); filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .5)); }
.sh-aib-c .cd { display: block; width: 100%; height: auto; }
.sh-txt { position: relative; z-index: 1; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 18px 18px 18px 6px; }
[dir="rtl"] .sh-txt { padding: 18px 6px 18px 18px; }
.sh-txt b { font: 800 clamp(19px, 5.4vw, 27px)/1.15 Alexandria, "Readex Pro", sans-serif; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.sh-txt small { font: 500 12.5px/1.55 "Readex Pro", sans-serif; color: rgba(244, 247, 255, .78); }
.sh-tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; font: 700 10.5px/1.2 "Readex Pro", sans-serif; font-style: normal; color: #2A1A06; background: linear-gradient(135deg, #FFE3A0, #E2B458); box-shadow: 0 4px 12px rgba(226, 180, 88, .35); }
.sh-row { display: flex; align-items: center; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.sh-price { display: inline-flex; align-items: center; gap: 5px; font: 800 15px/1 "Readex Pro", sans-serif; color: #FFE3A0; }
.sh-go { padding: 9px 18px; border-radius: 12px; }
.sh-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.sh-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .22); transition: width .25s, background .25s; }
.sh-dots i.on { width: 20px; background: #F2C14E; }
@media (min-width: 700px) { .sh-dots { display: none; } }
/* the tabs: their icons, sticking at the top as the pieces scroll */
.shop-scr .shop-tabs { position: sticky; top: 0; z-index: 2; display: flex !important; gap: 8px; margin: 10px 0 0; padding: 10px 14px; overflow-x: auto; scrollbar-width: none; border-radius: 0; background: linear-gradient(180deg, rgba(8, 12, 24, .94), rgba(8, 12, 24, .8)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.shop-scr .shop-tabs::-webkit-scrollbar { display: none; }
.shop-scr .shop-tabs button { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 10px 15px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05); color: rgba(244, 247, 255, .78); font: 700 13.5px/1 "Readex Pro", sans-serif; }
.shop-scr .shop-tabs button[aria-selected="true"] { color: #2A1A06; border-color: transparent; background: linear-gradient(180deg, #FFEBB8, #E2B458); box-shadow: 0 6px 18px rgba(226, 180, 88, .32); }
.st-ic { display: inline-grid; width: 18px; height: 18px; font-style: normal; }
.st-ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) { .shop-scr .shop-tabs { justify-content: center; } }
.shop-scr .shop-note { margin: 10px 14px 0; padding: 10px 12px; border-radius: 14px; background: rgba(255, 227, 160, .08); border: 1px solid rgba(255, 227, 160, .22); color: #FFE9BF; font-size: 13px; }
.shop-scr .shop-note[hidden] { display: none; }
/* the pieces */
.shop-scr .shop-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 12px; padding: 8px 14px 0; overflow: visible; }
@media (min-width: 700px) { .shop-scr .shop-list { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; padding: 10px 22px 0; } }
.shop-scr .si-head { grid-column: 1 / -1; flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 14px 2px 2px; }
.shop-scr .si-head b { font: 800 17px/1.3 Alexandria, "Readex Pro", sans-serif; color: #fff; }
.shop-scr .si-head small { color: rgba(244, 247, 255, .55); font-size: 12px; }
.shop-scr .shop-item { --rc: #8E9BB5; --rcA: rgba(142, 155, 181, .2); --rcB: rgba(142, 155, 181, .5); position: relative; gap: 8px; padding: 8px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); box-shadow: 0 10px 26px rgba(0, 0, 0, .28); transition: transform .2s, border-color .2s, box-shadow .2s; }
.shop-scr .shop-item.r-r, .spv-art.r-r { --rc: #4C8DFF; --rcA: rgba(76, 141, 255, .26); --rcB: rgba(76, 141, 255, .55); } .shop-scr .shop-item.r-e, .spv-art.r-e { --rc: #B26BFF; --rcA: rgba(178, 107, 255, .26); --rcB: rgba(178, 107, 255, .55); }
.shop-scr .shop-item.r-l, .spv-art.r-l { --rc: #FFB938; --rcA: rgba(255, 185, 56, .26); --rcB: rgba(255, 185, 56, .55); } .shop-scr .shop-item.r-m, .spv-art.r-m { --rc: #FF5A6E; --rcA: rgba(255, 90, 110, .28); --rcB: rgba(255, 90, 110, .6); }
@media (hover: hover) { .shop-scr .shop-item:hover { transform: translateY(-3px); border-color: var(--rcB); box-shadow: 0 16px 34px rgba(0, 0, 0, .38), 0 0 0 1px var(--rcA); } }
.shop-scr .shop-item.on { border-color: #E2B458; box-shadow: 0 0 0 1px #E2B458, 0 12px 30px rgba(226, 180, 88, .22); }
.shop-scr .shop-item.rar.r-l:not(.on) { border-color: rgba(255, 196, 92, .45); }
.shop-scr .shop-item.rar.r-m:not(.on)::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang, 0deg), #FF4D6D, #FF9A3C, #FFE14D, #FF4D6D); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; animation: shMyth 4s linear infinite; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes shMyth { to { --ang: 360deg; } }
.shop-scr .si-prev { position: relative; aspect-ratio: 1; border-radius: 15px; background: radial-gradient(70% 65% at 50% 46%, var(--rcA), transparent 72%), linear-gradient(180deg, #0E1730, #0A1020); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.shop-scr .si-prev.opens, .shop-scr .si-prev.plays { cursor: pointer; }
.shop-scr .si-prev > img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
@media (hover: hover) { .shop-scr .shop-item:hover .si-prev > img { transform: scale(1.05); } }
.shop-scr .si-rar { top: 7px; inset-inline-start: 7px; inset-inline-end: auto; padding: 3px 8px; font-size: 10px; background: rgba(8, 11, 19, .78); color: #C9D2E6; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .1); }
.shop-scr .si-rar.r-r { color: #8DB8FF; border-color: rgba(76, 141, 255, .45); } .shop-scr .si-rar.r-e { color: #D2A8FF; border-color: rgba(178, 107, 255, .45); }
.shop-scr .si-rar.r-l { color: #2A1A06; background: linear-gradient(180deg, #FFE7A6, #FFB938); border-color: transparent; }
.shop-scr .si-rar.r-m { color: #fff; border-color: transparent; }
.si-new { position: absolute; top: 7px; inset-inline-end: 7px; z-index: 2; padding: 3px 9px; border-radius: 999px; font: 800 10px/1.2 "Readex Pro", sans-serif; font-style: normal; color: #fff; background: linear-gradient(135deg, #FF4D6D, #FF8A3C); box-shadow: 0 4px 12px rgba(255, 77, 109, .45); }
.si-on { position: absolute; bottom: 7px; inset-inline-end: 7px; z-index: 2; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font: 900 13px/1 "Readex Pro", sans-serif; font-style: normal; color: #2A1A06; background: linear-gradient(180deg, #FFEBB8, #E2B458); box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }
.shop-scr .si-excl { top: auto; bottom: 7px; inset-inline-start: 7px; }
.si-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 0 2px; }
.shop-scr .si-t { font: 700 13.5px/1.3 "Readex Pro", sans-serif; color: #F4F7FF; text-align: start; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.si-price { display: inline-flex; align-items: center; gap: 5px; font: 800 13.5px/1 "Readex Pro", sans-serif; color: #FFE3A0; font-variant-numeric: tabular-nums; }
.si-price .sh-coin { width: 17px; height: 17px; }
.si-price.have { color: #7FE0B5; font-weight: 700; } .si-price.on { color: #F2C14E; font-weight: 700; } .si-price.pass { color: #C9B6FF; font-weight: 700; }
.shop-scr .si-act .btn { border-radius: 12px; padding: 9px 6px; font-size: 13px; }
.shop-scr .si-was { text-align: start; padding: 0 2px; margin: -2px 0 0; }
.shop-scr .si-promo { margin: 4px 0; }
/* his AI design's tile keeps its own colours */
.shop-scr .aib-tile { border-color: transparent; background: linear-gradient(#11152A, #11152A) padding-box, linear-gradient(135deg, #FFE3A0, #B98CFF 48%, #7CC4FF) border-box; }
.shop-scr .aib-tile .si-sub { color: rgba(244, 247, 255, .82); font-size: 11.5px; text-align: start; padding: 0 2px; }
.shop-scr .aib-tile .si-t { color: #FFE3A0; }
/* a piece opened large: a sheet from below on a phone, a window on a computer */
.shop-pv { position: absolute; inset: 0; z-index: 6; display: flex; align-items: flex-end; justify-content: center; background: rgba(3, 6, 14, .66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fade .2s; }
.shop-pv[hidden] { display: none; }
.spv-in { position: relative; width: 100%; max-height: 92%; overflow-y: auto; display: flex; flex-direction: column; border-radius: 28px 28px 0 0; background: linear-gradient(180deg, #121A33, #0A0F1E); border: 1px solid rgba(255, 255, 255, .1); border-bottom: 0; box-shadow: 0 -20px 60px rgba(0, 0, 0, .55); padding-bottom: var(--safe-b); animation: spvUp .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes spvUp { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 760px) { .shop-pv { align-items: center; } .spv-in { width: min(860px, calc(100% - 48px)); max-height: calc(100% - 48px); flex-direction: row; border-radius: 28px; border-bottom: 1px solid rgba(255, 255, 255, .1); } .spv-art { flex: 0 0 52%; min-height: 420px; } .spv-info { padding: 34px 28px !important; justify-content: center; } }
.spv-x { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(8, 11, 19, .6); color: #fff; font: 400 24px/1 sans-serif; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.spv-art { --rc: #8E9BB5; --rcA: rgba(142, 155, 181, .2); position: relative; display: grid; place-items: center; min-height: 300px; padding: 30px 20px 18px; overflow: hidden; background: radial-gradient(70% 70% at 50% 45%, var(--rcA), transparent 72%), linear-gradient(180deg, #0F1934, #0A1020); }
.pv-board { position: relative; width: min(78vw, 340px); aspect-ratio: 1; border-radius: 9%; overflow: hidden; transform: perspective(900px) rotateX(16deg); box-shadow: 0 34px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .14); animation: pvFloat 6s ease-in-out infinite; }
.pv-board img { display: block; width: 100%; height: 100%; object-fit: cover; }
@keyframes pvFloat { 50% { transform: perspective(900px) rotateX(12deg) translateY(-6px); } }
.pv-snow { position: absolute; inset: 0; background-image: radial-gradient(2px 2px at 20% 30%, #fff, transparent), radial-gradient(1.6px 1.6px at 70% 20%, #fff, transparent), radial-gradient(2.2px 2.2px at 40% 70%, #fff, transparent), radial-gradient(1.4px 1.4px at 85% 60%, #fff, transparent), radial-gradient(1.8px 1.8px at 55% 45%, #fff, transparent); background-size: 100% 100%; animation: pvSnow 6s linear infinite; opacity: .85; }
@keyframes pvSnow { from { background-position: 0 -100%; } to { background-position: 0 100%; } }
.pv-world { width: 100%; max-width: 460px; }
.pv-world img { display: block; width: 100%; border-radius: 18px; box-shadow: 0 24px 50px rgba(0, 0, 0, .55); }
.pv-cards, .pv-back { position: relative; display: block; width: min(76vw, 330px); height: min(70vw, 300px); }
.pv-cards > span, .pv-back > span { position: absolute; top: 50%; left: 50%; width: 42%; aspect-ratio: 2 / 3; transform-origin: 50% 120%; }
.pv-cards .cd, .pv-back .cd { display: block; width: 100%; height: 100%; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .55)); }
.pv-cards > span:nth-child(1), .pv-back > span:nth-child(1) { transform: translate(-50%, -50%) translateX(-38%) rotate(-15deg); }
.pv-cards > span:nth-child(2), .pv-back > span:nth-child(2) { transform: translate(-50%, -55%) scale(1.08); z-index: 1; }
.pv-cards > span:nth-child(3), .pv-back > span:nth-child(3) { transform: translate(-50%, -50%) translateX(38%) rotate(15deg); }
.pv-mbs { position: relative; display: grid; grid-template-columns: 1fr 1fr; place-items: center; gap: 10%; width: min(66vw, 300px); aspect-ratio: 1; padding: 13%; border-radius: 22px; overflow: hidden; background: 8% 8% / 230% no-repeat #0B1220; box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
.pv-mbs::before { content: ""; position: absolute; inset: 0; background: radial-gradient(75% 75% at 50% 50%, rgba(5, 8, 16, .3), rgba(5, 8, 16, .75)); }
.pv-mbs .mb.still { position: relative; z-index: 1; width: 100%; flex: none; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .55)); }
.pv-gen { position: relative; display: grid; place-items: center; width: min(62vw, 260px); aspect-ratio: 1; transform: scale(1.5); }
.spv-info { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; min-width: 0; }
.spv-k { font: 700 11.5px/1.2 "Readex Pro", sans-serif; color: rgba(244, 247, 255, .55); letter-spacing: .02em; }
.spv-info h3 { margin: 0; font: 800 24px/1.2 Alexandria, "Readex Pro", sans-serif; color: #fff; }
.spv-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.spv-tags .si-rar, .spv-tags .si-new, .spv-tags .si-excl { position: static; }
.spv-note { margin: 0; font: 500 13px/1.7 "Readex Pro", sans-serif; color: rgba(244, 247, 255, .7); }
.spv-act { margin-top: 6px; }
.spv-act .btn { padding: 13px 10px; font-size: 15px; border-radius: 14px; }
.spv-act .si-give { width: 52px; }
/* (a section opened from elsewhere — «غيّره», the new slams — lands under the tabs, not behind them) */
.shop-scr .si-head { scroll-margin-top: 72px; }

/* ===================== «العب أونلاين»'s search, redesigned (2026-11-19): the arena, the radar, the table found ===================== */
.screen.dim.srch-scr { display: block; padding: 0; overflow: hidden; background: #04070F; color-scheme: dark; }
.srch-scr .search-card { --rk: #F6C64F; --rkA: rgba(246, 198, 79, .3); --rkB: rgba(246, 198, 79, .6); position: absolute; inset: 0; width: auto; max-height: none; margin: 0; padding: calc(16px + var(--safe-t)) 18px calc(18px + var(--safe-b)); border: 0; border-radius: 0; gap: 10px; justify-content: center; overflow-y: auto; overflow-x: hidden; color: #F4F7FF;
  background: radial-gradient(70% 46% at 50% 30%, var(--rkA), transparent 70%), linear-gradient(180deg, #070C1A, #04070F 75%); animation: srchIn .4s ease; }
@keyframes srchIn { from { opacity: 0; } }
.srch-scr .search-card::before { display: none; }
.srch-scr .search-card > * { position: relative; z-index: 1; }
@media (min-width: 700px) { .srch-scr .search-card { padding-inline: calc(50% - 250px); } }
/* the arena: a floor of light moving toward you, the rank's glow breathing, motes rising */
.srch-scr .srch-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.sb-floor { position: absolute; left: -50%; right: -50%; bottom: -12%; height: 62%; background: repeating-linear-gradient(90deg, var(--rkB) 0 1.5px, transparent 1.5px 64px), repeating-linear-gradient(0deg, var(--rkB) 0 1.5px, transparent 1.5px 64px); transform: perspective(380px) rotateX(64deg); transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 80%); mask-image: linear-gradient(0deg, #000 10%, transparent 80%); animation: sbFloor 2.6s linear infinite; opacity: .7; }
@keyframes sbFloor { to { background-position: 0 0, 0 64px; } }
.sb-glow { position: absolute; left: 50%; top: 30%; width: 120vmin; height: 120vmin; margin: -60vmin 0 0 -60vmin; border-radius: 50%; background: radial-gradient(circle, var(--rkA), transparent 62%); animation: sbBreathe 3.6s ease-in-out infinite; }
@keyframes sbBreathe { 50% { transform: scale(1.12); opacity: .75; } }
.sb-motes { position: absolute; inset: -10% 0; background-image: radial-gradient(1.6px 1.6px at 12% 82%, rgba(255, 255, 255, .7), transparent), radial-gradient(2px 2px at 28% 64%, var(--rkB), transparent), radial-gradient(1.4px 1.4px at 46% 90%, rgba(255, 255, 255, .6), transparent), radial-gradient(2.2px 2.2px at 63% 72%, var(--rkB), transparent), radial-gradient(1.5px 1.5px at 80% 86%, rgba(255, 255, 255, .7), transparent), radial-gradient(1.8px 1.8px at 92% 60%, var(--rkB), transparent); animation: sbRise 9s linear infinite; }
.sb-motes.b { animation-duration: 13s; animation-delay: -6s; transform: scaleX(-1); opacity: .7; }
@keyframes sbRise { from { transform: translateY(18%); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { transform: translateY(-38%); opacity: 0; } }
.sb-motes.b { animation-name: sbRiseB; }
@keyframes sbRiseB { from { transform: scaleX(-1) translateY(18%); opacity: 0; } 15% { opacity: .8; } 85% { opacity: .8; } to { transform: scaleX(-1) translateY(-38%); opacity: 0; } }
/* the top: the mode, the time left */
.srch-top { position: absolute !important; top: calc(14px + var(--safe-t)); inset-inline-end: 16px; z-index: 2; }
.srch-mode:empty { display: none; }
.srch-mode { display: inline-block; padding: 7px 13px; border-radius: 999px; font: 700 12px/1 "Readex Pro", sans-serif; color: rgba(244, 247, 255, .82); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.srch-scr .search-count { top: calc(10px + var(--safe-t)); inset-inline-start: 14px; width: 50px; height: 50px; }
.srch-scr .search-count circle { stroke: rgba(255, 255, 255, .1); stroke-width: 3; }
.srch-scr .search-count #searchRing { stroke: var(--rk); filter: drop-shadow(0 0 6px var(--rkB)); }
.srch-scr .search-count b { font-size: 16px; color: #fff; }
/* the crest in its radar */
.srch-scr .rk-stage { width: 290px; height: 270px; max-width: 100%; margin: 0 auto -6px; }
.srch-scr .rk-badge { width: 172px; height: 172px; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .55)) drop-shadow(0 0 26px var(--rkA)); }
.srch-scr .rk-badge svg { width: 172px; height: 172px; }
.srch-scr .rk-wave { width: 178px; height: 178px; border-color: var(--rkB); }
.srch-scr .rk-sweep { width: 250px; height: 250px; background: conic-gradient(from 0deg, transparent 0 72%, var(--rkB) 97%, transparent 100%); }
.srch-scr .rk-orbit { width: 236px; height: 236px; }
.rk-ring { width: 214px; height: 214px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .08); box-shadow: inset 0 0 40px var(--rkA); }
.rk-flash { width: 172px; height: 172px; border-radius: 50%; background: radial-gradient(circle, #fff 0, var(--rkB) 38%, transparent 70%); opacity: 0; pointer-events: none; }
.srch-burst { width: 0; height: 0; place-self: center; pointer-events: none; }
.srch-burst i { position: absolute; left: 0; top: 0; width: calc(8px * var(--s)); height: calc(8px * var(--s)); margin: calc(-4px * var(--s)); border-radius: 50%; background: radial-gradient(circle, #fff, var(--rk) 55%, transparent 72%); opacity: 0; }
.srch-scr .rk-tier b { font-size: 26px; }
.srch-scr .rk-bar { width: min(260px, 74%); height: 8px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.srch-scr .rk-bar i { position: relative; overflow: hidden; }
.srch-scr .rk-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-100%); animation: srBar 2.4s ease-in-out infinite; }
@keyframes srBar { 60%, 100% { transform: translateX(100%); } }
.srch-scr .rk-next { color: rgba(244, 247, 255, .55); }
.srch-scr #searchT { margin-top: 8px; font: 800 24px/1.3 Alexandria, "Readex Pro", sans-serif; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
.srch-scr .shop-note { color: rgba(244, 247, 255, .7); }
/* the seats: frames; the empty ones scanning */
.srch-scr .search-slots { gap: 14px; margin: 6px 0 4px; }
.srch-scr .ss { width: 70px; }
.srch-scr .ss .ss-av { width: 62px; height: 62px; box-shadow: 0 0 0 2.5px var(--rk, var(--gold)), 0 0 18px var(--rkA, rgba(0, 0, 0, 0)), 0 8px 18px rgba(0, 0, 0, .4); }
.srch-scr .ss.me .ss-av { box-shadow: 0 0 0 3px #F2C14E, 0 0 22px rgba(242, 193, 78, .55), 0 8px 18px rgba(0, 0, 0, .4); }
.srch-scr .ss-rk { top: 38px; }
.srch-scr .ss b { font-size: 12.5px; color: #fff; }
.srch-scr .ss.wait .ss-av { position: relative; overflow: hidden; background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1.5px dashed rgba(255, 255, 255, .22); }
.ss-who { position: absolute; inset: 14% 14% 10%; width: 72%; height: 76%; fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1.8; stroke-linecap: round; }
.srch-scr .ss.wait .ss-av i { position: absolute; inset: 0; width: auto; height: auto; border: 0; border-radius: 0; background: linear-gradient(180deg, transparent 35%, var(--rkA) 50%, transparent 65%); animation: ssScan 1.8s ease-in-out infinite; }
@keyframes ssScan { from { transform: translateY(-70%); } to { transform: translateY(70%); } }
.srch-scr .ss.wait:nth-child(3) .ss-av i { animation-delay: -.6s; } .srch-scr .ss.wait:nth-child(4) .ss-av i { animation-delay: -1.2s; }
.srch-scr #searchCancel { align-self: center; min-width: 200px; margin-top: 6px; border-radius: 999px; border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); }
.srch-scr .btn.gold.big { align-self: center; min-width: 220px; }
/* the table found: a flash out of the crest, its radar stopping, the seats lighting one by one, sparks */
.search-card.found .rk-wave, .search-card.found .rk-sweep, .search-card.found .rk-orbit { animation-play-state: paused; opacity: 0; transition: opacity .4s; }
.search-card.found .rk-flash { animation: srFlash .9s ease-out both; }
@keyframes srFlash { 0% { opacity: 0; transform: scale(.4); } 6% { opacity: .95; } 100% { opacity: 0; transform: scale(3.2); } }
.search-card.found .rk-badge { animation: srCrest 1s cubic-bezier(.2, 1.4, .4, 1) both, rkFloat 3.2s 1s ease-in-out infinite; }
@keyframes srCrest { 0% { transform: scale(1); } 35% { transform: scale(1.22); filter: drop-shadow(0 0 40px var(--rkB)) brightness(1.35); } 100% { transform: scale(1.06); } }
.search-card.found .srch-burst i { animation: srSpark 1s cubic-bezier(.15, .7, .3, 1) var(--w) both; }
@keyframes srSpark { 0% { opacity: 0; transform: rotate(var(--a)) translateX(0) scale(1.4); } 4% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateX(var(--d)) scale(.3); } }
.search-card.found #searchT { background: linear-gradient(100deg, #fff 20%, #FFE3A0 40%, #fff 60%) -100% 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: srTitle 1.4s ease both, srShine 1.6s .3s ease-in-out both; }
@keyframes srTitle { 0% { transform: scale(.7); opacity: 0; } 55% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes srShine { to { background-position: 120% 0; } }
.search-card.found .ss .ss-av { animation: srSeat .7s calc(.15s + var(--i, 0) * .12s) cubic-bezier(.2, 1.5, .4, 1) both; }
@keyframes srSeat { 0% { transform: scale(1); } 40% { transform: scale(1.16); box-shadow: 0 0 0 3px #fff, 0 0 30px var(--rkB, rgba(255, 255, 255, .6)); } 100% { transform: scale(1); } }
.search-card.found .sb-floor { animation-duration: .7s; }
@media (prefers-reduced-motion: reduce) { .sb-floor, .sb-glow, .sb-motes, .ss-who + i, .srch-scr .rk-bar i::after { animation: none !important; } .search-card.found .rk-flash, .search-card.found .srch-burst i { animation: none !important; opacity: 0; } }

/* ===================== the match (2026-11-19): the two teams sweeping in, «ضد» landing, the crests ===================== */
.rk-vs { overflow: hidden; background: #03060E; }
.rk-vs.on { animation: rkFadeIn .25s ease forwards; }
.rk-vs.out { animation: vsOut .45s ease forwards; }
@keyframes vsOut { to { opacity: 0; transform: scale(1.06); } }
.vs-bg { position: absolute; inset: 0; pointer-events: none; }
.vs-half { position: absolute; left: -20%; right: -20%; height: 62%; }
.vs-half.them { top: -8%; background: radial-gradient(60% 70% at 50% 30%, rgba(255, 77, 94, .38), transparent 70%), linear-gradient(170deg, #2A0B18, #12081A 70%); transform: skewY(-8deg); animation: vsThemIn .55s cubic-bezier(.2, .9, .2, 1) both; }
.vs-half.us { bottom: -8%; background: radial-gradient(60% 70% at 50% 70%, rgba(80, 150, 255, .34), transparent 70%), linear-gradient(350deg, #071A3A, #0A1024 70%); transform: skewY(-8deg); animation: vsUsIn .55s cubic-bezier(.2, .9, .2, 1) both; }
@keyframes vsThemIn { from { transform: skewY(-8deg) translateY(-70%); } }
@keyframes vsUsIn { from { transform: skewY(-8deg) translateY(70%); } }
.vs-slash { position: absolute; left: -20%; right: -20%; top: 50%; height: 4px; margin-top: -2px; background: linear-gradient(90deg, transparent, #FFE3A0 30%, #fff 50%, #FFE3A0 70%, transparent); box-shadow: 0 0 24px 4px rgba(255, 210, 122, .65); transform: skewY(-8deg) scaleX(0); animation: vsSlash .5s .5s cubic-bezier(.2, .9, .2, 1) both; }
@keyframes vsSlash { to { transform: skewY(-8deg) scaleX(1); } }
.vs-rays { position: absolute; left: 50%; top: 50%; width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax; background: repeating-conic-gradient(from 0deg, rgba(255, 227, 160, .09) 0 6deg, transparent 6deg 18deg); -webkit-mask-image: radial-gradient(circle, #000 10%, transparent 55%); mask-image: radial-gradient(circle, #000 10%, transparent 55%); opacity: 0; animation: vsRays .8s .62s ease both, rkSpin 26s .62s linear infinite; }
@keyframes vsRays { to { opacity: 1; } }
.rk-vs .vs-in { position: relative; z-index: 1; width: min(430px, 100%); gap: 16px; animation: vsShake .42s .64s ease both; }
@keyframes vsShake { 20% { transform: translate(-5px, 3px); } 40% { transform: translate(4px, -3px); } 60% { transform: translate(-3px, 2px); } 80% { transform: translate(2px, -1px); } }
.rk-vs .vs-eye { position: relative; overflow: hidden; font-size: 15px; padding: 8px 18px; background: rgba(255, 227, 160, .1); border-color: rgba(255, 227, 160, .45); animation: rkFadeIn .4s .9s ease both; opacity: 0; }
.rk-vs .vs-eye::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); transform: translateX(-120%); animation: vsEyeShine 1.1s 1.25s ease both; }
@keyframes vsEyeShine { to { transform: translateX(120%); } }
.rk-vs .vs-p { position: relative; border: 1px solid rgba(255, 255, 255, .12); background: linear-gradient(170deg, var(--rkA), rgba(10, 14, 28, .92) 65%); box-shadow: 0 18px 40px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .1); }
.rk-vs .them .vs-p { animation: vsCardThem .6s calc(.12s + var(--k) * .08s) cubic-bezier(.2, 1.1, .3, 1) both; }
.rk-vs .us .vs-p { animation: vsCardUs .6s calc(.12s + (var(--k) - 2) * .08s) cubic-bezier(.2, 1.1, .3, 1) both; }
@keyframes vsCardThem { from { opacity: 0; transform: translate(-60vw, -10px) skewX(14deg); filter: blur(6px); } 70% { filter: blur(0); } }
@keyframes vsCardUs { from { opacity: 0; transform: translate(60vw, 10px) skewX(-14deg); filter: blur(6px); } 70% { filter: blur(0); } }
[dir="rtl"] .rk-vs .them .vs-p { animation-name: vsCardUs; } [dir="rtl"] .rk-vs .us .vs-p { animation-name: vsCardThem; }
.rk-vs .vs-av { width: 68px; height: 68px; box-shadow: 0 0 0 3px var(--rk), 0 0 22px var(--rkA); }
.rk-vs .vs-mid { position: relative; justify-content: center; }
.rk-vs .vs-mid b { position: relative; z-index: 1; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; font-size: 26px; color: #2A1A06; text-shadow: none; background: radial-gradient(circle at 35% 30%, #FFF6D8, #F2C14E 45%, #B07A22 100%); box-shadow: 0 0 0 3px rgba(255, 255, 255, .35), 0 0 0 7px rgba(242, 193, 78, .25), 0 0 40px rgba(255, 200, 90, .7); animation: vsSlam .5s .55s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes vsSlam { 0% { opacity: 0; transform: scale(2.6) rotate(-18deg); } 60% { opacity: 1; transform: scale(.92) rotate(3deg); } 100% { transform: scale(1) rotate(0); } }
.vs-shock { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px; border-radius: 50%; border: 3px solid rgba(255, 227, 160, .9); opacity: 0; animation: vsShock .7s .66s ease-out both; }
@keyframes vsShock { 0% { opacity: 0; transform: scale(.6); } 4% { opacity: 1; } 100% { opacity: 0; transform: scale(5); } }
.vs-sparks { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.vs-sparks i { position: absolute; left: 0; top: 0; width: calc(7px * var(--s)); height: calc(7px * var(--s)); margin: calc(-3.5px * var(--s)); border-radius: 50%; background: radial-gradient(circle, #fff, #FFD27A 55%, transparent 72%); opacity: 0; animation: srSpark .9s calc(.66s + var(--w)) cubic-bezier(.15, .7, .3, 1) both; }
.rk-vs .vs-mid i { animation: rkLine .5s .7s ease both; }
.rk-vs .vs-tip { animation: rkFadeIn .4s 1.2s ease both; }
@media (prefers-reduced-motion: reduce) { .vs-half, .vs-slash, .vs-rays, .rk-vs .vs-in, .rk-vs .vs-p, .rk-vs .vs-mid b, .vs-shock, .vs-sparks i, .rk-vs .vs-eye::after { animation: none !important; } .vs-slash { transform: skewY(-8deg); } .vs-rays { opacity: .6; } .rk-vs .vs-eye { opacity: 1; animation: none; } }

/* ===================== «قاعة الكؤوس» (2026-11-19, round two): the spotlight, the vitrines, a trophy large ===================== */
.screen.tr-scr.tr2 { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; overflow: hidden; color-scheme: dark; background: radial-gradient(70% 38% at 50% 0%, rgba(255, 214, 140, .16), transparent 70%), radial-gradient(120% 80% at 50% 110%, rgba(110, 70, 30, .22), transparent 60%), linear-gradient(180deg, #0D0B14, #07060B 70%); }
.t2-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.t2-spot { position: absolute; left: 50%; top: -10%; width: 120vmin; height: 90vmin; margin-left: -60vmin; background: conic-gradient(from 160deg at 50% 0%, transparent 0deg, rgba(255, 226, 170, .1) 18deg, rgba(255, 236, 196, .16) 20deg, rgba(255, 226, 170, .1) 22deg, transparent 40deg); filter: blur(6px); }
.t2-dust { position: absolute; inset: -10% 0; background-image: radial-gradient(1.4px 1.4px at 14% 80%, rgba(255, 230, 180, .7), transparent), radial-gradient(1.8px 1.8px at 36% 60%, rgba(255, 230, 180, .5), transparent), radial-gradient(1.2px 1.2px at 58% 88%, rgba(255, 255, 255, .6), transparent), radial-gradient(1.6px 1.6px at 76% 70%, rgba(255, 230, 180, .55), transparent), radial-gradient(1.3px 1.3px at 90% 84%, rgba(255, 255, 255, .5), transparent); animation: t2Dust 14s linear infinite; }
.t2-dust.b { animation-duration: 19s; animation-delay: -8s; opacity: .7; }
@keyframes t2Dust { from { transform: translateY(14%); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } to { transform: translateY(-34%); opacity: 0; } }
.tr2 .tr-top { position: relative; z-index: 3; flex: none; background: linear-gradient(180deg, rgba(10, 8, 16, .94), rgba(10, 8, 16, .72)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 214, 140, .12); }
.tr2 .tr-top h2 { background: linear-gradient(100deg, #FFF1C9, #F2C14E 45%, #FFE3A0 70%, #E2A63A); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.t2-scroll { position: relative; z-index: 1; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 0 0 calc(120px + var(--safe-b)); }
/* the spotlight: the one worth showing turning on its stand, its rays behind */
.t2-hero { --mc: #F2BE45; --mg: rgba(242, 190, 69, .38); position: relative; display: flex; align-items: center; gap: 6px; padding: 14px 18px 6px; }
.t2-hero[hidden] { display: none; }
.t2-stage { position: relative; flex: 0 0 46%; max-width: 230px; aspect-ratio: 1 / 1.05; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.t2-stage > * { grid-area: 1 / 1; }
.t2-rays { position: absolute; inset: -8%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, var(--mg) 0 5deg, transparent 5deg 16deg); -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 66%); mask-image: radial-gradient(circle, #000 18%, transparent 66%); animation: rkSpin 30s linear infinite; opacity: .8; }
.t2-floor { position: absolute; left: 12%; right: 12%; bottom: 4%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, var(--mg), transparent); filter: blur(2px); }
.t2-big { position: relative; width: 78%; height: 92%; animation: t2Turn 7s ease-in-out infinite; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .6)) drop-shadow(0 0 22px var(--mg)); }
.t2-big svg, .tr-big svg { display: block; width: 100%; height: 100%; }
@keyframes t2Turn { 0%, 100% { transform: translateY(0) scaleX(1); } 25% { transform: translateY(-5px) scaleX(.86); } 50% { transform: translateY(-8px) scaleX(1); } 75% { transform: translateY(-5px) scaleX(.86); } }
.t2-stage:not(.got) .t2-big { filter: grayscale(1) brightness(.4) contrast(1.15) drop-shadow(0 16px 22px rgba(0, 0, 0, .6)); animation: none; }
.t2-glint { position: absolute; inset: 8% 14% 18%; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%) -160% 0 / 260% 100% no-repeat; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(60% 60% at 50% 45%, #000, transparent); mask-image: radial-gradient(60% 60% at 50% 45%, #000, transparent); animation: t2Glint 4.8s ease-in-out infinite; pointer-events: none; }
@keyframes t2Glint { 0%, 55% { background-position: -160% 0; } 100% { background-position: 160% 0; } }
.t2-htx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.t2-tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; font: 700 11px/1.2 "Readex Pro", sans-serif; font-style: normal; color: #2A1A06; background: linear-gradient(135deg, #FFE3A0, #E2B458); box-shadow: 0 4px 14px rgba(226, 180, 88, .35); }
.t2-htx b { font: 800 clamp(20px, 5.6vw, 28px)/1.15 Alexandria, "Readex Pro", sans-serif; color: #fff; text-shadow: 0 2px 16px var(--mg); }
.t2-htx small { font: 500 12.5px/1.6 "Readex Pro", sans-serif; color: rgba(244, 238, 226, .72); }
.t2-hbar { display: block; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.t2-hbar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mc), #FFF1C9); box-shadow: 0 0 10px var(--mg); }
.t2-hn { font-variant-numeric: tabular-nums; }
/* the filters */
.t2-tabs { position: sticky; top: 0; z-index: 2; display: flex; gap: 8px; padding: 10px 16px; overflow-x: auto; scrollbar-width: none; background: rgba(10, 8, 16, .96); box-shadow: 0 10px 18px -8px rgba(10, 8, 16, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.t2-tabs::-webkit-scrollbar { display: none; }
.t2-tabs button { flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 214, 140, .18); background: rgba(255, 255, 255, .04); color: rgba(244, 238, 226, .78); font: 700 13px/1 "Readex Pro", sans-serif; }
.t2-tabs button[aria-selected="true"] { color: #2A1A06; border-color: transparent; background: linear-gradient(180deg, #FFEBB8, #E2B458); box-shadow: 0 6px 16px rgba(226, 180, 88, .3); }
/* the groups and their vitrines */
.tr2 .t2-list { position: static; display: block; width: auto; height: auto; clip: auto; max-height: none; overflow: visible; padding: 4px 14px 0; background: none; border: 0; }
.t2-sec { margin-top: 14px; }
.t2-sec h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 4px 10px; font: 800 16px/1.3 Alexandria, "Readex Pro", sans-serif; color: #FFE3A0; }
.t2-sec h3 small { font: 700 12px/1 "Readex Pro", sans-serif; color: rgba(244, 238, 226, .5); font-variant-numeric: tabular-nums; }
.t2-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .t2-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; } .tr2 .t2-list { padding: 4px 22px 0; } }
.t2-empty { margin: 0 4px; padding: 16px; border-radius: 16px; border: 1px dashed rgba(255, 214, 140, .25); color: rgba(244, 238, 226, .6); font-size: 13px; text-align: center; }
.tr2 .tr-it.vt { --mc: #F2BE45; --mg: rgba(242, 190, 69, .32); position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 0; width: auto; height: auto; padding: 0; border-radius: 16px; overflow: hidden; text-align: center; color: inherit; cursor: pointer;
  border: 1px solid rgba(255, 214, 140, .14); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); box-shadow: 0 10px 24px rgba(0, 0, 0, .4); transition: transform .2s, border-color .2s, box-shadow .2s; }
@media (hover: hover) { .tr2 .tr-it.vt:hover { transform: translateY(-3px); border-color: rgba(255, 214, 140, .4); } }
.tr2 .tr-it.vt.sel { border-color: var(--mc); box-shadow: 0 0 0 1px var(--mc), 0 14px 30px rgba(0, 0, 0, .5); }
.vt-case { position: relative; display: block; aspect-ratio: 1 / 1.08; background: radial-gradient(70% 55% at 50% 42%, var(--mg), transparent 72%), linear-gradient(180deg, #1A1622, #0E0B14); }
.vt-beam { position: absolute; left: 22%; right: 22%; top: 0; height: 70%; background: linear-gradient(180deg, rgba(255, 236, 196, .2), transparent); -webkit-clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.vt-art { position: absolute; left: 14%; right: 14%; top: 7%; bottom: 10%; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .55)) drop-shadow(0 0 12px var(--mg)); }
.vt-art svg { display: block; width: 100%; height: 100%; }
.tr-it.vt:not(.got) .vt-art { filter: grayscale(1) brightness(.32) contrast(1.2) drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); }
.vt-shelf { position: absolute; left: 6%; right: 6%; bottom: 7%; height: 4px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255, 236, 196, .55), transparent); box-shadow: 0 6px 14px rgba(255, 214, 140, .18); }
.vt-lock { position: absolute; top: 7px; inset-inline-end: 7px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .45); }
.vt-lock svg { width: 13px; height: 13px; fill: none; stroke: rgba(255, 255, 255, .7); stroke-width: 2; stroke-linecap: round; }
.vt-tag { position: absolute; top: 7px; inset-inline-start: 7px; padding: 3px 8px; border-radius: 999px; font: 800 9.5px/1.2 "Readex Pro", sans-serif; font-style: normal; }
.vt-tag.rare { color: #2A1A06; background: linear-gradient(135deg, #FFE3A0, #E2B458); }
.vt-tag.new { color: #fff; background: linear-gradient(135deg, #FF4D6D, #FF8A3C); box-shadow: 0 4px 12px rgba(255, 77, 109, .45); animation: t2Pulse 1.6s ease-in-out infinite; }
@keyframes t2Pulse { 50% { transform: scale(1.08); } }
.tr-it.vt.rare.got::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(1.6px 1.6px at 26% 24%, #fff, transparent), radial-gradient(1.4px 1.4px at 74% 34%, #fff, transparent), radial-gradient(1.8px 1.8px at 62% 66%, #fff, transparent); animation: t2Twinkle 2.6s ease-in-out infinite; }
@keyframes t2Twinkle { 50% { opacity: .2; } }
.vt-plate { display: flex; flex-direction: column; gap: 3px; padding: 8px 8px 9px; background: linear-gradient(180deg, #2A1F10, #160F07); border-top: 1px solid rgba(255, 214, 140, .28); }
.vt-plate b { font: 700 11.5px/1.3 "Readex Pro", sans-serif; color: #FFE3A0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vt-plate small { font: 500 10px/1.3 "Readex Pro", sans-serif; color: rgba(255, 232, 190, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.tr-it.vt:not(.got) .vt-plate b { color: rgba(255, 232, 190, .62); }
.vt-bar { display: block; height: 4px; margin-top: 2px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.vt-bar i { display: block; height: 100%; background: linear-gradient(90deg, #A27A33, #F2C14E); }
/* the info: the hint at the foot; a trophy picked, a sheet over the hall */
.t2-dim { position: absolute; inset: 0; z-index: 4; background: rgba(3, 2, 6, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .2s; }
.t2-dim[hidden] { display: none; }
.tr2 .tr-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 26px 18px calc(16px + var(--safe-b)); background: linear-gradient(180deg, transparent, rgba(7, 6, 11, .92) 34%); pointer-events: none; text-align: center; }
.tr2 .tr-info > * { pointer-events: auto; }
.tr2 .tr-info .tr-hint { margin: 0; color: rgba(244, 238, 226, .78); font-size: 13.5px; }
.tr2 .tr-info .tr-rare { margin: 4px 0 0; color: #FFD27A; font-size: 12.5px; }
/* (the hint: a small word over the hall's foot, gone after a few seconds; the rarest is the spotlight's already) */
.tr2 .tr-info.hint:not(.open) { left: 50%; right: auto; bottom: calc(14px + var(--safe-b)); min-height: 0; width: max-content; max-width: calc(100% - 32px); padding: 9px 18px; border-radius: 999px; background: rgba(14, 11, 18, .9); border: 1px solid rgba(255, 214, 140, .22); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; transform: translateX(-50%); animation: t2Hint 5.4s ease both; }
.tr2 .tr-info.hint:not(.open) .tr-rare { display: none; }
.tr2 .tr-info.hint:not(.open) .tr-hint { color: #F4EEE2; font-size: 13px; }
.tr2 .tr-info:not(.open):not(.hint):empty { display: none; }
@keyframes t2Hint { 0% { opacity: 0; transform: translate(-50%, 10px); } 8%, 84% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 6px); visibility: hidden; } }
.tr2 .tr-info.open { --mc: #F2BE45; --mg: rgba(242, 190, 69, .4); padding: 0; background: none; }
.tr2 .tr-info.open .tr-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 auto; width: min(560px, 100%); padding: 22px 20px calc(20px + var(--safe-b)); border-radius: 28px 28px 0 0; text-align: center;
  background: radial-gradient(80% 50% at 50% 0%, var(--mg), transparent 70%), linear-gradient(180deg, #1C1626, #0B0910); border: 1px solid rgba(255, 214, 140, .22); border-bottom: 0; box-shadow: 0 -24px 60px rgba(0, 0, 0, .6); animation: t2Up .32s cubic-bezier(.2, .8, .2, 1); }
@keyframes t2Up { from { transform: translateY(50px); opacity: 0; } }
@media (min-width: 760px) { .tr2 .tr-info.open { top: 0; display: grid; place-items: center; } .tr2 .tr-info.open .tr-card { border-radius: 28px; border-bottom: 1px solid rgba(255, 214, 140, .22); padding-bottom: 24px; } }
.t2-x { position: absolute; top: 12px; inset-inline-end: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .35); color: #fff; font: 400 22px/1 sans-serif; }
.tr2 .tr-info.open .tr-big { position: relative; display: grid; place-items: center; width: 190px; height: 210px; margin: 0; font-size: 0; background: none; border-radius: 0; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .6)) drop-shadow(0 0 26px var(--mg)); }
.tr2 .tr-info.open .tr-big > * { grid-area: 1 / 1; }
.tr2 .tr-info.open .tr-big svg { width: 150px; height: 188px; animation: t2Turn 7s ease-in-out infinite; }
.tr2 .tr-info.open .tr-big:not(.got) svg { filter: grayscale(1) brightness(.42) contrast(1.15); animation: none; }
.tr2 .tr-info.open .tr-big .t2-rays { inset: -12%; }
.tr2 .tr-info.open .tr-txt h3 { margin: 4px 0 4px; font: 800 22px/1.25 Alexandria, "Readex Pro", sans-serif; color: #fff; }
.tr2 .tr-info.open .tr-txt { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tr2 .tr-met { display: inline-block; margin: 0 3px; padding: 3px 10px; border-radius: 999px; font: 700 11px/1.3 "Readex Pro", sans-serif; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #F4EEE2; }
.tr2 .tr-met.rare { color: #2A1A06; background: linear-gradient(135deg, #FFE3A0, #E2B458); border-color: transparent; }
.tr2 .tr-met.sp { color: #fff; background: linear-gradient(135deg, #7A4CE0, #2A6DFF); border-color: transparent; }
.tr2 .tr-how { margin: 4px 0 0; color: rgba(244, 238, 226, .82); font-size: 14px; line-height: 1.7; }
.tr2 .tr-at { margin: 0; color: rgba(255, 214, 140, .75); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.tr2 .tr-bar { width: min(260px, 80%); height: 7px; margin: 4px auto 0; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.tr2 .tr-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mc), #FFF1C9); }
.tr2 .tr-sp { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 2px 0 0; color: rgba(244, 238, 226, .8); font-size: 13px; }
.tr2 .tr-sp img { width: 26px; height: 26px; border-radius: 6px; object-fit: contain; background: #fff; }
/* a new one, celebrated */
.t2-cele { margin: 0; font: 800 15px/1.2 Alexandria, "Readex Pro", sans-serif; color: #FFE3A0; letter-spacing: .02em; animation: t2CeleIn .6s cubic-bezier(.2, 1.5, .4, 1) both; }
@keyframes t2CeleIn { from { transform: scale(.6); opacity: 0; } }
.tr-info.cele .tr-big svg { animation: t2Rise .9s cubic-bezier(.2, 1.3, .4, 1) both, t2Turn 7s .9s ease-in-out infinite; }
@keyframes t2Rise { from { transform: translateY(40px) scale(.6); opacity: 0; filter: brightness(2.2); } }
.t2-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.t2-burst i { position: absolute; left: 0; top: 0; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: radial-gradient(circle, #fff, var(--mc) 55%, transparent 72%); opacity: 0; animation: srSpark 1.1s calc(.3s + var(--w)) cubic-bezier(.15, .7, .3, 1) both; }
/* «الألقاب» (2026-11-19): his title under his name, the titles' list, a trophy's title on its sheet, a player's at the table */
.t2-title { display: block; margin-top: 3px; }
.t2-title[hidden] { display: none; }
.t2-title svg, .pm-title svg { display: block; height: 24px; width: auto; max-width: 100%; }
.tr2 .t2-tlh { margin: 6px 18px 10px; color: rgba(244, 238, 226, .66); font-size: 13px; text-align: center; }
.tr2 .t2-tls { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 4px 14px 20px; }
.tr2 .tr-it.tl { display: flex; flex-direction: column; align-items: center; gap: 4px; width: min(420px, 100%); padding: 8px 10px 9px; border-radius: 16px; border: 1px solid rgba(255, 214, 140, .12); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); }
.tr2 .tr-it.tl .tl-art svg { display: block; height: 46px; width: auto; max-width: 100%; }
.tr2 .tr-it.tl:not(.got) .tl-art svg { filter: grayscale(1) brightness(.45); }
.tr2 .tr-it.tl small { color: rgba(244, 238, 226, .62); font-size: 12px; }
.tr2 .tr-it.tl.on { border-color: #F2BE45; box-shadow: 0 0 0 1px #F2BE45, 0 0 22px rgba(242, 190, 69, .28); }
.tr2 .tr-it.tl.on small { color: #FFD98A; font-weight: 700; }
.tr2 .t2-tlb { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 6px; padding-top: 10px; border-top: 1px solid rgba(255, 214, 140, .12); }
.tr2 .t2-tlb small { color: rgba(255, 214, 140, .8); font-size: 12px; }
.tr2 .t2-tlb .tl-art svg { display: block; height: 40px; width: auto; max-width: 100%; }
.tr2 .t2-tlb:not(:has(.btn)) { padding-bottom: 2px; }
.pm-title { display: block; margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .t2-dust, .t2-rays, .t2-big, .t2-glint, .vt-tag.new, .tr-it.vt.rare.got::after, .tr2 .tr-info.open .tr-big svg, .t2-burst i { animation: none !important; } }

@media (min-width: 900px) { .tr2 .t2-hero, .tr2 .t2-list { max-width: 1100px; margin-inline: auto; } .tr2 .t2-hero { justify-content: center; gap: 30px; padding-top: 24px; } .tr2 .t2-stage { flex-basis: 260px; } .tr2 .t2-htx { flex: 0 1 420px; } .tr2 .t2-tabs { justify-content: center; } }
