@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;700&family=Cinzel:wght@500;700&family=Manrope:wght@400;500;600;700&family=Orbitron:wght@500;700&family=Outfit:wght@500;600;700&family=Press+Start+2P&family=Silkscreen:wght@400;700&display=swap');

:root {
  --dashboard-scale: 1;
  --dashboard-ui-scale: 0.8;
  --bg: #0f1218;
  --bg-elev: #151a23;
  --panel: #1b212c;
  --panel-2: #222a36;
  --panel-3: #293244;
  --sidebar: rgba(18, 22, 30, 0.92);
  --text: #e7edf5;
  --muted: #96a3b3;
  --accent: #6bb6ff;
  --accent-2: #2e73d4;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: rgba(0, 0, 0, 0.45);
  --font-title: 'Outfit', 'Trebuchet MS', sans-serif;
  --font-body: 'Manrope', 'Trebuchet MS', sans-serif;
  --arctic-glow-soft: rgba(121, 220, 255, 0.24);
  --arctic-glow-strong: rgba(121, 220, 255, 0.4);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: calc(16px * var(--dashboard-ui-scale));
  color: var(--text);
  background: radial-gradient(900px 700px at 80% 15%, rgba(74, 123, 255, 0.16), transparent 55%),
              radial-gradient(700px 550px at 12% 8%, rgba(0, 212, 255, 0.18), transparent 55%),
              var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

body.modal-open {
  overflow: hidden;
}

body[data-color-mode="protanopia"] .layout,
body[data-color-mode="protanopia"] .landing,
body[data-color-mode="protanopia"] .login-wrap {
  filter: url('#cb-protanopia');
}

body[data-color-mode="deuteranopia"] .layout,
body[data-color-mode="deuteranopia"] .landing,
body[data-color-mode="deuteranopia"] .login-wrap {
  filter: url('#cb-deuteranopia');
}

body[data-color-mode="tritanopia"] .layout,
body[data-color-mode="tritanopia"] .landing,
body[data-color-mode="tritanopia"] .login-wrap {
  filter: url('#cb-tritanopia');
}

body[data-color-mode="protanomaly"] .layout,
body[data-color-mode="protanomaly"] .landing,
body[data-color-mode="protanomaly"] .login-wrap {
  filter: url('#cb-protanomaly');
}

body[data-color-mode="deuteranomaly"] .layout,
body[data-color-mode="deuteranomaly"] .landing,
body[data-color-mode="deuteranomaly"] .login-wrap {
  filter: url('#cb-deuteranomaly');
}

body[data-color-mode="tritanomaly"] .layout,
body[data-color-mode="tritanomaly"] .landing,
body[data-color-mode="tritanomaly"] .login-wrap {
  filter: url('#cb-tritanomaly');
}

body[data-color-mode="achromatopsia"] .layout,
body[data-color-mode="achromatopsia"] .landing,
body[data-color-mode="achromatopsia"] .login-wrap {
  filter: url('#cb-achromatopsia');
}

body[data-color-mode="achromatomaly"] .layout,
body[data-color-mode="achromatomaly"] .landing,
body[data-color-mode="achromatomaly"] .login-wrap {
  filter: url('#cb-achromatomaly');
}

body[data-color-mode="protanopia"],
body[data-color-mode="deuteranopia"],
body[data-color-mode="tritanopia"],
body[data-color-mode="protanomaly"],
body[data-color-mode="deuteranomaly"],
body[data-color-mode="tritanomaly"],
body[data-color-mode="achromatopsia"],
body[data-color-mode="achromatomaly"] {
  --panel: #141f34;
  --panel-2: #1b2944;
  --panel-3: #253658;
  --accent: #8acfff;
  --accent-2: #7b95ff;
  --border: rgba(154, 208, 255, 0.3);
}

body[data-color-mode="protanopia"] .status-pill.online,
body[data-color-mode="deuteranopia"] .status-pill.online,
body[data-color-mode="tritanopia"] .status-pill.online,
body[data-color-mode="protanomaly"] .status-pill.online,
body[data-color-mode="deuteranomaly"] .status-pill.online,
body[data-color-mode="tritanomaly"] .status-pill.online,
body[data-color-mode="achromatopsia"] .status-pill.online,
body[data-color-mode="achromatomaly"] .status-pill.online {
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  color: #0b1119;
}

body[data-color-mode="tritanopia"] {
  --bg: #120f1e;
  --bg-elev: #19142a;
  --panel: #211636;
  --panel-2: #2b1d45;
  --panel-3: #38285a;
  --accent: #ff4fa8;
  --accent-2: #25d9ff;
  --border: rgba(255, 115, 186, 0.32);
  --arctic-glow-soft: rgba(66, 35, 108, 0.34);
  --arctic-glow-strong: rgba(49, 20, 88, 0.48);
}

body[data-color-mode="tritanopia"] {
  background: radial-gradient(920px 700px at 82% 16%, rgba(255, 79, 168, 0.2), transparent 55%),
              radial-gradient(760px 560px at 12% 10%, rgba(37, 217, 255, 0.22), transparent 56%),
              var(--bg);
}

body[data-color-mode="tritanopia"]::before {
  background: radial-gradient(circle, rgba(255, 79, 168, 0.45), transparent 72%);
}

body[data-color-mode="tritanopia"]::after {
  background: radial-gradient(circle, rgba(37, 217, 255, 0.42), transparent 72%);
}

body[data-color-mode="panel-red"] {
  --panel: #2a0f16;
  --panel-2: #3a141d;
  --panel-3: #4b1b28;
  --accent: #ff5d71;
  --accent-2: #ff8f6d;
  --border: rgba(255, 125, 140, 0.3);
}

body[data-color-mode="panel-yellow"] {
  --panel: #2a240f;
  --panel-2: #3a3214;
  --panel-3: #4b411b;
  --accent: #ffe066;
  --accent-2: #ffc857;
  --border: rgba(255, 221, 120, 0.34);
}

body[data-color-mode="panel-blue"] {
  --panel: #0f1c2a;
  --panel-2: #14283a;
  --panel-3: #1b3650;
  --accent: #6cc4ff;
  --accent-2: #7c93ff;
  --border: rgba(140, 196, 255, 0.32);
}

body[data-color-mode="panel-green"] {
  --panel: #102617;
  --panel-2: #163620;
  --panel-3: #204a2c;
  --accent: #79f4a5;
  --accent-2: #4ddf94;
  --border: rgba(132, 238, 176, 0.33);
}

body.theme-dark[data-color-mode]:not([data-color-mode="none"]) {
  --bg: #070b14;
  --bg-elev: #0c1220;
  --panel: #111a2a;
  --panel-2: #172134;
  --panel-3: #1f2b41;
  --text: #e4ebfa;
  --muted: #a4b1cb;
  --border: rgba(144, 166, 206, 0.3);
  background:
    radial-gradient(940px 700px at 82% 10%, rgba(66, 98, 152, 0.26), transparent 56%),
    radial-gradient(760px 540px at 12% 12%, rgba(45, 81, 144, 0.22), transparent 56%),
    var(--bg);
}

body.theme-dark[data-color-mode]:not([data-color-mode="none"]) :is(.card, .panel-card, .feature-card, .summary-card, .stat-card, .topbar, .sidebar, .nav-item, .btn) {
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.55);
}

body.theme-dark[data-color-mode="rgb-rainbow-deluxe"] :is(.card, .panel-card, .feature-card, .summary-card, .stat-card, .topbar, .nav-item.active, .btn) {
  background: linear-gradient(120deg, rgba(255, 65, 180, 0.18), rgba(255, 191, 65, 0.16), rgba(90, 240, 255, 0.16), rgba(138, 84, 255, 0.18));
}

body[data-color-mode="shop-pixel-ice"] {
  --bg: #0f1725;
  --bg-elev: #16233a;
  --panel: #1b2f4b;
  --panel-2: #223a5f;
  --panel-3: #2b4974;
  --accent: #8be4ff;
  --accent-2: #80a2ff;
  --border: rgba(155, 222, 255, 0.36);
  --font-title: 'Press Start 2P', monospace;
  --font-body: 'Press Start 2P', monospace;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background:
    linear-gradient(0deg, rgba(14, 26, 43, 0.96), rgba(10, 19, 33, 0.96)),
    linear-gradient(90deg, rgba(122, 199, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(122, 199, 255, 0.07) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 16px 16px, 16px 16px, auto;
}

body[data-color-mode="shop-pixel-ice"] :is(.layout, .landing, .login-wrap) {
  image-rendering: pixelated;
}

body[data-color-mode="shop-pixel-ice"] :is(.card, .topbar, .nav-item, .btn, .pill) {
  border-radius: 0;
  border-width: 2px;
  border-style: solid;
  box-shadow:
    4px 4px 0 rgba(12, 20, 34, 0.85),
    inset 0 0 0 1px rgba(180, 228, 255, 0.16),
    0 0 16px rgba(120, 211, 255, 0.15);
  image-rendering: pixelated;
}

body[data-color-mode="shop-pixel-ice"] :is(h1, h2, h3, h4, p, span, label, button, a, li) {
  text-shadow: 2px 2px 0 rgba(10, 20, 33, 0.7), 0 0 10px rgba(133, 220, 255, 0.22);
  letter-spacing: 0.045em;
  line-height: 1.5;
}

body[data-color-mode="shop-pixel-ice"] :is(.nav-icon, .btn, .pill, .status-pill, .color-filter-option) {
  clip-path: polygon(0 4px, 4px 4px, 4px 0, calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px));
}

body[data-color-mode="shop-pixel-ice"] #pngu-arcade-canvas {
  image-rendering: pixelated;
  border-radius: 0;
  box-shadow:
    0 0 0 2px rgba(141, 221, 255, 0.65),
    0 0 0 6px rgba(19, 36, 58, 0.95),
    8px 8px 0 rgba(10, 19, 31, 0.88);
  filter: saturate(1.35) contrast(1.18) hue-rotate(4deg);
}

body[data-color-mode="shop-pixel-ice"] .pngu-combo-dots .dot {
  border-radius: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 2px 2px 0 rgba(7, 14, 24, 0.55);
}

body[data-color-mode="shop-aurora-frost"] {
  --bg: #0d1120;
  --bg-elev: #141833;
  --panel: #1f2344;
  --panel-2: #252b52;
  --panel-3: #323d64;
  --accent: #7dfde0;
  --accent-2: #86abff;
  --border: rgba(146, 255, 234, 0.32);
}

body[data-color-mode="shop-aurora-frost"] {
  background:
    radial-gradient(980px 680px at 78% 10%, rgba(101, 232, 197, 0.26), transparent 54%),
    radial-gradient(780px 620px at 18% 12%, rgba(141, 136, 255, 0.3), transparent 58%),
    radial-gradient(900px 520px at 45% 0%, rgba(128, 255, 235, 0.2), transparent 60%),
    var(--bg);
  overflow-x: hidden;
}

body[data-color-mode="shop-aurora-frost"] :is(.card, .topbar, .nav-item.active) {
  border-color: rgba(152, 255, 229, 0.44);
  box-shadow:
    0 16px 34px rgba(4, 9, 21, 0.5),
    inset 0 0 18px rgba(138, 255, 243, 0.12),
    0 0 28px rgba(113, 248, 233, 0.12);
}

body[data-color-mode="shop-aurora-frost"]::before {
  background:
    conic-gradient(from 120deg at 50% 50%, rgba(114, 255, 233, 0.22), rgba(139, 138, 255, 0.2), rgba(135, 255, 206, 0.24), rgba(114, 255, 233, 0.22));
  width: 760px;
  height: 760px;
  top: -260px;
  left: 12%;
  opacity: 0.42;
  animation: auroraSweep 11s ease-in-out infinite alternate;
}

body[data-color-mode="shop-aurora-frost"]::after {
  background:
    radial-gradient(circle, rgba(110, 255, 220, 0.42), rgba(99, 156, 255, 0.14) 55%, transparent 72%);
  width: 620px;
  height: 620px;
  bottom: -240px;
  right: -120px;
  opacity: 0.38;
  animation: auroraSweep 9s ease-in-out infinite alternate-reverse;
}

body[data-color-mode="shop-aurora-frost"] :is(h1, h2, h3, .value, .page-header h1) {
  text-shadow: 0 0 16px rgba(133, 255, 230, 0.55), 0 0 34px rgba(140, 144, 255, 0.38);
}

body[data-color-mode="shop-aurora-frost"] #pngu-arcade-canvas {
  box-shadow:
    0 0 0 2px rgba(148, 255, 238, 0.55),
    0 0 22px rgba(113, 248, 233, 0.42),
    0 0 40px rgba(134, 163, 255, 0.3);
  filter: saturate(1.3) contrast(1.12);
}

body[data-color-mode="shop-polar-night"] {
  --bg: #0a0615;
  --bg-elev: #140d26;
  --panel: #1a1231;
  --panel-2: #24173f;
  --panel-3: #2f1f53;
  --accent: #ff8fdc;
  --accent-2: #6aaeff;
  --border: rgba(236, 151, 255, 0.28);
}

body[data-color-mode="shop-polar-night"] {
  background:
    radial-gradient(980px 760px at 84% 18%, rgba(255, 120, 225, 0.2), transparent 56%),
    radial-gradient(740px 560px at 16% 82%, rgba(112, 86, 255, 0.3), transparent 60%),
    linear-gradient(180deg, rgba(18, 12, 36, 0.84), rgba(10, 8, 24, 0.94)),
    linear-gradient(130deg, rgba(88, 149, 255, 0.14), rgba(255, 120, 225, 0.08) 46%, rgba(90, 121, 255, 0.2)),
    var(--bg);
}

