/* =====================================================================
   LIFE10STEAL STORE  -  shared.css  (v2, "inventory GUI" look)

   v3 ("soft inventory"):
   1. Rounded surfaces with soft shadows; buttons have a chunky 3D lip
      (dark bottom edge) that presses down when clicked, like a game button.
   2. One accent: heart red marks the main action and the active item.
      Lantern amber is only for small labels and warnings. The home page
      category tiles are the one place with extra colours.
   3. Big plain type, left-aligned. Motion lives in layout.html (l10Motion).

   Seasons: html.season-halloween swaps the tokens below (orange accent,
   purple-black base). The decorations themselves live in seasons.twig.
   ===================================================================== */

/* ---------- tokens ---------- */
:root {
  color-scheme: dark;
  --wine-950: #110608;
  --wine-900: #1a0b0e;
  --wine-850: #221015;
  --wine-800: #2c161c;
  --wine-700: #3b1e26;
  --wine-600: #52303a;
  --bone: #f2e9e2;
  --bone-dim: #c4b5ad;
  --bone-mute: #8f7f7a;
  --heart: #e8243f;
  --heart-hi: #ff4a62;
  --heart-lo: #9e1328;
  --lantern: #ffa23d;
  --ok: #8fd694;
  --bad: #ff7a8c;

  --hi: rgba(255, 255, 255, 0.14);
  --lo: rgba(0, 0, 0, 0.55);
  /* soft surfaces: hairline edge + light top edge + a long soft shadow */
  --bevel: inset 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 40px -24px rgba(0, 0, 0, 0.85);
  --bevel-in: inset 0 2px 8px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  --ring: 0 0 0 2px var(--heart), 0 0 0 6px rgba(232, 36, 63, 0.18);
  /* game button: dark lip at the bottom, light line at the top */
  --lip: inset 0 -4px 0 rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  --lip-down: inset 0 -1px 0 rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);

  --r-xs: 6px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-btn: 12px;
  --r-pill: 999px;

  --font: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1200px;
  --gutter: 24px;
  --sidebar: 300px;
  --hotbar-h: 74px;

  /* the rank table's sticky bar sits under the sticky hotbar */
  --l10-sticky: var(--hotbar-h);

  /* names the Tebex scripts (main.js) still read */
  --color-primary: var(--heart);
  --color-primary-hover: var(--heart-hi);
  --color-primary-text: #fff;
  --color-text: var(--bone);
  --color-text-secondary: var(--bone-mute);
  --color-bg: var(--wine-950);
  --color-brighter-bg: var(--wine-900);
  --color-secondary: var(--wine-700);
  --color-secondary-hover: var(--wine-600);
  --widget-padding: 24px;
  --content-padding: 24px;
}

/* Halloween: same look, pumpkin accent and a purple-black base.
   Applied before the page is painted (small script at the top of layout.html). */
html.season-halloween {
  --ring: 0 0 0 2px var(--heart), 0 0 0 6px rgba(242, 113, 28, 0.2);
  --wine-950: #0d0710;
  --wine-900: #160c1b;
  --wine-850: #1d1124;
  --wine-800: #26162f;
  --wine-700: #36203f;
  --wine-600: #4b2e57;
  --heart: #f2711c;
  --heart-hi: #ff8f3d;
  --heart-lo: #a3410b;
  --lantern: #c9a2ff;
}

/* Christmas: deep pine-green night, the heart red stays the accent, gold for small labels.
   Applied before the page is painted (head.twig); the decorations live in christmas.twig. */
html.season-christmas {
  --wine-950: #08120f;
  --wine-900: #0e1b17;
  --wine-850: #13231e;
  --wine-800: #1a2e28;
  --wine-700: #244038;
  --wine-600: #33584d;
  --bone: #f3f6f2;
  --bone-dim: #c3cfc8;
  --bone-mute: #86998f;
  --lantern: #ffd166;
  --ok: #8fe3a5;
}
html.season-christmas .l10-hotbar { background: rgba(14, 27, 23, 0.86); }
html.season-christmas .l10-bento .l10-hero {
  background:
    radial-gradient(60% 55% at 50% 36%, rgba(232, 36, 63, 0.32), transparent 72%),
    radial-gradient(40% 50% at 50% 120%, rgba(255, 209, 102, 0.14), transparent 70%),
    linear-gradient(170deg, #11231c, #08120f 75%);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hotbar-h) + 16px); }
html.no-scroll { overflow: hidden; overscroll-behavior-y: none; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--wine-950);
  color: var(--bone);
  font: 400 15px/1.6 var(--font);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }
li { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
strong, b { font-weight: 600; }
del { color: var(--bone-mute); }
::selection { background: var(--heart); color: #fff; }
:focus-visible { outline: 2px solid var(--lantern); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.hide{ display: none !important; }
.w-100 { width: 100% !important; }
.l10-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; color: var(--bone); }
h4, h5, h6 { font-weight: 600; color: var(--bone); }

.l10-wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.l10-eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lantern);
}

/* rich text from the Tebex panel (descriptions, home text, modules) */
.text-content { line-height: 1.6; word-wrap: break-word; }
.text-content > * + * { margin-top: 12px; }
.text-content h1, .text-content h2, .text-content h3, .text-content h4 { margin-top: 20px; }
.text-content h1:first-child, .text-content h2:first-child, .text-content h3:first-child { margin-top: 0; }
.text-content h1 { font-size: 2rem; }
.text-content h2 { font-size: 1.6rem; }
.text-content h3 { font-size: 1.25rem; }
.text-content h4 { font-size: 1.05rem; }
.text-content a { color: var(--heart-hi); text-decoration: underline; text-underline-offset: 3px; }
.text-content a:hover { color: var(--bone); }
.text-content ul, .text-content ol { padding-left: 1.2em; }
.text-content ul li { list-style: square; }
.text-content ol li { list-style: decimal; }
.text-content li::marker { color: var(--heart); }
.text-content img { display: inline-block; }
.text-content table { width: 100%; border-collapse: collapse; }
.text-content th, .text-content td { padding: 8px 10px; border-bottom: 1px solid var(--wine-800); text-align: left; }

/* ---------- surfaces ---------- */
 .block, .widget, .popup-content {
  background: var(--wine-900);
  border-radius: var(--r);
  box-shadow: var(--bevel);
}

/* ---------- buttons ----------
   .button / .button-* come from the Tebex templates, .btn-* from main.js. */
.button, .btn-primary, .btn-secondary, .btn-tertiary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 18px;
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: var(--r-btn);
  background: var(--wine-700);
  color: var(--bone);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--lip), 0 8px 18px -12px rgba(0, 0, 0, 0.9);
  transition: transform 0.25s var(--spring), box-shadow 0.2s, background-color 0.15s, filter 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.button:hover, .btn-primary:hover, .btn-secondary:hover, .btn-tertiary:hover{
  background: var(--wine-600);
  color: var(--bone);
  transform: translateY(-2px);
}
.button:active, .btn-primary:active, .btn-secondary:active, .btn-tertiary:active{
  transform: translateY(2px);
  box-shadow: var(--lip-down);
  transition-duration: 0.06s;
}
.button:disabled, .btn-primary:disabled{ opacity: 0.45; cursor: not-allowed; transform: none; }
.button-primary, .btn-primary{
  background: linear-gradient(180deg, var(--heart-hi), var(--heart));
  color: #fff;
  box-shadow: var(--lip), 0 10px 24px -12px var(--heart);
}
.button-primary:hover, .btn-primary:hover{ background: linear-gradient(180deg, var(--heart-hi), var(--heart-hi)); color: #fff; box-shadow: var(--lip), 0 14px 30px -12px var(--heart); }
.button-success { background: linear-gradient(180deg, var(--heart-hi), var(--heart)); color: #fff; }
.button-success:hover { background: var(--heart-hi); color: #fff; }
.button-danger{ background: var(--wine-850); color: var(--bone-dim); }
.button-danger:hover { background: #4a1420; color: var(--bad); }
.button.wide, .button.block { display: flex; width: 100%; }
.button i.il, .button .il { margin: 0; }
.btn-icon { width: 40px; min-height: 40px; padding: 0; font-size: 0; color: transparent; }
.l10-btn--lg { min-height: 54px; padding-inline: 28px; font-size: 15.5px; border-radius: 14px; }
/* click ripple (added by layout.html) */
.l10-ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.35); transform: scale(0); pointer-events: none; animation: l10Ripple 0.6s var(--ease) forwards; }
@keyframes l10Ripple { to { transform: scale(1); opacity: 0; } }

/* ---------- inputs (pressed in) ---------- */
input[type=text], input[type=email], input[type=number], input[type=search], input[type=password],
input[type=tel], input[type=url], select, textarea, .form-control {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--wine-950);
  color: var(--bone);
  box-shadow: var(--bevel-in);
  transition: box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus, .form-control:focus {
  outline: none;
  box-shadow: var(--bevel-in), var(--ring);
}
input::placeholder, textarea::placeholder { color: var(--bone-mute); }
textarea { min-height: 110px; resize: vertical; }

.store-form { font-size: 15px; }
.store-form h1, .store-form h2, .store-form h3, .store-form p { margin-bottom: 16px; }
.store-form .field, .store-form .input-group, .store-form .field-inline { margin-bottom: 16px; }
.store-form .field > p, .store-form .field-inline > p { margin-bottom: 8px; color: var(--bone-dim); font-size: 13px; font-weight: 600; }
.store-form .field-inline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
.store-form .field input, .store-form .field select, .store-form .field textarea { margin-bottom: 10px; }
.store-form .field-inline input, .store-form .field-inline select { width: auto; }
.store-form .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.store-form .actions .link-text { align-self: center; font-weight: 600; color: var(--bone-dim); }

/* =====================================================================
   HEADER
   ===================================================================== */
.l10-sale {
  margin: 0;
  padding: 8px 16px;
  background: var(--lantern);
  color: var(--wine-950);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.l10-header { position: relative; background: var(--wine-950); }

.l10-topline { background: var(--wine-950); color: var(--bone-mute); font-size: 12.5px; }
.l10-topline .l10-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.l10-topline a, .l10-topline button { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; color: var(--bone-mute); transition: color 0.15s; }
.l10-topline a:hover, .l10-topline button:hover { color: var(--bone); }
.l10-topline__group { display: flex; align-items: center; gap: 20px; }
.l10-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.l10-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ok); animation: l10Ping 2s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes l10Ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
.l10-ip { font-weight: 600; color: var(--bone-dim); }
.l10-ip__hint { color: var(--lantern); font-weight: 600; }

.l10-bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.l10-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; min-width: 0; }
.l10-brand-mark { position: relative; flex: none; width: 44px; height: 44px; }
.l10-brand-mark img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.l10-brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.1; }
.l10-brand-name { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--bone); white-space: nowrap; }
.l10-brand-sub { margin-top: 3px; font-size: 12.5px; color: var(--bone-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* account + cart */
.l10-account { display: flex; align-items: center; gap: 14px; }
.l10-user { display: flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border-radius: var(--r-pill); background: var(--wine-900); box-shadow: var(--bevel); }
.l10-user__head { width: 40px; height: 40px; border-radius: 10px; image-rendering: pixelated; background: var(--wine-800); }
.l10-user__text { display: flex; flex-direction: column; line-height: 1.2; }
.l10-user__name { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.l10-user__total { font-size: 12.5px; color: var(--bone-mute); }
.l10-user__logout { color: var(--bone-mute); font-size: 13px; transition: color 0.15s; }
.l10-user__logout:hover { color: var(--heart-hi); }
.l10-cart { position: relative; }
.l10-cart .basket-button { min-width: 52px; min-height: 48px; padding: 0 16px; font-size: 17px; border-radius: 14px; }
.basket-button-amount {
  position: absolute;
  top: -7px;
  right: -7px;
  z-index: 2;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--r-pill);
  background: var(--bone);
  color: var(--wine-950);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
  box-shadow: 0 0 0 3px var(--wine-950);
  pointer-events: none;
}
.basket-button-amount:empty, .basket-button-amount[data-count="0"] { display: none; }
.basket-button.bounce { animation: l10Bounce 0.6s var(--ease); }
.basket-button-amount.bounce { animation: l10Pop 0.5s var(--spring); }
@keyframes l10Bounce { 0% { transform: none; } 25% { transform: translateY(-6px) rotate(-8deg); } 55% { transform: translateY(1px) rotate(5deg); } 80% { transform: rotate(-2deg); } 100% { transform: none; } }
@keyframes l10Pop { 0% { transform: none; } 50% { transform: scale(1.45); } 100% { transform: none; } }

/* big log-in button (desktop): Steve's head + two lines of text */
.l10-loginbtn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 6px 22px 6px 6px;
  border-radius: 16px;
  font-size: 16px;
  text-align: left;
}
.l10-loginbtn__head {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.22) url("https://mc-heads.net/avatar/MHF_Steve/88") center / 36px no-repeat;
  image-rendering: pixelated;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: transform 0.35s var(--spring);
}
.l10-loginbtn:hover .l10-loginbtn__head { transform: rotate(-8deg) scale(1.08); }
.l10-loginbtn__text { display: flex; flex-direction: column; line-height: 1.15; }
.l10-loginbtn__text b { font-size: 16.5px; font-weight: 800; }
.l10-loginbtn__text small { font-size: 12.5px; font-weight: 600; opacity: 0.82; }

