/* 20.10.2026 all languages: font stacks as variables. html[data-script] (set by js/langs.js) adds Noto fallbacks for the
   scripts Cinzel and Barlow do not cover; those fonts are loaded only for these languages. */
:root { --ff-d: Cinzel, Georgia, serif; --ff-c: "Barlow Condensed", "Arial Narrow", sans-serif; --ff-b: "Barlow", system-ui, sans-serif; }
:root[data-script="cyrl"] { --ff-d: Cinzel, "Noto Serif", Georgia, serif; --ff-c: "Barlow Condensed", "Roboto Condensed", "Noto Sans", "Arial Narrow", sans-serif; --ff-b: "Barlow", "Noto Sans", system-ui, sans-serif; }
:root[data-script="jpan"] { --ff-d: Cinzel, "Noto Serif JP", serif; --ff-c: "Barlow Condensed", "Noto Sans JP", sans-serif; --ff-b: "Barlow", "Noto Sans JP", system-ui, sans-serif; }
:root[data-script="kore"] { --ff-d: Cinzel, "Noto Serif KR", serif; --ff-c: "Barlow Condensed", "Noto Sans KR", sans-serif; --ff-b: "Barlow", "Noto Sans KR", system-ui, sans-serif; }
:root[data-script="hans"] { --ff-d: Cinzel, "Noto Serif SC", serif; --ff-c: "Barlow Condensed", "Noto Sans SC", sans-serif; --ff-b: "Barlow", "Noto Sans SC", system-ui, sans-serif; }
/* CJK has no capitals and full-width glyphs: wide Latin tracking would tear the words apart */
:root[data-script="jpan"] *, :root[data-script="kore"] *, :root[data-script="hans"] * { letter-spacing: normal !important; }
/* Shieldwall HD client: dark glass, gold/bronze trim, painted backgrounds. Only transform/opacity animate (60 fps). */
:root {
  --bg: #07090d; --ink: #ede5d5; --muted: #a59c8b; --dim: #6d665b;
  --gold: #d4ad62; --gold2: #f3d793; --bronze: #8b6a3b; --ember: #ff7a1a; --ember2: #ffb35a; --rune: #74c6ff; --green: #62d68d; --red: #ff6a5a; --silver: #d3d9e0;
  --glass: rgba(13, 15, 21, .68); --glass2: rgba(16, 18, 25, .94); --line: rgba(212, 173, 98, .26); --line2: rgba(212, 173, 98, .55);
  --r: 12px; --top: 64px;
  --hex: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 400 15px/1.45 var(--ff-b); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.center { display: block; text-align: center; }
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 2px; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.ic-inline { width: 1em; height: 1em; }

/* ---------- background ---------- */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #050608; }
.bg-layer { position: absolute; inset: -3%; background: center / cover no-repeat; opacity: 0; transition: opacity 1s ease; animation: kenburns 46s ease-in-out infinite alternate; will-change: transform, opacity; }
.bg-layer.on { opacity: 1; }
@keyframes kenburns { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.09) translate3d(-1.2%, -.8%, 0); } }
.bg-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(5, 6, 9, .86) 0%, rgba(5, 6, 9, .45) 42%, rgba(5, 6, 9, .55) 100%),
  linear-gradient(0deg, rgba(5, 6, 9, .92) 0%, rgba(5, 6, 9, 0) 45%),
  radial-gradient(120% 90% at 60% 30%, transparent 40%, rgba(0, 0, 0, .55) 100%); }
#embers { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; transition: opacity .6s; }

/* ---------- top bar ---------- */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: var(--top); display: flex; align-items: center; gap: 14px; padding: 0 18px;
  background: linear-gradient(180deg, rgba(9, 10, 14, .95), rgba(9, 10, 14, .78)); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line); box-shadow: 0 10px 34px rgba(0, 0, 0, .45); }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold2) 30%, var(--gold) 70%, transparent); opacity: .55; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; clip-path: var(--hex); background: linear-gradient(160deg, var(--gold2), var(--bronze)); color: #1a1206; }
