@charset "UTF-8";

:root {

 --ink-900:    #03010E;
  --ink-800:    #080314;
  --ink-700:    #190C24;
  --ink-600:    #281735;
  --indigo:     #381768;
  --violet:     #ebdef0;
  --violet-deep:#5A2897;
  --grape:      #642C8D;
  --orchid:     #773698;
  --mauve:      #A857A8;
  --pink:       #C06DB2;
  --blush:      #F9CFD8;
  --glow:       #c219f5;
  --paper:      #E4DDE4;
  --neon:       #c02df1;

  --ps5:  #93BDF7;
  --ps4:  #2C3A99;
  --xbox: #4FA85F;

  --font-latin:  "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-arabic: "Vazirmatn", "Noto Sans Arabic", system-ui, sans-serif;
  --font: var(--font-latin);

  --t-xs:   0.75rem;
  --t-sm:   0.8125rem;
  --t-base: 1rem;
  --t-md:   1.0625rem;
  --t-lg:   clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem);
  --t-xl:   clamp(1.45rem, 1.2rem + 1.1vw, 2rem);
  --t-2xl:  clamp(1.9rem, 1.45rem + 2.1vw, 2.9rem);
  --t-hero: clamp(2.2rem, 1.55rem + 2.8vw, 3.9rem);

  --gutter: 1.25rem;
  --block:  clamp(3rem, 2rem + 4vw, 5.5rem);
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --wrap: 1240px;
  --header-h: 60px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 48em) {
  :root { --gutter: 2rem; --header-h: 72px; }
}

:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg:         var(--ink-800);
  --bg-sunk:    var(--ink-900);
  --surface:    var(--ink-700);
  --surface-2:  var(--ink-600);
  --line:       rgba(218, 129, 249, 0.15);
  --line-strong:rgba(218, 129, 249, 0.3);
  --text:       #F2ECF5;
  --text-dim:   #A99BC2;
  --accent:     var(--glow);
  --accent-ink: #0F0618;
  --accent-soft:rgba(218, 129, 249, 0.12);
  --shadow:     0 18px 40px -20px rgba(0, 0, 0, 0.9);
  --art-l: 40%;

  --fx-a:       var(--violet);
  --fx-b:       var(--pink);
  --fx-opacity: 0.5;

  --ok:        #4FA85F;
  --danger:    #E8607A;
  --danger-bg: rgba(232, 96, 122, 0.12);
  --warn:      #E8B85F;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg:         #F6F2FA;
  --bg-sunk:    #ECE4F4;
  --surface:    #FFFFFF;
  --surface-2:  #F9F5FD;
  --line:       rgba(56, 23, 104, 0.14);
  --line-strong:rgba(90, 40, 151, 0.32);
  --text:       #1A0B28;
  --text-dim:   #554470;
  --accent:     var(--violet-deep);
  --accent-ink: #FFFFFF;
  --accent-soft:rgba(90, 40, 151, 0.09);
  --shadow:     0 16px 34px -22px rgba(40, 23, 53, 0.45);
  --art-l: 46%;
  --fx-a:       var(--mauve);
  --fx-b:       var(--pink);
  --fx-opacity: 0.3;

  --ok:        #2F7D3E;
  --danger:    #C62F4D;
  --danger-bg: rgba(198, 47, 77, 0.1);
  --warn:      #8A6200;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[dir="rtl"] body { --font: var(--font-arabic); line-height: 1.8; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4 { font-weight: 900; letter-spacing: 0; line-height: 1.3; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

img, svg, video { max-width: 100%; display: block; }

button, input, select, textarea { font: inherit; color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--accent); color: var(--accent-ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; inset-inline-start: 0; top: -100px;
  z-index: 200; padding: 0.75rem 1.25rem;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600;
}
.skip:focus { top: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.block { padding-block: var(--block); }
.block--sunk { background: var(--bg-sunk); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.75rem;
}

.section-head h1,
.section-head h2 { font-size: var(--t-xl); }

.section-head p {
  margin: 0.4rem 0 0;
  color: var(--text-dim);
  max-width: 48ch;
  font-size: var(--t-sm);
}

.section-head__link {
  color: var(--accent);
  font-weight: 600;
  font-size: var(--t-sm);
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s var(--ease);
  white-space: nowrap;
}
.section-head__link:hover { border-color: currentColor; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-inline-end: auto;
  flex-shrink: 0;
}

.brand img {
  width: 34px; height: 34px;
  border-radius: 9px;
  object-fit: cover;
}

.brand span {
  font-family: var(--font-latin);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.nav { display: none; }

@media (min-width: 72em) {
  .nav {
    display: flex;
    gap: 0.25rem;
    margin-inline-end: 0.5rem;
  }
  .nav a {
    padding: 0.5rem 0.85rem;
    border-radius: var(--r-sm);
    font-size: var(--t-sm);
    font-weight: 500;
    color: var(--text-dim);
    transition: color 0.18s var(--ease), background 0.18s var(--ease);
  }
  .nav a:hover { color: var(--text); background: var(--accent-soft); }
  .nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }
}

.ctl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 38px;
  height: 38px;
  padding-inline: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: var(--t-sm);
  font-weight: 600;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
}
.ctl:hover { border-color: var(--line-strong); background: var(--accent-soft); }
.ctl svg { width: 18px; height: 18px; }

.langs { position: relative; }

.langs__menu {
  position: absolute;

  z-index: 60;
  inset-inline-end: 0;
  top: calc(100% + 0.5rem);
  min-width: 150px;
  padding: 0.3rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  display: none;
}
.langs__menu[data-open="true"] { display: block; }

.langs__menu a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
}
.langs__menu a:hover { background: var(--accent-soft); }
.langs__menu a[aria-current="true"] { color: var(--accent); font-weight: 700; }
.langs__menu small { color: var(--text-dim); font-family: var(--font-latin); }

.chips--fine { margin-top: -0.3rem; }
.chips--fine .chip {
  font-size: var(--t-xs);
  padding: 0.3rem 0.65rem;
  opacity: 0.9;
}
.chips--fine .chip[aria-current="true"] { opacity: 1; }

.cookiebar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 139;
  padding: 0.85rem var(--gutter) calc(0.85rem + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -18px 40px -30px rgba(0, 0, 0, 0.9);
}

.cookiebar[data-going="1"] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .cookiebar[data-going="1"] { transition: none; }
}

.cookiebar__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
}

.cookiebar__text { flex: 1 1 18rem; min-width: 0; }
.cookiebar__text strong { display: block; font-size: var(--t-sm); }
.cookiebar__text p {
  margin: 0.15rem 0 0;
  font-size: var(--t-xs);
  color: var(--text-dim);
  line-height: 1.6;
}

.cookiebar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.cookiebar__actions .btn { padding: 0.55rem 1rem; font-size: var(--t-sm); }
.cookiebar__actions form { margin: 0; display: flex; }

.cookiebar ~ .toasts { bottom: calc(1rem + var(--cookiebar-h, 5rem)); }

body[data-cookiebar-on="1"] { padding-bottom: var(--cookiebar-h, 5rem); }

.ck-table code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: var(--t-xs);
  unicode-bidi: isolate;
}

@media (max-width: 34em) {
  .cookiebar__actions { width: 100%; }

  .cookiebar__actions > * { flex: 1 1 0; }
  .cookiebar__actions .btn { flex: 1 1 0; justify-content: center; }
}

.banner {
  position: relative;
  isolation: isolate;
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  padding: clamp(1.6rem, 1.1rem + 2.4vw, 2.9rem) clamp(1.1rem, 0.6rem + 2vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--accent) 13%, transparent),
      transparent 52%),
    var(--surface);
  overflow: hidden;
}

.banner__glow {
  position: absolute;
  z-index: -1;
  inset-inline-start: -10%;
  top: -70%;
  width: 55%;
  padding-bottom: 55%;
  border-radius: 50%;
  background: var(--accent);
  background: radial-gradient(circle,
    color-mix(in srgb, var(--accent) 42%, transparent),
    transparent 68%);
  opacity: 0.5;
  filter: blur(34px);
  pointer-events: none;
}

.banner__inner { position: relative; }

.banner__icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}
.banner__icon .icon { width: 21px; height: 21px; }

.banner__title {
  margin: 0;
  font-size: var(--t-2xl);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.banner__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.banner__sub {
  margin: 0.5rem 0 0;
  max-width: 46ch;
  color: var(--text-dim);
  font-size: var(--t-md);
}

@media (prefers-reduced-motion: reduce) {
  .banner__glow { filter: blur(26px); }
}

@media (max-width: 36em) {
  .banner__glow { width: 90%; padding-bottom: 90%; }
}

.howto {
  list-style: none;
  margin: 0.9rem 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  counter-reset: howto;
}

.howto li {
  display: flex;
  align-items: start;
  gap: 0.6rem;
  font-size: var(--t-sm);
  color: var(--text-dim);
}

.howto__n {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: var(--t-xs);
  font-weight: 800;
  font-family: var(--font-latin);
}

.sendto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 0.6rem;
  margin: 0.9rem 0 0.4rem;
}

.sendto__btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--brand-soft, var(--accent-soft));
  color: var(--text);
  font: inherit;
  font-size: var(--t-sm);
  font-weight: 650;
  text-align: start;
  cursor: pointer;
  transition: transform 0.16s var(--ease), border-color 0.18s var(--ease),
              box-shadow 0.18s var(--ease);
}
.sendto__btn:hover {
  border-color: var(--brand, var(--accent));
  box-shadow: 0 0 0 1px var(--brand, var(--accent)),
              0 10px 24px -18px var(--brand, var(--accent));
}
.sendto__btn:active { transform: translateY(1px); }

.sendto__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.sendto__text strong { font-weight: 700; }
.sendto__text small {
  font-size: var(--t-xs);
  font-weight: 500;
  color: var(--text-dim);
  font-family: var(--font-latin);
  unicode-bidi: isolate;
}

.sendto__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand, var(--accent));
  opacity: 0;
  pointer-events: none;
}
.sendto__btn.is-sent::after { animation: sendto-flash 0.55s var(--ease); }

@keyframes sendto-flash {
  0%   { opacity: 0.32; transform: scale(0.96); }
  100% { opacity: 0;    transform: scale(1.04); }
}

.sendto__btn.is-sent .sendto__mark { animation: sendto-pop 0.45s var(--ease); }

@keyframes sendto-pop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.22); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .sendto__btn.is-sent::after,
  .sendto__btn.is-sent .sendto__mark { animation: none; }
  .sendto__btn.is-sent { outline: 2px solid var(--brand, var(--accent)); }
}

.sendto__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--surface);
  color: var(--brand, var(--accent));
}
.sendto__mark .mark { width: 17px; height: 17px; }

@media (prefers-reduced-motion: reduce) {
  .sendto__btn { transition: none; }
}

.reach { position: relative; }

.reach__menu {
  position: absolute;
  z-index: 60;
  inset-inline-end: 0;
  top: calc(100% + 0.5rem);
  width: 232px;
  padding: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  display: none;
}
.reach__menu[data-open="true"] { display: block; }