/* ---------- hotbar (categories): a floating dock that sticks to the top ---------- */
.l10-hotbar {
  position: sticky;
  top: 10px;
  z-index: 60;
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin: 6px auto 0;
  padding: 0 8px;
  border-radius: 20px;
  background: rgba(26, 11, 14, 0.82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 16px 40px -18px rgba(0, 0, 0, 0.9);
}
html.season-halloween .l10-hotbar { background: rgba(22, 12, 27, 0.84); }
@supports (backdrop-filter: blur(12px)) { .l10-hotbar { backdrop-filter: blur(14px) saturate(1.3); } }
.l10-hotbar__list.l10-wrap { width: 100%; }
.l10-hotbar__list {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--hotbar-h);
  padding: 0 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.l10-hotbar__list::-webkit-scrollbar { display: none; }
.l10-hotbar__item { position: relative; z-index: 1; flex: none; }

/* each category is a full-colour game button (colours: cats.twig) */
.l10-slot {
  --c1: var(--wine-600);
  --c2: var(--wine-700);
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 5px 20px 5px 5px;
  border-radius: 15px;
  background: linear-gradient(160deg, var(--c1), var(--c2));
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  filter: saturate(0.82) brightness(0.9);
  transition: transform 0.35s var(--spring), filter 0.2s, box-shadow 0.2s;
}
.l10-slot[data-home] { --c1: var(--wine-700); --c2: var(--wine-800); }
.l10-slot__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 17px;
}
.l10-slot__icon img, .l10-slot__icon > i {
  width: 34px;
  height: 34px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.35));
  transition: transform 0.45s var(--spring);
}
.l10-slot__icon > i { display: block; width: 30px; height: 30px; }
.l10-slot:hover { filter: none; transform: translateY(-3px); color: #fff; }
.l10-slot:hover .l10-slot__icon img, .l10-slot:hover .l10-slot__icon > i { transform: translateY(-4px) rotate(-10deg) scale(1.18); }
.l10-slot:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.l10-slot.is-active { filter: none; color: #fff; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 24px -8px var(--c1); }
/* white outline + dot of the current slot. It is its own element so it can glide
   from the old slot to the new one when you change page (view transition below). */
.l10-slot__ring { display: none; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px #fff; pointer-events: none; }
.l10-slot__ring::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #fff; }
.l10-slot.is-active .l10-slot__ring { display: block; view-transition-name: l10-ring; }

/* ---------- smooth page changes (Chrome, Edge, Safari 18+; other browsers just load normally) ----------
   Header and category bar stay put, the white outline glides to the new slot,
   the page content fades and lifts in. */
@view-transition { navigation: auto; }
.l10-header { view-transition-name: l10-header; }
.l10-hotbar { view-transition-name: l10-hotbar; }
::view-transition-group(l10-ring) { animation-duration: 0.5s; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
::view-transition-group(l10-header), ::view-transition-group(l10-hotbar) { animation-duration: 0.3s; }
::view-transition-old(l10-hotbar), ::view-transition-new(l10-hotbar), ::view-transition-old(l10-header), ::view-transition-new(l10-header) { animation-duration: 0.25s; }
::view-transition-old(root) { animation: l10VtOut 0.18s ease-in both; }
::view-transition-new(root) { animation: l10VtIn 0.36s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes l10VtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes l10VtIn { from { opacity: 0; transform: translateY(12px); } }

/* =====================================================================
   EVENT SALE BANNER (sale.twig) - Halloween look
   Hidden unless the Halloween season is on (or sale.show = 'on').
   ===================================================================== */
.l10-event { display: none; width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin: 26px auto 0; }
html.season-halloween .l10-event--halloween, html.season-christmas .l10-event--christmas, .l10-event.is-forced { display: block; }
.l10-event.is-over { display: none !important; }
.l10-event__inner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px 28px;
  padding: 22px 28px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(45% 140% at 100% 50%, rgba(255, 122, 26, 0.32), transparent 70%),
    radial-gradient(40% 140% at 0% 50%, rgba(140, 70, 220, 0.3), transparent 70%),
    linear-gradient(110deg, #22102e 0%, #170a1d 50%, #2b1208 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 140, 50, 0.22), inset 0 -4px 0 rgba(0, 0, 0, 0.3), 0 20px 50px -26px rgba(255, 122, 26, 0.55);
}
.l10-event__web { position: absolute; left: 0; top: 0; z-index: -1; width: 120px; height: 120px; opacity: 0.16; }
.l10-event__embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.l10-event__ember { position: absolute; bottom: -6px; width: 4px; height: 4px; border-radius: 50%; background: #ff9a3a; box-shadow: 0 0 8px 2px rgba(255, 140, 40, 0.7); opacity: 0; }

/* swinging spider on a thread (top right) */
.l10-event__spider { position: absolute; top: 0; left: 50%; z-index: 1; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; animation: l10Swing 4.5s ease-in-out infinite; pointer-events: none; }
.l10-event__thread { width: 1px; height: 26px; background: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.45)); animation: l10Thread 6s ease-in-out infinite; }
.l10-event__spider svg { width: 28px; height: 28px; margin-top: -4px; }
@keyframes l10Swing { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes l10Thread { 0%, 100% { height: 22px; } 50% { height: 40px; } }

/* pumpkin: bobs, and its face flickers like a candle */
.l10-event__pumpkin { position: relative; width: 74px; height: 74px; filter: drop-shadow(0 0 18px rgba(255, 122, 26, 0.55)); animation: l10Pump 3.2s ease-in-out infinite; }
.l10-event__pumpkin svg { width: 100%; height: 100%; }
.l10-event__face { animation: l10Flicker 2.4s steps(1) infinite; }
@keyframes l10Pump { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-6px) rotate(5deg); } }
@keyframes l10Flicker { 0%, 100% { opacity: 1; } 8% { opacity: 0.55; } 10% { opacity: 1; } 47% { opacity: 0.8; } 49% { opacity: 1; } 71% { opacity: 0.6; } 72% { opacity: 1; } }

.l10-event__text { min-width: 0; }
.l10-event__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #ff9a3a; }
.l10-event__eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff9a3a; box-shadow: 0 0 10px #ff9a3a; animation: l10Blink 1.4s ease-in-out infinite; }
@keyframes l10Blink { 50% { opacity: 0.25; } }
.l10-event__title { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 900; letter-spacing: -0.02em; color: #fff; text-shadow: 0 2px 14px rgba(255, 122, 26, 0.35); }
.l10-event__sub { margin-top: 4px; font-size: 14px; color: #d9c7e6; }

/* countdown */
.l10-event__clock { display: flex; gap: 8px; }
.l10-event__unit { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.l10-event__unit b {
  display: grid;
  place-items: center;
  min-width: 56px;
  height: 58px;
  padding: 0 6px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #1c0f24, #0d0710);
  box-shadow: inset 0 0 0 1px rgba(255, 140, 50, 0.25), inset 0 -3px 0 rgba(0, 0, 0, 0.4);
  color: #ffb347;
  font-size: 26px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 14px rgba(255, 140, 40, 0.55);
}
.l10-event__unit small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #a993b8; }

.l10-event__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffa24a, #f2711c);
  color: #1d0a02;
  font-weight: 900;
  font-size: 15px;
  white-space: nowrap;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 12px 28px -10px rgba(255, 122, 26, 0.8);
  transition: transform 0.3s var(--spring), box-shadow 0.2s;
}
.l10-event__cta:hover { transform: translateY(-2px); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 16px 36px -10px rgba(255, 122, 26, 0.95); }
.l10-event__cta:active { transform: translateY(2px); }
.l10-event__cta span { transition: transform 0.3s var(--spring); }
.l10-event__cta:hover span { transform: translateX(4px); }

/* ---------- Christmas banner ---------- */
.l10-event--christmas .l10-event__inner {
  background:
    radial-gradient(45% 140% at 100% 50%, rgba(232, 36, 63, 0.3), transparent 70%),
    radial-gradient(40% 140% at 0% 50%, rgba(79, 214, 143, 0.18), transparent 70%),
    linear-gradient(110deg, #0f2a20 0%, #0b1a15 50%, #2a0c12 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 209, 102, 0.22), inset 0 -4px 0 rgba(0, 0, 0, 0.3), 0 20px 50px -26px rgba(232, 36, 63, 0.55);
}
.l10-event__art { position: relative; display: block; width: 78px; height: 78px; animation: l10Pump 3.4s ease-in-out infinite; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45)); }
.l10-event__art svg { width: 100%; height: 100%; }
.l10-event__art.has-lottie { width: 96px; height: 96px; margin: -10px 0; animation: none; }
.l10-event--christmas .l10-event__eyebrow { color: #ffd166; }
.l10-event--christmas .l10-event__eyebrow::before { background: #ff4d5e; box-shadow: 0 0 10px #ff4d5e; }
.l10-event--christmas .l10-event__title { text-shadow: 0 2px 14px rgba(232, 36, 63, 0.35); }
.l10-event--christmas .l10-event__sub { color: #c9dbd1; }
.l10-event--christmas .l10-event__unit b { background: linear-gradient(180deg, #13261f, #08120f); box-shadow: inset 0 0 0 1px rgba(255, 209, 102, 0.25), inset 0 -3px 0 rgba(0, 0, 0, 0.4); color: #fff; text-shadow: 0 0 12px rgba(255, 255, 255, 0.45); }
.l10-event--christmas .l10-event__unit small { color: #9db3a7; }
.l10-event--christmas .l10-event__cta { background: linear-gradient(180deg, #ff4d5e, #d8182f); color: #fff; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 28px -10px rgba(232, 36, 63, 0.8); }
.l10-event--christmas .l10-event__ember { background: #fff; box-shadow: 0 0 6px 1px rgba(200, 230, 255, 0.8); }
@media (max-width: 720px) { .l10-event__art { width: 56px; height: 56px; } }

/* the slime drips under the category bar need room above the banner */
html.season-halloween .l10-event { margin-top: 48px; }
html.season-halloween .site > .l10-event ~ .site-content { padding-top: 32px; }

@media (max-width: 1080px) {
  .l10-event__inner { grid-template-columns: auto minmax(0, 1fr) auto; }
  .l10-event__cta { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 720px) {
  .l10-event__inner { grid-template-columns: auto minmax(0, 1fr); padding: 20px 18px; gap: 16px; }
  .l10-event__pumpkin { width: 56px; height: 56px; }
  .l10-event__clock { grid-column: 1 / -1; justify-content: space-between; }
  .l10-event__unit { flex: 1; }
  .l10-event__unit b { width: 100%; height: 52px; font-size: 22px; }
  .l10-event__spider { left: auto; right: 4%; }
  html.season-halloween .l10-event { margin-top: 40px; }
}

/* =====================================================================
   PAGE LAYOUT
   ===================================================================== */
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-content {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}
.site > .site-content { flex: 1; padding: 48px 0 0; }
.site-content-widgets {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar);
  gap: 40px;
  align-items: start;
}
body.is-sidebar-right .site-content-widgets, .site-content-widgets { grid-template-areas: "main side"; }
.site-content-widgets > main { grid-area: main; min-width: 0; }
.site-content-widgets > .store-sidebar { grid-area: side; }
.site-content > main { min-width: 0; }

/* page heading: big headline on the left, short text on the right */
.l10-pagehead, .desc-block {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: end;
  gap: 12px 40px;
  margin-bottom: 40px;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--wine-800);
  background: none;
  box-shadow: none;
}
.l10-pagehead__title { min-width: 0; }
.l10-pagehead h1, .desc-block > h2 {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.98;
  overflow-wrap: anywhere;
}
.l10-pagehead__text { color: var(--bone-dim); max-width: 46ch; padding-bottom: 6px; }
.l10-pagehead__text p { margin: 0; }
.l10-pagehead__text > * + * { margin-top: 8px; }
.l10-pagehead--solo { grid-template-columns: 1fr; }

.no-products { padding: 48px 24px; text-align: center; color: var(--bone-mute); background: var(--wine-900); box-shadow: var(--bevel); border-radius: var(--r); }

/* Halloween: the slime drips hang under the hotbar, so leave them some room */
html.season-halloween .site > .site-content { padding-top: 64px; }
@media (max-width: 640px) { html.season-halloween .site > .site-content { padding-top: 44px; } }

/* =====================================================================
   HOME
   ===================================================================== */
.l10-hero { position: relative; isolation: isolate; padding: 28px 0 56px; margin-bottom: 40px; }
/* soft colour glow + drifting pixels behind the headline (pixels are added by layout.html) */
.l10-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: -12%;
  top: -40%;
  width: 70%;
  height: 160%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--heart) 24%, transparent), transparent 70%);
  filter: blur(10px);
  animation: l10Drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes l10Drift { to { transform: translate(18%, 8%) scale(1.15); } }
.l10-hero__fx { position: absolute; inset: -40px 0 0; z-index: -1; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); }
.l10-px { position: absolute; bottom: -10px; width: 8px; height: 8px; border-radius: 2px; background: var(--heart); opacity: 0; }
.l10-hero h1 {
  max-width: 12ch;
  margin: 0 0 20px;
  font-size: clamp(3rem, 8.2vw, 6.6rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.l10-hero h1 em {
  font-style: normal;
  color: var(--heart-hi);
  text-decoration: underline;
  text-decoration-color: var(--lantern);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}
/* letters split by layout.html */
.l10-ch { display: inline-block; will-change: transform; }
.l10-word { display: inline-block; white-space: nowrap; }
.l10-hero__lede { max-width: 46ch; margin-bottom: 30px; font-size: 1.12rem; color: var(--bone-dim); }
.l10-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.l10-section { margin-bottom: 72px; }
.l10-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.l10-section__head h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 900; }
.l10-section__head p { max-width: 36ch; color: var(--bone-mute); }

/* ---------- home: bento grid (big art card + side cards) ---------- */
.site > .l10-home-top + .site-content { padding-top: 0; }
.l10-bento { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); gap: 20px; margin-bottom: 20px; }
.l10-bento--two { grid-template-columns: minmax(0, 1fr); margin-bottom: 72px; }
.l10-bento__side { display: grid; grid-template-rows: auto 1fr; gap: 20px; min-width: 0; }
.l10-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: hidden;
  border-radius: 28px;
  background: var(--wine-900);
  box-shadow: var(--bevel);
}
/* cards with a picture: the art sits behind a dark fade so text stays readable */
.l10-card[style*="--art"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  width: auto;
  height: auto;
  filter: none;
  animation: none;
  background: var(--art) center / cover no-repeat;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease);
}
.l10-card[style*="--art"]:hover::before { transform: scale(1.09); }

/* the big card: the logo is the centre piece (like a game title screen).
   Red light sits right behind it, the category pictures float in the corners. */
.l10-bento .l10-hero {
  container-type: inline-size;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(60% 55% at 50% 36%, color-mix(in srgb, var(--heart) 40%, transparent), transparent 72%),
    radial-gradient(40% 50% at 50% 120%, color-mix(in srgb, var(--lantern) 12%, transparent), transparent 70%),
    linear-gradient(170deg, #250a10, #11050a 75%);
}
.l10-bento .l10-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  z-index: -1;
  filter: none;
  animation: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 80%);
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 80%);
}
.l10-bento .l10-hero::after { content: none; }
.l10-bento .l10-hero .l10-logo { width: min(92%, 620px); margin: 0 auto 26px; }
.l10-bento .l10-hero .l10-logo img { filter: drop-shadow(0 0 34px color-mix(in srgb, var(--heart) 45%, transparent)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.5)); }
.l10-bento .l10-hero .l10-splash { right: -3%; bottom: -10px; }
.l10-bento .l10-hero .l10-hero__lede { margin-inline: auto; max-width: 52ch; }
.l10-bento .l10-hero .l10-hero__actions { justify-content: center; }

.l10-hero__items { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.l10-float { position: absolute; width: clamp(46px, 12cqw, 92px); height: clamp(46px, 12cqw, 92px); object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 16px 16px rgba(0, 0, 0, 0.5)); opacity: 0.6; animation: l10Bob 6s ease-in-out infinite; }
.l10-float--1 { left: 5%;  top: 7%;    --r: -14deg; }
.l10-float--2 { right: 5%; top: 6%;    --r: 12deg; animation-delay: -1.5s; }
.l10-float--3 { left: 5%;  bottom: 7%; --r: 10deg; animation-delay: -3s; scale: 0.85; }
.l10-float--4 { right: 5%; bottom: 8%; --r: -10deg; animation-delay: -4.5s; scale: 0.9; }
@keyframes l10Bob { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-12px) rotate(calc(var(--r, 0deg) * -0.5)); } }
/* narrow card: the pictures would sit on the text, so they go */
/* narrower card: only the two top pictures stay (the bottom ones would sit on the buttons) */
@container (max-width: 640px) { .l10-float--3, .l10-float--4 { display: none; } .l10-float { opacity: 0.75; } }
@container (max-width: 330px) { .l10-float { display: none; } }

/* How to join: dark pixel stone, like the Minecraft menu background */
.l10-join { background: #1b1416 url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAABqklEQVR42j2SQY/cMAiFCXEcZFupNUqv21G1u5dKVf//rxpZHocghvRAtxx8MrzvPZh+/3xHRDNTVSJKKZkZM4sIIqoqIsYYAUBEAABDCCklIgohAMDj8QAAZt62LYRQa00phRBUFQC2bUMzg68qpfhUIgIAImLm3ruqllLMrPeOKaUxhqru+957907nAYAQAhGp6uPx8J7AzI7IzMxca+29b9vWWlPVWisAqKrjAcD05/1TVW+3W++diHrvIQRmJiIicnHHRi/XZWYza605NxF5bmbm+jHGbduICM3snxtEN3C/31XVwyGifd/dVWttjDH/+vj0rymlGOMYwzHmeXYb0zR5rJ77nJd4HAcAnOcpImaWcz6Ow9eUc0bE1lrO+bouM0NXdPVSimdSSnHTHmiMkZkBwMzQJ6mqqjLz29ubU4nIfwwR8RgAYP7+rSJiztkHtNYQkYiWZRERf2utiPh6vdZ1RVV1rx5u/CoiQkRfpafna0FV7b2LyBgjxuiEfj9uRlVba34BMcb548ddROZ5Xtf1uq7zPP0wY4yqOsZw1OfzOU3Tsix/AXh8UC3TLfI8AAAAAElFTkSuQmCC") 0 0 / 64px 64px repeat; image-rendering: pixelated; }

/* (old photo-card rules below are kept for other pages) */
/* the big card */
.l10-bento .l10-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 460px;
  margin: 0;
  padding: 44px 44px 40px;
  border-bottom: 0;
}
.l10-bento .l10-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.l10-bento .l10-hero__fx { inset: 0; -webkit-mask-image: none; mask-image: none; }
.l10-hero__lede { position: relative; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); color: var(--bone); opacity: 0.9; }

