@font-face {
  font-family: "Cinzel Decorative";
  src: url("/assets/fonts/cinzel-decorative-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #0b0908;
  --accent: #ff3b1f;
  --accent-soft: rgba(255, 80, 50, 0.5);
  --accent-glow: rgba(255, 80, 50, 1);
  --text: #f2e9e4;
  --muted: #b9a79c;

  --card-bg: rgba(0, 0, 0, 0.4);
  --card-border: rgba(255, 80, 50, 0.16);

  --content-narrow: 760px;
  --content-standard: 1080px;
  --content-wide: 1320px;
  --content-full: 100%;
  --content-max: var(--content-standard);
  --pad-x: clamp(1.1rem, 3.2vw, 2rem);
  --pad-y: clamp(3.3rem, 7vw, 4.8rem);
  --main-footer-gap: 1.35rem;
  --nav-fixed-height: 58px;

  --space-micro: 0.35rem;
  --space-tight: 0.75rem;
  --space-standard: 1rem;
  --space-section: 1.35rem;
  --space-large: 2rem;

  --surface-panel-bg: rgba(8, 7, 6, 0.52);
  --surface-card-bg: rgba(255, 80, 50, 0.07);
  --surface-panel-border: rgba(255, 80, 50, 0.18);
  --surface-panel-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.25) inset,
    0 12px 26px rgba(0, 0, 0, 0.35);
  --surface-panel-radius: 22px;
  --surface-card-radius: 14px;
  --surface-panel-blur: blur(3px);

  --display-font: "Cinzel Decorative", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ui-font: "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 30px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui-font);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  padding-top: var(--nav-fixed-height);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("images/scales.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(255, 70, 45, 0.18), transparent 70%),
    radial-gradient(720px 420px at 30% 12%, rgba(255, 80, 50, 0.12), transparent 65%),
    radial-gradient(720px 420px at 70% 12%, rgba(160, 35, 25, 0.14), transparent 65%),
    radial-gradient(900px 600px at 50% 110%, rgba(255, 60, 40, 0.08), transparent 60%);
  animation:
    bgBreath 9.5s ease-in-out infinite,
    glowFlicker 2.8s linear infinite;
  mix-blend-mode: screen;
  will-change: opacity, transform, filter;
}

@keyframes bgBreath {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

@keyframes glowFlicker {
  0%   { filter: brightness(1.00) saturate(1.00); }
  7%   { filter: brightness(1.08) saturate(1.05); }
  13%  { filter: brightness(0.92) saturate(0.98); }
  19%  { filter: brightness(1.14) saturate(1.08); }
  27%  { filter: brightness(0.96) saturate(1.00); }
  34%  { filter: brightness(1.18) saturate(1.10); }
  41%  { filter: brightness(0.90) saturate(0.98); }
  48%  { filter: brightness(1.22) saturate(1.12); }
  57%  { filter: brightness(0.97) saturate(1.02); }
  63%  { filter: brightness(1.16) saturate(1.08); }
  71%  { filter: brightness(0.89) saturate(0.97); }
  79%  { filter: brightness(1.24) saturate(1.12); }
  86%  { filter: brightness(0.95) saturate(1.00); }
  92%  { filter: brightness(1.17) saturate(1.08); }
  100% { filter: brightness(1.00) saturate(1.00); }
}

.heat {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.18;
  background:
    radial-gradient(900px 520px at 50% 25%, rgba(255, 110, 70, 0.14), transparent 70%),
    radial-gradient(700px 420px at 55% 70%, rgba(255, 60, 40, 0.10), transparent 70%);
  filter: blur(1px);
  animation: heatWobble 6.5s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes heatWobble {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-10px, 8px, 0); }
}

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

.ember {
  position: absolute;
  left: var(--x);
  bottom: -12vh;
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  opacity: 0;

  background: radial-gradient(circle at 30% 30%,
    rgba(255, 255, 255, 0.95),
    rgba(255, 120, 75, 0.75) 35%,
    rgba(255, 60, 40, 0.0) 70%);

  animation:
    emberFloat var(--t) linear infinite,
    emberFlicker 2.3s ease-in-out infinite;
  animation-delay: var(--d);

  filter: blur(0.2px);
  mix-blend-mode: screen;
}

.ember-pos-1 { --x: 8vw; --s: 7px; --t: 16s; --d: -2s; --dx: -16px; --o: 0.42; }
.ember-pos-2 { --x: 18vw; --s: 5px; --t: 20s; --d: -9s; --dx: 12px; --o: 0.28; }
.ember-pos-3 { --x: 30vw; --s: 9px; --t: 24s; --d: -12s; --dx: -22px; --o: 0.36; }
.ember-pos-4 { --x: 42vw; --s: 6px; --t: 15s; --d: -5s; --dx: 18px; --o: 0.26; }
.ember-pos-5 { --x: 55vw; --s: 8px; --t: 22s; --d: -10s; --dx: -18px; --o: 0.34; }
.ember-pos-6 { --x: 67vw; --s: 5px; --t: 17s; --d: -7s; --dx: 14px; --o: 0.24; }
.ember-pos-7 { --x: 78vw; --s: 9px; --t: 26s; --d: -14s; --dx: -26px; --o: 0.40; }
.ember-pos-8 { --x: 90vw; --s: 6px; --t: 19s; --d: -11s; --dx: 16px; --o: 0.30; }

@keyframes emberFloat {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) scale(0.9); }
  12%  { opacity: var(--o); }
  100% { opacity: 0; transform: translate3d(var(--dx), -120vh, 0) scale(1.12); }
}

@keyframes emberFlicker {
  0%, 100% { filter: blur(0.2px) brightness(1); }
  50% { filter: blur(0.7px) brightness(1.15); }
}

header, main, footer { position: relative; z-index: 4; }
header { z-index: 70; }

header {
  padding: 0 var(--pad-x) 1.5rem;
  text-align: center;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  transform: none;
  margin: 0 0 1rem;
  border: 0;
  border-radius: 0;
  background: rgba(6, 5, 4, 0.84);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(3px);
  overflow: visible;
  z-index: 160;
}

.site-nav-toggle,
.site-nav-backdrop,
.site-nav-mobile-cart,
.site-nav-mobile-brand {
  display: none;
}

.site-nav > .site-nav-mobile-cart {
  display: none;
}

.site-nav > .site-nav-mobile-brand {
  display: none;
}

.site-nav-toggle {
  border: 0;
  background: rgba(8, 7, 6, 0.82);
  color: #fff6f2;
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  min-height: 44px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

body.nav-open {
  overflow: hidden;
}

.site-nav-list,
.site-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.site-nav-item-home {
  order: 1;
}

.site-nav-item-pod {
  order: 2;
}

.site-nav-item-booster-guide {
  order: 3;
}

.site-nav-item-proxies {
  order: 4;
  margin-left: 0.45rem;
}

.site-nav-item-cart {
  order: 5;
}

.site-nav-list > li {
  position: relative;
}

.site-nav a,
.site-nav-label,
.site-nav-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.6rem 0.9rem;
  border: none;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  white-space: nowrap;
}

.site-nav-parent-link {
  gap: 0.45rem;
}

.site-nav-item-proxies > .site-nav-parent-link {
  min-height: 44px;
  padding: 0.6rem 1rem;
  color: #ffcaad;
  font-weight: 780;
  letter-spacing: 0.11em;
  text-shadow:
    0 0 0.2rem rgba(255, 126, 79, 0.22),
    0 0 0.55rem rgba(255, 80, 50, 0.12);
  box-shadow: none;
  animation: siteNavPrimaryPulse 1.5s ease-in-out infinite;
}

.site-nav-item-proxies > .site-nav-parent-link:hover,
.site-nav-item-proxies > .site-nav-parent-link:focus-visible,
.site-nav-item-proxies:hover > .site-nav-parent-link,
.site-nav-item-proxies:focus-within > .site-nav-parent-link {
  color: #fffaf6;
  box-shadow: none;
  text-shadow:
    0 0 0.3rem rgba(255, 126, 79, 0.46),
    0 0 0.82rem rgba(255, 80, 50, 0.3);
}

.site-nav-item-proxies > .site-nav-parent-link[aria-current="page"] {
  color: #fff4ed;
  box-shadow: none;
  text-shadow:
    0 0 0.32rem rgba(255, 130, 84, 0.46),
    0 0 0.9rem rgba(255, 80, 50, 0.24);
}

@keyframes siteNavPrimaryPulse {
  0%, 100% {
    color: #ffcaad;
    text-shadow:
      0 0 0.18rem rgba(255, 126, 79, 0.18),
      0 0 0.48rem rgba(255, 80, 50, 0.1);
  }
  50% {
    color: #fff4ed;
    text-shadow:
      0 0 0.34rem rgba(255, 141, 96, 0.58),
      0 0 0.92rem rgba(255, 91, 54, 0.42),
      0 0 1.4rem rgba(255, 80, 50, 0.2);
  }
}

.site-nav-parent-link::after {
  content: "";
  display: inline-block;
  width: 0.46rem;
  height: 0.46rem;
  margin-top: -0.28rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.78;
  transition: opacity 0.18s ease, filter 0.18s ease;
}

.site-nav-parent-link:hover::after,
.site-nav-parent-link:focus-visible::after,
.has-submenu:hover .site-nav-parent-link::after,
.has-submenu:focus-within .site-nav-parent-link::after {
  opacity: 1;
  filter:
    drop-shadow(0 0 0.22rem rgba(255, 126, 79, 0.7))
    drop-shadow(0 0 0.68rem rgba(255, 80, 50, 0.72));
}

.site-nav-home-icon {
  padding: 0.35rem 0.7rem;
}

.site-home-icon-mark {
  display: none;
  width: 24px;
  height: 24px;
}

.site-home-icon-logo {
  display: block;
  height: 24px;
  width: auto;
}

.site-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.32rem;
  margin-left: 0.42rem;
  border-radius: 999px;
  background: rgba(255, 80, 50, 0.92);
  color: #fff;
  font-size: 0.69rem;
  font-weight: 750;
  line-height: 1;
}

.site-nav-cart-link,
.site-nav-mobile-cart {
  gap: 0.35rem;
}

.site-nav-cart-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 18px;
}

.site-nav-menu-icon {
  width: 28px;
  height: 28px;
  display: block;
  flex: 0 0 28px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 80, 50, 0.12);
  color: #fff;
  outline: none;
}

.site-nav [aria-current="page"] {
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(255, 80, 50, 0.78);
}

.site-nav-label {
  cursor: default;
}

.site-nav-placeholder {
  color: var(--muted);
}

.site-submenu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  min-width: 260px;
  display: none;
  padding: 0.3rem;
  border-radius: 0 0 12px 12px;
  border: 1px solid rgba(255, 80, 50, 0.24);
  border-top: none;
  background: rgba(5, 4, 4, 0.95);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45);
  z-index: 80;
}

.has-submenu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.site-submenu li + li {
  margin-top: 0.24rem;
}

.site-submenu a,
.site-submenu .site-nav-placeholder {
  width: 100%;
  justify-content: flex-start;
  text-transform: none;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  border-radius: 8px;
  padding: 0.48rem 0.62rem;
}

.has-submenu:hover .site-submenu,
.has-submenu:focus-within .site-submenu {
  display: block;
}

.wrap {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.layout-narrow,
.layout-standard,
.layout-wide {
  width: min(100%, var(--content-wide));
  margin-inline: auto;
}

.layout-narrow {
  max-width: var(--content-narrow);
}

.layout-standard {
  max-width: var(--content-standard);
}

.layout-wide {
  max-width: var(--content-wide);
}

.panel,
.product-shell,
.cart-shell,
.order-form-section,
.success-wrap,
.admin-auth-wrap,
.admin-dashboard-wrap {
  border: 1px solid var(--surface-panel-border);
  border-radius: var(--surface-panel-radius);
  background: var(--surface-panel-bg);
  box-shadow: var(--surface-panel-shadow);
  backdrop-filter: var(--surface-panel-blur);
}

.panel-compact,
.proxy-listing-card,
.cart-items li,
.confirm-meta {
  border: 1px solid rgba(255, 80, 50, 0.2);
  border-radius: var(--surface-card-radius);
  background: var(--surface-card-bg);
}

.chip,
.pack-page .pack-card-article .price,
.booster-guide-pack-card-hit-rate-value,
.booster-guide-pack-hit-rate-value,
.success-order-id strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

h1 {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

h1 .accent { color: var(--accent); }

.site-logo {
  display: block;
  height: 1em;
  width: auto;
  margin: 0 auto;
}

h2 {
  font-family: var(--ui-font);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.35rem;
}

.divider {
  width: 110px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0 auto;
  opacity: 0.85;
}

.section-divider {
  margin: 2.3rem auto;
}

.page-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-top: 0.35rem;
}

.page-breadcrumbs {
  margin: 0.15rem 0 0.2rem;
}

.page-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.page-breadcrumbs li + li::before {
  content: "/";
  color: rgba(255, 205, 188, 0.42);
}

.page-breadcrumbs a,
.page-breadcrumb-current {
  color: rgba(255, 228, 216, 0.76);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 0;
}

.page-breadcrumbs a:hover,
.page-breadcrumbs a:focus-visible {
  color: #fff5ef;
  border-bottom-color: transparent;
  text-shadow:
    0 0 6px rgba(255, 120, 76, 0.18),
    0 0 16px rgba(255, 80, 50, 0.12);
}

.page-breadcrumb-current {
  color: rgba(255, 245, 238, 0.92);
}

main {
  padding: 0 var(--pad-x) var(--main-footer-gap);
  flex: 1 0 auto;
}

.proxies-page main {
  padding: 0 0 var(--main-footer-gap);
}

.home-page main {
  padding-bottom: 0;
}

.home-page {
  padding-top: 46px;
}

.home-page header {
  padding: 0;
}

.proxies-landing {
  display: block;
  margin: 0;
}

.proxy-hero {
  width: 100%;
  padding: clamp(2rem, 4.6vw, 3.2rem) clamp(1.1rem, 4vw, 3rem) 0;
  border-top: 1px solid rgba(255, 80, 50, 0.2);
}

.proxy-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(0.8rem, 2.2vw, 1.35rem);
  align-items: center;
  text-align: center;
}

.proxy-hero-copy h2 {
  margin: 0 0 0.75rem;
  letter-spacing: 0.04em;
  font-family: var(--display-font);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  text-transform: uppercase;
  color: #fff;
}

.proxies-page .proxy-hero-copy h2 {
  font-family: var(--ui-font);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
}

.proxy-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.proxy-hero-copy p {
  margin: 0 0 0.8rem;
  line-height: 1.75;
  color: #ecd8ce;
  font-size: 1.05rem;
  max-width: 68ch;
  text-wrap: pretty;
}

