/* GAME-GOLD — generated from wb-shop shop.css by tools/build_theme.py */
:root {
  --bg: #091528;
  --bg-2: #0f1f3a;
  --surface: rgba(25, 45, 79, 0.72);
  --surface-solid: #152848;
  --surface-hi: #1d3866;
  --stroke: rgba(148, 178, 230, 0.12);
  --stroke-hi: rgba(53, 155, 228, 0.55);
  --text: #eef3fb;
  --muted: #8ea3c2;
  --orange: #359be4;
  --orange-2: #58ade9;
  --orange-3: #1e90e1;
  --blue: #2f6bff;
  --green: #2fd17c;
  --red: #ff4d5e;
  --grad: linear-gradient(135deg, #58ade9 0%, #359be4 45%, #1e90e1 100%);
  --grad-navy: linear-gradient(160deg, #1a3666 0%, #102345 60%, #0c1b35 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --glow: 0 10px 30px -8px rgba(53, 155, 228, 0.55);
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Unbounded", "Manrope", "Segoe UI", sans-serif;
  --wrap: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h, 148px) - 14px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font: 500 15px/1.55 var(--font);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 600px at 85% -10%, rgba(47, 107, 255, 0.22), transparent 60%),
    radial-gradient(900px 520px at -10% 10%, rgba(53, 155, 228, 0.16), transparent 60%),
    radial-gradient(800px 600px at 50% 120%, rgba(30, 144, 225, 0.10), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(148, 178, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 178, 230, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000000 30%, transparent 75%);
}
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: var(--orange-2); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); color: #ffffff; letter-spacing: -0.01em; line-height: 1.15; margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }
::selection { background: var(--orange); color: #111111; }
.x-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.x-main { min-height: 50vh; padding-bottom: 40px; }
.x-muted { color: var(--muted); }
.x-small { font-size: 12px; }

/* buttons */
.x-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.x-btn:active { transform: translateY(1px) scale(.99); }
.x-btn-lg { height: 54px; padding: 0 28px; font-size: 15px; border-radius: 16px; }
.x-btn-block { width: 100%; }
.x-btn-primary { background: var(--grad); color: #041019; box-shadow: var(--glow); }
.x-btn-primary:hover, .x-btn-primary:focus { color: #041019; box-shadow: 0 14px 40px -6px rgba(53, 155, 228, 0.75); transform: translateY(-1px); }
.x-btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--stroke); color: #ffffff; }
.x-btn-ghost:hover, .x-btn-ghost:focus { border-color: var(--stroke-hi); color: #ffffff; background: rgba(53, 155, 228, 0.08); }
.x-icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  transition: border-color .2s, color .2s;
}
.x-icon-btn:hover { border-color: var(--stroke-hi); color: var(--orange-2); }
.x-messengers { display: flex; gap: 8px; }
.x-messengers .x-icon-btn { font-size: 20px; }
.x-wa { color: #25d366; }
.x-tg { color: #29a9eb; }
.x-wa:hover, .x-wa:focus { color: #ffffff; background: #25d366; border-color: #25d366; box-shadow: 0 8px 22px -8px rgba(37, 211, 102, 0.8); }
.x-tg:hover, .x-tg:focus { color: #ffffff; background: #29a9eb; border-color: #29a9eb; box-shadow: 0 8px 22px -8px rgba(41, 169, 235, 0.8); }
.x-wa-btn i { color: #25d366; }
.x-tg-btn i { color: #29a9eb; }
.x-link { background: none; border: 0; color: var(--orange-2); font-weight: 700; padding: 0; }
.x-link:hover { color: #ffffff; }
.x-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-2);
}

/* inputs */
.x-input, .x-select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(9, 21, 40, 0.6);
  color: #ffffff;
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
textarea.x-input { height: auto; padding: 12px 16px; resize: vertical; }
.x-input:focus, .x-select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(53, 155, 228, 0.15); }
.x-input::placeholder { color: #5d7193; }
.x-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--orange) 50%), linear-gradient(135deg, var(--orange) 50%, transparent 50%); background-position: calc(100% - 22px) 21px, calc(100% - 16px) 21px; background-size: 6px 6px; background-repeat: no-repeat; }

/* strip + header */
.x-strip { background: #050e1e; border-bottom: 1px solid var(--stroke); font-size: 12px; color: var(--muted); }
.x-strip .x-wrap { display: flex; justify-content: center; gap: 36px; min-height: 34px; align-items: center; }
.x-strip i { color: var(--orange); margin-right: 6px; }
.x-strip .x-wrap { position: relative; }
.x-strip-tools { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); display: inline-flex; gap: 6px; }
.x-strip-admin { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(53, 155, 228, .45); background: rgba(53, 155, 228, .12); color: #b7dbf5; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.x-strip-admin:hover, .x-strip-admin:focus-visible { background: var(--orange); color: #041019; text-decoration: none; }
.x-strip-admin:hover i { color: #041019; }
.x-strip-admin i { margin: 0; }
@media (max-width: 1320px) { .x-strip-admin.is-edit { width: 24px; padding: 0; justify-content: center; } .x-strip-admin.is-edit b { display: none; } }
@media (max-width: 767px) { .x-strip-tools { left: 14px; } .x-strip-admin { width: 24px; padding: 0; justify-content: center; } .x-strip-admin b { display: none; } }
.x-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 21, 40, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--stroke);
  transition: box-shadow .2s, background .2s;
}
.x-header.scrolled { background: rgba(9, 21, 40, 0.9); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.8); }
.x-header-row { display: flex; align-items: center; gap: 14px; min-height: 76px; }
.x-logo img { height: 56px; width: auto; filter: drop-shadow(0 4px 14px rgba(53, 155, 228, 0.35)); transition: filter .25s, transform .25s; }
.x-logo:hover img { filter: drop-shadow(0 4px 20px rgba(53, 155, 228, 0.6)); transform: scale(1.02); }
.x-burger { display: none; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--stroke); background: transparent; padding: 12px; flex-direction: column; justify-content: space-between; }
.x-burger span { display: block; height: 2px; border-radius: 2px; background: #ffffff; }
.x-catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 0;
  background: var(--grad);
  color: #041019;
  font-weight: 800;
  box-shadow: var(--glow);
}
.x-catalog-btn.active { background: #ffffff; }
.x-search {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  max-width: 640px;
}
.x-search > i { position: absolute; left: 16px; color: var(--muted); pointer-events: none; }
.x-search input {
  width: 100%;
  height: 46px;
  padding: 0 46px 0 44px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font: inherit;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.x-search input:focus { outline: none; border-color: var(--orange); background: rgba(9, 21, 40, 0.9); box-shadow: 0 0 0 4px rgba(53, 155, 228, 0.15); }
.x-search input::placeholder { color: #6e82a3; }
.x-search kbd {
  position: absolute;
  right: 12px;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font: 700 12px var(--font);
  box-shadow: none;
}
.x-cart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 16px 0 8px;
  margin-left: auto;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
}
.x-cart:hover { border-color: var(--stroke-hi); color: #ffffff; }
.x-cart-ico { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(53, 155, 228, 0.14); color: var(--orange-2); }
.x-cart-ico b, .x-tabbar b {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--grad);
  color: #041019;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}
.x-nav { border-top: 1px solid var(--stroke); }
.x-nav .x-wrap { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); gap: 10px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.x-nav .x-wrap::-webkit-scrollbar { display: none; }
.x-nav-game {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 12px 0 7px;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid rgba(148, 178, 230, 0.14);
  background: #0f1e37;
  color: #ffffff;
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
}
.x-nav-bg { position: absolute; inset: 0; z-index: -1; }
.x-nav-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: .7; transform: scale(1.02); transition: transform .6s ease, opacity .3s; }
.x-nav-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 20, 37, .92) 0%, rgba(9, 20, 37, .62) 50%, rgba(9, 20, 37, .12) 100%); }
.x-nav-icon { flex: none; width: 36px; height: 36px; border-radius: 11px; object-fit: cover; background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 6px 14px rgba(0, 0, 0, .45); }
.x-nav-text { display: grid; gap: 2px; min-width: 0; flex: 1; }
.x-nav-text b { font: 700 13px/1.15 var(--display); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.x-nav-text small { color: #9fb0cc; font-size: 11px; font-weight: 700; }
.x-nav-go { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: #cdd8ea; font-size: 15px; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s, background .25s, color .25s; }
.x-nav-game:hover { transform: translateY(-2px); border-color: rgba(53, 155, 228, .55); box-shadow: 0 10px 26px rgba(0, 0, 0, .45), 0 0 0 1px rgba(53, 155, 228, .2), 0 0 22px rgba(53, 155, 228, .18); }
.x-nav-game:hover .x-nav-bg img { transform: scale(1.1); opacity: .8; }
.x-nav-game:hover .x-nav-go, .x-nav-game.is-active .x-nav-go { opacity: 1; transform: none; }
.x-nav-game:hover .x-nav-go { background: var(--grad); color: #041019; }
.x-nav-game.is-active { border-color: rgba(53, 155, 228, .7); box-shadow: inset 0 0 0 1px rgba(53, 155, 228, .25), 0 0 24px rgba(53, 155, 228, .2); }
.x-nav-game.is-active .x-nav-bg img { opacity: .85; }
.x-nav-game.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); box-shadow: 0 0 12px rgba(53, 155, 228, .8); }
.x-nav-game:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.x-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #101f3a, #0c1930);
  border-bottom: 1px solid transparent;
  transition: max-height .35s ease, border-color .35s;
}
.x-mega.open { max-height: 80vh; overflow-y: auto; border-bottom-color: var(--stroke-hi); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9); }
.x-mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 20px; padding-top: 24px; padding-bottom: 28px; }
.x-mega-col { padding: 10px; border-radius: 16px; transition: background .2s; }
.x-mega-col:hover { background: rgba(255, 255, 255, 0.03); }
.x-mega-head { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-bottom: 6px; color: #ffffff; }
.x-mega-head img { width: 36px; height: 36px; border-radius: 12px; object-fit: cover; }
.x-mega-dot { width: 36px; height: 36px; border-radius: 12px; background: var(--grad); }
.x-mega-link { display: block; padding: 4px 0 4px 46px; font-size: 13px; color: var(--muted); }
.x-mega-link:hover { color: var(--orange-2); }
.x-mega-more { color: var(--orange-2); font-weight: 700; }

/* drawer + tabbar */
.x-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  width: min(360px, 88vw);
  background: var(--bg-2);
  border-right: 1px solid var(--stroke);
  transform: translateX(-100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
}
.drawer-open .x-drawer { transform: none; }
.x-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, 0.55); opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer-open .x-backdrop { opacity: 1; pointer-events: auto; }
.drawer-open { overflow: hidden; }
.x-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--stroke); }
.x-drawer-head img { height: 36px; width: auto; }
.x-drawer-head button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--stroke); background: transparent; color: #ffffff; }
.x-drawer-body { overflow-y: auto; padding: 10px 12px 100px; }
.x-drawer details { border-bottom: 1px solid var(--stroke); }
.x-drawer summary { display: flex; align-items: center; gap: 10px; padding: 12px 6px; list-style: none; font-weight: 800; }
.x-drawer summary::-webkit-details-marker { display: none; }
.x-drawer summary img { width: 30px; height: 30px; border-radius: 10px; object-fit: cover; }
.x-drawer summary i { margin-left: auto; color: var(--muted); transition: transform .2s; }
.x-drawer details[open] summary i { transform: rotate(180deg); }
.x-drawer details > a { display: block; padding: 7px 6px 7px 46px; color: var(--muted); font-size: 14px; }
.x-drawer-pages { display: grid; gap: 4px; padding: 16px 6px; }
.x-drawer-pages a { color: var(--muted); font-size: 14px; }
.x-tabbar { display: none; }

/* sections */
.x-section { padding: 36px 0; }
.x-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.x-section-head h2 { font-size: clamp(22px, 2.6vw, 32px); margin-top: 6px; }
.x-scroll-ctrl { display: flex; gap: 8px; }
.x-scroll-ctrl button { width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--stroke); background: rgba(255, 255, 255, 0.04); color: #ffffff; font-size: 20px; }
.x-scroll-ctrl button:hover { border-color: var(--stroke-hi); color: var(--orange-2); }
.x-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.x-reveal.in { opacity: 1; transform: none; }