/* logo + Minecraft-style yellow splash text */
.l10-logo { position: relative; width: min(100%, 580px); margin: 0 0 22px; line-height: 0; }
.l10-logo__text { display: none; font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 900; letter-spacing: -0.045em; line-height: 0.95; }
.l10-logo__text em { font-style: normal; color: var(--heart-hi); }
/* if l10-logo.png is missing, the text version shows instead */
.l10-logo.is-fallback img, .l10-logo.is-fallback::after { display: none; }
.l10-logo.is-fallback .l10-logo__text { display: block; }
.l10-logo.is-fallback { width: fit-content; max-width: 100%; }
.l10-logo.is-fallback .l10-splash { right: -8%; bottom: -14px; }
.l10-logo img { width: 100%; height: auto; image-rendering: auto; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.55)); }
/* light sweep across the letters (masked to the logo shape) */
.l10-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  -webkit-mask: var(--logo) center / 100% 100% no-repeat;
  mask: var(--logo) center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%) 0 0 / 300% 100% no-repeat;
  background-position: 120% 0;
  animation: l10LogoShine 5s ease-in-out 1.6s infinite;
  pointer-events: none;
}
@keyframes l10LogoShine { 0% { background-position: 120% 0; } 40%, 100% { background-position: -20% 0; } }
.l10-splash {
  position: absolute;
  right: -2%;
  bottom: -6px;
  font: 400 clamp(13px, 1.7vw, 19px)/1 "Silkscreen", "Press Start 2P", ui-monospace, monospace;
  color: #ffff55;
  text-shadow: 2px 2px 0 #3f3f15;
  white-space: nowrap;
  transform: rotate(-14deg);
  animation: l10Splash 0.55s ease-in-out infinite alternate;
}
@keyframes l10Splash { to { transform: rotate(-14deg) scale(1.09); } }
.l10-btn--glass { background: rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 -4px 0 rgba(0, 0, 0, 0.25); }
.l10-btn--glass:hover { background: rgba(255, 255, 255, 0.18); }