.proxy-hero-offer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.proxy-hero-offer-label {
  color: rgba(255, 225, 212, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  transform: translateY(-0.16em);
  text-transform: uppercase;
}

.proxy-hero-offer-value {
  color: #fff6f0;
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  text-shadow:
    0 0 10px rgba(255, 118, 70, 0.12),
    0 0 18px rgba(255, 80, 50, 0.08);
}

.proxy-hero-cta {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.proxy-hero-detail-link {
  margin: 0 0 0.55rem;
}

.proxy-hero-detail-link a {
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

.proxy-hero-media {
  min-height: 0;
  width: min(880px, 100%);
  border: 0;
  border-radius: 0;
  display: block;
  margin: 0;
}

.proxy-hero-media:empty {
  display: none;
}

.proxy-hero-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  display: block;
}

.proxy-hero-land {
  background:
    radial-gradient(1200px 420px at 10% 0%, rgba(255, 109, 78, 0.22), transparent 70%),
    linear-gradient(120deg, rgba(53, 16, 10, 0.52), rgba(16, 8, 8, 0.42));
}

.proxy-hero-game {
  background:
    radial-gradient(1000px 360px at 90% 30%, rgba(255, 90, 48, 0.2), transparent 68%),
    linear-gradient(120deg, rgba(25, 10, 10, 0.5), rgba(54, 16, 10, 0.42));
}

.proxy-hero-deck {
  background:
    radial-gradient(900px 360px at 20% 30%, rgba(255, 142, 64, 0.2), transparent 66%),
    linear-gradient(120deg, rgba(39, 13, 9, 0.48), rgba(17, 8, 7, 0.4));
}

.proxy-hero-custom {
  background:
    radial-gradient(900px 360px at 85% 20%, rgba(255, 72, 52, 0.2), transparent 68%),
    linear-gradient(120deg, rgba(18, 8, 8, 0.46), rgba(36, 12, 10, 0.4));
  border-bottom: 1px solid rgba(255, 80, 50, 0.2);
}

.product-main {
  padding: 0 var(--pad-x) var(--main-footer-gap);
}

.product-shell {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: clamp(1.15rem, 2.8vw, 1.85rem);
}

.product-header {
  margin: 0 0 1rem;
}

.product-title,
.booster-guide-page .booster-guide-pack-title {
  margin: 0 0 0.3rem;
  font-size: clamp(1.4rem, 3.1vw, 1.9rem);
  font-family: var(--ui-font);
  letter-spacing: 0.01em;
  line-height: 1.18;
  text-transform: none;
}

.product-subtitle,
.booster-guide-page .booster-guide-pack-subtitle {
  margin: 0;
  color: rgba(255, 228, 216, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.product-sku {
  margin: 0.55rem 0 0.85rem;
  color: #e7cfc2;
  font-size: 0.92rem;
}

.product-flash {
  margin: 0 0 1rem;
  padding: 0.62rem 0.75rem;
  border: 1px solid rgba(255, 80, 50, 0.45);
  background: rgba(255, 80, 50, 0.12);
  border-radius: 10px;
  color: #fff1eb;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(260px, 45%) minmax(0, 1fr);
  gap: clamp(1rem, 2.2vw, 1.5rem);
  align-items: start;
}

.product-image-wrap {
  aspect-ratio: 16 / 10;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  overflow: hidden;
}

.product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  background: transparent;
}

.product-description {
  margin: 0 0 0.85rem;
  color: #ecd8ce;
  line-height: 1.7;
}

.product-pack-link {
  margin: 0 0 0.85rem;
}

.product-pack-link a {
  font-size: 0.94rem;
}

.product-price {
  margin: 0 0 1rem;
  color: #ffe5dd;
}

.product-moxfield-input {
  margin-top: 0.1rem;
  margin-bottom: 0.75rem;
}

.product-qty-label {
  display: block;
  margin: 0 0 0.5rem;
  color: var(--muted);
}

.product-actions {
  display: flex;
  gap: 0.7rem;
  align-items: stretch;
}

.product-qty {
  width: 120px;
  margin-top: 0;
}

.product-add-btn {
  min-width: 170px;
}

.proxy-listing-grid {
  margin: 1.35rem auto 0;
}

.proxy-listing-card {
  color: inherit;
}

.proxy-listing-card-media {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  margin-bottom: 0.9rem;
}

.proxy-listing-image {
  top: 0;
  left: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  transform: none;
}

.proxy-listing-name {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.25;
}

.proxy-listing-price {
  margin-left: auto;
}

.proxy-listing-footnote {
  margin-top: 0.7rem;
}

.intro {
  margin: var(--space-large) auto 1.8rem;
  max-width: var(--content-narrow);
  text-align: center;
}

.proxies-page .cards {
  max-width: var(--content-wide);
}

.proxy-listing-note {
  margin-bottom: 0;
}

.proxy-listing-note .page-note-measure {
  max-width: min(68ch, 100%);
}

.proxy-listing-note p:last-child {
  margin-bottom: 0;
}

.intro p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 1rem;
}

.intro p strong { color: var(--text); font-weight: 650; }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.2rem auto 0;
  max-width: var(--content-standard);
}

.card {
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--surface-panel-radius);
  box-shadow: var(--surface-panel-shadow);
  backdrop-filter: var(--surface-panel-blur);
}

.card-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.card-title h3 {
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
}

.price {
  color: var(--accent);
  font-weight: 750;
  white-space: nowrap;
  text-align: right;
}

.card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0.8rem;
  font-size: 1.02rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.bullets {
  margin-top: 0.55rem;
  color: var(--muted);
  line-height: 1.65;
  padding-left: 1.1rem;
}

.bullets li { margin: 0.65rem 0; }
.bullets strong { color: var(--text); font-weight: 650; }
.pack-link { display: inline-block; margin-top: 0.16rem; margin-bottom: 0; }

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 650;
  border-bottom: 1px solid rgba(255, 80, 50, 0.4);
  transition: color 180ms ease, border-color 180ms ease, text-shadow 180ms ease;
}

a:hover,
a:focus-visible {
  color: #ff7256;
  border-bottom-color: rgba(255, 80, 50, 0.95);
  text-shadow:
    0 0 6px var(--accent-soft),
    0 0 18px var(--accent-glow);
  outline: none;
}

.note-section {
  margin: 0 auto;
  max-width: var(--content-narrow);
  text-align: center;
}

.note-section h3 {
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--space-standard);
  color: var(--text);
}

.booster-guide-page .booster-guide-pack-subtitle {
  margin-bottom: 0.38rem;
}

.note-section p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: var(--space-standard);
  font-size: 1rem;
}

.note-section p:last-child {
  margin-bottom: 0;
}

.note-section p strong {
  color: var(--text);
  font-weight: 650;
}

footer {
  padding: 1.35rem var(--pad-x) 2.2rem;
  text-align: center;
}

.signature img {
  max-width: 240px;
  width: 100%;
  height: auto;
  animation: signatureGlow 3.6s ease-in-out infinite;
  transform: translateZ(0);
  will-change: filter;
}

@keyframes signatureGlow {
  0% {
    filter:
      drop-shadow(0 0 4px rgba(255, 60, 40, 0.14))
      drop-shadow(0 0 10px rgba(255, 60, 40, 0.18));
  }

  10% {
    filter:
      drop-shadow(0 0 8px rgba(255, 80, 50, 0.26))
      drop-shadow(0 0 20px rgba(255, 80, 50, 0.30));
  }
  16% {
    filter:
      drop-shadow(0 0 5px rgba(255, 60, 40, 0.16))
      drop-shadow(0 0 12px rgba(255, 60, 40, 0.20));
  }
  24% {
    filter:
      drop-shadow(0 0 12px rgba(255, 80, 50, 0.36))
      drop-shadow(0 0 30px rgba(255, 80, 50, 0.40));
  }
  31% {
    filter:
      drop-shadow(0 0 6px rgba(255, 60, 40, 0.18))
      drop-shadow(0 0 14px rgba(255, 60, 40, 0.22));
  }
  38% {
    filter:
      drop-shadow(0 0 16px rgba(255, 80, 50, 0.48))
      drop-shadow(0 0 44px rgba(255, 80, 50, 0.58));
  }
  44% {
    filter:
      drop-shadow(0 0 9px rgba(255, 80, 50, 0.30))
      drop-shadow(0 0 24px rgba(255, 80, 50, 0.34));
  }

  48% {
    filter:
      drop-shadow(0 0 22px rgba(255, 80, 50, 0.62))
      drop-shadow(0 0 56px rgba(255, 80, 50, 0.78));
  }

  49% {
    filter:
      drop-shadow(0 0 34px rgba(255, 80, 50, 0.86))
      drop-shadow(0 0 78px rgba(255, 80, 50, 1))
      brightness(1.10);
  }
  50% {
    filter:
      drop-shadow(0 0 58px rgba(255, 80, 50, 1))
      drop-shadow(0 0 128px rgba(255, 80, 50, 1))
      brightness(1.23);
  }
  50.6% {
    filter:
      drop-shadow(0 0 40px rgba(255, 80, 50, 0.92))
      drop-shadow(0 0 92px rgba(255, 80, 50, 1))
      brightness(1.14);
  }
  51.2% {
    filter:
      drop-shadow(0 0 62px rgba(255, 80, 50, 1))
      drop-shadow(0 0 140px rgba(255, 80, 50, 1))
      brightness(1.25);
  }
  52% {
    filter:
      drop-shadow(0 0 28px rgba(255, 80, 50, 0.72))
      drop-shadow(0 0 66px rgba(255, 80, 50, 0.92))
      brightness(1.08);
  }

  58% {
    filter:
      drop-shadow(0 0 18px rgba(255, 80, 50, 0.50))
      drop-shadow(0 0 46px rgba(255, 80, 50, 0.66));
  }
  63% {
    filter:
      drop-shadow(0 0 26px rgba(255, 80, 50, 0.70))
      drop-shadow(0 0 64px rgba(255, 80, 50, 0.86));
  }
  69% {
    filter:
      drop-shadow(0 0 12px rgba(255, 80, 50, 0.34))
      drop-shadow(0 0 30px rgba(255, 80, 50, 0.42));
  }
  76% {
    filter:
      drop-shadow(0 0 18px rgba(255, 80, 50, 0.52))
      drop-shadow(0 0 44px rgba(255, 80, 50, 0.62));
  }

  100% {
    filter:
      drop-shadow(0 0 4px rgba(255, 60, 40, 0.14))
      drop-shadow(0 0 10px rgba(255, 60, 40, 0.18));
  }
}

/* Form styles layered into existing theme */
.order-form-section {
  padding: clamp(1.15rem, 2.8vw, 1.85rem);
}

.note-section.order-form-section {
  max-width: var(--content-standard);
  text-align: left;
}

.note-section.page-note-full {
  width: 100%;
  max-width: none;
}

.page-note-measure {
  max-width: min(72ch, 100%);
}

.order-form-section h3,
.order-form-section p,
.order-form-section form {
  text-align: left;
}

.form-errors,
.notice {
  border: 1px solid rgba(255, 80, 50, 0.4);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  text-align: left;
  background: rgba(255, 80, 50, 0.12);
  color: #ffd6ce;
}

.notice.success {
  border-color: rgba(72, 191, 120, 0.5);
  background: rgba(72, 191, 120, 0.14);
  color: #dbffe7;
}

.notice.error,
.form-errors {
  border-color: rgba(255, 80, 50, 0.4);
  background: rgba(255, 80, 50, 0.12);
  color: #ffd6ce;
}

.dismissible-notice {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}

.dismissible-notice > span {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.notice-dismiss {
  flex: 0 0 auto;
  min-width: 0;
  width: auto;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  white-space: nowrap;
  align-self: flex-start;
}

.notice.success .notice-dismiss {
  border-color: rgba(72, 191, 120, 0.52);
  background: rgba(72, 191, 120, 0.18);
  color: #dbffe7;
}

.notice.error .notice-dismiss {
  border-color: rgba(255, 80, 50, 0.58);
  background: rgba(255, 80, 50, 0.18);
  color: #ffd6ce;
}

.form-errors ul {
  margin-left: 1rem;
}

fieldset {
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: left;
}

legend {
  color: var(--text);
  font-weight: 650;
  padding: 0 0.4rem;
}

label {
  display: block;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

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

input,
textarea,
select {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid rgba(255, 80, 50, 0.28);
  border-radius: 12px;
  padding: 0.62rem 0.72rem;
  color: var(--text);
  background: rgba(5, 4, 4, 0.55);
}

input,
select,
button {
  min-height: 42px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 1px solid var(--accent);
  border-color: var(--accent);
}

button {
  border: 1px solid rgba(255, 80, 50, 0.7);
  background: rgba(255, 80, 50, 0.16);
  color: var(--text);
  border-radius: 12px;
  padding: 0.62rem 0.9rem;
  cursor: pointer;
}

button:hover,
button:focus-visible {
  box-shadow:
    0 0 6px var(--accent-soft),
    0 0 18px rgba(255, 80, 50, 0.25);
  outline: none;
}

.button-primary,
.proxy-hero-cta,
.product-add-btn,
.btn-submit-order,
.admin-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.68rem 1.12rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 80, 50, 0.8);
  background: linear-gradient(180deg, rgba(255, 126, 82, 0.26), rgba(183, 57, 24, 0.26));
  color: #fff5f1;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-shadow: none;
  border-bottom: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

.button-primary:hover,
.button-primary:focus-visible,
.proxy-hero-cta:hover,
.proxy-hero-cta:focus-visible,
.product-add-btn:hover,
.product-add-btn:focus-visible,
.btn-submit-order:hover,
.btn-submit-order:focus-visible,
.admin-login-btn:hover,
.admin-login-btn:focus-visible {
  color: #ffffff;
  border-bottom-color: transparent;
  text-shadow: none;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 8px rgba(255, 120, 76, 0.26),
    0 0 22px rgba(255, 80, 50, 0.18);
}

.button-secondary,
.booster-guide-back-btn,
.success-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.52rem 0.98rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 80, 50, 0.38);
  background: rgba(255, 80, 50, 0.1);
  color: #fff1eb;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-shadow: none;
  border-bottom: 0;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.button-secondary:hover,
.button-secondary:focus-visible,
.booster-guide-back-btn:hover,
.booster-guide-back-btn:focus-visible,
.success-back-link:hover,
.success-back-link:focus-visible {
  color: #ffffff;
  border-bottom-color: transparent;
  text-shadow: none;
  transform: translateY(-1px);
  background: rgba(255, 80, 50, 0.16);
  border-color: rgba(255, 80, 50, 0.58);
  box-shadow:
    0 0 8px rgba(255, 120, 76, 0.18),
    0 0 18px rgba(255, 80, 50, 0.14);
}

.button-ghost,
.cart-line-btn,
.btn-add-deck,
.remove-deck {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.42rem 0.78rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 80, 50, 0.34);
  background: rgba(255, 80, 50, 0.1);
  color: #f1ddd5;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background-color 0.16s ease,
    box-shadow 0.16s ease,
    color 0.16s ease;
}

.button-ghost:hover,
.button-ghost:focus-visible,
.cart-line-btn:hover,
.cart-line-btn:focus-visible,
.btn-add-deck:hover,
.btn-add-deck:focus-visible,
.remove-deck:hover,
.remove-deck:focus-visible {
  color: #fff4ee;
  transform: translateY(-1px);
  box-shadow:
    0 0 6px rgba(255, 120, 76, 0.14),
    0 0 14px rgba(255, 80, 50, 0.12);
}

.proxy-hero-cta {
  letter-spacing: 0.08em;
}

.deck-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  align-items: end;
}

.form-price-row {
  margin-top: 0.8rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 80, 50, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted);
}

.form-price-row output {
  color: #ffe4de;
  font-weight: 700;
}

.total-estimate {
  margin: 0.8rem 0 1.1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 80, 50, 0.3);
  border-radius: 12px;
  background: rgba(255, 80, 50, 0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.total-estimate strong {
  color: #ffe4de;
  font-size: 1.1rem;
}

.remove-deck {
  background: transparent;
  color: var(--muted);
  border-color: rgba(255, 80, 50, 0.32);
}

.btn-submit-order {
  font-weight: 700;
}

footer a {
  border-bottom: none;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 80, 50, 0.22);
  background: linear-gradient(180deg, rgba(12, 7, 7, 0.86), rgba(7, 5, 5, 0.98));
  padding: 1.2rem var(--pad-x) 1.35rem;
  text-align: left;
}

.proxies-page header {
  padding: 0;
}