body[data-color-mode="shop-polar-night"] :is(.card, .topbar, .sidebar, .nav-item.active) {
  border-color: rgba(244, 149, 255, 0.34);
  box-shadow:
    0 18px 38px rgba(8, 4, 20, 0.62),
    inset 0 0 22px rgba(255, 124, 229, 0.1),
    0 0 28px rgba(111, 156, 255, 0.18);
}

body[data-color-mode="shop-polar-night"]::before {
  background:
    radial-gradient(circle, rgba(255, 125, 229, 0.42), rgba(114, 90, 255, 0.18) 58%, transparent 74%);
  width: 700px;
  height: 700px;
  top: -240px;
  right: -120px;
  opacity: 0.38;
  animation: polarPulse 5.6s ease-in-out infinite alternate;
}

body[data-color-mode="shop-polar-night"]::after {
  background:
    radial-gradient(circle, rgba(120, 180, 255, 0.4), rgba(238, 116, 255, 0.14) 56%, transparent 74%);
  width: 620px;
  height: 620px;
  bottom: -210px;
  left: -120px;
  opacity: 0.34;
  animation: polarPulse 6.8s ease-in-out infinite alternate-reverse;
}

body[data-color-mode="shop-polar-night"] :is(h1, h2, h3, .value) {
  text-shadow: 0 0 14px rgba(255, 148, 236, 0.46), 0 0 28px rgba(114, 164, 255, 0.34);
}

body[data-color-mode="shop-polar-night"] #pngu-arcade-canvas {
  box-shadow:
    0 0 0 2px rgba(255, 150, 233, 0.5),
    0 0 18px rgba(111, 173, 255, 0.4),
    0 0 38px rgba(116, 96, 255, 0.34);
  filter: saturate(1.22) contrast(1.14) brightness(1.02) hue-rotate(8deg);
}


body[data-color-mode="shop-pixel-polar-night-led"] {
  --bg: #070611;
  --bg-elev: #12081f;
  --panel: #1f1230;
  --panel-2: #2a1740;
  --panel-3: #371c56;
  --accent: #ff9be8;
  --accent-2: #d978ff;
  --border: rgba(255, 176, 236, 0.34);
  --font-title: 'Silkscreen', 'Press Start 2P', monospace;
  --font-body: 'Silkscreen', 'Press Start 2P', monospace;
  letter-spacing: 0.01em;
  text-transform: none;
  font-size: 13px;
  background:
    radial-gradient(1200px 780px at 80% -8%, rgba(255, 132, 224, 0.24), transparent 58%),
    radial-gradient(980px 660px at 12% 0%, rgba(193, 102, 255, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(17, 7, 29, 0.96), rgba(10, 5, 20, 0.97)),
    repeating-linear-gradient(0deg, rgba(255, 148, 232, 0.08) 0 2px, transparent 2px 16px),
    repeating-linear-gradient(90deg, rgba(227, 138, 255, 0.07) 0 2px, transparent 2px 16px),
    var(--bg);
  overflow-x: hidden;
}

body[data-color-mode="shop-pixel-polar-night-led"] :is(.layout, .landing, .login-wrap) {
  image-rendering: pixelated;
}

body[data-color-mode="shop-pixel-polar-night-led"] :is(.stat-value, .value, h1, h2, h3, h4) {
  font-size: 0.9em;
}

body[data-color-mode="shop-pixel-polar-night-led"] :is(.card, .topbar, .sidebar, .nav-item, .btn, .pill, .panel-card, .feature-card, .summary-card, .stat-card) {
  border-radius: 0;
  border-width: 2px;
  border-style: solid;
  border-color: rgba(255, 180, 242, 0.34);
  box-shadow:
    0 0 0 1px rgba(255, 158, 231, 0.2) inset,
    0 0 18px rgba(210, 118, 255, 0.2),
    6px 6px 0 rgba(14, 7, 19, 0.82);
}

body[data-color-mode="shop-pixel-polar-night-led"]::before {
  width: 110vw;
  height: 64vh;
  top: -10vh;
  left: -5vw;
  opacity: 0.56;
  filter: blur(18px);
  background:
    linear-gradient(100deg, rgba(198, 84, 255, 0.22), rgba(255, 126, 218, 0.2), rgba(236, 104, 255, 0.2));
  animation: ledAuroraSweep 12s ease-in-out infinite alternate, ledMagentaFlash 9s steps(1, end) infinite;
}

body[data-color-mode="shop-pixel-polar-night-led"]::after {
  width: 120vw;
  height: 120vh;
  left: -8vw;
  top: -12vh;
  opacity: 0.34;
  filter: blur(0);
  background-image:
    radial-gradient(circle, rgba(255, 230, 255, 0.5) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(255, 168, 244, 0.35) 0 1px, transparent 1.3px),
    linear-gradient(135deg, rgba(255, 125, 228, 0.12), transparent 45%);
  background-size: 22px 22px, 28px 28px, 100% 100%;
  background-position: 0 0, 8px 12px, 0 0;
  animation: ledSnowstorm 6.6s linear infinite;
}

body[data-color-mode="shop-pixel-polar-night-led"] :is(h1, h2, h3, h4, .value, .nav-title) {
  color: #f4ebff;
  text-shadow: 0 0 10px rgba(255, 146, 235, 0.62), 0 0 20px rgba(208, 129, 255, 0.46), 1px 1px 0 rgba(12, 10, 28, 0.9);
}

body[data-color-mode="shop-pixel-polar-night-led"] :is(p, span, small, label, a, button, li) {
  text-shadow: 1px 1px 0 rgba(10, 10, 26, 0.8), 0 0 8px rgba(230, 134, 255, 0.24);
}

body[data-color-mode="shop-pixel-polar-night-led"] #pngu-arcade-canvas {
  border-radius: 0;
  image-rendering: pixelated;
  box-shadow:
    0 0 0 2px rgba(255, 168, 239, 0.66),
    0 0 0 8px rgba(20, 11, 30, 0.94),
    0 0 22px rgba(220, 136, 255, 0.46),
    8px 8px 0 rgba(11, 8, 18, 0.88);
  filter: saturate(1.28) contrast(1.18) hue-rotate(-22deg);
}

body[data-color-mode="shop-pixel-polar-night-led"] .pngu-combo-dots .dot {
  border-radius: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.26), 2px 2px 0 rgba(12, 8, 20, 0.64), 0 0 10px rgba(232, 122, 255, 0.26);
}

body[data-color-mode="shop-desert-raid"] {
  --bg: #1e1208;
  --panel: #2f1d0d;
  --panel-2: #3f2713;
  --panel-3: #57361d;
  --accent: #ffc067;
  --accent-2: #ff9f5a;
  --border: rgba(255, 203, 130, 0.4);
  --font-title: 'Cinzel', serif;
  --font-body: 'Manrope', sans-serif;
  background:
    radial-gradient(1200px 500px at 0% 30%, rgba(224, 169, 99, 0.22), transparent 62%),
    radial-gradient(980px 520px at 100% 70%, rgba(168, 108, 54, 0.24), transparent 62%),
    linear-gradient(180deg, #2b1b10 0%, #1a1009 100%);
}

body[data-color-mode="shop-desert-raid"] :is(.card, .panel-card, .feature-card, .summary-card, .stat-card, .topbar, .sidebar, .nav-item.active, .btn) {
  border-color: rgba(255, 210, 146, 0.4);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), inset 0 0 22px rgba(255, 182, 111, 0.07);
}

body[data-color-mode="shop-neon-riot"] {
  --bg: #060913;
  --panel: #13182f;
  --panel-2: #1a2040;
  --panel-3: #252d58;
  --accent: #42ffe3;
  --accent-2: #ff56d9;
  --border: rgba(120, 255, 239, 0.42);
  --font-title: 'Orbitron', sans-serif;
  --font-body: 'Manrope', sans-serif;
  background:
    radial-gradient(980px 700px at 88% 12%, rgba(255, 60, 200, 0.2), transparent 58%),
    radial-gradient(980px 700px at 12% 92%, rgba(60, 240, 255, 0.2), transparent 58%),
    linear-gradient(180deg, #0b1023, #090d1b);
}

body[data-color-mode="shop-neon-riot"] :is(.card, .panel-card, .feature-card, .summary-card, .stat-card, .topbar, .sidebar, .nav-item.active, .btn) {
  border-color: rgba(112, 253, 242, 0.46);
  box-shadow:
    0 0 0 1px rgba(78, 248, 255, 0.18) inset,
    0 0 22px rgba(91, 250, 255, 0.18),
    0 0 24px rgba(255, 87, 219, 0.14);
}

body[data-color-mode="shop-void-striker"] {
  --bg: #05040b;
  --panel: #130f20;
  --panel-2: #1b1430;
  --panel-3: #261a42;
  --accent: #ffa2e3;
  --accent-2: #b49dff;
  --border: rgba(238, 143, 255, 0.34);
  --font-title: 'Cinzel', serif;
  --font-body: 'Manrope', sans-serif;
  background:
    radial-gradient(700px 700px at 78% 20%, rgba(88, 30, 124, 0.35), transparent 58%),
    radial-gradient(980px 740px at 20% 82%, rgba(205, 88, 173, 0.18), transparent 62%),
    linear-gradient(180deg, #0c0815, #06040b);
}

body[data-color-mode="shop-void-striker"] :is(.card, .panel-card, .feature-card, .summary-card, .stat-card, .topbar, .sidebar, .nav-item.active, .btn) {
  border-color: rgba(242, 146, 255, 0.44);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.52), inset 0 0 24px rgba(164, 90, 255, 0.12);
}

body[data-color-mode="shop-overdrive-blaze"] {
  --bg: #1a0908;
  --panel: #2d100b;
  --panel-2: #40180f;
  --panel-3: #582015;
  --accent: #ff905b;
  --accent-2: #ff5a2b;
  --border: rgba(255, 162, 116, 0.35);
  --font-title: 'Orbitron', sans-serif;
  --font-body: 'Manrope', sans-serif;
  background:
    radial-gradient(1000px 700px at 50% 100%, rgba(255, 84, 40, 0.3), transparent 56%),
    radial-gradient(860px 480px at 20% 0%, rgba(255, 153, 75, 0.2), transparent 62%),
    linear-gradient(180deg, #230b09, #120504);
}

body[data-color-mode="shop-overdrive-blaze"] :is(.card, .panel-card, .feature-card, .summary-card, .stat-card, .topbar, .sidebar, .nav-item.active, .btn) {
  border-color: rgba(255, 178, 115, 0.44);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.48), inset 0 0 22px rgba(255, 120, 66, 0.12);
}

body[data-color-mode="shop-astral-shogun"] {
  --bg: #080912;
  --panel: #13172b;
  --panel-2: #1a213a;
  --panel-3: #252d4e;
  --accent: #cf9cff;
  --accent-2: #8db6ff;
  --border: rgba(186, 165, 255, 0.42);
  --font-title: 'Cinzel', serif;
  --font-body: 'Manrope', sans-serif;
  background:
    radial-gradient(1100px 780px at 82% 8%, rgba(95, 84, 255, 0.24), transparent 58%),
    radial-gradient(860px 660px at 18% 92%, rgba(156, 85, 255, 0.16), transparent 58%),
    linear-gradient(180deg, #0b0d1b, #060711);
}

body[data-color-mode="shop-astral-shogun"] :is(.card, .panel-card, .feature-card, .summary-card, .stat-card, .topbar, .sidebar, .nav-item.active, .btn) {
  border-color: rgba(186, 165, 255, 0.5);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5), inset 0 0 24px rgba(131, 147, 255, 0.12);
}

body[data-color-mode="shop-astral-shogun"] :is(.card, .panel-card, .feature-card, .summary-card, .stat-card):hover {
  box-shadow: 0 0 28px rgba(149, 162, 255, 0.42), 0 0 60px rgba(135, 95, 255, 0.2);
}

body[data-color-mode="shop-storm-lord"] {
  --bg: #0a1324;
  --panel: #12213f;
  --panel-2: #1a3157;
  --panel-3: #25457a;
  --accent: #8ed5ff;
  --accent-2: #ccf2ff;
  --border: rgba(148, 223, 255, 0.45);
  --font-title: 'Orbitron', sans-serif;
  --font-body: 'Manrope', sans-serif;
  background:
    radial-gradient(1000px 700px at 50% -10%, rgba(124, 203, 255, 0.2), transparent 56%),
    linear-gradient(180deg, #101d37, #0a1324);
}

body[data-color-mode="shop-storm-lord"] :is(.card, .panel-card, .feature-card, .summary-card, .stat-card, .topbar, .sidebar, .nav-item.active, .btn) {
  border-color: rgba(175, 228, 255, 0.5);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.44), inset 0 0 18px rgba(172, 231, 255, 0.1);
}

body[data-color-mode="shop-storm-lord"],
body[data-color-mode="shop-storm-lord"] * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Cellipse cx='17' cy='18' rx='10' ry='6' fill='%23d2e7ff'/%3E%3Cellipse cx='12' cy='16' rx='5' ry='4' fill='%23e9f4ff'/%3E%3Cellipse cx='22' cy='16' rx='5' ry='4' fill='%23e9f4ff'/%3E%3C/svg%3E") 17 17, auto;
}