/* server address card */
.l10-ipcard {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 92px;
  padding: 18px 22px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.35s var(--spring), background-color 0.2s;
}
.l10-ipcard:hover { transform: translateY(-3px); background: var(--wine-850); }
.l10-ipcard:active { transform: scale(0.98); }
.l10-ipcard__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--wine-800); font-size: 22px; color: var(--bone); transition: transform 0.4s var(--spring); }
.l10-ipcard:hover .l10-ipcard__icon { transform: rotate(-8deg) scale(1.08); }
.l10-ipcard__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.l10-ipcard__text small { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ok); }
.l10-ipcard__text b { font-size: 15px; font-weight: 800; letter-spacing: 0.01em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l10-ipcard__done { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; background: var(--ok); color: #0f2e14; font-weight: 800; font-size: 17px; opacity: 0; transform: scale(1.1); transition: opacity 0.2s, transform 0.35s var(--spring); pointer-events: none; }
.l10-ipcard.is-copied .l10-ipcard__done { opacity: 1; transform: none; }

/* Discord card */
.l10-discord {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 26px 22px;
  text-align: center;
  color: var(--bone);
  transition: transform 0.35s var(--spring), background-color 0.2s;
}
.l10-discord::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 60% at 50% 20%, rgba(88, 101, 242, 0.28), transparent 70%); }
.l10-discord:hover { transform: translateY(-3px); background: var(--wine-850); }
.l10-discord__logo { font-size: 58px; color: #5865f2; filter: drop-shadow(0 10px 18px rgba(88, 101, 242, 0.45)); transition: transform 0.5s var(--spring); }
.l10-discord:hover .l10-discord__logo { transform: translateY(-4px) rotate(-6deg) scale(1.06); }
.l10-discord__count { margin-top: 8px; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.l10-discord__sub { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--bone-dim); }
.l10-discord__cta { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: var(--r-pill); background: #5865f2; color: #fff; font-weight: 800; font-size: 14px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25); }
.l10-discord__cta .l10-arrow { color: #fff; }

/* How to join: Minecraft "Add Server" screen.
   Wide card: Java and Bedrock as two rows, both visible. Narrow card (phones): tabs. */
.l10-join::before { image-rendering: auto; }
.l10-join { container-type: inline-size; display: flex; flex-direction: column; gap: 22px; padding: 32px 34px 34px; }
.l10-join::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 4, 7, 0.82) 0%, rgba(14, 4, 7, 0.55) 40%, rgba(14, 4, 7, 0.88) 100%); }
.l10-join__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.l10-join__head h2 { margin: 0 auto 0 0; font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 900; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
.l10-join__hint { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--bone-dim); }
.l10-join__tabs { display: none; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(0, 0, 0, 0.5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.l10-join__tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 6px 16px; border-radius: 10px; color: var(--bone-dim); font-size: 14px; font-weight: 700; transition: background-color 0.2s, color 0.2s; }
.l10-join__tab:hover { color: var(--bone); }
.l10-join__tab.is-on { background: var(--heart); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25); }
.l10-join__rows { display: grid; gap: 18px; }
.l10-join__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 0.7fr);
  gap: 8px 14px;
  padding: 16px 18px 18px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.l10-join__ed { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lantern); }
.l10-join__f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.l10-join__label { font: 400 13px/1.2 "Silkscreen", ui-monospace, monospace; color: #a0a0a0; text-shadow: 2px 2px 0 #2a2a2a; }
.l10-join__field {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 2px solid #a0a0a0;
  border-radius: 4px;
  background: #000;
  color: #e0e0e0;
  font: 400 16px/1 "Silkscreen", ui-monospace, monospace;
  text-align: left;
  text-shadow: 2px 2px 0 #3a3a3a;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s;
}
.l10-join__field span { overflow: hidden; text-overflow: ellipsis; }
.l10-join__field:hover { border-color: #fff; }
.l10-join__field.is-copied { border-color: var(--ok); }
/* blinking "_" cursor on the box that is being typed */
.l10-join__field.is-typing span::after { content: "_"; animation: l10Caret 1s steps(1) infinite; }
@keyframes l10Caret { 50% { opacity: 0; } }

/* narrow card: one edition at a time, chosen with the tabs, boxes stacked */
@container (max-width: 640px) {
  .l10-join__tabs { display: inline-grid; }
  .l10-join__hint { flex-basis: 100%; order: 3; }
  .l10-join__form { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .l10-join__form.is-off { display: none; }
  .l10-join__ed { display: none; }
  .l10-join__f--port { width: 50%; }
  .l10-join__field { font-size: 14px; min-height: 46px; }
}

/* ---------- voting: intro + reward on the left, the sites as rows on the right ---------- */
.l10-vote { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px 48px; align-items: center; }
.l10-vote__intro h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 900; margin: 6px 0 10px; }
.l10-vote__intro p { max-width: 42ch; color: var(--bone-dim); margin-bottom: 22px; }
.l10-vote__reward { display: inline-flex; align-items: center; gap: 16px; padding: 12px 20px 12px 12px; border-radius: 20px; background: var(--wine-900); box-shadow: var(--bevel); }
.l10-vote__item { position: relative; display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 16px; background: radial-gradient(70% 70% at 50% 55%, color-mix(in srgb, var(--lantern) 38%, transparent), transparent 80%), var(--wine-950); box-shadow: var(--bevel-in); }
.l10-vote__item i { font-size: 38px; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.45)); animation: l10Bob 4s ease-in-out infinite; --r: -10deg; }
.l10-vote__item-text { display: flex; flex-direction: column; line-height: 1.3; }
.l10-vote__item-text b { font-size: 16px; font-weight: 800; }
.l10-vote__item-text small { font-size: 13px; color: var(--bone-mute); }
.l10-vote__list { display: grid; gap: 10px; margin: 0; padding: 0; counter-reset: none; }
.l10-vote__list li { list-style: none; }
.l10-vote__site { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; border-radius: 16px; background: var(--wine-900); box-shadow: var(--bevel); transition: transform 0.25s var(--spring), background-color 0.2s; }
.l10-vote__site:hover { transform: translateX(4px); background: var(--wine-800); }
.l10-vote__site:focus-visible { outline: 0; box-shadow: var(--ring); }
.l10-vote__n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--wine-950); box-shadow: var(--bevel-in); font-size: 12px; font-weight: 800; color: var(--bone-mute); }
.l10-vote__logo { flex: none; width: 34px; height: 34px; border-radius: 9px; background: #fff; padding: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35); }
.l10-vote__name { margin-right: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 800; color: var(--bone); }
.l10-vote__go { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 8px 14px; border-radius: 999px; background: var(--heart); color: #fff; font-size: 14px; font-weight: 800; box-shadow: var(--lip); white-space: nowrap; transition: background-color 0.2s; }
.l10-vote__go b { font-weight: 800; transition: transform 0.25s var(--spring); }
.l10-vote__site:hover .l10-vote__go { background: var(--heart-hi); }
.l10-vote__site:hover .l10-vote__go b { transform: translateX(3px); }
@media (max-width: 860px) { .l10-vote { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .l10-vote__n { display: none; } .l10-vote__reward { display: flex; } }

/* ---------- FAQ ---------- */
.l10-faq__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.l10-faq__item { border-radius: 18px; background: var(--wine-900); box-shadow: var(--bevel); overflow: hidden; transition: background-color 0.2s, box-shadow 0.3s; }
.l10-faq__item[open] { background: var(--wine-850); box-shadow: var(--bevel), inset 0 0 0 1px color-mix(in srgb, var(--heart) 30%, transparent); }
.l10-faq__item summary { display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; }
.l10-faq__item summary::-webkit-details-marker { display: none; }
.l10-faq__item summary:hover .l10-faq__q { color: #fff; }
.l10-faq__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--heart) 15%, transparent); color: var(--heart-hi); font-size: 16px; transition: transform 0.45s var(--spring), background-color 0.2s, color 0.2s; }
.l10-faq__item[open] .l10-faq__icon { background: var(--heart); color: #fff; transform: rotate(-8deg); }
.l10-faq__q { margin-right: auto; font-size: 15.5px; font-weight: 700; color: var(--bone); transition: color 0.15s; }
.l10-faq__plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); }
.l10-faq__plus::before, .l10-faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--bone-dim); transition: transform 0.35s var(--spring); }
.l10-faq__plus::after { transform: rotate(90deg); }
.l10-faq__item[open] .l10-faq__plus::after { transform: rotate(0deg); }
.l10-faq__a { overflow: hidden; padding: 0 18px 18px 72px; color: var(--bone-dim); font-size: 14.5px; line-height: 1.6; }
.l10-faq__a b { color: var(--bone); }
@media (max-width: 860px) { .l10-faq__list { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .l10-faq__a { padding-left: 18px; } }

/* gift card inside the bento */
.l10-bento .l10-gift { margin: 0; border-radius: 28px; }

/* ---------- category tiles on the home page (big, coloured, with art) ---------- */
.l10-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; perspective: 1200px; }
.l10-tile {
  container-type: inline-size;
  --c1: #c0283d;
  --c2: #7d1526;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 250px;
  padding: 40px 44px;
  border-radius: var(--r-lg);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(120% 90% at 85% 100%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: inset 0 -7px 0 rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 26px 50px -30px var(--c1);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--spring), box-shadow 0.3s;
}
.l10-tile:only-child, .l10-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* faint pixel grid texture */
.l10-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}
/* light sweep on hover */
.l10-tile::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  z-index: 2;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-18deg) translateX(0);
  pointer-events: none;
}
.l10-tile:hover::after { transition: transform 0.9s var(--ease); transform: skewX(-18deg) translateX(420%); }
.l10-tile:hover { box-shadow: inset 0 -7px 0 rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 34px 60px -26px var(--c1); }
.l10-tile:active { transform: scale(0.985) !important; }
.l10-tile__title {
  position: relative;
  z-index: 1;
  max-width: 100%;
  font-size: clamp(1.5rem, 9.5cqw, 2.9rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
}
.l10-tile__cta { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, 0.82); }
.l10-tile__cta .l10-arrow { color: inherit; }
.l10-tile:hover .l10-tile__cta { color: #fff; }
.l10-tile:hover .l10-arrow { transform: translateX(6px); color: #fff; }
.l10-tile__count:empty { display: none; }
.l10-tile__count { position: relative; z-index: 1; margin-top: auto; padding-top: 22px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.l10-tile__art {
  position: absolute;
  right: 4%;
  bottom: -6%;
  z-index: 0;
  width: min(46%, 230px);
  aspect-ratio: 1;
  pointer-events: none;
  transform: translateZ(40px);
}
.l10-tile__art img, .l10-tile__art i {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.35));
  transform: rotate(-9deg);
  transition: transform 0.6s var(--spring);
}
.l10-tile__art i { display: grid; place-items: center; font-size: clamp(5rem, 10vw, 8.5rem); color: rgba(255, 255, 255, 0.92); }
/* a faded copy behind the main art, like a second item in the stack */
.l10-tile__art .l10-tile__ghost { opacity: 0.22; filter: blur(1px); transform: translate(-46%, -6%) rotate(-18deg) scale(0.78); }
.l10-tile:hover .l10-tile__art img:not(.l10-tile__ghost), .l10-tile:hover .l10-tile__art i:not(.l10-tile__ghost) { transform: rotate(-2deg) translateY(-12px) scale(1.06); }
.l10-tile:hover .l10-tile__ghost { transform: translate(-56%, -10%) rotate(-24deg) scale(0.8); }
html.season-halloween .l10-tile { --c1: #d25d14 !important; --c2: #5b2370 !important; }
html.season-halloween .l10-tile:nth-child(2n) { --c1: #6b2f8f !important; --c2: #2a1236 !important; }

/* ---------- gifting banner on the home page ---------- */
.l10-gift {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 40px;
  padding: 40px 44px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(60% 120% at 100% 50%, color-mix(in srgb, var(--heart) 38%, transparent), transparent 70%),
    var(--wine-900);
  box-shadow: var(--bevel), inset 0 0 0 1px color-mix(in srgb, var(--heart) 25%, transparent);
}
.l10-gift h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 900; margin-bottom: 10px; }
.l10-gift p { max-width: 50ch; color: var(--bone-dim); margin-bottom: 22px; }
.l10-gift__steps { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: -6px 0 24px; }
.l10-gift__steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: var(--r-pill); background: rgba(0, 0, 0, 0.25); font-size: 13px; font-weight: 600; color: var(--bone-dim); }
.l10-gift__steps b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--heart); color: #fff; font-size: 11.5px; }
.l10-gift__box { position: relative; display: grid; place-items: center; width: 180px; height: 180px; }
.l10-gift__box i { font-size: 118px; color: var(--heart-hi); filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45)); animation: l10GiftHop 2.8s var(--ease) infinite; transform-origin: 50% 100%; }
@keyframes l10GiftHop {
  0%, 60%, 100% { transform: none; }
  68% { transform: translateY(-16px) rotate(-6deg) scaleY(1.04); }
  76% { transform: translateY(0) scale(1.06, 0.92); }
  84% { transform: translateY(-6px) rotate(4deg); }
  92% { transform: none; }
}
.l10-gift__box::after { content: ""; position: absolute; bottom: 14px; width: 110px; height: 14px; border-radius: 50%; background: rgba(0, 0, 0, 0.35); filter: blur(4px); z-index: -1; }
.l10-confetti { position: absolute; width: 8px; height: 12px; border-radius: 2px; pointer-events: none; z-index: 5; }