.proxies-page .site-nav {
  margin-bottom: 0;
}

.site-footer-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem 1.2rem;
}

.site-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #fff4ee;
  border-bottom: none;
}

.site-footer-brand img {
  width: 20px;
  height: 20px;
}

.page-heading {
  margin: 0 0 0.34rem;
  font-family: var(--ui-font);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  letter-spacing: 0.01em;
  line-height: 1.04;
  text-transform: none;
  text-align: left;
  color: #fff7f2;
  max-width: min(22ch, 100%);
}

.page-divider {
  width: clamp(130px, 18vw, 190px);
  margin: 0 0 0.52rem;
  background: linear-gradient(90deg, var(--accent), rgba(255, 80, 50, 0.4) 55%, transparent);
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.site-footer-nav a {
  color: var(--muted);
  border-bottom: none;
  font-size: 0.9rem;
}

.site-footer-copy {
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.cart-main {
  padding: 0 var(--pad-x) var(--main-footer-gap);
}

.cart-shell {
  max-width: var(--content-wide);
  margin: 0 auto 1.35rem;
  padding: clamp(1.15rem, 2.8vw, 1.85rem);
}

.cart-summary {
  margin: 0 0 1rem;
  color: var(--muted);
}

.cart-empty {
  color: var(--muted);
}

.cart-items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.cart-items li {
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.2rem;
}

.cart-items li span {
  color: var(--muted);
  font-size: 0.92rem;
}

.cart-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
}

.cart-item-total {
  color: #fff3ef;
  font-weight: 700;
  text-align: right;
}

.cart-line-form {
  margin-top: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cart-line-form label {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cart-line-qty {
  width: auto;
  min-width: 74px;
  margin-top: 0;
}

.cart-line-btn {
  min-height: 36px;
  padding: 0.36rem 0.72rem;
}

.cart-line-btn-danger {
  background: rgba(193, 38, 42, 0.22);
  border-color: rgba(193, 38, 42, 0.7);
}

.cart-clear-form {
  margin-top: 1rem;
}

.cart-checkout {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 80, 50, 0.24);
  text-align: left;
}

.cart-checkout form {
  max-width: var(--content-narrow);
}

.cart-checkout h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.cart-checkout p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.cart-checkout input.is-invalid {
  border-color: rgba(193, 38, 42, 0.82);
  box-shadow: 0 0 0 1px rgba(193, 38, 42, 0.24);
}

.cart-field-error {
  display: block;
  margin-top: 0.38rem;
  color: #ffb7b2;
  font-size: 0.84rem;
  line-height: 1.35;
}

.in-person-only {
  display: block;
  margin: 0.45rem 0 1rem;
  padding: 0.55rem 0.75rem;
  border-left: 3px solid rgba(255, 80, 50, 0.82);
  background: rgba(255, 80, 50, 0.1);
  color: #ffe2da;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.cart-total {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.cart-total strong {
  color: #fff3ef;
}

/* Admin + success pages */
.admin-auth-wrap,
.admin-dashboard-wrap,
.success-wrap {
  max-width: 980px;
  margin: 2rem auto;
  padding: 1.4rem;
}

.admin-auth-wrap h1,
.admin-dashboard-wrap h1 {
  font-family: var(--ui-font);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.admin-auth-form {
  max-width: 480px;
  text-align: left;
}

.admin-login-page main {
  margin-top: 0;
}

.admin-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.25rem var(--pad-x);
}

.admin-login-page .admin-auth-wrap {
  width: min(540px, 100%);
  margin: 0;
  padding: 1.8rem 1.8rem 1.5rem;
  border-radius: 18px;
}

.admin-auth-head {
  margin-bottom: 1rem;
  text-align: center;
}

.admin-auth-head .divider {
  margin: 0.65rem auto 0.9rem;
}

.admin-auth-head p {
  color: var(--muted);
  margin: 0;
}

.admin-login-page .admin-auth-form {
  max-width: none;
}

.admin-login-page .admin-auth-form label {
  margin-bottom: 0.85rem;
}

.admin-login-btn {
  margin-top: 0.3rem;
  min-width: 110px;
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

.admin-dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 0;
  border-bottom: 0;
}

.admin-dashboard-main h1 {
  margin: 0;
  font-family: var(--ui-font);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-dashboard-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1rem;
  border-bottom: 1px solid rgba(255, 80, 50, 0.14);
  padding-bottom: 0.55rem;
}

.admin-dashboard-nav a {
  border-bottom: 0;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.admin-dashboard-nav a[aria-current="page"] {
  color: #ffe7df;
  background: rgba(255, 80, 50, 0.16);
}

.admin-dashboard-nav a:hover,
.admin-dashboard-nav a:focus-visible {
  color: #fff4ef;
  background: rgba(255, 80, 50, 0.1);
}

.status-filter-form {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.status-filter-form label {
  margin: 0;
  color: var(--muted);
}

.status-filter-form select {
  width: auto;
  min-width: 170px;
  margin-top: 0;
}

.pricing-cache-reset-form {
  margin-top: 0;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-cache-reset-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.pricing-cache-stats {
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: rgba(12, 10, 10, 0.48);
  padding: 0.75rem 0.85rem;
  margin: 0 0 1rem;
}

.pricing-cache-stats-title {
  margin: 0 0 0.6rem;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-cache-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.pricing-cache-stats-grid div {
  border: 1px solid rgba(255, 80, 50, 0.16);
  border-radius: 10px;
  padding: 0.5rem 0.58rem;
  background: rgba(0, 0, 0, 0.2);
}

.pricing-cache-stats-grid span {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-cache-stats-grid strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.92rem;
  color: #fff4ef;
}

.pricing-cache-stats-note {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.admin-user-tools {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-email {
  color: var(--muted);
  font-size: 0.94rem;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.booster-guide-table-wrap {
  margin-top: 1rem;
  border: 1px solid rgba(255, 80, 50, 0.22);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
}

.booster-guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  min-width: 1200px;
}

.booster-guide-table th,
.booster-guide-table td {
  border: 1px solid rgba(255, 80, 50, 0.15);
  padding: 0.4rem 0.5rem;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.booster-guide-table th {
  background: rgba(255, 80, 50, 0.12);
  color: #fff2ed;
  position: sticky;
  top: 0;
  z-index: 1;
}

.booster-guide-table th span {
  color: var(--muted);
  font-weight: 500;
}

.booster-guide-pack-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.7rem 0 1rem;
}

.booster-guide-pack-picker a {
  border: 1px solid rgba(255, 80, 50, 0.34);
  border-radius: 999px;
  padding: 0.3rem 0.58rem;
  background: rgba(255, 80, 50, 0.08);
  color: #ffe8e2;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.booster-guide-pack-picker a[aria-current="page"] {
  border-color: rgba(255, 80, 50, 0.75);
  background: rgba(255, 80, 50, 0.2);
  color: #fff7f4;
}

.booster-guide-back-btn {
  margin-top: 0.2rem;
}


.booster-guide-pack-selector {
  max-width: var(--content-wide);
  margin: 1.35rem auto 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.booster-guide-pack-search-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  margin: 0 0 1.35rem;
}

.booster-guide-pack-search-label {
  display: block;
  margin: 0;
  color: rgba(255, 245, 238, 0.94);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booster-guide-pack-search-input {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 129, 83, 0.34);
  border-radius: 14px;
  background: rgba(20, 15, 15, 0.84);
  color: #fff7f2;
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.booster-guide-pack-search-input::placeholder {
  color: rgba(255, 226, 214, 0.5);
}

.booster-guide-pack-search-input:hover,
.booster-guide-pack-search-input:focus-visible {
  border-color: rgba(255, 129, 83, 0.7);
  box-shadow:
    0 0 0 1px rgba(255, 129, 83, 0.24),
    0 0 20px rgba(255, 104, 56, 0.14);
  background: rgba(24, 18, 18, 0.92);
  outline: none;
}

.booster-guide-pack-search-empty {
  margin: 0;
  color: rgba(255, 228, 216, 0.72);
  font-size: 0.82rem;
  line-height: 1.45;
}

.booster-guide-pack-search-empty {
  margin-top: 1rem;
}

.booster-guide-pack-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.booster-guide-pack-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100%;
  text-decoration: none;
  border-bottom: none;
  color: inherit;
  line-height: 1.3;
}

.booster-guide-pack-item.is-hidden {
  display: none;
}

.booster-guide-pack-item:hover,
.booster-guide-pack-item:focus-visible {
  border-bottom: none;
  outline: none;
}

.booster-guide-pack-card {
  --booster-pack-accent-bg: rgba(255, 120, 70, 0.22);
  --booster-pack-accent-fg: #fff8f3;
  --booster-pack-radius: 16px;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--booster-pack-accent-bg);
  border-radius: var(--booster-pack-radius);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(24, 19, 18, 0.94), rgba(15, 12, 12, 0.98)),
    rgba(14, 10, 10, 0.96);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 160, 120, 0.04);
  transform: translateZ(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.booster-guide-pack-item:hover .booster-guide-pack-card,
.booster-guide-pack-item:focus-visible .booster-guide-pack-card {
  transform: scale(1.045);
  box-shadow:
    0 22px 40px rgba(0, 0, 0, 0.36),
    0 0 34px rgba(255, 120, 70, 0.2),
    0 0 56px rgba(255, 120, 70, 0.1),
    inset 0 0 0 1px rgba(255, 160, 120, 0.1);
}

.booster-guide-pack-card-image-wrap {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  background: linear-gradient(180deg, rgba(32, 24, 23, 0.88), rgba(18, 14, 14, 0.95));
  box-shadow: inset 0 0 0 1px rgba(255, 149, 109, 0.08);
}

.booster-guide-pack-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.booster-guide-pack-card-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 0;
  width: 100%;
}

.booster-guide-pack-card-set-name {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.88rem;
  margin-top: 0.34rem;
  padding: 0 0.35rem;
  color: #fff7f2;
  font-family: var(--ui-font);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.14;
  text-align: center;
  text-decoration: none;
  transition: text-shadow 0.18s ease, color 0.18s ease;
}

.booster-guide-pack-item:hover .booster-guide-pack-card-set-name,
.booster-guide-pack-item:focus-visible .booster-guide-pack-card-set-name {
  text-shadow:
    0 0 10px rgba(255, 120, 70, 0.18),
    0 0 22px rgba(255, 120, 70, 0.12);
}

.booster-guide-pack-card-pack-type {
  width: 100%;
  display: block;
  color: var(--booster-pack-accent-fg);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.72rem 0.9rem 0.74rem;
  border-radius: 0 0 15px 15px;
  background: var(--booster-pack-accent-bg);
  text-shadow: none;
}

.booster-guide-pack-item:hover .booster-guide-pack-card-pack-type,
.booster-guide-pack-item:focus-visible .booster-guide-pack-card-pack-type {
  text-shadow: none;
}

.booster-guide-pack-card--play {
  --booster-pack-accent-bg: #5b5654;
  --booster-pack-accent-fg: rgba(255, 244, 237, 0.92);
}

.booster-guide-pack-card--tmnt {
  --booster-pack-accent-bg: #e26d1d;
  --booster-pack-accent-fg: #ffffff;
}

.booster-guide-pack-card--lorwyn {
  --booster-pack-accent-bg: #43baa9;
  --booster-pack-accent-fg: #ffffff;
}

.booster-guide-pack-card--avatar {
  --booster-pack-accent-bg: #b04639;
  --booster-pack-accent-fg: #ffffff;
}

.booster-guide-pack-card--spider-man {
  --booster-pack-accent-bg: #d0241c;
  --booster-pack-accent-fg: #ffffff;
}

.booster-guide-pack-card--assassins-creed {
  --booster-pack-accent-bg: #a31815;
  --booster-pack-accent-fg: #ffffff;
}

.booster-guide-pack-card--edge {
  --booster-pack-accent-bg: #bec90d;
  --booster-pack-accent-fg: #4e3887;
}

.booster-guide-pack-card--final-fantasy {
  --booster-pack-accent-bg: #000000;
  --booster-pack-accent-fg: #ffffff;
}

.booster-guide-pack-card--bloomburrow {
  --booster-pack-accent-bg: #277247;
  --booster-pack-accent-fg: #ffffff;
}

.booster-guide-pack-card--duskmourn {
  --booster-pack-accent-bg: #98c9b4;
  --booster-pack-accent-fg: #1c1225;
}

.booster-guide-pack-card--foundations {
  --booster-pack-accent-bg: #efefef;
  --booster-pack-accent-fg: #000000;
}

.booster-guide-pack-card--tarkir {
  --booster-pack-accent-bg: #d5e6ec;
  --booster-pack-accent-fg: #26305b;
}

.booster-guide-pack-card--aetherdrift {
  --booster-pack-accent-bg: #efb100;
  --booster-pack-accent-fg: #000000;
}

.booster-guide-pack-card--innistrad {
  --booster-pack-accent-bg: #b92c2b;
  --booster-pack-accent-fg: #ffffff;
}

@media (max-width: 780px) {
  .booster-guide-pack-search-row {
    margin-bottom: 1.15rem;
  }

  .booster-guide-pack-search-input {
    min-height: 46px;
    padding: 0.8rem 0.9rem;
  }

  .proxy-listing-grid,
  .booster-guide-pack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proxy-listing-page .proxy-listing-card .card-title {
    display: block;
  }

  .proxy-listing-page .proxy-listing-price {
    display: block;
    margin-top: 0.28rem;
    margin-left: 0;
    text-align: left;
    justify-content: flex-start;
    align-self: flex-start;
  }

  .booster-guide-pack-card-copy {
    min-height: 0;
  }

  .booster-guide-pack-card-set-name {
    min-height: 2.2rem;
    margin-top: 0.44rem;
    font-size: 0.76rem;
    line-height: 1.12;
  }

  .booster-guide-pack-card-pack-type {
    font-size: 0.8rem;
    padding: 0.68rem 0.75rem 0.7rem;
  }

  .booster-guide-pack-card-hit-rate {
    margin-top: 0.05rem;
    margin-bottom: 0.32rem;
    gap: 0.16rem;
  }

  .booster-guide-pack-card-hit-rate-label {
    font-size: 0.58rem;
    letter-spacing: 0.05em;
  }

  .booster-guide-pack-card-hit-rate-value {
    min-width: 4.45rem;
    padding: 0.3rem 0.48rem 0.33rem;
    font-size: 0.78rem;
  }
}

.booster-guide-set-list {
  margin: 0.55rem 0 1rem 1.1rem;
  padding: 0;
  text-align: left;
}

.booster-guide-set-list li {
  margin: 0.3rem 0;
}

.booster-guide-page .embers,
.booster-guide-page .heat,
.booster-guide-page .booster-guide-card-galaxy .booster-guide-card-galaxy-dots,
.booster-guide-page .booster-guide-card-foil .booster-guide-card-image-wrap::after,
.booster-guide-page .booster-guide-card-galaxy .booster-guide-card-image-wrap::after,
.booster-guide-page .booster-guide-card-surge .booster-guide-card-image-wrap::before,
.booster-guide-page .booster-guide-card-surge .booster-guide-card-image-wrap::after {
  animation-play-state: paused;
}

.booster-guide-page:not(.booster-effects-ready) .embers {
  opacity: 0;
}

.booster-guide-page:not(.booster-effects-ready) .heat {
  opacity: 0.45;
}

.booster-guide-page:not(.booster-effects-ready) .booster-guide-card-surge .booster-guide-card-image-wrap::before {
  filter: blur(5px) saturate(118%);
}

.booster-guide-page.booster-effects-ready .embers,
.booster-guide-page.booster-effects-ready .heat,
.booster-guide-page.booster-effects-ready .booster-guide-card-galaxy .booster-guide-card-galaxy-dots,
.booster-guide-page.booster-effects-ready .booster-guide-card-foil .booster-guide-card-image-wrap::after,
.booster-guide-page.booster-effects-ready .booster-guide-card-galaxy .booster-guide-card-image-wrap::after,
.booster-guide-page.booster-effects-ready .booster-guide-card-surge .booster-guide-card-image-wrap::before,
.booster-guide-page.booster-effects-ready .booster-guide-card-surge .booster-guide-card-image-wrap::after {
  animation-play-state: running;
}

.booster-guide-card-link {
  color: inherit;
  text-decoration: none;
  border-bottom: none;
}

.booster-guide-card-link:hover,
.booster-guide-card-link:focus-visible {
  border-bottom: none;
  text-shadow: none;
  outline: none;
}

.booster-guide-card-link:hover,
.booster-guide-card-link:focus-visible {
  transform: none;
  border-color: rgba(255, 122, 92, 0.62);
  background: rgba(255, 80, 50, 0.1);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 122, 92, 0.26) inset;
}

.booster-guide-card-image-fallback {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.booster-guide-card-foil .booster-guide-card-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 0, 140, 0.26), rgba(0, 225, 255, 0.22) 45%, rgba(255, 230, 0, 0.28)),
    linear-gradient(30deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 42%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

.booster-guide-card-foil .booster-guide-card-image-wrap::after {
  content: "";
  position: absolute;
  inset: -20% -30%;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 26%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 74%);
  transform: translateX(-55%) rotate(8deg);
  animation: foilSheen 3.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.booster-guide-card-galaxy {
  position: relative;
  isolation: isolate;
  box-shadow:
    0 0 0 1px rgba(201, 223, 255, 0.16) inset,
    0 0 12px rgba(120, 171, 255, 0.15);
}

.booster-guide-card-galaxy .booster-guide-card-galaxy-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 2;
}

.booster-guide-card-galaxy .booster-guide-card-galaxy-dots-a {
  background:
    radial-gradient(circle at 10% 18%, rgba(232, 236, 242, 0.4) 0 3.2px, transparent 3.3px),
    radial-gradient(circle at 22% 62%, rgba(245, 246, 248, 0.36) 0 2.3px, transparent 2.4px),
    radial-gradient(circle at 34% 30%, rgba(222, 228, 235, 0.34) 0 3.8px, transparent 3.9px),
    radial-gradient(circle at 46% 76%, rgba(248, 249, 251, 0.36) 0 2.7px, transparent 2.8px),
    radial-gradient(circle at 58% 17%, rgba(214, 220, 228, 0.32) 0 3.5px, transparent 3.6px),
    radial-gradient(circle at 66% 48%, rgba(241, 244, 247, 0.34) 0 2.5px, transparent 2.6px),
    radial-gradient(circle at 79% 26%, rgba(224, 230, 236, 0.32) 0 3.1px, transparent 3.2px);
  animation: galaxyDotPulseA 3.8s ease-in-out infinite;
}

.booster-guide-card-galaxy .booster-guide-card-galaxy-dots-b {
  background:
    radial-gradient(circle at 17% 43%, rgba(246, 247, 249, 0.34) 0 2.6px, transparent 2.7px),
    radial-gradient(circle at 41% 55%, rgba(216, 222, 230, 0.3) 0 3.3px, transparent 3.4px),
    radial-gradient(circle at 72% 61%, rgba(239, 242, 246, 0.34) 0 2.8px, transparent 2.9px),
    radial-gradient(circle at 84% 68%, rgba(226, 232, 238, 0.34) 0 4.1px, transparent 4.2px),
    radial-gradient(circle at 91% 44%, rgba(248, 249, 251, 0.32) 0 2.4px, transparent 2.5px),
    radial-gradient(circle at 63% 12%, rgba(210, 218, 226, 0.28) 0 3.6px, transparent 3.7px),
    radial-gradient(circle at 28% 82%, rgba(243, 245, 248, 0.33) 0 3px, transparent 3.1px);
  animation: galaxyDotPulseB 2.8s steps(9, end) infinite;
}

.booster-guide-card-galaxy .booster-guide-card-galaxy-dots-c {
  background:
    radial-gradient(circle at 13% 73%, rgba(239, 242, 246, 0.34) 0 2.9px, transparent 3px),
    radial-gradient(circle at 31% 16%, rgba(214, 220, 228, 0.28) 0 4px, transparent 4.1px),
    radial-gradient(circle at 52% 38%, rgba(248, 249, 251, 0.34) 0 2.4px, transparent 2.5px),
    radial-gradient(circle at 61% 83%, rgba(224, 230, 236, 0.32) 0 3.5px, transparent 3.6px),
    radial-gradient(circle at 76% 14%, rgba(246, 247, 249, 0.3) 0 2.7px, transparent 2.8px),
    radial-gradient(circle at 88% 57%, rgba(218, 224, 231, 0.3) 0 3.8px, transparent 3.9px);
  animation: galaxyDotPulseC 4.6s ease-in-out infinite;
}

.booster-guide-card-galaxy .booster-guide-card-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 0, 140, 0.26), rgba(0, 225, 255, 0.22) 45%, rgba(255, 230, 0, 0.28)),
    linear-gradient(30deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 42%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}

.booster-guide-card-galaxy .booster-guide-card-image-wrap::after {
  content: "";
  position: absolute;
  inset: -20% -30%;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 26%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 74%);
  transform: translateX(-55%) rotate(8deg);
  --foil-sheen-opacity-scale: 0.5;
  animation: foilSheen 3.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}

.booster-guide-card-surge .booster-guide-card-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* silver water surface */
    linear-gradient(128deg, rgba(246, 246, 246, 0.15), rgba(162, 162, 162, 0.09) 45%, rgba(238, 238, 238, 0.13)),
    /* rainbow caustics riding the ripples */
    conic-gradient(
      from 210deg at 35% 55%,
      rgba(255, 82, 162, 0.3),
      rgba(255, 173, 86, 0.28),
      rgba(255, 238, 122, 0.26),
      rgba(94, 238, 255, 0.3),
      rgba(140, 152, 255, 0.3),
      rgba(201, 142, 255, 0.28),
      rgba(255, 82, 162, 0.3)
    ),
    repeating-radial-gradient(
      ellipse at 62% 48%,
      rgba(255, 70, 150, 0.36) 0 2.6%,
      rgba(232, 232, 232, 0.38) 2.6% 3.4%,
      rgba(255, 190, 88, 0.34) 3.4% 6.2%,
      rgba(236, 236, 236, 0.4) 6.2% 7%,
      rgba(250, 240, 120, 0.32) 7% 9.8%,
      rgba(238, 238, 238, 0.4) 9.8% 10.6%,
      rgba(92, 240, 255, 0.34) 10.6% 13.4%,
      rgba(234, 234, 234, 0.4) 13.4% 14.2%,
      rgba(136, 148, 255, 0.34) 14.2% 17%,
      rgba(236, 236, 236, 0.4) 17% 17.8%,
      rgba(202, 142, 255, 0.32) 17.8% 20.6%,
      rgba(232, 232, 232, 0.38) 20.6% 21.4%,
      rgba(255, 255, 255, 0) 21.4% 29%
    );
  background-size: 140% 140%, 180% 180%, 220% 220%;
  background-position: 50% 50%, 22% 58%, 58% 42%;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  filter: blur(8px) saturate(146%);
  animation: surgePondFlow 5s ease-in-out infinite;
}