body[data-color-mode="yuuki-sakura"] {
  --bg: #1a0f1f;
  --bg-elev: #26162d;
  --panel: #2d1a36;
  --panel-2: #372041;
  --panel-3: #442951;
  --accent: #f0a9d8;
  --accent-2: #c2a4ff;
  --border: rgba(238, 176, 222, 0.36);
  --text: #f8eaf7;
  --muted: #d8bfd7;
  --font-title: 'Caveat', cursive;
  --font-body: 'Caveat', cursive;
}

body[data-color-mode="yuuki-sakura"] {
  background:
    radial-gradient(900px 620px at 80% 14%, rgba(255, 165, 219, 0.18), transparent 58%),
    radial-gradient(760px 560px at 12% 20%, rgba(180, 148, 255, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(30, 17, 35, 0.97), rgba(20, 12, 26, 0.98)),
    var(--bg);
}

body[data-color-mode="yuuki-sakura"],
body[data-color-mode="yuuki-sakura"] * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg transform='rotate(-30 20 20)'%3E%3Crect x='18.5' y='3' width='3' height='25' rx='1.2' fill='%23f7f1ff'/%3E%3Crect x='14' y='25' width='12' height='3' rx='1.5' fill='%23d69cc9'/%3E%3Crect x='17' y='27' width='6' height='8' rx='2' fill='%236e455e'/%3E%3C/g%3E%3C/svg%3E") 18 4, auto;
}

body[data-color-mode="yuuki-sakura"] :is(.card, .panel-card, .feature-card, .summary-card, .stat-card, .topbar, .sidebar, .nav-item.active, .btn) {
  border-color: rgba(236, 168, 220, 0.42);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.42), inset 0 0 18px rgba(227, 162, 217, 0.14);
}

body[data-color-mode="yuuki-sakura"] :is(h1, h2, h3, h4, p, span, label, a, button, li, small, strong, em, input, select, textarea, .value, .label, .muted, .stat-value, .stat-label, .stat-sub) {
  font-family: 'Caveat', cursive !important;
  letter-spacing: 0.02em;
}

body[data-color-mode="yuuki-sakura"] :is(p, span, label, small, li, .muted, .strip-body, .summary-body, .stat-sub) {
  color: #f0dff0;
  text-shadow: none;
}

body[data-color-mode="yuuki-sakura"] :is(h1, h2, h3, h4, .page-header h1, .value, .stat-value) {
  color: #ffe5f8;
  text-shadow: 0 0 8px rgba(244, 168, 224, 0.22);
}

@keyframes auroraSweep {
  0% {
    transform: translate3d(-18px, 0, 0) scale(0.98) rotate(-4deg);
    filter: hue-rotate(0deg) saturate(1.02);
  }
  50% {
    transform: translate3d(12px, -8px, 0) scale(1.03) rotate(3deg);
    filter: hue-rotate(14deg) saturate(1.12);
  }
  100% {
    transform: translate3d(22px, -16px, 0) scale(1.06) rotate(8deg);
    filter: hue-rotate(24deg) saturate(1.18);
  }
}

@keyframes polarPulse {
  0% {
    transform: scale(0.94) translate3d(0, 0, 0);
    opacity: 0.28;
  }
  50% {
    transform: scale(1.02) translate3d(0, -8px, 0);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.08) translate3d(0, -16px, 0);
    opacity: 0.52;
  }
}

body[data-color-mode^="panel-"] .status-pill.online {
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  color: #0b1119;
}

body[data-color-mode="rgb-rainbow-deluxe"] {
  --panel: #110f24;
  --panel-2: #171433;
  --panel-3: #231f46;
  --accent: #ff5ed9;
  --accent-2: #68f9ff;
  --border: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

body[data-color-mode="rgb-rainbow-deluxe"] .card,
body[data-color-mode="rgb-rainbow-deluxe"] .panel-card,
body[data-color-mode="rgb-rainbow-deluxe"] .feature-card,
body[data-color-mode="rgb-rainbow-deluxe"] .summary-card,
body[data-color-mode="rgb-rainbow-deluxe"] .stat-card,
body[data-color-mode="rgb-rainbow-deluxe"] .topbar,
body[data-color-mode="rgb-rainbow-deluxe"] .nav-item.active,
body[data-color-mode="rgb-rainbow-deluxe"] .btn {
  background: linear-gradient(120deg, rgba(255, 65, 180, 0.32), rgba(255, 191, 65, 0.3), rgba(90, 240, 255, 0.3), rgba(138, 84, 255, 0.32));
  background-size: 260% 260%;
  border-color: rgba(255, 255, 255, 0.52);
  animation: rgbDeluxeFlow 1.6s linear infinite, rgbDeluxePulse 1.1s ease-in-out infinite alternate;
}

body[data-color-mode="rgb-rainbow-deluxe"] .btn.primary,
body[data-color-mode="rgb-rainbow-deluxe"] .status-pill.online,
body[data-color-mode="rgb-rainbow-deluxe"] .status-pill.offline {
  background: linear-gradient(90deg, #ff4fd8, #ffdd57, #4effff, #8f5dff, #ff4fd8);
  background-size: 320% 320%;
  color: #0b1119;
  animation: rgbDeluxeFlow 1.2s linear infinite;
}

body[data-color-mode="rgb-rainbow-deluxe"] .value,
body[data-color-mode="rgb-rainbow-deluxe"] .page-header h1,
body[data-color-mode="rgb-rainbow-deluxe"] .card h3 {
  text-shadow: 0 0 12px rgba(255, 118, 250, 0.62), 0 0 22px rgba(110, 255, 255, 0.58), 0 0 32px rgba(255, 208, 88, 0.5);
  animation: rgbDeluxePulse 0.9s ease-in-out infinite alternate;
}

body[data-color-mode="rgb-rainbow-deluxe"] :is(h1, h2, h3, h4, p, span, a, button, label, li, strong, em, small, .value, .label, .pill, .tag, .muted, .nav-item, .nav-title, .strip-title, .strip-body) {
  background: linear-gradient(90deg, #ff40b0, #ffd84d, #5ffcff, #8e5bff, #ff40b0);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  animation: rgbTextShift 1s linear infinite;
}

body[data-color-mode="rgb-rainbow-deluxe"] .rgb-char {
  display: inline-block;
  animation: rgbCharDance 0.55s ease-in-out infinite;
  animation-delay: var(--char-delay, 0s);
  will-change: transform;
}

body::before,
body::after {
  content: '';
  position: fixed;
  width: 420px;
  height: 420px;
  filter: blur(120px);
  opacity: 0.35;
  z-index: 0;
}

body::before {
  background: radial-gradient(circle, rgba(107, 182, 255, 0.5), transparent 70%);
  top: -120px;
  right: -120px;
}

body::after {
  background: radial-gradient(circle, rgba(46, 115, 212, 0.5), transparent 70%);
  bottom: -160px;
  left: -100px;
}

a {
  color: inherit;
  text-decoration: none;
}

.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.login-card {
  width: min(520px, 100%);
  padding: 38px;
  background: linear-gradient(145deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 60px var(--shadow);
  text-align: center;
}

.login-card h1 {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-size: 30px;
  letter-spacing: 0.4px;
}

.login-card p {
  color: var(--muted);
  margin: 0 0 24px;
}

.landing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 32px 80px;
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}

.hero-copy h1 {
  font-family: var(--font-title);
  font-size: 38px;
  margin: 8px 0 14px;
}

.hero-copy p {
  color: var(--muted);
  font-size: 16px;
  max-width: 520px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.stat-card {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(140deg, rgba(34, 42, 54, 0.8), rgba(22, 28, 38, 0.9));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.stat-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
  margin-top: 6px;
  font-family: var(--font-title);
}

.stat-value.ok {
  color: #84f7c7;
}

.stat-value.down {
  color: #ff8e8e;
}

.stat-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.panel-card {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(107, 182, 255, 0.25);
  background: linear-gradient(155deg, rgba(30, 38, 54, 0.95), rgba(20, 26, 36, 0.95));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.panel-title {
  font-family: var(--font-title);
  font-size: 20px;
  margin-bottom: 8px;
}

.panel-card p {
  color: var(--muted);
  margin: 0 0 16px;
}

.panel-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.panel-item {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text);
  font-size: 14px;
}

.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px rgba(107, 182, 255, 0.6);
}

.panel-cta {
  display: flex;
  justify-content: flex-start;
}

.panel-strip {
  display: grid;
  gap: 12px;
}

.strip-item {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(15, 18, 24, 0.6);
}

.strip-title {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.strip-body {
  margin-top: 6px;
  color: var(--text);
  font-size: 13px;
}

.feature-section {
  margin-bottom: 40px;
}

.section-head h2 {
  margin: 8px 0 8px;
  font-family: var(--font-title);
  font-size: 26px;
}

.section-head p {
  color: var(--muted);
  margin: 0 0 20px;
  max-width: 620px;
}

.feature-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(27, 33, 44, 0.95), rgba(20, 26, 36, 0.95));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.feature-head h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 18px;
}

.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(107, 182, 255, 0.15);
  border: 1px solid rgba(107, 182, 255, 0.4);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
}

.feature-card p {
  color: var(--muted);
  margin: 0 0 12px;
  font-size: 14px;
}

.feature-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(107, 182, 255, 0.12);
  border: 1px solid rgba(107, 182, 255, 0.3);
  color: var(--accent);
}

.summary-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.summary-card {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(20, 26, 36, 0.9);
}

.stat-card,
.panel-card,
.feature-card,
.summary-card,
.card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.stat-card::before,
.panel-card::before,
.feature-card::before,
.summary-card::before,
.card::before {
  content: '';
  position: absolute;
  inset: -18%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
  background:
    radial-gradient(circle at 24% 26%, rgba(210, 240, 255, 0.7) 0 1.8%, transparent 2.4%),
    radial-gradient(circle at 72% 22%, rgba(199, 233, 252, 0.64) 0 1.6%, transparent 2.2%),
    radial-gradient(circle at 34% 68%, rgba(199, 233, 252, 0.68) 0 1.7%, transparent 2.3%),
    radial-gradient(circle at 78% 74%, rgba(204, 236, 255, 0.62) 0 1.8%, transparent 2.4%),
    conic-gradient(from 0deg at 28% 32%, rgba(187, 226, 250, 0.16) 0deg 9deg, transparent 9deg 360deg),
    conic-gradient(from 20deg at 73% 68%, rgba(182, 220, 247, 0.14) 0deg 8deg, transparent 8deg 360deg);
  background-size: 160% 160%, 165% 165%, 170% 170%, 158% 158%, 150% 150%, 148% 148%;
  background-repeat: no-repeat;
  background-position: 18% 20%, 82% 16%, 30% 70%, 76% 76%, 26% 32%, 74% 68%;
  mix-blend-mode: screen;
  filter: blur(0.2px);
  transform: translate3d(0, 0, 0) scale(1.05);
  animation: frostFloat 20s linear infinite;
}

.stat-card::after,
.panel-card::after,
.feature-card::after,
.summary-card::after,
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background-image:
    radial-gradient(circle, rgba(239, 251, 255, 0.52) 0 0.8px, transparent 1.1px),
    radial-gradient(circle, rgba(196, 234, 252, 0.4) 0 0.7px, transparent 1px);
  background-size: 64px 64px, 88px 88px;
  background-position: 0 0, 22px 14px;
  transition: opacity 0.22s ease;
}

.stat-card > *,
.panel-card > *,
.feature-card > *,
.summary-card > *,
.card > * {
  position: relative;
  z-index: 1;
}

.stat-card:hover,
.stat-card:focus-within,
.panel-card:hover,
.panel-card:focus-within,
.feature-card:hover,
.feature-card:focus-within,
.summary-card:hover,
.summary-card:focus-within,
.card:hover,
.card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(153, 233, 255, 0.28);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45), 8px 0 14px rgba(130, 220, 255, 0.14);
  animation: arcticOrbitBox 3.2s linear infinite;
}

.stat-card:hover :is(.stat-label, .stat-sub, p, h4, .muted, .tag, .pill, .label, .summary-body, .strip-title, .strip-body, .feature-icon),
.stat-card:focus-within :is(.stat-label, .stat-sub, p, h4, .muted, .tag, .pill, .label, .summary-body, .strip-title, .strip-body, .feature-icon),
.panel-card:hover :is(.stat-label, .stat-sub, p, h4, .muted, .tag, .pill, .label, .summary-body, .strip-title, .strip-body, .feature-icon),
.panel-card:focus-within :is(.stat-label, .stat-sub, p, h4, .muted, .tag, .pill, .label, .summary-body, .strip-title, .strip-body, .feature-icon),
.feature-card:hover :is(.stat-label, .stat-sub, p, h4, .muted, .tag, .pill, .label, .summary-body, .strip-title, .strip-body, .feature-icon),
.feature-card:focus-within :is(.stat-label, .stat-sub, p, h4, .muted, .tag, .pill, .label, .summary-body, .strip-title, .strip-body, .feature-icon),
.summary-card:hover :is(.stat-label, .stat-sub, p, h4, .muted, .tag, .pill, .label, .summary-body, .strip-title, .strip-body, .feature-icon),
.summary-card:focus-within :is(.stat-label, .stat-sub, p, h4, .muted, .tag, .pill, .label, .summary-body, .strip-title, .strip-body, .feature-icon),
.card:hover :is(.stat-label, .stat-sub, p, h4, .muted, .tag, .pill, .label, .summary-body, .strip-title, .strip-body, .feature-icon),
.card:focus-within :is(.stat-label, .stat-sub, p, h4, .muted, .tag, .pill, .label, .summary-body, .strip-title, .strip-body, .feature-icon) {
  text-shadow: 1px 0 4px rgba(190, 238, 255, 0.2), -1px 0 7px rgba(118, 206, 245, 0.12);
  animation: arcticTextOrbit 4.2s linear infinite;
}

