:root {
  color-scheme: light;
  --fatality-accent: #ff9d00;
  --fatality-accent-bright: #ffc11a;
  --fatality-blue: #164fa2;
  --fatality-blue-deep: #073866;
  --fatality-bg: #c9e0ef;
  --fatality-bg-soft: #dceef9;
  --fatality-panel: #eaf6ff;
  --fatality-panel-strong: #f5fbff;
  --fatality-panel-2: #dceefa;
  --fatality-line: #b8d3e5;
  --fatality-text: #062f50;
  --fatality-muted: #6b89a8;
  --fatality-success: #39b863;
  --fatality-danger: #dc4350;
  --fatality-shadow: 0 18px 42px rgba(34, 80, 119, 0.15);
  --fatality-shadow-soft: 0 10px 24px rgba(34, 80, 119, 0.12);
  --tebex-legal-footer-background-color: #eaf6ff;
  --tebex-legal-footer-text-color: #6b89a8;
  --tebex-legal-footer-border-color: #b8d3e5;
  --tebex-legal-footer-logo-color: #073866;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--fatality-text);
  background:
    radial-gradient(circle at 50% 22rem, rgba(255, 255, 255, 0.74), transparent 29rem),
    radial-gradient(circle at 84% 12rem, rgba(255, 235, 142, 0.18), transparent 22rem),
    linear-gradient(180deg, #bdd4e5 0%, var(--fatality-bg) 45%, #bcd8e9 100%);
  background-attachment: fixed;
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  content: "";
  filter: blur(70px);
  opacity: 0.25;
  pointer-events: none;
}

body::before { top: 10rem; left: 5%; background: #fff0ad; }
body::after { top: 16rem; right: 4%; background: #9fd8ff; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-announcement {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 20px;
  color: #674000;
  background: linear-gradient(90deg, #ffd85a, #ffb20a, #ffd85a);
  box-shadow: 0 1px 0 rgba(99, 59, 0, 0.12);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-align: center;
}

.announcement-dot,
.server-status {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--fatality-success);
  box-shadow: 0 0 0 4px rgba(57, 184, 99, 0.16);
}

.site-header { position: relative; z-index: 20; background: transparent; }

.header-inner,
.hero-inner,
.site-shell,
.footer-inner {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.header-inner {
  min-height: 104px;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 24px;
}

.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fatality-blue-deep);
  font-family: "Baloo 2", "Segoe UI", sans-serif;
  font-size: 19px;
  font-weight: 900;
}

.site-header .brand-mini { justify-self: start; }

@media (min-width: 901px) {
  .site-header .brand-mini { visibility: hidden; }
}

.brand-mini-mark,
.toast-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, #ffcc21, var(--fatality-accent) 70%, #e37000);
  box-shadow: 0 7px 16px rgba(7, 56, 102, 0.2), inset 0 -4px 0 rgba(118, 57, 0, 0.18);
  font-family: "Baloo 2", sans-serif;
  font-size: 24px;
  font-weight: 1000;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(94, 50, 0, 0.35);
  overflow: hidden;
  padding: 0;
}

.brand-mini-mark img,
.toast-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-nav a {
  min-width: 105px;
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: #073b7b;
  background: rgba(239, 249, 255, 0.86);
  box-shadow: 0 12px 20px rgba(58, 92, 122, 0.13);
  font-family: "Baloo 2", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.main-nav a:hover { transform: translateY(-2px); box-shadow: 0 15px 24px rgba(58, 92, 122, 0.17); }

.main-nav a.active,
.main-nav a[aria-current="page"] {
  color: #713c00;
  border-color: #ffa000;
  background: var(--fatality-accent);
  box-shadow: 0 12px 22px rgba(255, 157, 0, 0.24), inset 0 -3px 0 rgba(179, 88, 0, 0.14);
}

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }

.icon-button,
.menu-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: var(--fatality-blue-deep);
  background: rgba(239, 249, 255, 0.88);
  box-shadow: var(--fatality-shadow-soft);
  cursor: pointer;
}

.icon-button svg,
.menu-button svg { width: 18px; height: 18px; }
.menu-button { display: none; }

.basket-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--fatality-line);
  border-radius: 10px;
  color: var(--fatality-blue-deep);
  background: var(--fatality-panel);
  box-shadow: var(--fatality-shadow-soft);
  font-weight: 900;
}

.site-header .basket-link { display: none; }

.basket-count {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  padding-inline: 4px;
  border-radius: 7px;
  color: #fff;
  background: var(--fatality-success);
  font-size: 11px;
}

.brand-hero { position: relative; min-height: 265px; display: grid; place-items: center; overflow: visible; }

.hero-inner { position: relative; min-height: inherit; display: grid; place-items: center; }

.hero-inner::before {
  position: absolute;
  z-index: -1;
  width: min(620px, 86vw);
  height: 210px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  content: "";
  filter: blur(40px);
}

.hero-logo-image {
  width: min(540px, 86vw);
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 15px 12px rgba(61, 48, 23, 0.2));
}

.wordmark {
  margin: 0;
  color: #ffc21a;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(58px, 9vw, 118px);
  font-weight: 1000;
  letter-spacing: -0.055em;
  line-height: 0.8;
  -webkit-text-stroke: 3px var(--fatality-blue-deep);
  text-shadow: 0 7px 0 #dc7100, 0 13px 0 rgba(6, 47, 80, 0.75), 0 24px 24px rgba(6, 47, 80, 0.28);
}