/* Buy + gift side by side (package cards, key cards) */
.l10-acts { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; }
.l10-acts > .button, .l10-acts > .key-card__add-btn { flex: 1 1 auto; width: auto; min-width: 0; margin: 0 !important; }
.l10-giftbtn--icon { flex: none; width: 48px; min-height: 46px; padding: 0; font-size: 17px; }
.key-card .l10-acts { padding-top: 0; }
.store-products-list .l10-acts { padding-top: 0; }
/* gift button (rank cards, package page) */
.l10-giftbtn, .product-actions .gift, .store-product-full .actions .gift {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 18px;
  border-radius: var(--r-btn);
  background: var(--wine-700);
  background-image: none;
  color: var(--bone);
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--lip), inset 0 0 0 1px color-mix(in srgb, var(--heart) 40%, transparent);
  transition: transform 0.25s var(--spring), background-color 0.15s;
}
.l10-giftbtn:hover, .product-actions .gift:hover { background-color: var(--wine-600); transform: translateY(-2px); }
.l10-giftbtn:active, .product-actions .gift:active { transform: translateY(2px); box-shadow: var(--lip-down); }
.l10-giftbtn i, .product-actions .gift i { color: var(--heart-hi); }
.l10-giftbtn:hover i { animation: l10Wiggle 0.5s var(--ease); }
@keyframes l10Wiggle { 25% { transform: rotate(-14deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-5deg); } }
.l10-row {
  display: grid;
  grid-template-columns: 56px minmax(160px, 260px) 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 26px 0;
  border-top: 1px solid var(--wine-800);
  transition: padding 0.3s var(--ease), background-color 0.3s;
}
.l10-row:last-child { border-bottom: 1px solid var(--wine-800); }
.l10-row { border-radius: var(--r-sm); align-items: center; }
.l10-row:hover { padding-left: 18px; background: linear-gradient(90deg, var(--wine-850), transparent); }
.l10-row h3 { font-size: 1.35rem; }
.l10-row p { margin: 0; color: var(--bone-dim); max-width: 56ch; }
.l10-row strong { color: var(--bone); }
.l10-row a { color: var(--heart-hi); font-weight: 600; text-decoration: none; }
.l10-home-text { margin-top: 0; }

/* =====================================================================
   PACKAGE CARDS (normal categories)
   ===================================================================== */
.store-products-images, .store-products-list, .store-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.store-product { position: relative; min-width: 0; }
.store-products-images .store-product > .block,
.store-products-list .store-product > .block,
.store-products-grid .store-product > .block {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px;
  border-radius: var(--r-lg);
  transition: transform 0.45s var(--spring), background-color 0.2s, box-shadow 0.3s;
}
.store-products-images .store-product > .block:hover,
.store-products-list .store-product > .block:hover { transform: translateY(-6px); background: var(--wine-850); box-shadow: var(--bevel), 0 26px 40px -24px color-mix(in srgb, var(--heart) 60%, transparent); }
.store-product .image-link {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
  border-radius: var(--r);
  background: radial-gradient(70% 70% at 50% 60%, var(--wine-800), var(--wine-950));
  box-shadow: var(--bevel-in);
  overflow: hidden;
}
.store-product .image-link .image { width: 62%; height: 62%; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.45)); transition: transform 0.5s var(--spring); }
.store-product .block:hover .image-link .image { transform: translateY(-6px) rotate(-6deg) scale(1.08); }
.store-product .package-name { font-size: 1.1rem; font-weight: 700; line-height: 1.25; color: var(--bone); }
.store-product .package-price { margin-top: 6px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--bone); }
.store-product .package-discount { margin-right: 8px; font-size: 0.95rem; font-weight: 600; }
.store-product .block > .button { margin-top: auto; width: 100%; }
.store-product .block > div + .button { margin-top: 16px; }
.package-countdown, .countdown { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--lantern); letter-spacing: 0.04em; }

/* small labels on top of a card (POPULAR / BEST VALUE / NEW / LIMITED / SALE) */
.package-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.75);
  color: var(--lantern);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}
.package-tag i { font-size: 10px; }
.package-tag + .package-tag { top: 40px; }
.package-tag--sale { background: var(--heart); color: #fff; }

/* list display type: one row per package */
.store-products-list { grid-template-columns: 1fr; }
.store-products-list .store-product > .block { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 18px; }
.store-products-list .store-product .image-link { margin: 0; aspect-ratio: 1; }
.store-products-list .store-product .block > .button { width: auto; margin: 0; }

/* =====================================================================
   PACKAGE PAGE
   ===================================================================== */
.l10-package { padding: 0; background: none; box-shadow: none; }
.l10-package__top { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 40px; }
.l10-package__media { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r-lg); background: radial-gradient(70% 70% at 50% 55%, var(--wine-800), var(--wine-900)); box-shadow: var(--bevel); }
.l10-package__media .image { width: 64%; height: 64%; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 16px 16px rgba(0, 0, 0, 0.45)); animation: l10Float 5s ease-in-out infinite; }
@keyframes l10Float { 50% { transform: translateY(-10px) rotate(-3deg); } }
.l10-package__info { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.l10-package .product-title { font-weight: 900; font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.035em; line-height: 1; overflow-wrap: anywhere; }
.l10-package .product-title .countdown { display: block; margin-top: 10px; font-size: 13px; letter-spacing: 0.04em; }
.product-actions, .store-product-full .actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 380px;
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--wine-900);
  box-shadow: var(--bevel);
}
.product-actions .price, .store-product-full .actions .price { margin: 0; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--bone); }
.product-actions .price del { font-size: 1rem; margin-right: 8px; }
.product-actions .button, .store-product-full .actions .button { width: 100%; min-height: 54px; font-size: 16px; border-radius: 14px; }
.product-actions .gift, .store-product-full .actions .gift { width: 100%; min-height: 54px; border-radius: 14px; font-size: 0; }
.product-actions .gift::after { content: "Gift to a friend"; font-size: 16px; }
.product-actions .gift i { font-size: 17px; }
.product-actions.l10-gift-flash .gift { animation: l10Pulse 1.2s var(--ease) 2; }
@keyframes l10Pulse { 50% { box-shadow: var(--lip), var(--ring); } }
.l10-package__descr { padding: 28px; border-radius: var(--r-lg); background: var(--wine-900); box-shadow: var(--bevel); }
.l10-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--bone-mute); font-weight: 600; font-size: 14px; }
.l10-back:hover { color: var(--bone); }