.brand-mark .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.brand-text { display: flex; align-items: center; gap: 6px; }
.brand-text b { font: 900 19px/1 var(--ff-d); letter-spacing: .08em; text-transform: uppercase; color: #f6ead0; }
.brand-text i { font: 700 11px/1 var(--ff-c); font-style: normal; letter-spacing: .1em; padding: 3px 5px; border-radius: 3px; background: var(--ember); color: #1d0d02; }
.play-cta { flex: none; height: 42px; padding: 0 30px; display: grid; place-items: center; text-decoration: none; font: 700 19px/1 var(--ff-c); letter-spacing: .16em; text-transform: uppercase; color: #1b1206;
  background: linear-gradient(180deg, #f8e0a0, #d3a24f 55%, #a87a31); clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
  transition: filter .2s, transform .2s; position: relative; }
.play-cta:hover, .play-cta.on { filter: brightness(1.12) drop-shadow(0 0 10px rgba(243, 215, 147, .7)); }
.play-cta:active { transform: scale(.97); }
.tabs { display: flex; gap: 2px; height: 100%; }
.tabs a { position: relative; display: flex; align-items: center; padding: 0 13px; text-decoration: none; font: 600 16px/1 var(--ff-c); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.tabs a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold2), transparent); transform: scaleX(0); transition: transform .25s; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--gold2); }
.tabs a.on::after, .tabs a:hover::after { transform: scaleX(1); }
.nbadge { position: absolute; top: 12px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--ember); color: #1d0d02; font: 700 11px/17px var(--ff-c); text-align: center; font-style: normal; box-shadow: 0 0 10px rgba(255, 122, 26, .7); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.wallet { display: flex; gap: 6px; }
.wcur { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); font: 600 15px/1 var(--ff-c); font-variant-numeric: tabular-nums; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s, box-shadow .2s; text-decoration: none; }
.icon-btn:hover, .icon-btn.on { color: var(--gold2); border-color: var(--line2); box-shadow: 0 0 14px rgba(212, 173, 98, .25); }
.icon-btn .ic { width: 19px; height: 19px; }
.me { display: flex; align-items: center; gap: 9px; text-decoration: none; padding: 3px 12px 3px 3px; border-radius: 24px; border: 1px solid transparent; transition: border-color .2s, background .2s; }
.me:hover { border-color: var(--line); background: rgba(255, 255, 255, .04); }
.me-txt { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.me-txt b, .me-txt i { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 20.10.2026 i18n: the top bar never pushes the profile chip off the screen; long tab labels (ru, uk, fi ...) get tighter spacing */
.tabs { min-width: 0; }
.top-right, .me { min-width: 0; flex-shrink: 1; }
html:is([lang="ru"], [lang="uk"], [lang="fi"], [lang="pl"], [lang="cs"], [lang="pt-BR"], [lang="es"], [lang="it"], [lang="fr"], [lang="tr"], [lang="id"]) .tabs a { letter-spacing: .05em; padding: 0 10px; }
.me-txt b { font-size: 14px; }
.me-txt i { font-style: normal; font-size: 12px; color: var(--muted); }

/* ---------- layout ---------- */
.view { position: relative; z-index: 2; max-width: 1480px; margin: 0 auto; padding: calc(var(--top) + 22px) 28px 56px; min-height: 100vh; outline: none; }
.reveal { animation: rise .55s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 55ms); }
.view.soft .reveal { animation: none; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
.panel { position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px;
  backdrop-filter: blur(10px) saturate(1.25); -webkit-backdrop-filter: blur(10px) saturate(1.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 18px 44px rgba(0, 0, 0, .38); }
.panel::before { content: ""; position: absolute; top: -1px; left: 14px; right: 14px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold2), transparent); opacity: .55; pointer-events: none; }
body.lowfx .panel, body.lowfx .topbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--glass2); }
.p-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.p-head h2 { display: flex; align-items: center; gap: 8px; font: 700 16px/1.2 var(--ff-d); letter-spacing: .05em; color: var(--gold2); }
.p-head h2 .ic { color: var(--gold); }
.screen-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 2px 0 18px; }
.screen-head h1 { font: 900 clamp(28px, 3.3vw, 44px)/1.05 var(--ff-d); letter-spacing: .04em; color: #f7ebd0; text-shadow: 0 2px 20px rgba(0, 0, 0, .7); }
.screen-head p { margin-top: 8px; color: var(--muted); max-width: 660px; font-size: 15.5px; }
.kicker { display: inline-flex; align-items: center; gap: 6px; font: 700 13px/1 var(--ff-c); letter-spacing: .2em; text-transform: uppercase; color: var(--ember2); }
.note { margin-top: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.p-label { font: 700 13px/1 var(--ff-c); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.grow { flex: 1; }

/* ---------- buttons, pills, bars ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 6px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04);
  font: 700 16px/1 var(--ff-c); letter-spacing: .09em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s, box-shadow .2s, background .2s, filter .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--gold), 0 8px 26px rgba(212, 173, 98, .22); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .42; cursor: not-allowed; transform: none; box-shadow: none; filter: grayscale(.4); }
.btn-gold { background: linear-gradient(180deg, #f5daa0, #c8984c); color: #1b1206; border-color: #f8e3ad; }
.btn-gold:hover { filter: brightness(1.08); }
.btn-ember { background: linear-gradient(180deg, #ffb35a, #ff7a1a); color: #1d0d02; border-color: #ffd29a; }
.btn-ghost { background: rgba(255, 255, 255, .03); color: var(--ink); border-color: rgba(255, 255, 255, .16); }
.btn-ghost.is-on { color: var(--ember2); border-color: var(--ember); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 14px; }
.btn-wide { width: 100%; }
.btn.btn-wide { white-space: normal; text-align: center; line-height: 1.1; height: auto; min-height: 40px; padding-top: 8px; padding-bottom: 8px; }   /* 20.10.2026 i18n: long labels (Jugar en la noche de invierno) wrap instead of leaving the screen */
.btn-play.btn-wide { min-height: 54px; }
.btn-play { position: relative; overflow: hidden; height: 54px; padding: 0 26px; font-size: 23px; letter-spacing: .18em; color: #1d0d02; border: 1px solid #ffd7a4;
  background: linear-gradient(180deg, #ffbf6e, #ff7a1a 52%, #d4500a); box-shadow: 0 0 30px rgba(255, 122, 26, .35), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-play .ic { width: 24px; height: 24px; stroke-width: 2.2; }
.btn-play::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-18deg); transition: left .6s ease; }
.btn-play:hover::after { left: 130%; }
.btn-play:hover { box-shadow: 0 0 46px rgba(255, 122, 26, .6), inset 0 1px 0 rgba(255, 255, 255, .5); }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 99px; background: rgba(255, 255, 255, .08); font: 700 12.5px/1.2 var(--ff-c); letter-spacing: .06em; font-style: normal; }
.pill-hot { background: var(--ember); color: #1d0d02; margin-left: auto; animation: hot 2s ease-in-out infinite; }
.pill-green { background: rgba(98, 214, 141, .15); color: var(--green); }
.pill-gold { background: linear-gradient(180deg, #f5daa0, #c8984c); color: #1b1206; padding: 7px 12px; font-size: 14px; }
@keyframes hot { 50% { box-shadow: 0 0 14px rgba(255, 122, 26, .8); } }
.bar { display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #b88a42, var(--gold2)); box-shadow: 0 0 10px rgba(243, 215, 147, .5); transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.bar-ember i { background: linear-gradient(90deg, #d4500a, var(--ember2)); box-shadow: 0 0 10px rgba(255, 122, 26, .55); }
.r-common { --rc: #a4adb7; } .r-rare { --rc: #4fa3ff; } .r-epic { --rc: #b56dff; } .r-legendary { --rc: #ffb02e; } .r-mythic { --rc: #ff4d3d; }
.rar { display: inline-block; font: 700 11.5px/1 var(--ff-c); letter-spacing: .16em; text-transform: uppercase; color: var(--rc); }
.ring { --p: 0; position: relative; flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--gold2) calc(var(--p) * 1%), rgba(255, 255, 255, .1) 0); }
.ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #0e1016; }
.ring b { position: relative; font: 700 15px/1 var(--ff-c); }
.ring-lg { width: 84px; height: 84px; }
.ring-lg b { font-size: 20px; }
.lvl-badge { flex: none; width: 56px; height: 56px; padding: 2px; clip-path: var(--hex); background: linear-gradient(160deg, var(--gold2), var(--bronze)); }
.lvl-badge b { display: grid; place-items: center; width: 100%; height: 100%; clip-path: var(--hex); background: radial-gradient(circle at 50% 35%, #2c2418, #0d0b08); font: 900 21px/1 var(--ff-d); color: var(--gold2); }
.lvl-badge.tier { background: linear-gradient(160deg, var(--ember2), #8a2e05); }
.lvl-badge.tier b { color: var(--ember2); }
.lvl-badge.big { width: 74px; height: 74px; }
.lvl-badge.big b { font-size: 28px; }

/* ---------- art tiles ---------- */
.art { position: relative; display: block; overflow: hidden; background: #0b0d12; }
.art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.skinart img { object-position: 50% 18%; }
.tint::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.tint-skrik img { filter: saturate(.35) brightness(1.15) contrast(1.05); }
.tint-skrik::after { background: linear-gradient(160deg, rgba(255, 255, 255, .28), rgba(255, 94, 0, .32)); mix-blend-mode: soft-light; }
.tint-night img { filter: brightness(.55) contrast(1.2) saturate(.55); }
.tint-night::after { background: linear-gradient(180deg, rgba(40, 60, 110, .45), rgba(255, 122, 26, .18)); mix-blend-mode: color; }
.tint-valkyrie img { filter: sepia(.35) brightness(1.12) saturate(1.2); }
.tint-valkyrie::after { background: radial-gradient(circle at 50% 20%, rgba(255, 230, 160, .45), rgba(143, 180, 255, .2)); mix-blend-mode: overlay; }
.tint-bloodmoon img { filter: brightness(.8) contrast(1.15); }
.tint-bloodmoon::after { background: linear-gradient(180deg, rgba(200, 20, 10, .55), rgba(40, 0, 0, .5)); mix-blend-mode: multiply; }
.pv { position: absolute; z-index: 1; top: 7px; left: 7px; padding: 3px 7px; border-radius: 4px; background: rgba(0, 0, 0, .62); font: 700 10px/1 var(--ff-c); letter-spacing: .14em; text-transform: uppercase; font-style: normal; color: var(--ember2); }
.iconart { border-radius: 10px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rc, #888) 55%, transparent), 0 0 18px color-mix(in srgb, var(--rc, #888) 25%, transparent); }
.iconart img { object-fit: cover; }
.fxart::after { content: ""; position: absolute; inset: -30%; background: radial-gradient(circle, var(--glow, #ff8a2a) 0%, transparent 55%); mix-blend-mode: screen; opacity: .55; animation: fxpulse 2.6s ease-in-out infinite; pointer-events: none; }
@keyframes fxpulse { 0%, 100% { transform: scale(.8); opacity: .25; } 50% { transform: scale(1.05); opacity: .7; } }
.frameart { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #1f2330, #0b0d12 70%); }
.frameart .ava-art { width: 68%; height: auto; aspect-ratio: 1; }
.titleart { container-type: inline-size; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #2a2216, #0b0d12 75%); text-align: center; }
.titleart b { padding: 4px; max-width: 100%; font: 700 13px/1.15 var(--ff-d); font-size: clamp(9px, 14cqw, 16px); color: var(--gold2); overflow-wrap: anywhere; hyphens: auto; }   /* 20.10.2026 i18n: long single words (Runenträgerin, Winternachtwache) wrap instead of being cut */
.titleart > .ic { display: none; width: 50%; height: 50%; color: var(--gold2); }
@container (max-width: 64px) { .titleart b { display: none; } .titleart > .ic { display: block; } }
.coinart, .passart { display: grid; place-items: center; align-content: center; gap: 2px; background: radial-gradient(circle at 50% 40%, #232833, #0b0d12 72%); }
.coinart .ic { width: 42%; height: auto; aspect-ratio: 1; color: var(--silver); stroke-width: 1.5; }
.passart .ic { width: 40%; height: auto; aspect-ratio: 1; color: var(--ember2); stroke-width: 1.5; filter: drop-shadow(0 0 8px rgba(255, 122, 26, .6)); }
.coinart b, .passart b { font: 700 13px/1 var(--ff-c); }

/* ---------- avatar + frames ---------- */
.ava { --fr: linear-gradient(145deg, #e0a56a, #7a4a22 60%, #c58d52); position: relative; display: inline-block; flex: none; width: 44px; height: 44px; padding: 3px; border-radius: 50%; background: var(--fr); box-shadow: 0 0 0 1px rgba(0, 0, 0, .55), 0 4px 14px rgba(0, 0, 0, .5); }
.ava img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: #111; }
.ava-sm { width: 36px; height: 36px; padding: 2px; }
.ava-md { width: 76px; height: 76px; padding: 4px; }
.ava-xl { width: 124px; height: 124px; padding: 5px; }
.f_silver { --fr: linear-gradient(145deg, #ffffff, #8d97a3 55%, #e3e8ee); }
.f_rune { --fr: conic-gradient(#74c6ff, #15304d, #74c6ff, #15304d, #74c6ff); box-shadow: 0 0 0 1px #000, 0 0 16px rgba(116, 198, 255, .55); }
.f_neon { --fr: linear-gradient(145deg, #ffffff, #ff5e00 60%, #ffd0a8); box-shadow: 0 0 0 1px #000, 0 0 18px rgba(255, 94, 0, .7); }
.f_blood { --fr: conic-gradient(#ff4a3a, #3a0505, #ff4a3a, #3a0505, #ff4a3a); box-shadow: 0 0 0 1px #000, 0 0 16px rgba(255, 60, 40, .55); }
.f_gold { --fr: linear-gradient(145deg, #fff3c4, #d4a13a 40%, #6f4a10 66%, #f3d58c); box-shadow: 0 0 0 1px #000, 0 0 20px rgba(243, 215, 147, .65); }
.f_gold::after, .f_rune::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px dashed currentColor; opacity: .5; animation: spin 18s linear infinite; pointer-events: none; }
.f_gold::after { color: var(--gold2); } .f_rune::after { color: var(--rune); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- home ---------- */
.home { display: grid; grid-template-columns: minmax(0, 1fr) 384px; gap: 20px; align-items: start; }
.hero { position: relative; aspect-ratio: 16 / 8; border-radius: 14px; overflow: hidden; border: 1px solid var(--line2); background: #000; box-shadow: 0 26px 60px rgba(0, 0, 0, .55); touch-action: pan-y; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.slide.on { opacity: 1; visibility: visible; z-index: 1; transition: opacity .8s ease; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transition: transform 9s ease-out; }
.slide.on .slide-img { transform: scale(1); }
.slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 5, 8, .88) 0%, rgba(4, 5, 8, .45) 45%, transparent 75%), linear-gradient(0deg, rgba(4, 5, 8, .85), transparent 55%); }
.slide-body { position: absolute; left: 34px; bottom: 58px; max-width: 520px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.slide.on .slide-body > * { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.slide.on .slide-body > :nth-child(2) { animation-delay: .08s; } .slide.on .slide-body > :nth-child(3) { animation-delay: .16s; } .slide.on .slide-body > :nth-child(4) { animation-delay: .24s; }
.slide-title { font: 900 clamp(26px, 3.1vw, 46px)/1.05 var(--ff-d); letter-spacing: .03em; color: #fff3da; text-shadow: 0 3px 24px rgba(0, 0, 0, .8); }
.slide-body p { font-size: 16.5px; color: #e9dfcd; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.hero-ctrl { position: absolute; z-index: 3; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 8px; }
.hero-arrow { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(0, 0, 0, .45); cursor: pointer; opacity: .75; transition: opacity .2s, border-color .2s; }
.hero-arrow:hover { opacity: 1; border-color: var(--gold2); }
.hero-dots { display: flex; gap: 6px; }
.dot { width: 34px; height: 16px; padding: 0; border: 0; cursor: pointer; background: linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .28)) center / 100% 4px no-repeat; display: flex; align-items: center; border-radius: 3px; }
.dot i { display: block; width: 0; height: 4px; border-radius: 3px; background: var(--gold2); box-shadow: 0 0 8px rgba(243, 215, 147, .7); }
.dot.on i { animation: dotfill 7s linear forwards; }
.hero.paused .dot.on i { animation-play-state: paused; }
@keyframes dotfill { from { width: 0; } to { width: 100%; } }
.home-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.hc { display: flex; flex-direction: column; gap: 12px; text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.hc:hover { transform: translateY(-3px); border-color: var(--line2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 22px 50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(212, 173, 98, .2); }
.hc-head { display: flex; align-items: center; gap: 8px; font: 700 13.5px/1 var(--ff-c); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.lvl-row { display: flex; align-items: center; gap: 14px; }
.lvl-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.lvl-txt b { font-size: 16px; }
.lvl-txt small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.hc-art { width: 52px; height: 52px; border-radius: 8px; flex: none; }
.home-side { display: flex; flex-direction: column; gap: 16px; }
.quick { padding: 0; overflow: hidden; }
.quick-art { position: relative; aspect-ratio: 16 / 8.5; overflow: hidden; border-radius: var(--r) var(--r) 0 0; }
.quick-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.quick:hover .quick-art > img { transform: scale(1.05); }
.quick-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 6, 9, .92), transparent 70%); }
.quick-txt { position: absolute; left: 16px; right: 100px; bottom: 14px; display: flex; flex-direction: column; gap: 4px; }
.quick-txt b { font: 900 23px/1.05 var(--ff-d); color: #fff3da; }
.quick-txt small { color: #d9cfbd; font-size: 12.5px; }
.quick-skin { position: absolute !important; right: 14px; bottom: 14px; width: 76px; height: 76px; border-radius: 50%; border: 2px solid var(--gold2); box-shadow: 0 0 18px rgba(243, 215, 147, .4); }
.quick-skin .pv { display: none; }
.quick-act { display: flex; gap: 10px; padding: 14px; }
.quick-act .btn-play { flex: 1; }
.quick-act .btn-ghost { height: 54px; white-space: normal; text-align: center; line-height: 1.1; width: 110px; padding: 0 10px; font-size: 14px; }
.qlist, .flist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.quest { padding: 10px 12px; border-radius: 9px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); transition: border-color .3s, opacity .3s; }
.quest.ready { border-color: rgba(255, 122, 26, .65); box-shadow: 0 0 18px rgba(255, 122, 26, .18); }
.quest.claimed { opacity: .5; }
.q-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.q-rew { flex: none; display: flex; align-items: center; gap: 3px; font: 600 13px/1 var(--ff-c); color: var(--gold2); }
.q-rew .ic { width: 13px; height: 13px; margin-left: 4px; }
.q-bot { display: flex; align-items: center; gap: 10px; margin-top: 8px; min-height: 26px; }
.q-bot .bar { flex: 1; }
.q-num { font: 600 12.5px/1 var(--ff-c); color: var(--muted); font-variant-numeric: tabular-nums; }
.q-state { display: inline-flex; gap: 4px; align-items: center; font-size: 12.5px; color: var(--green); }
.friend { display: flex; align-items: center; gap: 10px; }
.friend.offline { opacity: .55; }
.f-ava { position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #3b4252, #1a1d25); border: 1px solid rgba(255, 255, 255, .14); font: 700 15px/1 var(--ff-d); color: var(--gold2); }
.dotst { position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid #0e1016; background: #666; }
.online .dotst { background: var(--green); } .ingame .dotst { background: var(--ember); box-shadow: 0 0 8px var(--ember); }
.f-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.f-txt b { font-size: 14.5px; }
.f-txt small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ingame .f-txt small { color: var(--ember2); }
.f-lvl { font: 700 12px/1 var(--ff-c); padding: 4px 7px; border-radius: 5px; background: rgba(255, 255, 255, .07); color: var(--muted); }
.friends .btn { margin-top: 12px; }

/* ---------- play ---------- */
.editions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ed-card { position: relative; aspect-ratio: 16 / 10; padding: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #000; cursor: pointer; text-align: left; transition: transform .25s, box-shadow .25s, border-color .25s; }
.ed-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1), filter .35s; }
.ed-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .55); }
.ed-card:hover img { transform: scale(1.06); }
.ed-card.dlc img { filter: saturate(.6) brightness(.72); }
.ed-card.dlc:hover img, .ed-card.dlc.on img { filter: saturate(.95) brightness(.9); }
.ed-card.on { border-color: var(--gold2); box-shadow: 0 0 0 2px var(--gold), 0 0 38px rgba(243, 215, 147, .35); }
.ed-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 5, 8, .92) 0%, rgba(4, 5, 8, .2) 50%, transparent 70%); }
.ed-tag { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 99px; background: rgba(98, 214, 141, .9); color: #06180d; font: 700 12px/1 var(--ff-c); letter-spacing: .08em; text-transform: uppercase; }
.ed-card.dlc .ed-tag { background: rgba(10, 10, 12, .75); color: var(--ember2); border: 1px solid rgba(255, 122, 26, .55); }
.ed-name { position: absolute; left: 14px; right: 14px; bottom: 12px; font: 700 clamp(15px, 1.35vw, 19px)/1.15 var(--ff-d); color: #fff3da; text-shadow: 0 2px 10px #000; }
.ed-wish { position: absolute; top: 10px; right: 10px; color: var(--ember); filter: drop-shadow(0 0 6px rgba(255, 122, 26, .8)); }
.ed-wish .ic { fill: currentColor; }
.play-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, 1fr); gap: 18px; margin-top: 18px; align-items: start; }
.play-left { display: flex; flex-direction: column; gap: 16px; }
.maps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.map-card { position: relative; aspect-ratio: 16 / 11; padding: 0; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); background: #000; cursor: pointer; text-align: left; transition: transform .2s, box-shadow .2s, border-color .2s; }
.map-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.map-card:hover { transform: translateY(-3px); }
.map-card:hover img { transform: scale(1.07); }
.map-card.on { border-color: var(--gold2); box-shadow: 0 0 0 2px var(--gold), 0 0 26px rgba(243, 215, 147, .3); }
.map-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 8px; display: flex; flex-direction: column; gap: 3px; background: linear-gradient(0deg, rgba(4, 5, 8, .95), transparent); }
.map-info b { font: 700 14.5px/1.15 var(--ff-d); color: #fff3da; }
.map-info small { font-size: 11.5px; color: var(--muted); }
.stars { display: flex; gap: 1px; color: var(--dim); }
.stars .ic { width: 12px; height: 12px; }
.stars .ic.on { color: var(--ember2); fill: currentColor; }
.map-desc { margin-top: 12px; color: #d8cebd; font-size: 14.5px; }
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mode { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); cursor: pointer; text-align: left; transition: border-color .2s, background .2s; }
.mode > .ic { width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.mode span { display: flex; flex-direction: column; gap: 3px; }
.mode b { font: 700 17px/1 var(--ff-c); letter-spacing: .08em; text-transform: uppercase; }
.mode small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.mode em { position: absolute; top: 8px; right: 8px; font: 700 10.5px/1 var(--ff-c); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: var(--ember2); }
.mode.on { border-color: var(--gold2); background: rgba(212, 173, 98, .1); box-shadow: inset 0 0 0 1px rgba(243, 215, 147, .3); }
.mode.soon { opacity: .55; cursor: not-allowed; }
.mode:not(.soon):hover { border-color: var(--line2); }
.hp-art { position: relative; aspect-ratio: 5 / 4; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.hp-img { position: absolute !important; inset: 0; }
.hp-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 16px 14px; display: flex; flex-direction: column; gap: 4px; background: linear-gradient(0deg, rgba(4, 5, 8, .95), transparent); }
.hp-name small { font: 700 12px/1 var(--ff-c); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.hp-name b { font: 900 30px/1 var(--ff-d); color: #fff3da; }
.skin-chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.chip-skin { position: relative; display: flex; flex-direction: column; gap: 5px; padding: 4px 4px 6px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.chip-skin:hover { transform: translateY(-2px); border-color: var(--line2); }
.chip-art { aspect-ratio: 1; border-radius: 6px; }
.chip-art .pv { display: none; }
.chip-skin > span:not(.art) { font: 600 11.5px/1.1 var(--ff-c); letter-spacing: .05em; text-transform: uppercase; text-align: center; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; hyphens: auto; }   /* 20.10.2026 i18n: two lines instead of an ellipsis after 5 letters (the full name is in the title) */
.chip-skin::after { content: ""; position: absolute; left: 6px; right: 6px; top: 4px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--c1), var(--c2)); opacity: .9; }
.chip-skin.on { border-color: var(--gold2); box-shadow: 0 0 0 1px var(--gold), 0 0 16px rgba(243, 215, 147, .3); }
.chip-skin.locked .chip-art img { filter: grayscale(.7) brightness(.5); }
.chip-lock { position: absolute; top: 12px; right: 9px; width: 14px; height: 14px; color: var(--ink); }
.warn { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 10px; border-radius: 9px; background: rgba(255, 122, 26, .08); border: 1px solid rgba(255, 122, 26, .35); font-size: 13px; }
.warn > span { flex: 1; min-width: 160px; }
.warn > .ic { color: var(--ember2); }
.hp-sum { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0; font-size: 13px; color: var(--muted); }
.hp-sum span { display: inline-flex; align-items: center; gap: 6px; }
.hp-sum .ic { color: var(--gold); }
.hero-pre .muted.center { margin-top: 8px; font-size: 12.5px; }
.dlc { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.dlc-title { font: 900 clamp(26px, 2.6vw, 34px)/1.1 var(--ff-d); color: #fff3da; }
.dlc-pitch { font-size: 16px; color: #e3d9c6; max-width: 640px; }
.dlc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: 100%; }
.dlc-cols h3 { display: flex; align-items: center; gap: 6px; font: 700 14px/1 var(--ff-c); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.dlc-cols ul { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.dlc-cols li { position: relative; padding-left: 16px; font-size: 14.5px; }
.dlc-cols li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 6px; height: 6px; background: var(--ember2); transform: rotate(45deg); }
.dlc-cols small { font-size: 12px; }

/* ---------- collection ---------- */
.coll-prog { display: flex; align-items: center; gap: 16px; padding: 14px 18px; }
.mini-bars { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 18px; font-size: 12px; }
.mini-bars li { display: grid; grid-template-columns: 88px 70px 30px; align-items: center; gap: 8px; color: var(--muted); }
.mini-bars b { font: 600 12px/1 var(--ff-c); color: var(--ink); }
.subtabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 4px 0 18px; overflow-x: auto; scrollbar-width: none; }
.subtab { padding: 10px 16px; text-decoration: none; font: 700 16px/1 var(--ff-c); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .2s, border-color .2s; }
.subtab:hover { color: var(--ink); }
.subtab.on { color: var(--gold2); border-color: var(--gold2); }
.cgrid { display: grid; gap: 14px; }
.cgrid-skins { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.cgrid-items { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.ccard, .scard { position: relative; display: flex; flex-direction: column; padding: 0; border-radius: 12px; overflow: hidden; text-align: left; cursor: pointer; background: var(--glass); border: 1px solid color-mix(in srgb, var(--rc) 40%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .22s, box-shadow .22s, border-color .22s; }
.ccard::after, .scard::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--rc), transparent); }
.ccard:hover, .scard:hover { transform: translateY(-4px); border-color: var(--rc); box-shadow: 0 0 0 1px var(--rc), 0 16px 38px color-mix(in srgb, var(--rc) 28%, transparent); }
.cc-art { aspect-ratio: 3 / 4; }
.cgrid-items .cc-art { aspect-ratio: 1; border-radius: 0; box-shadow: none; }
.cc-body, .sc-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 13px; }
.cc-body b, .sc-body b { font-size: 15.5px; line-height: 1.2; }
.cc-body small { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
.ccard.locked .cc-art img { filter: grayscale(.75) brightness(.5); }
.ccard.eq { box-shadow: 0 0 0 2px var(--gold2), 0 0 26px rgba(243, 215, 147, .25); }
.ccard.eq small { color: var(--gold2); }
.heroes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hero-card { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; border: 1px solid var(--line2); background: #000; }
.hero-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform 1s ease; }
.hero-card:hover > img { transform: scale(1.05); }
.hero-card.soon > img { filter: grayscale(.75) brightness(.55); }
.hc-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 5, 8, .95) 0%, rgba(4, 5, 8, .3) 45%, transparent 70%); }
.hero-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.hero-card-body h3 { font: 900 32px/1 var(--ff-d); color: #fff3da; }
.hero-card-body small { font: 700 13px/1 var(--ff-c); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.hero-card-body p { font-size: 14px; color: #d9cfbd; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 99px; background: rgba(10, 10, 12, .75); border: 1px solid rgba(255, 122, 26, .5); color: var(--ember2); font: 700 12px/1 var(--ff-c); letter-spacing: .1em; text-transform: uppercase; }
.tag-ok { border-color: rgba(98, 214, 141, .6); color: var(--green); }

/* ---------- shop ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; background: rgba(10, 12, 16, .6); border: 1px solid rgba(98, 214, 141, .35); font-size: 13px; }
.chip .ic { color: var(--green); }
.proto-note { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: rgba(255, 176, 46, .1); border: 1px solid rgba(255, 176, 46, .42); color: #ffd99a; font-size: 14px; margin-bottom: 18px; }
.proto-note .ic { color: #ffb02e; width: 20px; height: 20px; }
.featured { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 16px; }
.bundle { position: relative; min-height: 320px; padding: 0; border-radius: 14px; overflow: hidden; text-align: left; cursor: pointer; background: #000; border: 1px solid color-mix(in srgb, var(--rc) 60%, transparent); display: flex; transition: transform .25s, box-shadow .25s; }
.bundle > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.bundle:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--rc), 0 22px 50px color-mix(in srgb, var(--rc) 30%, transparent); }
.bundle:hover > img { transform: scale(1.05); }
.b-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 5, 8, .94) 0%, rgba(4, 5, 8, .6) 55%, rgba(4, 5, 8, .15) 100%), linear-gradient(0deg, rgba(4, 5, 8, .7), transparent 60%); }
.b-side .b-shade { background: linear-gradient(0deg, rgba(4, 5, 8, .96) 0%, rgba(4, 5, 8, .55) 60%, rgba(4, 5, 8, .25) 100%); }
.b-body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 24px; max-width: 600px; width: 100%; }
.b-body > b { font: 900 clamp(24px, 2.4vw, 34px)/1.05 var(--ff-d); color: #fff3da; }
.b-body > small { font-size: 14px; color: #e3d9c6; }
.b-items { display: flex; gap: 8px; margin: 4px 0; flex-wrap: wrap; }
.b-mini { width: 48px; height: 48px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .18); }
.b-mini .pv { display: none; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 30px 0 14px; }
.sec-head h2 { display: flex; align-items: center; gap: 8px; font: 700 22px/1.1 var(--ff-d); color: var(--gold2); }
.sec-head p { font-size: 13px; max-width: 540px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filter { padding: 7px 13px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(10, 12, 16, .6); cursor: pointer; font: 600 14px/1 var(--ff-c); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: all .2s; }
.filter:hover { color: var(--ink); border-color: var(--line2); }
.filter.on { background: linear-gradient(180deg, #f5daa0, #c8984c); color: #1b1206; border-color: #f8e3ad; }
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.sgrid.daily { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sc-art { aspect-ratio: 1; border-radius: 0; box-shadow: none; }
.scard.owned { opacity: .72; }
.s-daily { border-width: 1px; }
.s-daily::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; box-shadow: inset 0 0 0 1px rgba(243, 215, 147, .25); }
.price { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.price b { font: 700 22px/1 var(--ff-c); color: #fff; font-variant-numeric: tabular-nums; }
.price small { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.price small .ic { color: var(--rune); width: 12px; height: 12px; }
.price.silver { flex-direction: row; align-items: center; gap: 6px; }
.price.silver > .ic { color: var(--silver); width: 18px; height: 18px; }
.price.owned { flex-direction: row; align-items: center; gap: 6px; color: var(--green); font-weight: 600; }
.price.big b { font-size: 34px; }
.price.big s { color: var(--muted); font-size: 14px; }

/* ---------- season ---------- */
.season-stat { display: flex; align-items: center; gap: 14px; padding: 14px 18px; min-width: 340px; }
.season-stat > div { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.season-stat small { color: var(--muted); font-size: 13px; }
.season-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.dev { opacity: .7; }
.pass { display: grid; grid-template-columns: 96px minmax(0, 1fr); padding: 14px 0; overflow: hidden; }
.pass-labels { display: grid; grid-template-rows: 34px 150px 150px; row-gap: 10px; padding-left: 14px; }
.pass-labels::before { content: ""; }
.pl { display: flex; align-items: center; justify-content: center; gap: 6px; flex-direction: column; border-radius: 10px; font: 700 14px/1 var(--ff-c); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); margin-right: 10px; }
.pl-prem { color: var(--gold2); background: linear-gradient(180deg, rgba(212, 173, 98, .16), rgba(212, 173, 98, .04)); border-color: var(--line); }
.pass-track { overflow-x: auto; overflow-y: hidden; cursor: grab; scrollbar-width: thin; scrollbar-color: var(--bronze) transparent; padding-bottom: 8px; user-select: none; -webkit-user-select: none; }
.pass-track.drag { cursor: grabbing; }
.pass-track::-webkit-scrollbar { height: 8px; }
.pass-track::-webkit-scrollbar-thumb { background: var(--bronze); border-radius: 4px; }
.pass-cols { display: flex; gap: 10px; padding-right: 50px; width: max-content; }
.pcol { display: grid; grid-template-rows: 34px 150px 150px; row-gap: 10px; width: 114px; flex: none; }
.pnum { position: relative; display: grid; place-items: center; }
.pnum::before { content: ""; position: absolute; top: 50%; left: -6px; right: -6px; height: 3px; margin-top: -1.5px; background: rgba(255, 255, 255, .1); }
.reached .pnum::before { background: linear-gradient(90deg, var(--bronze), var(--gold2)); box-shadow: 0 0 8px rgba(243, 215, 147, .4); }
.pnum b { position: relative; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #14161c; border: 1px solid rgba(255, 255, 255, .16); font: 700 14px/1 var(--ff-c); }
.reached .pnum b { border-color: var(--gold); color: var(--gold2); }
.big .pnum b { width: 34px; height: 34px; font-size: 16px; }
.cur .pnum b { background: linear-gradient(180deg, var(--ember2), var(--ember)); color: #1d0d02; border-color: #ffd29a; box-shadow: 0 0 16px rgba(255, 122, 26, .8); }
.pcell { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 7px; padding: 10px 8px; border-radius: 11px; cursor: pointer; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--rc, #888) 45%, transparent); background: rgba(10, 12, 16, .72); transition: transform .2s, box-shadow .2s, border-color .2s, opacity .2s; }
.pcol > .pcell:last-child { background: linear-gradient(180deg, rgba(212, 173, 98, .1), rgba(10, 12, 16, .76)); }
.pcell:hover { transform: translateY(-2px); border-color: var(--rc); }
.pcell.empty { background: rgba(255, 255, 255, .015); border: 1px dashed rgba(255, 255, 255, .07); cursor: default; }
.pcol > .pcell.empty:last-child { background: rgba(212, 173, 98, .03); }
.pc-art { width: 78px; height: 78px; border-radius: 9px; flex: none; }
.pc-art .pv { display: none; }
.pcell .frameart .ava-art { width: 78%; }
.pc-name { font: 600 12px/1.15 var(--ff-c); letter-spacing: .04em; text-transform: uppercase; text-align: center; color: #d8cebd; overflow-wrap: anywhere; hyphens: auto; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcell.locked .pc-art, .pcell.plock .pc-art { filter: brightness(.5) saturate(.5); }
.pcell.locked .pc-name, .pcell.plock .pc-name { color: var(--muted); }
.pcell.claimed { opacity: .55; }
.pc-st { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #06180d; }
.pc-st .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.pc-st.lock { background: rgba(0, 0, 0, .7); color: var(--muted); }
.pc-st.lock .ic { stroke-width: 2; }
.pcell.ready { border-color: var(--ember2); animation: readyglow 1.8s ease-in-out infinite; }
@keyframes readyglow { 0%, 100% { box-shadow: 0 0 0 1px rgba(255, 122, 26, .6), 0 0 12px rgba(255, 122, 26, .25); } 50% { box-shadow: 0 0 0 1px var(--ember2), 0 0 26px rgba(255, 122, 26, .6); } }
.pc-claim { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 0; background: linear-gradient(180deg, var(--ember2), var(--ember)); color: #1d0d02; font: 700 12px/1 var(--ff-c); letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.pcell.ready .pc-name { margin-bottom: 14px; }
.pass-nav { position: absolute; z-index: 3; top: calc(50% + 17px); transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line2); background: rgba(10, 12, 16, .88); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.pass-nav:hover { border-color: var(--gold2); box-shadow: 0 0 16px rgba(243, 215, 147, .3); }
.pass-nav.prev { left: 100px; } .pass-nav.next { right: 10px; }

.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hl { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: 14px; text-align: left; cursor: pointer; background: var(--glass); border: 1px solid color-mix(in srgb, var(--rc) 50%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .22s, box-shadow .22s; overflow: hidden; }
.hl::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 50%, color-mix(in srgb, var(--rc) 22%, transparent), transparent 60%); pointer-events: none; }
.hl:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--rc), 0 16px 40px color-mix(in srgb, var(--rc) 30%, transparent); }
.hl-art { width: 108px; height: 108px; border-radius: 12px; flex: none; border: 1px solid color-mix(in srgb, var(--rc) 60%, transparent); }
.hl-art .pv { display: none; }
.hl-body { position: relative; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.hl-body b { font: 900 22px/1.1 var(--ff-d); color: #fff3da; }
.hl-body small { color: var(--muted); font-size: 12.5px; }

/* ---------- profile ---------- */
.prof-head { display: flex; align-items: center; gap: 22px; padding: 22px; flex-wrap: wrap; }
.ph-txt { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 220px; }
.ph-txt h1 { font: 900 clamp(30px, 3vw, 40px)/1 var(--ff-d); color: #fff3da; }
.ph-line { display: flex; align-items: center; gap: 12px; }
.ph-line .bar { width: min(260px, 40vw); }
.ph-line small { color: var(--muted); font-size: 13px; }
.ph-line .lvl-badge { width: 44px; height: 44px; }
.ph-line .lvl-badge b { font-size: 17px; }
.ph-badge { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 10px 16px; border-left: 1px solid var(--line); }
.ph-badge img { width: 64px; height: 64px; border-radius: 12px; box-shadow: 0 0 18px rgba(243, 215, 147, .3); }
.ph-badge small { font-size: 11.5px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 14px; }
.stat > .ic { color: var(--gold); width: 22px; height: 22px; }
.stat b { font: 700 26px/1.05 var(--ff-c); font-variant-numeric: tabular-nums; }
.stat small { font: 600 12px/1.2 var(--ff-c); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.prof-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.profile > .panel { margin-bottom: 16px; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { padding: 6px 8px; text-align: left; font: 700 12px/1 var(--ff-c); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tbl td { padding: 8px; border-top: 1px solid rgba(255, 255, 255, .07); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl td b { font: 700 18px/1 var(--ff-c); color: var(--gold2); }
.tmap { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.tmap img { width: 64px; height: 36px; border-radius: 5px; object-fit: cover; border: 1px solid rgba(255, 255, 255, .12); }
.tchips { display: flex; flex-wrap: wrap; gap: 8px; }
.tchip { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); cursor: pointer; font: 700 13px/1 var(--ff-d); color: var(--ink); transition: all .2s; }
.tchip:hover:not([disabled]) { border-color: var(--line2); }
.tchip.on { background: linear-gradient(180deg, #f5daa0, #c8984c); color: #1b1206; border-color: #f8e3ad; }
.tchip.locked { opacity: .45; cursor: not-allowed; }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(134px, 1fr)); gap: 12px; }
.badge, .framebtn { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; padding: 14px 8px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; }
.badge:hover, .framebtn:hover { transform: translateY(-2px); border-color: var(--line2); }
.bimg { position: relative; width: 58px; height: 58px; }
.bimg img { width: 58px; height: 58px; border-radius: 12px; }
.bimg .ic { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; transform: translate(-50%, -50%); color: var(--ink); }
.badge.locked img { filter: grayscale(1) brightness(.4); }
.badge b, .framebtn b { font-size: 13.5px; line-height: 1.2; }
.badge small, .framebtn small { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.badge.eq, .framebtn.eq { border-color: var(--gold2); box-shadow: 0 0 0 1px var(--gold), 0 0 20px rgba(243, 215, 147, .2); }
.frames { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.framebtn.locked .ava { filter: grayscale(.8) brightness(.55); }

/* ---------- settings ---------- */
.set-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.span2 { grid-column: span 2; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.p-head + .row { border-top: 0; padding-top: 2px; }
.row > span:first-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.row b { font-size: 15px; font-weight: 600; }
.row small { color: var(--muted); font-size: 12.5px; max-width: 470px; }
.seg { display: inline-flex; flex: none; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg button { padding: 8px 12px; border: 0; border-right: 1px solid var(--line); background: rgba(255, 255, 255, .03); cursor: pointer; font: 600 14px/1 var(--ff-c); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: background .2s, color .2s; white-space: nowrap; }
.seg button:last-child { border-right: 0; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: linear-gradient(180deg, #f5daa0, #c8984c); color: #1b1206; }
.seg-wrap { flex-wrap: nowrap; }
.switch { appearance: none; -webkit-appearance: none; flex: none; width: 48px; height: 28px; border-radius: 14px; background: rgba(255, 255, 255, .14); position: relative; cursor: pointer; transition: background .25s; margin: 0; }
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: #cfc8bb; transition: transform .25s cubic-bezier(.2, .8, .2, 1), background .25s; }
.switch:checked { background: linear-gradient(180deg, var(--ember2), var(--ember)); }
.switch:checked::after { transform: translateX(20px); background: #fff; }
.rng { display: flex; align-items: center; gap: 10px; flex: none; }
.rng input { width: 180px; accent-color: var(--ember); }
.rng input:disabled { opacity: .35; }
.rng output { width: 30px; text-align: right; font: 600 14px/1 var(--ff-c); font-variant-numeric: tabular-nums; }
.keys { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.keys li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
kbd { min-width: 132px; text-align: center; padding: 5px 8px; border-radius: 6px; border: 1px solid var(--line2); border-bottom-width: 3px; background: rgba(255, 255, 255, .05); font: 700 13px/1 var(--ff-c); letter-spacing: .06em; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-back { position: absolute; inset: 0; background: rgba(3, 4, 6, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s; }
.modal.open .modal-back { opacity: 1; }
.modal-box { position: relative; width: min(580px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; padding: 24px; border-radius: 16px; border: 1px solid var(--line2);
  background: linear-gradient(180deg, #171a23, #0c0e13); box-shadow: 0 30px 90px rgba(0, 0, 0, .7); opacity: 0; transform: translate3d(0, 18px, 0) scale(.98); transition: opacity .22s, transform .22s cubic-bezier(.2, .8, .2, 1); }
.modal.open .modal-box { opacity: 1; transform: none; }
.modal-box::before { content: ""; position: absolute; top: 0; left: 20px; right: 20px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold2), transparent); }
.modal-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); background: rgba(0, 0, 0, .4); cursor: pointer; }
.modal-x:hover { border-color: var(--gold2); }
.im { display: flex; gap: 20px; align-items: flex-start; }
.im-art { width: 180px; aspect-ratio: 1; flex: none; border-radius: 12px; border: 1px solid var(--line); }
.im-skin .im-art { width: 220px; aspect-ratio: 3 / 4; }
.im-body { display: flex; flex-direction: column; gap: 7px; flex: 1; min-width: 0; padding-top: 6px; }
.im-body h2 { font: 900 26px/1.1 var(--ff-d); color: #fff3da; padding-right: 30px; }
.im-body p { display: flex; gap: 6px; align-items: flex-start; font-size: 14px; }
.m-acts { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 16px; }
.im .m-acts { justify-content: flex-start; }
.buy-head { display: flex; gap: 16px; align-items: flex-start; padding-right: 30px; }
.buy-art { width: 112px; height: 112px; flex: none; border-radius: 12px; border: 1px solid var(--line); }
.buy-art .pv { display: none; }
.buy-head h2 { font: 900 24px/1.1 var(--ff-d); color: #fff3da; margin: 4px 0 2px; }
.buy-head p { font-size: 13.5px; color: #d8cebd; margin-top: 6px; }
.m-contains { margin-top: 14px; }
.m-contains h3, .m-sub { font: 700 13px/1 var(--ff-c); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 14px 0 8px; }
.m-contains ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.m-contains li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, .04); }
.m-contains li .mini { width: 40px; height: 40px; border-radius: 7px; flex: none; }
.m-contains li .mini .pv { display: none; }
.m-contains li span { display: flex; flex-direction: column; font-size: 14px; flex: 1; }
.m-contains li small { font-size: 12px; color: var(--muted); }
.m-contains li.have { opacity: .55; }
.m-contains li > .ic { color: var(--green); }
.m-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 16px 0 12px; }
.m-price b { font: 700 42px/1 var(--ff-c); color: #fff; }
.m-price span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 15px; }
.m-price span .ic { color: var(--rune); }
.m-price.silver > .ic { width: 30px; height: 30px; color: var(--silver); align-self: center; }
.meths { display: grid; gap: 8px; }
.meth { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); cursor: pointer; transition: border-color .2s, background .2s; }
.meth input { margin: 3px 0 0; accent-color: var(--ember); width: 16px; height: 16px; flex: none; }
.meth > span { display: grid; grid-template-columns: 22px 1fr; column-gap: 6px; row-gap: 3px; }
.meth > span .ic { grid-row: span 2; width: 20px; height: 20px; color: var(--gold); margin-top: 1px; }
.meth b { font-size: 15px; }
.meth small { color: var(--muted); font-size: 12.5px; }
.meth.on { border-color: var(--ember); background: rgba(255, 122, 26, .07); }
.waiver { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13px; cursor: pointer; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.waiver input { margin: 2px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--ember); }
.waiver small { display: block; margin-top: 5px; font-size: 11.5px; color: var(--muted); }
.shake { animation: shake .45s; border-color: var(--red); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.m-err { min-height: 18px; margin-top: 10px; color: #ff9c8e; font-size: 13.5px; }
.m-buy .proto-note { margin: 0; font-size: 13px; }
.m-buy { width: min(640px, 100%); padding-bottom: 0; }
.m-buy .m-acts { position: sticky; bottom: 0; z-index: 2; margin: 10px -24px 0; padding: 14px 24px 18px; background: linear-gradient(180deg, rgba(12, 14, 19, .6), #0c0e13 35%); }
.done { text-align: center; padding: 8px 0 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.done h2 { font: 900 26px/1.1 var(--ff-d); color: var(--gold2); }
.done .m-acts { justify-content: center; }
.done-burst { position: relative; width: 170px; height: 170px; margin-bottom: 6px; }
.done-burst::before { content: ""; position: absolute; inset: -20px; border-radius: 50%; background: repeating-conic-gradient(rgba(243, 215, 147, .35) 0 6deg, transparent 6deg 22deg); -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); mask: radial-gradient(circle, #000 30%, transparent 70%); animation: spin 14s linear infinite; }
.done-art { position: absolute !important; inset: 22px; border-radius: 16px; border: 1px solid var(--gold2); box-shadow: 0 0 30px rgba(243, 215, 147, .45); animation: pop .5s cubic-bezier(.2, 1.4, .3, 1) both; }
.done-art .pv { display: none; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- launch ---------- */
.launch { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; opacity: 0; transition: opacity .3s; background: #000; }
.launch[hidden] { display: none; }
.launch.open { opacity: 1; }
.launch-art { position: absolute; inset: 0; overflow: hidden; }
.launch-art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 2.2s cubic-bezier(.2, .8, .2, 1); }
.launch.open .launch-art img { transform: scale(1); }
.launch-shade { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, .35), rgba(0, 0, 0, .88) 75%); }
.launch-body { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 20px; }
.launch-body h2 { font: 900 clamp(36px, 6vw, 70px)/1 var(--ff-d); color: #fff3da; text-shadow: 0 4px 30px rgba(0, 0, 0, .9); letter-spacing: .03em; }
.launch-body p { font: 600 16px/1 var(--ff-c); letter-spacing: .16em; text-transform: uppercase; color: var(--gold2); }
.launch-bar { width: min(440px, 80vw); height: 4px; margin: 12px 0 2px; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.launch-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ember), var(--gold2)); box-shadow: 0 0 12px rgba(255, 179, 90, .8); }
.launch.open .launch-bar i { animation: load 1.7s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes load { to { width: 100%; } }
.launch-body .btn { margin-top: 10px; }

/* ---------- toasts, prototype flag, bottom nav ---------- */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 9px; padding: 11px 15px; border-radius: 10px; background: #13161e; border: 1px solid var(--line2); box-shadow: 0 14px 34px rgba(0, 0, 0, .55); font-size: 14px; opacity: 0; transform: translate3d(24px, 0, 0); transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1); }
.toast.in { opacity: 1; transform: none; }
.toast .ic { color: var(--green); }
.toast.err { border-color: rgba(255, 106, 90, .6); }
.toast.err .ic { color: var(--red); }
.proto-badge { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 99px; border: 1px solid rgba(255, 176, 46, .45); background: rgba(255, 176, 46, .1); color: #ffd99a; font: 700 11.5px/1 var(--ff-c); letter-spacing: .12em; text-transform: uppercase; cursor: help; }
.proto-badge .ic { color: #ffb02e; width: 13px; height: 13px; }
.bottomnav { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .home { grid-template-columns: minmax(0, 1fr) 340px; }
  .home-cards { grid-template-columns: 1fr 1fr; }
  .home-cards .hc:last-child { grid-column: span 2; }
  .maps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .me-txt { display: none; }
  .tabs a { padding: 0 10px; }
}
@media (max-width: 1060px) {
  .home, .play-grid, .featured, .prof-grid, .set-grid { grid-template-columns: minmax(0, 1fr); }
  .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span2 { grid-column: auto; }
  .home-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-cards .hc:last-child { grid-column: auto; }
  .home-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-side .quick { grid-column: span 2; }
}
@media (max-width: 900px) {
  :root { --top: 56px; }
  .tabs, .play-cta { display: none; }
  .topbar { padding: 0 12px; gap: 8px; }
  .view { padding: calc(var(--top) + 16px) 14px calc(96px + env(safe-area-inset-bottom)); }
  .bottomnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(9, 10, 14, .95); border-top: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .bottomnav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--muted); font: 600 11.5px/1 var(--ff-c); letter-spacing: .08em; text-transform: uppercase; }
  .bottomnav a .ic { width: 22px; height: 22px; }
  .bottomnav a.on { color: var(--gold2); }
  .bottomnav .bn-play .ic { width: 52px; height: 52px; padding: 13px; margin-top: -26px; border-radius: 50%; color: #1d0d02; background: linear-gradient(180deg, #ffbf6e, #ff7a1a 52%, #d4500a); border: 2px solid #ffd7a4; box-shadow: 0 0 22px rgba(255, 122, 26, .55); stroke-width: 2.2; }
  .bottomnav .bn-play { color: var(--ember2); }
  .bottomnav .nbadge { top: 6px; right: calc(50% - 22px); }
  .seg-wrap { flex-wrap: wrap; flex: 1 1 100%; max-width: 100%; }
  .seg-wrap button { flex: 1 0 auto; border-bottom: 1px solid var(--line); }
  .proto-badge span { display: none; }
  .proto-badge { padding: 5px; }
  .toasts { left: 14px; right: 14px; bottom: calc(110px + env(safe-area-inset-bottom)); align-items: stretch; }
  .home-side { display: flex; }
  .home-cards { grid-template-columns: minmax(0, 1fr); }
  .hero { aspect-ratio: 4 / 4.4; }
  .slide-body { left: 18px; right: 18px; bottom: 56px; }
  .slide-body p { font-size: 15px; }
  .hero-ctrl { left: 14px; right: 14px; justify-content: space-between; }
  .editions { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -14px; padding: 4px 14px 10px; scrollbar-width: none; }
  .editions::-webkit-scrollbar { display: none; }
  .ed-card { flex: 0 0 74%; scroll-snap-align: center; }
  .modes { grid-template-columns: minmax(0, 1fr); }
  .heroes { grid-template-columns: minmax(0, 1fr); }
  .hero-card { aspect-ratio: 4 / 4.2; }
  .cgrid-skins, .sgrid, .sgrid.daily { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cgrid-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bundle { min-height: 360px; }
  .b-shade { background: linear-gradient(0deg, rgba(4, 5, 8, .96) 0%, rgba(4, 5, 8, .55) 65%, rgba(4, 5, 8, .2) 100%); }
  .b-body { padding: 18px; }
  .coll-prog { width: 100%; }
  .mini-bars { grid-template-columns: minmax(0, 1fr); }
  .mini-bars li { grid-template-columns: 96px 1fr 30px; }
  .season-stat { min-width: 0; width: 100%; }
  .pass { grid-template-columns: 58px minmax(0, 1fr); }
  .pass-labels { padding-left: 8px; grid-template-rows: 34px 140px 140px; }
  .pl { margin-right: 6px; font-size: 11px; letter-spacing: .06em; writing-mode: vertical-rl; transform: rotate(180deg); }
  .pl .ic { transform: rotate(90deg); }
  .pcol { width: 100px; grid-template-rows: 34px 140px 140px; }
  .pc-art { width: 68px; height: 68px; }
  .pass-nav { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-badge { border-left: 0; border-top: 1px solid var(--line); width: 100%; flex-direction: row; text-align: left; padding: 12px 0 0; }
  .ph-badge img { width: 44px; height: 44px; }
  .prof-head { padding: 18px; gap: 16px; }
  .ava-xl { width: 96px; height: 96px; }
  .row { flex-wrap: wrap; }
  .rng input { width: 150px; }
  .im { flex-direction: column; align-items: center; text-align: center; }
  .im-body { align-items: center; }
  .im .m-acts { justify-content: center; }
  .im-skin .im-art { width: 190px; }
  .modal { padding: 10px; align-items: end; }
  .modal-box { padding: 20px 16px; border-radius: 16px 16px 12px 12px; max-height: calc(100dvh - 20px); }
  .buy-art { width: 84px; height: 84px; }
  .m-price b { font-size: 34px; }
  .m-acts .btn { flex: 1; }
  .m-buy .m-acts { margin: 10px -16px 0; padding: 12px 16px 16px; }
  .m-contains ul { grid-template-columns: minmax(0, 1fr); }
  .highlights { grid-template-columns: minmax(0, 1fr); }
  .dlc-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .brand-text { display: none; }
  .brand-mark { width: 32px; height: 32px; }
  .wcur { height: 28px; padding: 0 8px; font-size: 14px; gap: 4px; }
  .icon-btn { width: 34px; height: 34px; }
  .top-right { gap: 6px; }
  .skin-chips { gap: 5px; }
  .chip-skin > span:not(.art) { font-size: 10px; letter-spacing: 0; text-transform: none; -webkit-line-clamp: 3; }   /* 20.10.2026 i18n: Reina de los cuervos, Fanciulla dello scudo */
  .quick-act .btn-ghost { width: 96px; }
  .kbd, kbd { min-width: 104px; }
  .seg button { padding: 8px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .slide.on .slide-body > *, .bg-layer, .fxart::after, .pcell.ready, .f_gold::after, .f_rune::after, .done-burst::before, .pill-hot { animation: none; }
  .slide-img, .launch-art img { transition: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== QA 12.10.2026: smoothness and purchase form =====
   1. Infinite box-shadow animations repaint every frame (season pass cells, "abholbar" pill). Now a pseudo element
      fades its opacity, which the compositor runs without repaints.
   2. The carousel progress bar animated "width" (layout every frame), now transform: scaleX.
   3. Phones: no backdrop blur on cards and panels (a blur per card is the main cause of scroll jank on mid-range phones),
      a nearly opaque glass instead. Same for "Qualität: Niedrig" on every screen.
   4. Two separate ticks in the buy window (FAGG, see app.js). */
.pcell.ready { animation: none; box-shadow: 0 0 0 1px var(--ember2), 0 0 12px rgba(255, 122, 26, .3); }
.pcell.ready::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 22px rgba(255, 122, 26, .6); opacity: .25; animation: readypulse 1.8s ease-in-out infinite; pointer-events: none; will-change: opacity; }
@keyframes readypulse { 50% { opacity: 1; } }
.pill-hot { position: relative; animation: none; }
.pill-hot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 14px rgba(255, 122, 26, .8); opacity: 0; animation: hotpulse 2s ease-in-out infinite; pointer-events: none; will-change: opacity; }
@keyframes hotpulse { 50% { opacity: 1; } }
.dot i { width: 100%; transform: scaleX(0); transform-origin: 0 50%; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
body.lowfx .ccard, body.lowfx .scard, body.lowfx .hl { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--glass2); }
@media (max-width: 900px) {
  .panel, .ccard, .scard, .hl { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--glass2); }
}
.waivers { display: grid; gap: 8px; margin-top: 14px; }
.waivers .waiver { margin-top: 0; }
@media (prefers-reduced-motion: reduce) {
  .pcell.ready::before, .pill-hot::after { animation: none; opacity: .6; }
  .dot.on i { animation: none; transform: scaleX(1); }
}

/* ===== 15.10.2026: real menu (backend contract, friends, leaderboards, daily challenge, co-op, Runengold) ===== */
.cur-gold { text-decoration: none; color: inherit; }
.cur-gold .ic, .gold-amt .ic, .price.gold > .ic, .m-price.gold > .ic, .wallet-big > .ic, .coinart .ic { color: var(--gold2); }
.gold-amt { display: inline-flex; align-items: center; gap: 4px; }
.login-chip { height: 34px; }
.login-chip .ic { width: 16px; height: 16px; }
[hidden] { display: none !important; }
.lnk { color: var(--gold2); }
.code-big { font: 700 28px/1.1 var(--ff-c); letter-spacing: .14em; color: var(--gold2); font-variant-numeric: tabular-nums; word-break: break-all; }

/* login prompts */
.login-card { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 10px; background: rgba(212, 173, 98, .07); border: 1px solid var(--line2); }
.login-card > .ic { width: 26px; height: 26px; color: var(--gold2); flex: none; }
.login-card > div { flex: 1 1 160px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.login-card b { font-size: 15px; }
.login-card small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.off-note { display: flex; gap: 8px; align-items: flex-start; }
.off-note .ic { color: #ffb02e; margin-top: 1px; }
.login-m h2 { font: 900 24px/1.15 var(--ff-d); color: var(--gold2); margin: 6px 0 8px; }
.login-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 7px; }
.login-list li { display: flex; gap: 8px; align-items: center; font-size: 14.5px; }
.login-list .ic { color: var(--green); }
.confirm h2 { font: 700 22px/1.2 var(--ff-d); color: var(--gold2); margin: 6px 0 10px; }
.confirm .code-big { margin: 10px 0 4px; }

/* daily challenge card */
.daily { padding: 0; overflow: hidden; }
.daily .p-head { padding: 14px 18px 0; }
.daily-map { position: relative; aspect-ratio: 16 / 6.5; max-height: 170px; width: 100%; overflow: hidden; margin-top: 2px; }
.daily-map > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.daily-txt { position: absolute; left: 16px; right: 16px; bottom: 12px; display: flex; flex-direction: column; gap: 3px; }
.daily-txt b { font: 900 21px/1.05 var(--ff-d); color: #fff3da; }
.daily-txt small { color: #d9cfbd; font-size: 12.5px; }
.daily-rows { padding: 10px 18px 0; display: grid; gap: 6px; }
.drow { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.drow b { font: 700 17px/1 var(--ff-c); color: var(--gold2); font-variant-numeric: tabular-nums; }
.drow.is-me span { color: var(--gold2); font-weight: 600; }
.daily-act { display: flex; gap: 8px; padding: 12px 18px 16px; flex-wrap: wrap; }
.daily-act .btn { flex: 1 1 auto; }

/* play: modes, co-op, heroes */
.modes3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mode .ic { flex: none; }
.coop { margin-top: 12px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); }
.coop-col { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.coop-col label { display: flex; flex-direction: column; gap: 4px; }
.coop-col small { color: var(--muted); font-size: 12.5px; }
.coop .note { grid-column: 1 / -1; margin-top: 0; }
.inrow { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.inrow input { flex: 1; min-width: 0; }
.inrow input, .fld input, select { height: 38px; padding: 0 11px; border-radius: 7px; border: 1px solid var(--line2); background: rgba(5, 6, 9, .7); color: var(--ink); font: 500 15px/1 var(--ff-b); }
#room-code { font: 700 18px/1 var(--ff-c); letter-spacing: .25em; text-transform: uppercase; }
select { cursor: pointer; max-width: 100%; }
select option { background: #11141b; color: var(--ink); }
input:focus-visible, select:focus-visible { outline: 2px solid var(--gold2); outline-offset: 1px; }
.map-card.off { opacity: .4; filter: grayscale(.6); cursor: not-allowed; }
.map-info small .ic { width: 12px; height: 12px; color: var(--ember2); }
.hero-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.hero-pick { position: relative; display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); background: #0b0d12; cursor: pointer; text-align: left; transition: border-color .2s, transform .2s; }
.hero-pick img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 18%; display: block; }
.hero-pick span { display: flex; flex-direction: column; gap: 2px; padding: 6px 8px 8px; }
.hero-pick b { font: 700 15px/1 var(--ff-c); letter-spacing: .08em; text-transform: uppercase; }
.hero-pick small { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); line-height: 1.2; }
.hero-pick small .ic { width: 12px; height: 12px; }
.hero-pick:hover { border-color: var(--line2); transform: translateY(-1px); }
.hero-pick.on { border-color: var(--gold2); box-shadow: 0 0 0 1px var(--gold), 0 0 18px rgba(243, 215, 147, .25); }
.hero-pick.soon img { filter: grayscale(.7) brightness(.55); }
.hero-pick.soon small { color: var(--ember2); }

/* shop */
.wallet-big { display: flex; align-items: center; gap: 12px; padding: 12px 18px; max-width: 360px; }
.wallet-big > .ic { width: 34px; height: 34px; flex: none; }
.wallet-big b { font: 700 28px/1 var(--ff-c); }
.wallet-big small { display: block; color: var(--muted); font-size: 12px; line-height: 1.3; margin-top: 3px; }
.price.gold { flex-direction: row; align-items: center; gap: 6px; }
.price.gold > .ic { width: 18px; height: 18px; }
.m-price.gold > .ic { width: 30px; height: 30px; align-self: center; }
.pay-soon { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: rgba(116, 198, 255, .07); border: 1px solid rgba(116, 198, 255, .35); }
.pay-soon > .ic { color: var(--rune); width: 22px; height: 22px; margin-top: 2px; }
.pay-soon p { margin-top: 4px; color: var(--muted); font-size: 13.5px; }

/* banners (profile card background + art tiles) */
.bnr { --bn: linear-gradient(120deg, #0f1724, #1d2c40 55%, #0b0f16); }
.bnr.bn_ember { --bn: radial-gradient(120% 140% at 85% 110%, rgba(255, 122, 26, .55), transparent 60%), linear-gradient(120deg, #1a0e07, #2c160a 60%, #120905); }
.bnr.bn_frost { --bn: radial-gradient(120% 140% at 15% -10%, rgba(180, 225, 255, .45), transparent 60%), linear-gradient(120deg, #0d1a26, #22394d 60%, #0b131b); }
.bnr.bn_blood { --bn: radial-gradient(90% 120% at 80% 0%, rgba(224, 37, 27, .55), transparent 60%), linear-gradient(120deg, #170506, #2a0909 60%, #0e0304); }
.bnr.bn_raven { --bn: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 8px, transparent 8px 18px), linear-gradient(120deg, #0b0c10, #1b1e27 60%, #08090c); }
.bnr.bn_founder { --bn: radial-gradient(100% 140% at 50% 120%, rgba(243, 215, 147, .5), transparent 60%), linear-gradient(120deg, #1d1609, #3a2b10 60%, #140f06); }
.prof-head.bnr { background: var(--bn); }
.bannerart { display: block; background: var(--bn); border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.bannerart i { display: block; width: 100%; height: 100%; background: linear-gradient(0deg, rgba(0, 0, 0, .35), transparent 60%); }
.st-art { width: 100%; height: 58px; border-radius: 10px; }
.framebtn.locked .st-art { filter: grayscale(.8) brightness(.55); }

/* badges with progress */
.badge { cursor: default; }
.badge:hover { transform: none; }
.badge .bar { width: 82%; margin-top: 4px; }
.b-done { color: var(--green) !important; }
.b-prog { font-variant-numeric: tabular-nums; }

/* friends page */
.fr-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 18px; align-items: start; }
.fr-side { display: flex; flex-direction: column; gap: 16px; }
.code-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.fld { display: flex; flex-direction: column; gap: 5px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.fld input { width: 100%; font-size: 13px; }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.add-form { margin-top: 12px; }
.req-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.req-list li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.req-list b { font-size: 14.5px; }
.m-sub { margin: 14px 0 8px; font: 700 12px/1 var(--ff-c); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fr-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); }
.fr-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fr-bests { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.fb { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; padding: 5px 6px; border-radius: 7px; background: rgba(0, 0, 0, .25); }
.fb small { font-size: 10.5px; color: var(--muted); white-space: nowrap; max-width: 86px; overflow: hidden; text-overflow: ellipsis; }
.fb b { font: 700 15px/1 var(--ff-c); color: var(--gold2); font-variant-numeric: tabular-nums; }
.fr-acts { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.cmp h2 { font: 700 22px/1.2 var(--ff-d); color: var(--gold2); margin-bottom: 6px; }
.cmp-score { font: 700 40px/1 var(--ff-c); margin: 8px 0 4px; }
.cmp-score b:first-child { color: var(--gold2); }
.cmp-tbl td.win { color: var(--green); font-weight: 700; }
.cmp .tbl-wrap { margin-top: 12px; }

/* leaderboards */
button.subtab { background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
.rk-maps { margin: -6px 0 16px; }
.fl-daily { display: inline-flex; align-items: center; gap: 5px; }
.fl-daily .ic { width: 14px; height: 14px; }
.rank-tbl tr.is-me td { background: rgba(212, 173, 98, .12); }
.rank-tbl tr.is-me td:first-child { box-shadow: inset 3px 0 0 var(--gold2); }
.rank-tbl td small { font-size: 11.5px; }
.rk { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 50%; font: 700 15px/1 var(--ff-c); color: var(--ink) !important; background: rgba(255, 255, 255, .06); }
.rk-1 { background: linear-gradient(160deg, #f8e0a0, #b88a42); color: #1b1206 !important; }
.rk-2 { background: linear-gradient(160deg, #eef2f6, #8d97a3); color: #11141b !important; }
.rk-3 { background: linear-gradient(160deg, #f0b98a, #8b5a2b); color: #1b1206 !important; }
.won .ic { width: 14px; height: 14px; color: var(--gold2); }
.me-row { margin-top: 10px; padding: 8px 12px; border-radius: 8px; background: rgba(212, 173, 98, .12); font-weight: 600; }
.region-opt { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.loading { padding: 10px 0; }

/* mobile "More" sheet */
.more-nav { display: flex; flex-direction: column; gap: 4px; padding-top: 18px; }
.more-nav a { display: flex; align-items: center; gap: 12px; padding: 14px 12px; border-radius: 10px; text-decoration: none; font: 600 17px/1 var(--ff-c); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); border: 1px solid transparent; }
.more-nav a > .ic { width: 22px; height: 22px; color: var(--gold); }
.more-nav a span { flex: 1; }
.more-nav a .more-go { width: 16px; height: 16px; color: var(--muted); }
.more-nav a:hover, .more-nav a.on { border-color: var(--line2); background: rgba(255, 255, 255, .04); color: var(--gold2); }

/* responsive additions */
.tabs a { white-space: nowrap; }
@media (max-width: 1280px) { .tabs a { padding: 0 9px; letter-spacing: .08em; } .proto-badge span { display: none; } .proto-badge { padding: 5px; } }
@media (max-width: 1160px) { .brand-text { display: none; } .tabs a { font-size: 14.5px; padding: 0 7px; } .play-cta { padding: 0 20px; } .topbar { gap: 10px; } }
@media (max-width: 1060px) { .fr-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .modes3 { grid-template-columns: minmax(0, 1fr); }
  .coop { grid-template-columns: minmax(0, 1fr); }
  .fr-item { grid-template-columns: minmax(0, 1fr); }
  .fr-bests { justify-content: flex-start; }
  .fb { min-width: 0; flex: 1 1 22%; }
  .hide-s { display: none; }
  .wallet-big { max-width: none; width: 100%; }
  .login-chip span { display: none; }
  .login-chip { width: 34px; padding: 0; }
}
@media (max-width: 420px) {
  .hero-pick small { font-size: 10.5px; }
  .code-big { font-size: 24px; }
  .share-row .btn { flex: 1 1 auto; }
  .fr-acts .btn { flex: 1 1 auto; padding: 0 8px; }
}
.wished-ic .ic { width: 14px; height: 14px; color: var(--ember2); vertical-align: 0; }
/* gamepad focus ring (15.10. integration, shieldwall-hd/js/gamepad.js sets .pad-mode on <html> while a pad is used) */
.pad-mode .pad-focus { outline: 3px solid #e8b04a; outline-offset: 3px; }

/* ================= prestige 15.10.2026: emblem, founder, rarity, players with frame/banner/title, mastery, previews, player card ================= */
.emb { --e0: #9aa1ab; --e1: #3a3f48; position: relative; display: inline-grid; place-items: center; flex: none; width: 24px; height: 22px; clip-path: var(--hex); background: linear-gradient(150deg, var(--e0), var(--e1)); vertical-align: middle; }
.emb::before { content: ""; position: absolute; inset: 2px; clip-path: var(--hex); background: radial-gradient(circle at 50% 35%, #2c2418, #0d0b08); }
.emb b { position: relative; font: 900 11px/1 var(--ff-d); color: var(--e0); }
.emb-bronze { --e0: #e0a458; --e1: #7a4a22; }
.emb-silver { --e0: #ffffff; --e1: #8d97a3; }
.emb-gold { --e0: #ffe3a0; --e1: #a8761e; filter: drop-shadow(0 0 4px rgba(255, 210, 122, .55)); }
.emb-runeglow { --e0: #ffd27a; --e1: #ff7a1a; background: linear-gradient(150deg, #ffd27a, #ff7a1a, #ffd27a); background-size: 200% 200%; animation: embglow 2.4s ease-in-out infinite; filter: drop-shadow(0 0 6px rgba(255, 122, 26, .8)); }
@keyframes embglow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.emb-sm { width: 20px; height: 18px; }
.emb-sm b { font-size: 9.5px; }
.emb-lg { width: 46px; height: 42px; }
.emb-lg b { font-size: 19px; }
.emb-on-ava { position: absolute; right: -4px; bottom: -2px; width: 44px; height: 40px; }
.emb-on-ava b { font-size: 18px; }
.ava-wrap { position: relative; display: inline-block; flex: none; }
.ava-xs { width: 28px; height: 28px; padding: 2px; }
.founder { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 99px; background: linear-gradient(90deg, #6f4a10, #e0b04a, #6f4a10); color: #1a1206; font: 700 11.5px/1 var(--ff-c); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; vertical-align: middle; }
.founder .ic { width: 11px; height: 11px; fill: currentColor; }
.fc-sm { padding: 2px 6px; font-size: 10px; }
.fc-lg { padding: 7px 14px; font-size: 15px; }
.rarity { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--ember2); line-height: 1.3; }
.rarity .ic { width: 12px; height: 12px; flex: none; }
.pn { display: inline-flex; align-items: center; gap: 6px; min-width: 0; flex-wrap: wrap; }
.pn > b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.ptitle { display: block; font: 600 11.5px/1.2 var(--ff-c); letter-spacing: .1em; text-transform: uppercase; color: var(--gold) !important; }
.f-avw { position: relative; flex: none; display: inline-block; }
.f-avw .dotst { position: absolute; right: 0; bottom: 0; }
.fr-item.bnr { background: linear-gradient(90deg, rgba(7, 9, 13, .35), rgba(7, 9, 13, .85) 70%), var(--bn); }
.fr-badge { width: 34px; height: 34px; border-radius: 8px; flex: none; margin-left: auto; box-shadow: 0 0 10px rgba(243, 215, 147, .25); }
.invite-cta { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 10px; border: 1px dashed var(--line2); background: rgba(212, 173, 98, .06); flex-wrap: wrap; }
.invite-cta > .ic { width: 26px; height: 26px; color: var(--gold2); flex: none; }
.invite-cta > div { flex: 1; min-width: 180px; font-size: 14px; }
.drow .btn { margin-left: auto; }
.rk-p { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.rk-n { display: flex; flex-direction: column; min-width: 0; }
.rk-n .pn > b { font: 600 15px/1.2 var(--ff-b); color: var(--ink); }
.rank-tbl td .lv { white-space: nowrap; }
.rank-tbl td:nth-child(2) { white-space: normal; }
.cmp-heads { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin: 12px 0 4px; }
.cmp-p { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; min-width: 0; background: linear-gradient(90deg, rgba(7, 9, 13, .3), rgba(7, 9, 13, .8)), var(--bn); border: 1px solid var(--line); }
.cmp-pn { display: flex; flex-direction: column; min-width: 0; }
.cmp-vs { font: 900 18px/1 var(--ff-d); color: var(--ember2); }
.ph-acts { margin-top: 6px; }
/* animated previews (canvas over the still icon) */
.pvart { isolation: isolate; }
.pvart canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pvart .pv-still { opacity: 0; }
.ccard.locked .pvart canvas { filter: grayscale(.35) brightness(.8); }
.moment, .kerb { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); }
.moment .ic, .kerb .ic { width: 12px; height: 12px; color: var(--ember2); flex: none; }
p.kerb { font-size: 13px; color: var(--ink); }
.look-box { display: flex; flex-direction: column; gap: 3px; margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); text-align: left; }
.look-box > b { display: flex; align-items: center; gap: 6px; font: 700 13px/1 var(--ff-c); letter-spacing: .12em; text-transform: uppercase; color: var(--gold2); }
.look-box > b .ic { width: 13px; height: 13px; }
.look-box small { font-size: 12px; color: var(--ember2); }
.look-box p { font-size: 13.5px; line-height: 1.45; }
.wicon { width: 30px; height: 30px; border-radius: 6px; }
/* mastery tab */
.m-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 8px; }
.m-founder, .m-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.m-card > b { display: flex; align-items: center; gap: 8px; font: 700 16px/1.2 var(--ff-d); color: var(--gold2); }
.m-card small, .m-founder small { color: var(--muted); font-size: 13px; }
.mh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.mh { display: flex; align-items: center; gap: 14px; }
.mh-art { position: relative; flex: none; width: 76px; height: 76px; }
.mh-art img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--line2); }
.mh-art .emb { position: absolute; right: -8px; bottom: -4px; }
.mh-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.mh-txt > b { font: 700 17px/1.1 var(--ff-d); color: #fff3da; }
.mh-txt small { font-size: 12.5px; }
.mw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.mw { display: flex; flex-direction: column; gap: 10px; }
.mw.t5 { box-shadow: 0 0 0 1px rgba(255, 122, 26, .55), 0 0 26px rgba(255, 122, 26, .2); }
.mw.t4 { box-shadow: 0 0 0 1px rgba(224, 176, 74, .45); }
.mw-head { display: flex; gap: 12px; align-items: center; }
.mw-pv { position: relative; flex: none; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: #0b0d12; border: 1px solid var(--line); }
.mw-pv canvas, .mw-pv img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mw-pv img { object-fit: cover; filter: grayscale(.4) brightness(.8); }
.mw-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mw-txt > b { font: 700 16px/1.1 var(--ff-d); color: #fff3da; }
.tier-pill { align-self: flex-start; padding: 3px 8px; border-radius: 99px; font: 700 11.5px/1 var(--ff-c); letter-spacing: .12em; text-transform: uppercase; background: rgba(255, 255, 255, .08); color: var(--muted); }
.tp1 { color: #c3c9d1; }
.tier-pill.tp1 { background: #3a3f48; }
.tp2 { color: #e0a458; }
.tier-pill.tp2 { background: #4a2e14; }
.tp3 { color: #ffffff; }
.tier-pill.tp3 { background: #6a737e; }
.tp4 { color: #ffd27a; }
.tier-pill.tp4 { background: #6f4a10; }
.tp5 { color: #ffd27a; }
.tier-pill.tp5 { background: linear-gradient(90deg, #ff7a1a, #ffd27a, #ff7a1a); background-size: 200% 100%; color: #1d0d02; animation: embglow 2.4s ease-in-out infinite; }
.mw-to { font-size: 12px; }
.mw-need { display: grid; gap: 5px; }
.nb { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 8px; }
.nb small { font-size: 12px; color: var(--muted); }
.nb b { font: 600 12.5px/1 var(--ff-c); color: var(--ink); font-variant-numeric: tabular-nums; }
.nb.ok b, .nb.ok small { color: var(--green); }
.mw-max { display: flex; align-items: center; gap: 6px; color: var(--gold2); font-size: 13px; }
.mw-max .ic { width: 14px; height: 14px; }
.mw-look small { font: 700 11.5px/1 var(--ff-c); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.look-opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.look-opt { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: var(--ink); font: 600 13px/1 var(--ff-c); letter-spacing: .04em; cursor: pointer; }
.look-opt.r-common, .look-opt.r-rare, .look-opt.r-epic, .look-opt.r-legendary { border-color: color-mix(in srgb, var(--rc) 50%, transparent); }
.look-opt.on { border-color: var(--gold2); background: rgba(212, 173, 98, .16); color: var(--gold2); box-shadow: inset 0 0 0 1px rgba(243, 215, 147, .35); }
.look-opt.locked { opacity: .6; }
.look-opt .ic { width: 12px; height: 12px; }
.tl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.tl { display: flex; flex-direction: column; gap: 5px; padding: 12px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); }
.tl-pv { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #0b0d12; }
.tl-pv canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tl b { font: 700 16px/1.1 var(--ff-d); }
.tl small { font-size: 12px; line-height: 1.35; }
/* player card */
.card-pv { display: grid; place-items: center; margin: 12px 0; min-height: 160px; }
.card-cv { width: min(100%, 360px); height: auto; border-radius: 14px; box-shadow: 0 10px 40px rgba(0, 0, 0, .6), 0 0 0 1px var(--line); }
@media (max-width: 700px) {
  .mw-grid, .mh-grid { grid-template-columns: minmax(0, 1fr); }
  .tl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nb { grid-template-columns: 78px 1fr auto; }
  .cmp-heads { grid-template-columns: minmax(0, 1fr); }
  .cmp-vs { text-align: center; }
  .rk-p .ava-xs { display: none; }
  .fr-badge { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { .emb-runeglow, .tier-pill.tp5 { animation: none; } }
.rank-tbl td.rk-td { background: linear-gradient(90deg, rgba(7, 9, 13, .2), rgba(7, 9, 13, .92) 80%), var(--bn); }
.rank-tbl tr.is-me td.rk-td { background: linear-gradient(90deg, rgba(212, 173, 98, .18), rgba(30, 24, 14, .92) 80%), var(--bn); }
/* 15.10.2026: controller remap screen in a modal (shieldwall-hd/js/padui.js draws it), focus ring also on custom controls */
.modal-box.m-remap { width: min(46em, 94vw); max-height: 92vh; overflow: auto; }
.pad-mode .switch.pad-focus, .pad-mode .seg button.pad-focus { outline: 3px solid #e8b04a; outline-offset: 2px; }

/* ================= 19.10.2026: event "Winternächte", danger levels, season archive, clans ("Sippe") ================= */
.bar-frost i { background: linear-gradient(90deg, #4f86b8, #cfeaff); box-shadow: 0 0 10px rgba(159, 216, 255, .5); }
/* event card on home + event hero: moon and drifting mist, pure CSS (transform/opacity only) */
.ev-card, .ev-hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; text-decoration: none; isolation: isolate;
  background: radial-gradient(120% 160% at 90% -20%, rgba(159, 216, 255, .22), transparent 55%), linear-gradient(120deg, #070b12, #0f1a28 55%, #091019); border-color: rgba(159, 216, 255, .35); }
.home > .ev-card { grid-column: 1 / -1; }
.ev-card:hover { border-color: rgba(159, 216, 255, .7); }
.ev-moon { position: absolute; z-index: -1; right: 9%; top: -34px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle at 38% 38%, #f4f8ff, #b9cde0 55%, #6d8296); box-shadow: 0 0 60px rgba(200, 225, 255, .45); opacity: .85; }
.ev-mist { position: absolute; z-index: -1; left: -20%; right: -20%; bottom: -30%; height: 90%; background: radial-gradient(50% 60% at 30% 70%, rgba(200, 220, 240, .16), transparent 70%), radial-gradient(40% 50% at 75% 80%, rgba(200, 220, 240, .12), transparent 70%); animation: evmist 26s ease-in-out infinite alternate; will-change: transform; pointer-events: none; }
@keyframes evmist { from { transform: translate3d(-4%, 0, 0); } to { transform: translate3d(4%, -3%, 0); } }
.ev-txt { display: flex; flex-direction: column; gap: 3px; min-width: 200px; flex: 1; }
.ev-txt b { font: 700 22px/1.15 var(--ff-d); color: #e8f3ff; }
.ev-txt small { color: #b9c9d8; }
.ev-txt .kicker { color: #9fd8ff; }
.ev-prog { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 6px; }
.ev-prog small { color: #c9d8e6; }
.ev-art { width: 56px; height: 56px; border-radius: 9px; flex: none; }
.ev-card .pill-hot { margin-left: 0; }
.ev-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.ev-hero { min-height: 140px; }
.ev-badge-note { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: #ffd27a !important; }
.ev-stat { display: flex; align-items: center; gap: 16px; }
.ev-stat > div { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.ev-stat b { font: 900 34px/1 var(--ff-d); color: #dff2ff; font-variant-numeric: tabular-nums; }
.ev-shard { width: 58px; height: 58px; flex: none; display: grid; place-items: center; clip-path: var(--hex); background: linear-gradient(160deg, #cfeaff, #3d6a92); color: #0b1622; }
.ev-shard .ic { width: 28px; height: 28px; }
.ev-track { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px; }
.ev-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 6px 10px; border-radius: 11px; cursor: pointer; overflow: hidden; color: inherit;
  background: linear-gradient(180deg, rgba(20, 30, 44, .85), rgba(10, 14, 20, .9)); border: 1px solid rgba(159, 216, 255, .18); transition: transform .2s, border-color .2s; }
.ev-step:hover { transform: translateY(-2px); border-color: var(--rc); }
.ev-need { position: absolute; top: 6px; left: 8px; font: 700 13px/1 var(--ff-c); letter-spacing: .06em; color: #9fd8ff; font-variant-numeric: tabular-nums; }
.evs-art { width: 100%; max-width: 86px; aspect-ratio: 1; height: auto; border-radius: 9px; }
.evs-art .pv { display: none; }
.evs-name { font: 600 12px/1.15 var(--ff-c); letter-spacing: .04em; text-transform: uppercase; text-align: center; color: #d8e3ee; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-step.locked .evs-art { filter: brightness(.5) saturate(.5); }
.ev-step.claimed { opacity: .55; }
.ev-step.ready { border-color: var(--ember2); box-shadow: 0 0 0 1px var(--ember2), 0 0 12px rgba(255, 122, 26, .3); }
.ev-step.ready .evs-name { margin-bottom: 14px; }
.ev-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; margin-top: 18px; align-items: start; }
.ev-how { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ev-how li { display: flex; gap: 8px; align-items: flex-start; }
.ev-how .ic { color: var(--green); margin-top: 2px; }
/* danger level picker (play) */
.heat { margin: 12px 0; display: flex; flex-direction: column; gap: 7px; }
.heat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.heat-head b { display: flex; align-items: center; gap: 6px; font: 700 14px/1 var(--ff-c); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.heat-row { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; }
.hb { height: 34px; display: grid; place-items: center; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); cursor: pointer; color: var(--muted); transition: background .2s, border-color .2s, color .2s; }
.hb b { font: 700 15px/1 var(--ff-c); }
.hb .ic { width: 13px; height: 13px; }
.hb:hover { color: var(--ink); border-color: var(--line2); }
.hb.on { background: linear-gradient(180deg, #ffb35a, #d4500a); color: #1d0d02; border-color: #ffd29a; }
.hb.rag.on { background: linear-gradient(180deg, #ff6a4a, #8a1405); color: #fff4e8; }
.hb.locked { opacity: .45; cursor: not-allowed; }
.rk-heat { display: inline-flex; align-items: center; gap: 8px; margin: -6px 0 14px; font: 600 14px/1 var(--ff-c); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rk-heat span { display: inline-flex; align-items: center; gap: 5px; }
/* season dates + archive */
.season-dates { display: flex; align-items: center; gap: 8px; margin: -6px 0 14px; color: var(--muted); font-size: 14px; }
.arch { display: grid; gap: 10px; }
.arch-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.arch-row b { font: 700 17px/1.2 var(--ff-d); color: var(--gold2); }
.arch-row small { flex: 1; color: var(--muted); }
/* clans */
.cl-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 16px; }
.cl-grid > div { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cl-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--bn); padding: 22px; }
.cl-head-txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cl-head-txt h2 { font: 900 clamp(24px, 3vw, 36px)/1.1 var(--ff-d); color: #f7ebd0; text-shadow: 0 2px 14px rgba(0, 0, 0, .7); overflow-wrap: anywhere; }
.cl-head-txt small { color: #d8cebd; }
.cl-code { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.cl-code small { color: var(--muted); font: 600 12px/1 var(--ff-c); letter-spacing: .14em; text-transform: uppercase; }
.cb-bar { position: relative; height: 22px; margin: 6px 0 40px; border-radius: 6px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.cb-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(90deg, #8a1405, #ff6a4a 70%, #ffb35a); box-shadow: 0 0 14px rgba(255, 106, 74, .45); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.cb-mark { position: absolute; top: -4px; bottom: -4px; width: 0; }
.cb-mark i { position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, .45); }
.cb-mark small { position: absolute; top: 32px; left: 0; transform: translateX(-50%); white-space: nowrap; text-align: center; font: 600 11.5px/1.2 var(--ff-c); color: var(--muted); }
.cb-mark:last-child small { transform: translateX(-100%); text-align: right; }
.cb-mark.done i { background: var(--gold2); }
.cb-mark.done small { color: var(--gold2); }
.cb-num b { font: 700 22px/1 var(--ff-c); color: var(--gold2); font-variant-numeric: tabular-nums; }
.cl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cl-m { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); }
.cl-m.is-me { border-color: var(--line2); }
.cl-dmg { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-variant-numeric: tabular-nums; }
.cl-dmg b { font: 700 18px/1 var(--ff-c); color: var(--gold2); }
.cl-dmg small { color: var(--muted); font-size: 12px; }
.cl-acts { grid-column: 1 / -1; display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.cl-n { display: flex; flex-direction: column; gap: 2px; }
.cl-n b { font: 600 15px/1.2 var(--ff-b) !important; color: var(--ink) !important; overflow-wrap: anywhere; white-space: normal; }
.cl-tbl td.rk-td { white-space: normal; }
.cl-tbl td:nth-child(4) { text-align: right; }
.icon-btn.sm { width: 30px; height: 30px; }
.icon-btn.sm .ic { width: 15px; height: 15px; }
.cl-pv { margin: 8px 0 12px; padding: 16px; border-radius: 10px; background: var(--bn); box-shadow: inset 0 0 0 1px var(--line); }
.cl-pv h2 { margin: 0 0 4px; overflow-wrap: anywhere; }
.cl-side .fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.cl-side .fld > span:first-child { font: 600 12.5px/1 var(--ff-c); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1060px) {
  .ev-track { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ev-top, .ev-cols, .cl-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .ev-track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ev-moon { width: 84px; height: 84px; top: -24px; right: 4%; }
  .heat-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ev-card { gap: 10px; }
  .ev-txt b { font-size: 19px; }
  .cb-mark small { font-size: 10.5px; }
  .cl-head { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .ev-mist { animation: none; } }
.lowfx .ev-mist { animation: none; }

/* ================= 20.10.2026: hero abilities, danger level rules and rewards, the event night ================= */
.abil { margin: 12px 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 8px; }
.abil-head { display: flex; align-items: center; gap: 6px; font: 700 14px/1 var(--ff-c); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.ab-row { display: flex; gap: 10px; align-items: flex-start; }
.ab-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--gold), 0 0 12px rgba(255, 179, 90, .35); background: #120d07; }
.ab-ic img { width: 100%; height: 100%; object-fit: cover; }
.ab-ic.dash { box-shadow: 0 0 0 2px #3fb8b0, 0 0 12px rgba(63, 184, 176, .35); color: #cff7f3; background: #07161a; }
.ab-ic.dash .ic { width: 22px; height: 22px; }
.ab-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ab-txt b { font: 700 15px/1.2 var(--ff-c); letter-spacing: .04em; color: var(--ink); }
.ab-txt small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.ab-keys { font-style: normal; font: 600 12px/1.3 var(--ff-c); letter-spacing: .06em; color: var(--gold2); }
.hc-ult { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; margin: 0; font-size: 12.5px !important; line-height: 1.35; color: #ffe3b0 !important; }
.hc-ult .ic { width: 13px; height: 13px; color: var(--ember2); align-self: center; }
.heat-more { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.heat-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: 600 12px/1 var(--ff-c); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.heat-sub em { font-style: normal; color: var(--ember2); letter-spacing: .06em; }
.heat-rules0 { margin: 0; font-size: 13px; color: var(--muted); }
.heat-mods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 10px; }
.heat-mods li { display: flex; gap: 6px; align-items: baseline; font-size: 12.5px; line-height: 1.3; color: var(--dim); }
.heat-mods li b { flex: none; width: 18px; text-align: right; font: 700 13px/1 var(--ff-c); font-variant-numeric: tabular-nums; }
.heat-mods li.on { color: #ffd9a8; }
.heat-mods li.on b { color: var(--ember2); }
.heat-mods li.new span { color: #fff1dc; font-weight: 600; }
.hrw-row { display: flex; flex-wrap: wrap; gap: 6px; }
.hrw { position: relative; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 8px 4px 4px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); cursor: pointer; color: var(--ink); font: 600 12.5px/1.2 var(--ff-c); letter-spacing: .03em; }
.hrw:hover { border-color: var(--line2); }
.hrw-n { flex: none; min-width: 20px; height: 20px; padding: 0 4px; display: grid; place-items: center; border-radius: 5px; background: rgba(255, 122, 26, .16); color: var(--ember2); font-weight: 700; font-variant-numeric: tabular-nums; }
.hrw-art { width: 26px; height: 26px; border-radius: 6px; flex: none; }
.hrw-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hrw .hrw-ok { width: 14px; height: 14px; color: var(--green); flex: none; }
.hrw.own { border-color: rgba(98, 214, 141, .4); }
.ev-night-note { display: block; margin-top: 8px; font-size: 12.5px; }
/* the event key art behind the event card and the event head */
.ev-card::before, .ev-hero::before { content: ""; position: absolute; inset: 0; height: auto; opacity: 1; border-radius: inherit; pointer-events: none; z-index: -2; background: linear-gradient(90deg, rgba(6, 10, 18, .95) 0%, rgba(6, 10, 18, .78) 45%, rgba(6, 10, 18, .35) 100%), url("../img/event_winternights_960.jpg") center 35% / cover no-repeat; }
@media (max-width: 600px) {
  .heat-mods { grid-template-columns: minmax(0, 1fr); }
  .ev-card::before, .ev-hero::before { background: linear-gradient(180deg, rgba(6, 10, 18, .7), rgba(6, 10, 18, .92)), url("../img/event_winternights_960.jpg") center 30% / cover no-repeat; }
}

/* ================= 20.10.2026: retention (js/retain.js): daily gift, comeback, weekly Thing, collection book, invites, reminders.
   Only transform and opacity animate; nothing blinks for pressure (the "today" glow is slow and soft). ================= */
.home > .rt-home { grid-column: 1 / -1; }
.bannerart .rt-bn-ic { position: absolute; inset: 0; margin: auto; width: 46%; height: 46%; color: rgba(255, 244, 220, .9); stroke-width: 1.6; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .8)); }
.gd-art.bannerart, .rt-back-art.bannerart, .bm-art.bannerart, .oa-art.bannerart, .tp-art.bannerart { position: relative; }
.rt-home { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
/* daily gift calendar */
.rt-gift .p-head { margin-bottom: 12px; }
.gd-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.gd { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px 9px; border-radius: 10px; text-align: center; min-width: 0; isolation: isolate;
  background: linear-gradient(180deg, rgba(26, 22, 16, .85), rgba(12, 12, 14, .9)); border: 1px solid rgba(212, 173, 98, .2); }
.gd-n { font: 700 12px/1 var(--ff-c); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gd-art { width: 44px; height: 44px; border-radius: 9px; flex: none; }
.gd-art.coinart b { font-size: 12px; }
.gd-xp { color: var(--rune); }
.gd-what { font: 600 12px/1.15 var(--ff-c); letter-spacing: .03em; color: #d9cfbd; overflow-wrap: anywhere; hyphens: auto; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.gd-ok { position: absolute; top: 6px; right: 6px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #062010; }
.gd-ok .ic { width: 12px; height: 12px; stroke-width: 2.6; }
.gd-claimed { opacity: .58; }
.gd-claimed .gd-art { filter: saturate(.6); }
.gd-today { border-color: var(--ember2); }
.gd-today::after { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; box-shadow: 0 0 0 1px var(--ember2), 0 0 18px rgba(255, 122, 26, .45); opacity: .55; animation: gdglow 3.2s ease-in-out infinite; pointer-events: none; will-change: opacity; }
@keyframes gdglow { 0%, 100% { opacity: .35; } 50% { opacity: .9; } }
.gd-today .gd-n { color: var(--ember2); }
.gd-7 { background: linear-gradient(180deg, rgba(58, 40, 12, .9), rgba(18, 14, 8, .92)); border-color: rgba(243, 215, 147, .45); }
.gd-later .gd-art { filter: brightness(.75) saturate(.7); }
.rt-gift-act { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.rt-gift-act small { flex: 1; min-width: 220px; }
.rt-calm { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 600; }
/* comeback gift */
.rt-back { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 160% at 100% 0%, rgba(255, 179, 90, .2), transparent 55%), linear-gradient(120deg, #120c06, #1f150b 60%, #0f0b08); border-color: rgba(255, 179, 90, .45); }
.rt-back-glow { position: absolute; z-index: -1; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 179, 90, .35), transparent 65%); animation: backglow 6s ease-in-out infinite alternate; will-change: transform, opacity; }
@keyframes backglow { from { transform: scale(.92); opacity: .7; } to { transform: scale(1.08); opacity: 1; } }
.rt-back-txt { flex: 1 1 280px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rt-back-txt h2 { font: 700 24px/1.15 var(--ff-d); color: #fbe6c2; }
.rt-back-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-weight: 600; }
.rt-back-list li { display: inline-flex; align-items: center; gap: 6px; }
.rt-back-list .ic { color: var(--gold2); }
.rt-back-art { width: 72px; height: 72px; border-radius: 10px; flex: none; }
.rt-back-act { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
/* small cards: Thing, book, invites */
.rt-minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rt-mini { position: relative; display: flex; flex-direction: column; gap: 8px; text-decoration: none; overflow: hidden; isolation: isolate; min-width: 0; transition: transform .2s, border-color .2s; }
.rt-mini:hover { transform: translateY(-3px); border-color: var(--line2); }
.rt-mini > b { font: 700 19px/1.2 var(--ff-d); color: #f4e4c4; }
.rt-mini small { color: var(--muted); }
.rt-mini .pill-hot { margin-left: auto; }
.rt-mini .hc-head { width: 100%; }
.rt-mini-bg { position: absolute; inset: 0; z-index: -2; }
.rt-mini-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.rt-thing-mini .hc-shade { z-index: -1; }
.rt-mini-st { margin-top: auto; color: var(--gold2) !important; font-weight: 600; }
/* weekly Thing page */
.th-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.th-hero { position: relative; overflow: hidden; isolation: isolate; min-height: 240px; display: flex; align-items: flex-end; }
.th-bg { position: absolute; inset: 0; z-index: -2; }
.th-bg img { width: 100%; height: 100%; object-fit: cover; }
.th-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 6, 9, .96) 8%, rgba(5, 6, 9, .55) 55%, rgba(5, 6, 9, .25)); }
.th-txt { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.th-txt h2 { font: 900 clamp(24px, 3vw, 34px)/1.1 var(--ff-d); color: #f7ebd0; }
.th-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.th-play { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.th-play small { flex: 1; min-width: 200px; }
.tp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tp-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); min-width: 0; }
.tp-place { flex: none; width: 70px; font: 700 13px/1.1 var(--ff-c); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.tp-art { width: 48px; height: 48px; border-radius: 8px; flex: none; }
.tp-art.titleart b { font-size: 9px; }
.tp-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tp-txt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-txt small { color: var(--muted); }
.tp-win { border-color: rgba(243, 215, 147, .45); background: linear-gradient(90deg, rgba(212, 173, 98, .14), rgba(255, 255, 255, .02)); }
.th-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
.th-cols > div { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.th-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.th-board-head { flex-wrap: wrap; }   /* 20.10.2026: on phones the week and scope switches go below the title instead of past the panel edge */
.ev-art.bannerart { position: relative; }
.ev-art.bannerart .rt-bn-ic { position: absolute; inset: 0; margin: auto; width: 46%; height: 46%; color: rgba(255, 244, 220, .9); stroke-width: 1.6; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .8)); }
.th-prize { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(212, 173, 98, .12); color: var(--gold2); }
.rk-p { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
/* collection book */
.bk-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.bk-top-txt { display: flex; flex-direction: column; gap: 4px; flex: 1 1 200px; }
.bk-top-txt b { font: 700 22px/1.2 var(--ff-d); color: var(--gold2); }
.bm-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; flex: 2 1 420px; }
.bm { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 24px 6px 10px; border-radius: 11px; cursor: pointer; color: inherit; min-width: 0;
  background: linear-gradient(180deg, rgba(30, 24, 16, .85), rgba(12, 12, 14, .9)); border: 1px solid rgba(212, 173, 98, .2); transition: transform .2s, border-color .2s; }
.bm:hover { transform: translateY(-2px); border-color: var(--line2); }
.bm-pct { position: absolute; top: 6px; left: 8px; font: 700 13px/1 var(--ff-c); color: var(--gold); }
.bm-art { width: 100%; max-width: 72px; aspect-ratio: 1; height: auto; border-radius: 9px; }
.bm-name { font: 600 12px/1.15 var(--ff-c); letter-spacing: .04em; text-transform: uppercase; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bm.locked .bm-art { filter: brightness(.5) saturate(.5); }
.bm.claimed { opacity: .6; }
.bm.ready { border-color: var(--ember2); box-shadow: 0 0 0 1px var(--ember2), 0 0 12px rgba(255, 122, 26, .3); }
.bm.ready small { margin-bottom: 14px; }
.bk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.bk { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; min-width: 0;
  background: var(--glass); border: 1px solid rgba(255, 255, 255, .08); }
.bk.bk-on { border-color: rgba(212, 173, 98, .35); }
.bk.bk-off { opacity: .62; }
.bk.bk-off .bk-art { filter: brightness(.35) saturate(0); }
.bk-art { width: 44px; height: 44px; border-radius: 9px; flex: none; }
.bk-boss { color: var(--red); }
.bk-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bk-txt b { font-weight: 700; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; hyphens: auto; }   /* 20.10.2026 i18n: two lines instead of an ellipsis */
.bk-txt small { color: var(--muted); font-size: 12.5px; }
.bk-ok { position: absolute; top: 8px; right: 8px; color: var(--green); }
.bk-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.bk-chips em { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 99px; font: 600 11.5px/1.3 var(--ff-c); font-style: normal; letter-spacing: .05em; text-transform: uppercase; background: rgba(255, 255, 255, .06); color: var(--dim); }
.bk-chips em.on { background: rgba(98, 214, 141, .14); color: var(--green); }
.bk-chips .ic { width: 11px; height: 11px; }
.bk-grid-maps { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.bk-map-img { width: 72px; height: 48px; border-radius: 8px; overflow: hidden; flex: none; }
.bk-map-img img { width: 100%; height: 100%; object-fit: cover; }
.bk-map.bk-off .bk-map-img img { filter: grayscale(1) brightness(.6); }
/* invites */
.oa-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; align-items: start; }
.oa-grid > div { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.oa-code .code-big { display: block; margin: 4px 0 10px; }
.oa-link { width: 100%; height: 38px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: var(--ink); font: 500 13px/1 var(--ff-b); }
.oa-code .share-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.oa-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.oa-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border-radius: 10px; text-align: center; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); min-width: 0; }
.oa-item.own { border-color: rgba(98, 214, 141, .45); }
.oa-item small { color: var(--muted); }
.oa-art { width: 76px; height: 56px; border-radius: 9px; }
.oa-ok { position: absolute; top: 8px; right: 8px; color: var(--green); }
.oa-items + .bar { margin-bottom: 14px; }
.oa-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.oa-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, .03); }
.oa-n { display: flex; flex-direction: column; min-width: 0; }
.oa-n b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oa-n small { color: var(--muted); }
.oa-list .pill { margin-left: 0; flex: none; }
/* reminders (profile) */
.rm { margin-top: 16px; }
.rm p { margin-bottom: 10px; }
.rm-consent { font-size: 14px; line-height: 1.5; color: #d9d0bf; padding: 10px 12px; border-radius: 9px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .07); }
.rm-check { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 12px; cursor: pointer; font-weight: 600; }
.rm-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--gold); }
@media (max-width: 1060px) {
  .th-top, .th-cols, .oa-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .rt-minis { grid-template-columns: minmax(0, 1fr); }
  .bm-row { grid-template-columns: repeat(2, minmax(0, 1fr)); flex-basis: 100%; }
}
@media (max-width: 600px) {
  .gd-row { gap: 4px; }
  .gd { padding: 8px 2px 7px; gap: 4px; }
  .gd-n { font-size: 10.5px; letter-spacing: .04em; }
  .gd-art { width: 34px; height: 34px; }
  .gd-what { display: none; }
  .gd-ok { top: auto; bottom: 3px; right: 3px; width: 15px; height: 15px; }
  .rt-gift-act .btn { width: 100%; }
  .tp-place { width: 56px; }
  .tp-txt b { white-space: normal; overflow-wrap: anywhere; line-height: 1.2; }   /* the week (KW43/2026) must stay readable on phones */
  .bk-grid, .bk-grid-maps { grid-template-columns: minmax(0, 1fr); }
  .oa-items { grid-template-columns: minmax(0, 1fr); }
  .th-hero { min-height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .gd-today::after, .rt-back-glow { animation: none; }
  .rt-mini, .bm { transition: none; }
}

/* ================= 20.10.2026 menu polish: one spacing and motion scale, the living hero stage, the "today" row,
   skeletons instead of empty boxes, reward moments, press states, phone layout. Only transform and opacity animate.
   This block comes last on purpose: it sets the final look of the start page and the shared states. ================= */
:root {
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s7: 32px; --s8: 48px;
  --r-sm: 8px; --r-lg: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1); --ease-pop: cubic-bezier(.2, 1.35, .35, 1);
  --d1: .14s; --d2: .24s; --d3: .45s;
  --fs-xs: 12px; --fs-s: 13.5px; --fs-m: 15px; --fs-l: 18px; --fs-xl: 24px;
}
.wcur b, .q-num, .f-lvl, .lvl-badge b, .ring b, .dc-fr b, .clanc-num b, .stage-meta, .tbl td { font-variant-numeric: tabular-nums; }

/* ---------- page enter, press states, focus ---------- */
.view.enter { animation: viewin var(--d2) var(--ease) both; }
@keyframes viewin { from { opacity: 0; } to { opacity: 1; } }
.btn { transition: transform var(--d1) var(--ease), box-shadow var(--d2), background var(--d2), filter var(--d2), border-color var(--d2); }
.btn:active:not([disabled]) { transform: translateY(1px) scale(.97); transition-duration: .06s; }
.hc:active, .ccard:active, .scard:active, .rt-mini:active, .tcard:active, .ev-card:active, .hl:active, .bundle:active, .map-card:active, .ed-card:active, .hero-pick:active { transform: scale(.985); transition-duration: .06s; }
@media (hover: none) {
  .btn:hover, .hc:hover, .ccard:hover, .scard:hover, .rt-mini:hover, .hl:hover, .bundle:hover, .tcard:hover { transform: none; }
}
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; }
.btn:focus-visible, .st-pick:focus-visible { outline-offset: 3px; box-shadow: 0 0 0 6px rgba(243, 215, 147, .16); }
/* controller focus: a clear golden ring with a soft halo (static, no repaint loop) */
.pad-mode .pad-focus { outline: 3px solid var(--gold2); outline-offset: 4px; box-shadow: 0 0 0 8px rgba(243, 215, 147, .14), 0 0 28px rgba(243, 215, 147, .38); }
.pad-mode .pad-focus.btn-play { outline-color: #ffe0b0; }

/* ---------- skeletons (loading states keep their place, no jumping) ---------- */
.skel { position: relative; display: block; overflow: hidden; border-radius: 6px; background: rgba(255, 255, 255, .07); }
.skel::after, p.loading::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .09), transparent); animation: skel 1.5s ease-in-out infinite; will-change: transform; }
@keyframes skel { to { transform: translateX(100%); } }
.skel-line { height: 12px; margin: 4px 0; }
.skel-bar { height: 14px; margin: 10px 0; border-radius: 7px; }
.skel.w60 { width: 60%; } .skel.w80 { width: 80%; }
p.loading { position: relative; overflow: hidden; min-height: 76px; color: transparent !important; user-select: none; border-radius: 6px;
  background: linear-gradient(rgba(255, 255, 255, .07), rgba(255, 255, 255, .07)) 0 4px / 62% 12px no-repeat,
              linear-gradient(rgba(255, 255, 255, .07), rgba(255, 255, 255, .07)) 0 30px / 94% 12px no-repeat,
              linear-gradient(rgba(255, 255, 255, .07), rgba(255, 255, 255, .07)) 0 56px / 48% 12px no-repeat; }

/* ---------- reward moment ---------- */
.burst-cv { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 90; pointer-events: none; }
.claim-pop { animation: claimpop .8s var(--ease-pop); }
@keyframes claimpop { 0% { transform: scale(1); } 30% { transform: scale(1.12); } 100% { transform: scale(1); } }
.cur-gold { transition: border-color var(--d3), background var(--d3); }
.cur-gold.claim-pop { border-color: var(--gold2); background: rgba(243, 215, 147, .14); }
.done-burst::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 140, .45), transparent 65%); animation: donepulse 1.2s var(--ease) both; pointer-events: none; }
@keyframes donepulse { from { transform: scale(.4); opacity: 0; } 40% { opacity: 1; } to { transform: scale(1.25); opacity: 0; } }

/* ---------- start page ---------- */
.home { display: flex; flex-direction: column; align-items: stretch; gap: var(--s5); }
.home-label { display: flex; align-items: center; gap: var(--s3); margin: var(--s2) 0 calc(-1 * var(--s1)); font: 700 13px/1 var(--ff-c); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.home-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line2), transparent); }
.home-col > .home-label { margin: 0; }

/* the hero stage */
.stage { position: relative; display: grid; grid-template-columns: minmax(320px, 44%) minmax(0, 1fr); min-height: clamp(420px, 56vh, 560px); border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  border: 1px solid var(--line2); background: #0a0806; box-shadow: 0 30px 70px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06); }
.stage::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(243, 215, 147, .12), inset 0 -80px 90px -60px rgba(0, 0, 0, .7); }
.stage-vis { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.stage-bg { position: absolute; inset: -4%; transform: scale(1.07); will-change: transform; }
.stage-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; filter: blur(1.5px) saturate(1.08) brightness(.6); }
.stage-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(34% 52% at 66% 74%, rgba(255, 150, 60, .26), transparent 70%),
              linear-gradient(90deg, rgba(7, 6, 5, .94) 0%, rgba(7, 6, 5, .74) 30%, rgba(7, 6, 5, .1) 58%, rgba(7, 6, 5, .3) 100%),
              linear-gradient(0deg, rgba(7, 6, 5, .85), transparent 30%); }
.stage-cv { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; opacity: 0; transition: opacity .6s var(--ease); -webkit-tap-highlight-color: transparent; }
.stage-vis.ready .stage-cv { opacity: 1; }
.stage-vis.loading::before { content: ""; position: absolute; left: 56%; width: 20%; bottom: 6%; height: 76%; border-radius: 40% 40% 12% 12%; background: rgba(255, 255, 255, .05); }
.stage-fallback { position: absolute; right: 10%; bottom: 0; height: 88%; width: auto; aspect-ratio: 1; object-fit: cover; -webkit-mask: radial-gradient(closest-side, #000 62%, transparent); mask: radial-gradient(closest-side, #000 62%, transparent); }
.stage-fog { position: absolute; left: -20%; right: -20%; bottom: -12%; height: 42%; pointer-events: none; background: radial-gradient(50% 60% at 35% 80%, rgba(255, 210, 160, .1), transparent 70%), radial-gradient(40% 50% at 75% 90%, rgba(255, 190, 130, .08), transparent 70%); animation: stagefog 22s ease-in-out infinite alternate; will-change: transform; }
@keyframes stagefog { from { transform: translate3d(-3%, 0, 0); } to { transform: translate3d(3%, -2%, 0); } }
.stage-info { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--s3); padding: var(--s7) var(--s7) var(--s7) 40px; min-width: 0; }
.stage-name { font: 900 clamp(44px, 5.4vw, 76px)/.95 var(--ff-d); letter-spacing: .03em; color: #fff3da; text-shadow: 0 4px 30px rgba(0, 0, 0, .8); margin-top: -2px; }
.stage-skin { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s3); }
.stage-skin > b { font: 700 21px/1.1 var(--ff-c); letter-spacing: .06em; text-transform: uppercase; color: var(--gold2); }
.stage-role { color: #cfc4b1; font-size: var(--fs-s); max-width: 420px; }
.st-picks { display: flex; gap: var(--s2); margin-top: var(--s1); }
.st-pick { position: relative; width: 50px; height: 50px; padding: 0; border-radius: 50%; overflow: hidden; cursor: pointer; background: #111; border: 2px solid rgba(255, 255, 255, .2); transition: transform var(--d2) var(--ease), border-color var(--d2), box-shadow var(--d2), opacity var(--d2); opacity: .72; }
.st-pick img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.st-pick:hover { transform: translateY(-2px); opacity: 1; border-color: var(--line2); }
.st-pick.on { opacity: 1; border-color: var(--gold2); box-shadow: 0 0 0 3px rgba(243, 215, 147, .2), 0 0 20px rgba(243, 215, 147, .4); }
.stage-meta { display: flex; flex-wrap: wrap; gap: var(--s2); }
.stage-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: rgba(0, 0, 0, .42); border: 1px solid rgba(255, 255, 255, .12); font: 600 14px/1 var(--ff-c); letter-spacing: .05em; color: #e9dfcd; }
.stage-meta .ic { color: var(--gold); width: 15px; height: 15px; }
.stage-act { display: flex; align-items: stretch; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s2); }
.stage-play { min-width: 270px; height: 64px; font-size: 27px; letter-spacing: .2em; border-radius: 8px; }
.stage-play .ic { width: 27px; height: 27px; }
.stage-play::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 34px rgba(255, 140, 50, .75); opacity: 0; animation: playglow 2.8s ease-in-out infinite; pointer-events: none; will-change: opacity; }
@keyframes playglow { 50% { opacity: 1; } }
.stage-act .btn-ghost { height: 64px; background: rgba(0, 0, 0, .45); }
.stage-hint { color: var(--dim); font-size: var(--fs-xs); }

/* "today" row: daily gift, daily challenge, clan boss */
.home-today { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); align-items: stretch; }
.home-today > .rt-gift { grid-column: span 2; }
.home-today.nogift { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tcard { display: flex; flex-direction: column; gap: var(--s3); min-height: 230px; text-decoration: none; transition: transform var(--d2) var(--ease), border-color var(--d2), box-shadow var(--d2); }
a.tcard:hover { transform: translateY(-3px); border-color: var(--line2); }
.tcard.daily { padding: 0; overflow: hidden; gap: 0; }
.dc-art { position: relative; aspect-ratio: 16 / 7; overflow: hidden; flex: none; border-radius: var(--r) var(--r) 0 0; }
.dc-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tcard.daily:hover .dc-art > img { transform: scale(1.05); }
.dc-art .daily-txt b { font-size: 20px; }
.tcard-body { flex: 1; display: flex; flex-direction: column; gap: var(--s2); padding: var(--s3) var(--s4) var(--s4); }
.dc-me { display: flex; align-items: center; gap: var(--s2); font-weight: 600; font-size: var(--fs-s); color: var(--muted); }
.dc-me.has { color: var(--gold2); }
.dc-fr { list-style: none; counter-reset: dcf; margin: 0; padding: 0; display: grid; gap: 3px; font-size: var(--fs-s); }
.dc-fr li { counter-increment: dcf; display: flex; justify-content: space-between; gap: var(--s2); }
.dc-fr li span::before { content: counter(dcf) ". "; color: var(--dim); }
.dc-empty { font-size: var(--fs-s); line-height: 1.35; }
.tcard-act { margin-top: auto; display: flex; gap: var(--s2); }
.tcard-act .btn-ember { flex: 1; }
.btn-icon { width: 40px; padding: 0; flex: none; }
.clanc { position: relative; overflow: hidden; isolation: isolate; }
.clanc::after { content: ""; position: absolute; z-index: -1; right: -40px; top: -50px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 40, .2), transparent 65%); pointer-events: none; }
.clanc-top { display: flex; flex-direction: column; gap: 2px; }
.clanc-top b { font: 700 19px/1.15 var(--ff-d); color: #f4e4c4; }
.clanc-top small { color: var(--muted); font-size: var(--fs-s); }
.clanc-bar { position: relative; height: 12px; margin: var(--s2) 0 var(--s1); border-radius: 6px; background: rgba(255, 255, 255, .08); }
.clanc-fill { position: absolute; inset: 0; border-radius: inherit; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #7d1c0a, #e0581a 60%, var(--ember2)); box-shadow: 0 0 14px rgba(255, 122, 26, .45); animation: fillin 1s var(--ease) both; }
@keyframes fillin { from { transform: scaleX(0); } }
.view.soft .clanc-fill { animation: none; }
.cbm { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; border-radius: 1px; background: rgba(255, 255, 255, .3); }
.cbm.done { background: var(--gold2); box-shadow: 0 0 8px var(--gold2); }
.clanc-num { display: flex; flex-direction: column; gap: 4px; }
.clanc-num b { font: 700 30px/1 var(--ff-c); color: #fff; }
.clanc-num .muted { font-size: var(--fs-s); line-height: 1.3; }
.clanc.none { align-items: flex-start; }
.clanc.none > b { font: 700 19px/1.15 var(--ff-d); color: #f4e4c4; }
.clanc.none > small { color: var(--muted); font-size: var(--fs-s); line-height: 1.4; }
.clanc.none .btn { margin-top: auto; }
.clanc-ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(212, 173, 98, .1); border: 1px solid var(--line); color: var(--gold2); }
.tcard-go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--gold2); font: 700 14px/1 var(--ff-c); letter-spacing: .14em; text-transform: uppercase; }
.home-today .rt-gift { display: flex; flex-direction: column; }
.home-today .rt-gift .gd-row { flex: 1; align-items: center; }
.home-today .rt-gift .rt-gift-act { margin-top: auto; padding-top: var(--s3); }
.home > .ev-card { margin: 0; }

/* progress, news, quests, friends */
.home .home-main { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s5); align-items: start; }
.home-col { display: flex; flex-direction: column; gap: var(--s4); min-width: 0; }
.home .home-side { display: flex; flex-direction: column; gap: var(--s4); }
.home .home-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin: 0; }
.home .home-cards .hc:last-child { grid-column: auto; }
.home .hero { aspect-ratio: 16 / 6.4; border-radius: var(--r-lg); }
.home .slide-body { left: 28px; bottom: 54px; max-width: 480px; }
.home .slide-title { font-size: clamp(24px, 2.4vw, 36px); }
.home .slide-body p { font-size: 15px; }
.home .rt-minis { gap: var(--s4); }

/* ---------- shop: one calm line of promises instead of a block ---------- */
.shop .screen-head .chips { margin-top: var(--s3); gap: 6px; }
.shop .chip { padding: 4px 10px; font-size: 12.5px; background: rgba(10, 12, 16, .5); }

/* sub tabs that scroll sideways on phones fade out at the edge, so the next tab is visibly there */
@media (max-width: 900px) {
  .subtabs { -webkit-mask: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 36px), transparent); padding-right: 28px; }
}

/* ---------- bottom navigation (phones) ---------- */
@media (max-width: 900px) {
  .bottomnav { background: linear-gradient(180deg, rgba(14, 15, 20, .9), rgba(8, 9, 12, .98)); box-shadow: 0 -12px 30px rgba(0, 0, 0, .5); }
  .bottomnav a { transition: color var(--d2); -webkit-tap-highlight-color: transparent; }
  .bottomnav a .ic { transition: transform var(--d2) var(--ease); }
  .bottomnav a:active .ic { transform: scale(.88); }
  .bottomnav a.on:not(.bn-play)::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 2px; border-radius: 0 0 2px 2px; background: var(--gold2); box-shadow: 0 0 10px rgba(243, 215, 147, .8); }
  .bottomnav a.on:not(.bn-play) .ic { transform: translateY(-1px); }
  .bottomnav .bn-play .ic { transition: transform var(--d2) var(--ease-pop); }
  .bottomnav .bn-play:active .ic { transform: scale(.92); }
}

/* ---------- responsive start page ---------- */
@media (max-width: 1280px) {
  .home-today { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .home-main { grid-template-columns: minmax(0, 1fr) 340px; }
  .home .home-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .home-cards .hc:last-child { grid-column: span 2; }
}
@media (max-width: 1060px) {
  .stage { grid-template-columns: minmax(300px, 52%) minmax(0, 1fr); }
  .home .home-main { grid-template-columns: minmax(0, 1fr); }
  .home .home-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .home .home-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home .home-cards .hc:last-child { grid-column: auto; }
}
@media (max-width: 900px) {
  .home { gap: var(--s4); }
  .stage { display: flex; flex-direction: column; min-height: 0; }
  .stage-vis { position: relative; inset: auto; height: clamp(250px, 40vh, 340px); flex: none; }
  .stage-glow { background: radial-gradient(46% 50% at 50% 78%, rgba(255, 150, 60, .26), transparent 70%), linear-gradient(0deg, rgba(10, 8, 6, 1) 0%, rgba(10, 8, 6, .2) 40%, rgba(10, 8, 6, .25) 100%); }
  .stage-vis.loading::before { left: 38%; width: 24%; }
  .stage-info { position: static; margin-top: -64px; padding: 0 var(--s4) var(--s4); gap: var(--s2); }
  .stage-info > * { position: relative; z-index: 2; }
  .stage-name { font-size: 40px; }
  .stage-skin > b { font-size: 18px; }
  .stage-role { display: none; }
  .stage-info > .st-picks { position: absolute; z-index: 3; top: var(--s3); right: var(--s3); flex-direction: column; margin: 0; }
  .st-pick { width: 44px; height: 44px; }
  .stage-act { width: 100%; flex-wrap: nowrap; }
  .stage-play { flex: 1; min-width: 0; height: 58px; font-size: 24px; }
  .stage-act .btn-ghost { height: 58px; width: 58px; padding: 0; flex: none; }
  .stage-act .btn-ghost span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .stage-hint { display: none; }
  .home-today, .home-today.nogift { grid-template-columns: minmax(0, 1fr); }
  .home-today > .rt-gift { grid-column: auto; }
  .tcard { min-height: 0; }
  .home .home-main { display: flex; flex-direction: column; align-items: stretch; gap: var(--s4); }
  .home .home-col, .home .home-side { display: contents; }
  .home .home-side .quests { order: 1; }
  .home .hl-prog { order: 2; }
  .home .home-cards { order: 3; grid-template-columns: minmax(0, 1fr); }
  .home .home-cards .hc:last-child { grid-column: auto; }
  .home .rt-minis { order: 4; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--s3); margin: 0 -14px; padding: 2px 14px 8px; scrollbar-width: none; }
  .home .rt-minis::-webkit-scrollbar { display: none; }
  .home .rt-minis .rt-mini { flex: 0 0 80%; scroll-snap-align: start; }
  .home .rt-minis .rt-mini:only-child { flex-basis: 100%; }
  .home .home-side .friends { order: 5; }
  .home .hl-news { order: 6; }
  .home #hero { order: 7; aspect-ratio: 4 / 4.2; }
  .home .slide-body { left: 16px; right: 16px; bottom: 54px; }
  .shop .screen-head > div:first-child { flex: 1 1 100%; min-width: 0; }
  /* panel heads with a switch (clan board: this week / last week) wrap instead of pushing the page wider */
  .p-head { flex-wrap: wrap; }
  .p-head .seg { max-width: 100%; }
  .shop .screen-head .chips { flex-wrap: nowrap; overflow-x: auto; margin: var(--s3) -14px 0; padding: 0 14px 4px; scrollbar-width: none; }
  .shop .screen-head .chips::-webkit-scrollbar { display: none; }
  .shop .chip { flex: none; }
  .shop .wallet-big { display: none; }
}
@media (max-width: 420px) {
  .stage-name { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .view.enter, .stage-fog, .stage-play::before, .clanc-fill, .claim-pop, .skel::after, p.loading::after, .done-burst::after { animation: none; }
  .stage-cv, .st-pick, .tcard, .dc-art > img { transition: none; }
}
body.lowfx .stage-fog, body.lowfx .stage-play::before { animation: none; }
body.lowfx .stage-bg img { filter: brightness(.6); }
/* 20.10.2026 all languages: the language list in the settings (20 languages, each in its own name) */
.langgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; padding: 4px 0 2px; }
.langgrid button { min-height: 40px; padding: 8px 12px; border-radius: var(--r-sm, 8px); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); font: 600 15px/1.15 var(--ff-b); text-align: left; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.langgrid button:hover { color: var(--ink); }
.langgrid button.on { background: linear-gradient(180deg, #f5daa0, #c8984c); border-color: #c8984c; color: #1b1206; }
.pad-mode .langgrid button.pad-focus { outline: 3px solid #e8b04a; outline-offset: 2px; }
@media (max-width: 560px) { .langgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 22.10.2026 season leaderboards: switch "this season / Vorsaison" with a calm note, all-time best under the season best */
.rk-season { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: -6px 0 14px; }
.rk-season .seg { max-width: 100%; }
.rk-season .seg button { white-space: normal; line-height: 1.15; }
.rk-season .note { display: flex; align-items: flex-start; gap: 6px; flex: 1 1 280px; min-width: 0; margin: 0; }
.rk-season .note svg { flex: none; margin-top: 2px; }
.best-all { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- 22.10.2026 edition pages: released editions on the play page (trial map, locked maps, calm full edition
   line with "Merken"), hero forms in the collection. No buy button, no countdown. ---------- */
.modes.modes2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.maps.maps-ed { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.map-card.locked { border-style: dashed; border-color: rgba(255, 122, 26, .4); }
.map-card.locked img { filter: saturate(.45) brightness(.55); }
.map-card.locked:hover { transform: none; }
.map-card.locked:hover img { transform: none; }
.map-trial { position: absolute; z-index: 1; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 99px; background: rgba(98, 214, 141, .92); color: #06180d; font: 700 11px/1 var(--ff-c); letter-spacing: .08em; text-transform: uppercase; }
.map-trial .ic { width: 11px; height: 11px; }
.map-lock { position: absolute; z-index: 1; top: 8px; right: 8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(6, 7, 10, .8); border: 1px solid rgba(255, 122, 26, .5); color: var(--ember2); }
.map-lock .ic { width: 14px; height: 14px; }
.map-info small .ic { width: 11px; height: 11px; vertical-align: -1px; margin-right: 3px; }
.ed-buy { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.ed-buy.hl { border-color: rgba(255, 122, 26, .6); background: rgba(255, 122, 26, .07); }
.ed-buy-ic { flex: none; width: 20px; height: 20px; color: var(--ember2); }
.ed-buy-txt { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ed-buy-txt b { color: #fff3da; font-size: 14.5px; }
.ed-buy-txt .ed-lockmsg { color: var(--ember2); font-size: 13px; }
.ed-buy-txt small { color: var(--muted); font-size: 12.5px; }
.ed-paysoon { display: flex; align-items: flex-start; gap: 6px; margin: 4px 0 0; color: #d8cebd; font-size: 13px; line-height: 1.4; }
.ed-paysoon .ic { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--rune); }
.note.ed-own { display: flex; align-items: center; gap: 6px; color: var(--green); font-size: 13px; }
.note.ed-trialnote, .note.ed-form-note { display: flex; align-items: flex-start; gap: 6px; color: #d8cebd; font-size: 13px; }
.note.ed-own .ic, .note.ed-trialnote .ic, .note.ed-form-note .ic { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--green); }
.ed-card.ed-live img { filter: saturate(.85) brightness(.85); }
.ed-card.ed-live .ed-tag { background: rgba(8, 24, 14, .82); color: var(--green); border: 1px solid rgba(98, 214, 141, .6); }
.hp-art.is-form .hp-img img { object-position: 50% 30%; }
.form-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 18px; }
.form-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: rgba(10, 12, 16, .72); }
.form-card.own { border-color: rgba(98, 214, 141, .5); }
.fc-art { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 3 / 4; background: #000; }
.fc-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
.fc-body { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; min-width: 0; }
.fc-body b { font: 900 20px/1.1 var(--ff-d); color: #fff3da; overflow-wrap: anywhere; }
.fc-body small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.fc-body small .ic { width: 11px; height: 11px; vertical-align: -1px; margin-right: 3px; }
.fc-state { display: inline-flex; align-items: center; gap: 5px; font: 700 12px/1.2 var(--ff-c); letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.fc-state .ic { width: 12px; height: 12px; }
.fc-head { display: flex; gap: 6px; align-items: center; margin: 12px 0 8px; }
.fc-head .ic { flex: none; width: 14px; height: 14px; }
@media (max-width: 420px) { .form-card { grid-template-columns: 92px minmax(0, 1fr); } .modes.modes2 { grid-template-columns: minmax(0, 1fr); } .maps.maps-ed { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