.reach__head {
  margin: 0.25rem 0.55rem 0.4rem;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.reach__menu a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.55rem;
  border-radius: var(--r-sm);
  color: var(--text);
}
.reach__menu a:hover { background: var(--accent-soft); }

.reach__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--brand-soft, var(--accent-soft));
  color: var(--brand, var(--accent));
}
.reach__mark .mark { width: 18px; height: 18px; }

.reach__text { display: flex; flex-direction: column; line-height: 1.25; }
.reach__text strong { font-size: var(--t-sm); font-weight: 650; }
.reach__text small {
  font-size: var(--t-xs);
  color: var(--text-dim);
  font-family: var(--font-latin);
  unicode-bidi: isolate;
}

.drawer__reach {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.drawer__reach a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--brand-soft, var(--accent-soft));
  color: var(--brand, var(--accent));
}
.drawer__reach a:hover { border-color: var(--brand, var(--accent)); }
.drawer__reach .mark { width: 21px; height: 21px; }

.is-telegram  { --brand: #229ED9; --brand-soft: rgba(34, 158, 217, 0.14); }
.is-whatsapp  { --brand: #1FAF54; --brand-soft: rgba(31, 175, 84, 0.14); }
.is-instagram { --brand: #D32C71; --brand-soft: rgba(211, 44, 113, 0.13); }
.is-facebook  { --brand: #1877F2; --brand-soft: rgba(24, 119, 242, 0.13); }
.is-viber     { --brand: #7360F2; --brand-soft: rgba(115, 96, 242, 0.14); }
.is-phone     { --brand: var(--accent); --brand-soft: var(--accent-soft); }

:root[data-theme="dark"] .is-whatsapp  { --brand: #25D366; }
:root[data-theme="dark"] .is-instagram { --brand: #F0609C; }
:root[data-theme="dark"] .is-facebook  { --brand: #4C9AFF; }
:root[data-theme="dark"] .is-telegram  { --brand: #4FC0F0; }
:root[data-theme="dark"] .is-viber     { --brand: #9A8CFF; }

.socials a { color: var(--brand, var(--text-dim)); }
.socials a:hover { color: var(--brand, var(--accent)); }

.basket-btn { position: relative; }

.basket-btn__count {
  position: absolute;
  top: -6px;
  inset-inline-end: -6px;
  min-width: 19px;
  height: 19px;
  padding-inline: 4px;
  display: none;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-latin);
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 19px;
}
.basket-btn__count[data-has="1"] { display: grid; }

.burger { display: inline-flex; }
@media (min-width: 72em) { .burger { display: none; } }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
}
.drawer[data-open="true"] { display: block; }

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(7, 3, 17, 0.7);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.drawer__panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(320px, 86vw);
  padding: 1.25rem;
  background: var(--surface);
  border-inline-start: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  animation: drawer-in 0.26s var(--ease);
}

@keyframes drawer-in {
  from { transform: translateX(var(--drawer-from, 100%)); }
}
[dir="rtl"] .drawer__panel { --drawer-from: -100%; }

@media (prefers-reduced-motion: reduce) {

  .drawer__panel { animation: none; }
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.drawer a.drawer__link {
  padding: 0.85rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: var(--t-md);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.drawer a.drawer__link:last-of-type { border-bottom: 0; }
.drawer a.drawer__link[aria-current="page"] { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: var(--t-sm);
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: transform 0.16s var(--ease), background 0.18s var(--ease),
              border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent); background: color-mix(in srgb, var(--accent) 86%, var(--text)); }

.btn--ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn--ghost:hover { background: var(--accent-soft); border-color: var(--accent); }

.btn--block { width: 100%; }
.btn--lg { padding: 1rem 1.6rem; font-size: var(--t-base); }

.hero {
  position: relative;
  padding-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  padding-bottom: clamp(1rem, 0.5rem + 1.6vw, 2rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset-inline: 50%;
  top: -36%;
  width: min(92vw, 1000px);
  translate: -50% 0;
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--accent), transparent 62%);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 34%, transparent), transparent 62%);
  opacity: 0.5;
  pointer-events: none;
}
:root[data-theme="light"] .hero::before { opacity: 0.22; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.75rem;
}

.hero__cta .btn { flex: 1 1 12rem; }
@media (min-width: 30em) { .hero__cta .btn { flex: 0 1 auto; } }

.shelf-wrap {
  position: relative;
  margin-top: clamp(2.5rem, 1.5rem + 4vw, 3.5rem);
  --edge: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
}

.shelf {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline-start: var(--edge);
  padding-inline: var(--edge);
  padding-bottom: 1.5rem;
  scrollbar-width: none;
}
.shelf::-webkit-scrollbar { display: none; }

.shelf > * {
  flex: 0 0 clamp(142px, 38vw, 210px);
  scroll-snap-align: start;
}

.shelf-wrap::after {
  content: "";
  display: block;
  height: 1px;
  margin-inline: var(--edge);
  background: linear-gradient(to right, var(--line-strong), var(--line-strong) 72%, transparent);
}

[dir="rtl"] .shelf-wrap::after {
  background: linear-gradient(to left, var(--line-strong), var(--line-strong) 72%, transparent);
}

.shelf-hint {
  margin: 0.9rem var(--edge) 0;
  font-size: var(--t-xs);
  color: var(--text-dim);
}
@media (min-width: 60em) { .shelf-hint { display: none; } }

.case {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.case__link { display: block; }

.case__art {
  position: relative;
  aspect-ratio: 27 / 34;
  border-radius: 4px var(--r-md) var(--r-md) 4px;
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
[dir="rtl"] .case__art { border-radius: var(--r-md) 4px 4px var(--r-md); }

.case__link:hover .case__art,
.case__link:focus-visible .case__art {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.85);
}

.case__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case__art--made {
  display: grid;
  place-items: center;
  background:
    radial-gradient(118% 86% at 72% 8%,
      hsl(calc((252 + var(--seed, 0) * 0.2) * 1deg) 62% var(--art-l) / 0.95), transparent 58%),
    linear-gradient(203deg, var(--indigo), var(--ink-900) 72%);
}
:root[data-theme="light"] .case__art--made {
  background:
    radial-gradient(118% 86% at 72% 8%,
      hsl(calc((252 + var(--seed, 0) * 0.2) * 1deg) 52% 62% / 0.95), transparent 58%),
    linear-gradient(203deg, var(--orchid), var(--indigo) 78%);
}

.case__initials {
  font-family: var(--font-latin);
  font-size: clamp(2.2rem, 9vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  padding-inline-start: 18px;
  user-select: none;
}

.case__spine {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 17px;
  display: flex;
  flex-direction: column;
  background: rgba(7, 3, 17, 0.55);
}
@media (min-width: 48em) { .case__spine { width: 20px; } }

.case__spine span {
  flex: 1;
  display: grid;
  place-items: center;
  font-family: var(--font-latin);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  padding-block: 2px;
}
@media (min-width: 48em) { .case__spine span { font-size: 0.625rem; } }

.case__spine .is-ps5  { background: var(--ps5);  color: #0A1733; }
.case__spine .is-ps4  { background: var(--ps4);  color: #EAEEFF; }
.case__spine .is-xbox { background: var(--xbox); color: #06230C; }

.case__name {
  margin-top: 0.7rem;
  font-size: var(--t-sm);
  font-weight: 700;
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.case__link:hover .case__name { color: var(--accent); }

.case__plats {
  margin-top: 0.2rem;
  font-family: var(--font-latin);
  font-size: var(--t-xs);
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.case__add {
  margin-top: 0.6rem;
  width: 100%;
  padding: 0.5rem 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: transparent;
  color: var(--text-dim);
  font-size: var(--t-xs);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease);
}
.case__add:hover { background: var(--accent-soft); color: var(--text); border-color: var(--accent); }
.case__add[data-in="1"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.cases {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.5rem 1rem;
}
@media (min-width: 40em) {
  .cases { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 2rem 1.25rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .shelf .case {
    animation: case-in 0.5s var(--ease) backwards;
    animation-delay: calc(var(--i, 0) * 70ms);
  }
  @keyframes case-in {
    from { opacity: 0; transform: translateY(14px); }
  }
}

.steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}
@media (min-width: 48em) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.step { counter-increment: step; }

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem; height: 2rem;
  margin-bottom: 0.85rem;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-latin);
  font-weight: 800;
  font-size: var(--t-sm);
}

.step h3 { font-size: var(--t-md); }
.step p { margin-top: 0.4rem; color: var(--text-dim); font-size: var(--t-sm); }

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.search {
  display: flex;
  flex: 1 1 15rem;
  max-width: 26rem;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
}
.search:focus-within { border-color: var(--accent); }

.search input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.9rem;
  border: 0;
  background: transparent;
  font-size: var(--t-sm);
}
.search input::placeholder { color: var(--text-dim); }
.search input:focus { outline: none; }

.search button {
  padding-inline: 0.9rem;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
}
.search button:hover { color: var(--accent); }
.search svg { width: 18px; height: 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.chip {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--line-strong); }
.chip[aria-current="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.result-count {
  margin-bottom: 1.25rem;
  font-size: var(--t-sm);
  color: var(--text-dim);
}

.empty {
  padding: clamp(2.5rem, 2rem + 3vw, 4rem) 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  text-align: center;
}
.empty h2 { font-size: var(--t-lg); }
.empty p { margin: 0.6rem auto 1.5rem; max-width: 42ch; color: var(--text-dim); font-size: var(--t-sm); }

.product {
  display: grid;
  gap: 2rem;
  padding-top: 2rem;
}
@media (min-width: 56em) {
  .product { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3.5rem; align-items: start; }
}

.gallery__main {
  position: relative;
  aspect-ratio: 27 / 34;
  max-height: 68vh;
  border-radius: 6px var(--r-lg) var(--r-lg) 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery__main:not(.case__art--made) { background: var(--surface-2); }
[dir="rtl"] .gallery__main { border-radius: var(--r-lg) 6px 6px var(--r-lg); }

.gallery__main img { width: 100%; height: 100%; object-fit: cover; }

.gallery__thumbs {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.8rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery__thumbs::-webkit-scrollbar { display: none; }

.gallery__thumbs button {
  flex: 0 0 54px;
  aspect-ratio: 27 / 34;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface-2);
  cursor: pointer;
}
.gallery__thumbs button[aria-current="true"] { border-color: var(--accent); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product h1 { font-size: var(--t-2xl); }

.product__plats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.plat-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-family: var(--font-latin);
  font-size: var(--t-xs);
  font-weight: 700;
}
.plat-tag::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--dot, var(--accent));
}
.plat-tag.is-ps5  { --dot: var(--ps5); }
.plat-tag.is-ps4  { --dot: var(--ps4); }
.plat-tag.is-xbox { --dot: var(--xbox); }

.product__body { margin-top: 1.75rem; }
.product__body h2 { font-size: var(--t-md); margin-bottom: 0.6rem; }
.product__body p { color: var(--text-dim); max-width: 62ch; }

.product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.75rem;
}

.price-note {
  margin-top: 1.75rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--accent);
  border-radius: var(--r-sm) var(--r-md) var(--r-md) var(--r-sm);
  background: var(--surface);
}
[dir="rtl"] .price-note { border-radius: var(--r-md) var(--r-sm) var(--r-sm) var(--r-md); }
.price-note h2 { font-size: var(--t-sm); margin-bottom: 0.35rem; }
.price-note p { margin: 0; font-size: var(--t-sm); color: var(--text-dim); }

.backlink {
  display: inline-block;
  margin-top: 2rem;
  font-size: var(--t-sm);
  color: var(--text-dim);
}
.backlink:hover { color: var(--accent); }

.posts {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 42em) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .posts { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.post-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }

.post-card__art {
  aspect-ratio: 16 / 9;
  background: linear-gradient(203deg, var(--indigo), var(--ink-900));
  overflow: hidden;
}
.post-card__art img { width: 100%; height: 100%; object-fit: cover; }

.post-card__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.25rem 1.35rem;
}

.post-card time {
  font-family: var(--font-latin);
  font-size: var(--t-xs);
  color: var(--text-dim);
}

.post-card h3 { margin-top: 0.45rem; font-size: var(--t-md); }
.post-card p { margin-top: 0.5rem; font-size: var(--t-sm); color: var(--text-dim); }

.post-card__more {
  margin-top: auto;
  padding-top: 0.9rem;
  align-self: flex-start;
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--accent);
}

.article { max-width: 68ch; padding-top: 2.5rem; }
.article h1 { font-size: var(--t-2xl); }
.article time { display: block; margin-top: 0.8rem; color: var(--text-dim); font-size: var(--t-sm); font-family: var(--font-latin); }

.article__cover {
  margin-top: 1.75rem;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
}
.article__cover img { width: 100%; height: 100%; object-fit: cover; }

.article__body { margin-top: 1.75rem; font-size: var(--t-md); }
.article__body p { color: var(--text-dim); }

.basket { padding-top: 2.5rem; }

.basket__grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 60em) {
  .basket__grid { grid-template-columns: minmax(0, 1fr) 22rem; gap: 3rem; }
}

.line {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 34em) { .line { grid-template-columns: 68px minmax(0, 1fr) auto; align-items: center; gap: 1.1rem; } }

.line__art {
  aspect-ratio: 27 / 34;
  border-radius: 3px 8px 8px 3px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.line__art:not(.case__art--made) { background: var(--surface-2); }
[dir="rtl"] .line__art { border-radius: 8px 3px 3px 8px; }
.line__art img { width: 100%; height: 100%; object-fit: cover; }

.line__art .case__initials { font-size: 1.1rem; padding: 0; }

.line__name { font-size: var(--t-sm); font-weight: 700; line-height: 1.35; }
.line__name:hover { color: var(--accent); }
.line__plats { margin-top: 0.2rem; font-family: var(--font-latin); font-size: var(--t-xs); color: var(--text-dim); }

.line__controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  grid-column: 2;
}
@media (min-width: 34em) { .line__controls { grid-column: 3; margin-top: 0; } }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.qty button {
  width: 32px; height: 32px;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.qty button:hover { background: var(--accent-soft); color: var(--text); }

.qty output {
  min-width: 2rem;
  text-align: center;
  font-family: var(--font-latin);
  font-size: var(--t-sm);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.line__remove {
  border: 0;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 6px;
}
.line__remove:hover { color: var(--danger); background: var(--danger-bg); }
.line__remove svg { width: 17px; height: 17px; }

.order {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.order h2 { font-size: var(--t-md); }

.order__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 1rem 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-sm);
  color: var(--text-dim);
}
.order__total b {
  font-family: var(--font-latin);
  font-size: var(--t-xl);
  font-weight: 800;
  color: var(--text);
}

.order__msg {
  width: 100%;
  min-height: 11rem;
  margin-top: 0.7rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-sunk);
  color: var(--text-dim);
  font-family: var(--font-latin);
  font-size: var(--t-xs);
  line-height: 1.65;
  resize: vertical;
  white-space: pre-wrap;
}
[dir="rtl"] .order__msg { font-family: var(--font-arabic); }

.order__msg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}
.order__msg-head h3 { font-size: var(--t-sm); }

.copy-btn {
  flex-shrink: 0;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: transparent;
  font-size: var(--t-xs);
  font-weight: 700;
  cursor: pointer;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }
.copy-btn[data-done="1"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.order__hint { margin-top: 0.6rem; font-size: var(--t-xs); color: var(--text-dim); }

.basket__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.link-btn {
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-size: var(--t-sm);
  cursor: pointer;
  padding: 0.4rem 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-btn:hover { color: var(--danger); }

.pay { display: grid; gap: 0.9rem; }

.pay__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.75rem;
}

.pay__card {
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
}

.pay__shot {
  margin: -0.15rem 0 0.6rem;
  border-radius: var(--r-sm);
  background: #fff;
  overflow: hidden;
}
.pay__shot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

.pay__card h3 {
  margin: 0 0 0.2rem;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}
.pay__card p {
  margin: 0;
  font-size: var(--t-sm);
  color: var(--text-dim);
  line-height: 1.55;
}

.pay__note {
  margin: 0;
  font-size: var(--t-xs);
  color: var(--text-dim);
}

.toasts {
  position: fixed;
  inset-inline: 0;
  bottom: 1rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-inline: 1rem;
  pointer-events: none;
}

.toast {
  max-width: min(32rem, 100%);
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  font-size: var(--t-sm);
  font-weight: 600;
  pointer-events: auto;
  animation: toast-in 0.24s var(--ease);
}
.toast--good { border-color: var(--accent); }
.toast--bad  { border-color: var(--danger); }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
}
@media (prefers-reduced-motion: reduce) {
  .toast { animation: none; }
}

.footer {
  margin-top: var(--block);
  padding-top: var(--block);
  border-top: 1px solid var(--line);
  background: var(--bg-sunk);
}

.footer__grid {
  display: grid;
  gap: 2.25rem;
}
@media (min-width: 42em) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 64em) { .footer__grid { grid-template-columns: 1.6fr 0.8fr 1fr 1.2fr; gap: 3rem; } }

.footer h2 {
  font-size: var(--t-xs);
  font-weight: 700;
  margin-bottom: 0.9rem;
  color: var(--text);
}

.footer__about p {
  margin-top: 0.9rem;
  font-size: var(--t-sm);
  color: var(--text-dim);
  max-width: 40ch;
}

.footer__links a,
.footer__contact a,
.footer__contact span {
  display: block;
  padding-block: 0.3rem;
  font-size: var(--t-sm);
  color: var(--text-dim);
}
.footer__links a:hover,
.footer__contact a:hover { color: var(--accent); }

.socials { display: flex; gap: 0.5rem; margin-top: 1rem; }

.socials a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text-dim);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.socials a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.socials svg { width: 18px; height: 18px; }