.booster-guide-card-surge .booster-guide-card-image-wrap::after {
  content: "";
  position: absolute;
  inset: -20% -30%;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0) 24%, rgba(255, 255, 255, 0.23) 50%, rgba(255, 255, 255, 0) 76%),
    linear-gradient(115deg, rgba(255, 255, 255, 0) 18%, rgba(215, 215, 215, 0.15) 50%, rgba(255, 255, 255, 0) 82%);
  transform: translateX(-55%) rotate(8deg);
  animation: surgeFoilSheen 3.2s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}

@keyframes foilSheen {
  0%, 100% {
    transform: translateX(-55%) rotate(8deg);
    opacity: calc(0.5 * var(--foil-sheen-opacity-scale, 1));
  }
  50% {
    transform: translateX(55%) rotate(8deg);
    opacity: calc(0.95 * var(--foil-sheen-opacity-scale, 1));
  }
}

.booster-guide-card-foil {
  box-shadow: none;
}

.booster-guide-card-surge {
  box-shadow:
    0 0 0 1px rgba(255, 225, 136, 0.18) inset,
    0 0 12px rgba(111, 184, 255, 0.18);
}

.booster-guide-card-fracture .booster-guide-card-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 0, 140, 0.26), rgba(0, 225, 255, 0.22) 45%, rgba(255, 230, 0, 0.28)),
    linear-gradient(30deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 42%),
    linear-gradient(130deg, rgba(246, 246, 246, 0.24), rgba(170, 170, 170, 0.12) 46%, rgba(236, 236, 236, 0.2));
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

.booster-guide-card-fracture .booster-guide-card-image-wrap::after {
  content: "";
  position: absolute;
  inset: -20% -30%;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0) 26%, rgba(255, 255, 255, 0.34) 50%, rgba(255, 255, 255, 0) 74%),
    linear-gradient(115deg, rgba(255, 255, 255, 0) 22%, rgba(205, 205, 205, 0.2) 50%, rgba(255, 255, 255, 0) 78%);
  transform: translateX(-55%) rotate(8deg);
  animation: fractureFoilSheen 3.2s ease-in-out infinite;
  background-blend-mode: screen, normal;
  mix-blend-mode: overlay;
  opacity: 0.44;
  pointer-events: none;
  z-index: 2;
}

.booster-guide-card-fracture {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 0 12px rgba(142, 190, 255, 0.16);
}

@keyframes surgeFoilSheen {
  0%, 100% {
    transform: translateX(-55%) rotate(8deg);
    opacity: 0.62;
  }
  50% {
    transform: translateX(55%) rotate(8deg);
    opacity: 0.95;
  }
}

@keyframes surgePondFlow {
  0%, 100% {
    background-position: 50% 50%, 22% 58%, 58% 42%;
    opacity: 0.6;
  }
  50% {
    background-position: 46% 52%, 76% 38%, 34% 66%;
    opacity: 0.9;
  }
}

@keyframes galaxyDotPulseA {
  0%, 100% {
    opacity: 0.12;
  }
  14% {
    opacity: 0.95;
  }
  31% {
    opacity: 0.18;
  }
  47% {
    opacity: 0.74;
  }
  68% {
    opacity: 0.1;
  }
  86% {
    opacity: 0.95;
  }
}

@keyframes galaxyDotPulseB {
  0%, 100% {
    opacity: 0.1;
  }
  11% {
    opacity: 0.95;
  }
  24% {
    opacity: 0.14;
  }
  41% {
    opacity: 0.95;
  }
  57% {
    opacity: 0.11;
  }
  73% {
    opacity: 0.69;
  }
  88% {
    opacity: 0.95;
  }
}

@keyframes galaxyDotPulseC {
  0%, 100% {
    opacity: 0.14;
  }
  16% {
    opacity: 0.9;
  }
  29% {
    opacity: 0.11;
  }
  51% {
    opacity: 0.95;
  }
  67% {
    opacity: 0.2;
  }
  83% {
    opacity: 0.95;
  }
}

@keyframes fractureFoilSheen {
  0%, 100% {
    transform: translateX(-55%) rotate(8deg);
    opacity: 0.34;
  }
  50% {
    transform: translateX(55%) rotate(8deg);
    opacity: 0.52;
  }
}

.booster-guide-cards-section {
  margin-top: 1.2rem;
  max-width: none;
}

.booster-guide-page #boosterGuideDiagnostics {
  max-width: var(--content-standard);
  margin: 0 auto;
}

.booster-guide-sort-toggle-row {
  display: flex;
  justify-content: center;
  margin: 1.15rem auto 0;
  max-width: var(--content-standard);
}

.booster-guide-sort-toggle {
  display: inline-flex;
  align-items: stretch;
  padding: 0.25rem;
  border: 1px solid rgba(255, 151, 94, 0.34);
  border-radius: 999px;
  background: rgba(33, 19, 14, 0.9);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 182, 132, 0.08);
}

.booster-guide-sort-toggle-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 228, 210, 0.86);
  font: inherit;
  font-family: var(--ui-font);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    text-shadow 0.18s ease;
}

.booster-guide-sort-toggle-btn:hover,
.booster-guide-sort-toggle-btn:focus-visible {
  color: #fff4ec;
  outline: none;
  text-shadow:
    0 0 12px rgba(255, 125, 64, 0.22),
    0 0 26px rgba(255, 125, 64, 0.12);
}

.booster-guide-sort-toggle-btn.is-active {
  background: linear-gradient(180deg, rgba(255, 154, 83, 0.42), rgba(225, 100, 34, 0.34));
  color: #fffaf6;
  box-shadow:
    inset 0 0 0 1px rgba(255, 210, 175, 0.22),
    0 0 22px rgba(255, 125, 64, 0.2);
}

.booster-guide-sort-toggle-btn.is-active:hover,
.booster-guide-sort-toggle-btn.is-active:focus-visible {
  text-shadow:
    0 0 12px rgba(255, 150, 84, 0.24),
    0 0 28px rgba(255, 125, 64, 0.14);
}

.booster-guide-page .pack-card-article {
  min-width: 0;
}

.booster-guide-page .pack-card-article .card-title {
  min-width: 0;
  align-items: flex-start;
}

.booster-guide-page .booster-guide-card-meta {
  display: block;
  margin-bottom: 0;
}

.booster-guide-page .booster-guide-card-meta .pack-card-name {
  overflow-wrap: anywhere;
  margin: 0 0 0.55rem;
}

.booster-guide-page .pack-card-image {
  width: 100%;
  height: 100%;
}

.booster-guide-page .booster-guide-card-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(72, 191, 120, 0.52);
  background: rgba(72, 191, 120, 0.18);
  color: #dbffe7;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-align: left;
}

.booster-guide-page .booster-guide-card-pull-rate {
  margin-top: 0.5rem;
  color: rgba(245, 239, 233, 0.88);
  font-size: 0.82rem;
  line-height: 1.35;
}

.booster-guide-page .note-section .booster-guide-pack-stats {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  margin: 0.82rem 0 0.9rem;
}

.booster-guide-page .note-section .booster-guide-pack-msrp {
  margin: 0;
  color: rgba(245, 239, 233, 0.8);
  font-size: 0.92rem;
  line-height: 1.28;
}

.booster-guide-page .note-section .booster-guide-pack-hit-rate {
  margin: 0;
  color: rgba(245, 239, 233, 0.88);
  font-size: 0.92rem;
  line-height: 1.28;
}

.booster-guide-pack-hit-rate-value {
  margin-left: 0.3rem;
  vertical-align: baseline;
}

.booster-guide-explainer {
  margin: 0.38rem 0 0;
  color: rgba(245, 239, 233, 0.7);
  font-size: 0.8rem;
  line-height: 1.38;
}

.booster-guide-explainer--secondary {
  margin-top: 0.18rem;
  color: rgba(245, 239, 233, 0.58);
}

.booster-guide-pack-card-hit-rate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.08rem;
  margin-bottom: 0.36rem;
  color: rgba(245, 239, 233, 0.7);
  line-height: 1.2;
  text-align: center;
}

.booster-guide-pack-card-hit-rate-label {
  display: block;
  color: rgba(245, 239, 233, 0.56);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.booster-guide-pack-card-hit-rate-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.9rem;
  padding: 0.33rem 0.58rem 0.36rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.1;
}