.wordmark-accent { color: #ffd737; }

.server-pill {
  position: absolute;
  right: 50%;
  bottom: 8px;
  z-index: 3;
  min-width: 146px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 7px 18px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #1382db, #0758af);
  box-shadow: 0 10px 20px rgba(6, 63, 121, 0.25), inset 0 -3px 0 rgba(0, 44, 97, 0.2);
  transform: translateX(50%);
  cursor: pointer;
}

.server-pill:hover { transform: translateX(50%) translateY(-2px); }
.server-pill .server-status { display: none; }
.server-copy { display: grid; text-align: center; }

.server-copy strong {
  font-family: "Baloo 2", sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: uppercase;
}

.server-copy span {
  display: inline-flex;
  justify-content: center;
  margin-top: 3px;
  color: #ffcf26;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
}

.site-shell { padding: 46px 0 76px; }

.store-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.store-grid > .stack,
.store-grid > .panel,
.store-grid > .store-product-full { grid-column: 2; grid-row: 1; }
.store-grid > .sidebar-stack { grid-column: 1; grid-row: 1; }
.stack, .sidebar-stack { display: grid; gap: 24px; }

.panel,
.module,
.store-form,
.store-product-full {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 11px;
  background: rgba(234, 246, 255, 0.93);
  box-shadow: var(--fatality-shadow);
}

.side-menu-panel { overflow: visible; border: 0; background: transparent; box-shadow: none; }

.panel-heading {
  min-height: 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--fatality-line);
  color: var(--fatality-blue-deep);
  font-family: "Baloo 2", sans-serif;
  font-size: 17px;
  font-weight: 900;
}

.side-menu-panel > .panel-heading {
  min-height: 112px;
  justify-content: center;
  margin-bottom: 22px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #2460b7, #0c438f);
  box-shadow: 0 18px 30px rgba(11, 62, 133, 0.23), inset 0 -5px 0 rgba(0, 31, 89, 0.15);
  font-size: 26px;
  text-align: center;
}

.store-menu-copy { display: grid; text-align: center; }
.store-menu-copy strong { line-height: 1.1; }
.store-menu-copy small { margin-top: 3px; color: #a8c9f6; font-family: "Nunito Sans", sans-serif; font-size: 13px; font-weight: 800; }

.panel-title-wrap { display: flex; align-items: center; gap: 8px; }
.title-rule { width: 4px; height: 20px; border-radius: 3px; background: var(--fatality-accent); }
.side-menu-panel > .panel-heading .title-rule { display: none; }

.side-menu {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 10px;
  background: rgba(234, 246, 255, 0.95);
  box-shadow: var(--fatality-shadow);
}

.side-menu ul { padding: 0; margin: 0; list-style: none; }
.side-menu li + li { border-top: 1px solid var(--fatality-line); }

.side-menu a {
  min-height: 67px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  color: var(--fatality-text);
  font-family: "Baloo 2", sans-serif;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
  transition: color 150ms ease, background 150ms ease;
}

.side-menu a:hover,
.side-menu a.active { color: #874900; background: rgba(255, 175, 21, 0.16); }
.side-icon, .side-menu-arrow { display: none; }

.account-strip {
  min-height: 122px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--fatality-line);
  background: rgba(226, 242, 253, 0.92);
}

.store-avatar,
.account-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  color: #fff;
  background: var(--fatality-panel-2);
}

.store-avatar {
  width: 64px;
  height: 64px;
  color: #fff;
  background: linear-gradient(145deg, #ffcd2c, var(--fatality-accent));
  box-shadow: inset 0 -4px 0 rgba(139, 68, 0, 0.15);
  font-family: "Baloo 2", sans-serif;
  font-size: 30px;
  font-weight: 1000;
  text-shadow: 0 2px 0 rgba(91, 43, 0, 0.32);
}

.store-avatar svg { width: 26px; height: 26px; }
.store-avatar img, .account-avatar img, .payment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-avatar svg { width: 25px; height: 25px; }
.account-meta { display: grid; min-width: 0; }

.account-meta strong {
  overflow: hidden;
  font-family: "Baloo 2", sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-meta span { color: var(--fatality-muted); font-size: 12px; font-weight: 700; }
.account-separator { width: 0; height: 36px; margin-left: auto; background: transparent; }
.account-action { display: flex; align-items: center; gap: 12px; }
.account-action .account-meta { text-align: right; }
.account-action .account-meta strong { font-size: 15px; }

.account-divider {
  width: 1px;
  height: 40px;
  background: var(--fatality-line);
}

.account-cart {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--fatality-muted);
  background: var(--fatality-panel-2);
}

.account-cart svg {
  width: 25px;
  height: 25px;
}

.account-cart-badge {
  position: absolute;
  top: -7px;
  right: -8px;
  min-width: 36px;
  padding: 2px 5px;
  border-radius: 7px;
  color: #fff;
  background: var(--fatality-success);
  font-size: 9px;
  font-weight: 1000;
  line-height: 1.2;
  text-align: center;
}

.home-store-body {
  padding: 26px 22px 34px;
}

.store-banner {
  width: 100%;
  aspect-ratio: 3.72 / 1;
  overflow: hidden;
  margin: 0;
  border-radius: 10px;
  background: var(--fatality-panel-2);
}

.store-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 42%;
}