.footer__bar {
  margin-top: var(--block);
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: var(--t-xs);
  color: var(--text-dim);
}
.footer__bar a:hover { color: var(--accent); }

.notfound { padding-block: clamp(4rem, 3rem + 6vw, 8rem); text-align: center; }
.notfound h1 { font-size: var(--t-2xl); }
.notfound p { margin: 0.8rem auto 2rem; max-width: 44ch; color: var(--text-dim); }

@media (pointer: coarse) {
  .ctl { min-width: 44px; height: 44px; }
  .case__add { padding-block: 0.7rem; }
  .qty button { width: 44px; height: 44px; }
  .line__remove { padding: 0.75rem; }
  .copy-btn { padding: 0.6rem 1rem; }
  .chip { padding: 0.7rem 1.1rem; }
  .langs__menu a { padding: 0.8rem 0.7rem; }
  .gallery__thumbs button { flex-basis: 64px; }
  .mini { padding: 0.6rem 0.9rem; }
  .tabs button { padding: 0.75rem 1rem; }
  .img-item__bar button { padding: 0.6rem 0.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.page-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-fx__glow {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(38% 34% at 22% 18%, var(--fx-a), transparent 62%),
    radial-gradient(32% 30% at 82% 68%, var(--fx-b), transparent 60%);
  opacity: var(--fx-opacity);
  filter: blur(70px);
  will-change: transform;
  animation: fx-drift 26s ease-in-out infinite alternate;
}

@keyframes fx-drift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.12); }
}

main, .footer { position: relative; z-index: 1; }

.wave {
  position: absolute;
  inset-inline: -25%;
  height: 46vh;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  will-change: transform;
}

.wave--1 {
  top: -14vh;
  background: radial-gradient(60% 100% at 40% 50%, var(--violet), transparent 70%);
  animation: wave-a 30s ease-in-out infinite alternate;
}
.wave--2 {
  top: 28vh;
  background: radial-gradient(55% 100% at 70% 50%, var(--pink), transparent 72%);
  opacity: 0.26;
  animation: wave-b 38s ease-in-out infinite alternate;
}
.wave--3 {
  bottom: -18vh;
  background: radial-gradient(58% 100% at 30% 50%, var(--glow), transparent 74%);
  opacity: 0.22;
  animation: wave-a 44s ease-in-out infinite alternate-reverse;
}

:root[data-theme="light"] .wave { opacity: 0.2; filter: blur(70px); }

:root[data-theme="light"] .wave--1 {
  background: radial-gradient(60% 100% at 40% 50%, var(--violet-deep), transparent 70%);
}
:root[data-theme="light"] .wave--2,
:root[data-theme="light"] .wave--3 { opacity: 0.14; }

@keyframes wave-a {
  from { transform: translate3d(-6%, 0, 0) scaleY(1); }
  to   { transform: translate3d(6%, 4vh, 0) scaleY(1.25); }
}
@keyframes wave-b {
  from { transform: translate3d(5%, 2vh, 0) scaleY(1.15); }
  to   { transform: translate3d(-5%, -3vh, 0) scaleY(0.9); }
}

.stars { position: absolute; inset: 0; }

.stars i {
  position: absolute;
  inset-inline-start: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 6px 1px var(--glow);
  box-shadow: 0 0 6px 1px color-mix(in srgb, var(--glow) 60%, transparent);
  opacity: 0.18;
  animation: twinkle var(--t) ease-in-out var(--d) infinite alternate;
}

:root {
  --spark-1: #ff8ae8;
  --spark-2: #b26cff;
  --spark-3: #7a4cff;
  --spark-4: #ffffff;
}

.stars i:nth-child(4n + 1) {
  background: var(--spark-1);
  box-shadow: 0 0 7px 1px color-mix(in srgb, var(--spark-1) 55%, transparent);
}
.stars i:nth-child(4n + 2) {
  background: var(--spark-2);
  box-shadow: 0 0 7px 1px color-mix(in srgb, var(--spark-2) 55%, transparent);
}
.stars i:nth-child(4n + 3) {
  background: var(--spark-3);
  box-shadow: 0 0 6px 1px color-mix(in srgb, var(--spark-3) 50%, transparent);
}