.stat-card:hover::before,
.stat-card:focus-within::before,
.panel-card:hover::before,
.panel-card:focus-within::before,
.feature-card:hover::before,
.feature-card:focus-within::before,
.summary-card:hover::before,
.summary-card:focus-within::before,
.card:hover::before,
.card:focus-within::before {
  opacity: 0.1;
}

.stat-card:hover::after,
.stat-card:focus-within::after,
.panel-card:hover::after,
.panel-card:focus-within::after,
.feature-card:hover::after,
.feature-card:focus-within::after,
.summary-card:hover::after,
.summary-card:focus-within::after,
.card:hover::after,
.card:focus-within::after {
  opacity: 0.06;
  animation: snowDrift 3.8s linear infinite;
}

@keyframes frostFloat {
  0% {
    transform: translate3d(-4%, -3%, 0) scale(1.04) rotate(0deg);
  }
  50% {
    transform: translate3d(3%, 2%, 0) scale(1.09) rotate(1.1deg);
  }
  100% {
    transform: translate3d(-4%, -3%, 0) scale(1.04) rotate(0deg);
  }
}

@keyframes arcticTextOrbit {
  0% {
    text-shadow: 1px 0 4px rgba(190, 238, 255, 0.2), -1px 0 7px rgba(118, 206, 245, 0.12);
  }
  25% {
    text-shadow: 0 1px 4px rgba(190, 238, 255, 0.2), 0 -1px 7px rgba(118, 206, 245, 0.12);
  }
  50% {
    text-shadow: -1px 0 4px rgba(190, 238, 255, 0.2), 1px 0 7px rgba(118, 206, 245, 0.12);
  }
  75% {
    text-shadow: 0 -1px 4px rgba(190, 238, 255, 0.2), 0 1px 7px rgba(118, 206, 245, 0.12);
  }
  100% {
    text-shadow: 1px 0 4px rgba(190, 238, 255, 0.2), -1px 0 7px rgba(118, 206, 245, 0.12);
  }
}

@keyframes arcticOrbitBox {
  0% {
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45), 8px 0 14px rgba(130, 220, 255, 0.14);
  }
  25% {
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45), 0 8px 14px rgba(130, 220, 255, 0.14);
  }
  50% {
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45), -8px 0 14px rgba(130, 220, 255, 0.14);
  }
  75% {
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45), 0 -8px 14px rgba(130, 220, 255, 0.14);
  }
  100% {
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45), 8px 0 14px rgba(130, 220, 255, 0.14);
  }
}

.mouse-snowflake {
  position: fixed;
  left: 0;
  top: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 60;
  will-change: transform, opacity;
  background: radial-gradient(circle at 35% 35%, rgba(246, 252, 255, 0.95), rgba(174, 223, 246, 0.28));
  box-shadow: 0 0 8px rgba(168, 230, 255, 0.16);
  transform: translate(-50%, -50%);
  animation: snowTraceFade 0.9s ease-out forwards;
}

.theme-fx-root {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
}

.theme-particle {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity;
}

.theme-cursor-trail {
  position: fixed;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  margin-top: -9px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 70;
  animation: themeTrailFade 0.55s ease-out forwards;
}

.theme-cursor-trail.trail-neon {
  background: radial-gradient(circle, rgba(78, 255, 236, 0.95), rgba(255, 99, 226, 0.28) 60%, transparent 72%);
}

.theme-cursor-trail.trail-void {
  background: radial-gradient(circle, rgba(255, 165, 233, 0.94), rgba(161, 121, 255, 0.25) 60%, transparent 72%);
}

.theme-cursor-trail.trail-fire {
  background: radial-gradient(circle, rgba(255, 203, 95, 0.95), rgba(255, 80, 34, 0.3) 58%, transparent 72%);
}

.theme-cursor-trail.trail-astral {
  width: 34px;
  height: 4px;
  margin-left: -17px;
  margin-top: -2px;
  border-radius: 999px;
  transform: rotate(var(--trail-rot, 0deg));
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(173, 153, 255, 0.95), rgba(110, 164, 255, 0.28));
}

.theme-cursor-trail.trail-storm {
  width: 32px;
  height: 3px;
  margin-left: -16px;
  margin-top: -1px;
  border-radius: 999px;
  transform: rotate(var(--trail-rot, 0deg));
  background: linear-gradient(90deg, rgba(215, 245, 255, 0.1), rgba(126, 216, 255, 0.96), rgba(126, 216, 255, 0.1));
  box-shadow: 0 0 8px rgba(138, 223, 255, 0.7);
}

.theme-cursor-trail.trail-sakura {
  width: 14px;
  height: 20px;
  margin-left: -7px;
  margin-top: -10px;
  border-radius: 68% 46% 66% 48%;
  background: linear-gradient(155deg, rgba(255, 187, 225, 0.95), rgba(233, 138, 194, 0.95));
}

.theme-hover-flash {
  position: absolute;
  inset: -2px;
  pointer-events: none;
  border-radius: inherit;
  z-index: 3;
  animation: hoverFlash 0.42s ease-out forwards;
}

.theme-hover-flash.astral {
  background: linear-gradient(120deg, rgba(178, 150, 255, 0.5), rgba(146, 194, 255, 0.28));
  box-shadow: 0 0 26px rgba(151, 162, 255, 0.6);
}

.theme-hover-flash.storm {
  background: linear-gradient(120deg, rgba(152, 238, 255, 0.52), rgba(110, 173, 255, 0.25));
  box-shadow: 0 0 24px rgba(144, 228, 255, 0.65);
}

.theme-particle.sand {
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 211, 150, 0.75);
  animation: sandMove linear forwards;
}

.theme-particle.rain {
  width: 2px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(213, 245, 255, 0), rgba(164, 229, 255, 0.86));
  animation: rainDrop linear forwards;
}

.theme-particle.cloud {
  width: 70px;
  height: 20px;
  border-radius: 999px;
  background: rgba(190, 219, 246, 0.16);
  filter: blur(2px);
  animation: cloudDrift linear forwards;
}

.theme-particle.blackhole {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(246, 145, 255, 0.45);
  box-shadow: inset 0 0 16px rgba(164, 62, 221, 0.45), 0 0 26px rgba(199, 109, 255, 0.34);
  animation: voidPulse 4.4s ease-in-out forwards;
}

.theme-particle.fire {
  width: 6px;
  height: 14px;
  border-radius: 60% 60% 40% 40%;
  background: linear-gradient(180deg, rgba(255, 240, 170, 0.95), rgba(255, 124, 58, 0.92) 56%, rgba(255, 62, 21, 0.82));
  animation: fireRise linear forwards;
}

.theme-particle.sakura {
  width: 11px;
  height: 18px;
  border-radius: 68% 44% 66% 48%;
  background: linear-gradient(155deg, rgba(255, 197, 228, 0.98), rgba(237, 145, 202, 0.95));
  box-shadow: 0 0 10px rgba(255, 190, 225, 0.28);
  animation: sakuraThemeFall linear forwards;
}

.theme-particle.sakura.sliced {
  animation: sakuraSlice 0.45s ease-out forwards !important;
}

.yuuki-intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #000;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.yuuki-intro span {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(32px, 8vw, 92px);
  letter-spacing: 0.14em;
  color: #f0b8ff;
  text-shadow: 0 0 14px rgba(240, 167, 255, 0.92), 0 0 40px rgba(152, 213, 255, 0.55);
  animation: yuukiSignature 2.4s ease forwards;
}

@keyframes themeTrailFade {
  from { opacity: 1; transform: scale(1) rotate(var(--trail-rot, 0deg)); }
  to { opacity: 0; transform: scale(0.2) rotate(var(--trail-rot, 0deg)); }
}

@keyframes hoverFlash {
  0% { opacity: 0.9; }
  100% { opacity: 0; }
}

@keyframes sandMove {
  0% { transform: translate3d(0, 0, 0); opacity: 0.1; }
  10% { opacity: 0.78; }
  100% { transform: translate3d(-28vw, 12vh, 0); opacity: 0; }
}

@keyframes rainDrop {
  0% { transform: translate3d(0, -10vh, 0) rotate(16deg); opacity: 0.2; }
  100% { transform: translate3d(-12vw, 108vh, 0) rotate(16deg); opacity: 0; }
}

@keyframes cloudDrift {
  0% { transform: translate3d(-10vw, 0, 0); opacity: 0.12; }
  30% { opacity: 0.22; }
  100% { transform: translate3d(112vw, 0, 0); opacity: 0; }
}

@keyframes voidPulse {
  0% { transform: scale(0.4); opacity: 0; }
  25% { transform: scale(1.02); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}

@keyframes fireRise {
  0% { transform: translate3d(0, 0, 0) scale(0.8); opacity: 0.1; }
  18% { opacity: 0.95; }
  100% { transform: translate3d(-6px, -120px, 0) scale(0.2); opacity: 0; }
}

@keyframes sakuraThemeFall {
  0% { transform: translate3d(0, -8vh, 0) rotate(0deg); opacity: 0.1; }
  15% { opacity: 0.8; }
  100% { transform: translate3d(22px, 112vh, 0) rotate(280deg); opacity: 0; }
}

@keyframes sakuraSlice {
  0% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  100% { opacity: 0; transform: translate3d(24px, 24px, 0) rotate(180deg) scale(0.2); }
}

@keyframes yuukiSignature {
  0% { opacity: 0; transform: scale(0.95); filter: blur(8px); }
  18% { opacity: 1; transform: scale(1.04); filter: blur(0); }
  75% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.02); }
}

@keyframes snowTraceFade {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--drift, 0px)), calc(-50% + var(--fall, 18px))) scale(0.35);
    opacity: 0;
  }
}

@keyframes snowDrift {
  0% {
    background-position: -6px -8px, 22px -14px;
  }
  100% {
    background-position: 16px 34px, 44px 28px;
  }
}

@keyframes rgbDeluxeFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes rgbDeluxePulse {
  0% {
    box-shadow: 0 0 12px rgba(255, 103, 226, 0.45), 0 0 18px rgba(107, 255, 251, 0.35), 0 0 28px rgba(255, 214, 105, 0.3);
    transform: translateZ(0) scale(1);
  }
  100% {
    box-shadow: 0 0 20px rgba(255, 103, 226, 0.62), 0 0 30px rgba(107, 255, 251, 0.52), 0 0 40px rgba(255, 214, 105, 0.48);
    transform: translateZ(0) scale(1.01);
  }
}

@keyframes rgbTextShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes rgbCharDance {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-3px) rotate(-5deg) scale(1.08);
  }
  50% {
    transform: translateY(2px) rotate(4deg) scale(0.96);
  }
  75% {
    transform: translateY(-2px) rotate(-3deg) scale(1.04);
  }
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

@keyframes superuserPulse {
  0% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  100% {
    transform: translateY(-1px) scale(1.02);
    filter: drop-shadow(0 0 8px rgba(157, 240, 255, 0.45));
  }
}

@keyframes eaTapeScroll {
  0% {
    background-position: -15% 30%, -15% 70%;
  }
  100% {
    background-position: 115% 30%, 115% 70%;
  }
}

.summary-title {
  font-family: var(--font-title);
  font-size: 16px;
  margin-bottom: 8px;
}

.summary-body {
  color: var(--muted);
  font-size: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  font-weight: 600;
}

.btn.primary {
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  color: #0b1119;
  border-color: transparent;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.03);
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(107, 182, 255, 0.4);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.56;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.sidebar-backdrop {
  display: none;
}