.booster-guide-pack-card-hit-rate-value--high {
  background: rgba(49, 138, 92, 0.9);
  color: #f6fff8;
}

.booster-guide-pack-card-hit-rate-value--neutral,
.booster-guide-pack-card-hit-rate-value--medium,
.booster-guide-pack-card-hit-rate-value--na {
  background: rgba(88, 78, 74, 0.74);
  color: rgba(245, 239, 233, 0.92);
}

.booster-guide-pack-card-hit-rate-value--warning {
  background: rgba(193, 127, 33, 0.92);
  color: #fff9ef;
}

.booster-guide-pack-card-hit-rate-value--low {
  background: rgba(165, 58, 53, 0.92);
  color: #fff5f3;
}

.booster-guide-page .pack-card-footnote {
  margin-top: 0.65rem;
}

.orders-list {
  display: grid;
  gap: 0.9rem;
}

.order-card {
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: rgba(12, 10, 10, 0.48);
  overflow: hidden;
  padding: 0.85rem 0.95rem;
}

.order-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.order-card-section {
  min-width: 0;
  padding-right: 0;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 80, 50, 0.14);
}

.order-card-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.order-card-section-title {
  margin: 0 0 0.5rem;
  color: #ffb7ab;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.orders-group + .orders-group {
  margin-top: 1.35rem;
}

.orders-group-title {
  font-family: var(--ui-font);
  font-size: 1.08rem;
  margin: 0 0 0.55rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.orders-group-title span {
  color: var(--muted);
  font-size: 0.92rem;
}

.orders-group-empty {
  margin: 0 0 0.7rem;
  color: var(--muted);
}

.order-summary-line {
  margin-top: 0.35rem;
}

.orders-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 0;
  table-layout: fixed;
  background: rgba(12, 10, 10, 0.35);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
}

.orders-table th,
.orders-table td {
  border: 0;
  border-right: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  text-align: left;
  vertical-align: top;
  padding: 0.75rem;
  word-break: break-word;
}

.orders-table tr > *:last-child {
  border-right: 0;
}

.orders-table tbody tr:last-child td {
  border-bottom: 0;
}

.orders-table th {
  background: rgba(255, 80, 50, 0.12);
  color: #ffe4de;
  font-weight: 650;
}

.orders-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.orders-table small {
  color: var(--muted);
}

.order-created {
  margin-bottom: 0;
  font-weight: 600;
}

.order-id-chip {
  display: inline-flex;
  min-width: 0;
  width: fit-content;
  text-align: center;
  padding: 0.3rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 80, 50, 0.45);
  background: rgba(255, 80, 50, 0.14);
  color: #ffe4de;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-line {
  margin-top: 0.25rem;
}

.products-cell {
  min-width: 0;
}

.product-group {
  padding: 0.55rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.product-group + .product-group {
  margin-top: 0.55rem;
}

.product-group-title {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffb7ab;
  margin-bottom: 0.35rem;
}

.product-mini-card {
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(255, 80, 50, 0.22);
  border-radius: 10px;
  background: rgba(255, 80, 50, 0.06);
}

.product-mini-card + .product-mini-card {
  margin-top: 0.55rem;
}

.product-mini-row {
  display: grid;
  grid-template-columns: minmax(98px, 130px) minmax(0, 1fr);
  gap: 0.45rem;
  align-items: start;
  font-size: 0.92rem;
}

.product-mini-row + .product-mini-row {
  margin-top: 0.3rem;
}

.product-mini-row > span:first-child {
  color: var(--muted);
}

.product-mini-notes .custom-order-notes-body {
  margin-top: 0;
}

.product-mini-total {
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px dashed rgba(255, 80, 50, 0.26);
  min-height: 34px;
  align-items: center;
}

.product-estimate {
  margin-top: 0.7rem;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(255, 80, 50, 0.25);
  color: #ffe2da;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.product-links {
  margin: 0;
  padding-left: 1rem;
}

.custom-order-line,
.custom-order-notes-label,
.custom-order-notes-body {
  margin-top: 0.4rem;
}

.custom-order-notes-body {
  white-space: pre-wrap;
  color: var(--muted);
}

.empty-label {
  color: var(--muted);
  font-style: italic;
}

.status-cell {
  min-width: 0;
}

.price-cell {
  min-width: 0;
}

.status-display-row,
.price-display-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  margin-top: 0.35rem;
}

.price-display-amount {
  color: #ffe4de;
  font-weight: 700;
}

.price-display-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffb7ab;
}

.inline-edit-link,
.inline-cancel-link {
  background: transparent;
  border: 0;
  color: #ffb7ab;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  cursor: pointer;
  padding: 0;
  min-width: 0;
  font: inherit;
  line-height: 1.3;
}

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

.inline-edit-link {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.edit-icon-glyph {
  width: 16px;
  height: 16px;
  display: inline-block;
  background-color: currentColor;
  -webkit-mask: url("/assets/images/edit-icon.svg") center / contain no-repeat;
  mask: url("/assets/images/edit-icon.svg") center / contain no-repeat;
}

.inline-edit-link:hover,
.inline-edit-link:focus-visible,
.inline-cancel-link:hover,
.inline-cancel-link:focus-visible {
  color: #ffd6cc;
  box-shadow: none;
  text-shadow: none;
  border-bottom-color: transparent;
  outline: none;
}

.price-input {
  max-width: 170px;
}

.price-form-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.45rem;
}

.price-save-btn,
.price-cancel-btn,
.price-edit-btn {
  min-width: 72px;
}

.status-form {
  justify-items: start;
}

.status-select {
  min-width: 190px;
}

.status-save {
  min-width: 0;
  width: auto;
  justify-self: start;
}

.delete-order-btn {
  width: fit-content;
  min-width: 210px;
  background: rgba(170, 35, 30, 0.2);
  border-color: rgba(255, 95, 85, 0.58);
}

.delete-order-btn:hover,
.delete-order-btn:focus-visible {
  box-shadow:
    0 0 6px rgba(255, 110, 100, 0.35),
    0 0 18px rgba(255, 95, 85, 0.25);
}

.admin-confirm-wrap {
  max-width: 700px;
}

body.admin-dashboard-page {
  background:
    radial-gradient(900px 360px at 20% 30%, rgba(110, 38, 24, 0.24), transparent 68%),
    linear-gradient(120deg, rgba(10, 6, 5, 0.98), rgba(4, 3, 3, 1));
  padding-top: 0;
}

body.admin-dashboard-page::before,
body.admin-dashboard-page::after {
  display: none;
}

body.admin-modal-open {
  overflow: hidden;
}

.admin-dashboard-page .admin-dashboard-main {
  max-width: var(--content-wide);
  width: 100%;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 2.6vw, 1.8rem) 1.5rem;
}

.admin-edit-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
}

.admin-edit-modal-overlay.is-hidden {
  display: none;
}

.admin-edit-modal {
  width: min(460px, 100%);
  border: 1px solid rgba(255, 80, 50, 0.34);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(18, 11, 10, 0.98), rgba(8, 7, 7, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  padding: 1.05rem;
}

.admin-edit-modal h2 {
  margin: 0 0 0.75rem;
  font-family: var(--ui-font);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #ffb7ab;
}

.admin-edit-modal-context {
  margin: 0 0 0.75rem;
  color: #e8d4ca;
  font-size: 0.9rem;
  line-height: 1.55;
  white-space: pre-line;
  padding: 0.58rem 0.65rem;
  border: 1px solid rgba(255, 80, 50, 0.2);
  border-radius: 10px;
  background: rgba(255, 80, 50, 0.08);
}

.admin-edit-modal-helper {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.admin-edit-modal-form {
  display: grid;
  gap: 0.55rem;
}

.admin-edit-modal-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.3rem;
}

.admin-modal-btn {
  min-width: 84px;
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
}

.admin-modal-btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 80, 50, 0.28);
}

.admin-modal-btn-primary {
  background: rgba(255, 80, 50, 0.22);
  border-color: rgba(255, 80, 50, 0.64);
}

.product-mini-link {
  display: inline-block;
  width: fit-content;
  justify-self: start;
}

.custom-product-quote-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.custom-product-notes-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}

#productNotesInput {
  min-height: 180px;
  resize: vertical;
}

.custom-product-notes-wrap .inline-edit-link {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: 0;
}

.custom-product-notes-wrap .notes-edit-link {
  --notes-hit-size: 32px;
  --notes-icon-size: 16px;
  --notes-hit-offset: calc((var(--notes-hit-size) - var(--notes-icon-size)) / 2);
  width: var(--notes-hit-size);
  height: var(--notes-hit-size);
  min-width: var(--notes-hit-size);
  min-height: var(--notes-hit-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  transform: translate(var(--notes-hit-offset), calc(var(--notes-hit-offset) * -1));
}

.custom-product-notes-wrap .notes-edit-link .edit-icon-glyph {
  width: var(--notes-icon-size);
  height: var(--notes-icon-size);
  transform: none;
}

@media (max-width: 768px) {
  .custom-product-notes-wrap .notes-edit-link {
    --notes-hit-size: 44px;
  }
}

@media (max-width: 768px) {
  .inline-edit-link {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 980px) {
  .orders-list {
    gap: 0.8rem;
  }

  .order-card-grid {
    gap: 0.6rem;
  }

  .orders-table {
    border-radius: 10px;
    border-spacing: 0;
    table-layout: auto;
  }

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

  .orders-table tbody tr {
    display: block;
    border-bottom: 1px solid var(--card-border);
    padding: 0.2rem 0;
  }

  .orders-table tbody tr:last-child {
    border-bottom: 0;
  }

  .orders-table td {
    display: grid;
    grid-template-columns: minmax(90px, 120px) minmax(0, 1fr);
    gap: 0.5rem;
    align-items: start;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 80, 50, 0.14);
    padding: 0.62rem 0.68rem;
  }

  .orders-table td:last-child {
    border-bottom: 0;
  }

  .orders-table td::before {
    content: attr(data-label);
    color: #ffb7ab;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.35;
    font-weight: 650;
  }

  .status-select,
  .price-input {
    width: 100%;
    max-width: 100%;
  }

  .price-form-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .admin-dashboard-head {
    gap: 0.65rem;
  }

  .admin-user-tools {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.55rem 0.9rem;
  }
}

.success-wrap {
  max-width: 760px;
  margin: 3.2rem auto;
  text-align: left;
  padding: 2rem;
}

.success-head {
  margin-bottom: 1.1rem;
}

.success-head .divider {
  margin: 0.75rem 0 0;
}

.success-wrap .page-heading {
  margin-bottom: 0;
}

.success-lead {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.success-order-id {
  margin: 0.6rem 0 0.9rem;
  font-size: 1.08rem;
}

.success-order-id strong {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 80, 50, 0.55);
  background: rgba(255, 80, 50, 0.14);
}

.success-note {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

.success-back-link {
  margin-top: 0.15rem;
}

.pack-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 2032 / 2832;
  overflow: hidden;
  border-radius: 3.5% / 2.51%;
  margin-bottom: 0.75rem;
  background: rgba(5, 4, 4, 0.45);
}

.pack-card-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 107.874%;
  height: 105.65%;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: cover;
  display: block;
}

.pack-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-bottom: 0;
}

.pack-card-link:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 6px;
  border-radius: 12px;
}

.pack-card-article {
  display: block;
  color: inherit;
  text-decoration: none;
  border-bottom: 0;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.pack-card-article:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 6px;
}

.pack-card-article:hover,
.pack-card-article:focus-visible {
  color: inherit;
  text-shadow: none;
  border-bottom-color: transparent;
  box-shadow:
    0 0 0 1px rgba(255, 80, 50, 0.42) inset,
    0 0 10px rgba(255, 80, 50, 0.24),
    0 0 22px rgba(255, 80, 50, 0.18);
}

.pack-card-footnote {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.pack-note-section {
  margin: 0 auto 1.2rem;
}

.pack-note-section .page-note-measure {
  max-width: min(72ch, 100%);
}

.pack-intro-section p:last-child,
.pack-no-cards-section p:last-child {
  margin-bottom: 0;
}

.pack-value-section,
.pack-no-cards-section {
  margin: 0 auto 1.2rem;
}

.pack-footer-section {
  margin: 1.2rem auto 2.2rem;
}

.pack-cards-section {
  max-width: var(--content-wide);
  gap: 1rem;
}

.pack-card-padded {
  padding: 1rem;
}

.pack-card-title {
  margin-bottom: 0;
}

.pack-card-name {
  font-size: 0.9rem;
}

.pack-savings-row,
.pack-status-line.is-hidden {
  display: none;
}

.pack-status-line,
.pack-pricing-note {
  margin-top: 0.85rem;
}

.pack-cards-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pack-page {
  overflow-x: clip;
}

.pack-page .pack-card-article {
  min-width: 0;
}

.pack-page .pack-card-article .card-title {
  min-width: 0;
  align-items: flex-start;
  display: block;
}

.pack-page .pack-card-article h3 {
  overflow-wrap: anywhere;
  margin: 0 0 0.55rem;
}

.pack-page .pack-card-article .price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(72, 191, 120, 0.52);
  background: rgba(72, 191, 120, 0.18);
  color: #dbffe7;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-align: left;
}

.pack-page .pack-card-footnote {
  margin-top: 0.65rem;
}

.confirm-meta {
  margin: 1rem 0 1.2rem;
  padding: 0.8rem;
}

.confirm-meta div + div {
  margin-top: 0.35rem;
}

.confirm-delete-form {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.cancel-delete-link {
  border-bottom: none;
  color: var(--muted);
}

@media (min-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card.full { grid-column: 1 / -1; }
  .pack-cards-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(1.95rem, 5.2vw, 3.15rem); }
}