.stars i:nth-child(4n) {
  background: var(--spark-4);
  box-shadow: 0 0 9px 2px color-mix(in srgb, var(--spark-4) 45%, transparent);
  opacity: 0.22;
}

:root[data-theme="light"] .stars i,
:root[data-theme="light"] .stars i:nth-child(4n) {
  background: var(--violet-deep);
  box-shadow: none;
  opacity: 0.14;
}

@keyframes twinkle {
  from { opacity: 0.1;  transform: scale(0.85); }
  to   { opacity: 0.75; transform: scale(1.15); }
}

@media (max-width: 48em) {

  .stars i:nth-child(2n) { display: none; }
  .wave { filter: blur(44px); }
}

@media (prefers-reduced-motion: reduce) {

  .wave, .stars i { animation: none !important; }
  .stars i { opacity: 0.35; }
}

.marquee {
  position: relative;
  margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem);
  overflow: hidden;

  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  gap: 0.9rem;
  width: max-content;
  will-change: transform;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(50%, 0, 0); }
}

.marquee__item {
  flex: 0 0 auto;

  width: 108px;
  aspect-ratio: 27 / 34;
  border-radius: 3px 8px 8px 3px;
  overflow: hidden;
  background: var(--surface-2);
  opacity: 0.55;
  display: grid;
  place-items: center;
  transition: opacity 0.3s var(--ease);
}
.marquee:hover .marquee__item { opacity: 0.85; }
[dir="rtl"] .marquee__item { border-radius: 8px 3px 3px 8px; }
.marquee__item img { width: 100%; height: 100%; object-fit: cover; }

.marquee__item--made {
  background:
    radial-gradient(118% 86% at 72% 8%,
      hsl(calc((252 + var(--seed, 0) * 0.2) * 1deg) 62% var(--art-l) / 0.95), transparent 58%),
    linear-gradient(203deg, var(--indigo), var(--ink-900) 72%);
}
.marquee__item i {
  font-family: var(--font-latin);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.75);
}

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js .cases .reveal:nth-child(2)  { transition-delay: 40ms; }
.js .cases .reveal:nth-child(3)  { transition-delay: 80ms; }
.js .cases .reveal:nth-child(4)  { transition-delay: 120ms; }
.js .cases .reveal:nth-child(5)  { transition-delay: 160ms; }
.js .cases .reveal:nth-child(6)  { transition-delay: 200ms; }
.js .posts .reveal:nth-child(2)  { transition-delay: 70ms; }
.js .posts .reveal:nth-child(3)  { transition-delay: 140ms; }
.js .steps .reveal:nth-child(2)  { transition-delay: 70ms; }
.js .steps .reveal:nth-child(3)  { transition-delay: 140ms; }

.js .shelf .reveal { opacity: 1; transform: none; }

.case__link:hover .case__art,
.case__link:focus-visible .case__art {
  transform: translateY(-6px);
  box-shadow:
    0 26px 48px -22px rgba(0, 0, 0, 0.85),
    0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent),
    0 0 28px -6px color-mix(in srgb, var(--accent) 40%, transparent);
}
:root[data-theme="light"] .case__link:hover .case__art,
:root[data-theme="light"] .case__link:focus-visible .case__art {
  box-shadow:
    0 24px 40px -24px rgba(40, 23, 53, 0.5),
    0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent),
    0 0 24px -8px color-mix(in srgb, var(--accent) 30%, transparent);
}

.shot { position: relative; }

.shot__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.65s var(--ease);
}
.shot__img.is-on { opacity: 1; }

.shot__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border: 0;
  border-radius: 50%;
  background: rgba(8, 3, 20, 0.6);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease);
}
.shot__arrow svg { width: 17px; height: 17px; }
.shot__arrow--prev { inset-inline-start: 24px; }
.shot__arrow--next { inset-inline-end: 6px; }

[dir="rtl"] .shot__arrow svg { transform: scaleX(-1); }

.shot:hover .shot__arrow,
.shot:focus-within .shot__arrow { opacity: 1; }
.shot__arrow:hover { background: var(--accent); color: var(--accent-ink); }

@media (pointer: coarse) {
  .shot__arrow { opacity: 0.75; width: 44px; height: 44px; margin-top: -22px; }
  .shot__arrow svg { width: 20px; height: 20px; }
}

.shot__dots {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  bottom: 7px;
  display: flex;
  justify-content: center;
  gap: 5px;
  padding-inline-start: 18px;
}