.welcome-copy {
  padding: 24px 4px 0;
  color: var(--fatality-muted);
  text-align: center;
}

.welcome-copy h1,
.store-section-title h2 {
  margin: 0;
  color: var(--fatality-text);
  font-family: "Baloo 2", "Segoe UI", sans-serif;
  font-weight: 1000;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.welcome-copy h1 {
  font-size: clamp(25px, 3.4vw, 31px);
}

.heading-accent,
.store-section-title span {
  width: 62px;
  height: 4px;
  display: block;
  margin: 9px auto 0;
  border-radius: 2px;
  background: #1686d8;
}

.store-rules {
  display: grid;
  gap: 13px;
  margin: 28px auto 0;
  padding-left: 28px;
  color: var(--fatality-muted);
  font-size: 13px;
  line-height: 1.3;
  text-align: left;
}

.welcome-copy > p {
  margin: 17px auto 0;
  color: var(--fatality-muted);
  font-size: 13px;
  line-height: 1.45;
}

.welcome-copy a {
  color: #497cae;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-custom-copy {
  margin-top: 18px;
}

.featured-deals {
  padding-top: 30px;
}

.store-section-title {
  text-align: center;
}

.store-section-title h2 {
  font-size: 27px;
}

.featured-deals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-top: 30px;
}

.deal-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 8px 12px;
}