@media (max-width: 768px) {
  body {
    padding-top: 68px;
  }

  .page-header {
    margin-top: 0.2rem;
  }

  .page-breadcrumbs {
    margin: 0.12rem 0 0.16rem;
  }

  .page-breadcrumbs ol {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.14rem;
  }

  .page-breadcrumbs li {
    display: block;
    width: 100%;
    text-align: left;
  }

  .page-breadcrumbs li + li::before {
    content: none;
  }

  .page-breadcrumbs li:not(:last-child)::after {
    content: " /";
    color: rgba(255, 205, 188, 0.42);
  }

  .page-breadcrumbs a,
  .page-breadcrumb-current {
    font-size: 0.7rem;
    letter-spacing: 0.07em;
  }

  .page-heading {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 0.28rem;
  }

  .page-divider {
    width: 120px;
    margin-bottom: 0.42rem;
  }

  .home-page {
    padding-top: 56px;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-qty,
  .product-add-btn {
    width: 100%;
  }

  .proxy-hero-inner {
    grid-template-columns: 1fr;
  }

  .proxy-hero-copy p {
    max-width: none;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer-copy {
    text-align: left;
  }

  .site-nav {
    margin-bottom: 0.8rem;
    overflow-y: visible;
    text-align: left;
  }

  .site-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0.55rem 0.7rem;
    position: relative;
    z-index: 182;
    background: transparent;
    box-shadow: none;
  }

  .site-nav-mobile-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    position: absolute;
    top: 0.55rem;
    right: 0.7rem;
    z-index: 182;
    border: 1px solid rgba(255, 80, 50, 0.45);
    background: rgba(8, 7, 6, 0.82);
    color: #fff6f2;
    border-radius: 10px;
    padding: 0.45rem 0.75rem;
    min-height: 44px;
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
  }

  .site-nav > .site-nav-mobile-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0.55rem;
    left: 50%;
    transform: translateX(-50%);
    min-height: 44px;
    z-index: 181;
    border: 0;
    text-decoration: none;
  }

  .site-nav-mobile-brand-logo {
    display: block;
    height: 22px;
    width: auto;
    max-width: min(42vw, 170px);
  }

  .site-nav-mobile-cart .site-nav-badge {
    margin-left: 0.35rem;
  }

  .site-nav-mobile-cart .site-nav-cart-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
  }

  .site-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.56);
    border: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
    z-index: 176;
  }

  .site-nav-list {
    position: fixed;
    top: 0;
    left: 0;
    width: min(86vw, 360px);
    height: 100dvh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 3.75rem 0.9rem 1.1rem;
    background: rgba(7, 5, 5, 0.98);
    border-right: 1px solid rgba(255, 80, 50, 0.26);
    box-shadow: 14px 0 30px rgba(0, 0, 0, 0.45);
    transform: translateX(-104%);
    transition: transform 200ms ease;
    z-index: 180;
  }

  .site-nav-item-home,
  .site-nav-item-proxies,
  .site-nav-item-pod,
  .site-nav-item-booster-guide,
  .site-nav-item-cart {
    order: initial;
    margin-left: 0;
  }

  .site-nav-list > li,
  .site-submenu > li {
    width: 100%;
  }

  .site-nav a,
  .site-nav-label,
  .site-nav-placeholder {
    width: 100%;
    justify-content: flex-start;
    min-height: 44px;
    padding: 0.6rem 0.5rem;
    font-size: 0.84rem;
    border-bottom: 1px solid rgba(255, 80, 50, 0.12);
  }

  .site-nav-item-proxies > .site-nav-parent-link {
    min-height: 44px;
    padding: 0.6rem 0.5rem;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--text);
    font-weight: 650;
    letter-spacing: 0.08em;
    animation: none;
    text-shadow: none;
  }

  .site-nav-item-proxies > .site-nav-parent-link:hover,
  .site-nav-item-proxies > .site-nav-parent-link:focus-visible,
  .site-nav-item-proxies:hover > .site-nav-parent-link,
  .site-nav-item-proxies:focus-within > .site-nav-parent-link,
  .site-nav-item-proxies > .site-nav-parent-link[aria-current="page"] {
    background: transparent;
    box-shadow: none;
    color: var(--text);
  }

  .site-nav-parent-link::after {
    display: none;
  }

  .site-nav > .site-nav-mobile-cart {
    display: inline-flex;
    width: auto;
    justify-content: center;
    min-height: 44px;
    padding: 0.45rem 0.75rem;
    border-bottom: none;
  }

  .site-nav-cart-item {
    display: none;
  }

  .site-nav [aria-current="page"] {
    box-shadow: none;
    background: transparent;
  }

  .site-nav-home-icon {
    width: 100% !important;
    justify-content: flex-start !important;
    border-bottom: 1px solid rgba(255, 80, 50, 0.12) !important;
    margin-bottom: 0;
    padding: 0.55rem 0.5rem;
  }

  .site-home-icon-mark {
    display: none;
  }

  .site-home-icon-logo {
    display: block;
  }

  .site-nav.is-open .site-nav-list {
    transform: translateX(0);
  }

  .site-nav.is-open .site-nav-mobile-cart {
    z-index: 175;
  }

  .site-nav.is-open .site-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .site-submenu {
    position: static;
    left: auto;
    top: auto;
    min-width: 0;
    margin-top: 0;
    display: block;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 0 0.32rem 0.7rem;
  }

  .has-submenu::after {
    display: none;
  }

  .site-submenu li + li {
    margin-top: 0.32rem;
  }

  .pack-page .pack-card-article .card-title {
    display: block;
  }

  .pack-page .pack-card-name {
    font-size: 0.8rem;
    line-height: 1.25;
  }

  .pack-page .pack-card-article .price {
    margin-top: 0;
    text-align: left;
  }

  .booster-guide-page .pack-card-name {
    font-size: 0.8rem;
    line-height: 1.25;
  }

  .booster-guide-page .booster-guide-card-price {
    margin-top: 0;
    text-align: left;
  }

  .booster-guide-sort-toggle-row {
    margin-top: 0.95rem;
  }

  .booster-guide-sort-toggle {
    width: 100%;
    max-width: 31rem;
  }

  .booster-guide-sort-toggle-btn {
    flex: 1 1 50%;
    justify-content: center;
    padding: 0.85rem 0.9rem;
  }

  .deck-row {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-head {
    display: block;
    padding-bottom: 0.75rem;
  }

  .admin-dashboard-head h1 {
    margin-bottom: 0.55rem;
  }

  .admin-user-tools {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.42rem;
  }

  .admin-email,
  .admin-user-tools a {
    display: block;
    line-height: 1.35;
    text-align: center;
  }

  .admin-dashboard-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.25rem;
  }

  .pricing-cache-stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .ember,
  .heat,
  .signature img {
    animation: none !important;
  }
  .embers { display: none; }
}