.shot__dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.shot__dots button[aria-current="true"] { background: #fff; transform: scale(1.5); }

@media (pointer: coarse) {

  .shot__dots { gap: 2px; }
  .shot__dots button {
    width: 22px; height: 22px;
    background: none;
    position: relative;
  }
  .shot__dots button::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
  }
  .shot__dots button[aria-current="true"] { transform: none; }
  .shot__dots button[aria-current="true"]::after { background: #fff; inset: 7px; }
}

.gallery .shot__arrow { width: 44px; height: 44px; margin-top: -22px; opacity: 0.8; }
.gallery .shot__arrow svg { width: 21px; height: 21px; }
.gallery .shot__dots { bottom: 14px; gap: 7px; }
.gallery .shot__dots button { width: 8px; height: 8px; }

.case__spine .is-gamepass { background: var(--xbox); color: #06230C; }
.case__spine .is-psplus   { background: var(--ps4);  color: #EAEEFF; }

.chip--gamepass[aria-current="true"] { background: var(--xbox); border-color: var(--xbox); color: #06230C; }
.chip--psplus[aria-current="true"]   { background: var(--ps4);  border-color: var(--ps4);  color: #EAEEFF; }

.spec {
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.spec__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  background: var(--surface);
  font-size: var(--t-sm);
}
.spec__row + .spec__row { border-top: 1px solid var(--line); }
.spec dt { color: var(--text-dim); }
.spec dd { margin: 0; font-weight: 700; }

.case__plats,
.line__plats,
.cell-sub,
.brand span,
.footer__contact a,
.spec dd,
.marquee__item i {
  unicode-bidi: isolate;
}

@media (prefers-reduced-motion: reduce) {
  .page-fx__glow,
  .marquee__track { animation: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

@media (min-width: 72em) {
  .nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid transparent;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
  }
  .nav a svg { width: 17px; height: 17px; flex-shrink: 0; }

  .nav a:hover {
    color: var(--text);
    background: var(--accent-soft);
    border-color: var(--accent);
    border-color: color-mix(in srgb, var(--accent) 30%, transparent);
  }

  .nav a[aria-current="page"] {
    color: var(--accent-ink);
    background: var(--accent);
    border-color: var(--accent);
  }

  .nav a[href$="subscriptions.php"]:not([aria-current="page"]) {
    color: var(--accent);
    border-color: var(--accent);
    border-color: color-mix(in srgb, var(--accent) 34%, transparent);
  }
}

.header__quick {
  display: flex;
  gap: 0.5rem;
  padding: 0 var(--gutter) 0.6rem;
  max-width: var(--wrap);
  margin-inline: auto;
}
@media (min-width: 72em) {

  .header__quick { display: none; }
}

.quick {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--surface);
  font-size: var(--t-sm);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.16s var(--ease), background 0.18s var(--ease),
              border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.quick svg { width: 18px; height: 18px; flex-shrink: 0; }
.quick span { unicode-bidi: isolate; }
.quick:active { transform: translateY(1px); }

.quick--plus {
  border-color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  color: var(--accent);
}

.quick[aria-current="page"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

@media (pointer: coarse) {
  .quick { min-height: 46px; }
}

.drawer__heading {
  margin: 1.4rem 0 0.5rem;
  font-size: var(--t-xs);
  font-weight: 700;
  color: var(--text-dim);
}

.drawer__langs {
  display: grid;
  gap: 0.3rem;
}

.drawer__langs a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: var(--t-md);
  font-weight: 600;
}
.drawer__langs a:hover { border-color: var(--line-strong); background: var(--accent-soft); }
.drawer__langs a[aria-current="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.drawer__langs small { color: var(--text-dim); font-family: var(--font-latin); }

.drawer__panel { overflow-y: auto; }

.flyer {
  position: fixed;
  z-index: 500;
  margin: 0;
  pointer-events: none;
  border-radius: 4px 10px 10px 4px;
  object-fit: cover;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.8);
  will-change: transform, opacity;
}
[dir="rtl"] .flyer { border-radius: 10px 4px 4px 10px; }

.flyer .case__spine,
.flyer .shot__arrow,
.flyer .shot__dots { display: none; }

.case__add.is-added,
.btn.is-added {
  animation: added-pulse 0.5s var(--ease);
}

@keyframes added-pulse {
  0%   { transform: scale(1); }
  38%  { transform: scale(0.94); }
  100% { transform: scale(1); }
}

.case__add.is-added {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.btn--primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-120%) skewX(-18deg);
  pointer-events: none;
  opacity: 0;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn--primary:hover::after {
    opacity: 1;
    animation: sheen 0.75s var(--ease);
  }
}

@keyframes sheen {
  from { transform: translateX(-120%) skewX(-18deg); }
  to   { transform: translateX(420%) skewX(-18deg); }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero__logo,
  .js .hero .l3d,
  .js .hero__eyebrow,
  .js .hero__title { animation: hero-in 0.72s var(--ease) both; }
  .js .hero__eyebrow { animation-delay: 0.08s; }
  .js .hero__title { animation-delay: 0.14s; }
  .js .hero__blurb { animation: hero-in 0.72s var(--ease) 0.22s both; }
  .js .hero .hero__cta { animation: hero-in 0.72s var(--ease) 0.3s both; }
  @keyframes hero-in {
    from { opacity: 0; transform: translate3d(0, 18px, 0); }
  }
}

.basket-btn__count[data-has="1"] {
  animation: badge-in 0.3s var(--ease);
}
@keyframes badge-in {
  from { opacity: 0; transform: scale(0.4); }
}

.section-head h1,
.section-head h2 { position: relative; }

.section-head h1::after,
.section-head h2::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -0.45rem;
  height: 2px;
  width: 2.5rem;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease) 0.15s;
}
[dir="rtl"] .section-head h1::after,
[dir="rtl"] .section-head h2::after { transform-origin: right; }
.js .reveal.is-in .section-head h1::after,
.js .reveal.is-in .section-head h2::after,
.js .section-head.reveal.is-in h1::after,
.js .section-head.reveal.is-in h2::after { transform: scaleX(1); }

html:not(.js) .section-head h1::after,
html:not(.js) .section-head h2::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .section-head h1::after,
  .section-head h2::after { transition: none; transform: scaleX(1); }
  .basket-btn__count[data-has="1"],
  .case__add.is-added,
  .btn.is-added { animation: none; }
}

.case__art--plan {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem 0.9rem 1rem calc(0.9rem + 18px);
}
[dir="rtl"] .case__art--plan { padding: 1rem calc(0.9rem + 18px) 1rem 0.9rem; }

.case__art--plan.is-gamepass {
  background:
    radial-gradient(120% 90% at 70% 8%, rgba(79, 168, 95, 0.55), transparent 62%),
    linear-gradient(203deg, #15351D, var(--ink-900) 78%);
}
.case__art--plan.is-psplus {
  background:
    radial-gradient(120% 90% at 70% 8%, rgba(44, 58, 153, 0.62), transparent 62%),
    linear-gradient(203deg, #16204B, var(--ink-900) 78%);
}

.plan-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--font-latin);
  line-height: 1.1;
  color: #fff;
  unicode-bidi: isolate;
}

.plan-art b {
  font-size: clamp(0.9rem, 4.6vw, 1.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plan-art i {
  font-style: normal;
  font-size: clamp(1.15rem, 6.2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.plan-art em {
  margin-top: 0.5rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-style: normal;
  font-family: var(--font);
  font-size: 0.6875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.gallery .case__art--plan .plan-art b { font-size: 1.6rem; }
.gallery .case__art--plan .plan-art i { font-size: 2.6rem; }
.gallery .case__art--plan .plan-art em { margin-top: 1rem; font-size: 0.9rem; padding: 0.4rem 1.1rem; }

.scroll-line {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 300;
  height: 3px;
  pointer-events: none;
  background: transparent;
}

.scroll-line__fill {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(to right, var(--violet), var(--accent), var(--pink));
  box-shadow: 0 0 10px -1px var(--accent);
  box-shadow: 0 0 10px -1px color-mix(in srgb, var(--accent) 70%, transparent);
}
[dir="rtl"] .scroll-line__fill {
  transform-origin: right;
  background: linear-gradient(to left, var(--violet), var(--accent), var(--pink));
}

:root[data-theme="light"] .scroll-line__fill {
  background: linear-gradient(to right, var(--violet-deep), var(--accent), var(--pink));
}
:root[data-theme="light"][dir="rtl"] .scroll-line__fill {
  background: linear-gradient(to left, var(--violet-deep), var(--accent), var(--pink));
}

@media (prefers-reduced-motion: reduce) {
  .scroll-line__fill { box-shadow: none; }
}

.orbit {
  position: fixed;
  inset: 4px;
  z-index: 140;
  pointer-events: none;
}

.orbit__rail { position: absolute; }
.orbit__rail--outer { inset: 0; }
.orbit__rail--inner { inset: 6px; }

.orbit__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orbit__ln {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-dasharray: 9 91;
  animation: orbit-head 10s linear infinite;
}

.orbit__ln.orbit__ln--halo {
  stroke-width: 9;
  opacity: 0.26;
  filter: none;
}

.orbit__ln--head {
  color: var(--orbit-a, var(--accent));
  stroke-width: 3;
  filter: drop-shadow(0 0 3px currentColor) drop-shadow(0 0 9px currentColor);
  animation: orbit-head var(--orbit-lap, 10s) linear infinite,
             orbit-tint-head calc(var(--orbit-lap, 10s) * 1.2) ease-in-out infinite;
}

.orbit__ln--tail {
  color: var(--orbit-b, var(--neon));
  stroke-width: 2.5;
  filter: drop-shadow(0 0 4px currentColor) drop-shadow(0 0 11px currentColor);
  animation: orbit-tail var(--orbit-lap, 10s) linear infinite,
             orbit-tint-tail calc(var(--orbit-lap, 10s) * 1.2) ease-in-out infinite;
}

@keyframes orbit-tint-head {
  0%, 38%   { color: var(--orbit-a, var(--accent)); }
  50%, 62%  { color: var(--orbit-b, var(--neon)); }
  74%, 100% { color: var(--orbit-a, var(--accent)); }
}
@keyframes orbit-tint-tail {
  0%, 38%   { color: var(--orbit-b, var(--neon)); }
  50%, 62%  { color: var(--orbit-a, var(--accent)); }
  74%, 100% { color: var(--orbit-b, var(--neon)); }
}

.orbit[data-swap="off"] .orbit__ln { animation-name: orbit-head; }
.orbit[data-swap="off"] .orbit__ln--tail { animation-name: orbit-tail; }

@keyframes orbit-head {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -100; }
}
@keyframes orbit-tail {
  from { stroke-dashoffset: 1.5; }
  to   { stroke-dashoffset: -98.5; }
}

@media (max-width: 900px) {
  .orbit { inset: 3px; }
  .orbit__rail--inner { inset: 5px; }
  .orbit__ln--head { stroke-width: 2.5; }
  .orbit__ln--tail { stroke-width: 2; }

  .orbit__ln.orbit__ln--halo { stroke-width: 8; opacity: 0.32; filter: none; }
  .orbit__ln--head,
  .orbit__ln--tail {
    filter: drop-shadow(0 0 2px currentColor)
            drop-shadow(0 0 7px currentColor)
            drop-shadow(0 0 16px currentColor);
  }
}

[dir="rtl"] .orbit__ln { animation-direction: reverse; }

.orbit[data-dir="opposite"] .orbit__ln--tail { animation-direction: reverse; }
[dir="rtl"] .orbit[data-dir="opposite"] .orbit__ln--tail { animation-direction: normal; }

@media (prefers-reduced-motion: reduce) {
  .orbit { display: none; }
}

.gfx { position: absolute; inset: 0; }

.gfx__i {
  position: absolute;
  display: block;
  color: var(--mauve);
  opacity: 0.08;
  will-change: transform;
}
.gfx__i svg { width: 100%; height: 100%; }

:root[data-theme="light"] .gfx__i { color: var(--violet-deep); opacity: 0.07; }

.gfx--pad   { inset-inline-start: 4%;  bottom: 12%; width: 190px; height: 127px;
              animation: gfx-a 26s ease-in-out infinite alternate; }
.gfx--ps5   { inset-inline-start: 2%;  top: 12%;    width: 62px;  height: 155px;
              animation: gfx-b 31s ease-in-out infinite alternate; }
.gfx--xbox  { inset-inline-end: 3%;    top: 9%;     width: 72px;  height: 155px;
              animation: gfx-a 35s ease-in-out infinite alternate-reverse; }
.gfx--faces { inset-inline-end: 6%;    bottom: 18%; width: 124px; height: 124px;
              animation: gfx-b 23s ease-in-out infinite alternate; }
.gfx--x     { inset-inline-start: 44%; bottom: 4%;  width: 86px;  height: 86px;
              opacity: 0.05;
              animation: gfx-a 29s ease-in-out infinite alternate; }

[dir="rtl"] .gfx__i svg { transform: none; }

@keyframes gfx-a {
  from { transform: translate3d(0, 0, 0) rotate(-4deg); }
  to   { transform: translate3d(0, -30px, 0) rotate(5deg); }
}
@keyframes gfx-b {
  from { transform: translate3d(0, 12px, 0) rotate(4deg); }
  to   { transform: translate3d(0, -24px, 0) rotate(-5deg); }
}

@media (min-width: 90em) {
  .gfx--pad   { width: 240px; height: 160px; }
  .gfx--faces { width: 152px; height: 152px; }
}

@media (max-width: 48em) {

  .gfx--ps5,
  .gfx--xbox,
  .gfx--faces { display: none; }

  .gfx__i { opacity: 0.055; }

  .gfx--pad {
    display: block;
    width: 104px; height: 70px;
    inset-inline-start: 7%;
    bottom: 11%;
  }
  .gfx--x {
    display: block;
    width: 54px; height: 54px;
    inset-inline-start: auto;
    inset-inline-end: 9%;
    bottom: 6%;
    opacity: 0.045;
  }
}

@media (prefers-reduced-motion: reduce) {

  .gfx__i { animation: none !important; }
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: clamp(1rem, 0.4rem + 2vw, 2.5rem);
}

.hero__logo {
  width: clamp(104px, 14vw, 180px);
  height: auto;
  border-radius: 22%;
  margin-bottom: 1.3rem;
  filter: drop-shadow(0 0 38px var(--accent));
  filter: drop-shadow(0 0 38px color-mix(in srgb, var(--accent) 45%, transparent));
}

.l3d {
  position: relative;

  pointer-events: none;

  width: clamp(176px, 27vw, 310px);
  aspect-ratio: 1380 / 1360;
  margin-bottom: 0.4rem;
  perspective: 1400px;
}

.l3d__stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.l3d__part {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.l3d__part svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.l3d__floor {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -4%;
  height: 9%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(150, 60, 230, 0.45), rgba(60, 10, 100, 0.2) 45%, transparent 72%);
  filter: blur(10px);
  will-change: transform, opacity;
}

:root[data-theme="light"] .l3d__floor {
  background: radial-gradient(ellipse at center,
    rgba(70, 20, 120, 0.3), rgba(70, 20, 120, 0.12) 45%, transparent 72%);
}

.l3d-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.l3d-word-text {
  font-family: "Kanit", "Archivo", Impact, "Arial Black", sans-serif;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -6px;
}

.l3d-streak-face { fill: #c7b0e6; }

:root[data-theme="light"] .l3d-w1 { stop-color: #5c2a93; }
:root[data-theme="light"] .l3d-w2 { stop-color: #47196f; }
:root[data-theme="light"] .l3d-w3 { stop-color: #33104f; }
:root[data-theme="light"] .l3d-w4 { stop-color: #210a36; }
:root[data-theme="light"] .l3d-streak-face { fill: #6b40a8; }

.l3d__flat {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.l3d__flat .hero__logo { margin-bottom: 0; }
.l3d[data-l3d-built="1"] .l3d__flat { display: none; }

@media (prefers-reduced-motion: reduce) {
  .l3d__stage, .l3d__floor { will-change: auto; }
}
.hero__eyebrow {
  margin: 0 0 0.9rem;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
[dir="rtl"] .hero__eyebrow { letter-spacing: 0; text-transform: none; font-size: var(--t-sm); }

.hero__title {
  max-width: 18ch;
  margin: 0;
  font-size: var(--t-hero);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
[dir="rtl"] .hero__title { letter-spacing: 0; max-width: 22ch; }

.hero__break { display: inline; }
@media (min-width: 48em) { .hero__break { display: block; } }

.glow-text {
  background: linear-gradient(100deg, var(--accent), var(--pink) 55%, var(--mauve));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  -webkit-text-fill-color: transparent;
}
@supports not (background-clip: text) {
  .glow-text { color: var(--accent); -webkit-text-fill-color: currentColor; }
}

.hero__blurb {
  max-width: 56ch;
  margin: 1.15rem 0 0;
  color: var(--text-dim);
  font-size: var(--t-md);
}

.hero .hero__cta { justify-content: center; margin-top: 1.9rem; }

.header {
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--accent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--accent) 10%, transparent),
              0 10px 30px -24px color-mix(in srgb, var(--accent) 60%, transparent);
}

.ctl {
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  border-color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 24%, transparent);
}
.ctl:hover {
  border-color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 65%, transparent);
  box-shadow: 0 0 14px -4px var(--accent);
  box-shadow: 0 0 14px -4px color-mix(in srgb, var(--accent) 70%, transparent);
}

@media (min-width: 72em) {
  .nav a[aria-current="page"] {
    box-shadow: 0 0 20px -5px var(--accent);
    box-shadow: 0 0 20px -5px color-mix(in srgb, var(--accent) 85%, transparent);
  }
}

.site-search {
  border-top: 1px solid var(--line);
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.site-search__form {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-block: 0.7rem;
}
.site-search__form > svg { width: 19px; height: 19px; color: var(--text-dim); flex-shrink: 0; }

.site-search input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.2rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: var(--t-md);
}
.site-search input:focus { outline: none; }
.site-search input::placeholder { color: var(--text-dim); }

@media (max-width: 34em) {
  .site-search__form .btn { padding-inline: 0.9rem; }
}

.cats {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 46em) { .cats { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

.cat {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 15rem;
  padding: 1.35rem;
  border: 1px solid var(--tint, var(--accent));
  border: 1px solid color-mix(in srgb, var(--tint, var(--accent)) 30%, transparent);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  background:
    linear-gradient(165deg,
      color-mix(in srgb, var(--tint, var(--accent)) 16%, transparent),
      transparent 58%),
    var(--surface);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.cat--ps   { --tint: var(--ps5); }
.cat--xbox { --tint: var(--xbox); }
.cat--subs { --tint: var(--pink); }

.cat:hover,
.cat:focus-visible {
  transform: translateY(-5px);
  border-color: var(--tint);
  border-color: color-mix(in srgb, var(--tint) 70%, transparent);
  box-shadow: 0 24px 46px -24px rgba(0, 0, 0, 0.8),
              0 0 32px -10px color-mix(in srgb, var(--tint) 65%, transparent);
}

.cat__art {
  position: absolute;
  inset-block-start: -0.8rem;
  inset-inline-end: -1.6rem;
  display: flex;
  pointer-events: none;
  opacity: 0.85;
}

.cat__shot {
  display: block;
  width: 74px;
  aspect-ratio: 27 / 34;
  border-radius: 3px 7px 7px 3px;
  overflow: hidden;
  margin-inline-start: -28px;
  transform: rotate(6deg) translateY(calc(var(--i) * 6px));
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.9);
  background: var(--surface-2);
  transition: transform 0.26s var(--ease);
}
[dir="rtl"] .cat__shot { transform: rotate(-6deg) translateY(calc(var(--i) * 6px)); }
.cat:hover .cat__shot { transform: rotate(2deg) translateY(calc(var(--i) * 3px)); }
[dir="rtl"] .cat:hover .cat__shot { transform: rotate(-2deg) translateY(calc(var(--i) * 3px)); }

.cat__shot img { width: 100%; height: 100%; object-fit: cover; }

.cat__made {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-latin);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.8);
  background:
    radial-gradient(118% 86% at 72% 8%,
      hsl(calc((252 + var(--seed, 0) * 0.2) * 1deg) 62% var(--art-l) / 0.95), transparent 58%),
    linear-gradient(203deg, var(--indigo), var(--ink-900) 72%);
}

.cat__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 5.5rem;
}

.cat__title {
  font-size: var(--t-lg);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
[dir="rtl"] .cat__title { letter-spacing: 0; font-weight: 900; }

.cat__text {
  color: var(--text-dim);
  font-size: var(--t-sm);
  max-width: 28ch;
  min-height: 2.9em;
}

.cat__count {
  font-family: var(--font-latin);
  font-size: var(--t-xs);
  font-weight: 700;
  color: var(--tint);
  color: color-mix(in srgb, var(--tint) 80%, var(--text));
  unicode-bidi: isolate;
}

.cat__cta {
  margin-top: 0.7rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--tint);
  border: 1px solid color-mix(in srgb, var(--tint) 45%, transparent);
  border-radius: 999px;
  font-size: var(--t-sm);
  font-weight: 700;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.cat:hover .cat__cta {
  background: var(--tint);
  background: color-mix(in srgb, var(--tint) 18%, transparent);
  border-color: var(--tint);
  border-color: color-mix(in srgb, var(--tint) 75%, transparent);
}

.case { position: relative; }

.case__badge {
  position: absolute;
  z-index: 2;
  top: 8px;
  inset-inline-end: 8px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--ink-900);
  background: color-mix(in srgb, var(--ink-900) 72%, transparent);
  border: 1px solid var(--badge, var(--accent));
  border: 1px solid color-mix(in srgb, var(--badge, var(--accent)) 70%, transparent);
  color: var(--badge, var(--accent));
  color: color-mix(in srgb, var(--badge, var(--accent)) 85%, #fff);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  pointer-events: none;
  white-space: nowrap;
}
.case__badge--new { --badge: var(--xbox); }
.case__badge--sub { --badge: var(--pink); }

.case__view {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  bottom: 38%;
  width: fit-content;
  margin-inline: auto;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  background: color-mix(in srgb, var(--accent) 92%, transparent);
  color: var(--accent-ink);
  font-size: var(--t-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.case__link:hover .case__view,
.case__link:focus-visible .case__view { opacity: 1; transform: none; }

@media (pointer: coarse) {

  .case__view { display: none; }
}

.brand span { display: inline; }
@media (max-width: 34em) { .brand span { display: none; } }

.header__bar [data-theme-toggle] { display: inline-flex; }

@media (max-width: 34em) {
  .header__bar { gap: 0.3rem; }
  .header__bar .ctl {
    width: 36px;
    height: 36px;
    padding: 0;
  }
  .header__bar .ctl .icon { width: 17px; height: 17px; }

  .langs .ctl { width: auto; padding: 0 0.42rem; gap: 0.2rem; }
  .langs .ctl span { font-size: var(--t-xs); }
}

@media (max-width: 22.5em) {
  .header__bar { gap: 0.2rem; }
  .header__bar .ctl { width: 32px; height: 32px; }
  .header__bar .ctl .icon { width: 16px; height: 16px; }
  .langs .ctl { padding: 0 0.3rem; }
  .brand img { width: 28px; height: 28px; }
}

.drawer__theme {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.8rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font-size: var(--t-md);
  font-weight: 600;
  text-align: start;
  cursor: pointer;
}
.drawer__theme:hover { border-color: var(--line-strong); background: var(--accent-soft); }
.drawer__theme svg { width: 19px; height: 19px; flex-shrink: 0; }

.site-search__form { position: relative; }

.suggest {
  position: absolute;
  z-index: 120;
  inset-inline: 0;
  top: calc(100% + 0.4rem);
  max-height: min(60vh, 26rem);
  overflow-y: auto;
  padding: 0.35rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow), 0 0 30px -12px var(--accent);
  box-shadow: var(--shadow), 0 0 30px -12px color-mix(in srgb, var(--accent) 50%, transparent);
}

.suggest__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.5rem;
  border-radius: 9px;
}
.suggest__item:hover,
.suggest__item[aria-selected="true"] { background: var(--accent-soft); }

.suggest__art {
  flex: 0 0 auto;
  width: 34px;
  aspect-ratio: 27 / 34;
  border-radius: 2px 6px 6px 2px;
  overflow: hidden;
  background: var(--surface-2);
  display: grid;
  place-items: center;
}
[dir="rtl"] .suggest__art { border-radius: 6px 2px 2px 6px; }
.suggest__art img { width: 100%; height: 100%; object-fit: cover; }
.suggest__art b {
  font-family: var(--font-latin);
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.85);
}

.suggest__text { min-width: 0; }
.suggest__text b {
  display: block;
  font-size: var(--t-sm);
  font-weight: 700;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.suggest__text small {
  display: block;
  font-size: var(--t-xs);
  color: var(--text-dim);
  unicode-bidi: isolate;
}

.suggest__none {
  margin: 0;
  padding: 0.9rem 0.6rem;
  font-size: var(--t-sm);
  color: var(--text-dim);
  text-align: center;
}

@media (pointer: coarse) { .suggest__item { padding-block: 0.65rem; } }

.shelf-block { padding-bottom: var(--block); }
.shelf-block .shelf-wrap { margin-top: 0.5rem; }

:root {
  --star:      rgba(255, 198, 92, 0.26);
  --star-line: rgba(255, 198, 92, 0.5);
  --star-on:   #FFC65C;
}
:root[data-theme="light"] {
  --star:      rgba(176, 116, 18, 0.26);
  --star-line: rgba(176, 116, 18, 0.55);
  --star-on:   #C8860D;
}

.rating {
  position: relative;
  display: inline-block;
  direction: ltr;
  line-height: 0;
  color: var(--star);
}
.rating__base,
.rating__fill { display: inline-flex; gap: 0.12em; }
.rating__fill {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: var(--fill, 0%);
  overflow: hidden;
  color: var(--star-on);
}
.star {
  width: 1em;
  height: 1em;
  flex: none;
}

.fb-score {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem 2.5rem;
  margin-bottom: 2.25rem;
  padding: clamp(1.4rem, 1rem + 1.6vw, 2.4rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.fb-score__glow {
  position: absolute;
  inset-block-start: -60%;
  inset-inline-start: -10%;
  width: 34rem;
  height: 34rem;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at center,
    color-mix(in srgb, var(--accent) 26%, transparent), transparent 62%);
}

.fb-score__big { text-align: center; }
.fb-score__big strong {
  display: block;
  font-family: var(--font-latin);
  font-size: clamp(3rem, 2rem + 5vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.fb-score__big .rating { margin-top: 0.5rem; font-size: 1.45rem; }
.fb-score__count {
  display: block;
  margin-top: 0.5rem;
  font-size: var(--t-sm);
  color: var(--text-dim);
}

.fb-bars { display: grid; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.fb-bars__row {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) 2rem;
  align-items: center;
  gap: 0.7rem;
}
.fb-bars__label {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  direction: ltr;
  font-size: var(--t-xs);
  font-family: var(--font-latin);
  color: var(--text-dim);
}
.fb-bars__label .star { width: 0.85em; height: 0.85em; color: var(--star-on); }
.fb-bars__track {
  height: 7px;
  border-radius: 99px;
  background: var(--bg-sunk);
  overflow: hidden;
}
.fb-bars__fill {
  display: block;
  width: var(--w, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--star-on));
}
[dir="rtl"] .fb-bars__fill { background: linear-gradient(270deg, var(--accent), var(--star-on)); }
.fb-bars__n {
  font-size: var(--t-xs);
  font-family: var(--font-latin);
  color: var(--text-dim);
  text-align: end;
}

.fb-score__cta { grid-column: 1 / -1; justify-self: center; }

@media (max-width: 44em) {
  .fb-score { grid-template-columns: 1fr; }
}

.rev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: 1.1rem;
}

.rev {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.rev:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
@media (prefers-reduced-motion: reduce) {
  .rev, .rev:hover { transition: none; transform: none; }
}

.rev__glow {
  position: absolute;
  inset-block-start: -50%;
  inset-inline-end: -30%;
  width: 16rem;
  height: 16rem;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at center,
    color-mix(in srgb, var(--accent) 24%, transparent), transparent 64%);
  transition: opacity 0.35s var(--ease);
}
.rev:hover .rev__glow { opacity: 1; }

.rev__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
}

.rev__who {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: var(--t-md);
  line-height: 1;
}
.rev__id { min-width: 0; }
.rev__name {
  display: block;
  font-size: var(--t-sm);
  overflow-wrap: anywhere;
}
.rev__when {
  display: block;
  font-size: var(--t-xs);
  color: var(--text-dim);
}
.rev__head .rating {
  grid-column: 1 / -1;

  justify-self: start;
  font-size: 1rem;
}

.rev__body {
  margin: 0;
  font-size: var(--t-sm);
  line-height: 1.75;
  color: var(--text-dim);
  overflow-wrap: anywhere;
}

.fb-empty {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: clamp(2.5rem, 2rem + 4vw, 4.5rem) 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  text-align: center;
}
.fb-empty__icon { color: var(--accent); }
.fb-empty__icon .icon { width: 2.4rem; height: 2.4rem; }
.fb-empty__title { margin: 0.6rem 0 0; font-size: var(--t-md); font-weight: 700; }
.fb-empty__sub { margin: 0; font-size: var(--t-sm); color: var(--text-dim); }

.fb-note {
  margin: 0 0 1.5rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid color-mix(in srgb, var(--ok) 45%, transparent);
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--ok) 12%, transparent);
  font-size: var(--t-sm);
}
.fb-note--bad {
  border-color: color-mix(in srgb, var(--danger) 50%, transparent);
  background: var(--danger-bg);
}

.fb-write {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 1rem + 3vw, 3rem);
}
@media (max-width: 54em) {
  .fb-write { grid-template-columns: 1fr; }
}

.fb-how__title { margin: 0 0 1.1rem; font-size: var(--t-xl); }
.fb-how__steps {
  display: grid;
  gap: 0.9rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  counter-reset: fbstep;
}
.fb-how__steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  font-size: var(--t-sm);
  line-height: 1.7;
  color: var(--text-dim);
}
.fb-how__n {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-latin);
  font-weight: 800;
  font-size: var(--t-xs);
}
.fb-how__note {
  margin: 0 0 1.1rem;
  padding-inline-start: 0.9rem;
  border-inline-start: 2px solid var(--accent);
  font-size: var(--t-xs);
  line-height: 1.7;
  color: var(--text-dim);
}

.fb-form {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.3rem, 1rem + 1.4vw, 2rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.fb-form__glow {
  position: absolute;
  inset-block-start: -40%;
  inset-inline-end: -25%;
  width: 24rem;
  height: 24rem;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at center,
    color-mix(in srgb, var(--accent) 20%, transparent), transparent 62%);
}
.fb-form__title { margin: 0; font-size: var(--t-lg); }

.fb-field {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  border: 0;
}
.fb-field__label {
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}
[dir="rtl"] .fb-field__label { letter-spacing: 0; text-transform: none; }

.fb-field__input {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-sunk);
  color: var(--text);
  font: inherit;
  font-size: var(--t-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.fb-field__input::placeholder { color: var(--text-dim); opacity: 0.7; }
.fb-field__input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent);
}

.fb-field__input--code {
  font-family: var(--font-latin);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.fb-field__area { resize: vertical; min-height: 7rem; line-height: 1.7; }
.fb-field__help { font-size: var(--t-xs); color: var(--text-dim); }

.fb-field--rate .rate { justify-self: start; }

.rate {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.3rem;
  direction: ltr;
}
.rate__input {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.rate__star {
  display: grid;
  place-items: center;
  padding: 0.15rem;
  border-radius: 8px;
  color: var(--star-line);
  cursor: pointer;
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}
.rate__star .star { width: 2.1rem; height: 2.1rem; }

.rate__star .star { fill: none; }
.rate__input:checked ~ .rate__star .star,
.rate__star:hover .star,
.rate__star:hover ~ .rate__star .star { fill: currentColor; }
.rate:hover .rate__input:checked ~ .rate__star .star { fill: none; }
.rate__star:hover .star,
.rate__star:hover ~ .rate__star .star { fill: currentColor; }

.rate__input:checked ~ .rate__star { color: var(--star-on); }

.rate:hover .rate__input:checked ~ .rate__star { color: var(--star); }
.rate__star:hover,
.rate__star:hover ~ .rate__star { color: var(--star-on); }
.rate__star:hover { transform: scale(1.12); }

.rate__input:focus-visible + .rate__star {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .rate__star, .rate__star:hover { transition: none; transform: none; }
}

.fb-form__send { justify-self: start; }
.fb-form__after { margin: 0; font-size: var(--t-xs); color: var(--text-dim); }

.fb-home__aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.fb-home__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.fb-home__score {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  background: var(--surface);
  font-size: var(--t-sm);
}
.fb-home__score strong { font-family: var(--font-latin); font-size: var(--t-md); }
.fb-home__score .rating { font-size: 1rem; }

.l3dpro {
  position: relative;

  width: clamp(190px, 25vw, 300px);
  max-width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: -1.3rem;
}

.l3dpro__under {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity 0.5s var(--ease), visibility 0s 0s;
}
.l3dpro__under .l3d {
  width: 100%;
  margin: 0;
}

.l3dpro__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;

  cursor: grab;
  touch-action: none;
  transition: opacity 0.7s var(--ease);
}

.l3dpro[data-pro-ready] .l3dpro__canvas { opacity: 1; }
.l3dpro[data-pro-ready] .l3dpro__under {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s 0.5s;
}

.l3dpro[data-pro-failed] .l3dpro__canvas { display: none; }

:root[data-theme="light"] .l3dpro[data-pro-ready]::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 42%, rgba(120, 40, 190, 0.3), transparent 70%),
    radial-gradient(ellipse at 50% 45%, #241030 0%, #120818 55%, #07040c 100%);
  box-shadow: 0 24px 50px -28px rgba(40, 10, 70, 0.55);
}
:root[data-theme="light"] .l3dpro[data-pro-ready] .l3dpro__canvas {
  border-radius: 26px;
}

@media (prefers-reduced-motion: reduce) {
  .l3dpro__canvas, .l3dpro__under { transition: none; }
}

.fb-home__score small {
  display: block;
  font-size: var(--t-xs);
  color: var(--text-dim);
}

.fb-first {
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem) 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  text-align: center;
}
.fb-first__stars { font-size: 1.6rem; opacity: 0.55; }
.fb-first__title { margin: 0.7rem 0 0; font-size: var(--t-lg); font-weight: 700; }
.fb-first__sub { margin: 0; font-size: var(--t-sm); color: var(--text-dim); max-width: 42ch; }

.fb-steps {
  position: relative;
  isolation: isolate;
  margin-top: 1.5rem;
  padding: clamp(1.4rem, 1rem + 1.6vw, 2.2rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.fb-steps::before {
  content: "";
  position: absolute;
  inset-block-start: -70%;
  inset-inline-start: -5%;
  width: 30rem;
  height: 30rem;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at center,
    color-mix(in srgb, var(--accent) 20%, transparent), transparent 62%);
}

.fb-steps__title { margin: 0 0 1.2rem; font-size: var(--t-lg); }

.fb-steps__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.1rem 1.6rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}

.fb-steps__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
}

.fb-steps__n {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-latin);
  font-weight: 800;
  font-size: var(--t-sm);
}

.fb-steps__text {
  font-size: var(--t-sm);
  line-height: 1.7;
  color: var(--text-dim);
}

.fb-steps__code {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.3rem 0.7rem;
  border: 1px dashed var(--accent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  font-family: var(--font-latin), ui-monospace, monospace;
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: var(--t-sm);
  unicode-bidi: isolate;
}

.fb-steps__bits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}
.fb-steps__bit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--bg-sunk);
  font-size: var(--t-xs);
  color: var(--text);
  white-space: nowrap;
}
.fb-steps__bit .icon { width: 0.95rem; height: 0.95rem; color: var(--accent); }
.fb-steps__bit .star { width: 0.95rem; height: 0.95rem; color: var(--star-on); }