/* quantity stepper ("- 1 in Basket +") */
.quantity-field {
  display: flex;
  align-items: stretch;
  height: 44px;
  border-radius: var(--r-btn);
  overflow: hidden;
  background: var(--wine-950);
  box-shadow: var(--bevel-in);
}
.store-product .quantity-field { height: 48px; }
.quantity-field input[type=number] {
  flex: none;
  min-width: 40px;
  width: auto;
  height: 100%;
  min-height: 0;
  padding: 0 6px;
  background: transparent;
  box-shadow: none;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
  field-sizing: content;
}
.quantity-field input[type=number]::-webkit-inner-spin-button,
.quantity-field input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.quantity-field.with-open-basket input[type=number] { order: 1; margin: 0 -6px 0 0; padding: 0 6px; text-align: right; }
.quantity-field .open-basket { order: 2; margin-right: auto; padding: 0 6px; font-weight: 600; color: var(--bone-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quantity-field .open-basket:hover { color: var(--heart-hi); }
.quantity-field .open-basket:hover ~ input[type=number] { color: var(--heart-hi); }
.quantity-field .adjust {
  position: relative;
  flex: none;
  width: 44px;
  min-height: 0;
  height: 100%;
  padding: 0;
  font-size: 0;
  color: transparent;
  background: var(--wine-700);
  box-shadow: var(--lip);
  border-radius: 0;
}
.quantity-field .adjust.decrease { order: -1; margin-right: auto; }
.quantity-field .adjust.increase { order: 100; margin-left: auto; }
.quantity-field .adjust::before, .quantity-field .adjust::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  background: var(--bone);
}
.quantity-field .adjust.increase::after { transform: rotate(90deg); }
.quantity-field .adjust.decrease::after { display: none; }
.quantity-field .adjust:hover { background: var(--wine-600); }

/* =====================================================================
   KEY CARDS (Keys category: one card per key, amount picker)
   ===================================================================== */
.key-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.key-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: var(--r-lg);
  background: var(--wine-900);
  box-shadow: var(--bevel);
  transition: transform 0.45s var(--spring), background-color 0.2s, box-shadow 0.3s;
}
.key-card:hover { transform: translateY(-6px); background: var(--wine-850); box-shadow: var(--bevel), 0 26px 40px -24px color-mix(in srgb, var(--heart) 60%, transparent); }
.key-card__imgwrap {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
  border-radius: var(--r);
  background: radial-gradient(70% 70% at 50% 60%, var(--wine-800), var(--wine-950));
  box-shadow: var(--bevel-in);
}
.key-card__image { width: 58%; height: 58%; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.45)); transition: transform 0.5s var(--spring); }
.key-card:hover .key-card__image { transform: translateY(-6px) rotate(-10deg) scale(1.1); }
.key-card__name { font-size: 1.1rem; font-weight: 700; line-height: 1.25; color: var(--bone); }
.key-card__selected-price {
  margin: 4px 0 14px;
  min-height: 1.3em;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bone);
  transition: opacity 0.15s, transform 0.15s;
}
.key-card__selected-price del { margin-right: 8px; font-size: 0.95rem; font-weight: 600; }
.key-card__quantities {
  position: relative;
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
  padding: 4px;
  border-radius: var(--r-btn);
  background: var(--wine-950);
  box-shadow: var(--bevel-in);
}
.key-card__pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: 9px;
  background: var(--heart);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25), 0 6px 14px -6px var(--heart);
  opacity: 0;
  pointer-events: none;
}
.key-card__quantities.has-pill .key-card__pill { opacity: 1; }
.key-card__quantities.pill-ready .key-card__pill { transition: transform 0.45s var(--spring), width 0.45s var(--spring); }
.key-card__qty-btn {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  min-height: 38px;
  padding: 0;
  background: transparent;
  color: var(--bone-mute);
  font-size: 13.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: color 0.15s;
}
.key-card__qty-btn:hover { color: var(--bone); }
.key-card__qty-btn { border-radius: 9px; }
.key-card__qty-btn.selected { color: #fff; }
.key-card__quantities:not(.has-pill) .key-card__qty-btn.selected { background: var(--heart); }
.key-card__add-btn { width: 100%; margin-top: auto; min-height: 48px; font-size: 15px; }
.key-card__add-btn.loading { opacity: 0.8; pointer-events: none; }
.key-card__add-btn.is-added { background: var(--ok); color: var(--wine-950); box-shadow: var(--lip); }

/* =====================================================================
   SIDEBAR MODULES
   ===================================================================== */
.store-sidebar { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.store-sidebar .site-navigation { display: none; }
.widget { position: relative; padding: 22px !important; }
.widget-header{
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lantern);
}
.widget-content { font-size: 14px; color: var(--bone-dim); }
.widget-content > div { display: flex; flex-direction: column; }

/* Recent Payments (text module with player rows) */
.recent-payment{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-radius: var(--r-sm);
  border-top: 1px solid var(--wine-800);
  transition: padding 0.25s var(--ease), background-color 0.25s;
}
.recent-payment:first-child{ border-top: 0; padding-top: 0; }
.recent-payment:hover { padding-left: 8px; background: linear-gradient(90deg, var(--wine-850), transparent); }
.payment-avatar { flex: none; width: 34px; height: 46px; overflow: hidden; }
.payment-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; image-rendering: pixelated; }
.payment-name { font-weight: 600; color: var(--bone); word-break: break-all; }
.payment-name span { display: block; font-size: 12px; font-weight: 400; color: var(--bone-mute); }

/* Community Goal */
.widget .progress {
  position: relative;
  height: 18px;
  margin: 4px 0 10px;
  border-radius: var(--r-pill);
  background: var(--wine-950);
  box-shadow: var(--bevel-in);
  overflow: hidden;
}
.widget .progress-bar {
  height: 100%;
  max-width: 100%;
  border-radius: var(--r-pill);
  background: repeating-linear-gradient(115deg, var(--heart-hi) 0 12px, var(--heart) 12px 24px) 0 0 / 34px 100%;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.25);
  animation: l10Stripes 1s linear infinite;
  transition: width 0.9s var(--ease);
}
.widget .progress + p { margin: 0; font-size: 13px; color: var(--bone-mute); }
.widget-community-goal .descr:empty { display: none; }

/* other Tebex modules: featured package, top donator, server status, gift cards */
.widget .image, .widget img { max-width: 100%; }
.widget .button { width: 100%; margin-top: 12px; }
.widget input[type=text] { margin-bottom: 10px; }
.widget .gift-card-input { background: var(--wine-950); }
.giftcard-warning, .giftcard-success { margin-top: 12px; padding: 8px 12px; border-radius: var(--r-sm); font-size: 13px; background: var(--wine-850); box-shadow: inset 0 0 0 1px var(--lantern); color: var(--bone-dim); }
.giftcard-success { border-color: var(--ok); }

/* =====================================================================
   POPUPS, BASKET DRAWER, TOASTS  (opened by Tebex main.js)
   ===================================================================== */