/* Pod Shuffler */
    :root {
      --pod-border: rgba(255, 80, 50, 0.2);
      --pod-text: var(--text);
      --pod-danger: #c1262a;
      --pod-danger-dark: #991d22;
      --pod-focus: #ffb400;
      --pod-line-height-px: 26px;
      --pod-row-control-height: calc((0.54rem * 2) + var(--pod-line-height-px) + 2px);
    }

    .pod-cards {
      max-width: var(--content-wide);
      margin: 0 auto 2rem;
    }

    .pod-page main {
      padding: 0 var(--pad-x) var(--main-footer-gap);
    }

    .pod-shell {
      width: 100%;
    }

    .pod-shell > p {
      margin-bottom: 1rem;
    }

    .pod-subtitle {
      color: var(--muted);
    }

    .pod-help-card {
      margin: 0 0 1rem;
      border: 1px solid rgba(255, 80, 50, 0.24);
      border-radius: 12px;
      background: linear-gradient(180deg, rgba(255, 80, 50, 0.10), rgba(255, 80, 50, 0.04));
      padding: 0.72rem 0.8rem;
    }

    .pod-help-title {
      margin: 0 0 0.45rem;
      color: #ffe2da;
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .pod-help-text {
      margin: 0;
      color: var(--muted);
      font-size: 0.9rem;
      line-height: 1.5;
    }

    .pod-inline-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 1.5rem;
      height: 1.5rem;
      border-radius: 8px;
      border: 1px solid rgba(255, 80, 50, 0.24);
      background: rgba(0, 0, 0, 0.35);
      color: #ffd6cc;
      font-weight: 700;
      font-size: 0.95rem;
      line-height: 1;
      vertical-align: middle;
    }

    .pod-rows {
      display: grid;
      gap: 0.3rem;
      margin-bottom: 0.75rem;
    }

    .pod-row {
      display: block;
    }

    .pod-row-main {
      display: flex;
      gap: 0.3rem;
      align-items: center;
    }

    .pod-row-controls {
      margin-left: auto;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0.24rem;
    }

    .pod-row-badge-list {
      min-height: var(--pod-row-control-height);
      display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0.24rem;
    }

    .pod-row-badge-list.is-hidden {
      display: none;
    }

    .pod-row-badge {
      min-width: var(--pod-row-control-height);
      width: var(--pod-row-control-height);
      height: var(--pod-row-control-height);
      border: 1px solid rgba(255, 80, 50, 0.25);
      border-radius: 10px;
      background: rgba(0, 0, 0, 0.35);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--text);
      font-size: 0.95rem;
      cursor: help;
    }

    .pod-row-badge.is-hidden {
      display: none;
    }

    .pod-input {
      width: 100%;
      min-width: 0;
      flex: 1 1 0;
      border: 0;
      margin: 0;
      padding: 0.54rem 0.75rem;
      color: var(--pod-text);
      font-family: var(--ui-font);
      font-size: 1rem;
      font-weight: 400;
      line-height: var(--pod-line-height-px);
      background: rgba(5, 4, 4, 0.55);
      border-radius: 0.5rem;
      border: 1px solid rgba(255, 80, 50, 0.25);
      transition: box-shadow 140ms ease;
    }

    .pod-input:focus {
      outline: none;
      box-shadow: inset 0 0 0 2px var(--accent);
    }

    .pod-row.is-duplicate .pod-input {
      background: rgba(186, 74, 54, 0.36);
      border-color: rgba(255, 140, 110, 0.6);
    }

    .pod-row-inline-error {
      margin: 0.2rem 0 0.05rem;
      padding-left: 0.25rem;
      color: #ffb6a1;
      font-size: 0.78rem;
      line-height: 1.3;
    }

    .pod-row-options {
      min-width: var(--pod-row-control-height) !important;
      width: var(--pod-row-control-height);
      height: var(--pod-row-control-height);
      padding: 0;
      font-size: 1.3rem;
      line-height: 1;
      border-radius: 10px;
    }

    .pod-row-options[disabled] {
      opacity: 0.45;
      cursor: not-allowed;
    }

    .pod-row-menu-wrap {
      position: relative;
      display: inline-flex;
    }

    .pod-row-menu {
      position: absolute;
      right: 0;
      top: calc(100% + 0.24rem);
      min-width: 180px;
      border: 1px solid rgba(255, 80, 50, 0.26);
      border-radius: 10px;
      background: #120d0c;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
      padding: 0.28rem;
      z-index: 12;
    }

    .pod-row-menu-item {
      width: 100%;
      min-width: 0;
      text-align: left;
      border: 1px solid transparent;
      border-radius: 8px;
      background: transparent;
      color: var(--text);
      padding: 0.48rem 0.55rem;
      font-size: 0.88rem;
    }

    .pod-row-menu-item:hover,
    .pod-row-menu-item:focus-visible {
      background: rgba(255, 80, 50, 0.14);
      border-color: rgba(255, 80, 50, 0.32);
    }

    .pod-row-menu-item-danger {
      color: #ffd2c8;
    }

    .pod-actions-settings-btn {
      min-width: var(--pod-row-control-height) !important;
      width: var(--pod-row-control-height);
      height: var(--pod-row-control-height);
      padding: 0;
      font-size: 1.3rem;
      line-height: 1;
      border-radius: 10px;
    }

    .pod-check-label {
      display: flex;
      gap: 0;
      align-items: center;
      justify-content: center;
      color: var(--text);
      line-height: 1.35;
      margin: 0;
      width: 100%;
    }

    .pod-check-label input[type="checkbox"],
    .pod-check-label input[type="radio"] {
      margin-top: 0;
      width: 18px;
      height: 18px;
      accent-color: var(--accent);
      flex: 0 0 auto;
    }

    .pod-check-copy small {
      display: block;
      color: var(--muted);
      font-size: 0.82rem;
      margin-top: 0.2rem;
    }

    .pod-check-copy small:empty {
      display: none;
    }

    .pod-shuffle-setting-row.is-disabled .pod-check-copy {
      opacity: 0.52;
    }

    .pod-check-label input[type="checkbox"]:disabled,
    .pod-check-label input[type="radio"]:disabled {
      opacity: 0.5;
      filter: grayscale(1);
      cursor: not-allowed;
    }

    .pod-badge-tooltip {
      position: fixed;
      z-index: 40;
      max-width: 220px;
      padding: 0.45rem 0.55rem;
      border-radius: 8px;
      border: 1px solid rgba(255, 80, 50, 0.24);
      background: #130e0d;
      color: #ffe8df;
      font-size: 0.82rem;
      line-height: 1.35;
      white-space: pre-line;
      pointer-events: none;
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
    }

    .pod-modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.55);
      display: grid;
      place-items: center;
      padding: 1rem;
      z-index: 30;
    }

    .pod-reshuffle-overlay {
      position: fixed;
      inset: 0;
      display: grid;
      place-items: center;
      background: rgba(0, 0, 0, 0.3);
      z-index: 60;
      pointer-events: all;
    }

    .pod-reshuffle-chip {
      padding: 1.35rem 2.025rem;
      border: 1px solid rgba(255, 80, 50, 0.7);
      border-radius: 10px;
      background: #120d0c;
      color: #fff4f1;
      font-size: 1.2rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    }

    .pod-modal {
      width: min(720px, 100%);
      max-height: 90vh;
      border: 1px solid var(--pod-border);
      border-radius: 0.6rem;
      padding: 0.7rem;
      background: #120d0c;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    #shuffleSettingsModalOverlay {
      padding: 2em;
    }

    .pod-shuffle-settings-modal {
      width: min(640px, 100%);
      max-height: calc(100vh - 4em);
      padding: 0;
      display: flex;
      flex-direction: column;
    }

    .pod-shuffle-settings-head {
      margin: 0;
      padding: 0.95rem 1rem 0.8rem;
      border-bottom: 1px solid rgba(255, 80, 50, 0.2);
      background: linear-gradient(160deg, rgba(255, 80, 50, 0.18), rgba(186, 66, 28, 0.12));
      flex: 0 0 auto;
    }

    .pod-shuffle-settings-title {
      margin: 0;
      color: #fff7f5;
      font-size: 1.22rem;
      font-weight: 700;
      line-height: 1.2;
      text-transform: none;
    }

    .pod-shuffle-settings-body {
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto;
      padding: 1.2rem 1.2rem;
      display: grid;
      gap: 1.5rem;
      align-content: start;
    }

    .pod-shuffle-setting-block {
      padding: 0.45rem 0.4rem;
    }

    .pod-shuffle-setting-heading {
      margin: 0 0 0.3em;
      color: #f8ede8;
      font-size: 0.95rem;
      font-weight: 620;
      line-height: 1.3;
      letter-spacing: 0.01em;
    }

    .pod-shuffle-setting-text {
      margin: 0 0 0.42rem;
      color: var(--muted);
      font-size: 0.88rem;
      line-height: 1.4;
      font-style: italic;
    }

    .pod-shuffle-setting-select {
      width: 100%;
      min-height: 3rem;
      padding: 0.85rem 2.65rem 0.85rem 0.95rem;
      border: 1px solid rgba(255, 80, 50, 0.4);
      border-radius: 10px;
      background: #100c0b;
      color: var(--text);
      font: inherit;
      line-height: 1.2;
      appearance: none;
      -webkit-appearance: none;
      background-image: linear-gradient(45deg, transparent 50%, rgba(255, 205, 191, 0.9) 50%), linear-gradient(135deg, rgba(255, 205, 191, 0.9) 50%, transparent 50%);
      background-position: calc(100% - 19px) 50%, calc(100% - 12px) 50%;
      background-size: 7px 7px, 7px 7px;
      background-repeat: no-repeat;
    }

    .pod-shuffle-setting-select:focus-visible {
      outline: none;
      border-color: rgba(255, 80, 50, 0.72);
      box-shadow: 0 0 0 1px rgba(255, 80, 50, 0.32);
    }

    .pod-shuffle-settings-actions {
      flex: 0 0 auto;
      border-top: 1px solid rgba(255, 80, 50, 0.2);
      padding: 0.75rem 1rem 0.9rem;
      margin-top: 0;
      background: rgba(10, 8, 8, 0.96);
    }

    #settingsModalOverlay {
      padding: 2em;
    }

    .pod-player-settings-modal {
      width: min(760px, 100%);
      height: calc(100vh - 4em);
      max-height: calc(100vh - 4em);
      padding: 0;
      display: grid;
      grid-template-rows: auto minmax(0, 1fr) auto;
      min-height: 0;
    }

    .pod-player-settings-head {
      margin: 0;
      padding: 0.95rem 1rem 0.82rem;
      border-bottom: 1px solid rgba(255, 80, 50, 0.2);
      background: linear-gradient(160deg, rgba(255, 80, 50, 0.18), rgba(186, 66, 28, 0.12));
    }

    .pod-player-settings-title {
      margin: 0;
      color: #fff7f5;
      font-size: 1.22rem;
      font-weight: 700;
      line-height: 1.2;
      text-transform: none;
    }

    .pod-player-settings-subtitle {
      margin: 0.28rem 0 0;
      color: var(--muted);
      font-size: 0.9rem;
      line-height: 1.3;
    }

    .pod-player-settings-body {
      min-height: 0;
      max-height: 100%;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
      padding: 1.2rem;
      display: block;
    }

    .pod-player-settings-body > * + * {
      margin-top: 1.2rem;
    }

    .pod-player-setting-block {
      display: grid;
      gap: 0.48rem;
    }

    .pod-player-pairings-intro {
      gap: 0.34rem;
    }

    .pod-player-setting-heading {
      margin: 0;
      color: #f8ede8;
      font-size: 0.97rem;
      font-weight: 620;
      line-height: 1.3;
      letter-spacing: 0.01em;
      text-transform: none;
    }

    .pod-player-setting-text {
      margin: 0;
      color: var(--muted);
      font-size: 0.88rem;
      line-height: 1.4;
      font-style: italic;
    }

    .pod-player-bracket-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0.45rem;
      margin-top: 0.15rem;
    }

    .pod-player-bracket-option {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--text);
      font-size: 0.93rem;
      line-height: 1.25;
      min-height: auto;
      margin: 0;
    }

    .pod-player-bracket-option input[type="checkbox"] {
      width: 18px;
      height: 18px;
      margin: 0;
      accent-color: var(--accent);
    }

    .pod-player-pairings-scroll {
      margin-top: 1rem;
      border: 1px solid rgba(255, 80, 50, 0.16);
      border-radius: 10px;
      background: #120d0c;
      overflow: hidden;
    }

    .pod-player-pairings-table td:nth-child(2),
    .pod-player-pairings-table td:nth-child(3) {
      width: 116px;
      text-align: center;
      padding-top: 0.62rem;
      padding-bottom: 0.28rem;
    }

    .pod-player-pairings-table td {
      vertical-align: middle;
    }

    .pod-player-pairings-table td:nth-child(2) {
      padding-right: 1.1rem;
    }

    .pod-player-pairings-table td:nth-child(3) {
      padding-left: 1.1rem;
    }

    .pod-player-pairings-table td:last-child {
      padding-right: 1rem;
    }

    .pod-player-pairing-control {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      min-height: 30px;
      color: var(--text);
      font-size: 0.95rem;
      line-height: 1;
    }

    .pod-player-pairings-table tbody {
      position: relative;
      z-index: 1;
    }

    .pod-player-settings-actions {
      border-top: 1px solid rgba(255, 80, 50, 0.2);
      padding: 0.75rem 1rem 0.9rem;
      margin-top: 0;
      background: rgba(10, 8, 8, 0.96);
    }

    @media (min-width: 769px) {
      .pod-player-bracket-option {
        min-height: 30px;
      }
    }

    .pod-modal-compact {
      width: min(520px, 100%);
    }

    .pod-settings-head {
      margin: 0 0 0.65rem;
      border: 1px solid rgba(255, 80, 50, 0.38);
      border-radius: 12px;
      padding: 0.82rem 0.88rem;
      background: linear-gradient(160deg, rgba(255, 80, 50, 0.30), rgba(186, 66, 28, 0.22));
      box-shadow: inset 0 0 0 1px rgba(255, 184, 162, 0.15);
    }

    .pod-settings-eyebrow {
      display: block;
      color: #ffe2da;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 0.2rem;
    }

    .pod-settings-title {
      display: block;
      color: #fff7f5;
      font-size: 1.12rem;
      font-weight: 700;
      line-height: 1.25;
    }

    .pod-settings-note {
      margin: 0 0 0.7rem;
      padding: 0.55rem 0.65rem;
      border: 1px solid rgba(255, 80, 50, 0.2);
      border-radius: 10px;
      background: rgba(255, 80, 50, 0.08);
      color: var(--muted);
      font-size: 0.84rem;
      line-height: 1.4;
    }

    .pod-settings-table {
      --pod-settings-sticky-title-h: 36px;
      --pod-settings-sticky-note-h: 44px;
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      font-size: 0.92rem;
    }

    .pod-settings-scroll {
      position: relative;
      overflow: auto;
      margin-bottom: 0.75rem;
      border: 1px solid rgba(255, 80, 50, 0.16);
      border-radius: 10px;
      background: #120d0c;
      overflow-x: hidden;
      isolation: isolate;
    }

    .pod-settings-static-section {
      margin-bottom: 0.6rem;
      border: 1px solid rgba(255, 80, 50, 0.16);
      border-radius: 10px;
      background: #120d0c;
    }

    .pod-settings-pref-table tbody td:last-child {
      width: 56px;
      text-align: center;
    }

    .pod-settings-pref-table .pod-check-label {
      justify-content: center;
      width: 100%;
      padding: 0;
    }

    .pod-settings-pref-table .pod-check-label input[type="checkbox"] {
      margin: 0;
    }

    .pod-settings-table th,
    .pod-settings-table td {
      border-bottom: 1px solid rgba(255, 80, 50, 0.12);
      padding: 0.45rem 0.35rem;
      text-align: left;
      color: var(--text);
    }

    .pod-settings-table th:first-child,
    .pod-settings-table td:first-child {
      padding-left: 0.8rem;
    }

    .pod-settings-table tbody td {
      background: #120d0c;
    }

    .pod-settings-scroll .pod-settings-table thead {
      position: sticky;
      top: -1px;
      z-index: 40;
    }

    .pod-settings-scroll .pod-settings-table tbody {
      position: relative;
      z-index: 1;
    }

    .pod-settings-scroll .pod-settings-table tbody td {
      position: relative;
      z-index: 1;
    }

    .pod-settings-scroll .pod-settings-table thead th {
      position: relative;
      z-index: 41;
    }

    .pod-settings-row-title th {
      z-index: 5;
      padding: 0.5rem 0.8rem;
      min-height: var(--pod-settings-sticky-title-h);
      background: #5f3827;
      color: #f8ede8;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      border-bottom: 1px solid rgba(255, 80, 50, 0.22);
      box-shadow: 0 1px 0 rgba(0, 0, 0, 0.28);
    }

    .pod-settings-row-note th {
      z-index: 4;
      padding: 0.5rem 0.8rem;
      min-height: var(--pod-settings-sticky-note-h);
      background: #231714;
      color: var(--muted);
      font-size: 0.82rem;
      line-height: 1.4;
      text-transform: none;
      letter-spacing: normal;
      text-align: left;
      border-bottom: 1px solid rgba(255, 80, 50, 0.18);
    }

    .pod-settings-row-columns th {
      z-index: 3;
      background: #120d0c;
      color: #f8ede8;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      border-bottom: 1px solid rgba(255, 80, 50, 0.22);
      box-shadow: 0 1px 0 rgba(0, 0, 0, 0.28);
    }

    .pod-settings-table th:nth-child(2),
    .pod-settings-table th:nth-child(3),
    .pod-settings-table td:nth-child(2),
    .pod-settings-table td:nth-child(3) {
      width: 56px;
      text-align: center;
    }

    .pod-settings-table input[type="checkbox"] {
      width: 18px;
      height: 18px;
      margin: 0;
      accent-color: var(--accent);
    }

    .pod-modal-actions {
      display: flex;
      justify-content: flex-end;
      gap: 0.55rem;
    }

    .pod-error {
      min-height: 1.35rem;
      margin: 0.55rem 0 0;
      color: var(--pod-danger);
      font-size: 0.92rem;
      font-weight: 600;
    }

    .pod-actions {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      display: flex;
      gap: 0.6rem;
      justify-content: flex-end;
      padding: 0.7rem 0.8rem;
      border-top: 1px solid var(--pod-border);
      background: rgba(4, 3, 3, 0.72);
    }

    .pod-btn {
      min-width: 110px;
    }

    .pod-btn:focus-visible {
      outline: 3px solid var(--pod-focus);
      outline-offset: 2px;
    }

    .pod-btn-primary {
      background: rgba(255, 80, 50, 0.28);
      border-color: rgba(255, 80, 50, 0.85);
      color: #fff5f3;
      font-weight: 650;
    }

    .pod-btn.is-inactive {
      opacity: 0.52;
      filter: saturate(0.75);
      cursor: not-allowed;
      box-shadow: none;
    }

    .pod-btn-clear {
      color: #fff;
      background: rgba(170, 35, 35, 0.32);
      border-color: var(--pod-danger-dark);
    }

    .pod-btn-neutral {
      background: rgba(255, 80, 50, 0.14);
      border-color: rgba(255, 80, 50, 0.55);
      color: var(--text);
    }

    .pod-results {
      margin-top: 0.8rem;
    }

    .pod-count {
      margin: 0 0 0.75rem;
      color: var(--muted);
      font-size: 0.96rem;
      font-weight: 700;
    }

    .pod-table {
      border: 1px solid var(--pod-border);
      border-radius: 0.75rem;
      overflow: hidden;
      background: rgba(0, 0, 0, 0.32);
      margin: 0 0 0.75rem;
    }

    .pod-table:last-child {
      margin-bottom: 0;
    }

    .pod-table h2 {
      margin: 0;
      padding: 0.62rem 0.8rem;
      font-size: 1rem;
      letter-spacing: 0.08em;
      color: var(--text);
      text-transform: uppercase;
      background: rgba(255, 80, 50, 0.12);
      border-bottom: 1px solid var(--pod-border);
    }

    .pod-players {
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .pod-players li {
      padding: 0.56rem 0.8rem;
      border-bottom: 1px solid rgba(255, 80, 50, 0.12);
      color: var(--text);
      font-size: 0.98rem;
      line-height: 1.34;
      word-break: break-word;
    }

    .pod-players li:nth-child(even) {
      background: rgba(255, 255, 255, 0.03);
    }

    .pod-players li:last-child {
      border-bottom: 0;
    }

    .pod-actions-static {
      position: static;
      margin-top: 0.8rem;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      left: auto;
      right: auto;
      bottom: auto;
    }

    #displayViewBtn {
      margin-right: auto;
    }

    .pod-edit-label-mobile {
      display: none;
    }

    .pod-display-overlay {
      position: fixed;
      inset: 0;
      z-index: 140;
      background: #0b0908;
      padding: 0.85rem 3.8rem 3.8rem;
      overflow: hidden;
    }

    .pod-display-overlay::after {
      content: "";
      position: absolute;
      inset: 0;
      background-image: url("/assets/images/scales.png");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      opacity: 0.15;
      pointer-events: none;
      z-index: 0;
    }

    .pod-display-overlay::before {
      content: "";
      position: absolute;
      inset: -20%;
      pointer-events: none;
      z-index: 1;
      background:
        radial-gradient(900px 520px at 50% -10%, rgba(255, 70, 45, 0.18), transparent 70%),
        radial-gradient(720px 420px at 30% 12%, rgba(255, 80, 50, 0.12), transparent 65%),
        radial-gradient(720px 420px at 70% 12%, rgba(160, 35, 25, 0.14), transparent 65%),
        radial-gradient(900px 600px at 50% 110%, rgba(255, 60, 40, 0.08), transparent 60%);
      animation:
        bgBreath 9.5s ease-in-out infinite,
        glowFlicker 2.8s linear infinite;
      mix-blend-mode: screen;
      will-change: opacity, transform, filter;
    }

    .pod-display-overlay .heat,
    .pod-display-overlay .embers {
      z-index: 2;
    }

    .pod-display-close {
      position: absolute;
      top: 1.25rem;
      right: 1.25rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 42px;
      width: 42px;
      height: 42px;
      padding: 0;
      border-radius: 10px;
      font-size: 1.15rem;
      line-height: 1;
      z-index: 6;
      pointer-events: auto;
    }

    .pod-display-brand {
      position: absolute;
      top: 1.25rem;
      left: 50%;
      transform: translateX(-50%);
      height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      z-index: 6;
      pointer-events: none;
    }

    .pod-display-brand img {
      display: block;
      height: 32px;
      width: auto;
      max-width: min(44vw, 220px);
    }

    .pod-display-overlay.is-showing-ad .pod-display-layout {
      filter: blur(2px) saturate(0.82);
      transform: scale(0.992);
    }

    .pod-display-ad-modal {
      position: absolute;
      inset: 0;
      z-index: 5;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: calc(42px + 2.9rem) 1.25rem 1.5rem;
      background: rgba(7, 6, 5, 0.46);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }

    .pod-display-ad-content {
      width: min(1100px, 100%);
      max-height: calc(100vh - 6rem);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .pod-display-ad-card.proxy-hero {
      width: 100%;
      padding: 0;
      border: 1px solid rgba(255, 145, 108, 0.22);
      border-radius: 24px;
      overflow: hidden;
      box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.42),
        0 0 40px rgba(255, 92, 56, 0.12);
    }

    .pod-display-ad-card .proxy-hero-inner {
      max-width: none;
      margin: 0;
      min-height: min(680px, calc(100vh - 7rem));
      flex-direction: row;
      gap: 0;
      align-items: stretch;
      text-align: left;
    }

    .pod-display-ad-card .proxy-hero-copy {
      flex: 1 1 52%;
      align-items: flex-start;
      justify-content: center;
      gap: 0;
      padding: clamp(1.6rem, 3vw, 2.75rem);
      text-align: left;
    }

    .pod-display-ad-card .proxy-hero-copy h2 {
      margin-bottom: 0.95rem;
      font-family: var(--ui-font);
      font-size: clamp(2rem, 4vw, 3.15rem);
      font-weight: 700;
      letter-spacing: 0.03em;
      line-height: 1.02;
      text-transform: none;
    }

    .pod-display-ad-card .proxy-hero-copy p {
      max-width: none;
      margin-bottom: 0.9rem;
      font-size: clamp(1rem, 1.45vw, 1.16rem);
      line-height: 1.7;
    }

    .pod-display-ad-card .proxy-hero-offer {
      justify-content: flex-start;
      margin-bottom: 0;
    }

    .pod-display-ad-card .proxy-hero-offer-label {
      font-size: 0.76rem;
    }

    .pod-display-ad-card .proxy-hero-offer-value {
      font-size: clamp(2rem, 4vw, 3rem);
    }

    .pod-display-ad-card .proxy-hero-media {
      flex: 1 1 48%;
      width: auto;
      min-width: 0;
      min-height: 0;
      display: flex;
      align-items: stretch;
      justify-content: stretch;
      background: rgba(0, 0, 0, 0.1);
    }

    .pod-display-ad-card .proxy-hero-media img {
      height: 100%;
      object-fit: contain;
    }

    .pod-display-ad-footer {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      margin-top: auto;
      padding-top: 1.15rem;
      border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .pod-display-ad-cta {
      color: #fff6f0;
      font-size: 0.92rem;
      font-weight: 800;
      letter-spacing: 0.14em;
      line-height: 1.45;
      text-transform: uppercase;
      text-shadow:
        0 0 10px rgba(255, 114, 68, 0.18),
        0 0 18px rgba(255, 80, 50, 0.12);
    }

    .pod-display-ad-dismiss {
      min-width: 148px;
      flex: 0 0 auto;
    }

    .pod-display-layout {
      --display-table-max: 400px;
      --display-gap: 2.6rem;
      --display-heading-py: 0.6rem;
      --display-heading-px: 0.78rem;
      --display-heading-size: 1.104rem;
      --display-row-py: 0.48rem;
      --display-row-px: 0.78rem;
      --display-row-size: 1.056rem;
      position: relative;
      z-index: 4;
      height: 100%;
      display: grid;
      grid-template-columns: repeat(var(--display-cols, 1), minmax(0, var(--display-table-max)));
      grid-auto-rows: min-content;
      gap: var(--display-gap);
      padding-top: calc(1.25rem + 42px + 3.8rem);
      overflow: hidden;
      align-content: start;
      align-items: start;
      justify-content: center;
      transition: filter 180ms ease, transform 180ms ease;
    }

    .pod-display-layout.is-compact {
      --display-table-max: 340px;
      --display-gap: 1.9rem;
      --display-heading-py: 0.5rem;
      --display-heading-px: 0.64rem;
      --display-heading-size: 0.98rem;
      --display-row-py: 0.4rem;
      --display-row-px: 0.64rem;
      --display-row-size: 0.94rem;
    }

    .pod-display-layout.is-ultra {
      --display-table-max: 300px;
      --display-gap: 1.2rem;
      --display-heading-py: 0.42rem;
      --display-heading-px: 0.52rem;
      --display-heading-size: 0.88rem;
      --display-row-py: 0.33rem;
      --display-row-px: 0.52rem;
      --display-row-size: 0.84rem;
    }

    .pod-display-table {
      width: 100%;
      max-width: var(--display-table-max);
      border: 1px solid var(--pod-border);
      border-radius: 12px;
      background: rgba(0, 0, 0, 0.38);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      align-self: start;
    }

    .pod-display-table h2 {
      margin: 0;
      padding: var(--display-heading-py) var(--display-heading-px);
      font-size: var(--display-heading-size);
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--text);
      background: rgba(255, 80, 50, 0.14);
      border-bottom: 1px solid rgba(255, 80, 50, 0.2);
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .pod-display-bracket-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.16em 0.58em;
      border: 1px solid rgba(255, 125, 60, 0.78);
      border-radius: 999px;
      background: rgba(255, 100, 40, 0.24);
      color: #ffd8c3;
      font-size: 0.72em;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: none;
      line-height: 1.1;
      white-space: nowrap;
      box-shadow: 0 0 0 rgba(255, 100, 40, 0.35);
      animation: podBracketPulse 1.8s ease-in-out infinite;
    }

    @keyframes podBracketPulse {
      0%, 100% {
        box-shadow:
          0 0 0 rgba(255, 100, 40, 0.28),
          0 0 0 rgba(255, 130, 70, 0.20);
      }
      50% {
        box-shadow:
          0 0 10px rgba(255, 100, 40, 0.48),
          0 0 18px rgba(255, 130, 70, 0.34);
      }
    }

    .pod-display-players {
      margin: 0;
      padding: 0;
      list-style: none;
      display: flex;
      flex-direction: column;
      min-height: 0;
      flex: 1 1 auto;
    }

    .pod-display-players li {
      padding: var(--display-row-py) var(--display-row-px);
      border-bottom: 1px solid rgba(255, 80, 50, 0.12);
      color: var(--text);
      font-size: var(--display-row-size);
      line-height: 1.25;
      word-break: break-word;
    }

    .pod-display-players li:last-child {
      border-bottom: 0;
    }

    .is-hidden {
      display: none;
    }

    @media (min-width: 1800px) {
      .pod-display-overlay {
        padding-left: 2rem;
        padding-right: 2rem;
      }

      .pod-display-layout {
        --display-table-max: 470px;
        --display-gap: 3.1rem;
        --display-heading-size: 1.28rem;
        --display-row-size: 1.2rem;
      }

      .pod-display-layout.is-compact {
        --display-table-max: 392px;
        --display-heading-size: 1.12rem;
        --display-row-size: 1.08rem;
      }

      .pod-display-layout.is-ultra {
        --display-table-max: 352px;
        --display-heading-size: 1rem;
        --display-row-size: 0.96rem;
      }
    }

    @media (max-height: 850px) {
      .pod-display-overlay {
        padding: 0.7rem 2.2rem 1.2rem;
      }

      .pod-display-close {
        top: 0.9rem;
        right: 0.9rem;
      }

      .pod-display-brand {
        top: 0.9rem;
      }

      .pod-display-layout {
        --display-table-max: 330px;
        --display-gap: 1.35rem;
        --display-heading-py: 0.46rem;
        --display-heading-px: 0.62rem;
        --display-heading-size: 0.94rem;
        --display-row-py: 0.36rem;
        --display-row-px: 0.62rem;
        --display-row-size: 0.9rem;
        padding-top: calc(0.9rem + 42px + 0.8rem);
        padding-bottom: 0.9rem;
      }

      .pod-display-layout.is-compact {
        --display-table-max: 295px;
        --display-gap: 1.05rem;
        --display-heading-size: 0.86rem;
        --display-row-size: 0.82rem;
      }

      .pod-display-layout.is-ultra {
        --display-table-max: 265px;
        --display-gap: 0.9rem;
        --display-heading-size: 0.8rem;
        --display-row-size: 0.76rem;
      }

      .pod-display-ad-modal {
        padding-top: calc(42px + 1.8rem);
      }

      .pod-display-ad-content {
        max-height: calc(100vh - 4.2rem);
      }

      .pod-display-ad-card .proxy-hero-inner {
        min-height: min(620px, calc(100vh - 4.8rem));
      }
    }

    @media (max-width: 768px) {
      .pod-page header {
        padding: 1.55rem 0.72rem 1rem;
      }

      .pod-page main {
        padding: 0 0.72rem var(--main-footer-gap);
      }

      .pod-cards,
      .pod-shell,
      #resultsMode,
      .pod-results,
      .pod-table {
        width: 100%;
        max-width: 100%;
        min-width: 0;
      }

      .pod-actions {
        gap: 0.45rem;
        flex-wrap: nowrap;
        padding: 0;
      }

      .pod-actions .pod-btn:not(.pod-actions-settings-btn) {
        flex: 1 1 0;
        min-width: 0;
      }

      .pod-actions .pod-actions-settings-btn {
        flex: 0 0 var(--pod-row-control-height);
      }

      #displayViewBtn {
        display: none;
      }

      .pod-edit-label-desktop {
        display: none;
      }

      .pod-edit-label-mobile {
        display: inline;
      }

      .pod-display-ad-modal {
        padding: calc(42px + 1.8rem) 0.85rem 0.9rem;
      }

      .pod-display-ad-content {
        max-height: calc(100vh - 3.2rem);
      }

      .pod-display-ad-card .proxy-hero-inner {
        min-height: 0;
        flex-direction: column-reverse;
      }

      .pod-display-ad-card .proxy-hero-copy {
        align-items: center;
        padding: 1.35rem 1rem 1.2rem;
        text-align: center;
      }

      .pod-display-ad-card .proxy-hero-copy h2 {
        font-size: clamp(1.65rem, 7vw, 2.2rem);
      }

      .pod-display-ad-card .proxy-hero-copy p {
        font-size: 0.98rem;
      }

      .pod-display-ad-card .proxy-hero-offer,
      .pod-display-ad-footer {
        justify-content: center;
      }

      .pod-display-ad-footer {
        flex-direction: column;
        align-items: stretch;
      }

      .pod-display-ad-cta {
        text-align: center;
      }

      .pod-display-ad-card .proxy-hero-media {
        width: 100%;
      }

      .pod-display-ad-card .proxy-hero-media img {
        max-height: 260px;
      }
    }

