/* U.C.M website skin v3 (2026-11-14): the app's own colours (cyan #46E0D9, pink #FF5FA8, violet #8B6CFF on a near-black violet night), glass surfaces, 3D depth and motion.
   Loaded AFTER site-v2.css / menu-v2.css / lang.css on every inner page, so it only overrides: no HTML or text changes, translations stay valid.
   Motion is progressive: everything is visible at rest; ucm-v3.js adds the movement. Reduced-motion visitors get the same look without animation. */

@property --v3-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --v3-cyan: #46e0d9; --v3-pink: #ff5fa8; --v3-violet: #8b6cff; --v3-ink: #f6f4fa; --v3-ink2: #c9c5da; --v3-ink3: #9a96ad;
  --v3-grad: linear-gradient(100deg, #46e0d9 0%, #8b6cff 52%, #ff5fa8 100%);
  --v3-grad-soft: linear-gradient(100deg, rgba(70, 224, 217, .9), rgba(139, 108, 255, .8) 52%, rgba(255, 95, 168, .9));
  --v3-glass-a: rgba(26, 20, 48, .72); --v3-glass-b: rgba(10, 8, 22, .8);
  --v3-line: rgba(70, 224, 217, .38); --v3-line-pink: rgba(255, 95, 168, .38);
  /* re-point the old tokens so every rule that still reads them turns cyan/pink */
  --night: #050507; --night-2: #0d0a18;
  --gold: #46e0d9; --gold-hi: #b9f6f2; --gold-line: rgba(70, 224, 217, .5);
  --cyan: #7fe9e3; --ink: #f6f4fa; --ink-2: #cdc9de; --ink-3: #9a96ad;
  --accent: #8b6cff; --accent-rgb: 139, 108, 255; --tint: rgba(139, 108, 255, .24);
  --card-a: rgba(28, 21, 52, .74); --card-b: rgba(10, 8, 22, .82);
  --display: "Segoe UI Variable Display", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
}
/* every game keeps a hint of its own colour in the glow, but the surface is the app's */
body[data-game="pokemon"]    { --accent: #ffd54a; --accent-rgb: 255, 213, 74; }
body[data-game="onepiece"]   { --accent: #ff7a6b; --accent-rgb: 255, 122, 107; }
body[data-game="yugioh"]     { --accent: #c3a2ff; --accent-rgb: 195, 162, 255; }
body[data-game="mtg"]        { --accent: #ffa95a; --accent-rgb: 255, 169, 90; }
body[data-game="lorcana"]    { --accent: #7cc4ff; --accent-rgb: 124, 196, 255; }
body[data-game="dragonball"] { --accent: #ffb13d; --accent-rgb: 255, 177, 61; }
body[data-game="digimon"]    { --accent: #5fe0ff; --accent-rgb: 95, 224, 255; }

body { background: #050507; }

/* ---------- atmosphere: slow aurora + stars (GPU transforms only) ---------- */
.backdrop { filter: blur(40px) saturate(1.35) brightness(.26) hue-rotate(-24deg); }
.backdrop::after { background: radial-gradient(ellipse at 50% 0%, rgba(139, 108, 255, .22), transparent 62%), radial-gradient(ellipse at center, rgba(5, 5, 9, 0) 8%, rgba(5, 5, 9, .94) 86%); }
body::before { content: ""; position: fixed; z-index: 0; inset: -18% -12%; pointer-events: none; will-change: transform;
  background:
    radial-gradient(34% 30% at 14% 12%, rgba(70, 224, 217, .20), transparent 70%),
    radial-gradient(32% 30% at 88% 20%, rgba(255, 95, 168, .17), transparent 70%),
    radial-gradient(46% 36% at 52% 104%, rgba(139, 108, 255, .22), transparent 72%); }
@media (prefers-reduced-motion: no-preference) { body::before { animation: v3-drift 26s ease-in-out infinite alternate; } }
@keyframes v3-drift { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.08); } }
.stars { opacity: .6; background-image: radial-gradient(1.4px 1.4px at 8% 18%, #fff, transparent), radial-gradient(1px 1px at 22% 62%, #9ff4ef, transparent), radial-gradient(1.6px 1.6px at 37% 28%, #fff, transparent),
  radial-gradient(1px 1px at 51% 78%, #ffc2de, transparent), radial-gradient(1.4px 1.4px at 66% 14%, #9ff4ef, transparent), radial-gradient(1px 1px at 78% 55%, #fff, transparent),
  radial-gradient(1.5px 1.5px at 91% 34%, #ffc2de, transparent), radial-gradient(1px 1px at 14% 88%, #fff, transparent), radial-gradient(1.2px 1.2px at 58% 46%, #9ff4ef, transparent), radial-gradient(1px 1px at 86% 90%, #fff, transparent); }

/* ---------- top bar ---------- */
.sbar { background: linear-gradient(90deg, rgba(8, 6, 18, .86), rgba(14, 9, 30, .84) 55%, rgba(6, 8, 20, .86)); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); }
.sbar::after { height: 2px; background: linear-gradient(90deg, rgba(70, 224, 217, 0), #46e0d9 22%, #8b6cff 50%, #ff5fa8 78%, rgba(255, 95, 168, 0)); box-shadow: 0 0 16px rgba(139, 108, 255, .55); background-size: 200% 100%; }
@media (prefers-reduced-motion: no-preference) { .sbar::after { animation: v3-line 9s linear infinite; } @keyframes v3-line { to { background-position: -200% 0; } } }
.sbar .ucm-menu-btn, .dbar .ucm-menu-btn { background: linear-gradient(#0b0818, #0b0818) padding-box, var(--v3-grad) border-box; box-shadow: 0 0 0 4px rgba(139, 108, 255, .10), 0 6px 18px rgba(0, 0, 0, .5), 0 0 18px rgba(70, 224, 217, .18); }
.sbar .ucm-menu-btn:hover, .dbar .ucm-menu-btn:hover { background: linear-gradient(#150f2c, #150f2c) padding-box, var(--v3-grad) border-box; box-shadow: 0 0 0 4px rgba(139, 108, 255, .2), 0 0 26px rgba(255, 95, 168, .45); }
.sbar .ucm-menu-btn span, .sbar .ucm-menu-btn span::before, .sbar .ucm-menu-btn span::after, .dbar .ucm-menu-btn span, .dbar .ucm-menu-btn span::before, .dbar .ucm-menu-btn span::after { background: var(--v3-grad); }
.ucm-menu-toggle:focus-visible ~ .stage .ucm-menu-btn, .ucm-menu-toggle:focus-visible ~ .sbar .ucm-menu-btn { outline-color: var(--v3-cyan); }
.sbar-nav a { color: #e6e3f2; }
.sbar-nav a:hover, .sbar-nav a:focus-visible { color: #fff; background: rgba(139, 108, 255, .16); box-shadow: 0 0 0 1px rgba(70, 224, 217, .35) inset; }
.sbar-nav a[aria-current="page"] { color: #fff; background: linear-gradient(135deg, rgba(70, 224, 217, .2), rgba(255, 95, 168, .2)); box-shadow: 0 0 0 1px rgba(139, 108, 255, .6) inset, 0 0 18px rgba(139, 108, 255, .3); }
.sbar-social a, .dsocials a { color: #e6e3f2; border-color: rgba(139, 108, 255, .35); }
.sbar-social a:hover, .sbar-social a:focus-visible, .dsocials a:hover, .dsocials a:focus-visible { color: #fff; background: rgba(139, 108, 255, .22); border-color: var(--v3-cyan); box-shadow: 0 0 16px rgba(70, 224, 217, .4); }

/* gold buttons become the app's gradient button */
.sbar-cta, .dcta, .play { color: #07121a; background: var(--v3-grad); background-size: 140% 100%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .28) inset, 0 8px 26px rgba(139, 108, 255, .38), 0 0 22px rgba(70, 224, 217, .22); }
.sbar-cta:hover, .sbar-cta:focus-visible, .dcta:hover, .dcta:focus-visible, .play:hover, .play:focus-visible { color: #07121a; background-position: 100% 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .6) inset, 0 12px 36px rgba(255, 95, 168, .5), 0 0 30px rgba(70, 224, 217, .4); }
.play.ios, .play.android { }
a:focus-visible { outline-color: var(--v3-cyan); }

/* ---------- headings ---------- */
h1 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; background: linear-gradient(100deg, #fff 8%, #c9f8f5 42%, #ffd0e6 78%, #fff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 28px rgba(139, 108, 255, .45)); }
h2 { font-family: var(--display); font-weight: 800; letter-spacing: .02em; text-transform: none; font-size: clamp(22px, 3.2vw, 32px); color: transparent; background: var(--v3-grad); -webkit-background-clip: text; background-clip: text; }
h2::before, h2::after { background: linear-gradient(90deg, transparent, var(--v3-line)); }
h2::after { background: linear-gradient(90deg, transparent, var(--v3-line-pink)); }
h3 { font-family: var(--display); font-weight: 700; letter-spacing: 0; color: #e9fffe; }
h3::before { color: var(--v3-pink); text-shadow: 0 0 12px rgba(255, 95, 168, .85); }
section h2 { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #e9fffe; font-size: 17px; font-weight: 700; }
section h2::before { color: var(--v3-pink); text-shadow: 0 0 12px rgba(255, 95, 168, .85); }
.eyebrow { font-family: var(--display); font-weight: 700; letter-spacing: .2em; color: var(--v3-cyan); }
.eyebrow::before, .eyebrow::after { background: linear-gradient(90deg, transparent, var(--v3-cyan)); }
.eyebrow::after { background: linear-gradient(90deg, transparent, var(--v3-pink)); }
.hero p, .lead, .intro { color: var(--v3-ink2); }
a { color: #8ff0ea; text-decoration-color: rgba(70, 224, 217, .45); }
a:hover { color: #fff; }
.crumbs a:hover, .crumbs a:focus-visible { color: var(--v3-cyan); }

/* ---------- hero art band behind the first screen of every inner page ---------- */
body[data-kind="tcgapp"], body[data-game], body[data-kind="community"], body[data-kind="hub"], body[data-banner] { --band: url(/img/v3-hero-2560.webp); --band-s: url(/img/v3-hero-1280.webp); }
body[data-kind="hub"], body[data-banner] { --band: url(/img/v3-banner-2560.webp); --band-s: url(/img/v3-banner-1280.webp); }
body[data-game] .page::before, body[data-kind="hub"] .page::before, body[data-kind="community"] .page::before, body[data-banner] .page::before, body[data-kind="tcgapp"] .page::before {
  background: linear-gradient(90deg, rgba(5, 5, 9, .86) 0%, rgba(5, 5, 9, .46) 40%, rgba(5, 5, 9, 0) 74%), linear-gradient(180deg, rgba(5, 5, 9, .1) 0%, rgba(5, 5, 9, .06) 44%, rgba(5, 5, 9, .62) 100%),
    radial-gradient(60% 70% at 78% 40%, rgba(var(--accent-rgb), .20), transparent 70%), var(--band) 50% calc(0px + var(--v3-py, 0px)) / cover no-repeat; }
@media (max-width: 700px) { body[data-game] .page::before, body[data-kind="hub"] .page::before, body[data-kind="community"] .page::before, body[data-banner] .page::before, body[data-kind="tcgapp"] .page::before {
  background-image: linear-gradient(180deg, rgba(5, 5, 9, .62) 0%, rgba(5, 5, 9, .42) 50%, rgba(5, 5, 9, .84) 100%), var(--band-s); } }
@media (min-width: 1700px), (min-width: 900px) and (min-resolution: 1.5dppx) { body[data-kind="tcgapp"], body[data-kind="community"] { --band: url(/img/v3-hero-3840.webp); } body[data-kind="hub"], body[data-banner] { --band: url(/img/v3-banner-3840.webp); } }

/* each game page gets its own cyan/pink hero, tinted in the game's own colour */
body[data-game="pokemon"] { --band: url(/img/v3g-pokemon-3168.webp); --band-s: url(/img/v3g-pokemon-1200.webp); }
body[data-game="onepiece"] { --band: url(/img/v3g-onepiece-3168.webp); --band-s: url(/img/v3g-onepiece-1200.webp); }
body[data-game="yugioh"] { --band: url(/img/v3g-yugioh-3168.webp); --band-s: url(/img/v3g-yugioh-1200.webp); }
body[data-game="mtg"] { --band: url(/img/v3g-mtg-3168.webp); --band-s: url(/img/v3g-mtg-1200.webp); }
body[data-game="lorcana"] { --band: url(/img/v3g-lorcana-3168.webp); --band-s: url(/img/v3g-lorcana-1200.webp); }
body[data-game="dragonball"] { --band: url(/img/v3g-dragonball-3168.webp); --band-s: url(/img/v3g-dragonball-1200.webp); }
body[data-game="digimon"] { --band: url(/img/v3g-digimon-3168.webp); --band-s: url(/img/v3g-digimon-1200.webp); }
/* optional looping video (ucm-v3.js inserts it when the connection and the device are fine); the shade keeps text readable on top of it */
.v3-vidwrap { position: absolute; z-index: -1; top: 0; left: 50%; width: 100vw; margin-left: -50vw; height: 520px; pointer-events: none; opacity: 0; transition: opacity 1.6s ease;
  -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 100%); mask-image: linear-gradient(180deg, #000 52%, transparent 100%); }
.v3-vidwrap.on { opacity: 1; }
.v3-vidwrap video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.v3-vidwrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 5, 9, .86) 0%, rgba(5, 5, 9, .5) 40%, rgba(5, 5, 9, .05) 76%), linear-gradient(180deg, rgba(5, 5, 9, .1), rgba(5, 5, 9, .5)); }
.v3-vidwrap.center::after { background: linear-gradient(90deg, rgba(5, 5, 9, .7) 0%, rgba(5, 5, 9, .35) 50%, rgba(5, 5, 9, .7) 100%), linear-gradient(180deg, rgba(5, 5, 9, .25), rgba(5, 5, 9, .55)); }
.v3-vidwrap.center video { object-position: 50% 50%; }
body[data-kind="tcgapp"] .v3-vidwrap { height: 640px; }
@media (max-width: 700px) { .v3-vidwrap { height: 380px; } body[data-kind="tcgapp"] .v3-vidwrap { height: 520px; } .v3-vidwrap video { object-position: 62% 50%; } }

/* ---------- glass cards with a living gradient edge ---------- */
section, .statbar li, .qr-card { --v3-a: 0deg; border: 1px solid transparent;
  background: linear-gradient(160deg, var(--v3-glass-a), var(--v3-glass-b)) padding-box, conic-gradient(from var(--v3-a), rgba(70, 224, 217, .7), rgba(139, 108, 255, .22) 25%, rgba(255, 95, 168, .7) 50%, rgba(139, 108, 255, .22) 75%, rgba(70, 224, 217, .7)) border-box;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .07); }
@media (prefers-reduced-motion: no-preference) { section:hover, .statbar li:hover, .qr-card:hover { animation: v3-spin 6s linear infinite; } @keyframes v3-spin { to { --v3-a: 360deg; } } }
section::before { background: linear-gradient(90deg, transparent, rgba(70, 224, 217, .8), rgba(255, 95, 168, .8), transparent); opacity: .7; }
section:hover { box-shadow: 0 22px 54px rgba(0, 0, 0, .55), 0 0 40px rgba(139, 108, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .1); }
[data-v3-tilt] { transform-style: preserve-3d; will-change: transform; }
[data-v3-tilt]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s ease;
  background: radial-gradient(260px 200px at var(--v3-mx, 50%) var(--v3-my, 0%), rgba(255, 255, 255, .13), transparent 60%); }
[data-v3-tilt].v3-hot::after { opacity: 1; }
.statbar b { font-weight: 800; letter-spacing: -.01em; background: linear-gradient(120deg, #fff 6%, #9ff4ef 50%, #ffb2d6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statbar span { color: var(--v3-ink3); }
.chips a { background: rgba(14, 10, 30, .72); border-color: rgba(139, 108, 255, .45); }
.chips a:hover, .chips a:focus-visible { background: rgba(70, 224, 217, .14); box-shadow: 0 0 22px rgba(70, 224, 217, .35); }
.faq-topics a { background: rgba(139, 108, 255, .14); border-color: rgba(70, 224, 217, .4); }
.note { border-left-color: var(--v3-cyan); background: rgba(10, 8, 24, .5); }
ol.steps li::before, h3 .stepn { color: #07121a; background: var(--v3-grad); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 4px 18px rgba(139, 108, 255, .45); }
.guide-list .thumb { border-bottom-color: var(--v3-line); }
.guide-list p a { color: #07121a; background: var(--v3-grad); }
.guide-list p a:hover { color: #07121a; box-shadow: 0 0 24px rgba(255, 95, 168, .5); }
th { color: #b9f6f2; background: rgba(70, 224, 217, .09); }
tbody tr:hover td { background: rgba(139, 108, 255, .09); }
ul.plain li::before { color: var(--v3-pink); }
.asof { color: var(--v3-ink3); }

/* ---------- footer ---------- */
.sfoot::before { background: linear-gradient(90deg, rgba(70, 224, 217, 0), #46e0d9 25%, #8b6cff 50%, #ff5fa8 75%, rgba(255, 95, 168, 0)); box-shadow: 0 0 14px rgba(139, 108, 255, .55); }
.sfoot-h { font-family: var(--display); font-weight: 800; letter-spacing: .14em; color: #9ff4ef; border-bottom-color: rgba(139, 108, 255, .4); }
.sfoot-col a { color: var(--v3-ink2); }
.sfoot-col a:hover, .sfoot-col a:focus-visible { color: #fff; text-shadow: 0 0 14px rgba(70, 224, 217, .6); }
.sfoot-social a { color: #e6e3f2; border-color: rgba(139, 108, 255, .4); }
.sfoot-social a:hover, .sfoot-social a:focus-visible { color: #fff; background: rgba(139, 108, 255, .24); border-color: var(--v3-cyan); box-shadow: 0 0 16px rgba(70, 224, 217, .4); }
.sfoot-stores a { box-shadow: 0 0 0 1px rgba(139, 108, 255, .6); }
.sfoot-stores a:hover, .sfoot-stores a:focus-visible { box-shadow: 0 0 0 1.5px var(--v3-cyan), 0 8px 24px rgba(70, 224, 217, .3); }
.sfoot-copy { font-family: var(--display); letter-spacing: .06em; text-transform: none; font-weight: 700; color: #d9d6e8; }
.sfoot .dot { color: var(--v3-pink); }
.sfoot-legal a:hover, .sfoot-legal a:focus-visible { color: #fff; }

/* ---------- the slide-in menu ---------- */
.ucm-scrim { background: radial-gradient(70% 90% at 0% 50%, rgba(40, 20, 96, .55), rgba(2, 2, 8, .8)); -webkit-backdrop-filter: blur(7px) saturate(1.3); backdrop-filter: blur(7px) saturate(1.3); }
.ucm-panel { width: min(92vw, 420px); background:
    linear-gradient(180deg, rgba(8, 6, 20, .05) 0, rgba(8, 6, 20, .78) 230px, #08061a 360px),
    url(/img/v3-menu.webp) top center / 100% auto no-repeat, #08061a;
  border-image: linear-gradient(180deg, #46e0d9, rgba(139, 108, 255, .5) 45%, #ff5fa8 90%) 1; box-shadow: 0 0 80px rgba(0, 0, 0, .8), 10px 0 60px rgba(139, 108, 255, .28); scrollbar-color: rgba(139, 108, 255, .5) transparent; }
.ucm-close { color: #fff; background: rgba(8, 6, 22, .6); border-color: transparent; background: linear-gradient(#0b0818, #0b0818) padding-box, var(--v3-grad) border-box; }
.ucm-close:hover, .ucm-close:focus-visible { background: linear-gradient(#1b1238, #1b1238) padding-box, var(--v3-grad) border-box; }
.ucm-panel .ucm-home { font-family: var(--display); font-weight: 800; letter-spacing: .14em; color: #e9fffe; }
.ucm-panel .ucm-home::before { filter: drop-shadow(0 6px 22px rgba(139, 108, 255, .7)) drop-shadow(0 0 18px rgba(70, 224, 217, .35)); }
.ucm-panel .ucm-h { font-family: var(--display); font-weight: 800; letter-spacing: .2em; color: #9ff4ef; }
.ucm-panel .ucm-h::after { background: linear-gradient(90deg, rgba(70, 224, 217, .7), rgba(255, 95, 168, .4), transparent); }
.ucm-panel > a:not(.ucm-home):not(.ucm-play) { margin: 3px 14px; padding: 12px 16px 12px 44px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .06); color: #f1effa; }
.ucm-panel > a:not(.ucm-home):not(.ucm-play)::after { color: var(--v3-cyan); }
.ucm-panel > a:not(.ucm-home):not(.ucm-play):hover, .ucm-panel > a:not(.ucm-home):not(.ucm-play):focus-visible { background: linear-gradient(90deg, rgba(70, 224, 217, .2), rgba(255, 95, 168, .12)); border-color: rgba(139, 108, 255, .55); transform: translateX(4px); box-shadow: 0 6px 24px rgba(0, 0, 0, .35), 0 0 22px rgba(139, 108, 255, .2); }
.ucm-panel > a:not(.ucm-home):not(.ucm-play):hover::after, .ucm-panel > a:not(.ucm-home):not(.ucm-play):focus-visible::after { color: #fff; }
.ucm-panel > a[href="/tcg-app"]:not(.ucm-home)::before { background: var(--v3-grad); box-shadow: 0 0 14px rgba(139, 108, 255, .9); }
.ucm-panel > a[href$="/news"]:not(.ucm-home)::before, .ucm-panel > a[href$="/guides"]:not(.ucm-home)::before, .ucm-panel > a[href$="/community-first"]:not(.ucm-home)::before, .ucm-panel > a[href$="/videos"]:not(.ucm-home)::before, .ucm-panel > a[href$="/faq"]:not(.ucm-home)::before { background: var(--v3-pink); box-shadow: 0 0 12px var(--v3-pink); }
.ucm-panel .ucm-stores { background: linear-gradient(160deg, rgba(40, 28, 96, .55), rgba(10, 8, 28, .78)); border-color: rgba(139, 108, 255, .4); }
.ucm-panel .ucm-store { box-shadow: 0 0 0 1px rgba(139, 108, 255, .65); }
.ucm-panel .ucm-store:hover, .ucm-panel .ucm-store:focus-visible { box-shadow: 0 0 0 1.5px var(--v3-cyan), 0 8px 24px rgba(70, 224, 217, .35); }
.ucm-panel .ucm-social a { color: #e6e3f2; border-color: rgba(139, 108, 255, .4); }
.ucm-panel .ucm-social a:hover, .ucm-panel .ucm-social a:focus-visible { color: #fff; background: rgba(139, 108, 255, .26); border-color: var(--v3-cyan); }
.ucm-panel .ucm-foot a:hover, .ucm-panel .ucm-foot a:focus-visible { background: rgba(139, 108, 255, .18); }
@media (prefers-reduced-motion: no-preference) {
  .ucm-menu-toggle:checked ~ .ucm-panel > * { animation: v3-menu-in .55s cubic-bezier(.2, .8, .25, 1) both; }
  .ucm-menu-toggle:checked ~ .ucm-panel > *:nth-child(2) { animation-delay: .04s; } .ucm-menu-toggle:checked ~ .ucm-panel > *:nth-child(3) { animation-delay: .08s; }
  .ucm-menu-toggle:checked ~ .ucm-panel > *:nth-child(4) { animation-delay: .12s; } .ucm-menu-toggle:checked ~ .ucm-panel > *:nth-child(5) { animation-delay: .16s; }
  .ucm-menu-toggle:checked ~ .ucm-panel > *:nth-child(6) { animation-delay: .20s; } .ucm-menu-toggle:checked ~ .ucm-panel > *:nth-child(7) { animation-delay: .24s; }
  .ucm-menu-toggle:checked ~ .ucm-panel > *:nth-child(8) { animation-delay: .28s; } .ucm-menu-toggle:checked ~ .ucm-panel > *:nth-child(9) { animation-delay: .32s; }
  .ucm-menu-toggle:checked ~ .ucm-panel > *:nth-child(10) { animation-delay: .36s; } .ucm-menu-toggle:checked ~ .ucm-panel > *:nth-child(11) { animation-delay: .40s; }
  .ucm-menu-toggle:checked ~ .ucm-panel > *:nth-child(12) { animation-delay: .44s; } .ucm-menu-toggle:checked ~ .ucm-panel > *:nth-child(13) { animation-delay: .48s; }
  .ucm-menu-toggle:checked ~ .ucm-panel > *:nth-child(n+14) { animation-delay: .52s; }
  @keyframes v3-menu-in { from { transform: translateX(-26px); } to { transform: none; } }
}

/* ---------- scroll reveal + float (classes added by ucm-v3.js; only below-the-fold items ever start hidden) ---------- */
.v3-rv { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .25, 1); transition-delay: var(--v3-d, 0ms); }
.v3-rv.v3-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .v3-rv { opacity: 1; transform: none; transition: none; } }

/* ---------- speaker button + player ---------- */
.v3-voice { position: fixed; z-index: 70; left: max(14px, env(safe-area-inset-left)); bottom: max(16px, calc(env(safe-area-inset-bottom) + 10px)); display: flex; align-items: center; gap: 10px; }
html[dir="rtl"] .v3-voice { left: auto; right: max(14px, env(safe-area-inset-right)); }
.v3-voice-btn { position: relative; width: 56px; height: 56px; padding: 0; border: 1px solid transparent; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: #fff;
  background: linear-gradient(#0d0920, #0d0920) padding-box, var(--v3-grad) border-box; box-shadow: 0 10px 30px rgba(0, 0, 0, .55), 0 0 26px rgba(139, 108, 255, .45); transition: transform .2s ease, box-shadow .2s ease; }
.v3-voice-btn:hover, .v3-voice-btn:focus-visible { transform: scale(1.08); box-shadow: 0 10px 34px rgba(0, 0, 0, .6), 0 0 34px rgba(70, 224, 217, .55); outline: none; }
.v3-voice-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.v3-voice-btn svg { width: 26px; height: 26px; display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v3-voice-btn .v3-ico-pause { display: none; }
.v3-voice.playing .v3-voice-btn .v3-ico-speaker { display: none; }
.v3-voice.playing .v3-voice-btn .v3-ico-pause { display: block; }
.v3-voice-btn::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(70, 224, 217, .55); opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .v3-voice:not(.used) .v3-voice-btn::before { animation: v3-ping 2.6s ease-out 1.5s infinite; } .v3-voice.playing .v3-voice-btn::before { animation: v3-ping 1.4s ease-out infinite; }
  @keyframes v3-ping { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } } }
.v3-voice-card { display: none; align-items: center; gap: 12px; max-width: min(78vw, 330px); padding: 10px 12px 10px 16px; border-radius: 18px; border: 1px solid transparent; color: #f6f4fa; font: 600 13px/1.3 var(--display);
  background: linear-gradient(160deg, rgba(26, 20, 48, .92), rgba(10, 8, 22, .94)) padding-box, var(--v3-grad) border-box; box-shadow: 0 14px 40px rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.v3-voice.open .v3-voice-card { display: flex; }
.v3-voice-card .v3-vt { flex: 1; min-width: 0; }
.v3-voice-card .v3-vt b { display: block; font-weight: 700; font-size: 13px; margin-bottom: 7px; }
.v3-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.v3-bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--v3-grad); }
.v3-x { flex: none; width: 34px; height: 34px; padding: 0; display: grid; place-items: center; cursor: pointer; border-radius: 50%; border: 1px solid rgba(139, 108, 255, .5); background: rgba(255, 255, 255, .05); color: #fff; font-size: 18px; line-height: 1; }
.v3-x:hover, .v3-x:focus-visible { background: rgba(255, 95, 168, .25); border-color: var(--v3-pink); outline: none; }
@media (max-width: 520px) { .v3-voice-btn { width: 52px; height: 52px; } }

/* ---------- print + low-data ---------- */
@media print { .v3-voice, .v3-vid { display: none !important; } }

/* headline wrapping: no mid-word hyphens in English, a little more room (other languages keep the safe-wrap rules from tcg-app.css / lang.css) */
html:lang(en) .tcg-hero h1 { hyphens: manual; -webkit-hyphens: manual; max-width: 17ch; font-size: clamp(30px, 4.7vw, 52px); }

/* ---------- leftovers: every remaining gold surface becomes cyan/pink ---------- */
.btn-ghost { border-color: rgba(139, 108, 255, .6); background: rgba(14, 10, 30, .62); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(70, 224, 217, .14); box-shadow: 0 0 24px rgba(70, 224, 217, .35); }
.tsub { border-top-color: rgba(70, 224, 217, .18); border-bottom-color: rgba(139, 108, 255, .35); }
.tsub a:hover, .tsub a:focus-visible { background: rgba(139, 108, 255, .18); }
.tsub a[aria-current="true"] { color: #fff; background: linear-gradient(135deg, rgba(70, 224, 217, .2), rgba(255, 95, 168, .2)); border-color: rgba(139, 108, 255, .65); }
.tart { border-color: rgba(139, 108, 255, .5); background: #060510; box-shadow: 0 18px 54px rgba(0, 0, 0, .55), 0 0 44px rgba(139, 108, 255, .22); }
.gamegrid .gcard-link { color: #07121a; background: var(--v3-grad); }
.gamegrid .gcard-link:hover, .gamegrid .gcard-link:focus-visible { color: #07121a; box-shadow: 0 0 24px rgba(255, 95, 168, .5); }
.honest { border-color: rgba(139, 108, 255, .5); border-left-color: var(--v3-pink); background: linear-gradient(160deg, rgba(40, 24, 96, .5), rgba(10, 8, 28, .78)); }
.shot img, .hero img, .qr-card img { border-color: rgba(139, 108, 255, .55); }
.shot img { box-shadow: 0 0 0 5px rgba(8, 6, 22, .88), 0 0 0 6px rgba(70, 224, 217, .5), 0 26px 64px rgba(0, 0, 0, .65), 0 0 48px rgba(139, 108, 255, .25); }
.hero img { box-shadow: 0 0 0 5px rgba(8, 6, 22, .88), 0 0 0 6px rgba(70, 224, 217, .5), 0 26px 70px rgba(0, 0, 0, .65), 0 0 64px rgba(var(--accent-rgb), .3); }
.qr-card { border-color: rgba(139, 108, 255, .45); }
.qr-card img { box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(70, 224, 217, .8), 0 8px 22px rgba(0, 0, 0, .45); }
.plans .tcol-ultra { color: #ffb2d6; }
.tcg-cta { border-color: rgba(139, 108, 255, .55); background: radial-gradient(700px 260px at 50% 0%, rgba(70, 224, 217, .22), transparent 70%), radial-gradient(500px 220px at 85% 100%, rgba(255, 95, 168, .2), transparent 70%), linear-gradient(160deg, rgba(26, 18, 70, .78), rgba(7, 6, 22, .92)); }
ol.steps li::before, h3 .stepn { box-shadow: 0 0 0 3px rgba(8, 6, 22, .9), 0 0 0 4px rgba(139, 108, 255, .6), 0 0 22px rgba(70, 224, 217, .4); }
.tablewrap { border-color: rgba(139, 108, 255, .35); }
.crumbs a { border-bottom-color: rgba(70, 224, 217, .55); }
.faq-topics a:hover, .faq-topics a:focus-visible { background: rgba(139, 108, 255, .26); box-shadow: 0 0 22px rgba(70, 224, 217, .3); }
.sbar-social { border-left-color: rgba(139, 108, 255, .4); }
.skip-link:focus, .skip-link:focus-visible { background: #9ff4ef; color: #07121a; }
.sfoot-stores a, .ucm-panel .ucm-store { border-radius: 11px; }
.v3-voice-btn { width: 54px; height: 54px; }
@media (max-width: 520px) { .v3-voice-btn { width: 46px; height: 46px; } .v3-voice-btn svg { width: 22px; height: 22px; } .v3-voice { left: 10px; bottom: 12px; } }

/* phone homepage: the poster's own footer line sits at the bottom, so the speaker button floats above it */
@media (max-width: 759px) { body:has(#desk) .v3-voice { bottom: 76px; } }

/* scripts with tall marks (Indic, Arabic, Hebrew, CJK): looser lines, no mid-word hyphens in headlines, calmer weight */
html[data-script="indic"] h1, html[data-script="indic"] .dtitle { line-height: 1.38; font-weight: 700; hyphens: manual !important; -webkit-hyphens: manual !important; font-size: clamp(26px, 4.2vw, 46px); }
html[data-script="indic"] h2, html[data-script="indic"] h3 { line-height: 1.45; font-weight: 700; }
html[data-script="arabic"] h1, html[data-script="hebrew"] h1 { line-height: 1.4; font-weight: 800; }
html[data-script="cjk"] h1 { line-height: 1.3; font-weight: 800; }
html[data-script="indic"] :is(.statbar b, .dgame-name), html[data-script="arabic"] .statbar b { font-weight: 700; }

/* long words / long button labels in any language must wrap inside the phone width instead of widening the page */
.tcg-hero, .tcg-hero > *, .hero, .hero > * { min-width: 0; max-width: 100%; }
.cta-row .play, .cta-row .btn-ghost { max-width: 100%; white-space: normal; text-align: center; justify-content: center; }
html:not(:lang(en)) :is(h1, .lead, .eyebrow) { overflow-wrap: anywhere; }