/* hero */
.x-hero { padding: 40px 0 24px; }
.x-hero-grid { display: grid; gap: 34px; }
.x-hero-copy { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: end; }
.x-hero-side p { margin-bottom: 22px; }
.x-hero-side .x-stats { margin-top: 22px; }
.x-hero h1 { font-size: clamp(34px, 5vw, 68px); font-weight: 800; margin: 16px 0 0; }
.x-hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-hero p { color: var(--muted); font-size: 17px; max-width: 540px; margin: 0 0 28px; }
.x-hero .x-eyebrow { padding: 8px 14px; border-radius: 999px; background: rgba(53, 155, 228, 0.1); border: 1px solid rgba(53, 155, 228, 0.3); letter-spacing: .06em; text-transform: none; font-size: 13px; }
.x-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.x-stats { display: flex; gap: 14px; margin: 34px 0 0; flex-wrap: wrap; }
.x-stats div { padding: 14px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--stroke); min-width: 130px; }
.x-stats dt { font: 800 24px var(--display); color: #ffffff; }
.x-stats dd { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.x-slider { position: relative; border-radius: 28px; box-shadow: var(--shadow); }
.x-slides { position: relative; aspect-ratio: 3 / 1; border-radius: 28px; overflow: hidden; background: #081223; }
.x-slide { position: absolute; inset: 0; overflow: hidden; visibility: hidden; }
.x-slide.active, .x-slide.leaving { visibility: visible; }
.x-slide.active { z-index: 2; animation: x-wipe-next 1s cubic-bezier(.77, 0, .18, 1) both; }
.x-slide.leaving { z-index: 1; }
[data-dir="prev"] .x-slide.active { animation-name: x-wipe-prev; }
.x-slider.is-first .x-slide.active { animation: none; }
.x-slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: 70% 40%; will-change: transform; }
.x-slide.active img { animation: x-kenburns 9s cubic-bezier(.2, .6, .3, 1) both; }
.x-slide.leaving img { animation: x-leave-img 1s ease forwards; }
.x-slide.leaving .x-slide-copy, .x-slide.leaving .x-slide-qr { opacity: 0; transition: opacity .35s ease; }
.x-slide.active::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(136, 196, 239, .22) 48%, rgba(255, 255, 255, .08) 52%, transparent 65%); transform: translateX(-110%); animation: x-shine 1.6s .55s ease-out forwards; }
.x-slide-copy > * { opacity: 0; }
.x-slide.active .x-slide-copy > * { animation: x-rise .8s cubic-bezier(.2, .8, .2, 1) forwards; }
.x-slide.active .x-slide-copy > :nth-child(1) { animation-delay: .45s; }
.x-slide.active .x-slide-copy > :nth-child(2) { animation-delay: .55s; }
.x-slide.active .x-slide-copy > :nth-child(3) { animation-delay: .67s; }
.x-slide.active .x-slide-copy > :nth-child(4) { animation-delay: .79s; }
.x-slide.active .x-slide-copy > :nth-child(5) { animation-delay: .91s; }
.x-slide.active .x-slide-qr { animation: x-pop .8s .75s cubic-bezier(.3, 1.5, .5, 1) both; }
.x-slide.active .x-slide-chips span:first-child { animation: x-glow 2.4s 1.6s ease-in-out infinite; }
@keyframes x-wipe-next { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes x-wipe-prev { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes x-kenburns { from { transform: scale(1.16) translateX(2.5%); } to { transform: scale(1.02) translateX(0); } }
@keyframes x-leave-img { to { transform: scale(1.1); filter: brightness(.35) saturate(.6); } }
@keyframes x-shine { to { transform: translateX(110%); } }
@keyframes x-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes x-pop { from { opacity: 0; transform: translateY(-50%) scale(.6) rotate(-8deg); } to { opacity: 1; transform: translateY(-50%) scale(1) rotate(0); } }
@keyframes x-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(53, 155, 228, 0); } 50% { box-shadow: 0 0 22px 2px rgba(53, 155, 228, .55); } }
@keyframes x-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.x-slide.has-copy::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 18, 35, .92) 0%, rgba(8, 18, 35, .7) 38%, rgba(8, 18, 35, 0) 62%); pointer-events: none; }
.x-slide-copy { position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; width: min(52%, 520px); padding: 22px 34px; color: #ffffff; }
.x-slide-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(53, 155, 228, .16); border: 1px solid rgba(53, 155, 228, .45); color: var(--orange-2); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.x-slide-copy h2 { margin: 0; font: 800 clamp(22px, 2.7vw, 38px)/1.08 var(--display); letter-spacing: -.01em; text-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
.x-slide-copy p { margin: 0; max-width: 420px; color: #c9d6ea; font-size: 14px; line-height: 1.5; }
.x-slide-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.x-slide-chips span { padding: 5px 11px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: 13px; font-weight: 800; backdrop-filter: blur(6px); }
.x-slide-chips span:first-child { background: var(--grad); border-color: transparent; color: #041019; }
.x-slide-btn { margin-top: 4px; pointer-events: none; }
.x-slide:hover .x-slide-btn { filter: brightness(1.1); box-shadow: 0 12px 30px -10px rgba(53, 155, 228, .8); }
.x-slide-qr { position: absolute; z-index: 2; right: 4%; top: 50%; transform: translateY(-50%); display: grid; justify-items: center; gap: 6px; width: clamp(110px, 15%, 160px); padding: 10px 10px 8px; border-radius: 18px; background: rgba(255, 255, 255, .96); box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .7), 0 0 0 4px rgba(53, 155, 228, .35); }
.x-slide-qr img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.x-slide-qr span { color: #102345; font-size: 11px; font-weight: 800; }
@media (max-width: 1100px) {
  .x-slide-copy p { display: none; }
}
@media (max-width: 767px) {
  .x-slides { aspect-ratio: 16 / 10; }
  .x-slide.has-copy::before { background: linear-gradient(0deg, rgba(8, 18, 35, .95) 0%, rgba(8, 18, 35, .6) 45%, rgba(8, 18, 35, 0) 75%); }
  .x-slide-copy { top: auto; width: 100%; padding: 16px 16px 30px; gap: 7px; justify-content: flex-end; }
  .x-slide-copy h2 { font-size: 22px; }
  .x-slide-eyebrow { font-size: 10px; padding: 4px 10px; }
  .x-slide-chips span { font-size: 11px; padding: 4px 9px; }
  .x-slide-btn { display: none; }
  .x-slide-qr { display: none; }
}
.x-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 4; display: flex; justify-content: center; gap: 8px; pointer-events: none; }
.x-dots button { position: relative; width: 22px; height: 6px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .28); cursor: pointer; pointer-events: auto; transition: width .45s cubic-bezier(.2, .8, .2, 1), background .3s; }
.x-dots button:hover { background: rgba(255, 255, 255, .5); }
.x-dots button.active { width: 54px; background: rgba(255, 255, 255, .2); }
.x-dots button i { position: absolute; inset: 0; border-radius: inherit; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.x-dots button.active i { animation: x-progress var(--slide-time, 6500ms) linear forwards; }
.x-slider.is-paused .x-dots button.active i { animation-play-state: paused; }
.x-slider-ctrl { position: absolute; right: 18px; bottom: 12px; z-index: 4; display: flex; align-items: center; gap: 6px; }
.x-slider-count { margin-right: 6px; font: 700 12px var(--display); color: rgba(255, 255, 255, .55); letter-spacing: .06em; }
.x-slider-count b { color: #ffffff; }
.x-slider-ctrl button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(8, 18, 35, .55); color: #ffffff; font-size: 20px; backdrop-filter: blur(8px); opacity: .7; transform: translateY(4px); transition: opacity .25s, transform .25s, border-color .2s, background .2s; }
.x-slider:hover .x-slider-ctrl button, .x-slider-ctrl button:focus-visible { opacity: 1; transform: none; }
.x-slider-ctrl button:hover { border-color: var(--orange); background: rgba(53, 155, 228, .25); }
@media (max-width: 767px) {
  .x-slider-ctrl { display: none; }
  .x-dots { bottom: 12px; }
}
.x-slider-glow { position: absolute; inset: 30% 10% -12% 10%; z-index: -1; background: radial-gradient(closest-side, rgba(53, 155, 228, 0.5), transparent); filter: blur(40px); }

/* games bento */
.x-games { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; grid-auto-flow: dense; gap: 14px; }
.x-game {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--grad-navy);
  border: 1px solid var(--stroke);
  isolation: isolate;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.x-game-lg { grid-column: span 2; grid-row: span 2; }
.x-game-lg img { object-position: 50% 28%; }
.x-game img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.x-game::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(6, 16, 32, 0.92)); }
.x-game:hover { transform: translateY(-4px); border-color: var(--stroke-hi); box-shadow: var(--glow); }
.x-game:hover img { transform: scale(1.07); }
.x-game-name { position: absolute; left: 16px; right: 56px; bottom: 14px; font: 700 14px/1.25 var(--display); color: #ffffff; }
.x-game-lg .x-game-name { font-size: 26px; left: 22px; bottom: 20px; }
.x-game-name small { display: table; margin-bottom: 6px; padding: 3px 8px; border-radius: 999px; background: rgba(53, 155, 228, 0.92); color: #041019; font: 800 10px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; }
.x-game-name { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7); }
.x-game-go { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(6px); color: #ffffff; transition: background .2s, color .2s; }
.x-game:hover .x-game-go { background: var(--grad); color: #041019; }

/* product card */
.x-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.x-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.x-rail::-webkit-scrollbar { display: none; }
.x-rail .x-card { scroll-snap-align: start; }
@media (min-width: 1200px) { .x-rail { grid-auto-columns: calc((100% - 54px) / 4); } }
.x-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--stroke);
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.x-card:hover { transform: translateY(-4px); border-color: rgba(53, 155, 228, 0.45); box-shadow: 0 24px 50px -24px rgba(53, 155, 228, 0.45); }
.x-card-media { position: relative; display: block; aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 30%, #243f6e, #0f1e37); overflow: hidden; }
.x-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.x-card:hover .x-card-media img { transform: scale(1.05); }
.x-card-body { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 16px; flex: 1; }
.x-card-title { font-weight: 700; font-size: 15px; line-height: 1.35; color: #ffffff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.x-card { container-type: inline-size; }
.x-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; }
.x-card-foot form { margin: 0; flex: none; }
.x-price { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.1; }
.x-price s { color: var(--muted); font-size: 12px; white-space: nowrap; }
.x-price span { font: 800 clamp(15px, 8.4cqi, 20px)/1.1 var(--display); color: #ffffff; white-space: nowrap; letter-spacing: -.01em; }
.x-price small { font: 600 11px/1 var(--font); color: var(--muted); letter-spacing: .02em; }
.x-price span small { font-size: 11px; }
.x-card-foot .x-card-btn { flex: none; }
@container (max-width: 250px) {
  .x-card-btn { gap: 6px; padding: 0 11px; font-size: 12.5px; }
}
@container (max-width: 215px) {
  .x-card-btn { width: 40px; padding: 0; justify-content: center; }
  .x-card-btn span { display: none; }
}
.x-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: var(--grad);
  color: #041019;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 8px 20px -8px rgba(53, 155, 228, 0.7);
  transition: transform .15s, box-shadow .2s;
}
.x-card-btn:hover, .x-card-btn:focus { color: #041019; transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(53, 155, 228, 0.9); }
.x-tags { position: absolute; top: 10px; z-index: 3; display: flex; flex-direction: column; gap: 6px; max-width: calc(100% - 20px); pointer-events: none; }
.x-tags.is-right { right: 10px; align-items: flex-end; }
.x-tags.is-left { left: 10px; align-items: flex-start; }
.x-tag { --tag-a: #5dafe9; --tag-b: #1e90e1; --tag-c: #ffffff; position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 5px 10px 5px 8px; border-radius: 9px; font: 800 10.5px/1.1 var(--display, inherit); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; color: var(--tag-c); background: linear-gradient(135deg, var(--tag-a), var(--tag-b)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 6px 16px -6px var(--tag-b), 0 2px 6px rgba(0, 0, 0, .35); text-shadow: 0 1px 0 rgba(0, 0, 0, .12); }
.x-tag .fa { font-size: 11px; opacity: .92; }
.x-tags.is-right .x-tag { border-top-right-radius: 4px; }
.x-tags.is-left .x-tag { border-top-left-radius: 4px; }
.x-tag.is-shine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); animation: x-tag-shine 3.6s ease-in-out infinite; }
@keyframes x-tag-shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.x-tags.is-lg { top: 16px; gap: 8px; }
.x-tags.is-lg.is-right { right: 16px; }
.x-tags.is-lg.is-left { left: 16px; }
.x-tags.is-lg .x-tag { padding: 7px 13px 7px 11px; font-size: 12px; border-radius: 11px; }
.x-tags.is-lg .x-tag .fa { font-size: 13px; }
@media (max-width: 520px) { .x-tags { top: 8px; gap: 4px; } .x-tags.is-right { right: 8px; } .x-tags.is-left { left: 8px; } .x-tag { padding: 4px 8px 4px 7px; font-size: 9.5px; gap: 4px; } }
@media (prefers-reduced-motion: reduce) { .x-tag.is-shine::after { animation: none; display: none; } }

/* steps + trust */
.x-steps, .x-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.x-step, .x-trust > div {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--stroke);
  overflow: hidden;
}
.x-step b { position: absolute; right: 18px; top: 10px; font: 800 54px var(--display); color: rgba(255, 255, 255, 0.05); }
.x-step i, .x-trust i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(53, 155, 228, 0.12); color: var(--orange-2); font-size: 20px; margin-bottom: 16px; }
.x-step h3, .x-trust h3 { font-size: 16px; margin-bottom: 6px; }
.x-step p, .x-trust p { color: var(--muted); margin: 0; font-size: 14px; }
.x-trust > div { background: var(--grad-navy); }

/* crumbs + headings */
.x-crumbs { padding: 16px 0 14px; }
.x-crumbs ol { display: flex; align-items: center; gap: 2px; min-width: 0; margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1; }
.x-crumbs li { display: flex; align-items: center; min-width: 0; flex: none; }
.x-crumbs li + li::before { content: "\f105"; font-family: FontAwesome; margin: 0 6px; color: #3b4d6b; font-size: 12px; }
.x-crumbs a { display: inline-flex; align-items: center; gap: 7px; max-width: 260px; padding: 6px 9px; border-radius: 8px; color: #8b9bb8; font-weight: 500; transition: color .15s, background .15s; }
.x-crumbs a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-crumbs a:hover { color: #ffffff; background: rgba(255, 255, 255, .05); }
.x-crumbs .x-crumb-home { padding: 6px 8px; }
.x-crumbs .x-crumb-home .fa { font-size: 14px; color: var(--orange-2); }
.x-crumbs li[aria-current] { flex: 0 1 auto; }
.x-crumb-current { display: block; overflow: hidden; padding: 6px 2px 6px 9px; color: #e6ecf7; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 720px) {
  .x-crumbs { padding: 10px 0 8px; margin: 0 -6px; }
  .x-crumbs ol { font-size: 12.5px; overflow: hidden; }
  .x-crumbs li { flex: 0 1 auto; }
  .x-crumbs li:first-child { flex: none; }
  .x-crumbs li[aria-current] { flex: 1 1 0; min-width: 70px; }
  .x-crumbs .x-crumb-home span { display: none; }
  .x-crumbs a { min-width: 0; max-width: 100%; padding: 6px 7px; }
  .x-crumbs li + li::before { margin: 0 3px; }
}
.x-cat-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.x-cat-head h1 { font-size: clamp(26px, 3vw, 40px); }
.x-count { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--stroke); color: var(--muted); font-size: 13px; font-weight: 700; }
.x-subcats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-bottom: 26px; }
.x-subcat { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--stroke); font-weight: 700; font-size: 14px; transition: border-color .2s, transform .2s; }
.x-subcat:hover { border-color: var(--stroke-hi); transform: translateY(-2px); color: #ffffff; }
.x-subcat img, .x-subcat-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.x-subcat-ico { display: grid; place-items: center; background: rgba(53, 155, 228, 0.12); color: var(--orange-2); }
.x-subbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); gap: 12px; align-items: center; margin-bottom: 26px; }
.x-subbar.is-solo { grid-template-columns: minmax(240px, 380px); }
.x-subbar .x-subcats { margin-bottom: 0; }
.x-cat-search { position: relative; display: flex; align-items: center; height: 68px; margin: 0; padding: 0 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--stroke); cursor: text; transition: border-color .2s, box-shadow .2s; }
.x-subbar.is-solo .x-cat-search { height: 52px; }
.x-cat-search:focus-within { border-color: var(--stroke-hi); box-shadow: 0 0 0 3px rgba(53, 155, 228, 0.15); }
.x-cat-search > .fa { flex: none; color: var(--orange-2); font-size: 15px; }
.x-cat-search input { flex: 1; min-width: 0; height: 100%; padding: 0 10px; border: 0; background: transparent; color: #ffffff; font: 600 14px var(--font); outline: none; }
.x-cat-search input::placeholder { color: var(--muted); font-weight: 500; }
.x-cat-search input::-webkit-search-cancel-button { display: none; }
.x-cat-search button { flex: none; width: 28px; height: 28px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, 0.08); color: #ffffff; font-size: 17px; line-height: 1; }
.x-cat-search button:hover { background: rgba(53, 155, 228, 0.3); }
.x-cat-search button[hidden] { display: none; }
.x-empty[hidden], .x-grid > [hidden] { display: none; }

/* test mode */
.is-testing { --tm-h: 24px; padding-top: var(--tm-h); }
.is-testing .x-header { top: var(--tm-h); }
html:has(.is-testing) { scroll-padding-top: calc(var(--head-h, 148px) + var(--tm-h, 24px) - 14px); }
.x-tm { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; }
.x-tm-top { position: absolute; left: 0; right: 0; top: 0; height: 24px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; overflow: hidden; background: #facc15; color: #111; box-shadow: 0 2px 0 #111, 0 6px 18px rgba(0, 0, 0, .45); font: 800 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.x-tm-top span { overflow: hidden; text-overflow: ellipsis; }
.x-tm-side { position: absolute; background: repeating-linear-gradient(-45deg, #facc15 0 10px, #111 10px 20px); opacity: .9; }
.x-tm-left, .x-tm-right { top: 24px; bottom: 0; width: 6px; }
.x-tm-left { left: 0; }
.x-tm-right { right: 0; }
.x-tm-bottom { left: 0; right: 0; bottom: 0; height: 6px; }
.x-empty { text-align: center; padding: 70px 20px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--stroke); }
.x-empty i { font-size: 40px; color: var(--orange); margin-bottom: 14px; }
.x-empty p { color: var(--muted); margin-bottom: 20px; }

/* product page */
.x-pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.x-gallery { position: sticky; top: 140px; }
.x-gallery-main { position: relative; aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 50% 30%, #243f6e, #0f1e37); border: 1px solid var(--stroke); box-shadow: var(--shadow); }
.x-gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.x-gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(9, 21, 40, 0.6); backdrop-filter: blur(8px); color: #ffffff; font-size: 22px; opacity: 0; transition: opacity .2s; }
.x-gallery-main:hover .x-gal-nav { opacity: 1; }
.x-gal-nav.prev { left: 14px; }
.x-gal-nav.next { right: 14px; }
.x-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; }
.x-thumbs .thumb-btn { flex: none; width: 76px; height: 76px; padding: 0; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: #0f1e37; opacity: .6; transition: opacity .2s, border-color .2s; }
.x-thumbs .thumb-btn.active, .x-thumbs .thumb-btn:hover { opacity: 1; border-color: var(--orange); }
.x-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.x-buy-head h1 { font-size: clamp(28px, 3.2vw, 44px); margin: 8px 0 14px; }
.x-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.x-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--stroke); font-size: 13px; color: var(--muted); }
.x-meta .x-ok { color: var(--green); border-color: rgba(47, 209, 124, 0.3); background: rgba(47, 209, 124, 0.08); }
.x-meta .x-warn { color: #98ccf1; border-color: rgba(88, 173, 233, .5); background: rgba(88, 173, 233, .12); }
.x-meta .x-warn i { color: #58ade9; }
.x-lead { color: var(--muted); font-size: 15px; margin: 0 0 22px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.x-opt { margin: 0 0 14px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); min-width: 0; transition: border-color .2s, box-shadow .2s; }
.x-opt legend { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 10px; width: 100%; float: left; text-align: center; margin: 0 0 14px; padding: 0; border: 0; font-size: 15px; font-weight: 800; color: #ffffff; }
.x-opt legend + * { clear: both; }
.x-opt legend b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--grad); color: #041019; font-size: 13px; }
.x-opt legend small { color: var(--muted); font-weight: 600; font-size: 12px; }
.x-opt legend em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-2); padding: 2px 8px; border-radius: 999px; background: rgba(53, 155, 228, 0.12); }
.x-opt-error { display: none; margin-top: 10px; color: var(--red); font-weight: 700; font-size: 13px; }
.x-opt.invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255, 77, 94, 0.12); animation: x-shake .35s; }
.x-opt.invalid .x-opt-error { display: block; }
@keyframes x-shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.x-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.x-choice { margin: 0; font-weight: 600; cursor: pointer; }
.x-choice input { position: absolute; opacity: 0; pointer-events: none; }
.x-choice-box {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  min-height: 50px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(9, 21, 40, 0.5);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.x-choice:hover .x-choice-box { border-color: rgba(53, 155, 228, 0.45); }
.x-choice-mark { flex: none; position: relative; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #3c5378; transition: border-color .15s, background .15s; }
.x-choice input[type=checkbox] + .x-choice-box .x-choice-mark { border-radius: 6px; }
.x-choice-name { flex: 1; font-size: 13px; line-height: 1.3; color: #dfe7f5; }
.x-choice-price { flex: none; font-weight: 800; font-size: 13px; color: var(--orange-2); }
.x-choice-price.free { color: var(--muted); font-weight: 600; }
.x-choice input:checked + .x-choice-box { border-color: var(--orange); background: linear-gradient(135deg, rgba(53, 155, 228, 0.18), rgba(30, 144, 225, 0.06)); box-shadow: inset 0 0 0 1px var(--orange); }
.x-choice input:checked + .x-choice-box .x-choice-mark { border-color: var(--orange); background: var(--grad); }
.x-choice input:checked + .x-choice-box .x-choice-mark::after { content: ""; position: absolute; left: 5px; top: 1px; width: 6px; height: 11px; border: solid #041019; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.x-choice input:focus-visible + .x-choice-box { outline: 2px solid var(--orange); outline-offset: 2px; }
.x-summary { margin-top: 18px; padding: 20px; border-radius: 24px; background: linear-gradient(160deg, rgba(53, 155, 228, 0.14), rgba(26, 54, 102, 0.6) 40%); border: 1px solid rgba(53, 155, 228, 0.35); }
.x-summary-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.x-summary-label { color: var(--muted); font-size: 13px; font-weight: 700; }
.x-live { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.x-live s { color: var(--muted); font-size: 18px; font-weight: 700; }
#live-price { font: 800 clamp(28px, 3vw, 38px) var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
#live-price.bump { animation: x-bump .35s ease; }
.x-promo-timer {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 7px 12px;
  border-radius: 999px; border: 1px solid rgba(53, 155, 228, .4);
  background: rgba(53, 155, 228, .12); color: #98ccf1; font-size: 12px; font-weight: 700;
}
.x-promo-timer[hidden] { display: none !important; }
.x-promo-timer .fa { color: var(--orange-2); }
.x-promo-timer b {
  display: inline-grid; place-items: center; min-width: 26px; padding: 2px 5px;
  border-radius: 7px; background: rgba(9, 21, 40, .55); color: #ffffff; font: 800 13px/1.2 ui-monospace, Consolas, monospace;
}
.x-promo-timer i { opacity: .55; font-style: normal; }
.x-choice.is-sale .x-choice-box { border-color: rgba(53, 155, 228, .45); }
.x-sale-tag {
  display: inline-flex; margin-left: 6px; padding: 1px 6px; border-radius: 999px;
  background: rgba(53, 155, 228, .18); color: var(--orange-2); font: 800 10px/1.3 inherit;
  letter-spacing: .04em; text-transform: uppercase; vertical-align: middle;
}
.x-choice-price s { opacity: .65; margin-right: 4px; }
@keyframes x-bump { 50% { transform: scale(1.08); } }
.x-qty { display: inline-flex; align-items: center; border-radius: 14px; border: 1px solid var(--stroke); background: rgba(9, 21, 40, 0.6); overflow: hidden; }
.x-qty button { width: 42px; height: 46px; border: 0; background: transparent; color: #ffffff; font-size: 20px; }
.x-qty button:hover { color: var(--orange-2); }
.x-qty input { width: 48px; height: 46px; border: 0; background: transparent; color: #ffffff; text-align: center; font-weight: 800; -moz-appearance: textfield; }
.x-qty input::-webkit-outer-spin-button, .x-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.x-picked { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; }
.x-picked:empty { display: none; }
.x-picked li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 6px 0; border-top: 1px dashed var(--stroke); }
.x-picked span { color: var(--muted); }
.x-picked b { color: #ffffff; text-align: right; }
.x-buy-actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin-top: 18px; }
.x-fast { margin-top: 12px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); }
.x-fast p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.x-fast-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.x-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.x-perks > div { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--stroke); }
.x-perks i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(53, 155, 228, 0.12); color: var(--orange-2); }
.x-perks span { font-size: 12px; color: var(--muted); line-height: 1.3; }
.x-perks b { display: block; color: #ffffff; font-size: 13px; }
.x-tabs { margin-top: 48px; }
.x-tab-list { display: inline-flex; gap: 6px; padding: 5px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--stroke); margin-bottom: 16px; flex-wrap: wrap; }
.x-tab-list button { height: 42px; padding: 0 18px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font-weight: 800; }
.x-tab-list button.active { background: var(--grad); color: #041019; }
.x-tab-panel { display: none; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); }
.x-tab-panel.active { display: block; animation: x-fade .3s ease; }
@keyframes x-fade { from { opacity: 0; transform: translateY(6px); } }
.x-howto { margin: 0; padding-left: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.x-howto li { counter-increment: s; position: relative; padding: 14px 16px 14px 58px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); color: var(--muted); }
.x-howto li::before { content: counter(s); position: absolute; left: 14px; top: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--grad); color: #041019; font-weight: 800; }
.x-howto b { color: #ffffff; }
.x-sticky-buy { display: none; }

/* prose (imported HTML) */
.x-prose { color: #cbd6e8; font-size: 15.5px; line-height: 1.7; overflow-wrap: break-word; }
.x-prose :where(p, li, td, th, span, font, div) { background-color: transparent !important; color: inherit; font-family: inherit; }
.x-prose :where(h1, h2, h3, h4, b, strong) { color: #ffffff; }
.x-prose a { color: var(--orange-2); }
.x-prose a:hover { color: #ffffff; }
.x-prose img { max-width: 100%; height: auto; border-radius: 14px; margin: 10px 0; }
.x-prose table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.x-prose td, .x-prose th { border: 1px solid var(--stroke); padding: 8px 10px; }
.x-prose p { margin: 0 0 14px; }
.x-prose ul:not(.x-howto):not(.x-chips), .x-prose ol:not(.x-howto) { margin: 0 0 16px; padding-left: 1.2em; }
.x-prose li { margin: 0 0 8px; }
.x-prose h2 { margin: 28px 0 12px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.25; }
.x-prose h3 { margin: 22px 0 8px; font-size: 18px; }
.x-page { padding: 28px 32px 36px; min-width: 0; }
.x-page > h1 { margin: 0 0 10px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; }
.x-page-lead { margin: 0 0 20px; color: #9eb0cc; font-size: 16.5px; line-height: 1.55; max-width: 42em; }
.x-info { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; align-items: start; }
.x-info-side { display: grid; gap: 14px; position: sticky; top: 88px; }
.x-info-card { display: grid; gap: 10px; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--stroke); }
.x-info-card h2 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 15px; color: #ffffff; }
.x-info-card h2 i { color: var(--orange-2); }
.x-info-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.x-info-card .x-help-btn { width: 100%; justify-content: flex-start; }
.x-info-link { display: block; padding: 8px 10px; border-radius: 10px; color: #c9d6ea; font-size: 14px; font-weight: 600; }
.x-info-link:hover { background: rgba(255, 255, 255,.04); color: #ffffff; text-decoration: none; }
.x-info-link.is-on { background: rgba(53, 155, 228,.12); color: #ffffff; }
.x-howto { list-style: none; margin: 4px 0 22px; padding: 0; display: grid; gap: 10px; }
.x-howto > li { display: block; margin: 0; padding: 16px 18px 16px 64px; border-radius: 16px; border: 1px solid var(--stroke); background: rgba(255, 255, 255,.03); min-width: 0; line-height: 1.5; }
.x-howto > li:has(.x-howto-n) { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; }
.x-howto > li:has(.x-howto-n)::before { content: none; }
.x-howto-n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--grad); color: #041019; font-weight: 800; font-size: 15px; line-height: 1; }
.x-howto > li > div { flex: 1; min-width: 0; }
.x-howto h3 { margin: 4px 0 6px; font-size: 16px; line-height: 1.3; }
.x-howto p { margin: 0; color: #b7c5da; font-size: 14.5px; line-height: 1.5; }
.x-callout { margin: 16px 0; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(53, 155, 228,.35); background: rgba(53, 155, 228,.08); color: #c9e4f8; }
.x-callout.is-ok { border-color: rgba(47, 209, 124,.35); background: rgba(47, 209, 124,.08); color: #c9f5dd; }
.x-callout.is-warn { border-color: rgba(88, 173, 233,.4); background: rgba(88, 173, 233,.08); color: #b9ddf6; }
.x-faq { display: grid; gap: 10px; margin: 8px 0 12px; }
.x-faq details { border-radius: 14px; border: 1px solid var(--stroke); background: rgba(255, 255, 255,.03); overflow: hidden; }
.x-faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: #ffffff; font-weight: 700; font-size: 15.5px; }
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary::after { content: "+"; margin-left: auto; color: var(--orange-2); font-size: 22px; font-weight: 500; line-height: 1; }
.x-faq details[open] summary::after { content: "–"; }
.x-faq summary:hover { background: rgba(255, 255, 255,.03); }
.x-faq details > div { padding: 0 16px 16px; color: #c4d0e4; }
.x-faq details > div > :last-child { margin-bottom: 0; }
.x-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.x-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--stroke); background: rgba(255, 255, 255,.03); color: #d7e2f4; font-size: 13px; font-weight: 700; }
.x-chip i { color: var(--orange-2); }
.x-page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.x-foot-col a { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.x-foot-col a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(53, 155, 228,.55); flex: none; opacity: .7; }

/* cart */
.x-panel { border-radius: 24px; background: var(--surface); border: 1px solid var(--stroke); padding: 24px; }
.x-cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; align-items: start; }
.x-lines { display: grid; gap: 12px; }
.x-line { display: grid; grid-template-columns: 84px 1fr auto auto auto; gap: 14px; align-items: center; padding: 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); }
.x-line img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; }
.x-line-info { display: grid; gap: 4px; min-width: 0; }
.x-line-info b { color: #ffffff; }
.x-line-info small { color: var(--orange-2); font-size: 12px; }
.x-line-sum { font: 800 18px var(--display); min-width: 5.5ch; text-align: right; }
.x-line form { margin: 0; }
.x-line-qty { margin: 0; }
.x-line .x-qty { border-radius: 12px; }
.x-line .x-qty button { width: 36px; height: 38px; font-size: 18px; }
.x-line .x-qty button:disabled { opacity: .35; cursor: default; }
.x-line .x-qty input { width: 42px; height: 38px; font-size: 15px; }
.x-checkout { display: grid; gap: 18px; }
.x-checkout h2 { font-size: 22px; }
.x-checkout label { display: grid; gap: 6px; margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.x-fields { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.x-fields legend { display: flex; align-items: baseline; gap: 8px; width: 100%; margin: 0 0 2px; padding: 0; border: 0; font: 800 12px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #ffffff; }
.x-fields legend small { font: 600 12px var(--font); letter-spacing: 0; text-transform: none; color: var(--muted); }
.x-field > span:first-child em { font-style: normal; color: var(--orange); }
.x-field .x-input:user-invalid { border-color: var(--red); }
.x-field-hint { display: flex; gap: 8px; margin: -2px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.x-field-hint i { flex: none; margin-top: 2px; color: var(--green); }
.x-secret { position: relative; display: block; }
.x-secret .x-input { width: 100%; padding-right: 44px; }
.x-secret-btn { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 9px; background: none; color: var(--muted); font-size: 15px; }
.x-secret-btn:hover { color: #ffffff; background: rgba(255, 255, 255, .06); }
.x-methods { display: grid; gap: 8px; }
.x-checkout .x-method { display: block; cursor: pointer; font-weight: 400; }
.x-method input { position: absolute; opacity: 0; pointer-events: none; }
.x-method-card { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; border: 1px solid var(--stroke); background: rgba(9, 21, 40, .5); transition: border-color .15s, background .15s, box-shadow .15s, transform .15s; }
.x-method:hover .x-method-card { border-color: rgba(88, 173, 233, .35); background: rgba(9, 21, 40, .75); }
.x-method input:checked + .x-method-card { border-color: var(--orange); background: linear-gradient(110deg, rgba(53, 155, 228, .16), rgba(9, 21, 40, .6) 70%); box-shadow: 0 10px 26px -14px rgba(53, 155, 228, .9); }
.x-method input:focus-visible + .x-method-card { outline: 2px solid var(--orange); outline-offset: 2px; }
.x-method-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke); color: #cdd8ea; font-size: 17px; overflow: hidden; transition: background .15s, color .15s, border-color .15s; }
.x-method-ico img { width: 100%; height: 100%; object-fit: cover; display: block; }
.x-method input:checked + .x-method-card .x-method-ico:not(:has(img)) { background: var(--grad); border-color: transparent; color: #041019; }
.x-method input:checked + .x-method-card .x-method-ico:has(img) { border-color: rgba(53, 155, 228, .55); background: rgba(53, 155, 228, .12); }
.x-method-body { display: grid; gap: 5px; flex: 1; min-width: 0; }
.x-method-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: #ffffff; font: 700 15px/1.2 var(--display); }
.x-method-badge { padding: 3px 7px; border-radius: 999px; font: 800 10px/1 var(--font); font-style: normal; letter-spacing: .04em; text-transform: uppercase; }
.x-method-badge.is-new { background: rgba(47, 107, 255, .18); color: #9cbcff; }
.x-method-badge.is-free { background: rgba(47, 209, 124, .16); color: #7ff0b4; }
.x-method-badge.is-warn { background: rgba(88, 173, 233, .16); color: #98ccf1; }
.x-method-badge.is-accent { background: rgba(53, 155, 228, .18); color: #8ac5ef; }
.x-method-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.x-method-tags i { padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .05); color: #9fb0cc; font: 600 11px/1.5 var(--font); font-style: normal; }
.x-method-check { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(148, 178, 230, .3); color: transparent; font-size: 11px; transition: background .15s, border-color .15s, color .15s; }
.x-method input:checked + .x-method-card .x-method-check { background: var(--orange); border-color: var(--orange); color: #041019; }
.x-pay-pick > span { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.x-pay-pick > div { display: flex; flex-wrap: wrap; gap: 6px; }
.x-pay-pick label { display: block; cursor: pointer; }
.x-pay-pick input { position: absolute; opacity: 0; }
.x-pay-pick label span { display: block; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--stroke); background: rgba(9, 21, 40, 0.5); color: #dfe7f5; font-size: 13px; transition: border-color .15s, background .15s; }
.x-pay-pick input:checked + span { border-color: var(--orange); background: rgba(53, 155, 228, 0.15); color: #ffffff; }
.x-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px dashed var(--stroke); }
.x-total span { color: var(--muted); font-weight: 700; }
.x-total b { font: 800 28px var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-done { max-width: 620px; margin: 50px auto; text-align: center; padding: 44px 30px; }
.x-done-ico { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 24px; background: var(--grad); color: #041019; font-size: 32px; box-shadow: var(--glow); margin-bottom: 20px; }
.x-done h1 { margin-bottom: 14px; font-size: clamp(22px, 5vw, 30px); }
.x-done h1.is-short { white-space: nowrap; }
@media (max-width: 420px) { .x-done h1.is-short { white-space: normal; } }
.x-done p { margin-bottom: 10px; }
.x-done .x-btn { margin-top: 16px; }
.x-thanks { position: relative; margin: -44px -30px 18px; border-radius: 24px 24px 0 0; overflow: hidden; aspect-ratio: 2 / 1; animation: x-thanks-in .7s ease-out both; }
.x-thanks img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; -webkit-mask-image: linear-gradient(#000000 55%, transparent); mask-image: linear-gradient(#000000 55%, transparent); }
.x-thanks figcaption { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 24px); padding: 8px 16px; border-radius: 999px; background: rgba(9, 21, 40, .78); border: 1px solid rgba(124, 255, 92, .35); color: #eaffdf; font-size: 14px; font-weight: 700; white-space: nowrap; backdrop-filter: blur(6px); box-shadow: 0 8px 24px -10px rgba(124, 255, 92, .55); }
.x-thanks figcaption .fa { color: #7cff5c; font-size: 16px; animation: x-thumb 1.2s .5s ease-in-out both; }
@keyframes x-thanks-in { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes x-thumb { 0%, 100% { transform: none; } 30% { transform: rotate(-18deg) scale(1.25); } 60% { transform: rotate(6deg) scale(1.1); } }
@media (max-width: 560px) { .x-thanks { margin: -44px -30px 14px; } .x-thanks figcaption { font-size: 12.5px; white-space: normal; text-align: left; } }
@media (prefers-reduced-motion: reduce) { .x-thanks, .x-thanks figcaption .fa { animation: none; } }
.x-done-ico.is-fail { background: linear-gradient(135deg, #ff7a7a, #ff3b4e); color: #ffffff; box-shadow: 0 10px 30px -8px rgba(255, 77, 94, .6); }
.x-done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.x-order-id { position: relative; display: inline-flex; align-items: center; gap: .25em; padding: 0 .12em; border: 0; border-radius: 10px; background: none; color: inherit; font: inherit; letter-spacing: inherit; cursor: copy; transition: background .15s, color .15s; }
.x-order-id > i { font-size: .42em; color: var(--muted); transition: color .15s; }
.x-order-id:hover { background: rgba(53, 155, 228, .12); color: var(--orange-2); }
.x-order-id:hover > i { color: var(--orange-2); }
.x-order-id-tip { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translate(-50%, 4px); padding: 5px 10px; border-radius: 8px; background: var(--green); color: #04210f; font: 700 12px/1.2 var(--font); letter-spacing: 0; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.x-order-id.is-copied .x-order-id-tip { opacity: 1; transform: translate(-50%, 0); }
.x-done-contacts { display: grid; justify-items: center; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--stroke); }
.x-done-contacts > span { color: var(--muted); font-size: 13px; }
.x-done-contacts > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.x-status { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(53, 155, 228, .14); border: 1px solid var(--stroke-hi); font-weight: 700; font-size: 13px; }
.x-bank { margin: 16px 0; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(9, 21, 40, .6); border: 1px dashed var(--stroke-hi); text-align: left; }
.x-bank b { display: block; margin-bottom: 8px; color: var(--orange); }
.x-coupon { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px dashed var(--stroke-hi); background: rgba(53, 155, 228, .05); }
.x-coupon > .fa { font-size: 20px; color: var(--orange); }
.x-coupon .x-input { flex: 1; min-width: 0; }
.x-coupon-on { flex: 1; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.x-coupon-on b { font: 700 15px var(--display); letter-spacing: .04em; }
.x-coupon-on span { color: var(--green); font-weight: 700; }
.x-coupon-msg { margin: -4px 0 0; font-size: 13px; color: var(--green); font-weight: 700; }
.x-coupon-msg.is-error { color: var(--red); }
.x-total-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.x-total-row.is-discount span:last-child { color: var(--green); font-weight: 700; }
.x-pay { max-width: 560px; margin: 10px auto 50px; display: grid; gap: 16px; padding: 28px; }
.x-pay-head { display: grid; gap: 10px; justify-items: start; }
.x-pay h1 { margin: 0; font-size: clamp(28px, 5vw, 38px); }
.x-pay-items { display: grid; margin: 0; padding: 4px 16px; list-style: none; border-radius: var(--radius-sm); background: rgba(9, 21, 40, 0.45); border: 1px solid var(--stroke); }
.x-pay-items li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; font-size: 14px; }
.x-pay-items li + li { border-top: 1px solid var(--stroke); }
.x-pay-items span { color: #dfe7f5; min-width: 0; overflow-wrap: anywhere; }
.x-pay-items i { font-style: normal; color: var(--muted); white-space: nowrap; }
.x-pay-items b { flex: none; color: #ffffff; white-space: nowrap; }
.x-pay-items .is-discount b { color: var(--green); }
.x-pay-items .is-total span { color: var(--muted); font-weight: 700; }
.x-pay-items .is-total b { font: 800 18px var(--display); }
.x-pay-method { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(53, 155, 228, 0.35); background: rgba(53, 155, 228, 0.07); }
.x-pay-method > i { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--grad); color: #041019; font-size: 16px; }
.x-pay-method span { display: block; font-size: 12px; color: var(--muted); }
.x-pay-method b { display: block; color: #ffffff; font-size: 15px; overflow-wrap: anywhere; }
.x-pay-form { display: grid; gap: 14px; }
.x-pay-methods { display: grid; gap: 8px; }
.x-pay-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.x-pay-label small { margin-left: 6px; font-size: 12px; font-weight: 500; color: rgba(148, 178, 230, .55); }
.x-pay-form [hidden] { display: none !important; }
.x-pay-form button:disabled { opacity: .75; cursor: progress; transform: none; }
.x-pay-note { display: flex; gap: 10px; margin: -4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.x-pay-note i { flex: none; margin-top: 2px; color: var(--green); }
.x-pay-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px 20px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--stroke); }
.x-pay-help { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.x-pay-help i { color: #29a9eb; font-size: 16px; }
@media (max-width: 560px) { .x-pay { padding: 20px 16px; } }
.x-alert { padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(47, 107, 255, .12); border: 1px solid rgba(47, 107, 255, .4); font-size: 14px; }
.x-alert.is-error { background: rgba(255, 77, 94, .12); border-color: rgba(255, 77, 94, .5); }
.x-preview { display: grid; gap: 6px; padding: 14px; border-radius: var(--radius-sm); background: #081223; border: 1px solid var(--stroke); font-size: 12px; overflow: hidden; }
.x-preview div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; }
.x-preview span { color: var(--muted); font-weight: 700; }
.x-preview code, .x-preview pre { color: #b2d9f5; background: none; border: 0; padding: 0; margin: 0; white-space: pre-wrap; word-break: break-all; font-size: 12px; }

/* footer */
.x-footer { position: relative; margin-top: 64px; padding: 36px 0 20px; background: linear-gradient(180deg, #091529, #050d1a); }
.x-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(53, 155, 228, .45), rgba(47, 107, 255, .35), transparent); }
.x-help { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 16px 18px 16px 16px; border-radius: 20px; background: linear-gradient(110deg, rgba(53, 155, 228, .14), rgba(25, 45, 79, .9) 45%, rgba(47, 107, 255, .14)); border: 1px solid rgba(88, 173, 233, .18); }
.x-help-who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.x-help-avatar { position: relative; flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--grad); color: #041019; font-size: 20px; }
.x-help-avatar b { position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; border-radius: 50%; background: #6b7a92; border: 3px solid #182a48; }
.x-help-avatar b.is-on { background: #2fd17c; animation: x-online 2s infinite; }
.x-help-status { display: block; margin-bottom: 2px; color: #9fb0cc; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.x-help-status.is-on { color: #7ff0b4; }
.x-help h3 { margin: 0; font: 800 18px/1.2 var(--display); }
.x-help-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.x-help-btn { display: flex; align-items: center; gap: 9px; padding: 7px 14px 7px 7px; border-radius: 13px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(8, 18, 35, .5); color: #ffffff; font-size: 14px; transition: transform .2s, border-color .2s, background .2s; }
.x-help-btn > i { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; font-size: 16px; color: #ffffff; }
.x-help-btn.is-tg > i { background: linear-gradient(135deg, #37bbfe, #1e88d3); }
.x-help-btn.is-wa > i { background: linear-gradient(135deg, #3ee07f, #1ea952); }
.x-help-btn.is-mail > i { background: var(--grad); color: #041019; }
.x-help-btn:hover { transform: translateY(-2px); background: rgba(8, 18, 35, .8); border-color: rgba(255, 255, 255, .22); }
.x-foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 34px 0 28px; }
.x-foot-grid h4 { margin: 4px 0 12px; font: 800 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #ffffff; }
.x-foot-col > a { display: block; width: fit-content; padding: 4px 0; color: var(--muted); font-size: 14px; transition: color .2s; }
.x-foot-col > a:hover { color: #ffffff; }
.x-foot-logo img { height: 42px; width: auto; margin-bottom: 10px; }
.x-foot-brand p { margin: 0 0 12px; color: var(--muted); font-size: 13.5px; line-height: 1.55; max-width: 340px; }
.x-foot-facts { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: #9fb0cc; font-size: 13px; }
.x-foot-facts i { width: 16px; margin-right: 6px; color: var(--orange-2); text-align: center; }
.x-copy { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; padding: 16px 56px 0 0; border-top: 1px solid var(--stroke); color: #6e82a3; font-size: 12.5px; }
.x-copy-note { color: #4f6283; font-size: 12px; }
.x-to-top { position: absolute; right: 0; top: 10px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 12px; border: 1px solid var(--stroke); background: rgba(255, 255, 255, .04); color: #cdd8ea; font-size: 14px; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.x-to-top:hover { transform: translateY(-3px); background: var(--grad); border-color: transparent; color: #041019; }
@media (max-width: 720px) {
  .x-footer { margin-top: 48px; padding: 28px 0 90px; }
  .x-help { padding: 14px; }
  .x-help h3 { font-size: 16px; }
  .x-help-actions { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
  .x-help-actions { gap: 6px; }
  .x-help-btn { justify-content: center; gap: 6px; padding: 6px; font-size: 12.5px; }
  .x-help-btn > i { width: 26px; height: 26px; font-size: 14px; }
  .x-foot-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; padding: 26px 0 22px; }
  .x-foot-brand { grid-column: 1 / -1; }
  .x-copy { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) { .x-help-btn b { display: none; } }

/* bootstrap leftovers */
.container { max-width: var(--wrap); }
.form-control { background: rgba(9, 21, 40, 0.6); color: #ffffff; border-color: var(--stroke); border-radius: 12px; }
.table > tbody > tr > td, .table > thead > tr > th { border-color: var(--stroke); }

/* reviews */
.x-rating { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; border-radius: 14px; border: 1px solid rgba(255, 196, 61, .35); background: rgba(255, 196, 61, .08); color: #ffffff; white-space: nowrap; transition: border-color .2s, background .2s; }
.x-rating:hover, .x-rating:focus { color: #ffffff; border-color: #ffc43d; background: rgba(255, 196, 61, .16); text-decoration: none; }
.x-rating .fa { color: #ffc43d; font-size: 16px; }
.x-rating b { font: 800 15px var(--display); }
.x-rating span { font-size: 12px; font-weight: 700; color: var(--muted); }
.x-rating-drawer { display: flex; height: auto; padding: 12px 14px; margin: 14px 0; }
.x-stars { display: inline-flex; gap: 2px; color: #ffc43d; font-size: 13px; }
.x-stars.lg { font-size: 20px; gap: 4px; }
.x-meta-rating { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 196, 61, .08); border: 1px solid rgba(255, 196, 61, .3); color: #ffffff; font-size: 13px; }
.x-meta .x-stars, .x-rv-score .x-stars { display: inline-flex; padding: 0; border: 0; background: none; border-radius: 0; color: #ffc43d; font-size: 13px; }
.x-rv-score .x-stars.lg { font-size: 20px; }
.x-meta-rating:hover { color: var(--orange-2); text-decoration: none; }
.x-section-head h2 small { font-size: .55em; color: var(--muted); vertical-align: middle; margin-left: 6px; }
.x-tab-list button small { margin-left: 4px; padding: 1px 7px; border-radius: 99px; background: rgba(255, 196, 61, .16); color: #ffc43d; font-size: 11px; font-weight: 800; }
.x-rv-store-link { justify-self: start; margin-top: 4px; }
.x-rv-layout { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 22px; align-items: start; }
.x-rv-side { position: sticky; top: 140px; display: grid; gap: 16px; }
.x-rv-summary { display: grid; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--grad-navy); border: 1px solid var(--stroke); }
.x-rv-score { display: grid; justify-items: start; gap: 6px; }
.x-rv-score b { font: 800 46px/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-rv-score span { color: var(--muted); font-weight: 700; font-size: 13px; }
.x-rv-bars { display: grid; gap: 6px; }
.x-rv-bar { display: grid; grid-template-columns: 38px 1fr 46px; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
a.x-rv-bar:hover { color: #ffffff; text-decoration: none; }
.x-rv-bar span .fa { color: #ffc43d; }
.x-rv-bar > i { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.x-rv-bar > i em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffc43d, #359be4); }
.x-rv-bar small { text-align: right; }
.x-rv-form { display: grid; gap: 10px; }
.x-rv-form h3 { margin: 0; font-size: 18px; }
.x-rv-pm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.x-rv-rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.x-rv-rate input { position: absolute; opacity: 0; pointer-events: none; }
.x-rv-rate label { margin: 0; cursor: pointer; font-size: 26px; color: rgba(255, 255, 255, .18); transition: color .15s, transform .15s; }
.x-rv-rate label:hover, .x-rv-rate label:hover ~ label, .x-rv-rate input:checked ~ label { color: #ffc43d; }
.x-rv-rate label:hover { transform: scale(1.12); }
.x-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.x-rv-list { display: grid; gap: 12px; }
.x-rv-wrap.is-hidden { display: none; }
.x-rv { padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--stroke); }
.x-rv header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.x-rv header > div { flex: 1; min-width: 0; display: grid; }
.x-rv header b { color: #ffffff; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.x-rv time { font-size: 12px; color: var(--muted); }
.x-rv-ava { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 13px; background: var(--grad); color: #041019; font: 800 16px var(--display); }
.x-rv p { margin: 0; color: #dfe7f5; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.x-rv-pm { margin-top: 8px !important; font-size: 13px; }
.x-rv-pm.is-plus b { color: var(--green); }
.x-rv-pm.is-minus b { color: var(--red); }
.x-rv-reply { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(53, 155, 228, .08); border-left: 3px solid var(--orange); }
.x-rv-reply b { display: block; margin-bottom: 4px; font-size: 12px; color: var(--orange-2); text-transform: uppercase; letter-spacing: .05em; }
.x-rv-empty { padding: 50px 20px; }
.x-rv-empty .fa { font-size: 34px; color: var(--orange); }
.x-rv-filter { padding: 10px 14px; border-radius: 12px; background: rgba(255, 196, 61, .08); border: 1px solid rgba(255, 196, 61, .3); font-size: 13px; }
.x-rv-filter .fa { color: #ffc43d; }
.x-rv-filter a { margin-left: 8px; font-weight: 700; }
.x-rv-intro summary { cursor: pointer; font-weight: 700; color: var(--muted); }
.x-pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 10px; }
.x-pager a, .x-pager b, .x-pager span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--stroke); color: #dfe7f5; font-weight: 700; }
.x-pager a:hover { border-color: var(--stroke-hi); color: #ffffff; text-decoration: none; }
.x-pager b { background: var(--grad); color: #041019; border-color: transparent; }
.x-pager span { border-color: transparent; color: var(--muted); }

/* responsive */
@media (max-width: 1280px) {
  .x-rating span { display: none; }
  .x-rating-drawer span { display: inline; }
}
@media (max-width: 1100px) {
  .x-games { grid-template-columns: repeat(4, 1fr); }
  .x-game-lg { grid-column: span 2; }
  .x-steps, .x-trust { grid-template-columns: repeat(2, 1fr); }
  .x-cart-grid { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
  .x-hero-copy, .x-pdp, .x-rv-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .x-rv-side { display: contents; }
  .x-rv-summary { order: 1; }
  .x-rv-list { order: 2; }
  .x-rv-form, .x-rv-intro { order: 3; }
  .x-gallery { position: static; }
  .x-catalog-btn, .x-nav, .x-hide-sm { display: none !important; }
  .x-burger { display: flex; }
}
@media (max-width: 767px) {
  body { font-size: 14px; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .x-wrap { padding: 0 14px; }
  .x-strip .x-wrap { justify-content: center; }
  .x-header-row { flex-wrap: wrap; gap: 10px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  .x-logo img { height: 34px; }
  .x-messengers { gap: 6px; margin-left: auto; }
  .x-rating { margin-left: auto; height: 40px; padding: 0 8px; gap: 4px; border-radius: 12px; }
  .x-rating b { font-size: 13px; }
  .x-header-row:has(.x-rating) { gap: 6px; }
  .x-header-row:has(.x-rating) .x-logo img { height: 30px; }
  .x-header-row:has(.x-rating) .x-cart { display: none; }
  .x-rating ~ .x-messengers { margin-left: 0; }
  .x-rating-drawer { margin: 14px 0; height: auto; padding: 12px 14px; gap: 8px; }
  .x-rating-drawer b { font-size: 16px; }
  .x-rv-pm-row { grid-template-columns: 1fr; }
  .x-messengers .x-icon-btn { width: 40px; height: 40px; font-size: 18px; }
  .x-burger { width: 40px; height: 40px; padding: 11px; }
  .x-search { order: 5; flex-basis: 100%; max-width: none; }
  .x-search kbd { display: none; }
  .x-cart-sum { display: none; }
  .x-cart { padding: 0 4px; height: 40px; margin-left: 0; }
  .x-hero { padding-top: 18px; }
  .x-hero-actions { flex-wrap: nowrap; }
  .x-hero-actions .x-btn { flex: 1; padding: 0 12px; height: 50px; font-size: 14px; }
  .x-slides { border-radius: 20px; }
  .x-slider { border-radius: 20px; }
  .x-stats div { flex: 1; min-width: 0; padding: 12px; }
  .x-stats dt { font-size: 18px; }
  .x-games { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 10px; }
  .x-game-lg { grid-column: span 2; grid-row: span 1; }
  .x-game-lg .x-game-name { font-size: 17px; }
  .x-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .x-rail { grid-auto-columns: 46%; gap: 10px; }
  .x-card-body { padding: 10px 12px 12px; gap: 8px; }
  .x-card-title { font-size: 13px; }
  .x-price span { font-size: 16px; }
  .x-card-btn { width: 40px; padding: 0; justify-content: center; }
  .x-card-btn span { display: none; }
  .x-card-foot { flex-wrap: nowrap; }
  .x-steps, .x-trust, .x-perks { grid-template-columns: 1fr; }
  .x-section { padding: 26px 0; }
  .x-section-head h2 { font-size: 22px; }
  .x-scroll-ctrl { display: none; }
  .x-choices { grid-template-columns: 1fr; }
  .x-buy-actions, .x-fast-row { grid-template-columns: 1fr; }
  .x-tab-panel { padding: 18px; }
  .x-tab-list { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .x-tab-list button { flex: none; padding: 0 14px; }
  .x-line { grid-template-columns: 64px 1fr auto; gap: 10px 12px; }
  .x-line img { width: 64px; height: 64px; }
  .x-line-info { grid-column: 2; }
  .x-line-qty { grid-column: 2; grid-row: 2; justify-self: start; }
  .x-line-sum { grid-column: 2; grid-row: 3; font-size: 16px; text-align: left; }
  .x-line form[action="/cart/remove"] { grid-column: 3; grid-row: 1; }
  .x-info { grid-template-columns: 1fr; }
  .x-info-side { position: static; }
  .x-page { padding: 20px 16px 24px; }
  .x-subbar, .x-subbar.is-solo { grid-template-columns: 1fr; }
  .x-cat-search { height: 50px; }
  .x-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: rgba(9, 21, 40, 0.92);
    backdrop-filter: blur(18px);
    border-top: 1px solid var(--stroke);
  }
  .x-tabbar a, .x-tabbar button { position: relative; display: grid; justify-items: center; gap: 2px; padding: 6px 0; border: 0; background: transparent; color: var(--muted); font-size: 11px; font-weight: 700; }
  .x-tabbar i { font-size: 19px; }
  .x-tabbar b { top: 0; right: calc(50% - 22px); }
  .page-product .x-sticky-buy {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(72px + env(safe-area-inset-bottom));
    z-index: 55;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px 10px 16px;
    border-radius: 18px;
    background: rgba(21, 40, 72, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(53, 155, 228, 0.4);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8);
    transform: translateY(150%);
    transition: transform .3s ease;
  }
  .page-product .x-sticky-buy.is-visible { transform: none; }
  .x-sticky-buy div { min-width: 0; display: grid; }
  .x-sticky-buy small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .x-sticky-buy b { font: 800 18px var(--display); color: var(--orange-2); }
}
@media (min-width: 768px) {
  .page-product .x-sticky-buy {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 55;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px 10px 10px 20px;
    border-radius: 20px;
    background: rgba(21, 40, 72, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(53, 155, 228, 0.4);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8);
    opacity: 0;
    pointer-events: none;
    transform: translateX(calc(100% + 40px));
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s;
  }
  .page-product .x-sticky-buy.is-visible { opacity: 1; pointer-events: auto; transform: none; }
  .x-sticky-buy div { display: grid; max-width: 320px; }
  .x-sticky-buy small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .x-sticky-buy b { font: 800 20px var(--display); color: var(--orange-2); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .x-reveal { opacity: 1; transform: none; }
  .x-slide-copy > * { opacity: 1; }
  .x-slide.active::after { display: none; }
}

.x-games > .x-game:nth-child(4):last-child { grid-column: span 2; }


/* error pages */
.x-error { padding-top: 34px; }
.x-error-card { position: relative; overflow: hidden; max-width: 860px; margin: 0 auto; padding: 56px 40px 40px; border-radius: 32px; text-align: center; background: radial-gradient(120% 90% at 50% 0%, rgba(53, 155, 228, .16), transparent 60%), linear-gradient(180deg, rgba(23, 41, 73, .9), rgba(12, 24, 45, .9)); border: 1px solid var(--stroke); box-shadow: var(--shadow); }
.x-error-card.is-server { background: radial-gradient(120% 90% at 50% 0%, rgba(47, 107, 255, .2), transparent 60%), linear-gradient(180deg, rgba(23, 41, 73, .9), rgba(12, 24, 45, .9)); }
.x-error-code { display: flex; justify-content: center; gap: .04em; margin-bottom: 18px; font: 900 clamp(96px, 18vw, 180px)/.9 var(--display); letter-spacing: -.04em; user-select: none; }
.x-error-code span { display: inline-block; background: linear-gradient(180deg, #98ccf1, #359be4 55%, #176ead); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 14px 40px rgba(53, 155, 228, .35)); animation: x-err-float 4.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s); }
.is-server .x-error-code span { background-image: linear-gradient(180deg, #b9ceff, #4f86ff 55%, #1d3fb0); filter: drop-shadow(0 14px 40px rgba(47, 107, 255, .35)); }
@keyframes x-err-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-2deg); } }
.x-error-card h1 { margin: 14px 0 10px; font: 800 clamp(26px, 4vw, 40px)/1.15 var(--display); }
.x-error-card > p { max-width: 560px; margin: 0 auto; color: var(--muted); font-size: 16px; }
.x-error-search { position: relative; display: flex; gap: 10px; max-width: 560px; margin: 28px auto 0; }
.x-error-search > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.x-error-search input { flex: 1; min-width: 0; height: 54px; padding: 0 16px 0 46px; border-radius: 16px; border: 1px solid var(--stroke); background: rgba(9, 21, 40, .75); color: #ffffff; font: inherit; }
.x-error-search input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(53, 155, 228, .15); }
.x-error-search .x-btn { height: 54px; padding: 0 26px; border-radius: 16px; }
.x-error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.x-error-help { margin-top: 26px !important; font-size: 14px !important; }
.x-error-help a { color: var(--orange-2); font-weight: 700; white-space: nowrap; }
.x-error-help a:hover { color: #ffffff; }
@media (max-width: 640px) {
  .x-error { padding-top: 16px; }
  .x-error-card { padding: 36px 18px 26px; border-radius: 24px; }
  .x-error-search .x-btn { padding: 0 16px; }
  .x-error-actions .x-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .x-error-code span { animation: none; } }

/* platform icons in options */
.x-oi { --oi: #359be4; --oi-on: #041019; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; font-size: 16px; line-height: 1; color: var(--oi); background: linear-gradient(145deg, color-mix(in srgb, var(--oi) 24%, transparent), color-mix(in srgb, var(--oi) 6%, transparent)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--oi) 32%, transparent); transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.x-oi .fa { width: 1em; font-size: 16px; line-height: 1; text-align: center; }
.x-oi.is-ios { --oi: #eef2fa; --oi-on: #101d35; }
.x-oi.is-android { --oi: #3ddc84; --oi-on: #06210f; }
.x-oi.is-blue { --oi: #5b95ff; --oi-on: #ffffff; }
.x-oi.is-purple { --oi: #b884ff; --oi-on: #ffffff; }
.x-oi.is-gold { --oi: #ffc94d; --oi-on: #051825; }
.x-oi.is-green { --oi: #2fd17c; --oi-on: #04210f; }
.x-oi.is-red { --oi: #ff5d6c; --oi-on: #ffffff; }
.x-oi.is-warn { --oi: #3a9ee5; --oi-on: #051825; }
.x-choice:hover .x-oi { transform: scale(1.06); }
.x-choice input:checked + .x-choice-box .x-oi { color: var(--oi-on); background: linear-gradient(145deg, var(--oi), color-mix(in srgb, var(--oi) 70%, #000000)); box-shadow: 0 4px 14px color-mix(in srgb, var(--oi) 35%, transparent); }
@media (max-width: 520px) { .x-oi { width: 28px; height: 28px; border-radius: 9px; } .x-oi .fa { font-size: 14px; } }

/* stock */
.x-meta .x-out { color: #ff6b7a; border-color: rgba(255, 93, 108, .35); background: rgba(255, 93, 108, .1); }
.x-btn-out, .x-btn-out:hover { flex: 1; color: #ff9aa5; background: rgba(255, 93, 108, .1); border: 1px dashed rgba(255, 93, 108, .4); box-shadow: none; cursor: not-allowed; transform: none; }
.x-card-out { opacity: .72; }
.x-card-out .x-card-media img { filter: grayscale(.6); }
.x-card-soldout { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 3; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #ffffff; background: rgba(9, 21, 40, .82); border: 1px solid rgba(255, 93, 108, .5); white-space: nowrap; }
.x-buy-actions .x-btn-out { grid-column: 1 / -1; width: 100%; }
.x-oi.is-dark { --oi: #93a4c3; --oi-on: #93a4c3; background: #081120; box-shadow: inset 0 0 0 1px rgba(148, 178, 230,.22); }
.x-oi.is-plain { --oi: #359be4; background: transparent; box-shadow: none; }
.x-oi.is-img img { display: block; width: 22px; height: 22px; object-fit: contain; }
.x-oi.is-img.is-plain img { width: 32px; height: 32px; }
.x-opt legend .x-opt-ico { width: 30px; height: 30px; border-radius: 9px; font-style: normal; }
.x-choice input:checked + .x-choice-box .x-oi.is-plain { background: transparent; box-shadow: none; transform: scale(1.08); }
.x-choice input:checked + .x-choice-box .x-oi.is-dark { background: #081120; box-shadow: inset 0 0 0 1px var(--orange), 0 4px 14px rgba(53, 155, 228,.25); }
.x-choices.has-icons .x-choice-mark { display: none; }
.x-choices.has-icons .x-choice-box { gap: 12px; }
@media (max-width: 520px) { .x-oi.is-img img { width: 18px; height: 18px; } .x-oi.is-img.is-plain img { width: 28px; height: 28px; } }
.x-choice-price.is-total { color: #dfe7f5; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.x-choice input:checked + .x-choice-box .x-choice-price.is-total { color: var(--orange-2); }
.x-cat-about { margin: 34px 0 10px; padding: 24px 26px 18px; border-radius: 18px; background: linear-gradient(180deg, rgba(28, 47, 81, .55), rgba(17, 31, 55, .35)); border: 1px solid rgba(148, 178, 230, .1); }
.x-cat-about h2 { margin: 0 0 12px; font-size: 18px; }
.x-cat-about-text { color: #aab8cf; font-size: 14px; line-height: 1.7; }
.x-cat-about-text :is(h1, h2, h3, h4) { margin: 1em 0 .4em; font-size: 15px; color: #e6ecf7; }
.x-cat-about-text img { max-width: 100%; height: auto; border-radius: 10px; }
.x-cat-about-text.is-clipped { max-height: 190px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000000 60%, transparent); mask-image: linear-gradient(180deg, #000000 60%, transparent); }
.x-cat-about-text.is-clipped.is-open { max-height: none; -webkit-mask-image: none; mask-image: none; }
.x-cat-about-more { margin-top: 10px; padding: 7px 14px; border-radius: 10px; border: 1px solid rgba(148, 178, 230, .18); background: rgba(255, 255, 255, .03); color: #dfe7f5; font: 600 13px/1 inherit; cursor: pointer; }
.x-cat-about-more:hover { border-color: var(--orange); color: #ffffff; }
@media (max-width: 720px) { .x-cat-about { margin-top: 24px; padding: 18px 16px 14px; border-radius: 14px; } .x-cat-about-text { font-size: 13.5px; } }

/* blog */
.x-blog-hero {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin: 8px 0 18px; padding: 22px 24px;
  border-radius: var(--radius); border: 1px solid var(--stroke);
  background:
    radial-gradient(520px 180px at 100% 0%, rgba(53, 155, 228, .18), transparent 60%),
    linear-gradient(160deg, rgba(29, 56, 102, .9), rgba(15, 31, 58, .92));
}
.x-blog-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px;
  color: var(--orange-2); font: 700 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
}
.x-blog-hero h1 { margin: 0; font: 800 clamp(28px, 4vw, 40px)/1.1 var(--display); letter-spacing: -.02em; }
.x-blog-lead { margin: 10px 0 0; max-width: 42ch; color: var(--muted); font-size: 15px; }
.x-blog-hero-meta {
  flex: none; min-width: 92px; padding: 14px 16px; border-radius: 16px; text-align: center;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--stroke);
}
.x-blog-hero-meta b { display: block; font: 800 28px/1 var(--display); color: #ffffff; }
.x-blog-hero-meta span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }

.x-blog-filters {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0;
  align-items: stretch;
}
.x-blog-filter {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px 8px 8px; border-radius: 14px;
  border: 1px solid var(--stroke); background: rgba(255, 255, 255,.03); color: var(--text);
  font: 600 13px/1 var(--font); transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.x-blog-filter img {
  width: 28px; height: 28px; border-radius: 8px; object-fit: cover;
  background: rgba(0, 0, 0,.25); border: 1px solid rgba(255, 255, 255,.08);
}
.x-blog-filter .fa {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(53, 155, 228,.12); color: var(--orange-2); font-size: 13px;
}
.x-blog-filter-name { white-space: nowrap; }
.x-blog-filter-count {
  min-width: 1.6em; padding: 3px 7px; border-radius: 999px; text-align: center;
  font: 700 11px/1 var(--font); color: var(--muted); background: rgba(255, 255, 255,.05);
}
.x-blog-filter:hover { border-color: var(--stroke-hi); color: #ffffff; transform: translateY(-1px); }
.x-blog-filter.is-on {
  border-color: rgba(53, 155, 228, .55);
  background: linear-gradient(135deg, rgba(53, 155, 228,.22), rgba(53, 155, 228,.08));
  color: #ffffff; box-shadow: 0 10px 28px -18px rgba(53, 155, 228,.8);
}
.x-blog-filter.is-on .x-blog-filter-count {
  color: #091219; background: var(--orange-2);
}

.x-blog-stage { margin: 0 0 30px; overflow: hidden; }
.x-blog-stage.is-static { overflow: visible; }
.x-blog-stage.is-static .x-blog-cover.is-solo { margin-bottom: 0; }
.x-blog-stage-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 14px;
}
.x-blog-stage-kicker {
  margin: 0 0 4px; color: var(--orange-2); font: 700 11px/1 var(--font);
  letter-spacing: .1em; text-transform: uppercase;
}
.x-blog-stage-head h2 { margin: 0; font: 800 clamp(22px, 3vw, 28px)/1.15 var(--display); letter-spacing: -.02em; }
.x-blog-stage-meta { display: flex; align-items: center; gap: 12px; }
.x-blog-stage-meta > span {
  font: 700 13px/1 var(--font); color: var(--muted); letter-spacing: .06em; font-variant-numeric: tabular-nums;
}
.x-blog-stage-ctrl { display: flex; gap: 8px; }
.x-blog-stage-ctrl button {
  width: 42px; height: 42px; border-radius: 14px; border: 1px solid var(--stroke);
  background: rgba(255, 255, 255,.04); color: #ffffff; font-size: 18px; cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.x-blog-stage-ctrl button:hover { border-color: var(--orange); color: var(--orange-2); background: rgba(53, 155, 228,.1); }

.x-blog-stage-view {
  position: relative; height: clamp(320px, 42vw, 460px);
  perspective: 1400px; overflow: visible;
}
.x-blog-deck { position: relative; width: 100%; height: 100%; }
.x-blog-cover {
  --d: 0; --abs: 0;
  position: absolute; inset: 0; display: block; overflow: hidden; color: #ffffff;
  border-radius: calc(var(--radius) + 4px); border: 1px solid rgba(255, 255, 255,.08);
  background: #0f1d35; box-shadow: 0 28px 60px -36px rgba(0, 0, 0,.9);
  transform:
    translateX(calc(var(--d) * 18%))
    scale(calc(1 - (var(--abs) * .08)))
    rotateY(calc(var(--d) * -8deg));
  opacity: calc(1 - (var(--abs) * .38));
  filter: saturate(calc(1 - (var(--abs) * .25)));
  transition: transform .65s cubic-bezier(.22,.8,.28,1), opacity .45s ease, filter .45s ease, box-shadow .45s ease;
  pointer-events: none;
}
.x-blog-cover.is-active {
  pointer-events: auto;
  box-shadow:
    0 0 0 1px rgba(53, 155, 228,.28),
    0 34px 70px -28px rgba(0, 0, 0,.95),
    0 0 48px -18px rgba(53, 155, 228,.35);
}
.x-blog-cover.is-far { opacity: 0; pointer-events: none; }
.x-blog-cover.is-solo {
  position: relative; inset: auto; margin: 0 0 28px; min-height: clamp(300px, 40vw, 420px);
  transform: none; opacity: 1; filter: none; pointer-events: auto;
}
.x-blog-cover-media {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(53, 155, 228,.08); color: var(--orange-2); font-size: 56px; overflow: hidden;
}
.x-blog-cover-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04); transition: transform 1.1s ease;
}
.x-blog-cover.is-active .x-blog-cover-media img,
.x-blog-cover.is-solo:hover .x-blog-cover-media img { transform: scale(1.1); }
.x-blog-cover-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 17, 32,.88) 0%, rgba(8, 17, 32,.55) 42%, rgba(8, 17, 32,.18) 70%, transparent 100%),
    linear-gradient(180deg, transparent 28%, rgba(8, 17, 32,.55) 62%, rgba(8, 17, 32,.92) 100%);
}
.x-blog-cover-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  max-width: min(560px, 92%); padding: 28px 30px 30px;
}
.x-blog-cover-body b {
  font: 800 clamp(22px, 3.2vw, 34px)/1.15 var(--display); letter-spacing: -.025em;
  text-shadow: 0 10px 30px rgba(0, 0, 0,.55);
}
.x-blog-cover-body .x-blog-excerpt {
  color: rgba(220, 230, 245,.82); font-size: 15px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.x-blog-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.x-blog-tag {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  font: 700 11px/1 var(--font); letter-spacing: .04em; text-transform: uppercase;
  background: rgba(53, 155, 228, .2); color: #b2d9f5; border: 1px solid rgba(53, 155, 228, .45);
  backdrop-filter: blur(8px);
}
.x-blog-tag.is-hot { background: rgba(53, 155, 228,.35); color: #ffffff; }
.x-blog-tags time {
  font-size: 13px; color: rgba(220, 230, 245,.7);
  text-shadow: 0 2px 8px rgba(0, 0, 0,.5);
}
.x-blog-excerpt { color: var(--muted); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.x-blog-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 2px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(53, 155, 228,.92); color: #091219;
  font: 800 13px/1 var(--font); transition: transform .2s, background .2s;
}
.x-blog-cover.is-active:hover .x-blog-more,
.x-blog-cover.is-solo:hover .x-blog-more { transform: translateX(3px); background: #ffffff; }
.x-blog-more .fa { margin-left: 2px; }

.x-blog-stage-foot { margin-top: 14px; display: grid; gap: 12px; }
.x-blog-progress {
  height: 3px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255,.08);
}
.x-blog-progress i {
  display: block; width: 100%; height: 100%; transform-origin: left center; transform: scaleX(0);
  background: linear-gradient(90deg, var(--orange), #7abded); border-radius: inherit;
}
.x-blog-thumbs {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.x-blog-thumb {
  width: 64px; height: 40px; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 1px solid transparent; background: rgba(255, 255, 255,.04);
  opacity: .55; transition: opacity .2s, border-color .2s, transform .2s;
}
.x-blog-thumb img, .x-blog-thumb span { width: 100%; height: 100%; object-fit: cover; display: block; }
.x-blog-thumb span { background: rgba(53, 155, 228,.2); }
.x-blog-thumb:hover { opacity: .9; transform: translateY(-1px); }
.x-blog-thumb.is-on {
  opacity: 1; border-color: rgba(53, 155, 228,.7);
  box-shadow: 0 0 0 1px rgba(53, 155, 228,.25);
}

.x-blog-section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 4px 0 14px;
}
.x-blog-section-head h2 { margin: 0; font: 800 20px/1.2 var(--display); letter-spacing: -.01em; }
.x-blog-clear { color: var(--orange-2); font: 600 13px/1 var(--font); }
.x-blog-clear:hover { color: #ffffff; }

.x-blog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.x-post {
  display: flex; flex-direction: column; gap: 0; overflow: hidden; padding: 0;
  border-radius: 18px; background: var(--surface); border: 1px solid var(--stroke);
  transition: border-color .2s, transform .2s, box-shadow .2s; color: var(--text);
}
.x-post:hover { border-color: var(--stroke-hi); transform: translateY(-3px); box-shadow: 0 16px 36px -22px rgba(0, 0, 0,.75); color: #ffffff; }
.x-post-img {
  flex: none; width: 100%; aspect-ratio: 16 / 10; border-radius: 0; overflow: hidden;
  display: grid; place-items: center; background: rgba(53, 155, 228, 0.12); color: var(--orange-2); font-size: 34px;
}
.x-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.x-post:hover .x-post-img img { transform: scale(1.05); }
.x-post-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 14px 16px 16px; }
.x-post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.x-post-game {
  display: inline-flex; padding: 3px 8px; border-radius: 999px;
  font: 700 10px/1 var(--font); letter-spacing: .04em; text-transform: uppercase;
  color: var(--orange-2); border: 1px solid rgba(53, 155, 228,.3); background: rgba(53, 155, 228,.1);
}
.x-post-body time, .x-post-nodate { font-size: 12px; color: var(--muted); }
.x-post-nodate {
  display: inline-flex; padding: 3px 8px; border-radius: 999px;
  border: 1px solid var(--stroke); background: rgba(255, 255, 255,.03);
}
.x-post-body b { font-size: 16px; line-height: 1.3; font-weight: 800; }
.x-post-body > span:last-child {
  font-size: 13px; color: var(--muted); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.x-article-head { margin-bottom: 8px; }
.x-article-date { display: inline-block; margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.x-article-head h1 { margin: 0 0 8px; }
.x-article-cover { margin: 8px 0 18px; }
.x-article img { max-width: 100%; height: auto; border-radius: 12px; }
.x-article-back { margin: 18px 0 0; }
.x-shot { margin: 12px 0 18px; }
@media (max-width: 980px) {
  .x-blog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-blog-stage-view { height: clamp(300px, 58vw, 400px); }
  .x-blog-cover {
    transform:
      translateX(calc(var(--d) * 10%))
      scale(calc(1 - (var(--abs) * .06)));
  }
  .x-blog-cover-body { max-width: 100%; padding: 20px 18px 18px; }
  .x-blog-cover-body .x-blog-excerpt { -webkit-line-clamp: 2; }
}
@media (max-width: 640px) {
  .x-blog { grid-template-columns: 1fr; }
  .x-blog-hero { flex-direction: column; align-items: stretch; padding: 18px; }
  .x-blog-hero-meta { align-self: flex-start; }
  .x-blog-filters { gap: 6px; }
  .x-blog-filter { padding: 7px 10px 7px 7px; }
  .x-blog-filter-name { font-size: 12px; }
  .x-blog-stage-head { align-items: center; }
  .x-blog-stage-view { height: 360px; }
  .x-blog-cover {
    transform: translateX(calc(var(--d) * 6%)) scale(calc(1 - (var(--abs) * .04)));
  }
  .x-blog-cover.is-side { opacity: .35; }
  .x-blog-cover-body b { font-size: 22px; }
  .x-blog-thumb { width: 52px; height: 34px; }
}
/* auto-delivery */
.x-meta .x-auto { color: #98ccf1; border-color: rgba(88, 173, 233, .4); background: rgba(53, 155, 228, .1); }
.x-goods { margin: 22px 0 8px; padding: 18px; border-radius: var(--radius-sm); background: rgba(9, 21, 40, .6); border: 1px solid var(--stroke-hi); text-align: left; }
.x-goods-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.x-goods-head h2 { margin: 0; font-size: 18px; }
.x-goods-head h2 .fa { color: var(--orange); }
.x-goods-actions { display: flex; gap: 8px; }
.x-goods-actions .x-btn, .x-done .x-goods-actions .x-btn { margin: 0; padding: 7px 12px; font-size: 13px; }
.x-good + .x-good { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--stroke); }
.x-good-name { display: block; margin-bottom: 8px; }
.x-good-hint { margin: 8px 0 0; color: var(--muted); font-size: 13px; white-space: pre-wrap; }
.x-unit { display: flex; align-items: center; gap: 6px; margin-top: 6px; padding: 6px 6px 6px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--stroke); }
.x-unit code { flex: 1; min-width: 0; font-family: ui-monospace, Consolas, monospace; font-size: 14px; color: #cfe0ff; overflow-wrap: anywhere; white-space: pre-wrap; background: none; }
.x-unit.is-open { border-color: rgba(47, 209, 124, .4); background: rgba(47, 209, 124, .07); }
.x-unit.is-open code { color: #ffffff; }
.x-unit.is-wait { padding: 10px 12px; color: var(--orange-2); font-size: 13px; }
.x-unit-btn { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--stroke); background: rgba(255, 255, 255, .06); color: #ffffff; cursor: pointer; }
.x-unit-btn:hover { border-color: var(--stroke-hi); color: var(--orange-2); }
.x-unit-btn[hidden] { display: none; }
.x-goods-note { margin: 12px 0 0; font-size: 13px; }

/* add to cart: flight + toast */
.x-fly { position: fixed; z-index: 200; pointer-events: none; will-change: transform; }
.x-fly img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; border: 2px solid var(--orange); box-shadow: 0 18px 40px -10px rgba(53, 155, 228, .7), 0 0 0 6px rgba(53, 155, 228, .15); will-change: transform, opacity; }
.x-cart-hit { animation: x-cart-hit .6s cubic-bezier(.3, 1.6, .5, 1); }
.x-cart-hit::after { content: ""; position: absolute; inset: -4px; border-radius: 14px; border: 2px solid var(--orange); animation: x-cart-ring .7s ease-out forwards; pointer-events: none; }
.x-cart-hit [data-cart-count] { animation: x-cart-count .5s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes x-cart-hit { 0% { transform: scale(1); } 35% { transform: scale(1.28) rotate(-8deg); } 65% { transform: scale(.92) rotate(4deg); } 100% { transform: none; } }
@keyframes x-cart-ring { from { opacity: .9; transform: scale(.8); } to { opacity: 0; transform: scale(1.7); } }
@keyframes x-cart-count { 0% { transform: scale(.4); } 60% { transform: scale(1.35); } 100% { transform: none; } }
.x-btn.is-busy, .x-card-btn.is-busy { opacity: .75; cursor: progress; }
.x-btn.is-added, .x-card-btn.is-added { background: linear-gradient(135deg, #34d67f, #1fae62); color: #04170c; box-shadow: 0 10px 26px -10px rgba(47, 209, 124, .8); }
.x-toast { position: fixed; right: 24px; bottom: 24px; z-index: 210; display: flex; align-items: center; gap: 14px; width: min(400px, calc(100vw - 32px)); padding: 12px; border-radius: 18px; background: rgba(17, 34, 63, .96); border: 1px solid var(--stroke-hi); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .8); backdrop-filter: blur(16px); opacity: 0; transform: translateY(16px) scale(.96); pointer-events: none; transition: opacity .25s ease, transform .35s cubic-bezier(.2, 1.3, .4, 1); }
.x-toast.is-on { opacity: 1; transform: none; pointer-events: auto; }
.x-toast.is-warn { border-color: rgba(255, 93, 108, .5); }
.x-toast-media { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: rgba(47, 209, 124, .14); color: var(--green); font-size: 20px; }
.x-toast.is-warn .x-toast-media { background: rgba(255, 93, 108, .14); color: #ff6b7a; }
.x-toast-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.x-toast-body b { font-size: 14px; color: #ffffff; }
.x-toast-body span { color: var(--muted); font-size: 13px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.x-toast .x-btn { flex: none; height: 40px; margin: 0; padding: 0 14px; font-size: 13px; }
@media (max-width: 760px) {
  .x-toast { left: 12px; right: 12px; top: calc(66px + env(safe-area-inset-top)); bottom: auto; width: auto; transform: translateY(-16px) scale(.96); }
  .x-toast.is-on { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .x-cart-hit, .x-cart-hit::after, .x-cart-hit [data-cart-count] { animation: none; }
  .x-toast { transition: opacity .2s; transform: none; }
}

/* iOS zooms into inputs with text under 16px */
@media (max-width: 767px) { input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px; } }

/* option promo tiles */
.x-choice-box { position: relative; }
.x-choice-name { display: flex; flex-direction: column; justify-content: center; gap: 1px; min-width: 0; }
.x-choice-name b { font: 800 15px/1.15 var(--display); color: #ffffff; white-space: nowrap; letter-spacing: -.01em; }
.x-choice-name small { font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--muted); }
.x-choice-price.is-total { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 2px; line-height: 1.1; }
.x-choice-price.is-total b { font-size: 15px; font-weight: 800; }
.x-choice-price.is-total s { margin: 0; font-size: 12px; font-weight: 600; color: var(--muted); opacity: .85; text-decoration-color: rgba(255, 77, 94, .8); }
.x-choice-price.is-total.is-sale b { color: #5dafe9; }
.x-choice.is-sale .x-choice-box { border-color: rgba(53, 155, 228, .38); background: linear-gradient(135deg, rgba(53, 155, 228, .09), rgba(9, 21, 40, .5) 55%); }
.x-choice-off {
  position: absolute; top: -9px; right: 10px; padding: 2px 8px; border-radius: 999px;
  background: linear-gradient(135deg, #ff4d5e, #359be4); color: #ffffff; font: 800 11px/1.35 var(--font); font-style: normal;
  letter-spacing: .02em; box-shadow: 0 4px 12px rgba(255, 77, 94, .35); pointer-events: none;
}
.x-choices:has(.x-choice-off) { row-gap: 14px; padding-top: 6px; }

/* promo countdown: product page */
@property --deal-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes deal-spin { to { --deal-a: 360deg; } }
@keyframes deal-pulse { 0% { box-shadow: 0 0 0 0 rgba(65, 161, 230, .55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(65, 161, 230, 0); } }
@keyframes deal-flame { from { transform: scale(1) rotate(-5deg); } to { transform: scale(1.14) rotate(5deg); } }
@keyframes deal-stripes { to { background-position: 17px 0, 0 0; } }
@keyframes deal-blink { 50% { opacity: .2; } }
@keyframes fd-top { from { transform: rotateX(0); } to { transform: rotateX(-90deg); } }
@keyframes fd-bottom { from { transform: rotateX(90deg); } to { transform: rotateX(0); } }
@keyframes cp-tick { from { transform: translateY(-75%); opacity: 0; } to { transform: none; opacity: 1; } }

.x-deal {
  position: relative; isolation: isolate; container-type: inline-size; margin: 0 0 16px; padding: 14px 16px 12px; border-radius: 18px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 61, 90, .22), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(53, 155, 228, .18), transparent 55%),
    #0f1b2f;
  box-shadow: 0 10px 30px rgba(65, 161, 230, .16), 0 0 0 1px rgba(53, 155, 228, .12) inset;
}
.x-deal::before {
  content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; pointer-events: none; z-index: 0;
  background: conic-gradient(from var(--deal-a), #ff3d5a, #359be4, #98ccf1, transparent 40%, transparent 60%, #359be4, #ff3d5a);
  -webkit-mask: linear-gradient(#000000 0 0) content-box, linear-gradient(#000000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000000 0 0) content-box exclude, linear-gradient(#000000 0 0);
  animation: deal-spin 4s linear infinite;
}
.x-deal > * { position: relative; z-index: 1; }
.x-deal-head { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.x-deal-ico {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #ffffff; font-size: 18px;
  background: radial-gradient(circle at 35% 30%, #98ccf1, #359be4 45%, #ff3d5a); animation: deal-pulse 1.8s ease-out infinite;
}
.x-deal-ico i, .x-cp-off .fa { transform-origin: 50% 90%; animation: deal-flame .9s ease-in-out infinite alternate; }
.x-deal-title { display: grid; min-width: 0; line-height: 1.2; }
.x-deal-title b { font: 800 15px/1.25 var(--display); background: linear-gradient(90deg, #ffffff, #98ccf1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-deal-title small { font-size: 12px; font-weight: 600; color: var(--muted); }
.x-deal-off {
  margin-left: auto; padding: 7px 11px; border-radius: 11px; font: 800 16px/1 var(--display); font-style: normal; color: #ffffff; white-space: nowrap;
  background: linear-gradient(135deg, #ff3d5a, #359be4); box-shadow: 0 6px 18px rgba(255, 61, 90, .42); transform: rotate(-3deg);
}
.x-deal-off[hidden] { display: none; }

.x-flip { --fw: clamp(22px, 7.4cqi, 40px); display: flex; justify-content: center; align-items: flex-start; gap: calc(var(--fw) * .2); }
.x-flip-group { display: grid; justify-items: center; gap: 7px; }
.x-flip-group[hidden], .x-flip-sep[hidden] { display: none; }
.x-flip-digits { display: flex; gap: calc(var(--fw) * .1); }
.x-flip-group small { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.x-flip-sep { display: flex; flex-direction: column; justify-content: center; gap: calc(var(--fw) * .34); height: calc(var(--fw) * 1.4); font-style: normal; }
.x-flip-sep::before, .x-flip-sep::after {
  content: ""; width: calc(var(--fw) * .14); aspect-ratio: 1; border-radius: 50%; background: #359be4; box-shadow: 0 0 8px #359be4;
  animation: deal-blink 1s steps(1) infinite;
}
.x-fd {
  --fh: calc(var(--fw) * 1.4); --fr: calc(var(--fw) * .2);
  position: relative; display: block; width: var(--fw); height: var(--fh); perspective: calc(var(--fw) * 8); border-radius: var(--fr);
  font: 800 calc(var(--fh) * .64)/1 var(--font); font-variant-numeric: tabular-nums; color: #ffffff; text-shadow: 0 0 14px rgba(53, 155, 228, .45);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06);
}
.x-fd > span { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; text-align: center; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.x-fd-t, .x-fd-ft { top: 0; line-height: var(--fh); border-radius: var(--fr) var(--fr) 0 0; background: linear-gradient(180deg, #2b3652, #26344e); }
.x-fd-b, .x-fd-fb { bottom: 0; line-height: 0; border-radius: 0 0 var(--fr) var(--fr); background: linear-gradient(180deg, #1e2b41, #101b2d); color: #e9edf6; }
.x-fd-ft { z-index: 2; transform-origin: 50% 100%; }
.x-fd-fb { z-index: 2; transform-origin: 50% 0; transform: rotateX(90deg); }
.x-fd.go .x-fd-ft { animation: fd-top .3s ease-in both; }
.x-fd.go .x-fd-fb { animation: fd-bottom .3s ease-out .3s both; }
.x-fd::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; z-index: 3; height: 2px; margin-top: -1px; background: rgba(0, 0, 0, .6); }

.x-deal-bar { height: 6px; margin-top: 14px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.x-deal-bar[hidden] { display: none; }
.x-deal-bar span {
  display: block; height: 100%; border-radius: inherit; transition: width 1s linear;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .2) 0 6px, transparent 6px 12px), linear-gradient(90deg, #ff3d5a, #359be4, #98ccf1);
  background-size: 17px 17px, 100% 100%; box-shadow: 0 0 12px rgba(53, 155, 228, .6); animation: deal-stripes .8s linear infinite;
}
.x-deal-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.x-deal-foot i { margin-right: 4px; color: #359be4; }
.x-deal.is-hot::before { animation-duration: 1.6s; }
.x-deal.is-hot .x-fd { color: #ffe1e5; text-shadow: 0 0 16px rgba(255, 61, 90, .7); }
.x-deal.is-hot .x-flip-sep::before, .x-deal.is-hot .x-flip-sep::after { background: #ff3d5a; box-shadow: 0 0 8px #ff3d5a; }

/* promo countdown: catalog cards */
.x-card-promo {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2; isolation: isolate; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px;
  padding: 4px; border-radius: 12px; border: 1px solid rgba(53, 155, 228, .45);
  background: linear-gradient(180deg, rgba(28, 40, 60, .88), rgba(12, 20, 34, .92)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 20px rgba(0, 0, 0, .45), 0 0 16px -3px rgba(65, 161, 230, .55);
}
.x-card-promo[hidden] { display: none; }
.x-card-promo > * { position: relative; z-index: 1; }
.x-cp-off {
  display: inline-flex; align-items: center; gap: 4px; padding: 5px 7px; border-radius: 8px; white-space: nowrap;
  font: 800 11.5px/1 var(--font); color: #ffffff; background: linear-gradient(135deg, #ff3d5a, #359be4); box-shadow: 0 0 12px rgba(255, 61, 90, .45);
}
.x-cp-time { display: flex; gap: 3px; }
.x-cp-time:empty { display: none; }
.x-cp-time i {
  display: inline-flex; align-items: baseline; justify-content: center; gap: 1px; min-width: 22px; padding: 4px 4px; border-radius: 6px; overflow: hidden;
  font-style: normal; background: linear-gradient(180deg, #27324b, #18253b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.x-cp-time b { display: inline-block; font: 800 12px/1 var(--font); font-variant-numeric: tabular-nums; color: #ffffff; }
.x-cp-time b.tick { animation: cp-tick .35s ease-out; }
.x-cp-time small { font-size: 9px; font-weight: 800; color: #5dafe9; }
.x-cp-time [data-k="s"] b { color: #98ccf1; }
.x-card-promo.is-hot { border-color: rgba(255, 61, 90, .6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 20px rgba(0, 0, 0, .45), 0 0 18px -2px rgba(255, 61, 90, .6); }
.x-card-promo.is-hot .x-cp-time b { color: #ff9aa8; }
.x-price span.is-sale { color: #5dafe9; font-size: clamp(14px, 7.4cqi, 18px); }
.x-price span.is-sale small { margin-right: 1px; }
@container (max-width: 250px) {
  .x-card-foot:has(.is-sale) .x-card-btn { gap: 5px; padding: 0 9px; font-size: 12px; }
}

@media (max-width: 480px) {
  .x-deal { padding: 12px 12px 10px; }
  .x-deal-ico { width: 32px; height: 32px; font-size: 15px; }
  .x-deal-title b { font-size: 13px; }
  .x-deal-off { font-size: 14px; padding: 6px 9px; }
  .x-card-promo { left: 6px; right: 6px; bottom: 6px; justify-content: center; padding: 3px; }
  .x-cp-off { font-size: 10.5px; padding: 4px 6px; }
  .x-cp-time i { min-width: 19px; padding: 3px; }
  .x-cp-time b { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .x-deal::before, .x-deal-ico, .x-deal-ico i, .x-cp-off .fa, .x-deal-bar span, .x-flip-sep::before, .x-flip-sep::after, .x-cp-time b.tick { animation: none; }
  .x-fd.go .x-fd-ft, .x-fd.go .x-fd-fb { animation-duration: .01s; animation-delay: 0s; }
}
@container (max-width: 360px) {
  .x-deal-head { gap: 8px; }
  .x-deal-title small { display: none; }
  .x-deal-title b { font-size: 12.5px; }
  .x-deal-off { padding: 5px 7px; font: 800 13px/1 var(--font); transform: none; }
}

/* promo cards: running gradient outline */
@keyframes promo-glow { 50% { box-shadow: 0 0 0 1px rgba(53, 155, 228, .25), 0 18px 44px -18px rgba(65, 161, 230, .75); } }
.x-card.is-promo { border-color: transparent; box-shadow: 0 0 0 1px rgba(53, 155, 228, .12), 0 14px 36px -20px rgba(65, 161, 230, .5); animation: promo-glow 2.6s ease-in-out infinite; }
.x-card.is-promo::after {
  content: ""; position: absolute; inset: 0; z-index: 4; padding: 2px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--deal-a), #ff3d5a, #359be4, #98ccf1, transparent 30%, transparent 70%, #359be4, #ff3d5a);
  -webkit-mask: linear-gradient(#000000 0 0) content-box, linear-gradient(#000000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000000 0 0) content-box exclude, linear-gradient(#000000 0 0);
  animation: deal-spin 4s linear infinite;
}
.x-card.is-promo:has(.x-card-promo.is-hot)::after { animation-duration: 1.8s; }
.x-card.is-promo:hover { border-color: transparent; }
@media (prefers-reduced-motion: reduce) {
  .x-card.is-promo, .x-card.is-promo::after { animation: none; }
}


/* ---- game-gold ---- */
/* GAME-GOLD · «Королевская битва»: chrome, home page and type on top of the recoloured engine styles. */
:root {
  --gf-pale: #eaf4fd; --gf-sky: #4aa8f0; --gf-sky-2: #a8dcff; --gf-steel: #5274a6; --gf-navy: #0f2245; --gf-navy-2: #173263; --gf-ink: #0a1830;
  --gf-smoke: #8a94a2; --gf-smoke-2: #c7d0db; --gf-gold: #ffcf4a;
  --font: "Rubik", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Oswald", "Rubik", "Segoe UI", sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --wrap: 1220px;
}

body {
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 2px, transparent 2px 26px), linear-gradient(180deg, #163f7c 0%, #2b6fc0 45%, #78c0f3 100%) fixed;
  padding-bottom: 0;
}
body::before { display: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .01em; }
.gf-fn { font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase; }
.gf-coin { height: 1em; width: auto; flex: none; vertical-align: -.12em; filter: drop-shadow(0 1px 1px rgba(0,0,0,.35)); }

/* engine buttons get the game look */
.x-btn { border-radius: 4px; font-family: var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .02em; }
.x-btn-primary { color: var(--gf-navy) !important; background: linear-gradient(180deg, #fff, #cfeaff) !important; box-shadow: 0 5px 0 #6f9fd3 !important; }
.x-btn-primary:hover { transform: translateY(-2px); }
.x-btn-primary:active { transform: translateY(3px); box-shadow: 0 2px 0 #6f9fd3 !important; }

/* ---------- boxed shell ---------- */
.gf-shell { width: calc(100% - 40px); max-width: 1280px; margin: 28px auto 40px; background: var(--bg); border: 3px solid #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(5,20,50,.5); }
.gf-shell .x-main { min-height: 50vh; padding: 28px 0 46px; }
body.gf-home .gf-shell { background: var(--gf-pale); }
body.gf-home .x-main { padding: 0; color: var(--gf-navy); }

/* ---------- top bar ---------- */
.gf-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 18px; height: 66px; padding: 0 18px; color: #fff; background: linear-gradient(180deg, #16325f, var(--gf-navy)); border-bottom: 3px solid rgba(255,255,255,.12); border-radius: 15px 15px 0 0; }
.gf-brand { position: relative; z-index: 2; display: flex; align-items: center; }
.gf-brand img { height: 108px; width: auto; margin: -34px 0 -30px -6px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); transition: transform .2s; }
.gf-brand:hover img { transform: rotate(-3deg) scale(1.04); }
.gf-brand .gf-mini { display: none; }
.gf-tabs { display: flex; margin: 0 auto; height: 100%; }
.gf-tabs a, .gf-tabs button { position: relative; display: flex; align-items: center; padding: 0 18px; font-family: var(--display); font-weight: 700; font-style: italic; font-size: 20px; text-transform: uppercase; color: #8fb2dd; background: none; border: 0; transition: color .2s; }
.gf-tabs a:hover, .gf-tabs a:focus, .gf-tabs button:hover, .gf-tabs .on { color: #fff; }
.gf-tabs .on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -3px; height: 5px; background: #fff; transform: skewX(-20deg); box-shadow: 0 0 14px var(--gf-sky); }
.gf-right { display: flex; align-items: center; gap: 10px; }
.gf-ibtn { width: 42px; height: 42px; display: grid; place-items: center; padding: 0; color: #fff; background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.18); border-radius: 8px; transition: background .2s; }
.gf-ibtn:hover, .gf-ibtn:focus { color: #fff; background: rgba(255,255,255,.2); }
.gf-ibtn svg { width: 20px; height: 20px; }
.gf-burger { display: none; }
.gf-drawer-title { font-size: 24px; color: #fff; }

/* header search */
.gf-find { position: relative; flex: 1 1 250px; min-width: 150px; max-width: 280px; height: 44px; }
.gf-find::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #fff, #cfeaff); transform: skewX(-10deg); box-shadow: 0 4px 0 #6f9fd3, 0 8px 18px rgba(0,0,0,.25); transition: box-shadow .2s, transform .15s; }
.gf-find:hover::before { transform: skewX(-10deg) translateY(-1px); }
.gf-find:focus-within::before { box-shadow: 0 4px 0 #6f9fd3, 0 0 0 3px var(--gf-sky), 0 0 22px rgba(74,168,240,.55); }
.gf-find svg { position: absolute; z-index: 1; left: 14px; top: 50%; width: 19px; height: 19px; margin-top: -9.5px; color: var(--gf-navy); pointer-events: none; }
.gf-find input { position: relative; width: 100%; height: 100%; padding: 0 14px 0 42px; color: var(--gf-navy); background: transparent; border: 0; border-radius: 0; font: italic 700 16px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; outline: 0; }
.gf-find input::placeholder { color: #5274a6; opacity: 1; }
.gf-find input::-webkit-search-cancel-button { display: none; }
.gf-find-btn { display: none; }
.gf-find-btn.gf-ibtn { width: 44px; height: 40px; color: var(--gf-navy); background: linear-gradient(180deg, #fff, #cfeaff); border: 0; border-radius: 0; transform: skewX(-10deg); box-shadow: 0 4px 0 #6f9fd3; }
.gf-find-btn.gf-ibtn svg { transform: skewX(10deg); }
.gf-find-btn.gf-ibtn:hover, .gf-find-btn.gf-ibtn:focus { color: var(--gf-navy); background: linear-gradient(180deg, #fff, #bfe2ff); }
.gf-find-btn.gf-ibtn:active { transform: skewX(-10deg) translateY(3px); box-shadow: 0 1px 0 #6f9fd3; }

/* cart: loot chest */
.gf-loot { position: relative; display: block; flex: none; height: 44px; color: var(--gf-navy); }
.gf-loot-in { display: flex; align-items: center; gap: 9px; height: 100%; padding: 0 18px 0 12px; background: linear-gradient(180deg, #fff, #cfeaff); transform: skewX(-10deg); box-shadow: 0 4px 0 #6f9fd3, 0 8px 18px rgba(0,0,0,.25); transition: transform .15s, box-shadow .15s; }
.gf-loot-in > * { transform: skewX(10deg); }
.gf-loot:hover, .gf-loot:focus { color: var(--gf-navy); }
.gf-loot:hover .gf-loot-in { transform: skewX(-10deg) translateY(-2px); box-shadow: 0 6px 0 #6f9fd3, 0 10px 22px rgba(0,0,0,.3); }
.gf-loot:active .gf-loot-in { transform: skewX(-10deg) translateY(3px); box-shadow: 0 1px 0 #6f9fd3; }
.gf-chest { width: 24px; height: 24px; flex: none; overflow: visible; }
.gf-chest .lid { transform-box: fill-box; transform-origin: 0 100%; transition: transform .2s; }
.gf-loot:hover .gf-chest .lid { transform: rotate(-14deg); }
.gf-loot-sum { font: italic 700 19px/1 var(--display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.gf-loot-n { position: absolute; top: -9px; right: -9px; min-width: 24px; height: 24px; display: grid; place-items: center; padding: 0 5px; color: var(--gf-navy); background: var(--gf-gold); clip-path: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%); font: italic 700 14px/1 var(--display); }
.gf-loot-n[hidden] { display: none; }
.gf-loot.gf-got .gf-loot-in { animation: gf-chest-pop .6s cubic-bezier(.3,1.6,.5,1); }
.gf-loot.gf-got .gf-chest .lid { animation: gf-lid .7s ease; }
.gf-loot.gf-got .gf-loot-n { animation: gf-badge .6s cubic-bezier(.3,1.8,.5,1); }
.gf-loot.gf-got::after { content: ""; position: absolute; inset: -6px; border: 3px solid var(--gf-sky-2); border-radius: 6px; transform: skewX(-10deg); pointer-events: none; animation: gf-ring .6s ease-out forwards; }
@keyframes gf-chest-pop { 0% { transform: skewX(-10deg) scale(1); } 30% { transform: skewX(-10deg) scale(1.14) translateY(-3px); box-shadow: 0 4px 0 #6f9fd3, 0 0 26px rgba(168,220,255,.9); } 100% { transform: skewX(-10deg) scale(1); } }
@keyframes gf-lid { 0%, 100% { transform: none; } 25%, 60% { transform: rotate(-32deg) translateY(-1px); } }
@keyframes gf-badge { 0% { transform: scale(.4) rotate(-30deg); } 100% { transform: none; } }
@keyframes gf-ring { from { opacity: 1; transform: skewX(-10deg) scale(.9); } to { opacity: 0; transform: skewX(-10deg) scale(1.35); } }

/* bottom tab bar cart (mobile) */
.gf-tb-cart i { display: grid; place-items: center; height: 22px; }
.gf-tb-cart .gf-chest { width: 23px; height: 23px; }
.x-tabbar .gf-tb-cart b { color: var(--gf-navy); background: var(--gf-gold); border-radius: 0; clip-path: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%); font: italic 700 12px/18px var(--display); }
.gf-tb-cart.gf-got { color: #fff; }
.gf-tb-cart.gf-got i { animation: gf-tb-pop .6s cubic-bezier(.3,1.6,.5,1); filter: drop-shadow(0 0 10px var(--gf-sky)); }
.gf-tb-cart.gf-got .gf-chest .lid { animation: gf-lid .7s ease; }
.gf-tb-cart.gf-got b { animation: gf-badge .6s cubic-bezier(.3,1.8,.5,1); }
.gf-tb-cart.gf-got::after { content: ""; position: absolute; left: 50%; top: 4px; width: 40px; height: 40px; margin-left: -20px; border: 3px solid var(--gf-sky-2); clip-path: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%); pointer-events: none; animation: gf-tb-ring .6s ease-out forwards; }
@keyframes gf-tb-pop { 30% { transform: scale(1.35) translateY(-4px); } }
@keyframes gf-tb-ring { from { opacity: 1; transform: scale(.6); } to { opacity: 0; transform: scale(1.5); } }
.gf-plus.up { animation-name: gf-plus-up; }
@keyframes gf-plus-up { 0% { opacity: 0; transform: translate(-50%, 0) scale(.6); } 20% { opacity: 1; transform: translate(-50%, -6px) scale(1.2); } 100% { opacity: 0; transform: translate(-50%, -40px) scale(1); } }

/* add-to-cart flight */
.gf-drop { position: fixed; z-index: 200; padding: 4px; pointer-events: none; background: linear-gradient(160deg, #fff, var(--gf-sky-2) 45%, var(--gf-sky)); clip-path: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%); filter: drop-shadow(0 0 14px rgba(168,220,255,.95)); will-change: transform, opacity; }
.gf-drop img { display: block; width: 100%; height: 100%; object-fit: cover; clip-path: inherit; background: var(--gf-navy-2); }
.gf-shard, .gf-trail { position: fixed; z-index: 201; width: 9px; height: 9px; pointer-events: none; background: #fff; box-shadow: 0 0 10px var(--gf-sky), 0 0 3px #fff; }
.gf-shard:nth-child(3n) { background: var(--gf-sky-2); }
.gf-shard:nth-child(4n) { width: 6px; height: 6px; background: var(--gf-gold); box-shadow: 0 0 10px var(--gf-gold); }
.gf-trail { width: 6px; height: 6px; background: var(--gf-sky-2); }
.gf-plus { position: fixed; z-index: 202; color: var(--gf-gold); font: italic 700 22px/1 var(--display); text-shadow: 0 2px 0 var(--gf-navy), 0 0 12px rgba(255,207,74,.6); pointer-events: none; animation: gf-plus 1.1s ease-out forwards; }
@keyframes gf-plus { 0% { opacity: 0; transform: translate(-50%, 0) scale(.6); } 20% { opacity: 1; transform: translate(-50%, 6px) scale(1.2); } 100% { opacity: 0; transform: translate(-50%, 34px) scale(1); } }

/* add-to-cart notice */
.x-toast { right: 26px; bottom: 26px; gap: 14px; padding: 12px 14px 12px 12px; color: #fff; background: linear-gradient(180deg, var(--gf-navy-2), var(--gf-navy)); border: 0; border-left: 6px solid var(--gf-gold); border-radius: 4px; box-shadow: 0 6px 0 var(--gf-ink), 0 24px 50px rgba(5,14,32,.55); transform: translateX(40px) skewX(-6deg); }
.x-toast.is-on { transform: skewX(-6deg); }
.x-toast > * { transform: skewX(6deg); }
.x-toast.is-warn { border-left-color: #ff6b7a; }
.x-toast-media { width: 54px; height: 54px; border-radius: 0; clip-path: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%); background: var(--gf-sky-2); color: var(--gf-navy); }
.x-toast-body b { color: var(--gf-gold); font: italic 700 18px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.x-toast.is-warn .x-toast-body b { color: #ff9aa5; }
.x-toast-body span { color: #cfe3f7; }

/* admin dock: pinned to the left edge of the screen */
.gf-dock { position: fixed; z-index: 80; left: 0; top: 50%; display: grid; gap: 8px; transform: translateY(-50%); }
.gf-dock-btn { display: flex; align-items: center; width: 50px; height: 50px; overflow: hidden; color: #fff; background: linear-gradient(180deg, var(--gf-navy-2), var(--gf-navy)); border: 2px solid rgba(168,220,255,.35); border-left: 0; border-radius: 0 10px 10px 0; box-shadow: 4px 6px 18px rgba(5,14,32,.45); white-space: nowrap; transition: width .25s ease, background .2s, border-color .2s; }
.gf-dock-btn svg { flex: none; width: 22px; height: 22px; margin: 0 13px; }
.gf-dock-btn span { padding-right: 16px; font: italic 700 16px/1 var(--display); text-transform: uppercase; opacity: 0; transition: opacity .2s; }
.gf-dock-btn:hover, .gf-dock-btn:focus { width: 186px; color: #fff; border-color: var(--gf-sky-2); }
.gf-dock-btn:hover span, .gf-dock-btn:focus span { opacity: 1; }
.gf-dock-btn.is-edit { color: var(--gf-navy); background: linear-gradient(180deg, #fff, #cfeaff); border-color: #fff; }
.gf-dock-btn.is-edit:hover, .gf-dock-btn.is-edit:focus { color: var(--gf-navy); }

.gf-games { position: absolute; left: 0; right: 0; top: 100%; display: none; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 14px; padding: 22px 26px; background: linear-gradient(180deg, var(--gf-navy), var(--gf-navy-2)); border-bottom: 3px solid var(--gf-sky); box-shadow: 0 24px 40px rgba(0,0,0,.35); }
.gf-games.on { display: grid; }
.gf-games a { display: block; text-align: center; color: #cfe3f7; font: 600 13px/1.2 var(--font); }
.gf-games a:hover { color: #fff; }
.gf-games i { display: block; width: 78px; height: 78px; margin: 0 auto 8px; padding: 2px; background: var(--gf-sky-2); clip-path: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%); transition: transform .2s; }
.gf-games img { width: 100%; height: 100%; object-fit: cover; clip-path: inherit; }
.gf-games a:hover i { transform: scale(1.08); }

/* ---------- search overlay ---------- */
.gf-veil { position: fixed; inset: 0; z-index: 90; background: rgba(8,18,38,.6); opacity: 0; pointer-events: none; transition: opacity .2s; }
.gf-veil.on { opacity: 1; pointer-events: auto; }
.gf-search { position: fixed; z-index: 91; left: 50%; top: 90px; width: min(620px, 92vw); transform: translate(-50%, -20px); opacity: 0; pointer-events: none; transition: all .2s; }
.gf-search.on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.gf-search input { width: 100%; height: 60px; padding: 0 22px; font: italic 700 22px var(--display); text-transform: uppercase; color: var(--gf-navy); background: #fff; border: 4px solid #fff; border-radius: 10px; outline: 0; box-shadow: 0 8px 0 #6f9fd3; }
.gf-search input::placeholder { color: var(--gf-smoke); }

/* ---------- footer ---------- */
.gf-foot { position: relative; padding: 70px 48px 26px; color: #cfe3f7; background: var(--gf-navy); border-radius: 0 0 15px 15px; clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); }
body:not(.gf-home) .gf-foot { margin-top: 10px; }
.gf-foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.gf-foot-in .gf-brand { order: 2; margin: -36px 0 8px auto; }
.gf-foot-in .gf-brand img { height: 90px; margin: 0; }
.gf-foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: var(--display); font-style: italic; font-size: 18px; text-transform: uppercase; }
.gf-foot nav a:hover { color: #fff; }
.gf-copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #8fb2dd; }

/* ---------- home: lobby slider ---------- */
.gf-lobby { position: relative; height: 600px; color: #fff; overflow: hidden; background: var(--gf-ink); }

.gf-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s; }
.gf-slide.on { opacity: 1; visibility: visible; }
.gf-slide .gf-bg { position: absolute; inset: 0; background: center / cover no-repeat; transform: scale(1.08); transition: transform 9s linear; }
.gf-slide.on .gf-bg { transform: scale(1); }
.gf-slide::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(8,18,38,.92) 0%, rgba(8,18,38,.6) 36%, rgba(8,18,38,0) 64%), linear-gradient(0deg, rgba(8,18,38,.7), transparent 45%); }
.gf-fighter { position: absolute; z-index: 2; right: 7%; bottom: 0; height: 97%; width: auto; max-width: none; filter: drop-shadow(0 0 46px rgba(99,185,238,.35)) drop-shadow(0 24px 30px rgba(0,0,0,.6)); opacity: 0; transform: translateX(70px); transition: opacity .9s .25s, transform .9s .25s; }
.gf-slide.on .gf-fighter { opacity: 1; transform: none; }
.gf-copy-box { position: absolute; z-index: 4; left: 48px; top: 84px; max-width: 560px; opacity: 0; transform: translateY(24px); transition: opacity .7s .3s, transform .7s .3s; }
.gf-slide.on .gf-copy-box { opacity: 1; transform: none; }
.gf-chip { display: inline-block; padding: 4px 14px; color: var(--gf-navy); background: #fff; font-family: var(--display); font-weight: 700; font-style: italic; font-size: 16px; text-transform: uppercase; transform: skewX(-10deg); box-shadow: 4px 4px 0 var(--gf-sky); }
.gf-copy-box h1, .gf-copy-box h2 { margin: 20px 0 0; color: #fff; font-size: clamp(44px, 6vw, 84px); line-height: .92; letter-spacing: .02em; text-shadow: 0 10px 34px rgba(0,0,0,.65); }
.gf-copy-box h1 span, .gf-copy-box h2 span { color: var(--gf-sky-2); }
.gf-slide-inj .gf-bg { background-position: 80% center; }
.gf-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.gf-btn { display: inline-block; padding: 13px 32px; font-family: var(--display); font-weight: 700; font-style: italic; font-size: 24px; text-transform: uppercase; border: 0; transform: skewX(-8deg); transition: transform .15s, box-shadow .15s; }
.gf-btn > span { display: block; transform: skewX(8deg); }
.gf-btn.main, .gf-btn.main:hover, .gf-btn.main:focus { color: var(--gf-navy); background: linear-gradient(180deg, #fff, #cfeaff); box-shadow: 0 6px 0 #6f9fd3, 0 14px 24px rgba(0,0,0,.28); }
.gf-btn.alt, .gf-btn.alt:hover, .gf-btn.alt:focus { color: #fff; background: linear-gradient(180deg, rgba(38,74,134,.9), rgba(15,34,69,.92)); border: 2px solid rgba(168,220,255,.6); box-shadow: 0 6px 0 #3d6aa8, 0 14px 24px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.2); }
.gf-btn:hover { transform: skewX(-8deg) translateY(-2px); }
.gf-btn:active { transform: skewX(-8deg) translateY(4px); }
.gf-age { position: absolute; z-index: 4; left: 48px; bottom: 82px; display: flex; align-items: center; gap: 16px; padding: 10px 20px 10px 16px; background: rgba(8,18,38,.72); border-left: 4px solid var(--gf-sky-2); backdrop-filter: blur(6px); }
.gf-age .lbl { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 16px; line-height: 1.15; text-transform: uppercase; color: var(--gf-sky-2); }
.gf-age .lbl small { display: block; font-family: var(--font); font-style: normal; font-size: 11px; letter-spacing: .04em; text-transform: none; color: #8fb2dd; }
.gf-age .days { display: flex; align-items: baseline; gap: 8px; font-family: var(--display); font-style: italic; font-weight: 700; text-transform: uppercase; }
.gf-age .days b { font-size: 46px; line-height: 1; font-variant-numeric: tabular-nums; }
.gf-age .days span { font-size: 20px; }
.gf-age .clock { padding-left: 16px; border-left: 1px solid rgba(168,220,255,.3); font-family: var(--display); font-weight: 500; font-size: 22px; font-variant-numeric: tabular-nums; color: #cfe3f7; }
.gf-ctrl { position: absolute; z-index: 4; right: 48px; bottom: 12px; display: flex; align-items: center; gap: 10px; }
.gf-dot { width: 46px; height: 7px; padding: 0; border: 0; background: rgba(255,255,255,.25); transform: skewX(-20deg); overflow: hidden; }
.gf-dot i { display: block; width: 0; height: 100%; background: #fff; }
.gf-dot.on i { animation: gf-fill 7s linear forwards; }
.gf-lobby.paused .gf-dot.on i { animation-play-state: paused; }
@keyframes gf-fill { to { width: 100%; } }
.gf-arrow { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; color: var(--gf-navy); background: #fff; border: 0; transform: skewX(-8deg); box-shadow: 0 4px 0 #6f9fd3; font-size: 22px; font-weight: 700; }
.gf-arrow:active { transform: skewX(-8deg) translateY(3px); box-shadow: 0 1px 0 #6f9fd3; }

/* ---------- home: section heads ---------- */
.gf-sh { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 22px; }
.gf-sh h2 { color: var(--gf-navy); font-size: clamp(30px, 3.6vw, 44px); line-height: 1; }
.gf-sh .meta { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 18px; text-transform: uppercase; color: var(--gf-steel); }
.gf-sh .push { margin-left: auto; display: flex; gap: 8px; align-items: center; }

/* ---------- home: battle pass (games) ---------- */
.gf-pass { position: relative; z-index: 3; padding: 26px 0 40px; color: #fff; }
.gf-pass::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: -60px; bottom: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 18px), linear-gradient(180deg, var(--gf-navy), var(--gf-navy-2)); clip-path: polygon(0 42px, 100% 0, 100% 100%, 0 100%); }
.gf-pass .gf-sh { padding: 0 48px; }
.gf-pass .gf-sh h2 { color: #fff; }
.gf-pass .gf-sh .meta { color: var(--gf-sky-2); }
.gf-xp { display: flex; align-items: center; gap: 14px; margin: -6px 48px 20px; font-family: var(--display); font-style: italic; font-size: 16px; text-transform: uppercase; color: var(--gf-sky-2); }
.gf-xp .bar { flex: 1; height: 14px; background: rgba(255,255,255,.12); transform: skewX(-20deg); overflow: hidden; }
.gf-xp .bar i { display: block; height: 100%; width: 64%; background: linear-gradient(90deg, var(--gf-sky), #fff); box-shadow: 0 0 14px var(--gf-sky); }
.gf-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(156px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 48px; padding: 10px 48px 16px; scrollbar-width: none; }
.gf-track::-webkit-scrollbar { display: none; }
.gf-tier { position: relative; display: block; height: 270px; scroll-snap-align: start; border: 3px solid rgba(255,255,255,.85); border-radius: 10px; overflow: hidden; background: var(--gf-steel); transition: transform .2s, box-shadow .2s, border-color .2s; }
.gf-tier:hover { transform: translateY(-6px); border-color: #fff; box-shadow: 0 0 0 3px var(--gf-sky), 0 16px 30px rgba(0,0,0,.4); }
.gf-tier > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s; }
.gf-tier:hover > img { transform: scale(1.08); }
.gf-tier .num { position: absolute; z-index: 1; top: 8px; left: 8px; display: flex; align-items: center; height: 30px; padding: 0 10px; background: var(--gf-navy); color: #fff; font-family: var(--display); font-style: italic; font-weight: 700; font-size: 20px; transform: skewX(-10deg); }
.gf-tier .foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 12px 12px; text-align: center; background: linear-gradient(180deg, transparent, rgba(10,24,48,.96) 50%); }
.gf-tier h3 { color: #fff; font-size: 20px; line-height: 1; }
.gf-tier small { display: block; margin-top: 4px; color: var(--gf-sky-2); font-size: 13px; }
.gf-tier.all { border-style: dashed; }

/* ---------- home: item shop ---------- */
.gf-shop { padding: 44px 48px 20px; }
.gf-timer { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; color: #fff; background: var(--gf-navy); font-family: var(--display); font-style: italic; font-weight: 700; font-size: 18px; transform: skewX(-8deg); }
.gf-timer svg { width: 18px; height: 18px; }
.gf-row-title { display: flex; align-items: center; gap: 14px; margin: 30px 0 14px; font-size: 24px; color: var(--gf-steel); }
.gf-row-title::after { content: ""; flex: 1; height: 3px; background: linear-gradient(90deg, var(--gf-smoke-2), transparent); }
.gf-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 214px; gap: 12px; }
.gf-item { position: relative; display: block; overflow: hidden; border: 3px solid #fff; border-radius: 8px; box-shadow: 0 6px 0 rgba(15,34,69,.16); transition: transform .2s, box-shadow .2s, border-color .2s; }
.gf-item::before { content: ""; position: absolute; inset: -30%; background: repeating-conic-gradient(from 0deg at 50% 42%, rgba(255,255,255,.16) 0 6deg, transparent 6deg 18deg); animation: gf-spin 40s linear infinite; }
@keyframes gf-spin { to { transform: rotate(360deg); } }
.gf-item:hover { transform: translateY(-5px); border-color: var(--gf-sky-2); box-shadow: 0 0 0 3px var(--gf-sky), 0 14px 26px rgba(15,34,69,.3); }
.gf-item.big { grid-column: span 2; grid-row: span 2; }
.gf-r-common { background: radial-gradient(circle at 50% 38%, #e3e9f0, #8a94a2 78%); }
.gf-r-rare { background: radial-gradient(circle at 50% 38%, #9ddcff, #2b7fd8 78%); }
.gf-r-epic { background: radial-gradient(circle at 50% 38%, #b4c9f0, #34509e 78%); }
.gf-r-legend { background: radial-gradient(circle at 50% 38%, #ffe496, #df921f 78%); }
.gf-item > img { position: absolute; left: 10%; right: 10%; top: 9%; width: 80%; height: 56%; object-fit: contain; object-position: center; filter: drop-shadow(0 8px 12px rgba(10,24,48,.35)); transition: transform .3s; }
.gf-item.big > img { left: 8%; right: 8%; top: 8%; width: 84%; height: 62%; }
.gf-item.gf-fig > img { left: 0; right: 0; top: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.gf-item.big.gf-fig > img { left: 0; right: 0; top: auto; bottom: 0; width: 100%; height: 92%; object-fit: contain; object-position: center bottom; }

.gf-item:hover > img { transform: scale(1.06) rotate(-1.5deg); }
.gf-item .tag { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 10px 9px; color: #fff; background: var(--gf-navy); clip-path: polygon(0 10px, 100% 0, 100% 100%, 0 100%); }
.gf-item h3 { color: #fff; font-size: 15px; line-height: 1.1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gf-item.big h3 { font-size: 22px; }
.gf-item .price { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-family: var(--display); font-weight: 700; font-size: 18px; }
.gf-item.big .price { font-size: 24px; }
.gf-item .price s { font-family: var(--font); font-weight: 500; font-size: 12px; color: var(--gf-smoke-2); }
.gf-badge { position: absolute; z-index: 2; top: 8px; left: 8px; padding: 1px 9px; color: var(--gf-navy); background: #fff; font-family: var(--display); font-style: italic; font-weight: 700; font-size: 14px; text-transform: uppercase; transform: skewX(-10deg); }
.gf-badge.hot { background: var(--gf-gold); }

/* ---------- home: quests ---------- */
.gf-quests { padding: 26px 48px 54px; }
.gf-qgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gf-quest { position: relative; padding: 18px 18px 16px; background: #fff; border: 3px solid #d5e6f7; border-radius: 10px; }
.gf-quest .ico { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 12px; color: #fff; background: linear-gradient(160deg, var(--gf-sky), var(--gf-steel)); font-family: var(--display); font-style: italic; font-weight: 700; font-size: 24px; transform: skewX(-8deg); box-shadow: 0 4px 0 var(--gf-navy); }
.gf-quest .ico img { width: 34px; }
.gf-quest h3 { color: var(--gf-navy); font-size: 20px; line-height: 1.05; }
.gf-quest p { margin: 6px 0 14px; font-size: 14px; color: #44597a; }
.gf-quest .done { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-style: italic; font-weight: 700; font-size: 14px; color: var(--gf-steel); }
.gf-quest .done i { flex: 1; height: 10px; background: linear-gradient(90deg, var(--gf-sky), var(--gf-sky-2)); transform: skewX(-20deg); }
.gf-quest .xp { position: absolute; top: 14px; right: 14px; padding: 2px 10px; color: var(--gf-sky-2); background: var(--gf-navy); font-family: var(--display); font-style: italic; font-weight: 700; font-size: 14px; transform: skewX(-10deg); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .gf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gf-qgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gf-tabs a, .gf-tabs button { padding: 0 11px; font-size: 18px; }
  .gf-find { max-width: 200px; }
  .gf-fighter { right: 1%; height: 86%; }
  .gf-arrow { width: 36px; height: 36px; font-size: 18px; }
}
@media (max-width: 1240px) {
    .gf-find input { padding-right: 12px; }
}
@media (max-width: 1080px) and (min-width: 861px) {
  .gf-find { display: none; }
  .gf-find-btn { display: grid; }
}
@media (max-width: 860px) {
  .gf-tabs { display: none; }
  .gf-find { max-width: none; }
  .gf-burger { display: grid; }
  .gf-right { margin-left: auto; }
}
@media (max-width: 760px) {
  .gf-shell { width: auto; margin: 0; border: 0; border-radius: 0; }
  .gf-top { height: 58px; padding: 0 12px; gap: 10px; border-radius: 0; }
  .gf-foot { border-radius: 0; }
  .gf-brand .gf-full { display: none; }
  .gf-brand .gf-mini { display: block; height: 38px; margin: 0; }
  .gf-find { display: none; }
  .gf-find-btn { display: grid; }
  .gf-top { position: sticky; }
  .gf-top > .gf-brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .gf-loot { display: none; }
  .gf-dock { top: auto; bottom: 86px; transform: none; }
  .gf-dock-btn { width: 42px; height: 42px; }
  .gf-dock-btn svg { margin: 0 9px; }
  .x-toast { left: 12px; right: 12px; top: auto; bottom: 84px; width: auto; }
  .gf-games { padding: 16px 10px; gap: 12px 6px; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
  .gf-games i { width: 60px; height: 60px; }
  .gf-lobby { height: 680px; }
  .gf-slide::before { background: linear-gradient(180deg, rgba(8,18,38,.35) 0%, rgba(8,18,38,0) 24%, rgba(8,18,38,.1) 42%, rgba(8,18,38,.82) 64%, rgba(8,18,38,.96) 100%); }
  .gf-slide .gf-bg { background-position: 70% center; }
  .gf-fighter { right: -24%; height: 90%; filter: drop-shadow(0 0 30px rgba(99,185,238,.3)); }
  .gf-copy-box { left: 20px; right: 20px; top: 24px; bottom: 162px; display: flex; flex-direction: column; align-items: flex-start; }
  .gf-copy-box h1, .gf-copy-box h2 { margin-top: auto; }
  .gf-slide-up .gf-copy-box h1, .gf-slide-up .gf-copy-box h2 { margin-top: 16px; }
  .gf-slide-up::before { background: linear-gradient(180deg, rgba(8,18,38,.92) 0%, rgba(8,18,38,.75) 38%, rgba(8,18,38,0) 62%, rgba(8,18,38,.15) 82%, rgba(8,18,38,.7) 100%); }
  .gf-btns { margin-top: 20px; gap: 12px; }
  .gf-btn { font-size: 19px; padding: 11px 20px; }
  .gf-age { left: 16px; right: 16px; bottom: 72px; gap: 12px; padding: 8px 12px; }
  .gf-age .days b { font-size: 32px; } .gf-age .days span { font-size: 16px; } .gf-age .clock { font-size: 16px; padding-left: 12px; }
  .gf-ctrl { right: 16px; bottom: 10px; }
  .gf-ctrl .gf-arrow { display: none; }
  .gf-pass .gf-sh, .gf-xp { padding: 0 20px; margin-left: 0; margin-right: 0; }
  .gf-track { grid-auto-columns: 150px; padding: 10px 20px 14px; scroll-padding: 0 20px; }
  .gf-tier { height: 210px; } .gf-tier h3 { font-size: 17px; }
  .gf-shop, .gf-quests { padding-left: 16px; padding-right: 16px; }
  .gf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 10px; }
  .gf-item h3 { font-size: 13px; } .gf-item.big h3 { font-size: 18px; }
  .gf-qgrid { grid-template-columns: 1fr; }
  .gf-foot { padding: 60px 20px 90px; }
  .gf-foot-in .gf-brand { margin: -26px 0 8px auto; }
  .gf-foot-in .gf-brand img { height: 76px; }
}
@media (prefers-reduced-motion: reduce) { .gf-item::before, .gf-dot.on i, .gf-loot.gf-got *, .gf-loot.gf-got::after, .gf-tb-cart.gf-got *, .gf-tb-cart.gf-got::after { animation: none !important; } .gf-slide, .gf-slide .gf-bg, .gf-fighter, .gf-copy-box { transition: none !important; } }

/* ---------- catalog cards: item-shop tile with spinning rays ---------- */
.x-card-media { background: radial-gradient(circle at 50% 38%, #9ddcff, #2b7fd8 78%); border-bottom: 3px solid #fff; isolation: isolate; }
.x-card-media::before { content: ""; position: absolute; z-index: -1; inset: -30%; background: repeating-conic-gradient(from 0deg at 50% 45%, rgba(255,255,255,.17) 0 6deg, transparent 6deg 18deg); animation: gf-spin 40s linear infinite; pointer-events: none; }
.x-card.is-promo .x-card-media { background: radial-gradient(circle at 50% 38%, #ffe496, #df921f 78%); }
.x-card-media img { position: absolute; left: 7%; right: 7%; top: 5%; width: 86%; height: calc(100% - 16px); padding: 0; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 8px 12px rgba(10,24,48,.35)); transition: transform .35s ease; }
.x-card-media img[src*="mk-valuta/"] { top: 8%; height: 76%; object-position: center; }
body.gp-page .gp-tile > img[src*="mk-valuta/"] { top: 6%; height: 76%; object-position: center; }

.x-card:hover .x-card-media img { transform: scale(1.07) rotate(-1.5deg); }
.x-card:hover .x-card-media::before { animation-duration: 12s; }
.x-card-out .x-card-media { background: radial-gradient(circle at 50% 38%, #e3e9f0, #8a94a2 78%); }
@media (prefers-reduced-motion: reduce) { .x-card-media::before { animation: none; } }
.gf-games-all i { display: grid; place-items: center; background: linear-gradient(160deg, var(--gf-sky), var(--gf-steel)); }
.gf-games-all b { color: #fff; font: italic 700 30px/1 var(--display); }

/* ---------- catalog cards: lower plate ---------- */
.x-card { background: var(--gf-navy); border: 3px solid #fff; border-radius: 10px; box-shadow: 0 6px 0 rgba(15,34,69,.22); }
.x-card:hover { transform: translateY(-5px); border-color: var(--gf-sky-2); box-shadow: 0 0 0 3px var(--gf-sky), 0 16px 28px rgba(15,34,69,.35); }
.x-card-media { border-bottom: 0; }
.x-card-body { position: relative; z-index: 1; gap: 10px; margin-top: -16px; padding: 26px 14px 14px; background: repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 2px, transparent 2px 16px), linear-gradient(180deg, var(--gf-navy-2), var(--gf-navy)); clip-path: polygon(0 16px, 100% 0, 100% 100%, 0 100%); }
.x-card-title { min-height: 0; color: #fff; font: italic 700 18px/1.25 var(--display); text-transform: uppercase; letter-spacing: .01em; padding: 0.16em 0.28em 0.05em 0.02em; }
.x-card-title:hover { color: var(--gf-sky-2); }
.x-card-foot { align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid rgba(168,220,255,.14); }
.x-card .x-price { gap: 0; }
.x-card .x-price span { font: italic 700 clamp(19px, 10cqi, 25px)/1 var(--display); color: #fff; letter-spacing: .01em; }
.x-card .x-price small { font: italic 500 13px/1 var(--display); color: var(--gf-sky-2); text-transform: uppercase; }
.x-card .x-price span small { margin-right: 2px; }
.x-card .x-price s { color: #8fb2dd; font-size: 12px; }
.x-card .x-price span.is-sale { color: var(--gf-gold); font-size: clamp(18px, 9.4cqi, 23px); }
.x-card-btn { height: 40px; padding: 0 16px; gap: 7px; color: var(--gf-navy); background: linear-gradient(180deg, #fff, #cfeaff); border-radius: 0; transform: skewX(-10deg); box-shadow: 0 4px 0 #6f9fd3; font: italic 700 16px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.x-card-btn > * { transform: skewX(10deg); }
.x-card-btn .fa { font-size: 14px; }
.x-card-btn:hover, .x-card-btn:focus { color: var(--gf-navy); transform: skewX(-10deg) translateY(-2px); box-shadow: 0 6px 0 #6f9fd3, 0 10px 18px rgba(0,0,0,.3); }
.x-card-btn:active { transform: skewX(-10deg) translateY(3px); box-shadow: 0 1px 0 #6f9fd3; }
.x-card-out .x-card-btn { color: #fff; background: rgba(255,255,255,.12); box-shadow: 0 4px 0 rgba(5,14,32,.6); }
@container (max-width: 250px) { .x-card-btn { padding: 0 12px; font-size: 14px; } }
@container (max-width: 215px) { .x-card-btn { width: 42px; padding: 0; } }
@media (max-width: 767px) {
  .x-card-body { margin-top: -12px; padding: 20px 10px 10px; clip-path: polygon(0 12px, 100% 0, 100% 100%, 0 100%); }
  .x-card-title { font-size: 15px; }
  .x-card-btn { width: 42px; padding: 0; justify-content: center; }
}
.x-card-promo { bottom: 24px; }
.x-card-soldout { bottom: 26px; }
@media (max-width: 767px) { .x-card-promo { bottom: 18px; } .x-card-soldout { bottom: 20px; } }
@media (max-width: 767px) {
  .x-card-media img[src*="injustice/"]:not([src*="pack-"]):not([src*="gg-inj-"]) { top: 0; left: 1%; right: 1%; width: 98%; height: 100%; }
  .x-card:has(img[src*="injustice/"]:not([src*="pack-"]):not([src*="gg-inj-"])) .x-card-body { margin-top: -36px; padding: 30px 10px 10px; clip-path: polygon(0 16px, 100% 0, 100% 100%, 0 100%); }
}


/* ---------- breadcrumbs: skewed plates, right side ---------- */
.x-crumbs { display: flex; justify-content: flex-end; padding: 14px 0 16px; }
.x-crumbs ol { gap: 6px; font: italic 600 13px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; filter: drop-shadow(0 3px 0 rgba(5,14,32,.4)); }
.x-crumbs li + li::before { content: none; }
.x-crumbs a, .x-crumb-current { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 15px; border-radius: 0; background: none; color: var(--gf-sky-2); font-weight: 600; }
.x-crumbs a::before, .x-crumb-current::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(-14deg); background: rgba(255,255,255,.07); border: 1px solid rgba(168,220,255,.18); transition: background .15s, border-color .15s; }
.x-crumbs a::after { content: "\f105"; font: normal 12px/1 FontAwesome; margin-left: 2px; color: rgba(168,220,255,.5); }
.x-crumbs a:hover { color: #fff; background: none; }
.x-crumbs a:hover::before { background: rgba(65,161,230,.35); border-color: var(--gf-sky-2); }
.x-crumbs .x-crumb-home { padding: 0 14px; }
.x-crumbs .x-crumb-home .fa { font-size: 14px; color: var(--gf-gold); }
.x-crumb-current { padding: 0 16px; color: var(--gf-navy); font-weight: 700; }
.x-crumb-current::before { background: linear-gradient(180deg, #fff, #cfeaff); border-color: #fff; box-shadow: 0 3px 0 #6f9fd3; }
@media (max-width: 760px) {
  .x-crumbs { padding: 10px 0 10px; margin: 0; }
  .x-crumbs ol { gap: 4px; font-size: 11.5px; max-width: 100%; }
  .x-crumbs a, .x-crumb-current { height: 28px; padding: 0 10px; }
  .x-crumbs .x-crumb-home { padding: 0 11px; }
  .x-crumbs a::after { display: none; }
}
.x-crumb-current::before { left: 5px; right: 5px; }
.x-crumb-current { padding: 0 20px; }
@media (max-width: 760px) { .x-crumb-current { padding: 0 14px; } }

/* ---------- promo cards: gold frame, skewed deal plate ---------- */
@keyframes gf-promo-glow { 0%, 100% { box-shadow: 0 6px 0 rgba(15,34,69,.22), 0 0 0 0 rgba(255,196,64,0); } 50% { box-shadow: 0 6px 0 rgba(15,34,69,.22), 0 0 24px 3px rgba(255,196,64,.55); } }
@keyframes gf-promo-shine { 0%, 62% { transform: translateX(-110%) skewX(-18deg); } 100% { transform: translateX(210%) skewX(-18deg); } }
.x-card.is-promo { border-color: var(--gf-gold); animation: gf-promo-glow 2.6s ease-in-out infinite; }
.x-card.is-promo:hover { border-color: #ffe9a3; box-shadow: 0 0 0 3px var(--gf-gold), 0 16px 30px rgba(15,34,69,.35), 0 0 30px rgba(255,196,64,.5); animation: none; }
.x-card.is-promo::after { inset: 0 auto 0 0; width: 45%; padding: 0; border-radius: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent); -webkit-mask: none; mask: none; animation: gf-promo-shine 4.2s ease-in-out infinite; }
.x-card.is-promo:has(.x-card-promo.is-hot)::after { animation-duration: 2.6s; }
.x-card.is-promo .x-card-body { background: linear-gradient(90deg, var(--gf-gold) 0 4px, transparent 4px), repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 2px, transparent 2px 16px), linear-gradient(180deg, var(--gf-navy-2), var(--gf-navy)); }

.x-card-promo { left: 10px; right: auto; bottom: 26px; gap: 6px; flex-wrap: nowrap; padding: 0; border: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; filter: drop-shadow(0 3px 0 rgba(5,14,32,.45)); }
.x-card-promo.is-hot { box-shadow: none; }
.x-cp-off { height: 30px; padding: 0 14px 0 12px; gap: 5px; border-radius: 0; color: var(--gf-navy); background: linear-gradient(180deg, #ffe88a, #ffb21f); box-shadow: none; font: italic 700 16px/1 var(--display); text-transform: uppercase; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.x-cp-off .fa { color: #e0461d; font-size: 14px; }
.x-cp-time { height: 30px; align-items: center; gap: 0; padding: 0 12px; background: linear-gradient(180deg, #17315f, #0b1c3d); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.x-cp-time i { min-width: 0; padding: 0; gap: 1px; border-radius: 0; background: none; box-shadow: none; }
.x-cp-time i + i::before { content: ":"; margin: 0 2px; color: var(--gf-sky-2); font: italic 700 14px/1 var(--display); }
.x-cp-time [data-k="d"] + i::before { content: ""; margin: 0 3px; }
.x-cp-time b { font: italic 700 15px/1 var(--display); color: #fff; letter-spacing: .02em; }
.x-cp-time small { font: italic 600 11px/1 var(--display); color: var(--gf-sky-2); }
.x-cp-time [data-k="s"] b { color: var(--gf-sky-2); }
.x-card-promo.is-hot .x-cp-time { background: linear-gradient(180deg, #e5354f, #a3142c); }
.x-card-promo.is-hot .x-cp-time b, .x-card-promo.is-hot .x-cp-time small, .x-card-promo.is-hot .x-cp-time i + i::before { color: #fff; }

.x-tags { gap: 5px; filter: drop-shadow(0 3px 0 rgba(5,14,32,.4)); }
.x-tag, .x-tags.is-right .x-tag, .x-tags.is-left .x-tag { padding: 6px 13px 6px 12px; border-radius: 0; box-shadow: none; font: italic 700 12.5px/1 var(--display); letter-spacing: .04em; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.x-tags.is-lg .x-tag { padding: 8px 16px 8px 14px; border-radius: 0; font-size: 14px; }

@media (max-width: 767px) {
  .x-card-promo { left: 6px; right: 6px; justify-content: flex-start; gap: 4px; }
  .x-cp-off { height: 26px; padding: 0 10px; font-size: 13px; }
  .x-cp-off .fa { font-size: 11px; }
  .x-cp-time { height: 26px; padding: 0 9px; }
  .x-cp-time b { font-size: 12.5px; }
  .x-cp-time small { font-size: 9.5px; }
  .x-tag, .x-tags.is-right .x-tag, .x-tags.is-left .x-tag { padding: 5px 10px 5px 9px; font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) { .x-card.is-promo, .x-card.is-promo::after { animation: none; } .x-card.is-promo::after { display: none; } }

/* ---------- quests ---------- */
.gf-qgrid { gap: 16px; }
.gf-quest { display: flex; flex-direction: column; overflow: hidden; padding: 18px 18px 18px; color: #fff; border: 3px solid #fff; border-radius: 10px; background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 16px), radial-gradient(circle at 85% 0%, rgba(74,168,240,.35), transparent 60%), linear-gradient(170deg, var(--gf-navy-2), var(--gf-navy)); box-shadow: 0 6px 0 rgba(15,34,69,.22); transition: transform .2s, box-shadow .2s, border-color .2s; }
.gf-quest:hover { transform: translateY(-5px); border-color: var(--gf-sky-2); box-shadow: 0 0 0 3px var(--gf-sky), 0 16px 28px rgba(15,34,69,.35); }
.gf-quest .n { position: absolute; right: 8px; bottom: 30px; color: rgba(255,255,255,.06); font: italic 700 110px/1 var(--display); pointer-events: none; }
.gf-quest .top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.gf-quest .ico { width: 58px; height: 58px; margin: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, var(--gf-sky), var(--gf-steel)); clip-path: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%); transform: none; box-shadow: none; transition: transform .3s; }
.gf-quest .ico svg { width: 28px; height: 28px; }
.gf-quest:hover .ico { transform: rotate(-8deg) scale(1.06); }
.gf-quest .xp { position: static; padding: 5px 12px; color: var(--gf-navy); background: linear-gradient(180deg, #fff, #cfeaff); font: italic 700 14px/1 var(--display); transform: none; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.gf-quest h3 { position: relative; color: #fff; font-size: 21px; line-height: 1.05; }
.gf-quest p { position: relative; flex: 1; margin: 8px 0 16px; color: #b9d3f0; font-size: 14px; line-height: 1.45; }
.gf-quest .bar { position: relative; display: flex; align-items: center; gap: 10px; }
.gf-quest .bar i { position: relative; flex: 1; height: 12px; overflow: hidden; background: rgba(255,255,255,.12); transform: skewX(-20deg); }
.gf-quest .bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--gf-sky), var(--gf-sky-2)); transform-origin: left; animation: gf-qfill 1.4s ease-out both; }
.gf-quest .bar b { padding: 4px 9px; color: var(--gf-sky-2); background: rgba(255,255,255,.08); font: italic 700 13px/1 var(--display); transform: skewX(-10deg); }
@keyframes gf-qfill { from { transform: scaleX(0); } }
.gf-quest.is-gold { border-color: var(--gf-gold); box-shadow: 0 6px 0 rgba(15,34,69,.22), 0 0 22px rgba(255,196,64,.35); }
.gf-quest.is-gold:hover { box-shadow: 0 0 0 3px var(--gf-gold), 0 16px 28px rgba(15,34,69,.35), 0 0 30px rgba(255,196,64,.5); }
.gf-quest.is-gold .ico { color: var(--gf-navy); background: linear-gradient(180deg, #ffe88a, #ffb21f); }
.gf-quest.is-gold .xp { background: linear-gradient(180deg, #ffe88a, #ffb21f); }
.gf-quest.is-gold .bar i::after { background: linear-gradient(90deg, #ffb21f, #ffe88a); }
.gf-quest.is-gold .bar b { color: var(--gf-gold); }
.gf-quest.is-gold .n { color: rgba(255,207,74,.09); }
@media (max-width: 760px) { .gf-quest .n { font-size: 90px; } .gf-quest .ico { width: 52px; height: 52px; } }
@media (prefers-reduced-motion: reduce) { .gf-quest .bar i::after { animation: none; } }

/* ---------- footer ---------- */
.gf-foot { padding: 76px 48px 24px; background: repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 2px, transparent 2px 18px), radial-gradient(circle at 100% 0%, rgba(74,168,240,.28), transparent 45%), linear-gradient(180deg, var(--gf-navy-2), var(--gf-navy) 60%); }
.gf-foot::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 44px; background: var(--gf-sky); clip-path: polygon(0 40px, 100% 0, 100% 4px, 0 44px); pointer-events: none; }
.gf-foot-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr); align-items: start; gap: 28px 36px; }
.gf-fcol h4 { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--gf-sky-2); font: italic 700 15px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.gf-fcol h4::before { content: ""; width: 5px; height: 16px; background: var(--gf-sky); transform: skewX(-14deg); }
.gf-foot nav { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font: italic 600 16px/1.1 var(--display); text-transform: uppercase; }
.gf-foot nav a { position: relative; color: #e3effb; transition: color .15s, transform .15s; }
.gf-foot nav a::before { content: ""; position: absolute; left: -14px; top: 50%; width: 7px; height: 7px; margin-top: -4px; background: var(--gf-sky); clip-path: polygon(0 0, 100% 50%, 0 100%); opacity: 0; transition: opacity .15s; }
.gf-foot nav a:hover { color: #fff; transform: translateX(8px); }
.gf-foot nav a:hover::before { opacity: 1; }
.gf-foot nav a.all { color: var(--gf-gold); }
.gf-ftg { display: inline-flex; align-items: center; gap: 9px; height: 42px; margin-bottom: 16px; padding: 0 18px; color: var(--gf-navy); background: linear-gradient(180deg, #fff, #cfeaff); font: italic 700 15px/1 var(--display); text-transform: uppercase; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: filter .15s, transform .15s; }
.gf-ftg svg { width: 20px; height: 20px; color: #2a9fd8; }
.gf-ftg:hover { color: var(--gf-navy); filter: brightness(1.06); transform: translateY(-2px); }
.gf-fhelp ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: #b9d3f0; }
.gf-fhelp li { display: flex; align-items: center; gap: 10px; }
.gf-fhelp li svg { flex: none; width: 18px; height: 18px; color: var(--gf-sky); }
.gf-fhelp li b { color: #fff; }
.gf-fbrand { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.gf-foot-in .gf-fbrand .gf-brand { order: 0; margin: -40px -6px 6px 0; }
.gf-foot-in .gf-fbrand .gf-brand img { height: 104px; }
.gf-fbrand p { max-width: 260px; margin: 0; color: #9fbde0; font-size: 14px; line-height: 1.45; }
.gf-copy { align-items: center; margin-top: 34px; color: #7f9cc3; }
.gf-up { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border: 0; color: var(--gf-sky-2); background: rgba(255,255,255,.08); font: italic 700 13px/1 var(--display); text-transform: uppercase; cursor: pointer; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); transition: background .15s, color .15s; }
.gf-up svg { width: 14px; height: 14px; }
.gf-up:hover { color: var(--gf-navy); background: var(--gf-sky-2); }
@media (max-width: 1080px) { .gf-foot-in { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gf-fbrand { grid-column: 1 / -1; grid-row: 1; align-items: center; text-align: center; } .gf-foot-in .gf-fbrand .gf-brand { margin: -36px 0 6px; } }
@media (max-width: 760px) {
  .gf-foot { padding: 64px 20px 96px; }
  .gf-foot-in { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .gf-fhelp { grid-column: 1 / -1; }
  .gf-foot-in .gf-fbrand .gf-brand { margin: -30px 0 6px; }
  .gf-foot-in .gf-fbrand .gf-brand img { height: 84px; }
  .gf-foot nav { font-size: 15px; }
  .gf-copy { flex-direction: column; align-items: flex-start; }
}
.gf-ftg { white-space: nowrap; }
.gf-ftg em { font-style: inherit; }
.gf-fhelp li b { white-space: nowrap; }
@media (max-width: 1080px) and (min-width: 761px) { .gf-ftg em { display: none; } }
.gf-tier > img { transform-origin: 50% 0; }

/* footer: links + logo only */
.gf-foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.gf-foot nav.gf-flinks { flex-direction: row; flex-wrap: wrap; gap: 10px 30px; font-size: 18px; }
.gf-foot-in > .gf-brand { order: 0; margin: -40px -6px 0 auto; }
.gf-foot-in > .gf-brand img { height: 104px; }
@media (max-width: 1080px) { .gf-foot-in { display: flex; } }
@media (max-width: 760px) {
  .gf-foot-in { flex-direction: column-reverse; align-items: center; gap: 18px; }
  .gf-foot-in > .gf-brand { margin: -30px 0 0; }
  .gf-foot-in > .gf-brand img { height: 84px; }
  .gf-foot nav.gf-flinks { flex-direction: column; align-items: center; gap: 12px; font-size: 17px; }
  .gf-foot nav.gf-flinks a:hover { transform: none; }
  .gf-foot nav.gf-flinks a::before { display: none; }
  .gf-copy { align-items: center; text-align: center; }
}

/* centered captions */
.gf-item .tag { text-align: center; }
.gf-item .price { justify-content: center; }
.gf-quest { text-align: center; }
.gf-quest .top { justify-content: center; }
.gf-quest .xp { position: absolute; top: -4px; right: -4px; }
.gf-quest .n { right: auto; left: 50%; transform: translateX(-50%); }

/* ---------- games mega menu ---------- */
.gf-games { padding: 18px 26px 24px; background: repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 2px, transparent 2px 18px), linear-gradient(180deg, var(--gf-navy), var(--gf-navy-2)); }
.gf-games.on { display: block; }
.gf-games-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.gf-games-head b { display: flex; align-items: center; gap: 10px; color: #fff; font: italic 700 22px/1 var(--display); text-transform: uppercase; }
.gf-games-head b::before { content: ""; width: 6px; height: 22px; background: var(--gf-sky); transform: skewX(-14deg); }
.gf-games-head a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; color: var(--gf-navy); background: linear-gradient(180deg, #fff, #cfeaff); font: italic 700 14px/1 var(--display); text-transform: uppercase; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.gf-games-head a:hover { color: var(--gf-navy); filter: brightness(1.06); }
.gf-games-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.gf-games a.gf-gm { position: relative; display: block; height: 150px; overflow: hidden; color: #fff; text-align: center; border: 2px solid rgba(255,255,255,.75); border-radius: 8px; background: var(--gf-steel); transition: transform .2s, border-color .2s, box-shadow .2s; }
.gf-gm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transform-origin: 50% 0; transition: transform .35s; }
.gf-gm span { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; min-height: 64%; padding: 0 6px 9px; background: linear-gradient(180deg, transparent, rgba(10,24,48,.75) 45%, rgba(10,24,48,.97)); }
.gf-gm b { font: italic 700 15px/1.02 var(--display); text-transform: uppercase; letter-spacing: .01em; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.gf-gm small { color: var(--gf-sky-2); font: 600 11.5px/1 var(--font); }
.gf-games a.gf-gm:hover { color: #fff; transform: translateY(-4px); border-color: var(--gf-sky-2); box-shadow: 0 0 0 2px var(--gf-sky), 0 12px 22px rgba(0,0,0,.4); }
.gf-gm:hover img { transform: scale(1.08); }
.gf-games a.gf-gm.all { display: grid; place-items: center; border-style: dashed; background: radial-gradient(circle at 50% 35%, rgba(74,168,240,.45), transparent 70%), var(--gf-navy-2); }
.gf-gm.all i { width: 58px; height: 58px; margin: -36px 0 0; display: grid; place-items: center; color: var(--gf-navy); background: linear-gradient(180deg, #ffe88a, #ffb21f); font: italic 700 28px/1 var(--display); clip-path: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%); transition: transform .3s; }
.gf-gm.all span { min-height: 0; background: none; }
.gf-gm.all small { color: var(--gf-gold); }
.gf-gm.all:hover i { transform: rotate(18deg) scale(1.08); }
@media (max-width: 1080px) { .gf-games-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .gf-games { padding: 14px 12px 18px; }
  .gf-games-head b { font-size: 18px; }
  .gf-games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .gf-games a.gf-gm { height: 124px; }
  .gf-gm b { font-size: 12.5px; }
  .gf-gm small { font-size: 10px; }
}
.gf-gm.all i { padding: 0; }
.gf-age .lbl { font-size: 28px; font-weight: 700; line-height: 1; color: #fff; letter-spacing: .02em; }
.gf-age .lbl small { margin-top: 5px; font-size: 13px; color: var(--gf-sky-2); }
@media (max-width: 760px) { .gf-age .lbl { font-size: 21px; } .gf-age .lbl small { margin-top: 3px; font-size: 10.5px; } }
@media (max-width: 400px) { .gf-age { gap: 9px; padding: 8px 10px; } .gf-age .lbl { font-size: 18px; } .gf-age .lbl small { font-size: 9.5px; } .gf-age .days b { font-size: 28px; } .gf-age .days span { font-size: 14px; } .gf-age .clock { font-size: 14px; padding-left: 9px; } }
@media (max-width: 340px) { .gf-age { gap: 7px; } .gf-age .lbl { font-size: 16px; } .gf-age .lbl small { font-size: 8.5px; } .gf-age .days b { font-size: 25px; } .gf-age .clock { padding-left: 7px; } }

/* ---------- category: subcategories + in-section search ---------- */
.x-subbar { gap: 14px; }
.x-subcats { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.x-subcat { position: relative; overflow: hidden; height: 64px; gap: 12px; padding: 0 38px 0 10px; color: #fff; border: 2px solid rgba(168,220,255,.35); border-radius: 8px; background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px), linear-gradient(170deg, var(--gf-navy-2), var(--gf-navy)); box-shadow: 0 4px 0 rgba(5,14,32,.45); font: italic 700 16px/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; transition: transform .2s, border-color .2s, box-shadow .2s; }
.x-subcat::after { content: ""; position: absolute; right: 14px; top: 50%; width: 9px; height: 12px; margin-top: -6px; background: var(--gf-sky-2); clip-path: polygon(0 0, 100% 50%, 0 100%); transition: transform .2s, background .2s; }
.x-subcat:hover { color: #fff; transform: translateY(-3px); border-color: var(--gf-sky-2); box-shadow: 0 0 0 2px var(--gf-sky), 0 10px 20px rgba(0,0,0,.35); }
.x-subcat:hover::after { transform: translateX(4px); background: #fff; }
.x-subcat img, .x-subcat-ico { width: 44px; height: 44px; border-radius: 0; clip-path: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%); }
.x-subcat-ico { color: #fff; font-size: 17px; background: linear-gradient(160deg, var(--gf-sky), var(--gf-steel)); transition: transform .3s; }
.x-subcat:hover .x-subcat-ico { transform: rotate(-10deg) scale(1.06); }

.x-cat-search { height: 64px; padding: 0 18px; border: 0; border-radius: 0; background: none; isolation: isolate; }
.x-cat-search::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #fff, #cfeaff); transform: skewX(-10deg); box-shadow: 0 4px 0 #6f9fd3; transition: box-shadow .2s; }
.x-cat-search:focus-within { box-shadow: none; }
.x-cat-search:focus-within::before { box-shadow: 0 4px 0 #6f9fd3, 0 0 0 3px var(--gf-sky); }
.x-cat-search > .fa { color: var(--gf-navy); font-size: 17px; }
.x-cat-search input { color: var(--gf-navy); font: italic 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; text-overflow: ellipsis; }
.x-cat-search input::placeholder { color: #5274a6; font-weight: 600; }
.x-cat-search button { color: #fff; background: var(--gf-navy); border-radius: 0; transform: skewX(-10deg); }
.x-cat-search button:hover { background: var(--gf-sky); }
.x-subbar.is-solo .x-cat-search { height: 56px; }
@media (max-width: 760px) {
  .x-subcats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .x-subcat { height: 56px; padding: 0 26px 0 8px; gap: 8px; font-size: 13.5px; }
  .x-subcat::after { right: 9px; width: 7px; height: 10px; margin-top: -5px; }
  .x-subcat img, .x-subcat-ico { width: 36px; height: 36px; font-size: 14px; }
  .x-cat-search, .x-subbar.is-solo .x-cat-search { height: 52px; margin: 0 6px; }
}
.x-subcat[href*="valyuta"] .x-subcat-ico i::before { content: "\f219"; }
.x-subcat[href*="nabory"] .x-subcat-ico i::before { content: "\f06b"; }
.x-subcat[href*="personazh"] .x-subcat-ico i::before { content: "\f007"; }
.x-subcat[href*="ekipirov"] .x-subcat-ico i::before, .x-subcat[href*="snaryazh"] .x-subcat-ico i::before { content: "\f132"; }
.x-subcat[href*="akkaunt"] .x-subcat-ico i::before { content: "\f2c2"; }
.x-cp-off { color: #fff; background: linear-gradient(180deg, #5cb8ff, #1f6fd1); text-shadow: 0 1px 0 rgba(10,24,48,.35); }
.x-cp-off .fa { color: var(--gf-gold); }
.x-cp-off { color: #fff; background: linear-gradient(180deg, #17315f, #0b1c3d); text-shadow: none; }
.x-card-promo.is-hot .x-cp-off { background: linear-gradient(180deg, #e5354f, #a3142c); }
.gf-pick { display: contents; } .gf-pick[hidden] { display: none; }

.gf-rec { position: absolute; z-index: 3; top: 7px; left: 7px; display: inline-flex; align-items: center; gap: 4px; overflow: hidden; padding: 3px 10px 3px 7px; color: #fff; background: linear-gradient(100deg, #ff2f7d 0%, #ff5a3c 55%, #ffb21c 100%); border: 2px solid #fff; border-radius: 3px; border-width: 1.5px; font-family: var(--display); font-style: italic; font-weight: 700; font-size: 13px; line-height: 1.2; letter-spacing: .02em; text-transform: uppercase; text-shadow: 0 1px 0 rgba(120,10,40,.45); box-shadow: 0 2px 0 #b3123f, 0 4px 10px rgba(255,47,125,.4); transform: rotate(-4deg) skewX(-8deg); }
.gf-rec i { display: inline-block; font-style: normal; color: #fff6b0; text-shadow: 0 0 6px rgba(255,236,120,.9); animation: gf-rec-star 1.8s ease-in-out infinite; }
.gf-rec::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); transform: skewX(-20deg); animation: gf-rec-shine 3.2s ease-in-out infinite; }
.gf-item.big .gf-rec { top: 12px; left: 12px; gap: 5px; padding: 5px 16px 5px 11px; border-width: 2px; border-radius: 4px; font-size: 18px; box-shadow: 0 3px 0 #b3123f, 0 6px 14px rgba(255,47,125,.45); }
@keyframes gf-rec-star { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.3) rotate(18deg); } }
@keyframes gf-rec-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@media (max-width: 700px) { .gf-rec { top: 5px; left: 5px; font-size: 11px; padding: 2px 8px 2px 6px; } .gf-item.big .gf-rec { font-size: 13px; padding: 3px 11px 3px 8px; } }
@media (prefers-reduced-motion: reduce) { .gf-rec i, .gf-rec::after { animation: none; } }

.gf-deal { position: absolute; z-index: 3; top: 7px; left: 7px; display: inline-flex; align-items: center; gap: 3px; overflow: hidden; padding: 2px 9px 2px 6px; color: #fff; background: linear-gradient(180deg, #ff3b30 0%, #d0102a 60%, #8e0a25 100%); border: 1.5px solid #ffd54a; border-radius: 3px; font-family: var(--display); font-style: italic; font-weight: 700; font-size: 13px; line-height: 1.15; text-shadow: 0 1px 0 rgba(80,0,10,.6); box-shadow: 0 2px 0 #6e0a1c, 0 4px 12px rgba(208,16,42,.5), inset 0 1px 0 rgba(255,255,255,.35); transform: rotate(-5deg) skewX(-8deg); clip-path: polygon(0 0, 100% 0, calc(100% - 5px) 50%, 100% 100%, 0 100%); }
.gf-deal svg { width: 1.05em; height: 1.05em; fill: #ffd54a; filter: drop-shadow(0 0 3px rgba(255,190,40,.9)); transform-origin: 50% 90%; animation: gf-deal-flame 1.1s ease-in-out infinite alternate; }
.gf-deal::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 35%; background: linear-gradient(90deg, transparent, rgba(255,240,180,.7), transparent); transform: skewX(-20deg); animation: gf-rec-shine 2.6s ease-in-out infinite; }
.gf-item.big .gf-deal { top: 12px; left: 12px; gap: 5px; padding: 4px 16px 4px 10px; border-width: 2px; font-size: 20px; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%); }
@keyframes gf-deal-flame { from { transform: scale(1) rotate(-6deg); } to { transform: scale(1.18) rotate(6deg); } }
@media (max-width: 700px) { .gf-deal { top: 5px; left: 5px; font-size: 10px; padding: 1px 7px 1px 5px; } .gf-item.big .gf-deal { font-size: 14px; padding: 3px 12px 3px 8px; } }
@media (prefers-reduced-motion: reduce) { .gf-deal svg, .gf-deal::after { animation: none; } }

.gf-new { position: absolute; z-index: 3; top: 7px; left: 7px; display: inline-flex; align-items: center; gap: 3px; overflow: hidden; padding: 2px 8px 2px 5px; color: var(--gf-navy); background: linear-gradient(100deg, #b6ff3c 0%, #3cf5a0 50%, #19d3ff 100%); border: 1.5px solid #fff; border-radius: 3px; font-family: var(--display); font-style: italic; font-weight: 700; font-size: 11px; line-height: 1.2; letter-spacing: .02em; text-transform: uppercase; box-shadow: 0 2px 0 #0b8f7a, 0 0 12px rgba(60,245,160,.55); transform: rotate(-4deg) skewX(-8deg); }
.gf-new svg { width: 1.15em; height: 1.15em; fill: var(--gf-navy); filter: drop-shadow(0 0 1.5px rgba(255,255,255,.95)) drop-shadow(0 0 3px rgba(255,255,255,.6)); animation: gf-new-spark 1.6s ease-in-out infinite; }
.gf-new::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 35%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent); transform: skewX(-20deg); animation: gf-rec-shine 3s ease-in-out infinite; }
.gf-item.big .gf-new { top: 12px; left: 12px; gap: 5px; padding: 5px 15px 5px 10px; border-width: 2px; border-radius: 4px; font-size: 18px; box-shadow: 0 3px 0 #0b8f7a, 0 0 18px rgba(60,245,160,.55); }
@keyframes gf-new-spark { 0%, 100% { transform: scale(.85) rotate(0); opacity: .85; } 50% { transform: scale(1.25) rotate(45deg); opacity: 1; } }
@media (max-width: 700px) { .gf-new { top: 5px; left: 5px; font-size: 9px; padding: 1px 6px 1px 4px; } .gf-item.big .gf-new { font-size: 13px; padding: 3px 11px 3px 8px; } }
@media (prefers-reduced-motion: reduce) { .gf-new svg, .gf-new::after { animation: none; } }

/* product photo plate: italic caps were clipped by line-height 1 + overflow */
body.gp-page .gp-tile-tag span { line-height: 1.3; padding: 0.16em 0.24em 0.05em 0.04em; }

/* ---------- order: loot-ticket receipt (game-gold) ---------- */
.gf-order { max-width: 640px; margin: 0 auto; padding: 36px 0 56px; }
.gf-order-head {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 16px;
}
.gf-order-head h2 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.gf-order-head .meta {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.gf-order-head .meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28em;
}
.gf-order-head .meta .gf-ticket-copy {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.22em;
  line-height: 1;
}
.gf-order-head .gf-ticket-copy > i {
  font-size: 0.48em;
  opacity: 0.5;
  color: #fff;
  transform: translateY(1px);
}
.gf-order-head .gf-ticket-copy:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.gf-ticket {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 3px solid #fff;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 32%, rgba(53, 155, 228, 0.2), transparent 52%),
    radial-gradient(circle at 50% 38%, #143a5e 0%, #0a1426 58%, #060d18 100%);
  box-shadow: 0 6px 0 rgba(15, 34, 69, 0.45), 0 22px 50px -20px rgba(0, 0, 0, 0.75);
  padding: 20px 20px 18px;
  animation: gf-ticket-in 0.45s ease-out both;
}
@keyframes gf-ticket-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.gf-ticket::before {
  content: "";
  position: absolute;
  inset: -32%;
  background: repeating-conic-gradient(from 0deg at 50% 42%, rgba(255, 255, 255, 0.16) 0 6deg, transparent 6deg 18deg);
  pointer-events: none;
  z-index: 0;
  animation: gf-spin 40s linear infinite;
}
.gf-ticket::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(4, 9, 20, 0.45) 0%, rgba(4, 9, 20, 0.82) 42%, rgba(4, 9, 20, 0.93) 100%);
  box-shadow: inset 0 0 0 1px rgba(168, 220, 255, 0.06);
  pointer-events: none;
  z-index: 1;
}
.gf-ticket > * { position: relative; z-index: 2; }
.gf-ticket-ribbon {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: -42px;
  width: 160px;
  padding: 6px 0;
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gf-navy);
  background: linear-gradient(180deg, #fff, #cfeaff);
  transform: rotate(32deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  opacity: 0.92;
}
.gf-ticket.is-paid .gf-ticket-ribbon::after { content: "PAID"; }
.gf-ticket.is-wait .gf-ticket-ribbon::after { content: "WAIT"; color: #5a3d00; }
.gf-ticket.is-fail .gf-ticket-ribbon::after { content: "FAIL"; color: #6b1020; }
.gf-ticket:not(.is-paid):not(.is-wait):not(.is-fail) .gf-ticket-ribbon { display: none; }

.gf-ticket-top { margin: 0 0 14px; }
.gf-ticket-top .gf-ticket-lead { margin: 10px 0 0; padding: 0; }
.gf-ticket-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 6px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  transform: skewX(-6deg);
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.gf-ticket-badge > i { transform: skewX(6deg); }
.gf-ticket-badge.is-ok { color: #e8fff3; background: linear-gradient(135deg, rgba(47, 209, 124, 0.35), rgba(22, 122, 71, 0.55)); border-color: rgba(47, 209, 124, 0.55); }
.gf-ticket-badge.is-wait { color: #fff6dd; background: linear-gradient(135deg, rgba(255, 207, 74, 0.35), rgba(154, 100, 0, 0.45)); border-color: rgba(255, 207, 74, 0.5); }
.gf-ticket-badge.is-fail { color: #ffe8ec; background: linear-gradient(135deg, rgba(255, 77, 94, 0.35), rgba(138, 31, 50, 0.55)); border-color: rgba(255, 77, 94, 0.55); }
.gf-ticket-lead { font-size: 14px; line-height: 1.45; max-width: 36em; }

.gf-ticket-grid {
  display: grid;
  gap: 0;
  margin: 0 0 14px;
  border: 1px solid rgba(168, 220, 255, 0.18);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(3, 8, 18, 0.92);
}
.gf-ticket-grid > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(168, 220, 255, 0.1);
  font-size: 13px;
}
.gf-ticket-grid > div:last-child { border-bottom: 0; }
.gf-ticket-grid dt { margin: 0; color: var(--muted); font-weight: 600; }
.gf-ticket-grid dd { margin: 0; text-align: right; color: #fff; max-width: 62%; word-break: break-word; }
.gf-ticket-status { color: var(--gf-sky-2); font-weight: 700; }

.gf-ticket-copy {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--gf-sky-2);
  font: inherit;
  font-weight: 700;
  cursor: copy;
  transition: background 0.15s, color 0.15s;
}
.gf-ticket-copy > i { font-size: 12px; opacity: 0.7; }
.gf-ticket-copy:hover { background: rgba(53, 155, 228, 0.15); color: #fff; }
.gf-ticket-copy-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--green);
  color: #04210f;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}
.gf-ticket-copy.is-copied .gf-ticket-copy-tip { opacity: 1; }

.gf-ticket-table { margin: 0 0 14px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(168, 220, 255, 0.16); }
.gf-ticket-row {
  display: grid;
  grid-template-columns: 1fr 52px 88px;
  gap: 10px;
  align-items: start;
  padding: 11px 14px;
  font-size: 13px;
  background: rgba(3, 8, 18, 0.88);
  border-bottom: 1px solid rgba(168, 220, 255, 0.08);
}
.gf-ticket-row:last-child { border-bottom: 0; }
.gf-ticket-row.is-head {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gf-sky-2);
  background: rgba(6, 14, 32, 0.96);
}
.gf-ticket-row span:nth-child(2),
.gf-ticket-row.is-head span:nth-child(2) { text-align: center; }
.gf-ticket-row span:nth-child(3),
.gf-ticket-row.is-head span:nth-child(3) { text-align: right; white-space: nowrap; }
.gf-ticket-row.is-total {
  background: rgba(12, 28, 52, 0.95);
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  color: #fff;
}
.gf-ticket-row.is-total span:first-child { text-transform: uppercase; font-style: italic; }
.gf-ticket-row.is-empty { color: var(--muted); font-style: italic; grid-template-columns: 1fr; }

.gf-ticket-block {
  margin: 16px 0;
  padding: 14px;
  border-radius: 10px;
  background: rgba(3, 8, 18, 0.9);
  border: 1px solid rgba(168, 220, 255, 0.14);
  text-align: left;
}
.gf-ticket-block h3 { margin: 0 0 10px; font-size: 16px; color: #fff; }
.gf-ticket-block h3 .fa { color: var(--orange-2); margin-right: 6px; }
.gf-ticket-mono { font-size: 13px; line-height: 1.5; color: var(--muted); }
.gf-ticket-goods .x-good { margin-top: 10px; }
.gf-ticket-goods-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.gf-ticket-goods-actions .x-btn { margin: 0; font-size: 13px; height: auto; padding: 8px 12px; }

.gf-ticket-note {
  margin: 4px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  border-left: 4px solid var(--gf-sky);
  background: rgba(53, 155, 228, 0.1);
  font-size: 14px;
  color: #dbe8f8;
}
.gf-ticket-note .fa { color: var(--gf-sky-2); margin-right: 8px; }
.gf-ticket-actions { margin-top: 18px; text-align: center; }
.gf-ticket-actions .x-btn { width: 100%; max-width: 360px; }
.gf-ticket-foot {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(168, 220, 255, 0.16);
  text-align: center;
}
.gf-ticket-foot > p { margin: 0 0 12px; font-size: 13px; }
.gf-ticket-help { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

@media (max-width: 560px) {
  .gf-order { padding: 24px 0 40px; }
  .gf-order-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .gf-order-head h2,
  .gf-order-head .meta { font-size: clamp(24px, 7vw, 32px); }
  .gf-ticket { padding: 18px 16px; }
  .gf-ticket-row { grid-template-columns: 1fr 40px 76px; padding: 10px 12px; font-size: 12px; }
  .gf-ticket-ribbon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gf-ticket, .gf-ticket::before { animation: none; }
}