.sidebar {
  position: sticky;
  top: 0;
  max-height: 100vh;
  overflow-y: auto;
  padding: 24px 20px;
  background: var(--sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Compact 80% look without scaling the viewport/canvas */
.layout {
  grid-template-columns: 224px 1fr;
}

.sidebar {
  padding: 19px 16px;
  gap: 14px;
}

.content {
  padding: 19px 26px 32px;
}

.topbar {
  gap: 13px;
  border-radius: 13px;
  padding: 10px 11px;
  margin-bottom: 19px;
}

.topbar-left,
.topbar-right {
  gap: 13px;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.brand-title {
  font-size: 14px;
}

.brand-sub {
  font-size: 10px;
}

.nav-tools {
  gap: 6px;
  padding: 5px 6px 2px;
}

.nav-search {
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
}

.nav {
  gap: 13px;
}

.nav-item {
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav-icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  font-size: 9px;
}

.value {
  font-size: 15px;
}

.value-guild {
  font-size: 12px;
}

.guild-switch {
  gap: 6px;
  padding: 5px 8px;
  border-radius: 10px;
}

.guild-switch label {
  font-size: 10px;
}

.guild-switch select {
  font-size: 12px;
}

.page-header h1 {
  font-size: 22px;
}

.page-header p {
  font-size: 13px;
}

.grid {
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(192px, 1fr));
}

.card {
  border-radius: 14px;
  padding: 14px;
}

.btn {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
}

.input {
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
}

.pill {
  padding: 5px 10px;
  font-size: 12px;
}

.status-pill {
  padding: 6px 12px;
  font-size: 11px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  color: #0b1119;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  cursor: pointer;
  user-select: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.brand-icon:hover,
.brand-icon:focus-visible {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  outline: none;
}

.brand-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

.nav-tools {
  display: grid;
  gap: 8px;
  padding: 6px 8px 2px;
}

.nav-search-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-search {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 13px;
  outline: none;
}

.nav-search:focus {
  border-color: rgba(107, 182, 255, 0.45);
  box-shadow: 0 0 0 2px rgba(107, 182, 255, 0.14);
}

.nav-count {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: grid;
  gap: 16px;
}

.nav-section {
  display: grid;
  gap: 6px;
}

.nav-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px;
}

.nav-title {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-section-count {
  font-size: 10px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.03);
}

.nav-item {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.15s ease;
}

.nav-item:hover {
  border-color: rgba(107, 182, 255, 0.35);
  background: rgba(107, 182, 255, 0.08);
}

.nav-item.active {
  background: linear-gradient(130deg, rgba(107, 182, 255, 0.2), rgba(34, 42, 54, 0.95));
  border-color: rgba(107, 182, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.nav-item.is-disabled {
  opacity: 0.68;
  cursor: default;
}

.nav-item.is-disabled:hover {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.02);
}

.nav-icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.nav-icon::before {
  content: attr(data-icon);
}

.nav-badge {
  margin-left: auto;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(107, 182, 255, 0.2);
  color: var(--accent);
  border: 1px solid rgba(107, 182, 255, 0.35);
}

.sidebar-footer {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sidebar-footer form {
  margin: 0;
}

.sidebar-footer .btn {
  width: 100%;
}

.color-filter-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(6, 9, 14, 0.6);
  backdrop-filter: blur(4px);
}

.color-filter-modal[hidden] {
  display: none !important;
}

.color-filter-panel {
  width: min(440px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  background: linear-gradient(150deg, rgba(21, 28, 40, 0.96), rgba(30, 40, 58, 0.94));
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.color-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.color-filter-head h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 18px;
}

.color-filter-list {
  display: grid;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 4px;
}

.color-filter-list::-webkit-scrollbar {
  width: 8px;
}

.color-filter-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.color-filter-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(130, 198, 255, 0.75), rgba(206, 141, 255, 0.72));
  border-radius: 999px;
}

#superuser-modal .color-filter-panel {
  width: min(1920px, calc(100vw - 96px));
  max-height: calc(100vh - 96px);
  padding: 18px;
  font-size: 14px;
}

#superuser-modal .color-filter-head h3 {
  font-size: 16px;
}

#superuser-modal .color-filter-list {
  display: block;
  font-size: 13px;
  max-height: calc(100vh - 210px);
  overflow: auto;
  scrollbar-gutter: stable both-edges;
  padding-right: 8px;
}

#superuser-modal .table {
  min-width: 980px;
  font-size: 13px;
}

#superuser-modal .table th,
#superuser-modal .table td {
  padding: 8px 10px;
}

.color-filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  color: var(--text);
}

.color-filter-option input {
  accent-color: var(--accent);
}

.color-filter-secret {
  display: grid;
  gap: 8px;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

.color-filter-option-secret {
  border-color: rgba(125, 218, 255, 0.38);
  background: linear-gradient(130deg, rgba(95, 196, 255, 0.14), rgba(26, 40, 58, 0.72));
}

.color-filter-option-yuuki {
  border-color: rgba(255, 171, 224, 0.65);
  background:
    radial-gradient(200px 70px at 84% 50%, rgba(255, 140, 216, 0.2), transparent 70%),
    linear-gradient(120deg, rgba(255, 170, 225, 0.26), rgba(123, 79, 165, 0.3));
  box-shadow: 0 0 18px rgba(255, 158, 223, 0.28), inset 0 0 0 1px rgba(255, 205, 239, 0.26);
  gap: 8px;
}

.color-filter-option-yuuki .yuuki-option-title {
  font-family: 'Caveat', cursive;
  font-size: 24px;
  line-height: 1;
  color: #ffd8f3;
  text-shadow: 0 0 8px rgba(255, 169, 226, 0.48);
}

.color-filter-option-yuuki .yuuki-option-sign {
  margin-left: auto;
  font-family: 'Caveat', cursive;
  font-size: 19px;
  color: #ffc7ea;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 231, 0.52);
  background: rgba(92, 43, 116, 0.36);
  text-shadow: 0 0 8px rgba(255, 162, 220, 0.44);
}

.yuuki-volume-wrap {
  margin-top: 8px;
  border: 1px solid rgba(255, 176, 231, 0.44);
  border-radius: 10px;
  padding: 10px;
  background: linear-gradient(120deg, rgba(255, 171, 225, 0.16), rgba(112, 66, 149, 0.24));
}

.yuuki-volume-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.yuuki-volume-head strong {
  font-family: 'Caveat', cursive;
  font-size: 21px;
  color: #ffd8f4;
}

.yuuki-volume-head span {
  color: #ffd2ef;
  font-size: 13px;
}

#yuuki-volume-input {
  width: 100%;
  accent-color: #ff8ed8;
}

.cb-filter-defs {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

.color-filter-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  backdrop-filter: blur(8px);
}

.ea-mode-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.ea-mode-modal[hidden] {
  display: none !important;
}

.ea-mode-panel {
  width: min(420px, calc(100vw - 24px));
  border-radius: 16px;
  border: 2px solid rgba(255, 207, 84, 0.82);
  background: linear-gradient(150deg, rgba(23, 19, 10, 0.96), rgba(44, 33, 12, 0.95));
  box-shadow: 0 0 0 4px rgba(255, 170, 0, 0.22), 0 26px 60px rgba(0, 0, 0, 0.6);
  padding: 18px;
  pointer-events: auto;
}

.ea-mode-panel h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: #ffd257;
  text-transform: uppercase;
}

.ea-mode-panel p {
  margin: 0 0 8px;
}

body.ea-mode-active :is(.card, .stat-card, .panel-card, .feature-card, .summary-card, .strip-item) {
  position: relative;
  overflow: hidden;
}

.ea-lock-overlay {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background:
    repeating-linear-gradient(130deg, rgba(255, 208, 64, 0.95) 0 14px, rgba(28, 20, 2, 0.95) 14px 28px),
    repeating-linear-gradient(-130deg, rgba(255, 208, 64, 0.9) 0 14px, rgba(28, 20, 2, 0.92) 14px 28px);
  background-size: 150% 24px, 150% 24px;
  background-position: -15% 30%, -15% 70%;
  animation: eaTapeScroll 2.2s linear infinite;
}

.ea-price-tag {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-7deg);
  background: linear-gradient(135deg, #ff4d4d, #ff8a4d);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.48);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.prank-screen {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.prank-screen[hidden] {
  display: none !important;
}

.prank-screen-inner {
  max-width: 900px;
}

.prank-screen h1 {
  margin: 0;
  font-size: clamp(28px, 5.2vw, 58px);
  font-family: var(--font-title);
  line-height: 1.2;
}

.prank-screen p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.page-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 12010;
  pointer-events: none;
  background: #000;
  opacity: 0;
  transition: opacity 0.26s ease;
}

.page-transition-overlay.visible {
  opacity: 1;
}

.page-transition-overlay.circle-fade {
  opacity: 1;
  clip-path: circle(var(--circle-size, 0px) at var(--circle-x, 50%) var(--circle-y, 50%));
  transition: clip-path 0.34s cubic-bezier(0.32, 0.02, 0.11, 1);
}

.page-transition-overlay.instant {
  transition: none;
}

.content {
  min-width: 0;
  padding: 24px 32px 40px;
}

.site-footer {
  margin: 28px 32px 32px;
}

.content > .site-footer.is-dashboard {
  margin: 28px 0 0;
}

.site-footer.is-embedded {
  margin: 0;
}