.fb-steps__cta { justify-self: start; }

@media (max-width: 40em) {
  .fb-steps__cta { display: flex; width: 100%; justify-content: center; }
}

.fb-eg {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-inline-start: 0.35rem;
}
.fb-eg code {
  padding: 0.12rem 0.45rem;
  border: 1px dashed var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-family: var(--font-latin), ui-monospace, monospace;
  font-weight: 700;
  letter-spacing: 0.12em;
  unicode-bidi: isolate;
}

.fb-ask {
  margin-top: 0.55rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-sunk);
}
.fb-ask summary {
  cursor: pointer;
  font-size: var(--t-xs);
  font-weight: 700;
  color: var(--accent);
  list-style: none;
}
.fb-ask summary::-webkit-details-marker { display: none; }
.fb-ask summary::after { content: " +"; font-family: var(--font-latin); }
.fb-ask[open] summary::after { content: " \2212"; }
.fb-ask p {
  margin: 0.5rem 0 0.7rem;
  font-size: var(--t-xs);
  line-height: 1.7;
  color: var(--text-dim);
}
.fb-ask .btn { padding: 0.45rem 0.85rem; font-size: var(--t-xs); }

.fb-field--code .fb-field__help { margin: 0; }


:root {
  --block: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  --tg: #2AABEE;
  --dock-h: 0px;
}

