/* =====================================================================================================
   IgniteMC — "Professional" site style (red & black). Loaded after site.css when Admin → Design → Site style
   is "Professional". It only restyles: every page, section and script works exactly as in the classic style.
   Palette and fonts come from the admin (--pro-accent, --pro-accent2, --pro-bg, --pro-surface, fonts).
   ===================================================================================================== */

body.theme-pro {
  --pro-accent: #E3263C; --pro-accent2: #FF6A3D; --pro-bg: #0B0708; --pro-surface: #151012;
  --pro-surface-2: color-mix(in srgb, var(--pro-surface) 82%, #ffffff 5%);
  --pro-elev: color-mix(in srgb, var(--pro-surface) 70%, #ffffff 9%);
  --pro-line: rgba(255, 255, 255, .08);
  --pro-line-strong: rgba(255, 255, 255, .14);
  --pro-muted: #a8a0a1;
  --pro-glow: color-mix(in srgb, var(--pro-accent) 55%, transparent);
  --pro-grad: linear-gradient(135deg, var(--pro-accent) 0%, var(--pro-accent2) 100%);

  /* the shared variables every component in site.css is built from */
  --c-bg: var(--pro-bg); --c-surface: var(--pro-surface); --c-text: #F4EFEF; --c-ink: #ffffff; --c-faint: #ffffff;
  --c-border: var(--pro-line); --c-shadow: rgba(0, 0, 0, .55);
  --c-primary: var(--pro-accent); --c-secondary: color-mix(in srgb, var(--pro-accent) 70%, #000); --c-accent: #22C55E; --c-info: #3B82F6;
  --c-yellow: #F5B52C; --c-pink: #F472B6; --c-blue: #60A5FA; --c-green: #34D399; --c-orange: #FB923C; --c-purple: #A78BFA;
  --bw: 1px; --radius: 16px; --btn-radius: 10px; --sx: 0px; --sy: 0px;
  --shadow: 0 22px 44px -22px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 255, 255, .04) inset;
  --shadow-sm: 0 10px 24px -14px rgba(0, 0, 0, .85);
  --heading-transform: uppercase;
  color: var(--c-text);
  background-color: var(--pro-bg);
  background-image:
    radial-gradient(1100px 520px at 50% -140px, color-mix(in srgb, var(--pro-accent) 26%, transparent), transparent 70%),
    radial-gradient(700px 400px at 100% 30%, color-mix(in srgb, var(--pro-accent) 7%, transparent), transparent 70%);
  background-attachment: fixed, fixed;
  letter-spacing: .005em;
}
html:has(body.theme-pro) { background: var(--pro-bg, #0B0708); color-scheme: dark; }
.theme-pro ::selection { background: var(--pro-accent); color: #fff; }
.theme-pro .theme-toggle { display: none; }
.theme-pro .muted, .theme-pro .small.muted { color: var(--pro-muted); opacity: 1; }
.theme-pro a { color: inherit; }
.theme-pro .prose a { color: color-mix(in srgb, var(--pro-accent) 60%, #fff); }

/* ----------------------------------------------------------------------------- typography */
.theme-pro h1, .theme-pro h2, .theme-pro h3, .theme-pro .section-title, .theme-pro .page-title {
  font-family: var(--font-heading); letter-spacing: .01em; font-weight: 400;
}
.theme-pro .section-title { font-size: calc(clamp(1.9rem, 4.2vw, 3rem) * var(--h-scale)); line-height: 1.05; text-transform: uppercase; }
.theme-pro .section-sub { color: var(--pro-muted); opacity: 1; font-size: 1.05rem; }
.theme-pro .eyebrow {
  display: inline-flex; align-items: center; gap: .55em; padding: .35em .9em; margin-bottom: 12px;
  font: 600 .74rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: color-mix(in srgb, var(--pro-accent) 55%, #fff);
  background: color-mix(in srgb, var(--pro-accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--pro-accent) 35%, transparent);
  border-radius: 999px; box-shadow: none; transform: none;
}
.theme-pro .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pro-accent); box-shadow: 0 0 10px var(--pro-accent); }
.theme-pro .section-head.is-center::after {
  content: ""; display: block; width: 72px; height: 3px; margin: 18px auto 0; border-radius: 3px; opacity: 1;
  background: var(--pro-grad); box-shadow: 0 0 18px var(--pro-glow);
}
.theme-pro .group-title {
  background: none; border: 0; box-shadow: none; padding: 0; color: var(--c-text); font-size: calc(1.45rem * var(--h-scale));
  display: flex; align-items: center; gap: 12px; text-transform: uppercase;
}
.theme-pro .group-title::before { content: ""; width: 4px; height: 1.1em; border-radius: 4px; background: var(--pro-grad); }

/* ----------------------------------------------------------------------------- cards, surfaces, utility colours */
.theme-pro .card, .theme-pro .bg-surface, .theme-pro .bg-white {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 40%), var(--pro-surface);
  border: 1px solid var(--pro-line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--c-text);
}
.theme-pro .bg-primary { --tone: var(--pro-accent); } .theme-pro .bg-secondary { --tone: var(--pro-accent2); }
.theme-pro .bg-accent { --tone: #22C55E; } .theme-pro .bg-info { --tone: #3B82F6; } .theme-pro .bg-yellow { --tone: #F5B52C; }
.theme-pro .bg-pink { --tone: #F472B6; } .theme-pro .bg-blue { --tone: #60A5FA; } .theme-pro .bg-green { --tone: #34D399; }
.theme-pro .bg-orange { --tone: #FB923C; } .theme-pro .bg-purple { --tone: #A78BFA; } .theme-pro .bg-dark { --tone: #000000; }
/* coloured chips, headers and icon boxes become dark tinted surfaces with the colour as an accent */
.theme-pro :is(.bg-primary, .bg-secondary, .bg-accent, .bg-info, .bg-yellow, .bg-pink, .bg-blue, .bg-green, .bg-orange, .bg-purple):not(.section) {
  background: linear-gradient(135deg, color-mix(in srgb, var(--tone) 24%, var(--pro-surface)), color-mix(in srgb, var(--tone) 7%, var(--pro-surface)));
  color: var(--c-text); border-color: color-mix(in srgb, var(--tone) 38%, transparent);
}
.theme-pro .card:is(.bg-primary, .bg-secondary, .bg-accent, .bg-info, .bg-yellow, .bg-pink, .bg-blue, .bg-green, .bg-orange, .bg-purple) {
  background: linear-gradient(160deg, color-mix(in srgb, var(--tone) 13%, var(--pro-surface)) 0%, var(--pro-surface) 55%);
  border-color: color-mix(in srgb, var(--tone) 26%, var(--pro-line));
}

/* hover: lift + accent edge, never the old offset shadows */
.theme-pro.has-anim :is(.feature-card, .product-card, .vote-card, .video-card, .player-card, .pstat, .rule-cat, .staff-card, .faq-item) {
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s ease, box-shadow .25s ease;
}
.theme-pro :is(.feature-card, .product-card, .vote-card, .video-card, .player-card, .pstat):hover {
  transform: translateY(-4px); filter: none;
  border-color: color-mix(in srgb, var(--pro-accent) 45%, var(--pro-line));
  box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .95), 0 0 0 1px color-mix(in srgb, var(--pro-accent) 30%, transparent), 0 0 34px -8px var(--pro-glow);
}
.theme-pro.has-tilt .tilt, .theme-pro .tilt { rotate: none; }
.theme-pro.has-tilt .tilt:nth-child(n) { transform: none; }
.theme-pro .has-anim .feature-card:hover .feature-icon, .theme-pro.has-anim .feature-card:hover .feature-icon { animation: none; }

/* ----------------------------------------------------------------------------- buttons */
.theme-pro .btn {
  border-radius: var(--btn-radius); border: 1px solid var(--pro-line-strong); background: var(--pro-surface-2); color: var(--c-text);
  box-shadow: none; font-weight: 600; letter-spacing: .01em; text-shadow: none; transform: none;
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease, filter .2s ease;
}
.theme-pro .btn:hover { transform: translateY(-2px); background: var(--pro-elev); border-color: rgba(255, 255, 255, .22); box-shadow: 0 12px 26px -16px rgba(0, 0, 0, .9); }
.theme-pro .btn:active { transform: translateY(0) scale(.98); box-shadow: none; filter: brightness(.95); }
.theme-pro .btn::before { content: none !important; }
.theme-pro .btn-primary, .theme-pro .btn-accent {
  background: var(--pro-grad); border-color: transparent; color: #fff;
  box-shadow: 0 14px 30px -14px var(--pro-glow), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.theme-pro .btn-primary:hover, .theme-pro .btn-accent:hover { background: var(--pro-grad); filter: brightness(1.08) saturate(1.05);
  box-shadow: 0 18px 38px -14px var(--pro-glow), 0 0 0 1px color-mix(in srgb, var(--pro-accent) 50%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25); }
.theme-pro .btn-accent { background: linear-gradient(135deg, #16A34A, #22C55E); box-shadow: 0 14px 30px -14px rgba(34, 197, 94, .6); }
.theme-pro .btn-secondary { background: transparent; border-color: color-mix(in srgb, var(--pro-accent) 55%, transparent); color: #fff; }
.theme-pro .btn-secondary:hover { background: color-mix(in srgb, var(--pro-accent) 14%, transparent); }
.theme-pro .btn.btn-ink { background: #F4EFEF; color: #120c0d; border-color: transparent; }
.theme-pro .btn.btn-ink:hover { background: #fff; }
.theme-pro .btn-discord { background: #5865F2; border-color: transparent; color: #fff; box-shadow: 0 14px 30px -14px rgba(88, 101, 242, .7); }
.theme-pro .btn-discord:hover { background: #6773f5; }
.theme-pro .btn.is-disabled, .theme-pro .btn:disabled { opacity: .45; transform: none; box-shadow: none; }
.theme-pro .icon-btn, .theme-pro .acct-btn {
  border: 1px solid var(--pro-line-strong); background: var(--pro-surface-2); color: var(--c-text); border-radius: 10px; box-shadow: none; transform: none;
}
.theme-pro .icon-btn:hover, .theme-pro .acct-btn:hover, .theme-pro .acct-btn[aria-expanded="true"] { transform: none; background: var(--pro-elev); border-color: rgba(255, 255, 255, .22); box-shadow: none; }
.theme-pro .nav-menu-btn[aria-expanded="true"] { background: var(--pro-elev); color: var(--c-text); transform: none; }

/* ----------------------------------------------------------------------------- navigation */
.theme-pro .announce {
  background: var(--pro-grad); color: #fff; border: 0; font-weight: 600; letter-spacing: .04em; text-transform: none;
}
.theme-pro .announce a { color: #fff; }
.theme-pro .site-nav {
  background: color-mix(in srgb, var(--pro-bg) 72%, transparent); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--pro-line); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .9);
}
.theme-pro .brand { font-family: var(--font-heading); letter-spacing: .04em; text-transform: uppercase; }
.theme-pro .brand img { border-radius: 10px; filter: drop-shadow(0 0 14px var(--pro-glow)); }
.theme-pro .nav-link {
  color: var(--pro-muted); font-weight: 600; font-size: .95rem; padding: .55em .95em; border-radius: 10px;
  border: 1px solid transparent; background: transparent; box-shadow: none; transform: none;
}
.theme-pro .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .05); transform: none; box-shadow: none; }
.theme-pro .nav-link.is-active { color: #fff; background: color-mix(in srgb, var(--pro-accent) 14%, transparent);
  border-color: color-mix(in srgb, var(--pro-accent) 38%, transparent); box-shadow: none; animation: none; }
.theme-pro .nav-link.nav-highlight, .theme-pro .nav-link.nav-highlight.is-active {
  color: #fff; background: var(--pro-grad); border-color: transparent; border-radius: 10px; transform: none;
  box-shadow: 0 10px 26px -10px var(--pro-glow); animation: none;
}
.theme-pro .nav-link.nav-highlight:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 14px 30px -10px var(--pro-glow); }
.theme-pro .nav-link.nav-highlight::after { background: #fff; color: var(--pro-accent); border-color: transparent; box-shadow: none; animation: none; }
.theme-pro .acct-menu, .theme-pro.mc-ui .acct-menu, html[data-theme=dark] .theme-pro.mc-ui .acct-menu {
  background: color-mix(in srgb, var(--pro-surface) 96%, transparent); color: var(--c-text); border: 1px solid var(--pro-line-strong);
  border-image: none; outline: none; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .95); backdrop-filter: blur(14px);
}
.theme-pro .acct-item:hover, .theme-pro .acct-item:focus-visible { background: color-mix(in srgb, var(--pro-accent) 16%, transparent); color: #fff; border-color: transparent; }
.theme-pro .acct-logout:hover { background: color-mix(in srgb, var(--pro-accent) 28%, transparent); }
.theme-pro .acct-menu-who { border-bottom-color: var(--pro-line); color: var(--pro-muted); }
.theme-pro .acct-login.is-active { background: var(--pro-grad); color: #fff; }
@media (max-width: 900px) {
  .theme-pro .nav-links, .theme-pro.mc-ui .nav-links, html[data-theme=dark] .theme-pro.mc-ui .nav-links {
    background: color-mix(in srgb, var(--pro-surface) 97%, transparent); border: 1px solid var(--pro-line-strong); border-image: none; outline: none;
    border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .95); backdrop-filter: blur(14px);
  }
}

/* ----------------------------------------------------------------------------- sections and page headers */
.theme-pro .section[class*=" bg-"]:not(.bg-none) {
  background: linear-gradient(180deg, color-mix(in srgb, var(--pro-accent) 7%, transparent), transparent 70%), color-mix(in srgb, var(--pro-surface) 55%, var(--pro-bg));
  color: var(--c-text); border-top: 1px solid var(--pro-line); border-bottom: 1px solid var(--pro-line);
}
.theme-pro .section::before, .theme-pro .section::after { content: none; }
.theme-pro .section.bg-dark .section-title, .theme-pro .section.bg-dark .section-sub { color: var(--c-text); }
.theme-pro .kind-page_header {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--pro-line) !important; border-top: 0 !important;
  background:
    radial-gradient(700px 300px at 50% 0%, color-mix(in srgb, var(--pro-accent) 30%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--pro-surface) 70%, var(--pro-bg)), var(--pro-bg)) !important;
}
.theme-pro .page-title { text-transform: uppercase; font-size: calc(clamp(2.2rem, 6vw, 4rem) * var(--h-scale)); line-height: 1; text-shadow: 0 0 40px var(--pro-glow); }
.theme-pro .page-sub { color: var(--pro-muted); opacity: 1; }

/* ----------------------------------------------------------------------------- hero */
.theme-pro .kind-hero { position: relative; overflow: hidden; }
.theme-pro .kind-hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: 0; pointer-events: none;
  background: radial-gradient(600px 360px at 50% 34%, color-mix(in srgb, var(--pro-accent) 30%, transparent), transparent 70%);
}
.theme-pro .hero-logo { filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .8)) drop-shadow(0 0 40px var(--pro-glow)); animation: none; }
.theme-pro.has-anim .hero-logo { animation: pro-float 6s ease-in-out infinite; }
@keyframes pro-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.theme-pro .hero-tagline {
  background: rgba(255, 255, 255, .04); color: var(--c-text); border: 1px solid var(--pro-line-strong); box-shadow: none; transform: none;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; backdrop-filter: blur(8px);
}
.theme-pro .ip-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)), color-mix(in srgb, var(--pro-surface) 85%, transparent);
  border: 1px solid var(--pro-line-strong); border-radius: 20px; backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 1), 0 0 0 1px rgba(255, 255, 255, .02) inset, 0 0 60px -30px var(--pro-glow);
}
.theme-pro .ip-sticker { background: var(--pro-grad); color: #fff; border: 0; box-shadow: 0 10px 22px -10px var(--pro-glow); transform: none; animation: none; letter-spacing: .06em; }
.theme-pro .ip-kicker { color: var(--pro-muted); letter-spacing: .14em; }
.theme-pro .ip-live { background: rgba(255, 255, 255, .04); border: 1px solid var(--pro-line-strong); color: var(--c-text); }
.theme-pro .ip-main {
  background: rgba(0, 0, 0, .35); border: 1px solid var(--pro-line-strong); border-radius: 14px; box-shadow: none; color: #fff; overflow: hidden;
}
.theme-pro .ip-main:hover { border-color: color-mix(in srgb, var(--pro-accent) 55%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pro-accent) 14%, transparent); transform: none; }
.theme-pro .ip-big { font-family: var(--font-heading); color: #fff; letter-spacing: .03em; background: none; }
.theme-pro .ip-copy { background: var(--pro-grad); color: #fff; border: 0; }
.theme-pro .ip-hint { color: var(--pro-muted); }
.theme-pro .edition-chip { background: rgba(255, 255, 255, .03); border: 1px solid var(--pro-line); color: var(--c-text); box-shadow: none; }
.theme-pro .edition-chip.is-copy:hover { background: color-mix(in srgb, var(--pro-accent) 14%, transparent); border-color: color-mix(in srgb, var(--pro-accent) 40%, transparent); color: #fff; }
.theme-pro .tag { border: 0; border-radius: 6px; }
.theme-pro .tag-java { background: color-mix(in srgb, var(--pro-accent) 85%, #000); color: #fff; }
.theme-pro .tag-bedrock { background: #2563EB; color: #fff; }
.theme-pro .ip-stat { background: rgba(255, 255, 255, .03); border: 1px solid var(--pro-line); box-shadow: none; color: var(--c-text); border-radius: 14px; }
.theme-pro .ip-stat:first-child { background: linear-gradient(135deg, color-mix(in srgb, #22C55E 16%, transparent), transparent); border-color: color-mix(in srgb, #22C55E 30%, transparent); }
.theme-pro .ip-stat-value { font-family: var(--font-heading); color: #fff; }
.theme-pro .ip-stat-label { color: var(--pro-muted); }

/* ----------------------------------------------------------------------------- videos */
.theme-pro .video-card { overflow: hidden; }
.theme-pro .video-thumb { border-bottom: 1px solid var(--pro-line); }
.theme-pro .play-badge { background: var(--pro-grad); color: #fff; border: 0; box-shadow: 0 0 30px var(--pro-glow); }
.theme-pro .video-thumb:hover .play-badge { transform: scale(1.1); }
.theme-pro .carousel-btn, .theme-pro .video-close { background: var(--pro-surface-2); color: #fff; border: 1px solid var(--pro-line-strong); box-shadow: none; }
.theme-pro .carousel-btn:hover { background: var(--pro-accent); }
.theme-pro .carousel-dots button { background: rgba(255, 255, 255, .2); border: 0; }
.theme-pro .carousel-dots button[aria-current="true"], .theme-pro .carousel-dots button.is-active { background: var(--pro-accent); }
.theme-pro .video-meta { color: var(--pro-muted); }

/* ----------------------------------------------------------------------------- top players + leaderboard */
.theme-pro .player-card { --medal: transparent; overflow: visible; }
.theme-pro .player-card.rank-1 { --medal: #F5B52C; } .theme-pro .player-card.rank-2 { --medal: #C9CED6; } .theme-pro .player-card.rank-3 { --medal: #D08A4E; }
.theme-pro .player-card.rank-1, .theme-pro .player-card.rank-2, .theme-pro .player-card.rank-3 {
  background: linear-gradient(170deg, color-mix(in srgb, var(--medal) 16%, var(--pro-surface)) 0%, var(--pro-surface) 60%);
  border-color: color-mix(in srgb, var(--medal) 40%, var(--pro-line)); color: var(--c-text);
}
.theme-pro .player-card.rank-1 { box-shadow: var(--shadow), 0 0 50px -24px color-mix(in srgb, var(--medal) 80%, transparent); }
.theme-pro .rank-badge, .theme-pro .player-card .rank-badge, .theme-pro .player-card.rank-1 .rank-badge {
  background: var(--pro-elev); color: #fff; border: 1px solid var(--pro-line-strong); box-shadow: none; transform: none; font-family: var(--font-heading);
}
.theme-pro .player-card.rank-1 .rank-badge, .theme-pro .player-card.rank-2 .rank-badge, .theme-pro .player-card.rank-3 .rank-badge {
  background: linear-gradient(135deg, var(--medal), color-mix(in srgb, var(--medal) 55%, #000)); color: #160d0e; border-color: transparent;
}
.theme-pro .player-head.mc-head, .theme-pro .lb-head.mc-head, .theme-pro .near-head.mc-head { border: 1px solid var(--pro-line-strong); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .9); }
.theme-pro .player-name a { color: #fff; }
.theme-pro .player-stats li, .theme-pro .player-card.rank-1 .player-stats li, .theme-pro .player-card.rank-2 .player-stats li, .theme-pro .player-card.rank-3 .player-stats li {
  background: rgba(255, 255, 255, .035); border: 1px solid var(--pro-line); color: var(--c-text); box-shadow: none;
}
.theme-pro .player-stats li.is-ranked, .theme-pro .player-card .player-stats li.is-ranked, .theme-pro .player-card.rank-1 .player-stats li.is-ranked {
  background: color-mix(in srgb, var(--pro-accent) 16%, transparent); border-color: color-mix(in srgb, var(--pro-accent) 40%, transparent); color: #fff;
}
.theme-pro .lb-filter {
  background: rgba(255, 255, 255, .03); color: var(--pro-muted); border: 1px solid var(--pro-line-strong); box-shadow: none; transform: none; font-weight: 600;
}
.theme-pro .lb-filter:hover { color: #fff; background: rgba(255, 255, 255, .06); transform: none; box-shadow: none; }
.theme-pro .lb-filter[aria-selected="true"], .theme-pro .lb-filter[aria-selected="true"]:nth-child(n) {
  background: var(--pro-grad); color: #fff; border-color: transparent; transform: none; box-shadow: 0 12px 26px -12px var(--pro-glow);
}
.theme-pro .table-wrap { padding: 0; overflow: auto; }
.theme-pro .lb-table th, .theme-pro .lb-table th.is-ranked {
  background: rgba(255, 255, 255, .025); color: var(--pro-muted); border-bottom: 1px solid var(--pro-line); font-size: .72rem; letter-spacing: .14em; font-weight: 700;
}
.theme-pro .lb-table th.is-ranked { color: color-mix(in srgb, var(--pro-accent) 60%, #fff); }
.theme-pro .lb-table td { border-bottom: 1px solid var(--pro-line); }
.theme-pro .lb-table tbody tr:hover, .theme-pro.mc-ui .lb-table tbody tr:hover { background: color-mix(in srgb, var(--pro-accent) 7%, transparent); }
.theme-pro .lb-table td.is-ranked { color: #fff; font-weight: 700; }
.theme-pro .lb-table .rank { font-family: var(--font-heading); color: var(--pro-muted); }
.theme-pro .lb-table tr.rank-1 .rank { color: #F5B52C; } .theme-pro .lb-table tr.rank-2 .rank { color: #C9CED6; } .theme-pro .lb-table tr.rank-3 .rank { color: #D08A4E; }
.theme-pro .lb-player span { color: #fff; }
.theme-pro .search { background: rgba(255, 255, 255, .03); border: 1px solid var(--pro-line-strong); border-radius: 12px; box-shadow: none; color: var(--c-text); }
.theme-pro .search:focus-within { border-color: color-mix(in srgb, var(--pro-accent) 55%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pro-accent) 14%, transparent); }
.theme-pro .search input { color: #fff; }
.theme-pro .lb-notice, .theme-pro .notice { background: color-mix(in srgb, #F5B52C 10%, transparent); border: 1px solid color-mix(in srgb, #F5B52C 30%, transparent); color: var(--c-text); box-shadow: none; }
.theme-pro .lb-page-label { color: var(--pro-muted); font-family: var(--font-body); font-size: .95rem; }
.theme-pro .lb-loading { background: color-mix(in srgb, var(--pro-bg) 80%, transparent); }

/* ----------------------------------------------------------------------------- features */
.theme-pro .feature-card { text-align: left; }
.theme-pro .feature-card h3 { font-size: 1.15rem; text-transform: uppercase; }
.theme-pro .feature-card p { color: var(--pro-muted); }
.theme-pro .feature-icon, .theme-pro .product-icon, .theme-pro .rule-cat-icon, .theme-pro .pstat-icon:not(.no-box), .theme-pro .auth-icon, .theme-pro .compare-icon, .theme-pro .auth-step-num, .theme-pro .rule-num {
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .1), transparent 60%), color-mix(in srgb, var(--tone, var(--pro-accent)) 20%, var(--pro-surface-2));
  border: 1px solid color-mix(in srgb, var(--tone, var(--pro-accent)) 40%, var(--pro-line)); border-radius: 14px; color: #fff;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .9), 0 0 24px -12px color-mix(in srgb, var(--tone, var(--pro-accent)) 70%, transparent); transform: none; rotate: none;
}
.theme-pro .feature-card .feature-icon { --tone: inherit; }

/* ----------------------------------------------------------------------------- store */
.theme-pro .product-card { overflow: hidden; display: flex; flex-direction: column; }
.theme-pro .product-card.has-badge {
  border-color: color-mix(in srgb, var(--pro-accent) 55%, var(--pro-line));
  box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--pro-accent) 30%, transparent), 0 0 60px -22px var(--pro-glow);
}
.theme-pro .product-top {
  position: relative; padding-top: 34px; border-bottom: 1px solid var(--pro-line); color: var(--c-text);
  background: radial-gradient(240px 140px at 50% 0%, color-mix(in srgb, var(--tone, var(--pro-accent)) 30%, transparent), transparent 75%), transparent !important;
}
.theme-pro .product-name { text-transform: uppercase; font-size: 1.4rem; color: #fff; }
.theme-pro .product-price strong { font-family: var(--font-heading); font-size: 1.9rem; color: #fff; text-shadow: 0 0 24px var(--pro-glow); }
.theme-pro .product-price s { color: var(--pro-muted); }
.theme-pro .product-body { flex: 1; display: flex; flex-direction: column; }
.theme-pro .product-body > p { color: var(--pro-muted); }
.theme-pro .product-body .btn { margin-top: auto; }
.theme-pro .perks li .icon, .theme-pro .perks li .mc-ico { color: var(--pro-accent); }
.theme-pro .perks li { border-bottom: 1px solid var(--pro-line); }
.theme-pro .ribbon {
  top: 14px; right: 14px; transform: none; rotate: none; background: var(--pro-grad); color: #fff; border: 0; border-radius: 999px;
  box-shadow: 0 8px 20px -8px var(--pro-glow); font-size: .72rem; letter-spacing: .12em;
}
/* rank comparison */
.theme-pro .compare-scroll { background: var(--pro-surface); }
.theme-pro .compare-table th, .theme-pro .compare-table td { border-bottom-color: var(--pro-line); }
.theme-pro .compare-table thead th { border-bottom: 1px solid var(--pro-line-strong); }
.theme-pro .compare-corner, .theme-pro .compare-feature { background: var(--pro-surface); border-right: 1px solid var(--pro-line); color: var(--c-text); }
.theme-pro .compare-feature small { color: var(--pro-muted); opacity: 1; }
.theme-pro .compare-rank-head { border-radius: 14px; box-shadow: none; color: #fff; }
.theme-pro .compare-rank.is-featured .compare-rank-head { transform: none; border-color: color-mix(in srgb, var(--pro-accent) 60%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--pro-accent) 40%, transparent), 0 0 40px -14px var(--pro-glow); }
.theme-pro .compare-badge { background: var(--pro-grad); color: #fff; border: 0; box-shadow: 0 8px 18px -8px var(--pro-glow); }
.theme-pro .compare-icon { background: rgba(255, 255, 255, .08); border-color: var(--pro-line-strong); }
.theme-pro .compare-name { color: #fff; }
.theme-pro .compare-table td.is-featured { background: color-mix(in srgb, var(--pro-accent) 7%, transparent); }
.theme-pro .compare-table tbody tr:hover > td, .theme-pro .compare-table tbody tr:hover > th { background-color: rgba(255, 255, 255, .03); }
.theme-pro .compare-table tbody tr:hover > td.is-featured { background-color: color-mix(in srgb, var(--pro-accent) 12%, transparent); }
.theme-pro .cmp-yes { background: color-mix(in srgb, #22C55E 20%, transparent); border: 1px solid color-mix(in srgb, #22C55E 45%, transparent); color: #4ADE80; box-shadow: none; transform: none; border-radius: 8px; }
.theme-pro .cmp-no { border: 1px dashed var(--pro-line-strong); color: var(--pro-muted); opacity: .7; border-radius: 8px; }
.theme-pro .cmp-text { color: #fff; }

/* ----------------------------------------------------------------------------- vote, rules, staff, FAQ, discord */
.theme-pro .vote-num { background: var(--pro-grad); color: #fff; border: 0; box-shadow: 0 8px 20px -8px var(--pro-glow); transform: none; border-radius: 10px; }
.theme-pro .reward { color: var(--c-text); background: color-mix(in srgb, #22C55E 10%, transparent); border: 1px solid color-mix(in srgb, #22C55E 28%, transparent); }
.theme-pro .rule-jump-link { box-shadow: none; transform: none; border-radius: 999px; }
.theme-pro .rule-jump-link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .9); }
.theme-pro .rule-cat { overflow: hidden; }
.theme-pro .rule-cat-head { border-bottom: 1px solid var(--pro-line); }
.theme-pro .rule-cat-head p { color: var(--pro-muted); }
.theme-pro .rule { border-bottom-color: var(--pro-line); }
.theme-pro .rule .prose { color: var(--pro-muted); }
.theme-pro .rule-num { font-family: var(--font-heading); }
.theme-pro .staff-role-head .role-title { border: 1px solid color-mix(in srgb, var(--tone, var(--pro-accent)) 40%, transparent); box-shadow: none; border-radius: 12px; text-transform: uppercase; }
.theme-pro .staff-card { border-radius: var(--radius); }
.theme-pro .staff-card .staff-skin { border-bottom: 1px solid var(--pro-line); }
.theme-pro .role-badge { border-radius: 999px; }
.theme-pro .staff-name { color: #fff; }
.theme-pro .staff-title, .theme-pro .staff-desc { color: var(--pro-muted); }
.theme-pro .faq-item { border-radius: 14px; }
.theme-pro .faq-item.is-open { border-color: color-mix(in srgb, var(--pro-accent) 40%, var(--pro-line)); }
.theme-pro .faq-toggle { background: rgba(255, 255, 255, .05); color: #fff; border: 1px solid var(--pro-line-strong); box-shadow: none; }
.theme-pro .faq-item.is-open .faq-toggle { background: var(--pro-accent); border-color: transparent; }
.theme-pro .faq-a-inner { color: var(--pro-muted); }
.theme-pro .discord-banner {
  background: radial-gradient(500px 240px at 0% 0%, rgba(88, 101, 242, .28), transparent 70%), radial-gradient(500px 240px at 100% 100%, color-mix(in srgb, var(--pro-accent) 20%, transparent), transparent 70%), var(--pro-surface);
}
.theme-pro .stat-chip, .theme-pro .big-stat { background: rgba(255, 255, 255, .03); border: 1px solid var(--pro-line-strong); box-shadow: none; color: var(--c-text); }
.theme-pro .stat-chip.bg-accent, .theme-pro .stat-chip:last-child { background: color-mix(in srgb, #22C55E 13%, transparent); border-color: color-mix(in srgb, #22C55E 32%, transparent); }
.theme-pro .stat-value, .theme-pro .big-stat-value { font-family: var(--font-heading); color: #fff; }
.theme-pro .stat-label, .theme-pro .big-stat-label { color: var(--pro-muted); }
.theme-pro .member-wall img, .theme-pro .member-list img { border-color: var(--pro-line-strong); }
.theme-pro .invite-box { background: rgba(255, 255, 255, .03); border-color: var(--pro-line-strong); }

/* ----------------------------------------------------------------------------- profile + account pages */
.theme-pro .profile-hero, .theme-pro .card.profile-hero {
  background: radial-gradient(600px 300px at 50% 0%, color-mix(in srgb, var(--pro-accent) 26%, transparent), transparent 70%), var(--pro-surface);
  color: var(--c-text);
}
.theme-pro .profile-name { color: #fff; text-shadow: 0 0 30px var(--pro-glow); -webkit-text-stroke: 0; }
.theme-pro .profile-hero .profile-sub, .theme-pro .profile-sub { color: var(--pro-muted); }
.theme-pro .profile-pill, .theme-pro .profile-hero .profile-pill, .theme-pro .profile-hero .profile-badges .profile-pill {
  background: rgba(255, 255, 255, .05); border: 1px solid var(--pro-line-strong); color: var(--c-text); box-shadow: none;
}
.theme-pro .profile-rank { background: var(--pro-grad); color: #fff; border: 0; box-shadow: 0 8px 20px -10px var(--pro-glow); }
.theme-pro .profile-hero .profile-pill.presence-pill.is-online, .theme-pro .presence-pill.is-online { background: color-mix(in srgb, #22C55E 18%, transparent); border-color: color-mix(in srgb, #22C55E 45%, transparent); color: #4ADE80; }
.theme-pro .presence-dot { background: #22C55E; box-shadow: none; }
.theme-pro .presence-dot::after { background: #22C55E; }
.theme-pro .near-chip { background: rgba(255, 255, 255, .03); border: 1px solid var(--pro-line); box-shadow: none; color: var(--c-text); }
.theme-pro .near-chip.is-current { border-color: color-mix(in srgb, var(--pro-accent) 45%, transparent); background: color-mix(in srgb, var(--pro-accent) 12%, transparent); }
.theme-pro .pstat-value { font-family: var(--font-heading); color: #fff; }
.theme-pro .pstat-label { color: var(--pro-muted); opacity: 1; }
.theme-pro .pstat-rank { background: rgba(255, 255, 255, .05); border: 1px solid var(--pro-line); color: var(--pro-muted); }
.theme-pro .profile-crumbs a { background: rgba(255, 255, 255, .04); border: 1px solid var(--pro-line); box-shadow: none; color: var(--c-text); }
.theme-pro .auth-head, .theme-pro .account-eyebrow { color: var(--c-text); }
.theme-pro .auth-head h1 { text-transform: uppercase; }
.theme-pro .auth-intro strong { background: rgba(255, 255, 255, .08); color: #fff; }
.theme-pro .auth-input-wrap input, .theme-pro .sc-field select {
  background: rgba(0, 0, 0, .3); color: #fff; border: 1px solid var(--pro-line-strong); border-radius: 10px;
}
.theme-pro .auth-input-wrap input:focus { background: rgba(0, 0, 0, .4); border-color: color-mix(in srgb, var(--pro-accent) 60%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--pro-accent) 16%, transparent); }
.theme-pro .auth-switch a { text-decoration-color: var(--pro-accent); }
.theme-pro .alert { border-radius: 12px; box-shadow: none; color: var(--c-text); border: 1px solid; }
.theme-pro .alert-success { background: color-mix(in srgb, #22C55E 13%, transparent); border-color: color-mix(in srgb, #22C55E 40%, transparent); }
.theme-pro .alert-error { background: color-mix(in srgb, var(--pro-accent) 14%, transparent); border-color: color-mix(in srgb, var(--pro-accent) 45%, transparent); }
.theme-pro .alert-warning { background: color-mix(in srgb, #F5B52C 12%, transparent); border-color: color-mix(in srgb, #F5B52C 40%, transparent); }
.theme-pro .alert, .theme-pro .alert-info { background-color: color-mix(in srgb, #3B82F6 12%, transparent); }
.theme-pro .account-facts div { background: rgba(255, 255, 255, .03); border: 1px solid var(--pro-line); }
.theme-pro .account-head.mc-head { border: 1px solid var(--pro-line-strong); box-shadow: 0 0 30px -10px var(--pro-glow); }

/* ----------------------------------------------------------------------------- pop-ups, toasts, loaders */
.theme-pro dialog::backdrop { background: rgba(5, 3, 4, .72); backdrop-filter: blur(6px); }
.theme-pro .play-box, .theme-pro .studio-box, .theme-pro .video-modal-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), transparent 40%), var(--pro-surface); color: var(--c-text);
  border: 1px solid var(--pro-line-strong); border-radius: 20px; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 1), 0 0 80px -40px var(--pro-glow);
}
.theme-pro .play-close, .theme-pro .studio-close { background: var(--pro-surface-2); color: #fff; border: 1px solid var(--pro-line-strong); box-shadow: none; }
.theme-pro .play-close:hover, .theme-pro .studio-close:hover { background: var(--pro-accent); }
.theme-pro .play-tab { background: rgba(255, 255, 255, .03); border: 1px solid var(--pro-line); color: var(--pro-muted); box-shadow: none; }
.theme-pro .play-tab[aria-selected="true"] { background: var(--pro-grad); color: #fff; border-color: transparent; }
.theme-pro .play-addr { background: rgba(0, 0, 0, .35); border: 1px solid var(--pro-line-strong); color: #fff; }
.theme-pro .play-steps li::marker, .theme-pro .play-note { color: var(--pro-muted); }
.theme-pro .studio-preview { background: rgba(0, 0, 0, .3); border: 1px dashed var(--pro-line-strong); }
.theme-pro .studio-theme, .theme-pro .studio-mode { background: rgba(255, 255, 255, .03); border: 1px solid var(--pro-line-strong); color: var(--c-text); }
.theme-pro .studio-theme[aria-checked="true"], .theme-pro .studio-mode[aria-checked="true"] { background: var(--pro-grad); color: #fff; border-color: transparent; }
.theme-pro .studio-custom { background: rgba(0, 0, 0, .25); border: 1px solid var(--pro-line-strong); box-shadow: none; }
.theme-pro .studio-custom > summary { background: color-mix(in srgb, var(--pro-accent) 18%, transparent); color: #fff; }
.theme-pro .sc-color, .theme-pro .sc-chip { background: rgba(255, 255, 255, .03); border: 1px solid var(--pro-line-strong); color: var(--c-text); }
.theme-pro .sc-chip:has(input:checked) { background: color-mix(in srgb, var(--pro-accent) 22%, transparent); color: #fff; }
html body.theme-pro .toast, html body.theme-pro.mc-ui .toast {
  background: color-mix(in srgb, var(--pro-surface) 96%, transparent); color: #fff; border: 1px solid var(--pro-line-strong); outline: none;
  border-left: 3px solid var(--pro-accent); border-radius: 12px; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .95), 0 0 30px -12px var(--pro-glow);
  font-family: var(--font-body); font-weight: 600; text-shadow: none; letter-spacing: 0; backdrop-filter: blur(10px);
}
html body.theme-pro.mc-ui.mc-pf-minecraft .toast { font: 600 .95rem/1.4 var(--font-body); }
@media (hover: hover) {
  .theme-pro.mc-ui [data-tip]:hover::after, .theme-pro.mc-ui.mc-pf-minecraft [data-tip]:hover::after {
    font: 600 .78rem/1.3 var(--font-body); text-shadow: none; letter-spacing: .02em; outline: none; border-radius: 8px;
    background: var(--pro-elev); border: 1px solid var(--pro-line-strong); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .9);
  }
}
.theme-pro .boot-loader { background: radial-gradient(500px 300px at 50% 40%, color-mix(in srgb, var(--pro-accent) 22%, transparent), transparent 70%), var(--pro-bg); }
.theme-pro .boot-logo { filter: drop-shadow(0 0 30px var(--pro-glow)); }
.theme-pro .ig-loader-text { color: var(--pro-muted); }
.theme-pro .skeleton, .theme-pro .skeleton-line, .theme-pro .skeleton-block { background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)); background-size: 200% 100%; }
.theme-pro .empty-state { color: var(--pro-muted); }
.theme-pro .error-code { color: #fff; -webkit-text-stroke: 0; text-shadow: 0 0 50px var(--pro-glow); background: var(--pro-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.theme-pro .error-mob, .theme-pro .mc-mob { border: 1px solid var(--pro-line-strong); border-radius: 14px; transform: none; animation: none; box-shadow: 0 0 40px -10px var(--pro-glow); }
.theme-pro .status-pill { background: rgba(255, 255, 255, .04); border: 1px solid var(--pro-line-strong); color: var(--c-text); }

/* ----------------------------------------------------------------------------- footer */
.theme-pro .site-footer {
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--pro-accent) 6%, transparent)), #070405;
  border-top: 1px solid var(--pro-line); color: var(--pro-muted);
}
.theme-pro .footer-title { background: none; border: 0; box-shadow: none; padding: 0; color: #fff; letter-spacing: .16em; font-size: .78rem; }
.theme-pro .footer-links a { color: var(--pro-muted); }
.theme-pro .footer-links a:hover { color: #fff; }
.theme-pro .footer-bottom { border-top: 1px solid var(--pro-line); color: var(--pro-muted); }
.theme-pro .footer-brand p { color: var(--pro-muted); }
.theme-pro .social-btn { background: rgba(255, 255, 255, .04); border: 1px solid var(--pro-line-strong); color: var(--c-text); box-shadow: none; border-radius: 10px; }
.theme-pro .social-btn:hover { background: var(--pro-accent); color: #fff; transform: translateY(-2px); }

/* ----------------------------------------------------------------------------- Minecraft touches that suit the professional look */
.theme-pro .mc-ico { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }
.theme-pro .crown, .theme-pro .mc-crown { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .8)) drop-shadow(0 0 10px rgba(245, 181, 44, .5)); }
.theme-pro .custom-block .custom-img { border-radius: var(--radius); border: 1px solid var(--pro-line); }
.theme-pro .cursor-glow { background: radial-gradient(circle, color-mix(in srgb, var(--pro-accent) 18%, transparent), transparent 60%); }
.theme-pro .mc-layer .mc-item, .theme-pro .mc-layer .mc-cube { opacity: .55; }

/* ----------------------------------------------------------------------------- responsive polish */
@media (max-width: 760px) {
  .theme-pro .section-title { font-size: calc(clamp(1.6rem, 7vw, 2.2rem) * var(--h-scale)); }
  .theme-pro .ip-card { border-radius: 18px; }
  .theme-pro .nav-link { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-pro.has-anim .hero-logo { animation: none; }
  .theme-pro :is(.feature-card, .product-card, .vote-card, .video-card, .player-card, .pstat):hover { transform: none; }
}

/* ===================================================================== store (Tebex): professional style */
.theme-pro .cart-btn {
  border: 0; background: var(--pro-grad); box-shadow: 0 10px 24px -12px var(--pro-glow), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: filter .2s, transform .2s;
}
.theme-pro .cart-btn:hover, .theme-pro .cart-btn.is-active { filter: brightness(1.1); transform: translateY(-1px); }
.theme-pro .cart-count { background: rgba(0, 0, 0, .35); }

/* top-of-page header on every page (smaller than the homepage hero) */
.theme-pro .kind-site-hub { padding-top: clamp(18px, 3vw, 34px); padding-bottom: 0; }
@media (min-width: 981px) { .theme-pro .hero-hub.is-compact { grid-template-columns: minmax(0, 1fr) minmax(150px, 220px) minmax(0, 1fr); } }
.theme-pro .hero-hub.is-compact .hub-logo img { max-width: 220px; }
.theme-pro .hub-logo { text-decoration: none; }
@media (max-width: 980px) { .theme-pro .hero-hub.is-compact .hub-logo img { max-width: 170px; } }
@media (max-width: 600px) {
  .theme-pro .hero-hub.is-compact .hub-logo img { max-width: 130px; }
  .theme-pro .hero-hub.is-compact { gap: 10px; }
  .theme-pro .hero-hub.is-compact .hub-card { min-height: 64px; padding: 12px 14px; }
}

/* page headers: left-aligned breadcrumb + big title (like the reference's category pages) */
.theme-pro .kind-page_header { padding-top: 26px; padding-bottom: 6px; background: none; }
.theme-pro .kind-page_header .page-header { text-align: left; }
.theme-pro .kind-page_header .page-header-text { align-items: flex-start; text-align: left; margin: 0; max-width: none; }
.theme-pro .page-title { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; color: #fff; background: none; -webkit-text-fill-color: currentColor; }
.theme-pro .kind-page_header .page-title {
  background: var(--pro-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .06em;
}
.theme-pro .page-sub { color: var(--pro-muted); }
.theme-pro .kind-page_header .page-sub { margin-left: 0; margin-right: 0; }
.theme-pro .crumbs { color: var(--pro-muted); opacity: 1; letter-spacing: .02em; }
.theme-pro .crumbs a:hover { color: #fff; text-decoration: none; }
.theme-pro .crumbs [aria-current] { color: #fff; }

.theme-pro .gm-tab, .theme-pro .cat-pill { background: var(--pro-surface); border: 1px solid var(--pro-line-strong); color: var(--c-text); transition: border-color .2s, background .2s, color .2s; }
.theme-pro .gm-tab:hover, .theme-pro .cat-pill:hover { border-color: color-mix(in srgb, var(--pro-accent) 55%, transparent); color: #fff; }
.theme-pro .gm-tab.is-active { background: var(--pro-grad); border-color: transparent; color: #fff; box-shadow: 0 10px 22px -12px var(--pro-glow); }
.theme-pro .cat-pill { font-size: .82rem; padding: .45em .95em; color: var(--pro-muted); }

/* package cards */
.theme-pro .pkg-card {
  background: var(--pro-surface); border: 1px solid var(--pro-line); border-radius: 20px; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.theme-pro .pkg-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--pro-accent) 50%, transparent);
  box-shadow: 0 34px 70px -36px rgba(0, 0, 0, 1), 0 0 50px -24px var(--pro-glow); }
.theme-pro .pkg-card.has-badge { border-color: color-mix(in srgb, var(--pro-accent) 45%, transparent); }
.theme-pro .pkg-media {
  height: 200px; border-bottom: 1px solid var(--pro-line);
  background:
    repeating-conic-gradient(from 0deg at 50% 60%, rgba(255, 255, 255, .035) 0 10deg, transparent 10deg 20deg),
    radial-gradient(closest-side at 50% 60%, color-mix(in srgb, var(--pro-accent) 40%, transparent), transparent),
    linear-gradient(180deg, color-mix(in srgb, var(--pro-accent) 16%, var(--pro-bg)), var(--pro-surface));
}
.theme-pro .pkg-card:hover .pkg-img { transform: translateY(-6px) scale(1.05); }
.theme-pro .pkg-icon .icon { color: var(--pro-accent); filter: drop-shadow(0 0 22px var(--pro-glow)); }
.theme-pro .pkg-badge { background: var(--pro-grad); box-shadow: 0 8px 18px -8px var(--pro-glow); }
.theme-pro .pkg-name { color: #fff; letter-spacing: .02em; }
.theme-pro .pkg-tagline, .theme-pro .pkg-summary { color: var(--pro-muted); opacity: 1; }
.theme-pro .pkg-perks li { color: var(--c-text); }
.theme-pro .pkg-perks .icon { color: var(--pro-accent); }
.theme-pro .pkg-details summary { color: var(--pro-muted); }
.theme-pro .pkg-desc { color: var(--pro-muted); }
.theme-pro .pkg-buy { border-top: 1px solid var(--pro-line); padding-top: 16px; }
.theme-pro .pkg-price strong { color: #fff; text-shadow: 0 0 26px var(--pro-glow); }
.theme-pro .pkg-price s { color: var(--pro-muted); opacity: 1; }
.theme-pro .qty { background: rgba(0, 0, 0, .35); border: 1px solid var(--pro-line-strong); }
.theme-pro .qty-btn:hover { background: color-mix(in srgb, var(--pro-accent) 18%, transparent); color: #fff; }

/* gamemode cards */
.theme-pro .gm-card {
  --gm: var(--pro-accent); background: linear-gradient(135deg, color-mix(in srgb, var(--gm) 14%, var(--pro-surface)), var(--pro-surface) 60%);
  border: 1px solid var(--pro-line); border-radius: 20px; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.theme-pro .gm-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--gm) 55%, transparent); box-shadow: 0 0 46px -22px var(--gm); }
.theme-pro .gm-card:hover .gm-img { opacity: .4; transform: scale(1.04); }
.theme-pro .gm-name { color: #fff; }
.theme-pro .gm-tagline { color: var(--pro-muted); opacity: 1; }
.theme-pro .gm-go .icon { transition: translate .2s; }
.theme-pro .gm-card:hover .gm-go .icon { translate: 4px 0; }

/* recent purchases */
.theme-pro .recent-wrap { background: var(--pro-surface); border: 1px solid var(--pro-line); border-radius: 22px; }
.theme-pro .recent-title { color: #fff; text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-heading); }
.theme-pro .recent-item { background: rgba(255, 255, 255, .025); border: 1px solid var(--pro-line); transition: border-color .2s, transform .2s; }
.theme-pro .recent-item:hover { border-color: color-mix(in srgb, var(--pro-accent) 45%, transparent); transform: translateY(-2px); }
.theme-pro .recent-name { color: #fff; }
.theme-pro .recent-what, .theme-pro .recent-meta { color: var(--pro-muted); opacity: 1; }

/* sale banner like the reference: big headline + countdown boxes */
.theme-pro .promo-card { grid-template-columns: minmax(0, 1fr) auto; padding: 30px 34px; }
.theme-pro .promo-card.has-image { grid-template-columns: 160px minmax(0, 1fr) auto; }
.theme-pro .promo-eyebrow { color: var(--pro-accent2); }
.theme-pro .promo-title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.05; text-transform: uppercase; }
.theme-pro .promo-title .promo-discount { font-size: inherit; }
.theme-pro .cd-box { background: rgba(0, 0, 0, .45); border: 1px solid var(--pro-line-strong); min-width: 70px; }
.theme-pro .cd-box b { color: #fff; }
.theme-pro .cd-box small { color: var(--pro-muted); opacity: 1; }
@media (max-width: 760px) {
  .theme-pro .promo-card, .theme-pro .promo-card.has-image { grid-template-columns: 1fr; padding: 22px 20px; }
  .theme-pro .cd-box { min-width: 0; }
}

/* cart & purchases */
.theme-pro .cart-lines, .theme-pro .cart-summary, .theme-pro .purchase-row, .theme-pro .purchase-detail, .theme-pro .cart-empty {
  background: var(--pro-surface); border: 1px solid var(--pro-line); border-radius: 20px;
}
.theme-pro .cart-line + .cart-line { border-top-color: var(--pro-line); }
.theme-pro .cart-thumb { background: color-mix(in srgb, var(--pro-accent) 12%, var(--pro-bg)); }
.theme-pro .cart-name, .theme-pro .cart-line-total, .theme-pro .cart-total dd, .theme-pro .purchase-amount, .theme-pro .purchase-items { color: #fff; }
.theme-pro .cart-unit, .theme-pro .checkout-hint, .theme-pro .checkout-note, .theme-pro .purchase-date { color: var(--pro-muted); opacity: 1; }
.theme-pro .checkout-form input:not([type=hidden]) { background: rgba(0, 0, 0, .35); border: 1px solid var(--pro-line-strong); color: #fff; }
.theme-pro .checkout-form input:focus { outline: none; border-color: var(--pro-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pro-accent) 25%, transparent); }
.theme-pro .cart-total { border-top-color: var(--pro-line); }
.theme-pro .purchase-row { transition: border-color .2s, transform .2s; }
.theme-pro .purchase-row:hover { border-color: color-mix(in srgb, var(--pro-accent) 45%, transparent); transform: translateX(3px); }
.theme-pro .purchase-items-list li { border-bottom-color: var(--pro-line); }
.theme-pro .section-head-row .section-title { margin-bottom: 4px; }
.theme-pro .section-head-row::after { display: none; }

/* ===================================================================== store v2 (professional style): bundles, realms, thanks */
.theme-pro .tt-accent { background: var(--pro-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.theme-pro .eyebrow-spark { background: none; border: 0; padding: 0; color: var(--pro-accent2); }
.theme-pro .eyebrow-spark::before { display: none; }
.theme-pro .section-head-left::after { margin-left: 0; }

/* bundle cards: each can have its own colour (--pkg); sunburst + glow in that colour */
.theme-pro .pkg-card { --pkg: var(--pro-accent); }
.theme-pro .pkg-card:hover { border-color: color-mix(in srgb, var(--pkg) 55%, transparent); box-shadow: 0 34px 70px -36px rgba(0, 0, 0, 1), 0 0 50px -22px var(--pkg); }
.theme-pro .pkg-card.has-badge { border-color: color-mix(in srgb, var(--pkg) 45%, transparent); }
.theme-pro .pkg-media {
  background:
    repeating-conic-gradient(from 0deg at 50% 62%, rgba(255, 255, 255, .045) 0 9deg, transparent 9deg 18deg),
    radial-gradient(closest-side at 50% 62%, color-mix(in srgb, var(--pkg) 55%, transparent), transparent),
    linear-gradient(180deg, color-mix(in srgb, var(--pkg) 26%, var(--pro-bg)), color-mix(in srgb, var(--pkg) 6%, var(--pro-surface)));
}
.theme-pro .pkg-badge { background: color-mix(in srgb, var(--pkg) 85%, #000); box-shadow: 0 8px 18px -8px var(--pkg); }
.theme-pro .pkg-perks .icon { color: var(--pkg); }
.theme-pro .pkg-perk-ic { background: rgba(255, 255, 255, .05); border: 1px solid var(--pro-line); }
.theme-pro .pkg-price strong { text-shadow: 0 0 26px color-mix(in srgb, var(--pkg) 60%, transparent); }
.theme-pro .pkg-worth, .theme-pro .qty-hint { color: var(--pro-muted); opacity: 1; }
.theme-pro .pkg-card .btn-primary { background: linear-gradient(135deg, var(--pkg), color-mix(in srgb, var(--pkg) 55%, var(--pro-accent2))); }

/* realm cards */
.theme-pro .realm-card {
  --realm: var(--pro-accent); border: 1px solid var(--pro-line); border-radius: 22px;
  background:
    radial-gradient(420px 200px at 100% 0%, color-mix(in srgb, var(--realm) 28%, transparent), transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--realm) 12%, var(--pro-surface)), var(--pro-surface) 70%);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.theme-pro .realm-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--realm), transparent); opacity: .7; }
.theme-pro .realm-card:hover, .theme-pro .realm-card.is-active { transform: translateY(-4px); border-color: color-mix(in srgb, var(--realm) 55%, transparent); box-shadow: 0 0 50px -22px var(--realm); }
.theme-pro .realm-card:hover .realm-img { opacity: .45; transform: scale(1.05); }
.theme-pro .realm-icon { border: 1px solid color-mix(in srgb, var(--realm) 35%, transparent); box-shadow: 0 0 30px -12px var(--realm); }
.theme-pro .realm-name { color: #fff; }
.theme-pro .realm-tagline { color: var(--pro-muted); opacity: 1; }
.theme-pro .realm-go .icon { transition: translate .2s; }
.theme-pro .realm-card:hover .realm-go .icon { translate: 4px 0; }

/* thanks for the support */
.theme-pro .thanks-side { background: var(--pro-surface); border: 1px solid var(--pro-line); border-radius: 22px; }
.theme-pro .goal-row strong { color: #fff; }
.theme-pro .goal-row span { color: var(--pro-muted); }
.theme-pro .goal-bar span { background: repeating-linear-gradient(90deg, var(--pro-accent) 0 18px, var(--pro-accent2) 18px 28px); box-shadow: 0 0 18px var(--pro-glow); }
.theme-pro .top-cust { border-top-color: var(--pro-line); }
.theme-pro .top-cust-label { color: var(--pro-accent2); }
.theme-pro .top-cust-name { color: #fff; text-transform: uppercase; }

/* sale banner: warm gradient, dotted texture and corner glows (like the reference) */
.theme-pro .promo-list .promo-card.card {
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 1.5px) 0 0 / 18px 18px,
    radial-gradient(420px 220px at 0% 0%, color-mix(in srgb, var(--pro-accent2) 28%, transparent), transparent 70%),
    radial-gradient(520px 260px at 100% 100%, color-mix(in srgb, var(--pro-accent) 36%, transparent), transparent 70%),
    linear-gradient(110deg, color-mix(in srgb, var(--pro-accent) 22%, #1a0a08), #120709 70%);
  border: 1px solid color-mix(in srgb, var(--pro-accent2) 35%, transparent);
}
.theme-pro .promo-list .promo-card.card::before { display: none; }
.theme-pro .promo-title .promo-discount { background: linear-gradient(135deg, #FFD54A, var(--pro-accent2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.theme-pro .promo-eyebrow { color: #FFD54A; letter-spacing: .16em; }
.theme-pro .cd-box { background: rgba(0, 0, 0, .55); border-color: color-mix(in srgb, var(--pro-accent2) 30%, transparent); border-radius: 14px; min-width: 76px; padding: 12px 10px; }
.theme-pro .cd-box b { font-size: 2rem; }
@media (max-width: 760px) {
  .theme-pro .promo-countdown { width: 100%; gap: 8px; }
  .theme-pro .cd-box { min-width: 0; flex: 1; padding: 10px 4px; }
  .theme-pro .cd-box b { font-size: 1.5rem; }
}

.theme-pro .cat-pill.is-active { background: var(--pro-grad); color: #fff; border-color: transparent; }
.theme-pro .store-cat-head .group-title { margin-bottom: 4px; }
.theme-pro .store-cat-desc { color: var(--pro-muted); opacity: 1; }
.theme-pro .cat-title { background: var(--pro-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ----------------------------------------------------------------------------- beat the classic dark-mode rules (the professional style always runs in dark mode) */
html[data-theme] .theme-pro .player-card.rank-1, html[data-theme] .theme-pro .player-card.rank-2, html[data-theme] .theme-pro .player-card.rank-3 {
  background: linear-gradient(170deg, color-mix(in srgb, var(--medal) 16%, var(--pro-surface)) 0%, var(--pro-surface) 60%);
}
html[data-theme] .theme-pro .player-card .player-name, html[data-theme] .theme-pro .player-card .player-name a { color: #fff; }
html[data-theme] .theme-pro .lb-table tr.rank-1 .rank { color: #F5B52C; }
html[data-theme] .theme-pro .lb-table tr.rank-2 .rank { color: #C9CED6; }
html[data-theme] .theme-pro .lb-table tr.rank-3 .rank { color: #D08A4E; }
html[data-theme] .theme-pro .lb-table tbody tr:hover { background: color-mix(in srgb, var(--pro-accent) 7%, transparent); }
html[data-theme] .theme-pro .faq-item.is-open { background: linear-gradient(180deg, color-mix(in srgb, var(--pro-accent) 8%, transparent), transparent), var(--pro-surface); }
html[data-theme] .theme-pro .ip-stat:first-child { background: linear-gradient(135deg, color-mix(in srgb, #22C55E 16%, transparent), transparent); }
html[data-theme] .theme-pro .pstat::after { background: color-mix(in srgb, var(--pro-accent) 8%, transparent); }
html[data-theme] .theme-pro .hero-logo { filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .8)) drop-shadow(0 0 40px var(--pro-glow)); }
html[data-theme] .theme-pro .mc-item { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .7)); }
html[data-theme] .theme-pro .site-footer { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--pro-accent) 6%, transparent)), #070405; }
html[data-theme] .theme-pro .footer-bottom { background: transparent; color: var(--pro-muted); }
html[data-theme] .theme-pro .announce { background: var(--pro-grad); color: #fff; }
html[data-theme] body.theme-pro .toast { background: color-mix(in srgb, var(--pro-surface) 96%, transparent); color: #fff; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .95), 0 0 30px -12px var(--pro-glow); }
html[data-theme] .theme-pro .btn-ink { background: #F4EFEF; color: #120c0d; }
html[data-theme] .theme-pro .near-chip.is-current { background: color-mix(in srgb, var(--pro-accent) 14%, transparent); color: #fff; }
html[data-theme] .theme-pro .mc-head { background-color: var(--pro-surface-2); }
html[data-theme] .theme-pro .section.bg-dark { background: color-mix(in srgb, var(--pro-surface) 55%, var(--pro-bg)); }
html[data-theme] .theme-pro .profile-hero .profile-pill { color: var(--c-text); }
html[data-theme] .theme-pro .profile-rank.rank-1, html[data-theme] .theme-pro .profile-rank.rank-2, html[data-theme] .theme-pro .profile-rank.rank-3, .theme-pro .profile-rank.rank-1, .theme-pro .profile-rank.rank-2, .theme-pro .profile-rank.rank-3 {
  background: var(--pro-grad); color: #fff;
}
.theme-pro .player-card.rank-1 .rank-badge, html[data-theme] .theme-pro .player-card.rank-1 .rank-badge { color: #160d0e; }

/* ===================================================================== homepage hero: IP card · logo · Discord card */
.theme-pro .kind-hero { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(24px, 4vw, 44px); }
.theme-pro .kind-hero::before {
  inset: 0; height: auto;
  background: radial-gradient(520px 340px at 50% 42%, color-mix(in srgb, var(--pro-accent) 24%, transparent), transparent 70%);
}
.theme-pro .hero-banner {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
}
.theme-pro .hero-hub {
  position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 300px) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 32px); align-items: center;
}
.theme-pro .hub-logo { display: grid; place-items: center; }
.theme-pro .hub-logo img { width: 100%; max-width: 320px; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .75)) drop-shadow(0 0 46px var(--pro-glow)); }
.theme-pro.has-anim .hub-logo img { animation: pro-float 6s ease-in-out infinite; }
.theme-pro .hub-name { font-family: var(--font-heading); font-size: clamp(2.4rem, 5vw, 4rem); color: #fff; text-transform: uppercase; }
.theme-pro .hub-card {
  display: flex; align-items: center; gap: 16px; width: 100%; max-width: 400px; min-height: 86px; padding: 16px 20px;
  font: inherit; color: var(--c-text); text-align: left; text-decoration: none; cursor: pointer;
  background: color-mix(in srgb, var(--pro-surface) 88%, var(--pro-accent) 4%); border: 1px solid var(--pro-line-strong); border-radius: 18px;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9); backdrop-filter: blur(10px);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.theme-pro .hub-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--pro-accent) 55%, transparent); box-shadow: 0 26px 50px -28px rgba(0, 0, 0, 1), 0 0 36px -16px var(--pro-glow); }
.theme-pro .hub-card:focus-visible { outline: 2px solid var(--pro-accent); outline-offset: 3px; }
.theme-pro .hub-ip { justify-self: end; }
.theme-pro .hub-discord { justify-self: start; justify-content: flex-end; text-align: right; }
.theme-pro .hub-discord:hover { border-color: rgba(88, 101, 242, .6); box-shadow: 0 26px 50px -28px rgba(0, 0, 0, 1), 0 0 36px -16px rgba(88, 101, 242, .7); }
.theme-pro .hub-ic { position: relative; flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: #fff; }
.theme-pro .hub-ic .icon, .theme-pro .hub-ic .discord-logo { width: 24px; height: 24px; }
.theme-pro .hub-ic-play { background: var(--pro-grad); box-shadow: 0 10px 24px -10px var(--pro-glow); }
.theme-pro .hub-ic-play .icon { translate: 1px 0; }
.theme-pro .hub-ic-discord { background: #5865F2; box-shadow: 0 10px 24px -10px rgba(88, 101, 242, .8); }
.theme-pro .hub-badge {
  position: absolute; top: -9px; white-space: nowrap; font-size: .66rem; font-weight: 800; line-height: 1; letter-spacing: .02em;
  padding: .38em .6em; border-radius: 999px; color: #0b0708; background: #8B9CFF; box-shadow: 0 4px 12px rgba(0, 0, 0, .5);
}
.theme-pro .hub-ip .hub-badge { left: -10px; background: #4ADE80; }
.theme-pro .hub-discord .hub-badge { right: -10px; }
.theme-pro .hub-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.theme-pro .hub-title { font-family: var(--font-heading); font-size: clamp(.95rem, 1.35vw, 1.15rem); letter-spacing: .03em; text-transform: uppercase; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-pro .hub-text small { color: var(--pro-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.theme-pro .hero-under { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 30px; text-align: center; }
.theme-pro .hero-under .hero-body { color: var(--pro-muted); max-width: 60ch; }
.theme-pro .hero-under .hero-actions { margin-top: 0; gap: 14px; }
.theme-pro .hero-bedrock {
  display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: .85rem; color: var(--c-text); cursor: pointer;
  background: none; border: 0; padding: 4px 8px; border-radius: 8px;
}
.theme-pro .hero-bedrock:hover { background: rgba(255, 255, 255, .05); }
.theme-pro .btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--pro-line-strong); color: #fff; backdrop-filter: blur(8px); }
.theme-pro .btn-ghost:hover { border-color: color-mix(in srgb, var(--pro-accent) 50%, transparent); background: color-mix(in srgb, var(--pro-accent) 10%, transparent); }
@media (max-width: 980px) {
  .theme-pro .hero-hub { grid-template-columns: 1fr 1fr; gap: 16px; }
  .theme-pro .hub-logo { grid-column: 1 / -1; order: -1; }
  .theme-pro .hub-logo img { max-width: 240px; }
  .theme-pro .hub-ip, .theme-pro .hub-discord { justify-self: stretch; max-width: none; }
}
@media (max-width: 600px) {
  .theme-pro .hero-hub { grid-template-columns: 1fr; gap: 14px; }
  .theme-pro .hub-logo img { max-width: 190px; }
  .theme-pro .hub-card { min-height: 74px; padding: 14px 16px; }
  .theme-pro .hub-discord { flex-direction: row-reverse; justify-content: flex-start; text-align: left; }
  .theme-pro .hub-discord .hub-badge { right: auto; left: -10px; }
  .theme-pro .hero-under .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .theme-pro .hero-under .hero-actions .btn { justify-content: center; }
}

/* ===================================================================== highlights strip */
.theme-pro .hl-strip { gap: 14px; }
.theme-pro .hl-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), transparent), var(--pro-surface); border: 1px solid var(--pro-line); border-radius: 16px; box-shadow: none;
  transition: border-color .2s, transform .2s;
}
.theme-pro .hl-item:hover { border-color: color-mix(in srgb, var(--pro-accent) 40%, transparent); transform: translateY(-2px); }
.theme-pro .hl-icon { background: color-mix(in srgb, var(--pro-accent) 14%, transparent); color: var(--pro-accent); border: 1px solid color-mix(in srgb, var(--pro-accent) 28%, transparent); }
.theme-pro .hl-icon.hl-discord { color: #8b95ff; background: rgba(88, 101, 242, .14); border-color: rgba(88, 101, 242, .3); }
.theme-pro .hl-value { color: #fff; }
.theme-pro .hl-label { color: var(--pro-muted); opacity: 1; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 600; }

/* ===================================================================== store rank cards */
.theme-pro .rank-grid { gap: 22px; }
.theme-pro .rank-card {
  --rank: var(--pro-accent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--rank) 7%, transparent), transparent 40%), var(--pro-surface);
  border: 1px solid var(--pro-line); border-radius: 20px; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.theme-pro .rank-card:hover {
  transform: translateY(-6px); border-color: color-mix(in srgb, var(--rank) 55%, transparent);
  box-shadow: 0 34px 70px -36px rgba(0, 0, 0, 1), 0 0 50px -22px color-mix(in srgb, var(--rank) 70%, transparent);
}
.theme-pro .rank-card.has-badge { border-color: color-mix(in srgb, var(--rank) 50%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--rank) 25%, transparent), 0 30px 70px -36px color-mix(in srgb, var(--rank) 60%, transparent); }
.theme-pro .rank-badge { background: var(--rank); color: #fff; border: 0; box-shadow: 0 8px 20px -8px var(--rank); }
.theme-pro .rank-media {
  height: 170px; border-bottom: 1px solid var(--pro-line);
  background:
    radial-gradient(closest-side at 50% 60%, color-mix(in srgb, var(--rank) 48%, transparent), transparent),
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 22px 22px,
    color-mix(in srgb, var(--rank) 8%, var(--pro-bg));
}
.theme-pro .rank-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--rank), transparent); opacity: .8; }
.theme-pro .rank-img, .theme-pro .rank-icon .icon { transition: transform .35s ease; }
.theme-pro .rank-card:hover .rank-img, .theme-pro .rank-card:hover .rank-icon .icon { transform: translateY(-6px) scale(1.06); }
.theme-pro .rank-icon .icon { color: var(--rank); width: 72px; height: 72px; filter: drop-shadow(0 0 22px color-mix(in srgb, var(--rank) 70%, transparent)); }
.theme-pro .rank-prefix { align-self: flex-start; background: rgba(0, 0, 0, .45); border: 1px solid var(--pro-line); border-radius: 8px; padding: .25em .6em; font-size: .9rem; }
.theme-pro .rank-name { color: #fff; font-size: 1.5rem; letter-spacing: .02em; }
.theme-pro .rank-price strong { color: #fff; font-size: 2rem; text-shadow: 0 0 26px color-mix(in srgb, var(--rank) 60%, transparent); }
.theme-pro .rank-price s { color: var(--pro-muted); opacity: 1; }
.theme-pro .rank-desc { color: var(--pro-muted); opacity: 1; }
.theme-pro .rank-inherits { color: color-mix(in srgb, var(--rank) 70%, #fff); }
.theme-pro .rank-perks li .icon { color: var(--rank); }
.theme-pro .rank-more { color: var(--pro-muted); opacity: 1; }
.theme-pro .rank-card .btn-primary { background: linear-gradient(135deg, var(--rank), color-mix(in srgb, var(--rank) 55%, var(--pro-accent2))); box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--rank) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .22); }
.theme-pro .rank-note { color: var(--pro-muted); opacity: 1; }
.theme-pro .mc-fmt { text-shadow: 1px 1px 0 rgba(0, 0, 0, .55); }

/* ===================================================================== sales & promotions */
.theme-pro .promo-card {
  --tone: var(--pro-accent);
  background:
    radial-gradient(500px 220px at 100% 50%, color-mix(in srgb, var(--tone) 32%, transparent), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 14px, transparent 14px 28px),
    linear-gradient(90deg, color-mix(in srgb, var(--tone) 12%, var(--pro-surface)), var(--pro-surface));
  border: 1px solid color-mix(in srgb, var(--tone) 40%, transparent); border-radius: 22px;
  box-shadow: 0 30px 70px -40px color-mix(in srgb, var(--tone) 70%, transparent);
}
.theme-pro .promo-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--pro-grad); }
.theme-pro .promo-badge { background: var(--pro-grad); color: #fff; border: 0; }
.theme-pro .promo-countdown { background: rgba(0, 0, 0, .4); border-color: var(--pro-line-strong); color: #fff; }
.theme-pro .promo-title { color: #fff; }
.theme-pro .promo-body { color: var(--pro-muted); }
.theme-pro .promo-discount {
  background: var(--pro-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px var(--pro-glow));
}

/* ===================================================================== recent updates */
.theme-pro .update-card { background: var(--pro-surface); border: 1px solid var(--pro-line); border-radius: 18px; transition: transform .25s, border-color .25s; }
.theme-pro .update-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--pro-accent) 40%, transparent); }
.theme-pro .update-media img { border-bottom: 1px solid var(--pro-line); }
.theme-pro .update-tag { background: color-mix(in srgb, var(--pro-accent) 18%, transparent); color: color-mix(in srgb, var(--pro-accent) 60%, #fff); border: 1px solid color-mix(in srgb, var(--pro-accent) 35%, transparent); }
.theme-pro .update-meta { color: var(--pro-muted); opacity: 1; }
.theme-pro .update-title { color: #fff; }
.theme-pro .update-summary { color: var(--pro-muted); }
.theme-pro .update-link { color: var(--pro-accent2); }
.theme-pro .update-link .icon { transition: translate .2s; }
.theme-pro .update-link:hover .icon { translate: 4px 0; }

@media (prefers-reduced-motion: reduce) {
  .theme-pro .rank-card:hover, .theme-pro .update-card:hover, .theme-pro .hl-item:hover { transform: none; }
  .theme-pro .rank-card:hover .rank-img, .theme-pro .rank-card:hover .rank-icon .icon { transform: none; }
}

/* =====================================================================================================
   v3 polish (store.convicted.gg look): richer colours, realm cards with artwork, ember sale banner,
   premium package cards, animated logo. Kept last in the file so it wins over the earlier store styles.
   ===================================================================================================== */
body.theme-pro {
  background-image:
    radial-gradient(1200px 600px at 50% -200px, color-mix(in srgb, var(--pro-accent) 30%, transparent), transparent 70%),
    radial-gradient(800px 520px at 100% 35%, color-mix(in srgb, #8E1E5A 16%, transparent), transparent 70%),
    radial-gradient(800px 520px at 0% 75%, color-mix(in srgb, var(--pro-accent2) 10%, transparent), transparent 70%);
  background-attachment: fixed, fixed, fixed;
}

/* ---------------------------------------------------------------- header: [server] [logo] [discord] */
.theme-pro .hub-status { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; text-transform: uppercase; }
.theme-pro .hub-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #6b6b6b; flex: none; }
.theme-pro .hub-status .dot.is-online { background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); animation: hub-pulse 2s ease-in-out infinite; }
.theme-pro .hub-status .dot.is-offline { background: var(--pro-accent); }
.theme-pro .hub-sep { opacity: .5; }
.theme-pro .hub-discord .hub-status { justify-content: flex-end; }
@keyframes hub-pulse { 50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); } }
.theme-pro .hub-logo { position: relative; isolation: isolate; }
.theme-pro.has-anim .hub-logo img { animation: logo-float 5s ease-in-out infinite; }
@keyframes logo-float { 0%, 100% { translate: 0 0; rotate: -1.5deg; } 50% { translate: 0 -12px; rotate: 1.5deg; } }
.theme-pro .hub-card { background: linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01)), color-mix(in srgb, var(--pro-surface) 85%, #3a0d17); }

/* ---------------------------------------------------------------- Pick your realm */
.theme-pro .realm-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 22px; }
.theme-pro .realm-card {
  --realm: var(--pro-accent);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; gap: 12px;
  min-height: 210px; padding: 28px 26px 28px 30px; border-radius: 24px; border: 1px solid rgba(255, 255, 255, .12); overflow: hidden;
  background:
    radial-gradient(380px 260px at 85% 50%, rgba(255, 255, 255, .22), transparent 70%),
    linear-gradient(120deg, color-mix(in srgb, var(--realm) 88%, #fff 12%) 0%, var(--realm) 45%, color-mix(in srgb, var(--realm) 62%, #000) 100%);
  box-shadow: 0 30px 60px -34px color-mix(in srgb, var(--realm) 80%, #000), inset 0 1px 0 rgba(255, 255, 255, .25);
  color: #fff;
}
.theme-pro .realm-card::after { display: none; }
.theme-pro .realm-card::before {   /* light sweep */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .18) 50%, transparent 65%); translate: -120% 0; transition: translate .8s ease;
}
.theme-pro .realm-card:hover::before { translate: 120% 0; }
.theme-pro .realm-card:hover, .theme-pro .realm-card.is-active {
  transform: translateY(-6px); border-color: rgba(255, 255, 255, .3);
  box-shadow: 0 40px 70px -32px color-mix(in srgb, var(--realm) 90%, #000), 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.theme-pro .realm-text { position: relative; z-index: 1; gap: 6px; }
.theme-pro .realm-name {
  color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: .98; letter-spacing: .02em; text-transform: uppercase;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .22), 0 10px 24px rgba(0, 0, 0, .25);
}
.theme-pro .realm-tagline { color: rgba(255, 255, 255, .9); opacity: 1; font-weight: 600; font-size: .95rem; max-width: 36ch; }
.theme-pro .realm-go {
  margin-top: 12px; padding: .5em 1em; border-radius: 10px; color: #fff; font-size: .85rem;
  background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); transition: background .2s;
}
.theme-pro .realm-card:hover .realm-go { background: rgba(0, 0, 0, .35); }
.theme-pro .realm-art { position: relative; z-index: 1; display: grid; place-items: center; width: clamp(120px, 15vw, 190px); }
.theme-pro .realm-art img { width: 100%; height: auto; max-height: 170px; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .45)); transition: transform .4s ease; }
.theme-pro.has-anim .realm-art img { animation: art-bob 4.5s ease-in-out infinite; animation-delay: calc(var(--i) * -.9s); }
.theme-pro .realm-card:hover .realm-art img { transform: scale(1.08) rotate(-3deg); }
@keyframes art-bob { 50% { translate: 0 -9px; } }
.theme-pro .realm-art .realm-icon { width: 120px; height: 120px; border-radius: 30px; background: rgba(0, 0, 0, .18); border: 1px solid rgba(255, 255, 255, .2); color: #fff; box-shadow: none; }
.theme-pro .realm-art .realm-icon .icon { width: 56px; height: 56px; }
.theme-pro .realm-art .realm-icon .mc-ico { width: 72px !important; height: 72px !important; }
@media (max-width: 560px) {
  .theme-pro .realm-card { min-height: 170px; padding: 22px 18px 22px 22px; }
  .theme-pro .realm-art { width: 104px; }
}

/* ---------------------------------------------------------------- sale banner (embers, yellow discount, countdown boxes) */
.theme-pro .promo-list .promo-card.card {
  position: relative; overflow: hidden; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; padding: 32px 36px; border-radius: 22px;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 210, 160, .08) 1.2px, transparent 1.6px) 0 0 / 22px 22px,
    radial-gradient(520px 260px at 0% 0%, rgba(255, 120, 40, .16), transparent 70%),
    radial-gradient(600px 300px at 100% 100%, color-mix(in srgb, var(--pro-accent) 22%, transparent), transparent 70%),
    linear-gradient(100deg, #3b1208 0%, #250b0a 55%, #1a0809 100%);
  border: 1px solid rgba(255, 170, 90, .22);
  box-shadow: 0 30px 70px -40px rgba(255, 90, 30, .55), inset 0 1px 0 rgba(255, 220, 180, .08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.theme-pro .promo-list .promo-card.card.has-image { grid-template-columns: 150px minmax(0, 1fr) auto; }
.theme-pro .promo-list .promo-card.card:hover { transform: translateY(-3px); border-color: rgba(255, 190, 110, .4); box-shadow: 0 34px 80px -38px rgba(255, 110, 40, .7); }
.theme-pro .promo-text, .theme-pro .promo-countdown, .theme-pro .promo-media, .theme-pro .promo-cta { position: relative; z-index: 1; }
.theme-pro .promo-eyebrow { color: #FFC93C; font-size: .82rem; letter-spacing: .14em; margin-bottom: 4px; }
.theme-pro .promo-title { font-size: clamp(1.8rem, 3.8vw, 2.8rem); line-height: 1; margin: 0 0 6px; }
.theme-pro .promo-title .promo-link { color: #fff; text-decoration: none; }
.theme-pro .promo-title .promo-link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }   /* whole banner clickable */
.theme-pro .promo-title .promo-discount, .theme-pro .promo-list .promo-title .promo-discount {
  background: none; -webkit-text-fill-color: #FFC93C; color: #FFC93C; filter: drop-shadow(0 0 18px rgba(255, 190, 60, .35));
}
.theme-pro .promo-body { color: rgba(255, 236, 225, .82); font-size: 1.02rem; max-width: 52ch; }
.theme-pro .promo-body p { margin: 0; }
.theme-pro .promo-list .cd-box { background: rgba(10, 4, 4, .55); border: 1px solid rgba(255, 190, 120, .16); border-radius: 14px; min-width: 74px; padding: 14px 10px 10px; }
.theme-pro .promo-list .cd-box b { color: #fff; font-size: 2rem; }
.theme-pro .promo-list .cd-box small { color: #FFC93C; opacity: 1; }
.theme-pro .promo-embers { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.theme-pro .promo-embers i {
  position: absolute; bottom: -10px; left: calc(8% + var(--n) * 13%); width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, #FFD27A, #FF6A1A 60%, transparent 70%); box-shadow: 0 0 10px #FF7A1A; opacity: 0;
}
.theme-pro.has-anim .promo-embers i { animation: ember-rise 7s linear infinite; animation-delay: calc(var(--n) * -1.1s); }
@keyframes ember-rise {
  0% { opacity: 0; transform: translate(0, 0) scale(.6); }
  15% { opacity: .8; }
  100% { opacity: 0; transform: translate(calc((var(--n) - 3) * 9px), -230px) scale(1.1); }
}
@media (max-width: 760px) {
  .theme-pro .promo-list .promo-card.card, .theme-pro .promo-list .promo-card.card.has-image { grid-template-columns: 1fr; padding: 24px 20px; gap: 18px; }
  .theme-pro .promo-list .cd-box { min-width: 0; flex: 1; padding: 10px 4px 8px; }
  .theme-pro .promo-list .cd-box b { font-size: 1.5rem; }
}

/* ---------------------------------------------------------------- package cards */
.theme-pro .pkg-card {
  --pkg: var(--pro-accent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--pkg) 9%, #22100f) 0%, #170b0d 60%);
  border: 1px solid color-mix(in srgb, var(--pkg) 30%, rgba(255, 255, 255, .06)); border-radius: 22px;
}
.theme-pro .pkg-card:hover { transform: translateY(-6px); }
.theme-pro .pkg-media {
  position: relative; overflow: hidden; height: 210px; border-bottom: 1px solid color-mix(in srgb, var(--pkg) 20%, rgba(255, 255, 255, .06));
  background:
    radial-gradient(closest-side at 50% 58%, color-mix(in srgb, var(--pkg) 50%, transparent), transparent),
    linear-gradient(180deg, color-mix(in srgb, var(--pkg) 28%, #1a0a0a), color-mix(in srgb, var(--pkg) 8%, #170b0d));
}
.theme-pro .pkg-rays {
  position: absolute; left: 50%; top: 58%; width: 190%; aspect-ratio: 1; translate: -50% -50%; z-index: 0; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .07) 0 8deg, transparent 8deg 20deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 75%); mask-image: radial-gradient(closest-side, #000 20%, transparent 75%);
}
.theme-pro.has-anim .pkg-rays { animation: rays-spin 40s linear infinite; }
.theme-pro.has-anim .pkg-card:hover .pkg-rays { animation-duration: 12s; }
@keyframes rays-spin { to { rotate: 360deg; } }
.theme-pro .pkg-img, .theme-pro .pkg-icon { position: relative; z-index: 1; }
.theme-pro .pkg-img { max-height: 170px; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .55)); }
.theme-pro.has-anim .pkg-img, .theme-pro.has-anim .pkg-icon { animation: art-bob 4s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); }
.theme-pro .pkg-save { z-index: 2; background: #FFD23F; color: #2a1200; box-shadow: 0 6px 18px rgba(255, 200, 60, .35); }
.theme-pro.has-anim .pkg-save { animation: save-wobble 3s ease-in-out infinite; }
@keyframes save-wobble { 0%, 100% { rotate: -10deg; } 50% { rotate: -4deg; scale: 1.06; } }
.theme-pro .pkg-badge { z-index: 2; background: linear-gradient(90deg, var(--pro-accent2), var(--pkg)); color: #fff; padding: .45em .9em; font-size: .72rem; }
.theme-pro .pkg-body { gap: 12px; padding: 22px 22px 22px; }
.theme-pro .pkg-name { font-size: 1.65rem; letter-spacing: .03em; }
.theme-pro .pkg-tagline { color: rgba(255, 225, 225, .62); font-size: .95rem; margin: -6px 0 2px; }
.theme-pro .pkg-feature {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px;
  background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .07);
}
.theme-pro .pkg-feature-label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 225, 225, .62); }
.theme-pro .pkg-feature-val {
  font-family: var(--font-heading); font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(90deg, #FF8A1A, #FF4F7A, #B65CFF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.theme-pro .pkg-perks { gap: 10px; }
.theme-pro .pkg-perks li { color: #F4EFEF; font-size: .98rem; }
.theme-pro .pkg-perk-ic { width: 34px; height: 34px; border-radius: 9px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .06); }
.theme-pro .pkg-perk-ic .mc-ico { width: 22px !important; height: 22px !important; }
.theme-pro .pkg-buy { border-top: 1px solid rgba(255, 255, 255, .07); padding-top: 16px; display: grid; gap: 12px; margin-top: auto; }
.theme-pro .pkg-buy-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.theme-pro .pkg-price-block { display: grid; gap: 2px; }
.theme-pro .pkg-price { gap: 10px; }
.theme-pro .pkg-price strong { font-size: 2.1rem; color: #fff; text-shadow: 0 0 24px color-mix(in srgb, var(--pkg) 50%, transparent); }
.theme-pro .pkg-price s { color: rgba(255, 225, 225, .45); font-size: .95rem; }
.theme-pro .pkg-off { background: #FF8A1A; color: #2a1200; border-radius: 8px; padding: .25em .55em; font-size: .78rem; }
.theme-pro .pkg-worth { color: #4ADE80; opacity: 1; font-size: .85rem; font-weight: 600; margin: 0; }
.theme-pro .pkg-sub { color: rgba(255, 225, 225, .55); font-size: .8rem; margin: 0; }
.theme-pro .pkg-add {
  position: relative; overflow: hidden; padding: .95em 1.4em; border-radius: 16px; font-weight: 800; font-size: 1rem;
  background: linear-gradient(135deg, var(--pkg), color-mix(in srgb, var(--pkg) 40%, #B23BD8)) !important; border: 0;
  box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--pkg) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.theme-pro .pkg-add::after, .theme-pro .btn-primary::after {   /* shine sweep */
  content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  translate: -130% 0; transition: translate .7s ease; pointer-events: none;
}
.theme-pro .pkg-add:hover::after, .theme-pro .btn-primary:hover::after { translate: 130% 0; }
.theme-pro .btn-primary { position: relative; overflow: hidden; }
.theme-pro .pkg-add.is-added { background: linear-gradient(135deg, #16A34A, #22C55E) !important; }
.theme-pro .qty-row { justify-content: flex-start; }
@media (max-width: 400px) { .theme-pro .pkg-buy-row .pkg-add { flex: 1; justify-content: center; } }

@media (prefers-reduced-motion: reduce) {
  .theme-pro .hub-logo img, .theme-pro .realm-art img, .theme-pro .pkg-rays, .theme-pro .pkg-img, .theme-pro .pkg-icon,
  .theme-pro .pkg-save, .theme-pro .promo-embers i, .theme-pro .hub-status .dot { animation: none !important; }
}
.theme-pro .realm-go { align-self: flex-start; }
.theme-pro .realm-art img[src*="/static/mc/"], .theme-pro .pkg-img[src*="/static/mc/"] { image-rendering: pixelated; }

/* ---------------------------------------------------------------- v4: transparent header cards + richer background */
.theme-pro .hub-card, .theme-pro .hero-hub .hub-card {
  background: transparent; border: 1px solid rgba(255, 255, 255, .14); box-shadow: none; backdrop-filter: none;
}
.theme-pro .hub-card:hover { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .28); box-shadow: none; }
.theme-pro .hub-discord:hover { border-color: rgba(120, 135, 255, .5); }
.theme-pro .hub-logo img { filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .65)); }

/* Deep indigo → plum night sky with teal and crimson light, instead of plain red on black */
html:has(body.theme-pro) { background: #0c0a16; }
html body.theme-pro {
  background-color: #0c0a16;
  background-image:
    radial-gradient(900px 520px at 50% -160px, rgba(227, 38, 60, .26), transparent 70%),
    radial-gradient(900px 640px at -10% 20%, rgba(88, 56, 190, .22), transparent 70%),
    radial-gradient(900px 640px at 110% 45%, rgba(24, 120, 140, .16), transparent 70%),
    radial-gradient(1000px 700px at 30% 100%, rgba(150, 40, 120, .16), transparent 70%),
    linear-gradient(180deg, #120d22 0%, #0d0a18 45%, #110a17 100%);
  background-attachment: fixed;
}
.theme-pro .site-footer, html[data-theme] .theme-pro .site-footer { background: linear-gradient(180deg, transparent, rgba(88, 56, 190, .10)), #0a0812; }
.theme-pro .section.bg-dark, html[data-theme] .theme-pro .section.bg-dark { background: rgba(255, 255, 255, .02); }

/* ---------------------------------------------------------------- v5: card actions + preview dialog (professional style) */
.theme-pro .pkg-actions { margin-top: 2px; }
.theme-pro .pkg-actions .qty { background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; }
.theme-pro .pkg-preview {
  padding: .9em 1.1em; border-radius: 14px; font-weight: 800; color: #fff;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .16);
}
.theme-pro .pkg-preview:hover { background: rgba(255, 255, 255, .1); border-color: color-mix(in srgb, var(--pkg) 60%, #fff); }
.theme-pro .pkg-actions .pkg-add { padding: .9em 1.1em; }
.theme-pro .inv-dialog {
  background: linear-gradient(180deg, #1c1426, #120d19); border: 1px solid rgba(255, 255, 255, .1); color: #F4EFEF;
}
.theme-pro .inv-dialog-head { background: rgba(18, 13, 25, .92); border-bottom-color: rgba(255, 255, 255, .08); backdrop-filter: blur(8px); }
.theme-pro .inv-dialog-title { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .03em; }
.theme-pro .inv-model { background: radial-gradient(closest-side, color-mix(in srgb, var(--pro-accent) 30%, transparent), transparent), #0f0b13; }
.theme-pro .inv-hint, .theme-pro .inv-note { color: var(--pro-muted); opacity: 1; }

/* ---------------------------------------------------------------- v5: page header banner */
.theme-pro .kind-page_header { padding-top: 24px; padding-bottom: 8px; }
.theme-pro .ph-card {
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px;
  padding: clamp(26px, 4vw, 44px) clamp(22px, 4vw, 48px); border-radius: 26px; border: 1px solid rgba(255, 255, 255, .1);
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .06) 1px, transparent 1.5px) 0 0 / 22px 22px,
    linear-gradient(120deg, rgba(227, 38, 60, .22) 0%, rgba(88, 56, 190, .16) 55%, rgba(24, 120, 140, .12) 100%),
    #120d1d;
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.theme-pro .ph-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(50px); pointer-events: none; }
.theme-pro .ph-orb-a { width: 320px; height: 320px; right: 6%; top: -40%; background: rgba(227, 38, 60, .35); }
.theme-pro .ph-orb-b { width: 260px; height: 260px; left: -6%; bottom: -60%; background: rgba(110, 70, 230, .3); }
.theme-pro .ph-text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.theme-pro .ph-text .crumbs { margin: 0; }
.theme-pro .ph-eyebrow {
  display: inline-flex; padding: .35em .9em; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #FFC93C; background: rgba(255, 201, 60, .1); border: 1px solid rgba(255, 201, 60, .3);
}
.theme-pro .kind-page_header .ph-title {
  margin: 0; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: .95; color: #fff; -webkit-text-fill-color: currentColor; background: none;
  text-shadow: 0 6px 0 rgba(0, 0, 0, .25);
}
.theme-pro .ph-title .tt-accent { -webkit-text-fill-color: transparent; }
.theme-pro .ph-sub { margin: 0; max-width: 60ch; font-size: 1.05rem; color: rgba(240, 232, 245, .78); }
.theme-pro .ph-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; padding: 0; }
.theme-pro .ph-trust li {
  display: inline-flex; align-items: center; gap: 8px; padding: .5em .9em; border-radius: 12px; font-size: .85rem; font-weight: 600;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #F4EFEF;
}
.theme-pro .ph-trust .icon { width: 16px; height: 16px; color: #4ADE80; }
.theme-pro .ph-trust li:nth-child(2) .icon { color: #FFC93C; }
.theme-pro .ph-trust li:nth-child(3) .icon { color: #ff6b81; }
.theme-pro .ph-art { width: clamp(110px, 16vw, 190px); display: grid; place-items: center; }
.theme-pro .ph-art img { width: 100%; height: auto; image-rendering: pixelated; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .55)) drop-shadow(0 0 30px rgba(227, 38, 60, .35)); }
.theme-pro.has-anim .ph-art img { animation: art-bob 4.5s ease-in-out infinite; }
.theme-pro .ph-art img:not([src*="/static/mc/"]) { image-rendering: auto; }
@media (max-width: 640px) {
  .theme-pro .ph-card { grid-template-columns: 1fr; }
  .theme-pro .ph-art { position: absolute; right: 14px; top: 14px; width: 74px; opacity: .55; }
  .theme-pro .ph-trust li { font-size: .78rem; }
}