.site-footer-surface {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 30px 22px;
  background:
    radial-gradient(circle at top left, rgba(107, 182, 255, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(10, 14, 22, 0.9);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
}

.site-footer.is-embedded .site-footer-surface {
  padding: 22px 22px 18px;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.site-footer-column {
  display: grid;
  gap: 14px;
  align-content: start;
}

.site-footer-column h3 {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer-brand {
  gap: 16px;
}

.site-footer-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #eef6ff;
  background: linear-gradient(135deg, rgba(26, 193, 255, 0.84), rgba(43, 90, 255, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 34px rgba(26, 97, 255, 0.22);
}

.site-footer-heading {
  font-size: 30px;
  font-family: var(--font-title);
  line-height: 1;
}

.site-footer-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.footer-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(107, 182, 255, 0.28);
  background: rgba(107, 182, 255, 0.1);
  color: #ddecff;
  font-size: 12px;
  font-weight: 600;
}

.footer-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-link,
.footer-inline-link {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover,
.footer-link:focus-visible,
.footer-inline-link:hover,
.footer-inline-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.footer-link:hover,
.footer-link:focus-visible {
  transform: translateX(2px);
}

.footer-link.disabled {
  color: var(--muted);
  opacity: 0.65;
  cursor: default;
  pointer-events: none;
}

.site-footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 13px;
}

.legal-body {
  min-height: 100vh;
}

.legal-shell {
  padding: 28px 32px 42px;
  display: grid;
  gap: 24px;
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 1fr);
  gap: 24px;
  align-items: end;
}

.legal-hero-copy h1 {
  margin-bottom: 12px;
}

.legal-hero-copy p {
  margin: 0;
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.7;
}

.legal-topnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.legal-topnav-link {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.legal-topnav-link.active {
  color: #edf5ff;
  border-color: rgba(107, 182, 255, 0.4);
  background: rgba(107, 182, 255, 0.12);
}

.legal-header-actions {
  margin-top: 18px;
}

.legal-layout {
  display: grid;
  gap: 20px;
}

.legal-panel {
  padding: 24px 26px;
}

.legal-panel h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.legal-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.legal-action-row {
  margin-top: 16px;
}

.document-viewer-wrap {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.document-viewer {
  width: 100%;
  min-height: 68vh;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(7, 10, 16, 0.8);
}

.document-empty {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.info-list {
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}

.info-row {
  display: grid;
  grid-template-columns: minmax(160px, 190px) 1fr;
  gap: 12px;
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.info-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.info-row dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-row dd {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
  word-break: break-word;
}

.legal-config-form {
  display: grid;
  gap: 24px;
}

.legal-config-group {
  display: grid;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.legal-config-group h4 {
  margin: 0;
}

.legal-config-group p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.field-hint {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.required-mark {
  color: #ffb3a6;
}

.file-input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.document-source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.document-source-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(107, 182, 255, 0.28);
  background: rgba(107, 182, 255, 0.12);
  color: #dcecff;
  font-size: 12px;
  font-weight: 600;
}

.legal-link-summary {
  display: grid;
  gap: 16px;
}

.legal-link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 10px;
  z-index: 10;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
  backdrop-filter: blur(10px);
  background: rgba(17, 22, 30, 0.8);
  margin-bottom: 24px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-right {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.superuser-mode-form {
  margin: 0;
}

.superuser-mode-btn {
  min-width: 138px;
}

.superuser-mode-pill {
  background: linear-gradient(135deg, rgba(255, 106, 224, 0.2), rgba(108, 214, 255, 0.2));
  border-color: rgba(166, 214, 255, 0.45);
  color: #bce6ff;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
}

.menu-toggle:hover {
  border-color: rgba(107, 182, 255, 0.4);
}

.signed-in {
  display: grid;
  gap: 4px;
}

.label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.value {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-title);
}

.topbar-user-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: -3px;
  border: 1px solid var(--border);
  object-fit: cover;
}

.superuser-name {
  background: linear-gradient(90deg, #ff4bc5, #ffe35f, #63f7ff, #8e63ff, #ff4bc5);
  background-size: 260% 260%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(255, 112, 228, 0.45), 0 0 16px rgba(107, 255, 255, 0.35);
  animation: rgbTextShift 1.2s linear infinite, superuserPulse 1.1s ease-in-out infinite alternate;
}

.value-guild {
  font-size: 15px;
  display: inline-block;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.guild-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
}

.guild-switch label {
  font-size: 12px;
  color: var(--muted);
}

.guild-switch select {
  background: transparent;
  color: var(--text);
  border: none;
  outline: none;
  font-size: 13px;
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar.is-superuser-mode .topbar-right {
  gap: 10px;
}

.topbar.is-superuser-mode .superuser-mode-btn {
  min-width: 0;
  padding: 8px 10px;
  font-size: 12px;
  white-space: nowrap;
}

.topbar.is-superuser-mode .value-guild {
  max-width: 160px;
}

.topbar.is-superuser-mode .guild-switch select {
  max-width: 180px;
}

.page {
  padding-top: 8px;
  display: grid;
  gap: 0.5cm;
  align-content: start;
}

.page-header {
  margin-bottom: 18px;
}

.page-header h1 {
  margin: 0 0 6px;
  font-family: var(--font-title);
  font-size: 28px;
}

.page-header p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.servers-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}

.servers-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
  justify-content: start;
}

.servers-block {
  display: grid;
  gap: 12px;
}

.servers-supertools {
  display: grid;
  gap: 8px;
  padding: 6px 2px 2px;
}

.banned-users-module {
  display: grid;
  gap: 16px;
}

.banned-users-form {
  margin: 0;
}

.banned-users-actions {
  align-items: center;
}

.banned-users-table-wrap {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(8, 12, 20, 0.54);
  overflow: auto;
}

.banned-users-table-wrap .table {
  min-width: 640px;
}

#banned-users-table tbody tr {
  cursor: pointer;
}

#banned-users-table tbody tr:hover,
#banned-users-table tbody tr:focus-within {
  background: rgba(107, 182, 255, 0.08);
}

#superuser-modal .color-filter-panel {
  width: min(1200px, calc(100vw - 24px));
}

#superuser-modal .color-filter-list {
  overflow: auto;
}

.superuser-unban-form {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.servers-subtitle {
  display: none;
}

.server-tile {
  min-width: 0;
  border: 1px solid rgba(129, 171, 232, 0.3);
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(150deg, rgba(20, 24, 40, 0.96), rgba(16, 20, 33, 0.96));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 12px;
}

.server-tile-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.server-tile-meta {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.server-tile-name {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.2;
  font-size: 17px;
}

.server-tile-status {
  font-size: 13px;
  color: #9db1cc;
}

.server-tile.is-active .server-tile-status {
  color: #2ce58a;
}

.server-tile-btn {
  width: 100%;
  border-radius: 10px;
  border-width: 1px;
  border-style: solid;
  color: #eef4ff;
  font-weight: 700;
}

.server-tile-btn.is-add {
  background: linear-gradient(90deg, #5f62ff, #3f93ff);
  border-color: rgba(136, 170, 255, 0.35);
}

.server-tile-btn.is-manage {
  background: linear-gradient(140deg, rgba(28, 39, 60, 0.92), rgba(20, 30, 47, 0.94));
  border-color: rgba(90, 120, 165, 0.3);
  color: #d9e6fb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.server-tile-btn.is-manage:hover,
.server-tile-btn.is-manage:focus-visible {
  background: linear-gradient(140deg, rgba(34, 47, 72, 0.94), rgba(24, 36, 56, 0.96));
  border-color: rgba(108, 143, 196, 0.42);
  color: #e6f0ff;
}

.selfrole-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.selfrole-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 10px;
}

.selfrole-card-head {
  display: grid;
  gap: 8px;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
}

.selfrole-card-emoji {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.selfrole-card-meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.selfrole-card-meta strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.selfrole-card-meta span {
  color: var(--muted);
  font-size: 12px;
}

.selfrole-card-desc {
  color: #d7deea;
  font-size: 13px;
  min-height: 18px;
}

.selfrole-card-id code {
  display: inline-block;
  font-size: 12px;
  color: #b6c6df;
}

.selfrole-preview-buttons .btn {
  min-width: 44px;
}

.selfrole-preview-buttons[data-style="stacked"] {
  flex-wrap: wrap;
}

.selfrole-panel-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.selfrole-panel-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  display: grid;
  gap: 10px;
}

.selfrole-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.selfrole-panel-head span {
  font-size: 12px;
  color: var(--muted);
}

.selfrole-panel-desc {
  color: #d7deea;
  font-size: 13px;
}

.selfrole-sort-wrap {
  display: grid;
  gap: 12px;
}

.selfrole-sort-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.selfrole-sortable-card {
  cursor: grab;
}

.selfrole-sortable-card.is-dragging {
  opacity: 0.55;
  transform: scale(0.98);
}

.modlog-event-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.modlog-event-card {
  border: 1px solid rgba(120, 88, 185, 0.45);
  border-radius: 14px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(69, 17, 82, 0.92), rgba(52, 16, 74, 0.94)),
    linear-gradient(90deg, rgba(73, 211, 255, 0.28), rgba(255, 255, 255, 0));
  box-shadow: inset 4px 0 0 rgba(103, 220, 255, 0.88);
  display: grid;
  gap: 10px;
}

.modlog-event-title {
  font-weight: 800;
  color: #f5eefe;
}

.modlog-event-body {
  color: #e6daf8;
  font-size: 14px;
  line-height: 1.5;
}

.modlog-event-meta {
  color: #cbb6e6;
  font-size: 12px;
}

.card {
  background: linear-gradient(150deg, rgba(27, 33, 44, 0.96), rgba(34, 42, 54, 0.9));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 16px 40px var(--shadow);
}

.card.accent {
  border-color: rgba(107, 182, 255, 0.4);
  background: linear-gradient(150deg, rgba(107, 182, 255, 0.14), rgba(34, 42, 54, 0.92));
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-family: var(--font-title);
}

.card h4 {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
}

.pngu-arcade-page {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(129, 237, 255, 0.5);
  border-radius: 22px;
  background:
    radial-gradient(640px 300px at 16% 8%, rgba(98, 255, 224, 0.16), transparent 70%),
    radial-gradient(760px 420px at 88% 96%, rgba(116, 179, 255, 0.16), transparent 66%),
    linear-gradient(145deg, rgba(6, 11, 24, 0.98), rgba(12, 20, 41, 0.96) 46%, rgba(11, 14, 28, 0.96));
  box-shadow:
    0 0 0 1px rgba(136, 241, 255, 0.24) inset,
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(105, 214, 255, 0.18);
}

.pngu-arcade-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.pngu-arcade-head h3 {
  margin: 2px 0 4px;
  font-family: 'Press Start 2P', 'Silkscreen', monospace;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(131, 241, 255, 0.55);
}

.pngu-arcade-head-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.pngu-arcade-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: #8ef6df;
}

.pngu-arcade-layout {
  margin-top: 14px;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(360px, 390px) minmax(0, 1fr);
}

.pngu-arcade-board-wrap {
  display: grid;
  gap: 9px;
  align-content: start;
}

#pngu-arcade-canvas {
  width: 360px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 5;
  border-radius: 16px;
  border: 2px solid rgba(145, 240, 255, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 0 5px rgba(8, 22, 42, 0.9),
    0 0 30px rgba(116, 235, 255, 0.25),
    0 20px 40px rgba(0, 0, 0, 0.45);
}

.pngu-arcade-controls {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.pngu-arcade-credit {
  margin: 0;
  color: #9fd8ff;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.pngu-combo-strip {
  display: grid;
  gap: 6px;
}

.pngu-combo-strip span {
  font-size: 12px;
  color: #a8d4ef;
}

.pngu-combo-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 16px;
}

.pngu-combo-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 10px rgba(143, 228, 255, 0.42);
}

.pngu-combo-dots .dot.empty {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.pngu-arcade-side {
  display: grid;
  gap: 12px;
}

.pngu-arcade-topstats {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
}

.pngu-arcade-topstats div {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(152, 223, 255, 0.22);
  background: rgba(3, 14, 28, 0.36);
  border-radius: 10px;
  padding: 8px 10px;
}

.pngu-arcade-topstats span {
  font-size: 12px;
  color: #8fb6d8;
}

.pngu-arcade-topstats strong {
  font-size: 15px;
}

.pngu-arcade-actions {
  justify-content: flex-start;
  margin-top: 0;
}

.pngu-achievements ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.pngu-achievements li {
  display: grid;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.025);
}

.pngu-achievements li > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pngu-achievements li .icon {
  width: 20px;
  display: inline-flex;
  justify-content: center;
}

.pngu-achievements li small {
  color: var(--muted);
  font-size: 11px;
}

.pngu-achievements li em {
  font-style: normal;
  font-size: 11px;
  color: #8fd6ff;
}

.pngu-achievements li.done {
  border-color: rgba(118, 233, 189, 0.5);
  background: rgba(118, 233, 189, 0.1);
}

.pngu-achievements li.locked {
  border-color: rgba(255, 255, 255, 0.12);
}

.pngu-admin-panel {
  border: 1px dashed rgba(255, 170, 227, 0.42);
  border-radius: 12px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(255, 90, 214, 0.14), rgba(197, 112, 255, 0.12));
}

.pngu-admin-panel h4 {
  margin: 0 0 4px;
}

.pngu-admin-actions {
  justify-content: flex-start;
  margin-top: 8px;
}

.pngu-admin-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 10px;
}

.pngu-admin-card {
  border: 1px solid rgba(255, 162, 238, 0.24);
  border-radius: 10px;
  padding: 10px;
  background: rgba(18, 10, 28, 0.5);
}

.pngu-admin-card h5 {
  margin: 0 0 6px;
  font-size: 13px;
}

.pngu-admin-inline,
.pngu-admin-fields {
  display: grid;
  gap: 8px;
}

.pngu-admin-inline {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.pngu-admin-card input {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 173, 234, 0.28);
  background: rgba(10, 9, 18, 0.65);
  color: #f8eaff;
  padding: 8px 10px;
}

.pngu-admin-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.pngu-admin-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 176, 238, 0.35);
  background: rgba(255, 104, 217, 0.12);
  color: #ffdfff;
  font-size: 11px;
  padding: 4px 8px;
}

.pngu-admin-chip button {
  border: 0;
  background: rgba(255, 176, 238, 0.22);
  color: #ffe8ff;
  border-radius: 999px;
  width: 18px;
  height: 18px;
  line-height: 1;
  cursor: pointer;
}

.pngu-admin-chip em {
  font-style: normal;
  opacity: 0.8;
}

.pngu-shop-overlay {
  position: absolute;
  inset: 0;
  z-index: 12;
  background: rgba(2, 7, 14, 0.82);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 14px;
}

.pngu-shop-overlay[hidden] {
  display: none !important;
}

.pngu-shop-chest {
  width: min(760px, calc(100vw - 34px));
  border-radius: 18px;
  border: 2px solid rgba(198, 154, 83, 0.72);
  background:
    repeating-linear-gradient(90deg, rgba(83, 51, 25, 0.95) 0 24px, rgba(99, 60, 30, 0.95) 24px 48px),
    linear-gradient(160deg, rgba(68, 41, 20, 0.95), rgba(84, 52, 26, 0.95));
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 223, 169, 0.25);
  padding: 16px;
  position: relative;
  color: #f2e8d8;
}

.pngu-shop-bands {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 6%, rgba(184, 164, 126, 0.3) 6% 11%, transparent 11% 89%, rgba(184, 164, 126, 0.3) 89% 94%, transparent 94%),
    linear-gradient(transparent 0 18%, rgba(184, 164, 126, 0.35) 18% 22%, transparent 22% 78%, rgba(184, 164, 126, 0.35) 78% 82%, transparent 82%);
  border-radius: 14px;
}

.pngu-shop-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.pngu-shop-head h4 {
  margin: 0;
  color: #ffeecf;
}

#pngu-shop-list {
  display: grid;
  gap: 9px;
  margin-top: 11px;
  position: relative;
  z-index: 1;
}

.pngu-shop-rarity {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

.pngu-shop-rarity .btn.active {
  background: linear-gradient(100deg, rgba(255, 220, 125, 0.5), rgba(255, 172, 116, 0.5));
  color: #221307;
  border-color: rgba(255, 224, 173, 0.85);
}

.pngu-shop-pages {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.pngu-shop-pages span {
  font-size: 12px;
  min-width: 88px;
  text-align: center;
}

.pngu-shop-empty {
  border: 1px dashed rgba(255, 233, 189, 0.42);
  border-radius: 10px;
  padding: 10px;
  color: #f9e5b9;
  font-size: 12px;
  background: rgba(29, 18, 10, 0.5);
}

.pngu-shop-item {
  border-radius: 10px;
  border: 1px solid rgba(236, 208, 163, 0.34);
  padding: 9px 10px;
  display: grid;
  gap: 7px;
  background: rgba(22, 13, 7, 0.45);
}

.pngu-shop-item.done {
  border-color: rgba(121, 232, 189, 0.4);
  background: rgba(48, 90, 72, 0.4);
}

.pngu-shop-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pngu-shop-row .cost {
  margin-left: auto;
  font-size: 12px;
  color: #9fdcff;
}

.pngu-shop-item small {
  color: #e7dbc4;
  font-size: 11px;
}

.pngu-shop-item .btn {
  justify-self: start;
}

.pngu-shop-item.rarity-rare { border-color: rgba(129, 214, 255, 0.45); }
.pngu-shop-item.rarity-very-rare { border-color: rgba(126, 255, 205, 0.45); }
.pngu-shop-item.rarity-super-rare { border-color: rgba(187, 161, 255, 0.5); }
.pngu-shop-item.rarity-ultra-rare { border-color: rgba(255, 130, 160, 0.52); }
.pngu-shop-item.rarity-legendary { border-color: rgba(255, 200, 110, 0.58); }
.pngu-shop-item.rarity-mythic {
  border-color: rgba(255, 165, 233, 0.72);
  box-shadow: 0 0 14px rgba(255, 162, 223, 0.26);
}

.pngu-mouse-tracer {
  position: absolute;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  margin-top: -6px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 20;
  background: radial-gradient(circle, rgba(143, 238, 255, 0.9), rgba(143, 238, 255, 0.2) 70%, transparent 74%);
  box-shadow: 0 0 12px rgba(135, 233, 255, 0.5);
  animation: pnguTrailFade 0.5s ease-out forwards;
}

.pngu-mouse-tracer.slash {
  width: 42px;
  height: 4px;
  margin-left: -21px;
  margin-top: -2px;
  border-radius: 999px;
  transform: rotate(var(--slash-angle, 0deg));
  background: linear-gradient(90deg, rgba(255, 247, 255, 0.06), rgba(255, 184, 234, 0.88), rgba(223, 158, 255, 0.2));
  box-shadow: 0 0 12px rgba(255, 165, 225, 0.62);
}

.pngu-sakura-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 6;
}

.pngu-sakura-leaf {
  position: absolute;
  top: -6%;
  width: 10px;
  height: 16px;
  border-radius: 70% 40% 70% 50%;
  background: linear-gradient(145deg, rgba(255, 180, 220, 0.92), rgba(244, 140, 203, 0.92));
  box-shadow: 0 0 8px rgba(255, 176, 217, 0.4);
  animation: sakuraFall linear forwards;
}

@keyframes pnguTrailFade {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.1); }
}

@keyframes sakuraFall {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  40% { transform: translate3d(24px, 42vh, 0) rotate(120deg); }
  100% { transform: translate3d(-32px, 110vh, 0) rotate(290deg); }
}