.section-head h1::after,
.section-head h2::after { content: none; }
.section-head { margin-bottom: 1.4rem; }

.section-head__tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-head__tools .section-head__link { margin-inline-start: 0.4rem; }

.shelf-nav { display: none; width: 38px; height: 38px; padding: 0; justify-content: center; }
[dir="rtl"] .shelf-nav svg { transform: scaleX(-1); }
@media (min-width: 60em) { .shelf-nav { display: inline-flex; } }

.hero--shop { padding-top: clamp(1.75rem, 1rem + 3vw, 3.5rem); padding-bottom: 0; }

.hero__grid {
  position: relative;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 60em) {
  .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2.5rem; }
}

.hero__copy { min-width: 0; }
.hero--shop .hero__title { max-width: 16ch; }
[dir="rtl"] .hero--shop .hero__title { max-width: 20ch; }
.hero--shop .hero__blurb { margin-top: 0.9rem; max-width: 46ch; }

.hero-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 34rem;
  margin-top: 1.4rem;
  padding: 0.35rem;
  padding-inline-start: 0.9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 14px 34px -24px rgba(0, 0, 0, 0.6);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.hero-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 14px 34px -24px rgba(0, 0, 0, 0.6);
}
.hero-search > svg { width: 19px; height: 19px; color: var(--text-dim); flex-shrink: 0; }
.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.1rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: var(--t-base);
  outline: none;
}
.hero-search .btn { padding: 0.7rem 1.15rem; }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}
.hero-chip {
  --dot: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: var(--t-sm);
  font-weight: 700;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), transform 0.16s var(--ease);
}
.hero-chip:hover { border-color: var(--dot); background: var(--accent-soft); }
.hero-chip:active { transform: translateY(1px); }
.hero-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--dot); flex-shrink: 0; }
.hero-chip small {
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--text-dim);
  font-family: var(--font-latin);
}
.hero-chip--ps   { --dot: var(--ps5); }
.hero-chip--xbox { --dot: var(--xbox); }
.hero-chip--pc   { --dot: #8A9BB0; }
.hero-chip--subs { --dot: var(--pink); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.1rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--t-xs);
  color: var(--text-dim);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-trust li::before {
  content: "";
  width: 0.7em;
  height: 0.38em;
  border-inline-start: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg) translateY(-0.12em);
}
[dir="rtl"] .hero-trust li::before { transform: scaleX(-1) rotate(-45deg) translateY(-0.12em); }