.deal-image {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.deal-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.deal-image.package-symbol svg {
  width: 40px;
  height: 40px;
}

.deal-copy {
  min-width: 0;
  display: grid;
  align-content: center;
}

.deal-copy h3,
.deal-name {
  overflow: hidden;
  display: block;
  margin: 0;
  color: var(--fatality-text);
  font-family: "Nunito Sans", sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.deal-copy .price {
  margin: 1px 0 7px;
  line-height: 1.15;
}

.deal-copy .button {
  min-height: 32px;
  width: 118px;
  padding-block: 7px;
}

.content-hero,
.section-block,
.category-header,
.category-content,
.page-header-block,
.panel-body { padding: 27px; }

.content-hero { text-align: center; }

.content-logo {
  width: min(540px, 90%);
  max-height: 230px;
  margin: 0 auto 10px;
  object-fit: contain;
  filter: drop-shadow(0 11px 10px rgba(64, 48, 17, 0.16));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #1675c6;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.content-hero h1,
.section-heading h2,
.category-header h1,
.page-title,
.product-title,
.form-heading h1,
.empty-state h2 {
  margin: 0;
  color: var(--fatality-text);
  font-family: "Baloo 2", "Segoe UI", sans-serif;
  font-weight: 1000;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.content-hero h1 { margin-top: 5px; font-size: clamp(25px, 4vw, 34px); }
.content-hero h1 em { color: var(--fatality-accent); font-style: normal; }
.content-hero > p, .section-heading p, .form-heading p, .empty-state p { color: var(--fatality-muted); }
.content-hero > p { max-width: 650px; margin: 12px auto 0; }
.rich-content { color: var(--fatality-muted); }
.rich-content h1, .rich-content h2, .rich-content h3, .rich-content h4 { color: var(--fatality-text); font-family: "Baloo 2", sans-serif; }
.rich-content a { color: #1570bd; text-decoration: underline; text-decoration-color: rgba(21, 112, 189, 0.28); text-underline-offset: 3px; }
.rich-content img, .rich-content iframe { max-width: 100%; border-radius: 8px; }

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid var(--fatality-line);
  text-align: left;
}

.trust-item { min-width: 0; display: flex; align-items: center; gap: 10px; }

.trust-icon,
.meta-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #8b5200;
  background: rgba(255, 171, 10, 0.2);
  overflow: hidden;
}

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

.trust-icon svg, .meta-icon svg { width: 21px; height: 21px; }
.trust-copy { display: grid; min-width: 0; }
.trust-copy strong { color: var(--fatality-text); font-size: 12px; }
.trust-copy span { color: var(--fatality-muted); font-size: 10px; }

.section-heading,
.category-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-heading { padding-bottom: 20px; border-bottom: 1px solid var(--fatality-line); }
.section-heading h2, .category-header h1, .page-title { font-size: 28px; }
.section-heading p, .form-heading p { margin: 4px 0 0; }
.text-link { color: #116bb6; font-weight: 900; }

.category-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }

.category-tab {
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid var(--fatality-line);
  border-radius: 8px;
  color: var(--fatality-blue-deep);
  background: var(--fatality-panel-strong);
  font-weight: 900;
  cursor: pointer;
}

.category-tab:hover,
.category-tab.is-active { color: #6f3b00; border-color: #ffad17; background: var(--fatality-accent); }

.package-grid,
.store-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.section-block .package-grid { margin-top: 22px; }

.package-card,
.store-product-card,
.store-product-tiered {
  min-width: 0;
  overflow: hidden;
  border: 2px solid #c4ddeb;
  border-radius: 8px;
  background: rgba(229, 244, 253, 0.88);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.package-card:hover,
.store-product-card:hover,
.store-product-tiered:hover { border-color: #ffb221; box-shadow: 0 13px 24px rgba(35, 79, 113, 0.12); transform: translateY(-3px); }

.package-media,
.image-wrap,
.store-product-card .image-wrap,
.store-product-tiered .image-wrap {
  position: relative;
  min-height: 155px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 14px;
  background: radial-gradient(circle at 50% 44%, rgba(255, 193, 26, 0.2), transparent 56%), rgba(226, 241, 251, 0.94);
}

.package-media img, .image-wrap img { width: 100%; height: 150px; object-fit: contain; }

.package-symbol {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #966000;
  background: linear-gradient(145deg, #ffdd4f, var(--fatality-accent));
  box-shadow: inset 0 -6px 0 rgba(116, 55, 0, 0.12), 0 12px 22px rgba(184, 108, 0, 0.19);
}

.package-symbol svg { width: 39px; height: 39px; }

.package-badge,
.countdown {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  border-radius: 6px;
  color: #fff;
  background: var(--fatality-success);
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.package-copy { padding: 15px; text-align: center; }

.package-copy h3 {
  min-height: 40px;
  margin: 0;
  color: var(--fatality-text);
  font-family: "Baloo 2", sans-serif;
  font-size: 17px;
  font-weight: 1000;
  line-height: 1.15;
}

.package-copy p, .package-summary { color: var(--fatality-muted); font-size: 11px; }
.package-copy p { margin: 5px 0 12px; }
.package-footer { display: grid; gap: 10px; align-items: center; }

.price { color: #0c60b2; font-family: "Baloo 2", sans-serif; font-size: 14px; font-weight: 1000; }
.price del { margin-right: 6px; color: var(--fatality-muted); font-size: 11px; }
.price small { font-size: 9px; letter-spacing: 0.03em; }

.button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border: 0;
  border-radius: 7px;
  font-family: "Baloo 2", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 1000;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: filter 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.button:hover { filter: brightness(1.04); transform: translateY(-1px); }
.button-primary { color: #744000; background: linear-gradient(180deg, #ffb414, var(--fatality-accent)); box-shadow: inset 0 -3px 0 rgba(139, 63, 0, 0.14); }
.button-secondary { color: #fff; background: linear-gradient(180deg, #4387e7, #286bd0); box-shadow: inset 0 -3px 0 rgba(0, 51, 126, 0.15); }
.button-danger { color: #fff; background: var(--fatality-danger); }
.button.disabled, .button:disabled { opacity: 0.52; cursor: not-allowed; }
.wide { width: 100%; }
.module .panel-body { padding: 18px; }
.goal-copy, .summary-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.goal-copy { margin-bottom: 10px; color: var(--fatality-muted); font-size: 11px; }
.goal-copy strong { color: var(--fatality-text); }
.progress { height: 11px; overflow: hidden; border-radius: 5px; background: #c9deeb; }
.progress-bar { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff9400, #ffd029); }
.payments { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.payment-item { min-width: 0; display: flex; align-items: center; gap: 10px; }
.payment-avatar { width: 40px; height: 40px; flex: 0 0 auto; overflow: hidden; border-radius: 7px; background: var(--fatality-panel-2); }
.payment-copy { min-width: 0; display: grid; flex: 1; }
.payment-copy strong, .payment-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.payment-copy strong { color: var(--fatality-text); font-size: 12px; }
.payment-copy span { color: var(--fatality-muted); font-size: 10px; }

.support-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #2171d0, #0f4f9f);
  box-shadow: var(--fatality-shadow);
}

.support-card .side-icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; background: rgba(255, 255, 255, 0.12); }
.support-card .side-icon svg { width: 24px; height: 24px; }
.support-card > span:last-child { display: grid; }
.support-card strong { font-family: "Baloo 2", sans-serif; font-size: 16px; }
.support-card span span { color: #c7ddfa; font-size: 10px; }

.notification {
  margin-bottom: 20px;
  padding: 14px 17px;
  border: 1px solid #9fc5de;
  border-radius: 8px;
  color: var(--fatality-blue-deep);
  background: rgba(239, 250, 255, 0.93);
  box-shadow: var(--fatality-shadow-soft);
}

.category-header,
.page-header-block { border-bottom: 1px solid var(--fatality-line); background: rgba(226, 242, 253, 0.78); }
.category-header h1, .page-header-block h1 { margin-top: 4px; }
.category-description { margin-top: 8px; }
.category-content .store-products { margin: 0; }
.store-product-card .package-copy, .store-product-tiered .package-copy { display: grid; align-content: start; }
.store-product-card .package-footer { align-self: end; }
.store-product-tiered.subscribed { border-color: var(--fatality-success); }

.featured-package { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 13px; align-items: center; }
.featured-package .image { width: 88px; height: 88px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; background: var(--fatality-panel-2); }
.featured-package .image img { width: 100%; height: 100%; object-fit: contain; }
.featured-package .info, .featured-package .name { min-width: 0; }
.featured-package .name { overflow: hidden; color: var(--fatality-text); font-family: "Baloo 2", sans-serif; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.featured-package .price { margin: 2px 0 7px; }

.store-form { width: min(620px, 100%); margin-inline: auto; }
.form-heading { padding: 28px; border-bottom: 1px solid var(--fatality-line); text-align: center; }
.form-heading h1 { margin-top: 4px; font-size: 30px; }
.form-stack { display: grid; gap: 16px; padding: 28px; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: var(--fatality-text); font-size: 12px; font-weight: 900; }

.form-control,
.form-field input,
.form-field select,
.quantity-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--fatality-line);
  border-radius: 7px;
  outline: none;
  color: var(--fatality-text);
  background: #fff;
}

.form-control:focus,
.form-field input:focus,
.form-field select:focus,
.quantity-input:focus { border-color: #3791d4; box-shadow: 0 0 0 3px rgba(55, 145, 212, 0.14); }
.field-help { margin: 0; color: var(--fatality-muted); font-size: 10px; }
.store-product-full { min-width: 0; }
.product-layout { display: grid; grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr); gap: 0; }

.product-main-image,
.product-media {
  min-height: 390px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 26px;
  background: rgba(220, 239, 251, 0.9);
}

.product-main-image img, .product-media img { width: 100%; max-height: 440px; object-fit: contain; }
.product-media iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; }
.product-details { padding: 30px; }
.product-title { margin-top: 5px; font-size: 33px; }
.product-details > .price { margin-top: 11px; font-size: 23px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0; }
.package-description { padding-top: 18px; border-top: 1px solid var(--fatality-line); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; align-items: start; }
.basket-list { display: grid; gap: 10px; }

.basket-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--fatality-line);
  border-radius: 8px;
  background: rgba(245, 251, 255, 0.84);
}

.basket-item-image { width: 64px; height: 64px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; background: var(--fatality-panel-2); }
.basket-item-image img { width: 100%; height: 100%; object-fit: contain; }
.basket-item-copy { min-width: 0; display: grid; }
.basket-item-copy strong { overflow: hidden; color: var(--fatality-text); font-family: "Baloo 2", sans-serif; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.basket-item-copy span { color: var(--fatality-muted); font-size: 11px; }
.basket-item-actions { display: flex; align-items: center; gap: 7px; }
.quantity-input { width: 60px; text-align: center; }

.order-summary {
  position: sticky;
  top: 18px;
  padding: 20px;
  border: 1px solid var(--fatality-line);
  border-radius: 9px;
  background: rgba(245, 251, 255, 0.95);
}

.summary-row { padding: 10px 0; border-bottom: 1px solid var(--fatality-line); color: var(--fatality-muted); }
.summary-row.total { margin-bottom: 14px; color: var(--fatality-text); font-family: "Baloo 2", sans-serif; font-size: 18px; font-weight: 900; }
.coupon-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 16px; }
.empty-state { min-height: 300px; display: grid; place-items: center; align-content: center; padding: 35px; text-align: center; }
.empty-state .meta-icon { width: 58px; height: 58px; margin-bottom: 10px; }
.empty-state p { max-width: 430px; margin: 8px 0 17px; }

.site-footer { border-top: 1px solid rgba(122, 164, 194, 0.35); background: rgba(222, 239, 249, 0.76); }
.footer-inner { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; }
.footer-brand p { max-width: 500px; margin: 7px 0 0; color: var(--fatality-muted); font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { color: var(--fatality-blue-deep); font-size: 12px; font-weight: 900; }

.toast {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100vw - 40px));
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid var(--fatality-line);
  border-radius: 9px;
  color: var(--fatality-text);
  background: rgba(245, 251, 255, 0.97);
  box-shadow: var(--fatality-shadow);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast-mark { width: 30px; height: 30px; border-width: 2px; border-radius: 7px; font-size: 18px; }

.vote-page-shell {
  padding-top: 42px;
}

.vote-panel {
  min-height: 405px;
  padding: 58px 60px;
}

.vote-heading h1 {
  margin: 0;
  color: var(--fatality-text);
  font-family: "Baloo 2", "Segoe UI", sans-serif;
  font-size: clamp(34px, 4vw, 43px);
  font-weight: 1000;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.vote-heading p {
  max-width: 980px;
  margin: 22px 0 0;
  color: var(--fatality-muted);
  font-size: 16px;
  line-height: 1.55;
}

.vote-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.vote-link {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-radius: 8px;
  color: #6f3b00;
  background: linear-gradient(180deg, #ffb414, var(--fatality-accent));
  box-shadow: inset 0 -3px 0 rgba(139, 63, 0, 0.14), 0 10px 20px rgba(189, 111, 0, 0.12);
  font-family: "Nunito Sans", sans-serif;
  font-size: 14px;
  font-weight: 1000;
  line-height: 1.25;
  overflow-wrap: anywhere;
  transition: filter 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.vote-link:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow: inset 0 -3px 0 rgba(139, 63, 0, 0.14), 0 14px 24px rgba(189, 111, 0, 0.18);
}

.vote-link.is-disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.rules-page-shell { padding-top: 42px; }

.rules-loading {
  min-height: 260px;
  display: grid;
  place-content: center;
  padding: 40px;
  text-align: center;
}

.rules-loading h1 {
  margin: 7px 0 0;
  font-family: "Baloo 2", "Segoe UI", sans-serif;
  font-size: 34px;
  line-height: 1.1;
}

.rules-reader {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.rules-toc {
  position: sticky;
  top: 24px;
  padding: 18px 14px 16px;
  border-color: rgba(22, 79, 162, 0.2);
}

.rules-toc-title {
  margin: 0 10px 12px;
  color: var(--fatality-blue);
  font-family: "Baloo 2", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rules-toc nav { display: grid; gap: 4px; }

.rules-toc a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 11px 8px 18px;
  border-radius: 8px;
  color: var(--fatality-muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  transition: color 150ms ease, background 150ms ease, transform 150ms ease;
}

.rules-toc a::before {
  position: absolute;
  left: 8px;
  width: 3px;
  height: 15px;
  border-radius: 4px;
  background: var(--fatality-line);
  content: "";
}

.rules-toc a:hover { color: var(--fatality-blue-deep); transform: translateX(2px); }

.rules-toc a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--fatality-blue), var(--fatality-blue-deep));
  box-shadow: 0 8px 18px rgba(7, 56, 102, 0.18);
}

.rules-toc a.active::before { background: var(--fatality-accent-bright); }
.rules-document { min-width: 0; display: grid; gap: 24px; }

.rules-document-hero {
  scroll-margin-top: 24px;
  padding: 38px;
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 193, 26, 0.2), transparent 15rem),
    rgba(234, 246, 255, 0.95);
}

.rules-document-hero h1 {
  max-width: 720px;
  margin: 5px 0 10px;
  color: var(--fatality-text);
  font-family: "Baloo 2", "Segoe UI", sans-serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 1000;
  letter-spacing: -0.035em;
  line-height: 1;
}

.rules-document-hero > p {
  max-width: 720px;
  margin: 0;
  color: var(--fatality-muted);
  font-size: 15px;
}

.rules-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.rules-facts div {
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid var(--fatality-line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.45);
  text-align: center;
}

.rules-facts strong,
.rules-facts span { display: block; }
.rules-facts strong { color: var(--fatality-blue-deep); font-size: 14px; font-weight: 1000; }
.rules-facts span { margin-top: 2px; color: var(--fatality-muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }

.rules-server-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 11px 15px;
  border: 0;
  border-radius: 8px;
  color: #683900;
  background: linear-gradient(180deg, var(--fatality-accent-bright), var(--fatality-accent));
  box-shadow: inset 0 -3px 0 rgba(139, 63, 0, 0.15), 0 9px 20px rgba(189, 111, 0, 0.17);
  cursor: pointer;
  font-weight: 900;
}

.rules-server-link span,
.rules-server-link small { font-size: 11px; }
.rules-server-link small { opacity: 0.72; }

.rule-section {
  scroll-margin-top: 24px;
  border-color: rgba(22, 79, 162, 0.18);
}

.rule-section-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--fatality-line);
  background: rgba(220, 238, 250, 0.64);
}

.rule-section-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #6b3a00;
  background: linear-gradient(145deg, #ffd052, var(--fatality-accent));
  box-shadow: inset 0 -3px 0 rgba(139, 63, 0, 0.14);
}

.rule-section-icon svg { width: 23px; height: 23px; stroke-width: 1.9; }
.rule-section-heading .eyebrow { font-size: 9px; }

.rule-section-heading h2 {
  margin: 1px 0 0;
  color: var(--fatality-text);
  font-family: "Baloo 2", "Segoe UI", sans-serif;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 1000;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.rule-count {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--fatality-blue);
  background: rgba(22, 79, 162, 0.09);
  font-size: 10px;
  font-weight: 1000;
  text-transform: uppercase;
}

.rule-section-body {
  display: grid;
  gap: 14px;
  padding: 25px 28px 28px;
}

.rule-section-body > p { margin: 0; color: var(--fatality-muted); }

.rule-entry {
  padding: 18px 19px;
  border: 1px solid var(--fatality-line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.36);
}

.rule-entry-heading { display: flex; align-items: flex-start; gap: 11px; }

.rule-number {
  flex: 0 0 auto;
  min-width: 45px;
  padding: 5px 8px;
  border-radius: 7px;
  color: #6b3a00;
  background: linear-gradient(180deg, #ffd052, var(--fatality-accent));
  box-shadow: inset 0 -2px 0 rgba(139, 63, 0, 0.12);
  font-size: 11px;
  font-weight: 1000;
  text-align: center;
}

.rule-entry h3,
.rule-callout h3 {
  margin: 1px 0 0;
  color: var(--fatality-text);
  font-family: "Baloo 2", "Segoe UI", sans-serif;
  font-size: 19px;
  font-weight: 1000;
  line-height: 1.15;
}

.rule-entry-body { display: grid; gap: 7px; margin: 11px 0 0 56px; }
.rule-entry-body p { margin: 0; color: var(--fatality-muted); line-height: 1.55; }

.rule-outcome {
  padding: 9px 11px;
  border-left: 3px solid var(--fatality-accent);
  border-radius: 0 7px 7px 0;
  color: var(--fatality-text) !important;
  background: rgba(255, 193, 26, 0.15);
  font-weight: 900;
}

.rule-list-item { position: relative; padding-left: 16px; }
.rule-list-item::before { position: absolute; left: 2px; color: var(--fatality-accent); content: "•"; }

.rule-callout {
  padding: 18px 20px;
  border: 1px solid var(--fatality-line);
  border-left: 4px solid var(--fatality-blue);
  border-radius: 9px;
  background: rgba(22, 79, 162, 0.055);
}

.rule-callout-warning { border-left-color: var(--fatality-accent); background: rgba(255, 193, 26, 0.1); }
.rule-callout h3 { margin-bottom: 8px; }
.rule-callout p { margin: 7px 0 0; color: var(--fatality-muted); }

.strike-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.strike-tier {
  display: grid;
  align-content: center;
  min-height: 90px;
  padding: 14px;
  border: 1px solid var(--fatality-line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.38);
  text-align: center;
}

.strike-tier strong { color: var(--fatality-blue-deep); font-size: 14px; }
.strike-tier span { margin-top: 3px; color: var(--fatality-muted); font-size: 12px; font-weight: 900; }

.rule-detail-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rule-detail-list li {
  position: relative;
  padding: 12px 14px 12px 35px;
  border: 1px solid var(--fatality-line);
  border-radius: 8px;
  color: var(--fatality-muted);
  background: rgba(255, 255, 255, 0.32);
}

.rule-detail-list li::before {
  position: absolute;
  top: 10px;
  left: 12px;
  color: var(--fatality-danger);
  content: "×";
  font-size: 18px;
  font-weight: 1000;
}

.discord-panel {
  min-height: 360px;
  text-align: center;
}

.discord-heading p {
  margin-inline: auto;
}

.discord-links {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

.discord-link {
  min-height: 106px;
  justify-content: center;
  gap: 16px;
  color: #fff;
  background: linear-gradient(180deg, #6f7df0, #5865f2);
  box-shadow: inset 0 -3px 0 rgba(30, 38, 143, 0.22), 0 12px 24px rgba(88, 101, 242, 0.24);
  text-align: left;
}

.discord-link:hover {
  box-shadow: inset 0 -3px 0 rgba(30, 38, 143, 0.22), 0 16px 28px rgba(88, 101, 242, 0.32);
}

.discord-link > svg {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  fill: currentColor;
}

.discord-link > span {
  display: grid;
  gap: 2px;
}

.discord-link strong {
  font-family: "Baloo 2", "Segoe UI", sans-serif;
  font-size: 22px;
  line-height: 1.1;
}

.discord-link small {
  font-size: 12px;
  font-weight: 800;
  opacity: 0.82;
}

[data-theme="dark"] {
  color-scheme: dark;
  --fatality-bg: #092b49;
  --fatality-bg-soft: #0f3b60;
  --fatality-panel: #123f63;
  --fatality-panel-strong: #194b72;
  --fatality-panel-2: #0f3657;
  --fatality-line: #2b5b7d;
  --fatality-text: #f1f9ff;
  --fatality-muted: #a9c6dc;
  --fatality-shadow: 0 18px 42px rgba(0, 14, 29, 0.28);
  --fatality-shadow-soft: 0 10px 24px rgba(0, 14, 29, 0.22);
  --tebex-legal-footer-background-color: #123f63;
  --tebex-legal-footer-text-color: #a9c6dc;
  --tebex-legal-footer-border-color: #2b5b7d;
  --tebex-legal-footer-logo-color: #f1f9ff;
}

[data-theme="dark"] body { background: radial-gradient(circle at 50% 21rem, rgba(50, 116, 165, 0.42), transparent 29rem), linear-gradient(180deg, #082943, #0c3556); }

[data-theme="dark"] .panel,
[data-theme="dark"] .module,
[data-theme="dark"] .store-form,
[data-theme="dark"] .store-product-full,
[data-theme="dark"] .side-menu,
[data-theme="dark"] .account-strip,
[data-theme="dark"] .category-header,
[data-theme="dark"] .page-header-block { border-color: var(--fatality-line); background: rgba(18, 63, 99, 0.94); }

[data-theme="dark"] .main-nav a,
[data-theme="dark"] .icon-button { border-color: rgba(255, 255, 255, 0.08); color: #dcebfa; background: rgba(18, 63, 99, 0.92); }

[data-theme="dark"] .main-nav a.active,
[data-theme="dark"] .main-nav a[aria-current="page"] { color: #673800; background: var(--fatality-accent); }

[data-theme="dark"] .package-card,
[data-theme="dark"] .store-product-card,
[data-theme="dark"] .store-product-tiered,
[data-theme="dark"] .package-media,
[data-theme="dark"] .image-wrap,
[data-theme="dark"] .order-summary,
[data-theme="dark"] .basket-item,
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-field input,
[data-theme="dark"] .form-field select,
[data-theme="dark"] .quantity-input { color: var(--fatality-text); border-color: var(--fatality-line); background: rgba(13, 52, 84, 0.88); }

[data-theme="dark"] .site-footer { background: rgba(6, 34, 57, 0.78); }

[data-theme="dark"] .rules-document-hero {
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 193, 26, 0.12), transparent 15rem),
    rgba(18, 63, 99, 0.94);
}

[data-theme="dark"] .rule-section-heading,
[data-theme="dark"] .rules-facts div,
[data-theme="dark"] .rule-entry,
[data-theme="dark"] .strike-tier,
[data-theme="dark"] .rule-detail-list li { background: rgba(13, 52, 84, 0.72); }

[data-theme="dark"] .rule-callout { background: rgba(22, 79, 162, 0.13); }
[data-theme="dark"] .rule-callout-warning,
[data-theme="dark"] .rule-outcome { background: rgba(255, 193, 26, 0.1); }

@media (max-width: 1110px) {
  .main-nav ul { gap: 12px; }
  .main-nav a { min-width: 90px; padding-inline: 18px; }
  .store-grid { grid-template-columns: 280px minmax(0, 1fr); }
  .vote-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .site-header .brand-mini { display: inline-flex; }
  .menu-button { display: grid; }
  .site-header .basket-link { display: none; }

  .main-nav {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    width: min(340px, 88vw);
    height: 100dvh;
    padding: 90px 24px 24px;
    background: var(--fatality-bg-soft);
    box-shadow: -24px 0 60px rgba(4, 31, 54, 0.3);
    transform: translateX(104%);
    transition: transform 190ms ease;
  }

  .nav-open .main-nav { transform: translateX(0); }
  .main-nav ul { align-items: stretch; flex-direction: column; }
  .main-nav a { width: 100%; }
  .store-grid, .checkout-layout { grid-template-columns: minmax(0, 1fr); }

  .store-grid > .stack,
  .store-grid > .panel,
  .store-grid > .store-product-full,
  .store-grid > .sidebar-stack { grid-column: 1; grid-row: auto; }

  .store-grid > .stack,
  .store-grid > .panel,
  .store-grid > .store-product-full { order: 1; }

  .store-grid > .sidebar-stack { order: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-menu-panel, .sidebar-stack > .support-card { grid-column: 1 / -1; }
  .order-summary { position: static; }

  .rules-reader { grid-template-columns: minmax(0, 1fr); }
  .rules-toc { position: static; padding: 14px; }
  .rules-toc-title { margin-bottom: 9px; }
  .rules-toc nav { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
  .rules-toc a { flex: 0 0 auto; min-height: 36px; padding-right: 14px; }
}

@media (max-width: 680px) {
  .header-inner, .hero-inner, .site-shell, .footer-inner { width: min(100% - 24px, 600px); }
  .site-header .brand-mini span:last-child, .site-header .basket-total { display: none; }
  .brand-hero { min-height: 225px; }
  .hero-logo-image { max-height: 235px; }
  .server-pill { bottom: -2px; }
  .site-shell { padding-top: 35px; }
  .account-strip { flex-wrap: wrap; padding: 18px; }
  .account-separator { display: none; }
  .account-action { width: auto; justify-content: flex-start; margin-left: auto; padding-top: 0; border-top: 0; }
  .account-action .account-meta { order: 2; text-align: left; }
  .account-divider { margin-left: auto; }

  .content-hero,
  .section-block,
  .category-header,
  .category-content,
  .page-header-block,
  .panel-body,
  .product-details,
  .form-heading,
  .form-stack { padding: 20px; }

  .trust-row,
  .package-grid,
  .store-products,
  .sidebar-stack { grid-template-columns: minmax(0, 1fr) !important; }

  .side-menu-panel, .sidebar-stack > * { grid-column: 1 !important; }
  .section-heading, .category-header, .footer-inner { align-items: flex-start; flex-direction: column; }

  .package-media,
  .image-wrap,
  .store-product-card .image-wrap,
  .store-product-tiered .image-wrap { min-height: 185px; }

  .product-layout { grid-template-columns: minmax(0, 1fr); }
  .product-main-image, .product-media { min-height: 280px; }
  .footer-links { justify-content: flex-start; }
  .basket-item { grid-template-columns: 54px minmax(0, 1fr); }
  .basket-item-image { width: 54px; height: 54px; }
  .basket-item-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .coupon-form { grid-template-columns: minmax(0, 1fr); }
  .featured-deals-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .vote-panel { min-height: 0; padding: 30px 22px; }
  .vote-heading p { font-size: 14px; }
  .vote-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .rules-page-shell { padding-top: 30px; }
  .rules-document-hero { padding: 28px 22px; }
  .rules-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules-facts div:last-child { grid-column: 1 / -1; }
  .rule-section-heading { align-items: flex-start; padding: 20px; }
  .rule-section-icon { width: 39px; height: 39px; }
  .rule-count { margin-top: 5px; }
  .rule-section-body { padding: 20px; }
  .rule-entry { padding: 15px; }
  .rule-entry-body { margin-left: 0; }
  .strike-tiers { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
  .account-strip { gap: 10px; }
  .store-avatar { width: 54px; height: 54px; }
  .account-strip > .account-meta { flex: 1; }
  .account-action .account-meta,
  .account-divider { display: none; }
  .account-action { margin-left: 0; }
  .home-store-body { padding: 15px 13px 25px; }
  .store-banner { aspect-ratio: 2.45 / 1; }
  .store-rules { padding-left: 21px; font-size: 12px; }
  .deal-card { grid-template-columns: 75px minmax(0, 1fr); padding-inline: 4px; }
  .deal-image { width: 68px; height: 68px; }
  .vote-links { grid-template-columns: minmax(0, 1fr); }
  .rule-section-heading { flex-wrap: wrap; }
  .rule-section-heading > div { min-width: calc(100% - 58px); }
  .rule-count { margin-left: 54px; }
  .rules-server-link { width: 100%; justify-content: center; }
}

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