.form {
  display: grid;
  gap: 12px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid.two {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.button-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.avatar-preview {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  object-fit: cover;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bot-profile-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.bot-profile-meta {
  display: grid;
  gap: 10px;
}

.bot-profile-meta-row {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.bot-profile-key {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bot-profile-value {
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0.01em;
  white-space: pre-wrap;
  word-break: break-word;
}

.bot-profile-avatars {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.bot-avatar-block {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.bot-banner-block {
  min-width: min(320px, 100%);
}

.bot-banner-preview {
  width: min(420px, 100%);
  max-height: 130px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.bot-profile-form {
  gap: 14px;
}

.bot-profile-list {
  display: grid;
  gap: 12px;
}

.bot-profile-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.bot-profile-item h4 {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.bot-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.bot-profile-upload-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.bot-profile-upload-card {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
}

.bot-profile-upload-card strong {
  color: #f2f6ff;
}

.bot-profile-upload-card span {
  color: var(--muted);
  font-size: 13px;
}

.bot-profile-switches {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.bot-profile-preview-shell {
  margin-top: 6px;
}

.bot-profile-combined-preview {
  position: relative;
  min-height: 260px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top right, rgba(107, 182, 255, 0.16), transparent 32%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  overflow: hidden;
}

.bot-profile-combined-banner {
  position: relative;
  height: 150px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(7, 12, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bot-profile-combined-avatar {
  position: absolute;
  left: 32px;
  bottom: 70px;
  width: 110px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(7, 12, 20, 0.96);
  border: 4px solid rgba(15, 22, 34, 0.98);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

.bot-profile-combined-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  margin-top: 22px;
  padding-left: 134px;
}

.bot-profile-combined-copy strong {
  color: #f2f6ff;
}

.bot-profile-live-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bot-profile-live-media.is-pending {
  max-width: none;
  max-height: none;
}

.bot-profile-media-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.03em;
}

.welcome-preview-card {
  --welcome-accent: #00ff80;
  --welcome-text: #f5f7fb;
  --welcome-overlay: 0.42;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.12), rgba(5, 10, 18, 0.18)),
    radial-gradient(120% 130% at 0% 0%, rgba(114, 215, 255, 0.18), transparent 60%),
    linear-gradient(135deg, rgba(17, 24, 38, 0.95), rgba(10, 16, 27, 0.98));
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 999px rgba(6, 10, 18, var(--welcome-overlay));
}

.welcome-preview-card::after {
  content: "";
  position: absolute;
  inset: auto -12% -28% auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, color-mix(in srgb, var(--welcome-accent) 28%, transparent), transparent 70%);
  pointer-events: none;
}

.welcome-preview-card[data-layout="split"] .welcome-preview-shell {
  grid-template-columns: 92px 1fr;
}

.welcome-preview-card[data-layout="banner"] .welcome-preview-shell {
  align-items: flex-end;
}

.welcome-preview-badge-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 0;
}

.welcome-preview-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 250px;
  padding: 22px 22px 26px;
}

.welcome-preview-avatar {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
  object-fit: cover;
}

.welcome-preview-copy {
  display: grid;
  gap: 10px;
  color: var(--welcome-text);
}

.welcome-preview-copy strong {
  font-family: var(--font-title);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.welcome-preview-message {
  max-width: 680px;
  line-height: 1.55;
  color: color-mix(in srgb, var(--welcome-text) 92%, white);
}

.welcome-preview-meta {
  font-size: 13px;
  color: color-mix(in srgb, var(--welcome-text) 72%, rgba(255, 255, 255, 0.4));
}

.feature-visibility-cell {
  display: grid;
  gap: 6px;
}

.feature-visibility-cell code {
  font-size: 12px;
  color: var(--accent);
}

.feature-visibility-pill.is-public {
  background: rgba(88, 222, 154, 0.14);
  border-color: rgba(88, 222, 154, 0.34);
  color: #8ef0b5;
}

.feature-visibility-pill.is-teaser {
  background: rgba(255, 196, 92, 0.14);
  border-color: rgba(255, 196, 92, 0.34);
  color: #ffd688;
}

.feature-visibility-pill.is-superuser {
  background: rgba(126, 182, 255, 0.16);
  border-color: rgba(126, 182, 255, 0.34);
  color: #95c8ff;
}

.feature-visibility-pill.is-hidden {
  background: rgba(255, 120, 120, 0.14);
  border-color: rgba(255, 120, 120, 0.34);
  color: #ffb3b3;
}

.bot-image-cropper-modal[hidden] {
  display: none !important;
}

.bot-image-cropper-modal {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 10, 18, 0.78);
  backdrop-filter: blur(10px);
  isolation: isolate;
}

.bot-image-cropper-panel {
  width: min(1080px, 100%);
  max-height: min(92vh, 980px);
  overflow: auto;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(19, 25, 36, 0.96), rgba(12, 18, 28, 0.98));
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}

.bot-image-cropper-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(16, 23, 35, 0.98), rgba(16, 23, 35, 0.88));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bot-image-cropper-head h3 {
  margin: 0 0 6px;
}

.bot-image-cropper-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  padding: 20px;
}

.bot-image-cropper-workspace {
  min-width: 0;
  display: grid;
  align-items: start;
}

.bot-image-cropper-stage {
  --crop-aspect: 1;
  position: relative;
  width: 100%;
  aspect-ratio: var(--crop-aspect);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.03) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.03) 75%),
    rgba(7, 12, 20, 0.96);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}

.bot-image-cropper-stage[data-shape="avatar"] {
  max-width: min(520px, 100%);
  margin-inline: auto;
}

.bot-image-cropper-stage.is-dragging {
  cursor: grabbing;
}

.bot-image-cropper-stage img,
.bot-image-cropper-stage video {
  position: absolute;
  top: 0;
  left: 0;
  user-select: none;
  -webkit-user-drag: none;
  max-width: none;
  transform-origin: top left;
}

.bot-image-cropper-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 22px;
  box-shadow:
    0 0 0 9999px rgba(3, 7, 12, 0.58),
    inset 0 0 0 2px rgba(124, 196, 255, 0.92),
    inset 0 0 36px rgba(102, 170, 255, 0.18);
}

.bot-image-cropper-stage[data-shape="avatar"] .bot-image-cropper-frame {
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.bot-image-cropper-stage[data-shape="avatar"] .bot-image-cropper-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at center,
      transparent 0 37.95%,
      rgba(7, 12, 20, 0.76) 38% 100%);
}

.bot-image-cropper-stage[data-shape="avatar"] .bot-image-cropper-frame::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 2px solid rgba(232, 241, 255, 0.96);
  box-shadow: 0 0 0 1px rgba(25, 34, 48, 0.55);
}

.bot-image-cropper-sidebar {
  display: grid;
  gap: 14px;
  align-content: start;
}