.hero-fan {
  position: relative;
  height: clamp(200px, 52vw, 260px);
  order: -1;
}
@media (min-width: 60em) { .hero-fan { order: 0; height: 380px; } }

.hero-fan__card {
  position: absolute;
  top: 6%;
  left: 50%;
  width: clamp(120px, 34vw, 160px);
  aspect-ratio: 27 / 34;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: 0 26px 46px -24px rgba(0, 0, 0, 0.85);
  transform-origin: 50% 115%;
  transition: transform 0.35s var(--ease);
}
@media (min-width: 60em) { .hero-fan__card { width: 230px; } }
.hero-fan__card img,
.hero-fan__card > span { width: 100%; height: 100%; object-fit: cover; display: grid; place-items: center; }
.hero-fan__card .case__initials { padding: 0; }

.hero-fan__card[style*="--i:0"] { z-index: 2; transform: translateX(-50%) translateY(-4%); }
.hero-fan__card[style*="--i:1"] { transform: translateX(-108%) rotate(-12deg); }
.hero-fan__card[style*="--i:2"] { transform: translateX(8%) rotate(12deg); }
.hero-fan[data-count="1"] .hero-fan__card { transform: translateX(-50%); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-fan:hover .hero-fan__card[style*="--i:1"] { transform: translateX(-118%) rotate(-15deg); }
  .hero-fan:hover .hero-fan__card[style*="--i:2"] { transform: translateX(18%) rotate(15deg); }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero-search,
  .js .hero-chips,
  .js .hero-trust { animation: hero-in 0.72s var(--ease) 0.28s both; }
  .js .hero-fan { animation: hero-in 0.8s var(--ease) 0.1s both; }
}

.order-strip {
  display: grid;
  gap: 0.9rem;
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
@media (min-width: 56em) {
  .order-strip { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 0.9rem 1rem 0.9rem 1.25rem; }
}

.order-strip__steps {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 40em) { .order-strip__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.order-strip__steps li { display: flex; gap: 0.7rem; align-items: center; min-width: 0; }
.order-strip__steps b {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-latin);
  font-size: var(--t-sm);
}
.order-strip__steps span { font-size: var(--t-xs); color: var(--text-dim); line-height: 1.4; min-width: 0; }
.order-strip__steps strong { display: block; font-size: var(--t-sm); color: var(--text); }

.btn--tg { background: var(--tg); color: #fff; }
.btn--tg:hover { background: #1E96D4; }

.case__media { position: relative; }

.case__spine { display: none; }

.case__tags {
  position: absolute;
  z-index: 2;
  top: 8px;
  inset-inline-start: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 60%;
  pointer-events: none;
}
.case__tag {
  padding: 0.15rem 0.4rem;
  border-radius: 5px;
  background: rgba(7, 3, 17, 0.72);
  color: #fff;
  font-family: var(--font-latin);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.3;
  white-space: nowrap;
  unicode-bidi: isolate;
}
.case__tag.is-ps5      { background: var(--ps5);  color: #0A1733; }
.case__tag.is-ps4      { background: var(--ps4);  color: #EAEEFF; }
.case__tag.is-xbox,
.case__tag.is-xsxs,
.case__tag.is-xone,
.case__tag.is-xone_xs,
.case__tag.is-gamepass { background: var(--xbox); color: #06230C; }
.case__tag.is-psplus   { background: var(--ps4);  color: #EAEEFF; }

.case__art,
[dir="rtl"] .case__art { border-radius: var(--r-md); }
.case__initials { padding-inline-start: 0; }
.shot__arrow--prev { inset-inline-start: 6px; }
.shot__dots { padding-inline-start: 0; }

.case__add {
  position: absolute;
  z-index: 3;
  bottom: 8px;
  inset-inline-end: 8px;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: var(--surface);
  color: var(--accent);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.6);
}
.case__add::before {
  content: "";
  width: 16px;
  height: 16px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2.5px 100% no-repeat;
  transition: transform 0.2s var(--ease);
}
.case__add:hover { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.case__add[data-in="1"],
.case__add.is-added { background: var(--ok); color: #fff; }
.case__add[data-in="1"]::before {
  width: 15px;
  height: 8px;
  background: none;
  border-inline-start: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: translateY(-2px) rotate(-45deg);
}
[dir="rtl"] .case__add[data-in="1"]::before { transform: translateY(-2px) scaleX(-1) rotate(-45deg); }
@media (pointer: coarse) { .case__add { width: 44px; height: 44px; padding: 0; } }

.case__name { margin-top: 0.65rem; min-height: 0; }
.case__name a { color: inherit; }
.case__name a:hover { color: var(--accent); }
.case__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.case__media { z-index: 2; }

.case__meta {
  margin: 0.15rem 0 0;
  font-size: var(--t-xs);
  color: var(--text-dim);
}

.cases { gap: 1.4rem 1rem; }
@media (min-width: 64em) {
  .cases--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; }
}
@media (max-width: 39.99em) {
  .cases--four > :nth-child(n + 5) { display: none; }
}

.shelf-wrap { margin-top: 0; }
.shelf-wrap::after { display: none; }
.shelf { padding-bottom: 0.5rem; }

.plans {
  display: grid;
  gap: 1rem;
}
@media (min-width: 48em) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.plan {
  --plan-a: var(--grape);
  --plan-b: var(--ink-700);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.25rem;
  border-radius: var(--r-lg);
  color: #fff;
  background: linear-gradient(140deg, var(--plan-a), var(--plan-b) 75%);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.plan--gamepass { --plan-a: #138A1F; --plan-b: #0A3512; }
.plan--psplus   { --plan-a: #2C3A99; --plan-b: #0D1442; }

.plan__head h3 { margin: 0; font-size: var(--t-lg); }
.plan__head p { margin: 0.2rem 0 0; font-size: var(--t-xs); opacity: 0.8; }

.plan__row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.plan__opt {
  min-height: 36px;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: var(--t-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.plan__opt:hover { background: rgba(255, 255, 255, 0.12); }
.plan__opt[aria-pressed="true"] { background: #fff; color: #120720; border-color: #fff; }
.plan__opt:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.plan__opt:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.plan__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 0.3rem;
}
.plan__sum { font-size: var(--t-sm); font-weight: 600; opacity: 0.92; }
.plan__add { background: #fff; color: #120720; padding: 0.65rem 1.1rem; }
.plan__add:hover { background: rgba(255, 255, 255, 0.88); }
.plan__add[data-in="1"] { background: var(--ok); color: #fff; }

.post-card--text {
  background:
    radial-gradient(120% 90% at 100% 0%, var(--accent-soft), transparent 60%),
    var(--surface);
}
.post-card--text .post-card__text { padding-top: 1.4rem; }

.fb-first {
  grid-template-columns: auto minmax(0, 1fr);
  justify-items: start;
  align-items: center;
  gap: 0.15rem 1rem;
  padding: 1rem 1.25rem;
  text-align: start;
}
.fb-first__stars { grid-row: span 2; font-size: 1.1rem; }
.fb-first__title { margin: 0; font-size: var(--t-md); }
@media (max-width: 34em) {
  .fb-first { grid-template-columns: 1fr; }
  .fb-first__stars { grid-row: auto; }
}

.cookiebar {
  inset-inline: auto;
  inset-inline-start: 1rem;
  bottom: calc(1rem + var(--dock-h));
  max-width: 27rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.7);
}
.cookiebar__inner { gap: 0.7rem; }
.cookiebar__actions { width: 100%; }
.cookiebar__actions > *,
.cookiebar__actions .btn { flex: 1 1 0; justify-content: center; }
body[data-cookiebar-on="1"] { padding-bottom: var(--dock-h); }
@media (max-width: 34em) {
  .cookiebar { inset-inline: 0.6rem; max-width: none; bottom: calc(0.6rem + var(--dock-h)); }
}

@media (max-width: 71.99em) {
  :root { --dock-h: calc(62px + env(safe-area-inset-bottom, 0px)); }

  .header__bar .reach,
  .header__bar [data-theme-toggle],
  .header__bar .langs { display: none; }

  body { padding-bottom: var(--dock-h); }
  .toasts { bottom: calc(1rem + var(--dock-h)); }
  .cookiebar ~ .toasts { bottom: calc(1rem + var(--dock-h) + var(--cookiebar-h, 5rem)); }
}

.dock { display: none; }
@media (max-width: 71.99em) {
  .dock {
    position: fixed;
    z-index: 120;
    inset-inline: 0;
    bottom: 0;
    display: block;
    pointer-events: none;
  }
  .dock > * { pointer-events: auto; }

  .dock__tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0.35rem max(0.5rem, env(safe-area-inset-right, 0px)) calc(0.35rem + env(safe-area-inset-bottom, 0px)) max(0.5rem, env(safe-area-inset-left, 0px));
    border-top: 1px solid var(--line);
    background: var(--bg);
    background: color-mix(in srgb, var(--bg) 90%, transparent);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
  .dock__tabs a {
    display: grid;
    justify-items: center;
    gap: 0.15rem;
    min-height: 52px;
    padding-top: 0.35rem;
    border-radius: 12px;
    color: var(--text-dim);
    font-size: 0.6875rem;
    font-weight: 600;
  }
  .dock__tabs a svg { width: 22px; height: 22px; }
  .dock__tabs a[aria-current="page"] { color: var(--accent); }
  .dock__tabs a[aria-current="page"] svg { filter: drop-shadow(0 0 8px var(--accent-soft)); }

  .dock__bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin: 0 0.6rem 0.5rem;
    padding: 0.55rem 0.55rem 0.55rem 1rem;
    border-radius: 14px;
    background: var(--text);
    color: var(--bg);
    font-size: var(--t-sm);
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.7);
  }
  [dir="rtl"] .dock__bar { padding: 0.55rem 1rem 0.55rem 0.55rem; }
  .dock__bar b { font-family: var(--font-latin); }
  .dock__send {
    padding: 0.5rem 0.9rem;
    border-radius: 10px;
    background: var(--tg);
    color: #fff;
    font-weight: 700;
  }
  .dock:has([data-basket-count][data-has="1"]) .dock__bar { display: flex; }
  .dock[data-on-basket="1"] .dock__bar { display: none !important; }

  body:has(.dock [data-basket-count][data-has="1"]):not(:has(.dock[data-on-basket="1"])) {
    --dock-h: calc(62px + 58px + env(safe-area-inset-bottom, 0px));
  }
}

.case__badge--feat { display: none; }
.case__tags { flex-wrap: nowrap; overflow: hidden; max-width: calc(100% - 16px); }
.case:has(.case__badge) .case__tags { max-width: 52%; }

@media (max-width: 39.99em) {
  .hero-fan { display: none; }
}