.popup {
  --fade-duration: 260ms;
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden scroll;
  scrollbar-width: thin;
  background: rgba(0, 0, 0, 0.72);
  transition: background-color var(--fade-duration) ease, opacity var(--fade-duration) ease-in-out, display var(--fade-duration) allow-discrete;
}
.popup.drawer { user-select: none; }
.popup.may-close { user-select: none; background: rgba(0, 0, 0, 0.4); }
.popup[hidden] { display: none; opacity: 0; }
.popup-scroll-cont { display: flex; align-items: center; justify-content: center; min-height: 100%; padding: 12px; overscroll-behavior: none; }
.popup-content {
  position: relative;
  width: 100%;
  max-width: 560px;
  padding: 28px;
  border-radius: var(--r-lg);
  color: var(--bone);
  transition: translate var(--fade-duration) var(--spring), opacity var(--fade-duration) ease, scale var(--fade-duration) var(--spring);
}
.popup.touching .popup-content { transition: opacity var(--fade-duration) ease, scale var(--fade-duration) ease; }
.popup.may-close .popup-content, .popup.drawer[hidden] .popup-content { opacity: 0.8; scale: 0.96; }
.popup.drawer-up[hidden] .popup-content { translate: 0 -100%; }
.popup.drawer-down[hidden] .popup-content { translate: 0 100%; }
.popup.drawer-right[hidden] .popup-content { translate: 100% 0; }
.popup.drawer-left[hidden] .popup-content { translate: -100% 0; }
.popup:not(.drawer)[hidden] .popup-content { translate: 0 24px; scale: 0.94; }
.popup { backdrop-filter: blur(3px); }
.popup.popup-loading .popup-content { min-height: 160px; }
.popup.popup-loading .popup-content::before,
.basket-popup-content.updating::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 50%;
  height: 12px;
  margin-top: -6px;
  background: linear-gradient(90deg, var(--wine-850) 30%, var(--wine-700) 50%, var(--wine-850) 70%) 0 0 / 300% 100%;
  animation: l10Shimmer 1.1s linear infinite;
  z-index: 10;
}
@keyframes l10Shimmer { to { background-position: -150% 0; } }
@keyframes l10Stripes { to { background-position: 34px 0; } }
.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 36px;
  height: 36px;
  min-height: 0;
  padding: 0;
  font-size: 0;
  color: transparent;
  border-radius: 50%;
  background: var(--wine-800);
  box-shadow: var(--bevel);
  transition: background-color 0.15s, transform 0.3s var(--spring);
}
.popup-close:hover { transform: rotate(90deg); }
.popup-close::before, .popup-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  margin: -1px 0 0 -8px;
  background: var(--bone);
  transform: rotate(45deg);
}
.popup-close::after { transform: rotate(-45deg); }
.popup-close:hover { background: var(--heart); }
.drawer-up .popup-content::after, .drawer-down .popup-content::after,
.drawer-left .popup-content::after, .drawer-right .popup-content::after { content: none; }
.store-product-popup-content { max-width: 820px; }
.product-options-popup .popup-content { max-width: 480px; }
.login-popup { z-index: 1002; }
.login-popup-content { max-width: 480px; }
/* Tebex gift form ("who is this gift for?") */
.gift-form-popup .popup-content { max-width: 500px; padding: 32px; text-align: left; }
.gift-form-popup .popup-content::before { content: ""; display: block; width: 76px; height: 76px; margin-bottom: 18px; border-radius: 22px; background: var(--px-gift) center / 64px 64px no-repeat, radial-gradient(circle at 50% 25%, rgba(255, 200, 61, 0.3), transparent 70%), linear-gradient(160deg, rgba(232, 36, 63, 0.35), rgba(232, 36, 63, 0.1)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 14px 28px -14px rgba(232, 36, 63, 0.7); image-rendering: pixelated; animation: l10GiftHop 2.8s var(--ease) infinite; }
.gift-form-popup .popup-content h1, .gift-form-popup .popup-content h2, .gift-form-popup .popup-content h3 { font-size: 1.7rem; font-weight: 900; margin-bottom: 8px; }
.gift-form-popup .popup-content p { color: var(--bone-dim); }
.gift-form-popup .popup-content input[type=text] { min-height: 52px; font-size: 16px; margin: 14px 0; }
.gift-form-popup .popup-content .btn-primary, .gift-form-popup .popup-content .button { width: 100%; min-height: 52px; font-size: 16px; }
.gift-form-popup .popup-content .actions { position: relative; width: 100%; max-width: 100%; }
.gift-form-popup .popup-content .actions.updating { pointer-events: none; opacity: 0.5; }

/* basket drawer */
.basket { position: relative; z-index: 1001; }
.site-content .basket { display: none; }
.basket-popup .popup-scroll-cont { justify-content: flex-end; padding: 0; }
.basket-popup-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  height: 100dvh;
  padding: 0;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
  background: var(--wine-950);
  box-shadow: -30px 0 60px -30px rgba(0, 0, 0, 0.9), inset 1px 0 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: translate var(--fade-duration) var(--ease);
}
:root .basket-popup[hidden] .basket-popup-content { translate: 100% 0; }
.basket-popup-content.updating { pointer-events: none; }
.basket-popup-content.updating > * { opacity: 0.35; }
.basket .basket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 64px 20px 24px;
  background: var(--wine-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.basket .basket-title { display: flex; align-items: center; gap: 12px; text-transform: none; }
.basket .basket-title::before { content: none; }
.basket .basket-second-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 24px;
  background: var(--wine-850);
  border-bottom: 1px solid var(--wine-800);
  font-size: 13px;
  color: var(--bone-mute);
}
.basket .basket-second-header .total strong { color: var(--bone); font-size: 15px; font-weight: 700; }
.basket .basket-second-header .currency { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--bone-dim); }
.basket .basket-content { flex: 1; overflow-x: hidden; overflow-y: auto; }
.basket .basket-items { display: flex; flex-direction: column; gap: 0; padding: 8px 24px; text-align: left; }
.basket .basket-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 0;
  background: none;
  border-bottom: 1px solid var(--wine-800);
}
.basket .basket-item .info { margin-right: auto; min-width: 0; }
.basket .basket-item .title { font-size: 15px; font-weight: 700; color: var(--bone); }
.basket .basket-item .price { font-size: 13px; color: var(--bone-mute); }
.basket .basket-item .price strong { font-size: 15px; font-weight: 700; color: var(--bone); }
.basket .basket-item .options { margin-top: 4px; font-size: 12.5px; color: var(--bone-mute); }
.basket .basket-item .options li::before { content: "- "; }
.basket .basket-item .quantity-field { height: 38px; }
.basket .basket-item .quantity-field .adjust { width: 34px; }
.basket .basket-item .remove { position: relative; width: 38px; min-height: 38px; height: 38px; padding: 0; font-size: 0; color: transparent; border-radius: 50%; background: var(--wine-850); box-shadow: var(--bevel); }
.basket .basket-item .remove::before, .basket .basket-item .remove::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--bone-dim); transform: rotate(45deg); }
.basket .basket-item .remove::after { transform: rotate(-45deg); }
.basket .basket-item .remove:hover { background: #4a1420; }
.basket .basket-empty { margin: auto; padding: 40px 24px; text-align: center; color: var(--bone-mute); }
.basket .basket-checkout { margin-top: auto; padding: 20px 24px 28px; background: var(--wine-900); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.basket .basket-checkout h3 { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lantern); }
.basket .basket-checkout .total { font-size: 13px; color: var(--bone-mute); letter-spacing: 0; text-transform: none; }
.basket .basket-checkout .total strong { font-size: 1.6rem; font-weight: 800; color: var(--bone); letter-spacing: -0.02em; }
.basket .basket-checkout .checkout, .basket .basket-checkout .button { width: 100%; min-height: 56px; font-size: 16px; border-radius: 14px; background: linear-gradient(180deg, var(--heart-hi), var(--heart)); color: #fff; }
.basket .basket-checkout .checkout:hover, .basket .basket-checkout .button:hover { background: var(--heart-hi); }
.basket .widget-gift-card, .basket .coupons { padding: 16px 24px; }

/* toasts */
.toaster {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 16px;
  pointer-events: none;
}
.toaster:empty { display: none; }
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 0 8px 0 18px;
  border-radius: var(--r);
  background: var(--wine-800);
  border: 1px solid var(--bone-mute);
  box-shadow: var(--bevel), 0 20px 40px -20px rgba(0, 0, 0, 0.9);
  font-size: 14px;
  font-weight: 600;
  pointer-events: auto;
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}
.toast[hidden] { display: flex !important; opacity: 0; transform: translateY(16px) scale(0.96); }
.toast.toast-success { border-color: var(--ok); }
.toast.toast-warning { border-color: var(--lantern); }
.toast.toast-error { border-color: var(--heart); }
.toast-close { position: relative; margin-left: auto; flex: none; width: 32px; height: 32px; font-size: 0; color: transparent; }
.toast-close::before, .toast-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--bone-mute); transform: rotate(45deg); }
.toast-close::after { transform: rotate(-45deg); }
.toast-close:hover::before, .toast-close:hover::after { background: var(--bone); }

/* =====================================================================
   LOGIN POPUP (our own, opened by the Login button)
   ===================================================================== */
.l10-login {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.66);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.l10-login.is-open { opacity: 1; visibility: visible; }
html.l10-login-open { overflow: hidden; }
.l10-login__box {
  position: relative;
  width: 460px;
  max-width: 100%;
  padding: 30px;
  border-radius: var(--r-lg);
  background: var(--wine-900);
  box-shadow: var(--bevel), 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  transform: translateY(24px) scale(0.94);
  transition: transform 0.5s var(--spring);
}
.l10-login.is-open .l10-login__box { transform: none; }
.l10-login__box.is-shake { animation: l10Shake 0.35s ease; }
@keyframes l10Shake { 20%, 60% { translate: -6px 0; } 40%, 80% { translate: 6px 0; } }
.l10-login__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wine-800);
  color: var(--bone-dim);
  box-shadow: var(--bevel);
  font-size: 15px;
  transition: background-color 0.15s, transform 0.3s var(--spring);
}
.l10-login__close:hover { background: var(--heart); color: #fff; transform: rotate(90deg); }
.l10-login__head { display: flex; align-items: center; gap: 14px; margin: 0 40px 22px 0; }
.l10-login__avatar { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 16px; background: var(--wine-950); image-rendering: pixelated; box-shadow: var(--bevel-in); transition: box-shadow 0.25s, transform 0.5s var(--spring); }
.l10-login.is-valid .l10-login__avatar { box-shadow: var(--ring); transform: rotate(-4deg) scale(1.04); }
.l10-login__pending { display: flex; align-items: center; gap: 10px; margin: -6px 0 18px; padding: 10px 12px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--heart) 14%, transparent); color: var(--bone-dim); font-size: 13.5px; }
.l10-login__pending i { color: var(--heart-hi); }
.l10-login__pending b { color: var(--bone); }
.l10-login__title { margin: 0 0 4px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--bone); }
.l10-login__sub { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--bone-mute); }
.l10-login__platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.l10-login__platform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px;
  background: var(--wine-850);
  color: var(--bone-mute);
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--r-btn);
  box-shadow: var(--bevel);
  transition: background-color 0.15s, color 0.15s, box-shadow 0.2s, transform 0.3s var(--spring);
}
.l10-login__platform:hover { color: var(--bone); transform: translateY(-2px); }
.l10-login__platform.is-on { background: var(--wine-700); color: var(--bone); box-shadow: var(--ring); }
.l10-login__label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--bone-dim); }
.l10-login__field { display: flex; align-items: center; border-radius: var(--r-btn); background: var(--wine-950); box-shadow: var(--bevel-in); transition: box-shadow 0.2s; }
.l10-login__field:focus-within { box-shadow: var(--bevel-in), var(--ring); }
.l10-login__prefix { display: none; margin-left: 12px; padding: 1px 8px; border-radius: 6px; background: var(--wine-700); color: var(--bone); font-weight: 700; }
.l10-login.is-bedrock .l10-login__prefix { display: inline-block; }
.l10-login__field input { flex: 1; min-width: 0; min-height: 46px; padding: 12px 14px; background: transparent; box-shadow: none; font-size: 15px; }
.l10-login__field input:focus { box-shadow: none; }
.l10-login__field input:focus-visible { outline: none; }
.l10-login__hint { margin: 8px 2px 20px; font-size: 12.5px; color: var(--bone-mute); }
.l10-login__hint.is-error { color: var(--bad); }
.l10-login__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--heart-hi), var(--heart));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: var(--lip), 0 12px 26px -14px var(--heart);
  transition: transform 0.25s var(--spring), background-color 0.15s, opacity 0.2s;
}
.l10-login__submit:hover:not(:disabled) { transform: translateY(-2px); }
.l10-login__submit:hover:not(:disabled) i { transform: translateX(4px); }
.l10-login__submit i { transition: transform 0.3s var(--spring); }
.l10-login__submit:active:not(:disabled) { transform: translateY(2px); box-shadow: var(--lip-down); }
.l10-login__submit:disabled { opacity: 0.45; cursor: not-allowed; }
.l10-login__submit.is-loading { opacity: 0.85; cursor: wait; }