/* End Pod Shuffler */

/* Sketch card export admin */
.admin-sketch-export-page .admin-dashboard-main {
  max-width: 1440px;
}

.sketch-export-note {
  margin-bottom: 1.25rem;
}

.sketch-export-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.sketch-export-sidebar,
.sketch-export-workspace {
  display: grid;
  gap: 1rem;
}

.sketch-export-panel {
  border: 1px solid rgba(255, 80, 50, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(20, 13, 12, 0.94), rgba(10, 9, 9, 0.94));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.sketch-export-panel-head {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.9rem;
}

.sketch-export-panel-head h2 {
  margin: 0;
  font-size: 0.96rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffb7ab;
}

.sketch-export-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.sketch-export-create-form {
  display: grid;
  gap: 0.75rem;
}

.sketch-export-create-form label,
.sketch-export-toolbar-meta label {
  margin: 0;
  color: #ffe2d8;
  font-size: 0.88rem;
}

.sketch-export-create-form input[type="text"],
.sketch-export-create-form input[type="url"],
.sketch-export-source-editor input[type="text"] {
  width: 100%;
}

.sketch-export-moxfield-helper {
  display: grid;
  gap: 0.4rem;
}

.sketch-export-moxfield-endpoint {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.5rem;
  align-items: center;
}

.sketch-export-moxfield-endpoint input[type="text"] {
  width: 100%;
}

.sketch-export-field-note {
  margin: -0.2rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.sketch-export-field-note code {
  font-size: 0.92em;
}

.sketch-export-create-form textarea {
  min-height: 260px;
  resize: vertical;
}

#sketchExportMoxfieldJson {
  min-height: 180px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.84rem;
  line-height: 1.45;
}

.sketch-export-moxfield-endpoint .is-disabled {
  pointer-events: none;
  opacity: 0.55;
}

.sketch-export-recent-list {
  display: grid;
  gap: 0.75rem;
}

.sketch-export-recent-item {
  display: grid;
  gap: 0.65rem;
  border: 1px solid rgba(255, 80, 50, 0.12);
  border-radius: 12px;
  padding: 0.72rem;
  background: rgba(255, 255, 255, 0.02);
}

.sketch-export-recent-item.is-current {
  border-color: rgba(255, 80, 50, 0.38);
  box-shadow: 0 0 0 1px rgba(255, 80, 50, 0.12) inset;
}

.sketch-export-recent-link {
  display: grid;
  gap: 0.18rem;
  color: inherit;
  text-decoration: none;
}

.sketch-export-recent-link strong {
  color: #fff3ee;
}

.sketch-export-recent-link span {
  color: var(--muted);
  font-size: 0.83rem;
}

.sketch-export-recent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.sketch-export-summary {
  margin-bottom: 1rem;
}

.sketch-export-source-editor {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1rem;
  padding: 0.8rem;
  border: 1px solid rgba(255, 80, 50, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.sketch-export-source-editor.is-hidden {
  display: none;
}

.sketch-export-source-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.sketch-export-source-head h3 {
  margin: 0 0 0.2rem;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd7cd;
}

.sketch-export-source-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.sketch-export-source-editor textarea {
  min-height: 190px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

.sketch-export-summary-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.sketch-export-summary-card.is-success {
  border-color: rgba(76, 175, 80, 0.32);
  background: rgba(35, 82, 38, 0.24);
}

.sketch-export-summary-card.is-warning {
  border-color: rgba(255, 185, 77, 0.28);
  background: rgba(93, 63, 18, 0.22);
}

.sketch-export-summary-card.is-danger {
  border-color: rgba(211, 78, 78, 0.28);
  background: rgba(90, 20, 20, 0.24);
}

.sketch-export-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.sketch-export-toolbar.is-hidden,
.sketch-export-empty-state.is-hidden,
.sketch-export-table-wrap.is-hidden {
  display: none;
}

.sketch-export-toolbar-actions,
.sketch-export-toolbar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.sketch-export-toolbar-meta {
  justify-content: flex-end;
}

.sketch-export-toolbar-meta select {
  width: auto;
  min-width: 180px;
  margin-top: 0;
}

.sketch-export-empty,
.sketch-export-empty-state p,
.sketch-export-no-results,
.sketch-export-cell-empty,
.sketch-export-message-empty {
  margin: 0;
  color: var(--muted);
}

.sketch-export-table-wrap {
  margin-top: 0.4rem;
  border: 1px solid rgba(255, 80, 50, 0.22);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}

.sketch-export-table {
  width: 100%;
  min-width: 1180px;
}

.sketch-export-table th,
.sketch-export-table td {
  vertical-align: top;
}

.sketch-export-input-cell,
.sketch-export-card-meta {
  display: grid;
  gap: 0.18rem;
}

.sketch-export-input-cell strong,
.sketch-export-card-meta strong {
  color: #fff4ef;
}

.sketch-export-input-cell span,
.sketch-export-card-meta span {
  color: var(--muted);
  font-size: 0.82rem;
}

.sketch-export-art-preview {
  width: 124px;
  aspect-ratio: 0.715;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 80, 50, 0.18);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
}

.sketch-export-art-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sketch-export-art-preview.is-empty {
  color: var(--muted);
  font-size: 0.78rem;
  padding: 0.7rem;
  text-align: center;
}

.sketch-export-status-badge,
.sketch-export-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  padding: 0.35rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 80, 50, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff2ed;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sketch-export-status-badge span {
  color: var(--muted);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.02em;
}

.sketch-export-status-badge.is-resolved,
.sketch-export-review-badge.is-approved {
  border-color: rgba(86, 190, 112, 0.35);
  background: rgba(23, 84, 43, 0.35);
}

.sketch-export-status-badge.is-ambiguous,
.sketch-export-review-badge.is-unreviewed {
  border-color: rgba(255, 185, 77, 0.3);
  background: rgba(92, 61, 13, 0.28);
}

.sketch-export-status-badge.is-blocked,
.sketch-export-status-badge.is-error,
.sketch-export-review-badge.is-skipped,
.sketch-export-message-list li.is-error {
  border-color: rgba(214, 78, 78, 0.32);
  background: rgba(90, 20, 20, 0.28);
}

.sketch-export-status-badge.is-unresolved,
.sketch-export-status-badge.is-pending,
.sketch-export-status-badge.is-resolving {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.sketch-export-message-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.sketch-export-message-list li {
  margin: 0;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 80, 50, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #f6ddd5;
  font-size: 0.82rem;
  line-height: 1.45;
}

.sketch-export-message-list li.is-warning {
  border-color: rgba(255, 185, 77, 0.22);
  background: rgba(92, 61, 13, 0.2);
}

.sketch-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.sketch-export-actions .admin-modal-btn {
  min-width: 0;
}

.sketch-export-picker-modal {
  width: min(1040px, 100%);
}

.sketch-export-picker-options {
  display: grid;
  gap: 0.8rem;
  max-height: min(70vh, 820px);
  overflow-y: auto;
  padding-right: 0.2rem;
}

.sketch-export-option-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: start;
  border: 1px solid rgba(255, 80, 50, 0.18);
  border-radius: 12px;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
}

.sketch-export-option-card.is-selected {
  border-color: rgba(86, 190, 112, 0.34);
  background: rgba(23, 84, 43, 0.22);
}

.sketch-export-option-preview {
  aspect-ratio: 0.715;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 80, 50, 0.14);
  background: rgba(0, 0, 0, 0.2);
}

.sketch-export-option-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sketch-export-option-preview .is-empty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.sketch-export-option-copy {
  display: grid;
  gap: 0.2rem;
}

.sketch-export-option-copy strong {
  color: #fff4ef;
}

.sketch-export-option-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.sketch-export-option-warnings {
  margin: 0.35rem 0 0;
  padding-left: 1rem;
  color: #ffcfad;
  font-size: 0.82rem;
}

.sketch-export-option-actions {
  display: flex;
  align-items: center;
}

@media (max-width: 1120px) {
  .sketch-export-layout {
    grid-template-columns: 1fr;
  }

  .sketch-export-moxfield-endpoint {
    grid-template-columns: 1fr;
  }

  .sketch-export-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sketch-export-option-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .sketch-export-option-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

@media (max-width: 860px) {
  .sketch-export-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sketch-export-toolbar {
    align-items: stretch;
  }

  .sketch-export-toolbar-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .sketch-export-art-preview {
    width: min(150px, 100%);
  }

  .sketch-export-option-card {
    grid-template-columns: 1fr;
  }

  .sketch-export-option-preview {
    max-width: 180px;
  }
}