.bot-image-cropper-info {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.bot-image-cropper-meta {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  white-space: pre-wrap;
}

.bot-image-cropper-zoom {
  width: 100%;
}

.bot-image-cropper-actions {
  justify-content: flex-start;
}

.bot-image-cropper-nudge-row {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.bot-image-cropper-preview[hidden] {
  display: none !important;
}

.bot-image-cropper-preview {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.bot-image-cropper-preview-shell {
  display: grid;
  place-items: center;
  padding: 18px;
  aspect-ratio: 1;
  border-radius: 22px;
  background: rgba(7, 12, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bot-image-cropper-preview-circle {
  position: relative;
  width: min(100%, 190px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(232, 241, 255, 0.92);
  background: rgba(7, 12, 20, 0.96);
  box-shadow:
    0 0 0 1px rgba(25, 34, 48, 0.55),
    0 16px 34px rgba(0, 0, 0, 0.28);
}

.bot-image-cropper-preview-circle img,
.bot-image-cropper-preview-circle video {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

@media (max-width: 900px) {
  .bot-image-cropper-modal {
    padding: 12px;
  }

  .bot-image-cropper-layout {
    grid-template-columns: 1fr;
  }

  .bot-image-cropper-stage[data-shape="avatar"] {
    max-width: min(100%, 420px);
  }
}

.bot-profile-form .btn.primary {
  width: 100%;
}

.color-filter-option-toggle {
  border-style: dashed;
  border-color: rgba(126, 182, 255, 0.4);
  background: rgba(126, 182, 255, 0.08);
}

@media (max-width: 900px) {
  .bot-profile-status {
    grid-template-columns: 1fr;
  }

  .bot-profile-combined-preview {
    min-height: 230px;
  }

  .bot-profile-combined-avatar {
    left: 20px;
    bottom: 82px;
    width: 92px;
  }

  .bot-profile-combined-copy {
    padding-left: 0;
    margin-top: 56px;
  }

  .welcome-preview-shell {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }

  .welcome-preview-avatar {
    width: 72px;
    height: 72px;
  }

  .welcome-preview-copy strong {
    font-size: 24px;
  }
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 14px;
}

select.input[multiple] {
  padding: 8px 10px;
  min-height: 140px;
}

textarea.input {
  resize: vertical;
  min-height: 80px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.checkbox input {
  margin: 0;
}

.notices {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.notice {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.notice.success {
  border-color: rgba(107, 182, 255, 0.4);
}

.notice.error {
  border-color: rgba(255, 99, 99, 0.4);
  color: #ffb3b3;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(107, 182, 255, 0.16);
  color: var(--accent);
  border: 1px solid rgba(107, 182, 255, 0.25);
  font-size: 12px;
}

.pill.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border);
}

.status-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
}

.status-pill.online {
  color: #0b1119;
  background: linear-gradient(130deg, #8ef7c2, #52d48f);
  border-color: transparent;
}

.status-pill.offline {
  color: #0b1119;
  background: linear-gradient(130deg, #ffb3b3, #ff6b6b);
  border-color: transparent;
}

.muted {
  color: var(--muted);
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 14px;
}

.table th,
.table td {
  border-bottom: 1px solid var(--border);
  padding: 10px 8px;
  text-align: left;
}

.table th {
  color: var(--muted);
  font-weight: 600;
}

.track-audio {
  width: 220px;
}

.table .input {
  max-width: 220px;
}

.inline-form {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.lock-toggle-form .lock-toggle-btn {
  min-width: 46px;
  padding: 10px 12px;
  font-size: 18px;
  line-height: 1;
}

.lock-toggle-form .lock-toggle-btn.is-locked {
  border-color: rgba(250, 128, 255, 0.68);
  box-shadow: inset 0 0 12px rgba(250, 128, 255, 0.2), 0 0 16px rgba(250, 128, 255, 0.18);
}

.lock-toggle-form .lock-toggle-btn.is-unlocked {
  border-color: rgba(144, 218, 255, 0.58);
  box-shadow: inset 0 0 10px rgba(144, 218, 255, 0.18), 0 0 12px rgba(144, 218, 255, 0.14);
}

.spacer {
  height: 12px;
}

.embed-preview {
  border-left: 4px solid var(--embed-color, var(--accent));
  background: rgba(15, 18, 24, 0.7);
  border-radius: 12px;
  padding: 12px 14px;
  display: grid;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
}

.embed-title {
  font-weight: 700;
  font-size: 14px;
}

.embed-desc {
  color: var(--text);
  white-space: pre-wrap;
}

.embed-fields {
  display: grid;
  gap: 8px;
}

.embed-field {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 8px;
}

.embed-field-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.embed-footer {
  color: var(--muted);
  font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .stat-card,
  .panel-card,
  .feature-card,
  .summary-card,
  .card {
    transition: none;
  }

  .stat-card::before,
  .panel-card::before,
  .feature-card::before,
  .summary-card::before,
  .card::before,
  .stat-card::after,
  .panel-card::after,
  .feature-card::after,
  .summary-card::after,
  .card::after {
    animation: none;
  }

  .mouse-snowflake {
    animation: none;
    opacity: 0;
  }

  .stat-card:hover :is(.stat-label, .stat-sub, p, h4, .muted, .tag, .pill, .label, .summary-body, .strip-title, .strip-body, .feature-icon),
  .stat-card:focus-within :is(.stat-label, .stat-sub, p, h4, .muted, .tag, .pill, .label, .summary-body, .strip-title, .strip-body, .feature-icon),
  .panel-card:hover :is(.stat-label, .stat-sub, p, h4, .muted, .tag, .pill, .label, .summary-body, .strip-title, .strip-body, .feature-icon),
  .panel-card:focus-within :is(.stat-label, .stat-sub, p, h4, .muted, .tag, .pill, .label, .summary-body, .strip-title, .strip-body, .feature-icon),
  .feature-card:hover :is(.stat-label, .stat-sub, p, h4, .muted, .tag, .pill, .label, .summary-body, .strip-title, .strip-body, .feature-icon),
  .feature-card:focus-within :is(.stat-label, .stat-sub, p, h4, .muted, .tag, .pill, .label, .summary-body, .strip-title, .strip-body, .feature-icon),
  .summary-card:hover :is(.stat-label, .stat-sub, p, h4, .muted, .tag, .pill, .label, .summary-body, .strip-title, .strip-body, .feature-icon),
  .summary-card:focus-within :is(.stat-label, .stat-sub, p, h4, .muted, .tag, .pill, .label, .summary-body, .strip-title, .strip-body, .feature-icon),
  .card:hover :is(.stat-label, .stat-sub, p, h4, .muted, .tag, .pill, .label, .summary-body, .strip-title, .strip-body, .feature-icon),
  .card:focus-within :is(.stat-label, .stat-sub, p, h4, .muted, .tag, .pill, .label, .summary-body, .strip-title, .strip-body, .feature-icon) {
    animation: none;
  }

  .stat-card:hover,
  .stat-card:focus-within,
  .panel-card:hover,
  .panel-card:focus-within,
  .feature-card:hover,
  .feature-card:focus-within,
  .summary-card:hover,
  .summary-card:focus-within,
  .card:hover,
  .card:focus-within {
    animation: none;
  }
}

@media (max-width: 980px) {
  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 18;
  }

  .layout.sidebar-open .sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .layout {
    display: block;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(84vw, 320px);
    height: 100vh;
    max-height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    border-right: 1px solid var(--border);
    z-index: 22;
  }

  .layout.sidebar-open .sidebar {
    transform: translateX(0);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    top: 8px;
  }

  .topbar-right {
    width: 100%;
    justify-content: flex-start;
  }

  .landing {
    padding: 36px 20px 60px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .content {
    padding: 16px 16px 28px;
  }

  .site-footer {
    margin: 16px 16px 24px;
  }

  .content > .site-footer.is-dashboard {
    margin: 24px 0 0;
  }

  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .legal-shell {
    padding: 20px 16px 32px;
  }

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

  .legal-topnav {
    justify-content: flex-start;
  }

  .legal-panel {
    padding: 20px 18px;
  }

  .document-viewer {
    min-height: 56vh;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .guild-switch {
    width: 100%;
    flex-wrap: wrap;
  }

  .guild-switch select {
    min-width: 160px;
  }

  .banned-users-actions .btn {
    width: 100%;
  }

  .banned-users-table-wrap .table {
    min-width: 520px;
  }

  .sidebar-footer {
    grid-template-columns: 1fr;
  }

  .pngu-arcade-layout {
    grid-template-columns: 1fr;
  }

  .pngu-arcade-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .pngu-arcade-head-meta {
    justify-items: start;
  }

  #pngu-arcade-canvas {
    margin: 0 auto;
  }

  .pngu-arcade-actions .btn {
    flex: 1 1 140px;
  }

  .pngu-shop-chest {
    width: min(560px, calc(100vw - 34px));
  }
}

@media (max-width: 760px) {
  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-surface {
    padding: 24px 20px 20px;
  }
}

@keyframes ledAuroraSweep {
  0% {
    transform: translate3d(-2%, 0, 0) skewX(-10deg) scale(1);
    filter: blur(18px) hue-rotate(0deg) saturate(1.04);
  }
  50% {
    transform: translate3d(1.5%, -2%, 0) skewX(-6deg) scale(1.04);
    filter: blur(20px) hue-rotate(14deg) saturate(1.18);
  }
  100% {
    transform: translate3d(4%, -4%, 0) skewX(-2deg) scale(1.08);
    filter: blur(22px) hue-rotate(22deg) saturate(1.24);
  }
}

@keyframes ledMagentaFlash {
  0%, 8%, 24%, 44%, 64%, 82%, 100% {
    box-shadow: none;
    opacity: 0.54;
  }
  9%, 25%, 45%, 65%, 83% {
    box-shadow: 0 0 120px rgba(255, 0, 214, 0.28), inset 0 0 80px rgba(255, 52, 221, 0.2);
    opacity: 0.72;
  }
  10%, 26%, 46%, 66%, 84% {
    box-shadow: none;
    opacity: 0.56;
  }
}

@keyframes ledSnowstorm {
  0% {
    transform: translate3d(0, -4%, 0);
    opacity: 0.24;
  }
  50% {
    transform: translate3d(-3%, 2%, 0);
    opacity: 0.34;
  }
  100% {
    transform: translate3d(-7%, 9%, 0);
    opacity: 0.44;
  }
}


.pngu-level-target {
  border: 1px solid rgba(111, 236, 255, 0.42);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  background: linear-gradient(145deg, rgba(6, 20, 33, 0.8), rgba(7, 15, 26, 0.82));
  display: grid;
  gap: 6px;
}

.pngu-star-guide {
  border: 1px solid rgba(255, 209, 138, 0.44);
  border-radius: 12px;
  padding: 10px 12px;
  background: linear-gradient(145deg, rgba(38, 26, 9, 0.7), rgba(25, 17, 6, 0.75));
  display: grid;
  gap: 5px;
}

.pngu-star-guide h4 {
  margin: 0 0 3px;
  font-size: 13px;
}

.pngu-star-guide p {
  margin: 0;
  font-size: 12px;
}

.pngu-star-guide small {
  color: #f2ddb8;
  font-size: 11px;
}

.pngu-world-shell,
.pngu-event-shell {
  border: 1px solid rgba(138, 227, 255, 0.3);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(150deg, rgba(8, 19, 34, 0.78), rgba(7, 14, 24, 0.86));
}

.pngu-linear-note {
  margin: 0 0 10px;
  padding: 7px 9px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 176, 92, 0.42);
  background: rgba(45, 24, 6, 0.35);
  color: #ffd7a4;
  font-size: 11px;
}

.pngu-world-rules {
  margin-bottom: 10px;
}

.pngu-rule-card {
  border: 1px solid rgba(180, 225, 255, 0.25);
  border-radius: 11px;
  background: rgba(12, 20, 36, 0.5);
  padding: 9px 10px;
  display: grid;
  gap: 5px;
}

.pngu-rule-card h5 {
  margin: 0;
  font-size: 12px;
}

.pngu-rule-card p {
  margin: 0;
  font-size: 11px;
  color: #c7d9eb;
}

.pngu-worldmap {
  display: grid;
  gap: 6px;
}

.pngu-world-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  padding: 9px 10px;
  display: grid;
  gap: 4px;
  text-align: left;
  color: #ecf6ff;
  background: linear-gradient(145deg, rgba(17, 26, 40, 0.7), rgba(10, 19, 31, 0.72));
}

.pngu-world-link {
  height: 12px;
  margin: -2px auto -2px;
  width: 2px;
  background: linear-gradient(180deg, rgba(130, 222, 255, 0.66), rgba(130, 222, 255, 0.12));
}

.pngu-world-card.world-1 { border-color: rgba(86, 208, 153, 0.55); }
.pngu-world-card.world-2 { border-color: rgba(245, 196, 111, 0.58); }
.pngu-world-card.world-3 { border-color: rgba(136, 211, 255, 0.58); }
.pngu-world-card.world-4 { border-color: rgba(255, 134, 101, 0.58); }
.pngu-world-card.world-5 { border-color: rgba(225, 155, 255, 0.58); }

.pngu-world-card .name { font-weight: 700; font-size: 12px; }
.pngu-world-card .tag,
.pngu-world-card .meta { font-size: 11px; color: #a8c6df; }
.pngu-world-card .status {
  justify-self: start;
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 3px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #d4ebff;
}

.pngu-world-card.active {
  box-shadow: 0 0 0 2px rgba(134, 214, 255, 0.35), 0 0 18px rgba(133, 231, 255, 0.2);
  transform: translateY(-1px);
}

.pngu-world-card.locked {
  opacity: 0.55;
}

.pngu-level-shell {
  margin-top: 9px;
  display: grid;
  gap: 8px;
}

.pngu-level-shell-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.pngu-level-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.pngu-level-card {
  border: 1px solid rgba(150, 218, 255, 0.26);
  border-radius: 10px;
  padding: 7px 6px;
  background: rgba(6, 18, 30, 0.66);
  display: grid;
  gap: 5px;
  justify-items: center;
}

.pngu-level-card .lvl { font-weight: 700; font-size: 12px; }
.pngu-level-card .stars { font-size: 11px; min-height: 14px; }
.pngu-level-card .stars em { font-style: normal; opacity: 0.7; }
.pngu-level-card .path { font-size: 9px; color: #95bad9; letter-spacing: 0.08em; }
.pngu-level-card.active { border-color: rgba(158, 233, 255, 0.72); }
.pngu-level-card.locked { opacity: 0.52; }

.pngu-event-worlds {
  display: grid;
  gap: 8px;
}

.pngu-event-card {
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: rgba(10, 15, 25, 0.45);
  padding: 8px 10px;
  display: grid;
  gap: 3px;
}

.pngu-event-card strong { font-size: 12px; }
.pngu-event-card small { font-size: 11px; color: #b8c5d6; }
.pngu-event-card span { font-size: 11px; color: #f2ce8c; }

.pngu-event-card.open {
  border-style: solid;
  border-color: rgba(255, 205, 132, 0.58);
  background: linear-gradient(140deg, rgba(66, 36, 12, 0.56), rgba(26, 18, 12, 0.52));
}

@media (max-width: 860px) {
  .pngu-level-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@font-face {
  font-family: 'Noto Sans';
  src: url('welcome-fonts/NotoSans-Variable.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Orbitron';
  src: url('welcome-fonts/Orbitron-Variable.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('welcome-fonts/SpaceGrotesk-Variable.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Bebas Neue';
  src: url('welcome-fonts/BebasNeue-Regular.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('welcome-fonts/CormorantGaramond-Variable.ttf') format('truetype');
  font-display: swap;
}

.welcome-overview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.welcome-info-panels,
.welcome-preview-sidecards {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.welcome-pill-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.welcome-info-card,
.welcome-banner-stage,
.welcome-embed-preview,
.welcome-form-section {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(144, 202, 255, 0.14);
  background:
    linear-gradient(160deg, rgba(20, 29, 42, 0.92), rgba(10, 15, 25, 0.96));
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.welcome-info-card::before,
.welcome-banner-stage::before,
.welcome-embed-preview::before,
.welcome-form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 220px at 0% 0%, rgba(121, 224, 255, 0.12), transparent 65%),
    radial-gradient(480px 240px at 100% 100%, rgba(100, 146, 255, 0.12), transparent 68%);
}

.welcome-info-card {
  padding: 18px 18px 16px;
  display: grid;
  gap: 12px;
}

.welcome-info-card h4 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 15px;
}

.welcome-log-list {
  display: grid;
  gap: 10px;
}

.welcome-log-item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.welcome-log-item strong {
  font-size: 13px;
}

.welcome-log-item span {
  font-size: 12px;
  color: var(--muted);
}

.welcome-log-item.is-warning {
  border-color: rgba(255, 196, 112, 0.32);
  background: rgba(255, 183, 77, 0.08);
}

.welcome-log-item.is-warning strong {
  color: #ffd893;
}

.welcome-studio-preview {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: start;
}

.welcome-banner-stage {
  padding: 18px;
}

.welcome-stage-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.welcome-stage-toolbar strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-title);
  font-size: 16px;
}

#welcome-preview-canvas {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1200 / 420;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(7, 14, 24, 0.86), rgba(5, 10, 18, 0.92));
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.welcome-embed-preview {
  --welcome-embed-accent: #79E0FF;
  padding: 18px;
  display: grid;
  gap: 14px;
  border-left: 4px solid var(--welcome-embed-accent);
}

.welcome-embed-preview.is-disabled {
  opacity: 0.66;
  filter: saturate(0.84);
}

.welcome-embed-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.welcome-embed-head img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.welcome-embed-head strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.welcome-embed-body {
  color: #eff6ff;
  font-size: 14px;
  line-height: 1.65;
}

.welcome-embed-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.welcome-embed-field {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.welcome-embed-field.is-inline {
  min-height: 100%;
}

.welcome-embed-field strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.86);
}

.welcome-embed-field span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.welcome-embed-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.welcome-button-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.welcome-button-preview.is-primary {
  background: rgba(88, 166, 255, 0.18);
  color: #bbdcff;
}

.welcome-button-preview.is-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #edf5ff;
}

.welcome-button-preview.is-success {
  background: rgba(80, 210, 150, 0.18);
  color: #bff8da;
}

.welcome-button-preview.is-danger {
  background: rgba(255, 110, 126, 0.18);
  color: #ffc1c9;
}

.welcome-font-sample {
  min-height: 120px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed rgba(133, 202, 255, 0.24);
  background:
    linear-gradient(160deg, rgba(9, 16, 26, 0.86), rgba(8, 13, 22, 0.94));
  text-align: center;
  font-size: clamp(20px, 2vw, 34px);
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: #f1f7ff;
}

.welcome-studio-form {
  display: grid;
  gap: 18px;
}

.welcome-form-section {
  padding: 18px;
}

.welcome-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.welcome-form-head h4 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 16px;
}

.welcome-studio-form .form-grid.two {
  align-items: start;
}

.welcome-studio-form label .input[type="range"] {
  padding: 0;
  background: transparent;
  border: 0;
  accent-color: var(--accent);
}

.welcome-studio-form textarea.input {
  min-height: 110px;
}

.welcome-studio-form .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.welcome-studio-form .button-row .btn {
  min-width: 180px;
}

@media (max-width: 1180px) {
  .welcome-studio-preview {
    grid-template-columns: 1fr;
  }

  .welcome-preview-sidecards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .welcome-stage-toolbar,
  .welcome-form-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .welcome-embed-fields,
  .welcome-preview-sidecards {
    grid-template-columns: 1fr;
  }

  .welcome-banner-stage,
  .welcome-embed-preview,
  .welcome-form-section,
  .welcome-info-card {
    padding: 14px;
  }

  .welcome-font-sample {
    min-height: 100px;
    font-size: 18px;
  }
}

.frontend-runtime-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: min(460px, calc(100vw - 36px));
}

.frontend-runtime-banner__surface {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 107, 107, 0.36);
  background: rgba(18, 26, 38, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}

.frontend-runtime-banner__surface strong {
  color: #ffd9d9;
  font-size: 15px;
}

.frontend-runtime-banner__message {
  color: #f2f5fb;
  line-height: 1.5;
}

.frontend-runtime-banner__reload {
  justify-self: start;
}