/* ---------- phone cart bar (layout.html): shows once something is in the cart ---------- */
.l10-mcart { display: none; }
@media (max-width: 760px) {
  .l10-mcart:not([data-count="0"]) {
    display: block;
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 900;
    animation: l10CartUp 0.6s var(--spring) both;
  }
  body:has(.l10-mcart:not([data-count="0"])) { padding-bottom: 86px; }
  body:has(.l10-mcart:not([data-count="0"])) .l10-toasts { bottom: 92px; }
}
@keyframes l10CartUp { from { transform: translateY(120%); } }
.l10-mcart__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 62px;
  padding: 8px 8px 8px 10px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--wine-850) 92%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 40px -12px rgba(0, 0, 0, 0.9);
  text-align: left;
}
.l10-mcart__icon { position: relative; display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--wine-700); font-size: 18px; color: var(--bone); }
.l10-mcart__icon b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--r-pill); background: var(--heart); color: #fff; font-size: 11px; font-weight: 800; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px var(--wine-850); }
.l10-mcart__text { display: flex; flex-direction: column; min-width: 0; margin-right: auto; line-height: 1.2; }
.l10-mcart__text b { font-size: 14px; font-weight: 800; }
.l10-mcart__text small { font-size: 13px; color: var(--bone-dim); }
.l10-mcart__go { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 18px; border-radius: 14px; background: linear-gradient(180deg, var(--heart-hi), var(--heart)); color: #fff; font-size: 14px; font-weight: 800; box-shadow: var(--lip); white-space: nowrap; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.l10-footer { margin-top: 96px; background: linear-gradient(180deg, var(--wine-900), #000 70%); border-radius: 32px 32px 0 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); padding: 52px 0 24px; }
.l10-footer__grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.l10-footer__about { max-width: 360px; }
.l10-footer__brand { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.l10-footer__about p { margin-top: 8px; color: var(--bone-mute); }
.l10-footer__cols { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.l10-footer__col { display: flex; flex-direction: column; gap: 8px; min-width: 120px; }
.l10-footer__col h4 { margin-bottom: 4px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lantern); }
.l10-footer__col a, .l10-footer__col button { color: var(--bone-dim); text-align: left; transition: color 0.15s; }
.l10-footer__col a:hover, .l10-footer__col button:hover { color: var(--heart-hi); }
.l10-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--wine-800);
  color: var(--bone-mute);
  font-size: 12.5px;
}
.we-accept { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.we-accept li { display: grid; place-items: center; height: 30px; padding: 0 10px; border-radius: 8px; background: var(--wine-900); box-shadow: inset 0 0 0 1px var(--wine-800); }
.we-accept img { max-height: 16px; width: auto; filter: grayscale(1) brightness(1.6); opacity: 0.8; }

/* =====================================================================
   SMALL THINGS
   ===================================================================== */
/* badge that flies from a Buy button to the cart (layout.html: window.l10Fly) */
.l10-fly {
  position: fixed;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--heart);
  color: #fff;
  font-size: 14px;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25), 0 8px 18px -6px var(--heart);
  pointer-events: none;
}

/* =====================================================================
   MOTION
   Entrance: rise 24px + fade over .7s. Scroll reveal: the class is added by
   layout.html, so without JS (or with reduced motion) everything just shows.
   ===================================================================== */
@keyframes l10Rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
/* when the motion script runs it animates these itself */
html.l10-motion .l10-hero > *, html.l10-motion .l10-pagehead > * { animation: none; }
.l10-hero > *, .l10-pagehead > *, .desc-block > * { animation: l10Rise 0.7s var(--ease) both; }
.l10-hero > :nth-child(2), .l10-pagehead > :nth-child(2), .desc-block > :nth-child(2) { animation-delay: 70ms; }
.l10-hero > :nth-child(3) { animation-delay: 140ms; }
.l10-hero > :nth-child(4) { animation-delay: 210ms; }
.l10-hero > :nth-child(5) { animation-delay: 280ms; }
/* card 3D tilt (layout.html sets --rx / --ry on hover) */
.l10-tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); }
.l10-tilt.is-tilting { transition: transform 0.12s linear !important; }

/* full-screen "adding your item" cover after logging in (layout.html) */
.l10-resume { position: fixed; inset: 0; z-index: 100001; display: grid; place-items: center; background: color-mix(in srgb, var(--wine-950) 88%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: l10Fade 0.25s ease both; }
.l10-resume__box { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px 34px; border-radius: var(--r-lg); background: var(--wine-900); box-shadow: var(--bevel); text-align: center; }
.l10-resume__box img { width: 64px; height: 64px; border-radius: 16px; image-rendering: pixelated; animation: l10Hop 0.9s var(--ease) infinite; }
.l10-resume__box b { font-size: 1.15rem; }
.l10-resume__box span { color: var(--bone-mute); font-size: 13.5px; }
@keyframes l10Hop { 0%, 100% { transform: none; } 40% { transform: translateY(-12px) rotate(-6deg); } 60% { transform: translateY(0) scale(1.08, 0.92); } }
@keyframes l10Fade { from { opacity: 0; } }

/* small notices from layout.html (window.l10Toast) */
.l10-toasts { position: fixed; left: 50%; bottom: 20px; z-index: 10001; display: flex; flex-direction: column; align-items: center; gap: 8px; width: max-content; max-width: calc(100vw - 32px); transform: translateX(-50%); pointer-events: none; }
.l10-toast { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 10px 8px 16px; border-radius: var(--r); background: var(--wine-800); color: var(--bone); box-shadow: var(--bevel), 0 24px 40px -20px rgba(0, 0, 0, 0.95); font-size: 14px; pointer-events: auto; }
.l10-toast__icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: color-mix(in srgb, var(--ok) 20%, transparent); color: var(--ok); }
.l10-toast--info .l10-toast__icon { background: color-mix(in srgb, var(--lantern) 18%, transparent); color: var(--lantern); }
.l10-toast--err .l10-toast__icon { background: color-mix(in srgb, var(--heart) 20%, transparent); color: var(--heart-hi); }
.l10-toast .button { min-height: 36px; padding: 6px 14px; font-size: 13px; }

/* =====================================================================
   RESPONSIVE
   1080px: sidebar moves under the content
   980px: columns stack
   640px: phone
   ===================================================================== */
@media (max-width: 1080px) {
  .site-content-widgets { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "side"; gap: 48px; }
  .store-sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
}
@media (max-width: 980px) {
  .l10-pagehead, .desc-block { grid-template-columns: 1fr; }
  .l10-package__top { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px; }
  .l10-row { grid-template-columns: 44px 1fr; }
  .l10-row p { grid-column: 2; }
  .l10-section__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .l10-gift { grid-template-columns: 1fr; }
  .l10-bento, .l10-bento--two { grid-template-columns: 1fr; }
  .l10-bento__side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .l10-bento .l10-hero { min-height: 400px; padding: 32px; }
  .l10-tile { padding: 32px 30px; min-height: 210px; }
  .l10-brand-sub { display: none; }
}
@media (max-width: 760px) {
  .l10-user__text { display: none; }
  .l10-user { padding: 3px; }
  .l10-loginbtn { min-height: 48px; padding: 4px 16px 4px 4px; }
  .l10-loginbtn__head { width: 38px; height: 38px; background-size: 30px; }
  .l10-loginbtn__text small { display: none; }
  .l10-topline__extra { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --hotbar-h: 64px; }
  .site > .site-content { padding-top: 28px; }
  .l10-bar { min-height: 64px; gap: 12px; }
  .l10-brand-mark { width: 38px; height: 38px; }
  .l10-brand-name { font-size: 17px; }
  .l10-slot { min-height: 46px; padding: 4px 14px 4px 4px; font-size: 14px; gap: 8px; border-radius: 13px; }
  .l10-slot__icon { width: 38px; height: 38px; border-radius: 10px; }
  .l10-slot__icon img { width: 30px; height: 30px; }
  .l10-slot[data-home] { padding-right: 4px; }
  .l10-slot[data-home] .l10-slot__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .l10-pagehead, .desc-block { margin-bottom: 28px; padding-bottom: 20px; }
  .l10-hero { padding-bottom: 32px; margin-bottom: 36px; }
  .l10-section { margin-bottom: 48px; }
  .l10-tiles { grid-template-columns: 1fr; gap: 14px; }
  .l10-tile { min-height: 150px; padding: 24px 22px; }
  .l10-tile__art { width: 42%; right: 2%; bottom: -8%; }
  .l10-gift { padding: 28px 22px; }
  .l10-bento { gap: 14px; margin-bottom: 14px; }
  .l10-bento--two { margin-bottom: 48px; }
  .l10-bento__side { grid-template-columns: 1fr; gap: 14px; }
  .l10-card { border-radius: 22px; }
  .l10-bento .l10-hero { min-height: 0; padding: 30px 20px 24px; }
  .l10-logo { margin: 10px 0 26px; }
  .l10-splash { right: 0; bottom: -14px; }
  .l10-discord { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; text-align: left; padding: 18px 22px; gap: 4px 14px; }
  .l10-discord__logo { font-size: 40px; }
  .l10-discord__count { margin: 0; font-size: 1.6rem; }
  .l10-discord__sub { flex-basis: 100%; }
  .l10-discord__cta { display: none; }
  .l10-join { padding: 26px 20px; }
  .l10-gift__box { position: absolute; top: 14px; right: 6px; width: 96px; height: 96px; opacity: 0.9; }
  .l10-gift__box i { font-size: 62px; }
  .l10-gift__box::after { width: 60px; bottom: 6px; }
  .l10-gift h2 { padding-right: 84px; }
  .l10-hotbar { top: 6px; width: calc(100% - 16px); border-radius: 16px; padding: 0 4px; }
  .store-products-images, .store-products-grid, .key-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .store-products-images .store-product > .block, .key-card { padding: 12px; }
  .store-product .package-name, .key-card__name { font-size: 0.98rem; }
  .store-product .package-price, .key-card__selected-price { font-size: 1.25rem; }
  .key-card__qty-btn { font-size: 12.5px; min-height: 36px; }
  .store-products-list .store-product > .block { grid-template-columns: 64px 1fr; }
  .store-products-list .store-product .block > .button { grid-column: 1 / -1; width: 100%; }
  .store-products-list .l10-acts { grid-column: 1 / -1; }
  .l10-package__top { grid-template-columns: 1fr; }
  .l10-package__media { max-width: 260px; }
  .l10-package__descr { padding: 20px; }
  .product-actions { max-width: none; }
  .l10-footer { margin-top: 64px; }
  .basket .basket-header { padding: 22px 60px 16px 16px; }
  .basket .basket-items, .basket .basket-second-header, .basket .basket-checkout { padding-left: 16px; padding-right: 16px; }
  .widget { padding: 18px !important; }
}
@media (max-width: 380px) {
  .store-products-images, .store-products-grid, .key-cards-grid { grid-template-columns: 1fr; }
}
/* touch screens: no hover lifts that get stuck, bigger tap targets */
@media (hover: none) {
  .key-card:hover, .store-products-images .store-product > .block:hover, .l10-row:hover { transform: none; padding-left: 0; }
  .l10-slot:hover .l10-slot__icon { transform: none; }
  .l10-row:hover { background: none; }
}
@media (pointer: coarse) {
  .button, .key-card__add-btn, .basket-button { min-height: 44px; }
  .key-card__qty-btn { min-height: 42px; }
}

/* reduced motion: no animation, no transitions */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .l10-tilt { transform: none !important; }
}
/* checkout: hint where gift cards and coupons go */
.l10-couponnote { display: flex; gap: 10px; align-items: center; margin: 0 0 14px; padding: 12px 14px; border-radius: var(--r-sm); font-size: 13.5px; line-height: 1.4; color: var(--bone-dim); background: var(--wine-850); box-shadow: var(--bevel-in); }
.l10-couponnote i { color: var(--heart-hi); }

/* the flying Halloween witch (and other header decorations) must never widen the page on phones */
.l10-header { overflow-x: clip; }

/* numbers line up in prices, counters and amounts */
.price, .package-price, .l10-price, .rg-price, .basket-total, .basket-sub, [class*="price"], [class*="total"], .gc__amt-v, .cs__num { font-variant-numeric: tabular-nums; }

html { overflow-x: clip; }

.l10-footer__credit { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--bone-mute); }
.l10-footer__credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }