:root {
  --bg: #07070d;
  --bg-2: #0d1020;
  --panel: rgba(16, 18, 32, 0.84);
  --panel-strong: rgba(21, 24, 42, 0.96);
  --panel-line: rgba(255, 184, 73, 0.22);
  --text: #f8f3e6;
  --muted: #b9b6c9;
  --red: #ff3434;
  --red-2: #ff7b3a;
  --orange: #ffb13d;
  --gold: #f7d36b;
  --green: #39d987;
  --blue: #80c7ff;
  --danger: #ff5d6e;
  --ok: #58f0a6;
  --shadow-red: 0 0 28px rgba(255, 52, 52, 0.36);
  --shadow-gold: 0 0 30px rgba(255, 177, 61, 0.34);
  --shadow-green: 0 0 34px rgba(57, 217, 135, 0.26);
  --radius: 8px;
  --cursor-normal: url("../img/maple-cursor-click.png?v=20260725-cursor-press-v6") 7 2, auto;
  --cursor-hover: url("../img/maple-cursor-click.png?v=20260725-cursor-press-v6") 7 2, pointer;
  --cursor-click: url("../img/maple-cursor.png?v=20260725-cursor-press-v6") 7 2, pointer;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  background: var(--bg);
  cursor: var(--cursor-normal);
}

html * {
  cursor: var(--cursor-normal);
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 52, 52, 0.22), transparent 29rem),
    radial-gradient(circle at 92% 10%, rgba(57, 217, 135, 0.16), transparent 25rem),
    linear-gradient(180deg, #07070d 0%, #0b0d19 42%, #06060b 100%);
  overflow-x: hidden;
}

a,
button,
.card,
.nav-link,
.rank-row,
.dragon-ball {
  cursor: var(--cursor-hover);
}

input,
textarea {
  cursor: text;
}

select {
  cursor: var(--cursor-hover);
}

html.cursor-force-hover,
html.cursor-force-hover *,
body.cursor-force-hover,
body.cursor-force-hover * {
  cursor: var(--cursor-hover) !important;
}

html:active,
html:active *,
body:active,
body:active * {
  cursor: var(--cursor-click) !important;
}

a:active,
button:active,
[role="button"]:active,
.nav-link:active,
.donor-payment-method-tab:active {
  cursor: var(--cursor-click) !important;
}

html.cursor-pressed,
html.cursor-pressed *,
body.cursor-pressed,
body.cursor-pressed * {
  cursor: var(--cursor-click) !important;
}

html:active input,
html:active textarea,
body:active input,
body:active textarea,
html.cursor-pressed input,
html.cursor-pressed textarea,
body.cursor-pressed input,
body.cursor-pressed textarea,
html.cursor-force-hover input,
html.cursor-force-hover textarea,
body.cursor-force-hover input,
body.cursor-force-hover textarea {
  cursor: text !important;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #fff06f;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 240, 111, 0.18);
}

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

.skip-link {
  position: fixed;
  z-index: 80;
  left: 1rem;
  top: 1rem;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  color: #151000;
  border-radius: 7px;
  background: linear-gradient(135deg, #fff06f, #ffb22e);
  font-weight: 900;
  transition: transform 0.14s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.energy-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.site {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 2.5vw, 2.2rem);
  border-bottom: 1px solid rgba(255, 177, 61, 0.18);
  background: rgba(7, 7, 13, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 950;
  letter-spacing: 0;
}

.brand-mark {
  width: 2.1rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #2b1300;
  font-weight: 950;
  background:
    radial-gradient(circle at 34% 30%, #fff3a8 0 10%, transparent 11%),
    radial-gradient(circle at 58% 42%, #9e2a11 0 6%, transparent 7%),
    radial-gradient(circle, #ffb13d 0 56%, #e76822 57% 72%, #5b2409 73%);
  border: 2px solid #ffd36b;
  border-radius: 50%;
  box-shadow: var(--shadow-gold);
}

.brand-name {
  font-size: 1.05rem;
}

.server-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex: 0 0 auto;
  min-height: 2.05rem;
  padding: 0.34rem 0.56rem;
  color: #fff5bd;
  border: 1px solid rgba(255, 230, 109, 0.26);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 230, 109, 0.16), transparent 1.3rem),
    linear-gradient(135deg, rgba(11, 34, 82, 0.72), rgba(23, 15, 52, 0.76));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 8px 18px rgba(0, 0, 0, 0.14);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.server-time time {
  color: #8dffbb;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.035em;
  text-shadow: 0 0 12px rgba(141, 255, 187, 0.24);
}

.server-time-zone {
  color: rgba(255, 245, 189, 0.74);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  padding: 0.45rem 0.65rem;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.88rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  border-color: rgba(255, 177, 61, 0.28);
  background: rgba(255, 177, 61, 0.08);
}

.account-actions {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

@media (max-width: 1180px) {
  .topbar {
    gap: 0.6rem;
  }

  .server-time-label {
    display: none;
  }
}

.notification-center {
  position: relative;
  z-index: 30;
}

.notification-bell {
  position: relative;
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid rgba(255, 230, 109, 0.34);
  border-radius: 12px;
  color: #fff0a6;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.2), transparent 1rem),
    rgba(9, 22, 61, 0.7);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.notification-bell:hover,
.notification-bell[aria-expanded="true"] {
  border-color: rgba(105, 233, 157, 0.55);
  background: linear-gradient(135deg, rgba(255, 202, 69, 0.2), rgba(105, 233, 157, 0.16));
}

.notification-bell-icon {
  font-size: 1rem;
  line-height: 1;
}

.notification-badge {
  position: absolute;
  top: -0.38rem;
  right: -0.35rem;
  min-width: 1.15rem;
  height: 1.15rem;
  display: grid;
  place-items: center;
  padding: 0 0.28rem;
  border: 2px solid #080a16;
  border-radius: 999px;
  color: #190800;
  background: linear-gradient(135deg, #ffef73, #ff7a31);
  font-size: 0.58rem;
  font-weight: 1000;
}

.notification-badge[hidden] {
  display: none;
}

.notification-panel {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  width: min(23rem, calc(100vw - 2rem));
  padding: 0.75rem;
  border: 1px solid rgba(255, 230, 109, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 202, 69, 0.12), transparent 12rem),
    linear-gradient(145deg, rgba(7, 15, 35, 0.98), rgba(18, 13, 45, 0.98));
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.45);
}

.notification-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.notification-panel-head span {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.notification-panel-head strong {
  color: #fff4ca;
  font-size: 0.9rem;
}

.notification-panel-head button {
  border: 0;
  color: #8bffb8;
  background: transparent;
  font-size: 0.7rem;
  font-weight: 900;
}

.notification-list {
  display: grid;
  gap: 0.45rem;
  max-height: 24rem;
  overflow: auto;
}

.notification-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.58rem;
  width: 100%;
  padding: 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  color: #dfeaff;
  background: rgba(3, 13, 31, 0.68);
  text-align: left;
}

.notification-item.is-unread {
  border-color: rgba(255, 202, 69, 0.35);
  background: rgba(22, 31, 66, 0.88);
}

.notification-item.is-read {
  opacity: 0.72;
}

.notification-dot {
  width: 0.58rem;
  height: 0.58rem;
  margin-top: 0.22rem;
  border-radius: 50%;
  background: #7bc9ff;
  box-shadow: 0 0 16px rgba(123, 201, 255, 0.6);
}

.notification-item.is-success .notification-dot {
  background: #69e99d;
}

.notification-item.is-warning .notification-dot {
  background: #ffca45;
}

.notification-item.is-danger .notification-dot {
  background: #ff6b5f;
}

.notification-item strong,
.notification-item small {
  display: block;
}

.notification-item strong {
  color: #fff3bf;
  font-size: 0.78rem;
}

.notification-item small {
  margin-top: 0.2rem;
  color: #aebdd4;
  font-size: 0.66rem;
  line-height: 1.35;
}

.notification-empty {
  padding: 0.85rem;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #9eacc1;
  font-size: 0.78rem;
}

.notification-empty.is-error {
  color: #ff9c92;
  border-color: rgba(255, 107, 95, 0.3);
}

.signed-in-label {
  display: inline-flex;
  align-items: center;
  min-height: 2.9rem;
  padding: 0.48rem 0.72rem;
  color: #fff1b8;
  border: 1px solid rgba(255, 230, 109, 0.32);
  border-radius: 8px;
  background: rgba(9, 22, 61, 0.58);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.signed-in-label strong {
  margin-left: 0.32rem;
  color: #8bffb8;
}

.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: clamp(600px, 76vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 177, 61, 0.16);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,7,13,0.98), rgba(7,7,13,0.72), rgba(7,7,13,0.22)),
    linear-gradient(180deg, rgba(7,7,13,0.04), rgba(7,7,13,0.94)),
    var(--hero-image, url("../img/capsule-city.png")) center/cover;
  opacity: 0.95;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 26% 50%, rgba(255, 52, 52, 0.3), transparent 18rem),
    radial-gradient(circle at 80% 34%, rgba(57, 217, 135, 0.18), transparent 18rem);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--gold);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  box-shadow: var(--shadow-red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 0.8rem;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 18px rgba(255, 52, 52, 0.62),
    0 6px 0 rgba(36, 12, 7, 0.75);
}

.hero-subtitle {
  color: #f7e7c8;
  max-width: 58ch;
  font-size: clamp(1.05rem, 1.7vw, 1.34rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.8rem 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 211, 107, 0.4);
  border-radius: 7px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.035);
  font-weight: 800;
}

.btn.primary {
  color: #230b04;
  background: linear-gradient(135deg, var(--gold), var(--orange) 55%, var(--red-2));
  border-color: rgba(255, 232, 160, 0.72);
  box-shadow: var(--shadow-gold);
}

.btn.red {
  background: linear-gradient(135deg, var(--red), #a01519);
  border-color: rgba(255, 120, 80, 0.8);
  box-shadow: var(--shadow-red);
}

.btn.green {
  color: #03130b;
  background: linear-gradient(135deg, #65f0a9, #23a962);
  border-color: rgba(149, 255, 199, 0.75);
  box-shadow: var(--shadow-green);
}

.btn.ghost {
  background: rgba(9, 11, 20, 0.64);
}

.btn:disabled,
.btn.is-loading {
  color: rgba(255, 255, 255, 0.74);
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, #727272, #4f5665);
  box-shadow: none;
  filter: grayscale(0.35);
  opacity: 0.78;
  transform: none;
}

.btn:disabled {
  cursor: var(--cursor-normal) !important;
}

.btn.is-loading {
  cursor: var(--cursor-hover) !important;
}

button:disabled,
button[aria-disabled="true"] {
  cursor: var(--cursor-normal) !important;
}

button.is-loading {
  cursor: var(--cursor-hover) !important;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
}

.stat-pill {
  padding: 0.75rem;
  border: 1px solid rgba(255, 177, 61, 0.18);
  border-radius: 8px;
  background: rgba(10, 12, 22, 0.75);
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.stat-value {
  display: block;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 950;
}

.hero-art {
  position: relative;
  min-height: 430px;
}

.shenron {
  position: absolute;
  width: min(430px, 88%);
  right: -8%;
  top: 10%;
  filter: drop-shadow(0 0 28px rgba(58, 220, 108, 0.58));
  z-index: 3;
  animation: float 5.2s ease-in-out infinite;
}

.maple-saiyan-hero {
  position: absolute;
  left: -14%;
  bottom: 0;
  width: min(172px, 27vw);
  image-rendering: auto;
  filter:
    drop-shadow(0 0 14px rgba(255, 230, 91, 0.78))
    drop-shadow(0 0 30px rgba(255, 76, 36, 0.42));
  z-index: 4;
  animation: saiyanFloat 2.8s ease-in-out infinite;
}

.aura-ring {
  position: absolute;
  inset: 12% 2% 0 auto;
  width: min(390px, 94%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(255, 177, 61, 0.28);
  box-shadow: inset 0 0 54px rgba(255, 52, 52, 0.25), 0 0 52px rgba(255, 52, 52, 0.28);
  z-index: 1;
  animation: pulse 1.8s ease-in-out infinite;
}

.dragon-ball-field {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.dragon-ball {
  position: absolute;
  width: 3rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #fff6af 0 10%, transparent 12%),
    radial-gradient(circle, #ffb13d 0 54%, #d95c19 72%);
  border: 2px solid rgba(255, 237, 145, 0.82);
  box-shadow: var(--shadow-gold);
  display: grid;
  place-items: center;
  animation: drift 7s ease-in-out infinite;
}

.dragon-ball-field > .dragon-ball:nth-child(1) { left: 3%; top: 14%; animation-delay: 0.2s; }
.dragon-ball-field > .dragon-ball:nth-child(2) { left: 22%; top: 6%; animation-delay: 0.8s; }
.dragon-ball-field > .dragon-ball:nth-child(3) { right: 3%; top: 7%; animation-delay: 1.4s; }
.dragon-ball-field > .dragon-ball:nth-child(4) { right: 16%; bottom: 20%; animation-delay: 2s; }
.dragon-ball-field > .dragon-ball:nth-child(5) { left: 9%; bottom: 19%; animation-delay: 2.6s; }
.dragon-ball-field > .dragon-ball:nth-child(6) { right: 35%; top: 24%; animation-delay: 3.2s; }
.dragon-ball-field > .dragon-ball:nth-child(7) { left: 42%; bottom: 6%; animation-delay: 3.8s; }

.dragon-ball-inline {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  flex: 0 0 auto;
}

.dragon-stars {
  position: relative;
  width: 68%;
  height: 68%;
  display: block;
}

.dragon-star {
  position: absolute;
  width: 0.42rem;
  aspect-ratio: 1;
  background: #a61511;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 1px 0 rgba(255, 220, 145, 0.3));
  transform: translate(-50%, -50%);
}

.stars-1 .dragon-star:nth-child(1) { left: 50%; top: 50%; }
.stars-2 .dragon-star:nth-child(1) { left: 38%; top: 50%; }
.stars-2 .dragon-star:nth-child(2) { left: 62%; top: 50%; }
.stars-3 .dragon-star:nth-child(1) { left: 50%; top: 33%; }
.stars-3 .dragon-star:nth-child(2) { left: 38%; top: 62%; }
.stars-3 .dragon-star:nth-child(3) { left: 62%; top: 62%; }
.stars-4 .dragon-star:nth-child(1) { left: 38%; top: 38%; }
.stars-4 .dragon-star:nth-child(2) { left: 62%; top: 38%; }
.stars-4 .dragon-star:nth-child(3) { left: 38%; top: 62%; }
.stars-4 .dragon-star:nth-child(4) { left: 62%; top: 62%; }
.stars-5 .dragon-star:nth-child(1) { left: 50%; top: 30%; }
.stars-5 .dragon-star:nth-child(2) { left: 34%; top: 48%; }
.stars-5 .dragon-star:nth-child(3) { left: 66%; top: 48%; }
.stars-5 .dragon-star:nth-child(4) { left: 40%; top: 68%; }
.stars-5 .dragon-star:nth-child(5) { left: 60%; top: 68%; }
.stars-6 .dragon-star:nth-child(1) { left: 34%; top: 34%; }
.stars-6 .dragon-star:nth-child(2) { left: 50%; top: 34%; }
.stars-6 .dragon-star:nth-child(3) { left: 66%; top: 34%; }
.stars-6 .dragon-star:nth-child(4) { left: 34%; top: 62%; }
.stars-6 .dragon-star:nth-child(5) { left: 50%; top: 62%; }
.stars-6 .dragon-star:nth-child(6) { left: 66%; top: 62%; }
.stars-7 .dragon-star:nth-child(1) { left: 50%; top: 25%; }
.stars-7 .dragon-star:nth-child(2) { left: 31%; top: 39%; }
.stars-7 .dragon-star:nth-child(3) { left: 69%; top: 39%; }
.stars-7 .dragon-star:nth-child(4) { left: 50%; top: 50%; }
.stars-7 .dragon-star:nth-child(5) { left: 31%; top: 65%; }
.stars-7 .dragon-star:nth-child(6) { left: 69%; top: 65%; }
.stars-7 .dragon-star:nth-child(7) { left: 50%; top: 78%; }

.section {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-header h2,
.page-title h1 {
  margin-bottom: 0.35rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-header p,
.page-title p {
  color: var(--muted);
  max-width: 70ch;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  padding: 1.15rem;
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
    var(--panel);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--orange), transparent);
  opacity: 0.74;
}

.card.green::before {
  background: linear-gradient(90deg, var(--green), var(--gold), transparent);
}

.card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}

.card p,
.muted {
  color: var(--muted);
}

.feature-detail-layout {
  display: grid;
  gap: 1rem;
}

body[data-page="features"] .section-header {
  margin-bottom: 0.75rem;
}

body[data-page="features"] .section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.feature-tab-grid,
.feature-card-grid {
  display: grid;
  gap: 0.7rem;
}

.feature-tab-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-category-tab,
.feature-category-panel,
.feature-card {
  --feature-accent: rgba(255, 202, 73, 0.26);
  --feature-accent-strong: #ffe66d;
  --feature-accent-soft: rgba(255, 140, 43, 0.18);
}

.feature-accent-gold {
  --feature-accent: rgba(255, 202, 73, 0.26);
  --feature-accent-strong: #ffe66d;
  --feature-accent-soft: rgba(255, 140, 43, 0.18);
}

.feature-accent-green {
  --feature-accent: rgba(68, 239, 145, 0.24);
  --feature-accent-strong: #45ef91;
  --feature-accent-soft: rgba(39, 182, 121, 0.18);
}

.feature-accent-blue {
  --feature-accent: rgba(77, 201, 255, 0.24);
  --feature-accent-strong: #4dc9ff;
  --feature-accent-soft: rgba(62, 124, 255, 0.18);
}

.feature-accent-orange {
  --feature-accent: rgba(255, 159, 28, 0.24);
  --feature-accent-strong: #ffb14c;
  --feature-accent-soft: rgba(255, 96, 44, 0.18);
}

.feature-category-tab,
.feature-category-panel,
.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-category-tab::after,
.feature-category-panel::after,
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--feature-accent-soft), transparent 55%);
  pointer-events: none;
}

.feature-category-tab {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  min-height: 4.8rem;
  padding: 0.72rem 0.78rem;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(12, 17, 39, 0.88), rgba(8, 12, 29, 0.97)),
    radial-gradient(circle at top right, var(--feature-accent-soft), transparent 48%);
  color: var(--text);
  text-align: left;
  font: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.feature-category-tab.active {
  transform: translateY(-2px);
  border-color: var(--feature-accent-strong);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--feature-accent-soft) 58%, rgba(12, 17, 39, 0.94)), rgba(8, 12, 29, 0.98)),
    radial-gradient(circle at top right, var(--feature-accent-soft), transparent 48%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 13px 28px rgba(0, 0, 0, 0.22);
}

.feature-category-tab:focus-visible,
.feature-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--feature-accent-strong) 74%, white);
  outline-offset: 3px;
}

.feature-tab-copy {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  gap: 0.16rem;
}

.feature-category-icon {
  display: inline-grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  flex: 0 0 2.45rem;
  border: 1px solid var(--feature-accent);
  border-radius: 0.75rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), var(--feature-accent-soft));
  color: var(--feature-accent-strong);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.feature-category-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
  filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.2));
}

.feature-category-icon img,
.feature-icon-chip img {
  display: block;
  width: 1.85rem;
  height: 1.85rem;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.34));
}

.feature-category-icon .feature-icon-img-npc,
.feature-icon-chip .feature-icon-img-npc {
  width: 2.05rem;
  height: 2.12rem;
  object-position: center bottom;
}

.feature-category-icon .feature-icon-img-skill,
.feature-category-icon .feature-icon-img-cash,
.feature-category-icon .feature-icon-img-equip,
.feature-category-icon .feature-icon-img-item,
.feature-icon-chip .feature-icon-img-skill,
.feature-icon-chip .feature-icon-img-cash,
.feature-icon-chip .feature-icon-img-equip,
.feature-icon-chip .feature-icon-img-item {
  image-rendering: pixelated;
}

.feature-category-eyebrow {
  color: var(--feature-accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-tab-title {
  color: #fff1b8;
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1.15;
}

.feature-tab-count {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature-tab-marker {
  position: relative;
  z-index: 1;
  display: block;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--feature-accent-strong);
  box-shadow: 0 0 13px var(--feature-accent-strong);
  opacity: 0.38;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.feature-category-tab.active .feature-tab-marker {
  opacity: 1;
  transform: scale(1.35);
}

.feature-panel-shell {
  display: grid;
}

.feature-panel-shell:empty {
  display: none;
}

.feature-empty-panel {
  display: grid;
  place-items: center;
  min-height: 16rem;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(12, 18, 43, 0.7), rgba(8, 12, 31, 0.9)),
    radial-gradient(circle at top right, rgba(255, 188, 71, 0.12), transparent 42%);
}

.feature-empty-copy {
  width: min(100%, 520px);
  text-align: center;
  display: grid;
  gap: 0.55rem;
}

.feature-category-panel {
  display: grid;
  gap: 0.8rem;
  padding: 0.85rem;
  border-color: var(--feature-accent);
  background:
    linear-gradient(180deg, rgba(12, 18, 43, 0.9), rgba(8, 12, 31, 0.97)),
    radial-gradient(circle at top right, var(--feature-accent-soft), transparent 44%);
}

.feature-panel-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.15rem 0.15rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-panel-copy {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  gap: 0.2rem;
}

.feature-panel-copy h3 {
  margin: 0;
  color: #fff6cc;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.15;
}

.feature-panel-copy p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
}

.feature-panel-icon {
  width: 2.8rem;
  height: 2.8rem;
  flex-basis: 2.8rem;
}

.feature-panel-icon img {
  width: 2.15rem;
  height: 2.15rem;
}

.feature-panel-icon .feature-icon-img-npc {
  width: 2.35rem;
  height: 2.45rem;
}

.feature-panel-count {
  padding: 0.42rem 0.62rem;
  border: 1px solid var(--feature-accent);
  border-radius: 999px;
  background: var(--feature-accent-soft);
  color: var(--feature-accent-strong);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.feature-card {
  appearance: none;
  width: 100%;
  min-height: 9.2rem;
  display: grid;
  align-content: start;
  gap: 0.48rem;
  padding: 0.78rem;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(11, 15, 34, 0.88), rgba(8, 11, 27, 0.98)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 48%);
  color: var(--text);
  text-align: left;
  font: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.feature-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.feature-icon-chip {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.72rem;
  border: 1px solid var(--feature-accent);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.18), transparent 36%),
    radial-gradient(circle at 82% 82%, var(--feature-accent-soft), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(9, 14, 31, 0.88);
  color: var(--feature-accent-strong);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.18),
    0 0 18px rgba(255, 255, 255, 0.04);
}

.feature-icon-chip svg {
  width: 1.18rem;
  height: 1.18rem;
  display: block;
  fill: currentColor;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
}

.feature-icon-chip img {
  width: 2rem;
  height: 2rem;
}

.feature-icon-chip .feature-icon-img-npc {
  width: 2.18rem;
  height: 2.22rem;
}

.feature-card-title {
  display: block;
  color: #fff1b8;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.3;
}

.feature-card > .muted {
  font-size: 0.82rem;
  line-height: 1.38;
}

.feature-card.active {
  transform: translateY(-4px);
  border-color: var(--feature-accent);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 20px 42px rgba(0, 0, 0, 0.24);
}

.feature-card.active .feature-icon-chip {
  border-color: var(--feature-accent);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 0 1px var(--feature-accent),
    0 0 28px var(--feature-accent-soft),
    0 16px 30px rgba(0, 0, 0, 0.18);
}

.feature-inline-detail {
  display: none;
  color: #fff3c1;
  line-height: 1.6;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-inline-detail::before {
  content: "";
  display: block;
  width: 2.8rem;
  height: 2px;
  margin: 0 0 0.75rem;
  background: linear-gradient(90deg, var(--feature-accent-strong), rgba(255, 255, 255, 0));
}

.feature-card.active .feature-inline-detail {
  display: block;
}

.feature-detail-copy {
  display: block;
  font-size: 0.84rem;
}

.feature-detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
  margin-top: 0.75rem;
}

.feature-detail-fact {
  display: grid;
  gap: 0.16rem;
  min-width: 0;
  padding: 0.46rem 0.5rem;
  border: 1px solid color-mix(in srgb, var(--feature-accent) 34%, rgba(255, 255, 255, 0.08));
  border-radius: 0.62rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    color-mix(in srgb, var(--feature-accent-soft) 56%, rgba(4, 7, 18, 0.76));
}

.feature-detail-fact strong {
  color: var(--feature-accent-strong);
  font-size: 0.67rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.feature-detail-fact span {
  color: #edf4ff;
  font-size: 0.76rem;
  line-height: 1.32;
}

.feature-detail-card {
  min-height: 12rem;
  border-color: rgba(63, 213, 138, 0.36);
}

.feature-detail-empty {
  min-height: 6.5rem;
}

@media (max-width: 1020px) {
  .feature-hero-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body[data-page="features"] .section-header h2 {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
  }

  .feature-tab-grid {
    display: flex;
    overflow-x: auto;
    padding: 0.15rem 0.1rem 0.55rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .feature-tab-grid::-webkit-scrollbar {
    display: none;
  }

  .feature-category-tab {
    flex: 0 0 min(11.5rem, 68vw);
    scroll-snap-align: start;
  }

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

  .feature-card {
    min-height: 0;
  }

  .feature-detail-facts {
    grid-template-columns: 1fr;
  }

  .feature-panel-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .feature-panel-count {
    grid-column: 2;
    justify-self: start;
  }
}

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

.gallery-item {
  padding: 0.9rem;
  border: 1px solid rgba(255, 177, 61, 0.18);
  border-radius: 8px;
  background: rgba(7, 8, 18, 0.62);
}

.gallery-frame {
  display: grid;
  place-items: center;
  min-height: 12.5rem;
  margin-bottom: 0.9rem;
  border-radius: 7px;
  border: 1px solid rgba(255, 238, 153, 0.24);
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 201, 54, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(255, 72, 42, 0.2), rgba(37, 126, 255, 0.18)),
    rgba(255, 255, 255, 0.035);
}

.gallery-image {
  width: 100%;
  max-height: 13.5rem;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(0 0 22px rgba(255, 218, 70, 0.28));
}

.gallery-image[src$="super-saiyan-maple.png"] {
  width: auto;
  max-width: 82%;
  image-rendering: pixelated;
}

.gallery-frame span {
  display: grid;
  place-items: center;
  width: 3.2rem;
  aspect-ratio: 1;
  color: #1b1100;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  font-weight: 950;
  box-shadow: var(--shadow-gold);
}

.fashion-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.38fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.fashion-preview {
  position: sticky;
  top: 6.5rem;
}

.fashion-stage {
  position: relative;
  min-height: 23rem;
  display: grid;
  place-items: center;
  margin: 0.9rem 0 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 230, 109, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 238, 130, 0.28), transparent 9rem),
    radial-gradient(circle at 20% 70%, rgba(86, 209, 255, 0.17), transparent 9rem),
    linear-gradient(180deg, rgba(16, 72, 150, 0.34), rgba(13, 16, 32, 0.9));
}

.fashion-stage::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 2.35rem;
  height: 1rem;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.42), transparent 68%);
}

.fashion-glow {
  position: absolute;
  width: 13rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(from 90deg, rgba(255, 55, 42, 0.1), rgba(255, 211, 68, 0.42), rgba(57, 217, 135, 0.15), rgba(124, 190, 255, 0.36), rgba(255, 55, 42, 0.1));
  filter: blur(3px);
  animation: pulse 2.6s ease-in-out infinite;
}

.fashion-character {
  position: relative;
  z-index: 2;
  width: min(11rem, 58%);
  image-rendering: pixelated;
  filter: drop-shadow(0 0 18px rgba(255, 211, 68, 0.34));
}

.fashion-selected-icon {
  position: absolute;
  z-index: 4;
  right: 1.1rem;
  top: 1.1rem;
  width: 4.2rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 230, 109, 0.42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.92), rgba(237, 244, 255, 0.86)),
    rgba(8, 12, 28, 0.86);
  box-shadow: var(--shadow-gold);
}

.fashion-selected-icon img {
  width: auto;
  max-width: 3.25rem;
  max-height: 3.25rem;
  image-rendering: pixelated;
}

.fashion-equip {
  position: absolute;
  z-index: 3;
  width: 10.5rem;
  height: 15.5rem;
  pointer-events: none;
  transform: translateY(1.2rem);
}

.fashion-price-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1rem 0;
}

.fashion-preview-recommendation {
  padding: 0.78rem 0.85rem;
  color: #fff4c7;
  border: 1px solid rgba(255, 230, 109, 0.24);
  border-radius: 8px;
  background: rgba(255, 177, 61, 0.08);
  font-weight: 800;
}

.fashion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fashion-item {
  appearance: none;
  width: 100%;
  min-height: 16rem;
  color: var(--text);
  text-align: left;
  font: inherit;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.fashion-item:hover,
.fashion-item.active {
  transform: translateY(-3px);
  border-color: rgba(255, 230, 109, 0.72);
  box-shadow: 0 0 0 2px rgba(255, 211, 68, 0.12), 0 20px 52px rgba(0, 0, 0, 0.36), var(--shadow-gold);
}

.fashion-card-head {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.fashion-card-head strong {
  display: block;
  color: #fff1b8;
  font-size: 1.03rem;
}

.fashion-card-head small {
  color: var(--muted);
  font-weight: 800;
}

.fashion-recommendation {
  display: grid;
  gap: 0.22rem;
  margin: 0.85rem 0 0;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(128, 199, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(128, 199, 255, 0.1), rgba(255, 177, 61, 0.08)),
    rgba(255, 255, 255, 0.03);
}

.fashion-recommendation strong {
  color: #8bffb8;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.fashion-recommendation span {
  color: #fff3c1;
  font-size: 0.9rem;
}

.fashion-icon {
  --main: #ff5b35;
  --trim: #ffd36b;
  --shadow: #33204d;
  position: relative;
  display: block;
  width: 4.8rem;
  height: 5.4rem;
  border: 1px solid rgba(255, 230, 109, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.32), transparent 1.4rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.12)),
    rgba(7, 10, 24, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.real-item-icon {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.95), rgba(235, 240, 255, 0.86)),
    rgba(7, 10, 24, 0.78);
}

.real-item-icon img {
  width: auto;
  max-width: 3.65rem;
  max-height: 3.65rem;
  image-rendering: pixelated;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.18));
}

.fashion-item.active .real-item-icon,
.fashion-item:hover .real-item-icon {
  border-color: rgba(255, 230, 109, 0.82);
  box-shadow: 0 0 0 2px rgba(255, 211, 68, 0.18), var(--shadow-gold);
}

.fashion-hat,
.fashion-top,
.fashion-bottom,
.fashion-boots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}

.fashion-hat {
  top: 0.58rem;
  width: 2.15rem;
  height: 0.65rem;
  border: 2px solid #271308;
  border-radius: 999px 999px 0.35rem 0.35rem;
  background: linear-gradient(180deg, var(--trim), var(--main));
}

.fashion-top {
  top: 1.48rem;
  width: 2.8rem;
  height: 2.05rem;
  border: 2px solid #1b1008;
  border-radius: 0.45rem 0.45rem 0.28rem 0.28rem;
  background:
    linear-gradient(135deg, transparent 0 34%, var(--trim) 35% 45%, transparent 46%),
    linear-gradient(180deg, var(--main), color-mix(in srgb, var(--main) 72%, #000));
}

.fashion-bottom {
  top: 3.4rem;
  width: 2.25rem;
  height: 1.1rem;
  border: 2px solid #1b1008;
  border-top: 0;
  border-radius: 0 0 0.55rem 0.55rem;
  background: linear-gradient(90deg, var(--main) 0 45%, var(--shadow) 46% 54%, var(--main) 55%);
}

.fashion-boots {
  top: 4.58rem;
  width: 2.8rem;
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #172248, var(--trim), #172248);
  box-shadow: 0 0 0 2px #1b1008;
}

.fashion-kaioken { --main: #ff4b29; --trim: #ffd15b; --shadow: #172248; }
.fashion-capsule { --main: #5dbbff; --trim: #ffffff; --shadow: #2547a7; }
.fashion-shenron { --main: #39d987; --trim: #f7d36b; --shadow: #18391f; }
.fashion-saiyan { --main: #2567ff; --trim: #ffc85a; --shadow: #ffffff; }
.fashion-pq { --main: #9b70ff; --trim: #f7d36b; --shadow: #2c154b; }
.fashion-chamber { --main: #f4f2df; --trim: #f7d36b; --shadow: #4c6c86; }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem 0.5rem;
  color: #ffe7ab;
  border: 1px solid rgba(255, 177, 61, 0.3);
  border-radius: 999px;
  background: rgba(255, 177, 61, 0.08);
  font-size: 0.78rem;
  font-weight: 750;
}

button.tag {
  appearance: none;
}

.ranking-filter.active {
  color: #151000;
  border-color: rgba(255, 240, 111, 0.9);
  background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: var(--shadow-gold);
}

.page-hero {
  position: relative;
  padding: 5.8rem 0 2.8rem;
  background:
    linear-gradient(180deg, rgba(7,7,13,0.05), rgba(7,7,13,0.92)),
    var(--page-image, url("../img/capsule-city.png")) center/cover;
  border-bottom: 1px solid rgba(255, 177, 61, 0.16);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,7,13,0.96), rgba(7,7,13,0.66), rgba(7,7,13,0.84));
}

.page-title {
  position: relative;
  z-index: 2;
}

.feature-page-hero {
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 164, 44, 0.18), transparent 24rem),
    radial-gradient(circle at 84% 18%, rgba(77, 201, 255, 0.14), transparent 24rem),
    linear-gradient(180deg, rgba(8, 10, 24, 0.96), rgba(8, 10, 24, 0.9));
}

.feature-page-hero::before {
  background: linear-gradient(90deg, rgba(7, 7, 13, 0.9), rgba(7, 7, 13, 0.48), rgba(7, 7, 13, 0.82));
}

.feature-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 1.4rem;
  align-items: center;
}

.feature-hero-copy {
  display: grid;
  gap: 0.9rem;
}

.feature-hero-art {
  min-height: 18rem;
  aspect-ratio: 16 / 9;
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 202, 73, 0.24);
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 194, 69, 0.18), transparent 44%),
    linear-gradient(180deg, rgba(9, 14, 30, 0.82), rgba(9, 14, 30, 0.92));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.feature-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.form {
  display: grid;
  gap: 0.85rem;
}

.register-grid {
  width: min(100%, 620px);
  max-width: 620px;
  margin-inline: auto;
  justify-self: center;
}

.password-reset-card .form + .form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 177, 61, 0.18);
}

.password-reset-grid {
  align-items: start;
  width: min(100%, 760px);
  max-width: 760px;
  margin-inline: auto;
  justify-self: center;
}

.password-reset-flow {
  gap: 1rem;
}

.reset-step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.reset-step {
  border: 1px solid rgba(255, 177, 61, 0.28);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  color: #bfc7d9;
  background: rgba(10, 14, 30, 0.72);
  font-size: 0.86rem;
  font-weight: 800;
}

.reset-step.is-active {
  color: #08101f;
  border-color: rgba(255, 238, 121, 0.82);
  background: linear-gradient(135deg, #fff176, #ff8a1f);
  box-shadow: 0 0 18px rgba(255, 177, 61, 0.22);
}

.reset-step.is-complete {
  color: #b6ffd6;
  border-color: rgba(90, 240, 166, 0.42);
}

.password-reset-summary {
  margin: 0;
  color: #d5deef;
}

.reset-password-return {
  justify-content: center;
  margin-top: 1.2rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  color: #ffe7ab;
  font-weight: 800;
  font-size: 0.9rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 3rem;
  color: var(--text);
  border: 1px solid rgba(255, 177, 61, 0.24);
  border-radius: 7px;
  background: rgba(4, 6, 12, 0.74);
  padding: 0.74rem 0.8rem;
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(255, 177, 61, 0.75);
  box-shadow: 0 0 0 3px rgba(255, 177, 61, 0.12);
}

.notice {
  padding: 0.8rem 0.9rem;
  border-radius: 7px;
  border: 1px solid rgba(255, 177, 61, 0.28);
  color: #ffe7ab;
  background: rgba(255, 177, 61, 0.08);
}

.notice:empty {
  display: none;
}

.notice.ok {
  color: #c6ffd9;
  border-color: rgba(88, 240, 166, 0.35);
  background: rgba(88, 240, 166, 0.09);
}

.notice.error {
  color: #ffd1d6;
  border-color: rgba(255, 93, 110, 0.4);
  background: rgba(255, 93, 110, 0.08);
}

.donor-payment-method-shell[hidden] {
  display: none;
}

.donor-payment-method-shell {
  padding-bottom: 0;
}

.donor-payment-method-picker {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(30rem, 1.28fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(133, 176, 237, 0.2);
  border-radius: 8px;
  background: #0a142b;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.donor-payment-method-intro {
  min-width: 0;
}

.donor-payment-method-intro h2 {
  margin: 0.28rem 0 0.25rem;
  color: #fff3bf;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.donor-payment-method-intro p {
  margin: 0;
  color: #9eabc2;
  font-size: 0.82rem;
}

.donor-payment-method-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  min-width: 0;
  padding: 0.3rem;
  border: 1px solid rgba(130, 177, 239, 0.16);
  border-radius: 8px;
  background: #050b19;
}

.donor-payment-method-tab {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
  min-height: 4.15rem;
  padding: 0.6rem 0.68rem;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #dce6f7;
  text-align: left;
  background: transparent;
  cursor: var(--cursor-hover);
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.donor-payment-method-tab:hover {
  border-color: rgba(145, 190, 248, 0.25);
  background: #101d37;
}

.donor-payment-method-tab:disabled,
.donor-payment-method-tab.is-unavailable {
  color: #8e9bb2;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(7, 13, 28, 0.52);
  box-shadow: none;
  filter: grayscale(0.25);
  opacity: 0.66;
}

.donor-payment-method-tab:disabled:hover,
.donor-payment-method-tab.is-unavailable:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(7, 13, 28, 0.52);
}

.donor-payment-method-tab.is-selected {
  border-color: rgba(255, 211, 100, 0.48);
  background: #172441;
  box-shadow:
    inset 3px 0 0 #ffc74d,
    0 8px 22px rgba(0, 0, 0, 0.18);
}

.donor-payment-method-tab:focus-visible {
  outline: 3px solid rgba(116, 207, 255, 0.7);
  outline-offset: 2px;
}

.donor-payment-method-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-size: 1.05rem;
  font-weight: 1000;
}

.donor-payment-method-icon-gift {
  color: #211400;
  background: #ffc954;
}

.donor-payment-method-icon-crypto {
  color: #041b13;
  background: #65dda1;
}

.donor-payment-method-copy {
  display: grid;
  min-width: 0;
  gap: 0.08rem;
}

.donor-payment-method-copy strong,
.donor-payment-method-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
}

.donor-payment-method-copy strong {
  color: #f7f9ff;
  font-size: 0.9rem;
  line-height: 1.15;
}

.donor-payment-method-copy small {
  color: #91a0b9;
  font-size: 0.66rem;
  line-height: 1.3;
}

.donor-payment-method-state {
  padding: 0.28rem 0.42rem;
  border: 1px solid rgba(137, 181, 239, 0.16);
  border-radius: 999px;
  color: #8493aa;
  font-size: 0.56rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.donor-payment-method-tab.is-selected .donor-payment-method-state {
  border-color: rgba(255, 215, 112, 0.28);
  color: #ffe192;
  background: rgba(255, 200, 77, 0.08);
}

.donor-crypto-shell[hidden] {
  display: none;
}

.donor-crypto-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  border: 1px solid rgba(255, 205, 92, 0.34);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 183, 58, 0.22), transparent 28rem),
    radial-gradient(circle at 92% 2%, rgba(68, 229, 143, 0.15), transparent 24rem),
    linear-gradient(145deg, rgba(18, 29, 60, 0.97), rgba(7, 14, 33, 0.98) 56%, rgba(12, 33, 38, 0.96));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.donor-crypto-card::before {
  content: "";
  position: absolute;
  top: -12rem;
  right: -10rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(255, 221, 97, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 3.8rem rgba(255, 221, 97, 0.025),
    0 0 0 7.6rem rgba(79, 230, 151, 0.025);
  pointer-events: none;
}

.donor-crypto-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  align-items: center;
  padding: 0.2rem 0.2rem 1.25rem;
  text-align: center;
}

.donor-crypto-copy h2 {
  max-width: 42rem;
  margin: 0.55rem auto 0.4rem;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  color: #fff6c8;
  text-shadow: 0 18px 44px rgba(255, 177, 61, 0.2);
}

.donor-crypto-copy p {
  max-width: 38rem;
  margin: 0 auto;
  color: #d5def2;
  font-size: 1rem;
}

.donor-crypto-rate {
  display: grid;
  flex: 0 0 auto;
  min-width: 10.5rem;
  justify-items: center;
  gap: 0.05rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 231, 114, 0.3);
  border-radius: 16px;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 222, 86, 0.14), rgba(69, 230, 147, 0.08)),
    rgba(4, 10, 25, 0.58);
}

.donor-crypto-rate span,
.donor-crypto-rate small {
  color: #aebbd3;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.donor-crypto-rate strong {
  color: #fff06f;
  font-size: 1.65rem;
  line-height: 1.08;
}

.donor-crypto-highlights {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.25rem;
  border: 1px solid rgba(126, 197, 255, 0.14);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(4, 11, 28, 0.5);
}

.donor-crypto-highlights span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.78rem 0.9rem;
  text-align: center;
}

.donor-crypto-highlights span + span {
  border-left: 1px solid rgba(126, 197, 255, 0.12);
}

.donor-crypto-highlights b {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  color: #061323;
  background: linear-gradient(135deg, #fff06f, #69f0ad);
  font-size: 0.68rem;
  font-weight: 1000;
}

.donor-crypto-highlights em {
  min-width: 0;
  color: #e8effb;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 850;
}

.donor-checkout-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(18.5rem, 0.72fr);
  gap: 1rem;
  align-items: start;
}

.donor-checkout-main {
  display: grid;
  gap: 1rem;
}

.donor-choice-block {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(126, 197, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(19, 35, 70, 0.64), rgba(5, 13, 31, 0.74)),
    rgba(6, 14, 33, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.donor-choice-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

.donor-choice-head > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(255, 231, 114, 0.45);
  border-radius: 12px;
  color: #151000;
  background: linear-gradient(145deg, #fff29a, #ffb333);
  box-shadow: 0 8px 22px rgba(255, 177, 61, 0.16);
  font-weight: 1000;
}

.donor-choice-head h3,
.donor-choice-head p {
  margin: 0;
}

.donor-choice-head h3 {
  color: #fff6c8;
  font-size: 1.05rem;
  line-height: 1.2;
}

.donor-choice-head p {
  color: #9eabc2;
  font-size: 0.78rem;
}

.donor-package-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(104px, 138px));
  justify-content: center;
  gap: 0.65rem;
}

.donor-package-card {
  position: relative;
  display: grid;
  align-content: start;
  justify-self: center;
  grid-column: auto;
  gap: 0.46rem;
  width: 100%;
  max-width: 138px;
  min-height: 0;
  overflow: hidden;
  padding: 0.42rem 0.42rem 0.58rem;
  border: 1px solid rgba(255, 220, 102, 0.2);
  border-radius: 18px;
  color: #f9fbff;
  text-align: center;
  cursor: var(--cursor-hover);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 212, 89, 0.12), transparent 48%),
    linear-gradient(145deg, rgba(23, 44, 83, 0.94), rgba(8, 15, 36, 0.95)),
    rgba(8, 16, 36, 0.88);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.donor-package-card-wide {
  grid-column: auto;
}

.donor-package-card:hover,
.donor-package-card.is-selected {
  transform: translateY(-2px);
  border-color: rgba(255, 224, 91, 0.82);
  box-shadow:
    0 16px 38px rgba(255, 177, 61, 0.16),
    0 12px 28px rgba(0, 0, 0, 0.24);
}

.donor-package-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1 / 1.05;
  min-height: 0;
  border: 1px solid rgba(255, 227, 122, 0.22);
  border-radius: 14px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 221, 95, 0.12), rgba(5, 12, 30, 0.82) 72%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 22px rgba(0, 0, 0, 0.22);
}

.donor-package-art {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 108px;
  border-radius: 12px;
  object-fit: contain;
}

.donor-package-card.is-selected {
  background:
    radial-gradient(circle at 24% 0%, rgba(255, 230, 109, 0.18), transparent 50%),
    linear-gradient(145deg, rgba(38, 57, 101, 0.96), rgba(12, 26, 57, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(255, 235, 126, 0.14),
    0 14px 34px rgba(255, 177, 61, 0.13);
}

.donor-package-card.is-featured {
  border-color: rgba(106, 239, 166, 0.48);
}

.donor-package-card.is-first-time {
  grid-column: span 3;
  grid-template-columns: 1fr;
  align-items: stretch;
  max-width: calc((138px * 3) + (0.65rem * 2));
  gap: 0.48rem;
  padding: 0.58rem;
  border-color: rgba(92, 245, 255, 0.46);
  background:
    radial-gradient(circle at 50% 0%, rgba(84, 238, 255, 0.16), transparent 48%),
    linear-gradient(145deg, rgba(26, 58, 94, 0.96), rgba(8, 15, 36, 0.95));
  box-shadow:
    inset 0 0 0 1px rgba(119, 246, 255, 0.08),
    0 14px 34px rgba(84, 238, 255, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.24);
}

.donor-package-card.is-first-time .donor-package-visual {
  grid-column: 1;
  grid-row: auto;
  aspect-ratio: 129 / 36;
  border-color: rgba(119, 246, 255, 0.36);
  background:
    radial-gradient(circle at 50% 24%, rgba(119, 246, 255, 0.18), transparent 46%),
    radial-gradient(circle at 50% 30%, rgba(255, 221, 95, 0.12), rgba(5, 12, 30, 0.82) 72%);
}

.donor-package-card.is-first-time .donor-package-art,
.donor-voucher-package.is-first-time .donor-voucher-package-art {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
}

.donor-package-card.is-first-time .donor-package-art,
.donor-voucher-package.is-first-time .donor-voucher-package-art {
  object-fit: fill;
}

.donor-package-card.is-first-time .donor-package-visual::after,
.donor-voucher-package.is-first-time .donor-voucher-package-art-wrap::after {
  content: "ONE TIME";
  position: absolute;
  top: 0.46rem;
  right: 0.46rem;
  padding: 0.22rem 0.52rem;
  border-radius: 999px;
  color: #122019;
  background: linear-gradient(135deg, #98ffbd, #efff82);
  box-shadow: 0 8px 18px rgba(32, 255, 160, 0.2);
  font-size: 0.55rem;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0.08em;
}

.donor-package-card.is-first-time > .donor-package-ribbon,
.donor-voucher-package.is-first-time > .donor-voucher-best {
  display: none;
}

.donor-package-card.is-first-time .donor-package-top,
.donor-package-card.is-first-time .donor-package-price,
.donor-package-card.is-first-time .donor-package-reward,
.donor-package-card.is-first-time .donor-package-bonus {
  grid-column: 1;
}

.donor-package-card.is-first-time .donor-package-top {
  justify-content: center;
}

.donor-package-card.is-first-time .donor-package-title {
  font-size: 0.76rem;
}

.donor-package-card.is-first-time .donor-package-bonus {
  margin-top: 0;
  text-align: center;
}

.donor-package-card.is-first-time .donor-package-buy {
  grid-column: 1;
}

.donor-package-ribbon {
  position: absolute;
  top: 0.72rem;
  right: 0.72rem;
  padding: 0.26rem 0.55rem;
  border-radius: 999px;
  color: #05111f;
  background: linear-gradient(135deg, #8bffb8, #fff06f);
  font-size: 0.56rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.donor-package-ribbon-first,
.donor-voucher-first {
  background: linear-gradient(135deg, #71f5ff, #fff06f);
}

.donor-package-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 0;
  padding: 0 0.12rem;
}

.donor-package-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #2d1500;
  background:
    radial-gradient(circle at 30% 28%, #fff9bd, #ffcf42 48%, #ff8f1d 100%);
  box-shadow: 0 0 20px rgba(255, 195, 66, 0.2);
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: -0.04em;
}

.donor-package-title {
  overflow: hidden;
  color: #dce8fb;
  font-size: 0.67rem;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
}

.donor-package-price {
  margin-top: 0.12rem;
  padding: 0 0.12rem;
  color: #fff6b0;
  font-size: 1.35rem;
  line-height: 1;
}

.donor-package-reward {
  padding: 0 0.12rem;
  color: #8bffb8;
  font-size: 0.85rem;
  font-weight: 950;
}

.donor-package-bonus {
  align-self: end;
  margin-top: auto;
  padding: 0.42rem 0.12rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #aebbd1;
  font-size: 0.62rem;
  font-weight: 850;
  text-align: center;
}

.donor-crypto-wallet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.donor-crypto-wallet-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  min-height: 4.9rem;
  padding: 0.72rem;
  border: 1px solid rgba(126, 197, 255, 0.17);
  border-radius: 14px;
  background: rgba(6, 15, 36, 0.74);
  cursor: var(--cursor-hover);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.donor-crypto-wallet-card:hover {
  transform: translateY(-1px);
  border-color: rgba(126, 197, 255, 0.35);
}

.donor-crypto-wallet-card.is-selected {
  border-color: rgba(139, 255, 184, 0.72);
  background:
    radial-gradient(circle at 12% 0%, rgba(139, 255, 184, 0.14), transparent 42%),
    rgba(7, 21, 40, 0.88);
  box-shadow: 0 0 0 2px rgba(139, 255, 184, 0.07), 0 12px 28px rgba(0, 0, 0, 0.18);
}

.donor-crypto-shell.is-preparing .donor-crypto-wallet-card.is-selected {
  cursor: var(--cursor-hover);
  animation: crypto-payment-pulse 1s ease-in-out infinite alternate;
}

@keyframes crypto-payment-pulse {
  from { border-color: rgba(139, 255, 184, 0.42); }
  to { border-color: rgba(255, 240, 111, 0.9); }
}

.donor-crypto-wallet-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.donor-wallet-check {
  position: absolute;
  top: 0.52rem;
  right: 0.52rem;
  width: 0.68rem;
  height: 0.68rem;
  border: 2px solid rgba(174, 190, 215, 0.52);
  border-radius: 50%;
  background: rgba(3, 9, 22, 0.75);
}

.donor-crypto-wallet-card.is-selected .donor-wallet-check {
  border-color: #9affc4;
  background: #67eaa2;
  box-shadow: 0 0 12px rgba(103, 234, 162, 0.55);
}

.donor-wallet-icon {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #405172, #18233c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 18px rgba(0, 0, 0, 0.24);
  font-size: 1.25rem;
  font-weight: 1000;
}

.donor-wallet-btc .donor-wallet-icon {
  color: #2a1700;
  background: linear-gradient(145deg, #ffcb62, #f7931a);
}

.donor-wallet-eth .donor-wallet-icon {
  background: linear-gradient(145deg, #8c9dff, #4d5bb7);
}

.donor-wallet-ltc .donor-wallet-icon {
  background: linear-gradient(145deg, #8fa5bc, #40556e);
}

.donor-wallet-usdt .donor-wallet-icon {
  background: linear-gradient(145deg, #5be0b4, #249d79);
}

.donor-wallet-copy {
  display: grid;
  justify-items: center;
  min-width: 0;
  gap: 0.08rem;
  text-align: center;
}

.donor-wallet-copy strong {
  color: #eef4ff;
  font-size: 0.88rem;
}

.donor-wallet-copy small {
  overflow: hidden;
  color: #91a0b9;
  font-size: 0.65rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.donor-crypto-wallet-card em {
  grid-column: 1 / -1;
  width: fit-content;
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  color: #c4d1e5;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 850;
}

.donor-wallet-usdt em,
.donor-wallet-ltc em {
  color: #a7f7c8;
  background: rgba(74, 225, 143, 0.08);
}

.donor-fee-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(115, 197, 255, 0.18);
  border-radius: 16px;
  background: rgba(9, 24, 49, 0.58);
}

.donor-fee-note-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid rgba(123, 211, 255, 0.38);
  border-radius: 50%;
  color: #dff6ff;
  background: rgba(74, 188, 255, 0.12);
  font-weight: 1000;
}

.donor-fee-note strong {
  color: #e9f5ff;
  font-size: 0.85rem;
}

.donor-fee-note p {
  margin: 0.18rem 0 0;
  color: #9eabc2;
  font-size: 0.74rem;
  line-height: 1.45;
}

.donor-crypto-panel {
  position: sticky;
  top: 7.25rem;
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(255, 229, 111, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 225, 92, 0.12), transparent 35%),
    linear-gradient(160deg, rgba(16, 30, 58, 0.96), rgba(4, 11, 26, 0.96));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-align: center;
}

.donor-crypto-panel-head {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

.donor-crypto-panel-head h3 {
  margin: 0.18rem 0 0;
  color: #fff7c5;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.donor-auto-chip {
  flex: 0 0 auto;
  padding: 0.3rem 0.48rem;
  border: 1px solid rgba(96, 236, 161, 0.26);
  border-radius: 999px;
  color: #aaf7c9;
  background: rgba(73, 219, 139, 0.08);
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.donor-order-spotlight {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  border: 1px solid rgba(126, 197, 255, 0.14);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(2, 8, 21, 0.42);
}

.donor-order-spotlight > div {
  display: grid;
  justify-items: center;
  gap: 0.18rem;
  padding: 0.75rem;
  text-align: center;
}

.donor-order-spotlight > div + div {
  border-left: 1px solid rgba(126, 197, 255, 0.12);
  background: linear-gradient(145deg, rgba(98, 235, 162, 0.08), rgba(255, 222, 92, 0.06));
}

.donor-order-spotlight span,
.donor-crypto-points span,
.donor-wallet-total > span {
  color: #8e9db7;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.donor-order-spotlight strong {
  color: #fff06f;
  font-size: 1rem;
  line-height: 1.15;
}

.donor-order-spotlight > div + div strong {
  color: #88f2b3;
}

.donor-crypto-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.donor-crypto-points > div {
  display: grid;
  justify-items: center;
  gap: 0.12rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(126, 197, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}

.donor-crypto-points strong {
  color: #dce8fb;
  font-size: 0.84rem;
}

.donor-wallet-total {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  padding: 0.72rem 0.8rem;
  border-left: 3px solid #ffca42;
  border-radius: 0 12px 12px 0;
  background: rgba(255, 198, 57, 0.07);
  text-align: center;
}

.donor-wallet-total strong {
  color: #fff2a5;
  font-size: 0.82rem;
}

.donor-wallet-total small {
  color: #a4b0c6;
  font-size: 0.66rem;
  line-height: 1.4;
}

.donor-payment-placeholder {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
  min-height: 5.25rem;
  padding: 0.8rem;
  border: 1px dashed rgba(126, 197, 255, 0.24);
  border-radius: 14px;
  background: rgba(4, 11, 27, 0.4);
  text-align: center;
}

.donor-payment-placeholder[hidden] {
  display: none;
}

.donor-payment-placeholder-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: #07111f;
  background: linear-gradient(145deg, #89d9ff, #74f0b1);
  font-weight: 1000;
}

.donor-payment-placeholder strong {
  color: #e6f0ff;
  font-size: 0.82rem;
}

.donor-payment-placeholder p {
  margin: 0.12rem 0 0;
  color: #8e9db7;
  font-size: 0.68rem;
}

.donor-crypto-payment-box {
  display: grid;
  gap: 0.7rem;
  padding: 0.8rem;
  border: 1px solid rgba(139, 255, 184, 0.26);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(88, 234, 155, 0.08), rgba(79, 184, 255, 0.045)),
    rgba(2, 9, 22, 0.62);
}

.donor-crypto-payment-box[hidden] {
  display: none;
}

.donor-crypto-payment-head {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}

.donor-crypto-payment-head > div {
  display: grid;
  justify-items: center;
  gap: 0.1rem;
}

.donor-crypto-payment-head > div span {
  color: #9aabc4;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.donor-crypto-payment-head strong {
  color: #fff06f;
  font-size: 1.15rem;
  overflow-wrap: anywhere;
}

.donor-payment-fee-row {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 0.62rem;
  border-radius: 10px;
  color: #9faec4;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.66rem;
}

.donor-payment-fee-row strong {
  color: #d9e5f5;
  text-align: right;
}

.donor-crypto-address {
  display: grid;
  gap: 0.28rem;
}

.donor-crypto-address span {
  color: #95a4bc;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.donor-crypto-address code {
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff6b0;
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.donor-crypto-warning {
  margin: 0;
  color: #d8c98a;
  font-size: 0.65rem;
  line-height: 1.45;
}

.donor-crypto-expiry {
  margin: 0;
  color: #9eabc2;
  font-size: 0.66rem;
}

.donor-crypto-expiry strong {
  color: #8bffb8;
}

.donor-payment-actions {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0.55rem;
}

.donor-payment-actions .btn {
  min-width: 0;
  padding: 0.68rem 0.72rem;
  font-size: 0.76rem;
}

.donor-crypto-notice {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
}

.donor-voucher-shell[hidden] {
  display: none;
}

.donor-voucher-shell {
  padding-top: 0;
}

.donor-voucher-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.1rem, 2.2vw, 2rem);
  border: 1px solid rgba(255, 203, 77, 0.3);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 4%, rgba(255, 193, 68, 0.18), transparent 24rem),
    linear-gradient(145deg, rgba(12, 28, 62, 0.98), rgba(18, 19, 48, 0.98));
  box-shadow: 0 28px 70px rgba(2, 7, 24, 0.35);
}

.donor-voucher-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(120deg, transparent 0 47%, rgba(255, 255, 255, 0.025) 47% 48%, transparent 48% 100%);
  background-size: 70px 70px;
}

.donor-voucher-head,
.donor-voucher-layout,
.donor-voucher-steps {
  position: relative;
  z-index: 1;
}

.donor-voucher-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.donor-voucher-kicker {
  display: block;
  margin: 0.75rem 0 0.2rem;
  color: #ffd467;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.donor-voucher-head h2 {
  max-width: 760px;
  margin: 0;
  color: #fff4ca;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1.02;
}

.donor-voucher-head p {
  max-width: 760px;
  margin: 0.7rem 0 0;
  color: #c8d5ed;
}

.donor-voucher-shield {
  display: grid;
  min-width: 112px;
  place-items: center;
  padding: 1rem 0.8rem;
  border: 1px solid rgba(255, 211, 103, 0.45);
  border-radius: 20px 20px 28px 28px;
  background: linear-gradient(145deg, rgba(255, 203, 77, 0.2), rgba(255, 110, 55, 0.1));
  box-shadow: inset 0 0 24px rgba(255, 221, 120, 0.08);
}

.donor-voucher-shield span {
  color: #ffd467;
  font-size: 2rem;
  font-weight: 1000;
}

.donor-voucher-shield small {
  color: #f8e5aa;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.donor-voucher-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1rem;
  border: 1px solid rgba(131, 177, 255, 0.15);
  border-radius: 16px;
  background: rgba(4, 13, 35, 0.55);
}

.donor-voucher-steps span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem;
}

.donor-voucher-steps span + span {
  border-left: 1px solid rgba(131, 177, 255, 0.15);
}

.donor-voucher-steps b {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #1d1a0e;
  background: linear-gradient(135deg, #ffe68a, #ffab39);
  font-size: 0.72rem;
}

.donor-voucher-steps em {
  color: #d8e3f6;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
}

.donor-voucher-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(23rem, 27rem);
  gap: 1rem;
  align-items: start;
}

.donor-voucher-main {
  display: grid;
  gap: 0.85rem;
}

.donor-voucher-packages {
  display: grid;
  grid-template-columns: repeat(5, minmax(104px, 138px));
  justify-content: center;
  gap: 0.65rem;
}

.donor-voucher-package {
  position: relative;
  display: grid;
  justify-self: center;
  grid-column: auto;
  width: 100%;
  max-width: 138px;
  min-width: 0;
  min-height: 0;
  align-content: start;
  gap: 0.48rem;
  padding: 0.42rem 0.42rem 0.58rem;
  border: 1px solid rgba(255, 220, 102, 0.2);
  border-radius: 18px;
  color: #f6f8ff;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 212, 89, 0.12), transparent 48%),
    rgba(7, 19, 46, 0.78);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.donor-voucher-package-wide {
  grid-column: auto;
}

.donor-voucher-package:focus-within,
.donor-voucher-package.is-selected {
  transform: translateY(-2px);
  border-color: rgba(255, 205, 75, 0.75);
  background: linear-gradient(150deg, rgba(47, 58, 88, 0.95), rgba(35, 26, 51, 0.95));
}

.donor-voucher-package.is-first-time {
  grid-column: span 3;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(3.55rem, 1fr) auto;
  align-items: stretch;
  align-content: stretch;
  max-width: calc((138px * 3) + (0.65rem * 2));
  gap: 0.48rem;
  padding: 0.58rem;
  border-color: rgba(92, 245, 255, 0.42);
  background:
    radial-gradient(circle at 50% 0%, rgba(84, 238, 255, 0.16), transparent 48%),
    rgba(7, 19, 46, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(119, 246, 255, 0.08),
    0 14px 34px rgba(84, 238, 255, 0.11),
    0 12px 28px rgba(0, 0, 0, 0.22);
}

.donor-voucher-package.is-first-time .donor-voucher-package-art-wrap {
  position: relative;
  grid-column: 1;
  grid-row: auto;
  aspect-ratio: 129 / 36;
  border-color: rgba(119, 246, 255, 0.34);
  background:
    radial-gradient(circle at 50% 24%, rgba(119, 246, 255, 0.16), transparent 46%),
    radial-gradient(circle at 50% 30%, rgba(255, 221, 95, 0.12), rgba(5, 12, 30, 0.82) 72%);
}

.donor-voucher-package.is-first-time .donor-voucher-package-details,
.donor-voucher-package.is-first-time .donor-voucher-package-buy {
  grid-column: 1;
}

.donor-voucher-package.is-first-time .donor-voucher-package-details {
  min-height: 0;
  place-items: center;
  text-align: center;
}

.donor-voucher-package.is-first-time .donor-voucher-package-details strong {
  font-size: 1rem;
}

.donor-voucher-package.is-first-time .donor-voucher-package-buy {
  align-self: end;
}

.donor-voucher-package.is-selected {
  box-shadow: 0 0 0 2px rgba(255, 189, 54, 0.16), 0 16px 30px rgba(0, 0, 0, 0.2);
}

.donor-voucher-package-art-wrap {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1 / 1.05;
  border: 1px solid rgba(255, 227, 122, 0.22);
  border-radius: 13px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 221, 95, 0.12), rgba(5, 12, 30, 0.82) 72%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 22px rgba(0, 0, 0, 0.22);
}

.donor-voucher-package-art {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 108px;
  border-radius: 11px;
  object-fit: contain;
}

.donor-voucher-package-details {
  display: grid;
  gap: 0.08rem;
  min-height: 3.55rem;
  place-items: center;
  text-align: center;
}

.donor-voucher-package-details strong {
  display: block;
  color: #fff3a4;
  font-size: 1.02rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(255, 196, 40, 0.22);
}

.donor-voucher-package-reward {
  display: block;
  color: #8bffb8;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.15;
}

.donor-voucher-package-details small {
  display: block;
  color: #9facc5;
  font-size: 0.62rem;
  line-height: 1.35;
}

.donor-voucher-package-details em {
  display: block;
  color: #ffd467;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 950;
}

.donor-voucher-package-buy {
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 0.68rem 0.5rem;
  border-color: rgba(143, 165, 255, 0.48);
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #6674f3, #8b33df);
  box-shadow: 0 12px 24px rgba(35, 43, 134, 0.26);
  font-size: 0.68rem;
  line-height: 1.12;
}

.donor-voucher-package-buy:hover,
.donor-voucher-package-buy:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 231, 121, 0.7);
  background: linear-gradient(135deg, #7886ff, #a23eff);
}

.donor-voucher-best {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  padding: 0.2rem 0.38rem;
  border-radius: 999px;
  color: #152019;
  background: #8bffb8;
  font-size: 0.52rem;
  font-weight: 950;
  text-transform: uppercase;
}

.donor-voucher-warning {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 181, 64, 0.28);
  border-radius: 14px;
  background: rgba(255, 164, 48, 0.08);
}

.donor-voucher-warning strong {
  color: #ffe18a;
}

.donor-voucher-warning p {
  margin: 0.28rem 0 0;
  color: #cbd6e8;
  font-size: 0.75rem;
  line-height: 1.5;
}

.donor-voucher-order {
  position: sticky;
  top: 5.8rem;
  display: grid;
  gap: 0.75rem;
  max-width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(111, 238, 166, 0.28);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(11, 39, 48, 0.9), rgba(6, 19, 38, 0.95));
}

.donor-voucher-submit-panel {
  align-content: start;
  min-height: 0;
}

.donor-voucher-order-empty {
  display: grid;
  justify-items: start;
  text-align: left;
}

.donor-voucher-order-empty h3,
.donor-voucher-order-empty p {
  margin: 0;
}

.donor-voucher-order-empty p {
  margin: 0.4rem 0 0;
  color: #acbdd1;
  font-size: 0.74rem;
}

.donor-voucher-preview {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0.15rem 0 0.85rem;
}

.donor-voucher-preview span {
  padding: 0.72rem;
  border: 1px solid rgba(255, 224, 122, 0.18);
  border-radius: 13px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 214, 78, 0.14), transparent 70%),
    rgba(2, 13, 29, 0.62);
}

.donor-voucher-preview small,
.donor-voucher-preview strong {
  display: block;
}

.donor-voucher-preview small {
  color: #8fa2bc;
  font-size: 0.58rem;
  font-weight: 850;
  text-transform: uppercase;
}

.donor-voucher-preview strong {
  margin-top: 0.18rem;
  color: #ffe079;
  font-size: 0.82rem;
  font-weight: 1000;
}

.donor-voucher-order-live {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
}

.donor-voucher-order-live[hidden] {
  display: none;
}

.donor-voucher-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
}

.donor-voucher-order-head div span,
.donor-voucher-order-head div strong {
  display: block;
}

.donor-voucher-order-head div span {
  color: #8fa2bc;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.donor-voucher-order-head div strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #f3f7ff;
  font-size: 0.72rem;
}

.donor-voucher-order-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.donor-voucher-order-summary span {
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(2, 13, 29, 0.56);
}

.donor-voucher-order-summary small,
.donor-voucher-order-summary strong {
  display: block;
}

.donor-voucher-order-summary small {
  color: #8fa2bc;
  font-size: 0.6rem;
}

.donor-voucher-order-summary strong {
  margin-top: 0.2rem;
  color: #ffe079;
  font-size: 0.78rem;
}

.donor-voucher-match {
  margin: 0;
  padding: 0.72rem 0.78rem;
  border: 1px solid rgba(255, 214, 89, 0.24);
  border-radius: 13px;
  color: #d8e3f5;
  background: linear-gradient(140deg, rgba(255, 194, 65, 0.1), rgba(45, 214, 128, 0.07));
  font-size: 0.68rem;
  line-height: 1.45;
}

.donor-voucher-buy {
  width: 100%;
  justify-content: center;
}

.donor-voucher-cancel {
  width: 100%;
  justify-content: center;
}

.donor-voucher-form {
  display: grid;
  gap: 0.55rem;
}

.donor-voucher-form-compact {
  gap: 0.7rem;
}

.donor-voucher-form label span {
  display: block;
  margin-bottom: 0.28rem;
  color: #dbe7f7;
  font-size: 0.68rem;
  font-weight: 850;
}

.donor-voucher-form input {
  width: 100%;
  min-height: 2.7rem;
  color: #f7fbff;
  font-family: "Trebuchet MS", sans-serif;
  letter-spacing: 0.03em;
  text-align: center;
  caret-color: #ffffff;
}

.donor-voucher-form input::placeholder {
  color: rgba(222, 233, 250, 0.74);
  opacity: 1;
  text-align: center;
}

.donor-voucher-form-compact input {
  min-height: 3.05rem;
  border-color: rgba(255, 231, 123, 0.28);
  background: rgba(2, 13, 29, 0.68);
}

.donor-voucher-confirm {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.48rem;
  align-items: start;
  padding: 0.64rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  color: #cfd9ea;
  background: rgba(2, 13, 29, 0.44);
  font-size: 0.66rem;
  line-height: 1.42;
  text-align: left;
}

.donor-voucher-confirm input {
  width: auto;
  min-height: auto;
  margin-top: 0.15rem;
  accent-color: #ffd34d;
}

.donor-voucher-form .btn {
  width: 100%;
}

.donor-voucher-privacy {
  margin: 0;
  color: #8fa2bc;
  font-size: 0.64rem;
  line-height: 1.4;
  grid-column: 1 / -1;
}

.donor-voucher-notice {
  margin: 0;
  font-size: 0.72rem;
}

.donor-purchase-history-shell[hidden] {
  display: none;
}

.donor-purchase-history-card {
  padding: clamp(1rem, 2vw, 1.55rem);
  border: 1px solid rgba(130, 210, 255, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 0%, rgba(92, 221, 255, 0.14), transparent 22rem),
    linear-gradient(145deg, rgba(9, 28, 62, 0.95), rgba(13, 17, 43, 0.95));
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.24);
}

.donor-purchase-history-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.donor-purchase-history-head h2,
.donor-purchase-history-head p {
  margin: 0;
}

.donor-purchase-history-head h2 {
  color: #fff4ca;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.donor-purchase-history-head p {
  margin-top: 0.35rem;
  color: #b9c7dc;
}

.donor-purchase-history-grid {
  display: grid;
  gap: 0.75rem;
}

.donor-purchase-history-row {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(150px, 0.75fr) minmax(220px, 0.9fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(3, 13, 31, 0.58);
}

.donor-purchase-history-main {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.donor-purchase-history-icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  color: #162010;
  background: linear-gradient(135deg, #ffe66f, #69e99d);
  font-size: 0.72rem;
  font-weight: 1000;
}

.donor-purchase-history-main strong,
.donor-purchase-history-main small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.donor-purchase-history-main strong {
  color: #f7fbff;
  font-size: 0.8rem;
}

.donor-purchase-history-main small {
  color: #91a2bd;
  font-size: 0.68rem;
}

.donor-purchase-history-clean-meta ~ small {
  display: none;
}

.donor-purchase-history-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.donor-purchase-history-facts span {
  padding: 0.55rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
}

.donor-purchase-history-facts small,
.donor-purchase-history-facts strong {
  display: block;
}

.donor-purchase-history-facts small {
  color: #8fa2bd;
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.donor-purchase-history-facts strong {
  margin-top: 0.16rem;
  color: #ffe079;
  font-size: 0.76rem;
}

.donor-purchase-history-state {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
  text-align: right;
}

.donor-purchase-history-state p {
  max-width: 220px;
  margin: 0;
  color: #aebbd0;
  font-size: 0.68rem;
  line-height: 1.35;
}

.donor-purchase-empty {
  margin: 0;
}

.donor-document-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(105, 230, 157, 0.28);
  border-radius: 14px;
  background: rgba(5, 20, 35, 0.58);
  color: #dbe8f7;
  font-size: 0.84rem;
  line-height: 1.45;
  cursor: var(--cursor-hover);
}

.donor-document-consent input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.08rem;
  accent-color: #65e99d;
  flex: 0 0 auto;
}

.small-btn {
  min-height: 2.35rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.82rem;
}

.donation-status,
.donation-revoked {
  width: fit-content;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 950;
}

.donation-status.ok {
  color: #102015;
  background: #8bffb8;
}

.donation-status.pending,
.donation-status.warn {
  color: #231700;
  background: #fff06f;
}

.donation-status.danger,
.donation-revoked {
  color: #fff3f4;
  background: rgba(255, 93, 110, 0.28);
  border: 1px solid rgba(255, 93, 110, 0.4);
}

.table {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 177, 61, 0.2);
  border-radius: 8px;
}

.rank-row,
.table-head {
  display: grid;
  grid-template-columns: 70px 104px minmax(130px, 1.1fr) 120px 90px 90px 140px minmax(140px, 1fr) 104px;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 0.9rem;
}

.table-head {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(255, 177, 61, 0.09);
}

.table-head.vote-ranking-head,
.rank-row.vote-ranking-row {
  grid-template-columns: 64px minmax(132px, 240px) 92px minmax(180px, 1fr);
  gap: 0.45rem;
}

.vote-sort-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  width: 100%;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: var(--cursor-hover);
}

.vote-sort-button:hover,
.vote-sort-button.active {
  color: #fff1b8;
}

.vote-sort-button span:first-child {
  min-width: 0;
}

.vote-sort-indicator {
  flex: 0 0 auto;
  font-size: 0.78rem;
  opacity: 0.85;
}

.anonymous-vote-head,
.anonymous-vote-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) 90px 170px minmax(220px, 1.4fr);
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 0.9rem;
}

.anonymous-vote-head {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(255, 177, 61, 0.09);
}

.anonymous-vote-row {
  color: var(--text);
  background: rgba(9, 11, 20, 0.56);
  border-top: 1px solid rgba(255, 177, 61, 0.1);
}

.anonymous-vote-row:hover {
  background: rgba(255, 177, 61, 0.08);
}

.anonymous-vote-row > :last-child {
  line-height: 1.35;
}

.anonymous-vote-empty {
  grid-template-columns: 1fr;
  gap: 0.25rem;
}

.anonymous-vote-card {
  margin-top: 1rem;
}

.rank-row {
  color: var(--text);
  background: rgba(9, 11, 20, 0.56);
  border-top: 1px solid rgba(255, 177, 61, 0.1);
}

.rank-row:hover {
  background: rgba(255, 177, 61, 0.08);
}

.rank-empty {
  grid-template-columns: 1fr;
  gap: 0.25rem;
  min-height: 5.6rem;
  align-content: center;
}

.rank-empty strong {
  color: #fff1b8;
}

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

.vote-reward-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.88fr);
  align-items: stretch;
  justify-items: stretch;
}

.vote-reward-form {
  display: grid;
  align-content: start;
}

.vote-reward-form .btn {
  width: fit-content;
}

.vote-reward-form {
  width: min(100%, 620px);
  max-width: 620px;
  margin-inline: 0;
  justify-self: stretch;
  gap: 0.85rem;
}

.vote-main-button {
  justify-self: center;
  margin-top: 0.45rem;
}

.vote-reward-form p {
  margin-top: 0;
}

.vote-flow-summary-shell {
  display: grid;
  align-self: stretch;
}

.vote-community-card {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.vote-community-card.page {
  min-height: 100%;
}

.vote-community-head {
  align-items: start;
}

.ranking-vote-public-shell {
  margin-top: 1rem;
}

.ranking-vote-private-note {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
}

.ranking-vote-private-note strong {
  color: #fff1b8;
}

.vote-podium-panel {
  position: relative;
  overflow: hidden;
  width: min(100%, 900px);
  margin-inline: auto;
  padding: clamp(0.9rem, 2vw, 1.3rem);
  border: 1px solid rgba(255, 220, 104, 0.42);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 220, 104, 0.2), transparent 35%),
    radial-gradient(circle at 12% 85%, rgba(71, 205, 255, 0.15), transparent 32%),
    linear-gradient(145deg, rgba(18, 35, 82, 0.96), rgba(9, 15, 43, 0.98));
  box-shadow: 0 16px 42px rgba(2, 6, 25, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vote-podium-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image: linear-gradient(115deg, transparent 0 45%, rgba(255, 255, 255, 0.07) 46%, transparent 47%);
  background-size: 70px 70px;
}

.vote-podium-heading,
.vote-podium-panel [data-vote-podium],
.vote-podium-note {
  position: relative;
  z-index: 1;
}

.vote-podium-heading {
  display: flex;
  max-width: 920px;
  margin-inline: auto;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
}

.vote-podium-heading h3 {
  margin: 0.2rem 0 0;
  color: #fff8d6;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
}

.vote-podium-heading p,
.vote-podium-note {
  margin: 0;
  color: #dce8ff;
}

.vote-podium-heading p {
  max-width: 390px;
  text-align: right;
  font-size: 0.82rem;
}

.vote-podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: clamp(0.45rem, 1.4vw, 0.85rem);
  width: min(100%, 720px);
  margin: 1rem auto 0;
}

.vote-podium-place {
  --podium-color: #dce7f7;
  --podium-deep: #65758b;
  position: relative;
  display: grid;
  min-width: 0;
  justify-items: center;
  align-content: end;
  animation: vote-podium-rise 560ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.vote-podium-place.place-1 {
  --podium-color: #ffe66d;
  --podium-deep: #d78a13;
  animation-delay: 100ms;
}

.vote-podium-place.place-2 {
  --podium-color: #e8f3ff;
  --podium-deep: #7b91aa;
  animation-delay: 180ms;
}

.vote-podium-place.place-3 {
  --podium-color: #ffb16d;
  --podium-deep: #9d512b;
  animation-delay: 260ms;
}

.vote-podium-medal {
  display: grid;
  width: clamp(2.15rem, 4vw, 2.75rem);
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: -0.65rem;
  z-index: 2;
  border: 3px solid color-mix(in srgb, var(--podium-color) 82%, white);
  border-radius: 50%;
  color: #07112c;
  background: linear-gradient(145deg, #fff, var(--podium-color) 46%, var(--podium-deep));
  box-shadow: 0 0 26px color-mix(in srgb, var(--podium-color) 40%, transparent);
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  font-weight: 1000;
}

.vote-podium-stat {
  display: grid;
  width: 100%;
  min-height: 10rem;
  place-items: center;
  align-content: center;
  gap: 0.25rem;
  padding: 0.95rem 0.5rem 0.65rem;
  border: 1px solid color-mix(in srgb, var(--podium-color) 38%, transparent);
  border-radius: 13px 13px 6px 6px;
  text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--podium-color) 14%, #111d43), rgba(8, 15, 39, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.vote-podium-place.place-1 .vote-podium-stat {
  min-height: 14rem;
  border-color: rgba(255, 230, 109, 0.62);
  box-shadow: 0 0 38px rgba(255, 202, 73, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.vote-podium-label {
  color: var(--podium-color);
  font-size: clamp(0.62rem, 1.3vw, 0.76rem);
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vote-podium-count {
  color: #fff9df;
  font-size: clamp(1.45rem, 3.4vw, 2.2rem);
  line-height: 1;
  text-shadow: 0 0 22px color-mix(in srgb, var(--podium-color) 38%, transparent);
}

.vote-podium-detail {
  color: #dce8ff;
  font-size: 0.72rem;
}

.vote-podium-inline-reward {
  width: 100%;
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px solid color-mix(in srgb, var(--podium-color) 24%, transparent);
  text-align: left;
}

.vote-podium-inline-reward > span {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--podium-color);
  font-size: 0.59rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vote-podium-inline-reward ul {
  display: grid;
  gap: 0.16rem;
  margin: 0;
  padding-left: 0.95rem;
  color: #e2ebff;
  font-size: 0.66rem;
  line-height: 1.3;
}

.vote-podium-inline-reward li::marker {
  color: var(--podium-color);
}

.vote-podium-note {
  margin-top: 0.7rem;
  text-align: center;
  font-size: 0.72rem;
}

.ranking-table-shell {
  margin-top: 1.35rem;
}

@keyframes vote-podium-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vote-podium-place {
    animation: none;
  }
}

.vote-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}

.vote-status-grid.single {
  grid-template-columns: minmax(0, 1fr);
}

.vote-status-card {
  display: grid;
  gap: 0.35rem;
  min-height: 8.5rem;
  align-content: start;
}

.vote-status-label {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vote-status-value {
  color: #fff4c7;
  font-size: clamp(1.55rem, 2.5vw, 2.3rem);
  line-height: 1.05;
}

.vote-status-detail {
  color: var(--muted);
  line-height: 1.4;
}

.vote-status-note {
  margin: 0.95rem 0 0;
}

.rank-badge {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  aspect-ratio: 1;
  color: #2b1300;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  border-radius: 50%;
  font-weight: 950;
}

.rank-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 6.9rem;
  overflow: hidden;
  border: 1px solid rgba(255, 238, 153, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 218, 70, 0.26), transparent 42%),
    linear-gradient(180deg, rgba(17, 48, 103, 0.68), rgba(12, 13, 24, 0.86));
  box-shadow: inset 0 0 20px rgba(255, 177, 61, 0.08);
}

.rank-avatar::before {
  content: none;
  position: absolute;
  inset: 0.35rem;
  z-index: 1;
  background: url("../img/super-saiyan-maple.png") center bottom / contain no-repeat;
  image-rendering: pixelated;
  opacity: 0.95;
  transition: opacity 120ms ease;
}

.rank-avatar.rank-avatar-loaded::before {
  opacity: 0;
}

.rank-avatar img {
  position: absolute;
  inset: 0.3rem;
  z-index: 2;
  width: calc(100% - 0.6rem);
  height: calc(100% - 0.6rem);
  object-fit: contain;
  object-position: center bottom;
  image-rendering: pixelated;
}

.rank-avatar.rank-avatar-composite,
.character-avatar.avatar-composite-shell {
  overflow: visible;
}

.avatar-composite-stage {
  position: absolute;
  left: 50%;
  bottom: 0.22rem;
  z-index: 2;
  width: var(--avatar-stage-w, 88px);
  height: var(--avatar-stage-h, 136px);
  transform: translateX(-50%) scale(var(--avatar-composite-scale, 0.5));
  transform-origin: center bottom;
  pointer-events: none;
}

.rank-avatar .avatar-composite-stage {
  --avatar-composite-scale: 0.54;
  bottom: 0.28rem;
}

.character-avatar .avatar-composite-stage {
  --avatar-composite-scale: 0.46;
}

.rank-avatar .avatar-composite-stage img,
.character-avatar .avatar-composite-stage img {
  position: absolute;
  inset: auto;
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  object-fit: fill;
  object-position: initial;
  image-rendering: pixelated;
}

.avatar-composite-base {
  left: var(--avatar-base-left, 0);
  top: var(--avatar-base-top, 0);
  z-index: 2;
  width: var(--avatar-base-w, 88px);
  height: var(--avatar-base-h, 136px);
}

.avatar-composite-behind {
  z-index: 1;
}

.avatar-composite-front {
  z-index: 3;
}

.rank-avatar-empty strong {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.8rem;
  aspect-ratio: 1;
  color: #151000;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: var(--shadow-gold);
  font-size: 1.4rem;
}

.rank-avatar-fallback {
  display: none;
}

.timeline {
  display: grid;
  gap: 0.9rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 177, 61, 0.18);
  border-radius: 8px;
  background: rgba(9, 11, 20, 0.64);
}

.date-box {
  color: var(--gold);
  font-weight: 950;
}

.progress {
  height: 0.72rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}

.progress > span {
  display: block;
  height: 100%;
  width: var(--value, 50%);
  background: linear-gradient(90deg, var(--red), var(--orange), var(--gold));
  box-shadow: var(--shadow-gold);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
}

.dashboard-secure-shell:empty {
  grid-column: 1 / -1;
  min-height: 14rem;
  border: 1px solid rgba(255, 230, 109, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.055) 44%, transparent 54%) 0 0 / 220% 100%,
    linear-gradient(135deg, rgba(12, 28, 62, 0.72), rgba(7, 13, 35, 0.78));
  animation: secure-panel-shimmer 1.15s linear infinite;
}

@keyframes secure-panel-shimmer {
  to { background-position: -220% 0, 0 0; }
}

.character-list,
.admin-list,
.feature-list {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.character-list li,
.admin-list li,
.feature-list li {
  padding: 0.8rem;
  border: 1px solid rgba(255, 177, 61, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.panel-card-head,
.character-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.account-panel-card {
  grid-column: span 2;
}

.panel-stats {
  margin-top: 1rem;
}

.character-card-list {
  gap: 0.78rem;
}

.character-list .character-card {
  display: grid;
  grid-template-columns: 4.7rem minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
}

.character-list .character-card.empty {
  min-height: 14rem;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  padding: 2rem;
  text-align: center;
}

.character-list .character-card.empty div {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  max-width: 30rem;
}

.character-list .character-card.empty strong {
  color: var(--cream);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
}

.character-list .character-card.empty .muted {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.45;
}

.character-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 4.7rem;
  height: 5.85rem;
  overflow: hidden;
  color: #1a1000;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 218, 70, 0.24), transparent 44%),
    linear-gradient(180deg, rgba(17, 48, 103, 0.72), rgba(12, 13, 24, 0.88));
  border: 1px solid rgba(255, 238, 153, 0.32);
  box-shadow: inset 0 0 22px rgba(255, 177, 61, 0.1), 0 0 18px rgba(65, 178, 255, 0.12);
  font-weight: 950;
  font-size: 1.25rem;
}

.character-avatar strong {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.45rem;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #151000;
  background: linear-gradient(135deg, var(--gold), var(--orange));
}

.character-avatar.character-avatar-image strong {
  display: none;
}

.character-avatar.character-avatar-empty strong {
  display: grid;
}

.character-avatar img {
  position: absolute;
  inset: 0.3rem;
  z-index: 2;
  width: calc(100% - 0.6rem);
  height: calc(100% - 0.6rem);
  object-fit: contain;
  object-position: center bottom;
  image-rendering: pixelated;
}

.character-avatar.character-avatar-loaded strong {
  display: none;
}

.character-main {
  min-width: 0;
}

.beta-prize-panel {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 230, 109, 0.24);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 178, 46, 0.12), rgba(77, 201, 255, 0.08)),
    rgba(6, 14, 43, 0.58);
}

.beta-prize-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.beta-prize-rank-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid rgba(255, 230, 109, 0.18);
  border-radius: 10px;
  background: rgba(5, 10, 31, 0.56);
}

.beta-prize-rank-card.active {
  border-color: rgba(139, 255, 184, 0.7);
  background:
    linear-gradient(135deg, rgba(69, 239, 145, 0.14), rgba(77, 201, 255, 0.08)),
    rgba(5, 18, 36, 0.78);
  box-shadow: 0 0 24px rgba(69, 239, 145, 0.14);
}

.beta-prize-place {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #171000;
  background: linear-gradient(135deg, #fff06f, #ff9f1c);
  font-weight: 950;
}

.beta-prize-rank-2 .beta-prize-place {
  background: linear-gradient(135deg, #f2f6ff, #9fb2d4);
}

.beta-prize-rank-3 .beta-prize-place {
  background: linear-gradient(135deg, #ffc278, #b95b2a);
}

.beta-prize-rank-card strong,
.beta-prize-rank-card span {
  display: block;
}

.beta-prize-rank-card strong {
  color: #fff1b8;
  line-height: 1.2;
}

.beta-prize-rank-card div > span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.beta-prize-account-claim {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
}

.beta-prize-account-claim .notice {
  margin: 0;
}

.character-meta,
.character-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.character-stats span {
  color: #ffe7ab;
}

.character-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: 0.8rem;
}

.character-actions .btn {
  width: auto;
  min-width: 13rem;
}

.character-actions .notice {
  margin: 0;
  flex: 1 1 16rem;
}

.compact-form {
  margin-top: 0.7rem;
}

.mini-module {
  padding: 0.85rem;
  border-radius: 7px;
  border: 1px solid rgba(255, 177, 61, 0.15);
  background: rgba(4, 6, 12, 0.38);
}

.mini-module h4 {
  margin: 0 0 0.65rem;
  color: var(--gold);
}

.system-visual {
  min-height: 280px;
  border-radius: 8px;
  border: 1px solid rgba(255, 177, 61, 0.2);
  background:
    linear-gradient(180deg, rgba(7,7,13,0.14), rgba(7,7,13,0.78)),
    var(--visual-image, url("../img/time-chamber.png")) center/cover;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.48);
}

.discord-join-grid .card {
  min-height: 22rem;
}

.discord-visual {
  min-height: 11rem;
  margin-top: 1rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: rgba(4, 8, 18, 0.54);
}

.discord-launch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1rem;
  align-items: stretch;
}

.discord-launch-card,
.discord-preview-card {
  display: grid;
  gap: 1rem;
  min-height: auto;
  align-content: start;
}

.discord-launch-card h3,
.discord-preview-card h3 {
  margin: 0;
  color: #fff1b8;
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  line-height: 1.05;
}

.discord-lead {
  margin: 0;
  color: #f4f7ff;
  font-size: 1.08rem;
  line-height: 1.7;
}

.discord-focus-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.discord-focus-item {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(9, 16, 38, 0.58), rgba(8, 13, 30, 0.82)),
    radial-gradient(circle at top right, rgba(77, 201, 255, 0.12), transparent 58%);
}

.discord-focus-item strong {
  color: #fff1b8;
  font-size: 0.96rem;
}

.discord-focus-item span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.discord-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.15rem;
}

.discord-action-row .btn {
  width: auto;
  min-width: 12rem;
}

.discord-note {
  margin: 0;
}

.discord-preview-stack {
  display: grid;
  gap: 0.8rem;
}

.discord-preview-banner {
  position: relative;
  margin: 0;
  padding: 0.32rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 208, 96, 0.2);
  background:
    linear-gradient(180deg, rgba(8, 12, 28, 0.92), rgba(7, 10, 23, 0.98)),
    radial-gradient(circle at top right, rgba(148, 92, 255, 0.16), transparent 52%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.discord-preview-banner img {
  display: block;
  width: 100%;
  aspect-ratio: 10 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 0.82rem;
}

.discord-preview-caption {
  position: absolute;
  inset: auto 0.32rem 0.32rem 0.32rem;
  display: grid;
  gap: 0.2rem;
  padding: 1.15rem 1rem 0.95rem;
  border-radius: 0 0 0.82rem 0.82rem;
  background: linear-gradient(180deg, rgba(8, 12, 28, 0), rgba(8, 12, 28, 0.78) 42%, rgba(8, 12, 28, 0.94));
}

.discord-preview-caption strong {
  color: #fff1b8;
  font-size: 1rem;
  line-height: 1.1;
}

.discord-preview-caption span {
  color: rgba(241, 244, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (max-width: 1020px) {
  .discord-launch-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .discord-focus-list {
    grid-template-columns: 1fr;
  }

  .discord-action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .discord-action-row .btn {
    width: 100%;
  }
}

.footer {
  padding: 2.2rem 0;
  border-top: 1px solid rgba(255, 177, 61, 0.16);
  background: rgba(4, 5, 10, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.small {
  font-size: 0.86rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.legal-card h3 {
  color: #fff1b8;
  margin-bottom: 0.75rem;
}

.legal-list {
  display: grid;
  gap: 0.62rem;
  margin: 0;
  padding-inline-start: 1.2rem;
  color: var(--muted);
}

.legal-list li::marker {
  color: var(--gold);
}

.cookie-notice {
  position: fixed;
  z-index: 50;
  right: 1rem;
  bottom: 1rem;
  width: min(560px, calc(100% - 2rem));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(255, 230, 109, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 46, 116, 0.96), rgba(88, 35, 127, 0.94)),
    rgba(5, 8, 23, 0.96);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.42), 0 0 32px rgba(255, 178, 46, 0.18);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice strong {
  color: #fff1b8;
}

.cookie-notice p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-actions {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}

@keyframes saiyanFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.035);
  }
}

@keyframes drift {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.06); }
}

@keyframes pulse {
  0%, 100% { transform: scale(0.98); opacity: 0.64; }
  50% { transform: scale(1.04); opacity: 1; }
}

@media (max-width: 1020px) {
  .topbar {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .topbar .server-time {
    justify-self: end;
  }

  .topbar .nav {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
  }

  .topbar .nav-link {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .topbar .account-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
  }

  .hero-content,
  .fashion-layout,
  .dashboard-grid,
  .legal-grid,
  .vote-reward-grid,
  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 320px;
  }

  .donor-payment-method-picker {
    grid-template-columns: 1fr;
  }

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

  .donor-crypto-panel {
    position: static;
  }

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

  .donor-purchase-history-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .donor-purchase-history-state {
    justify-items: start;
    text-align: left;
  }

  .donor-voucher-order {
    position: static;
  }

  .donor-voucher-order-live {
    grid-template-columns: 1fr;
  }

  .donor-voucher-packages {
    grid-template-columns: repeat(5, minmax(96px, 1fr));
  }

  .donor-package-grid {
    grid-template-columns: repeat(5, minmax(96px, 1fr));
  }

  .shenron {
    width: min(390px, 74%);
    right: 0;
    top: 5%;
  }

  .maple-saiyan-hero {
    left: 2%;
    bottom: 0;
    width: min(162px, 33vw);
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rank-row,
  .table-head {
    grid-template-columns: 52px minmax(124px, 1fr) 74px 90px;
  }

  .rank-row > :nth-child(2),
  .table-head > :nth-child(2),
  .rank-row > :nth-child(4),
  .table-head > :nth-child(4),
  .rank-row > :nth-child(6),
  .table-head > :nth-child(6),
  .rank-row > :nth-child(7),
  .table-head > :nth-child(7),
  .rank-row > :nth-child(8),
  .table-head > :nth-child(8) {
    display: none;
  }

  .table-head.vote-ranking-head,
  .rank-row.vote-ranking-row {
    grid-template-columns: 52px minmax(92px, 132px) 74px minmax(110px, 1fr);
    gap: 0.35rem;
  }

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

  .anonymous-vote-head,
  .anonymous-vote-row {
    grid-template-columns: minmax(130px, 1fr) 72px 120px;
  }

  .anonymous-vote-head > :nth-child(4),
  .anonymous-vote-row > :nth-child(4) {
    display: none;
  }

  .rank-avatar {
    width: 4.6rem;
    height: 5.7rem;
  }

  .fashion-preview {
    position: relative;
    top: auto;
  }

  .fashion-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    justify-content: flex-start;
  }

  .account-actions,
  .hero-actions,
  .section-header {
    align-items: stretch;
    flex-direction: column;
  }

  .vote-status-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

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

  .donor-payment-method-picker {
    gap: 0.8rem;
    padding: 0.75rem;
  }

  .donor-payment-method-tab {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.48rem;
    min-height: 3.75rem;
    padding: 0.5rem;
  }

  .donor-payment-method-state {
    display: none;
  }

  .donor-payment-method-icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.88rem;
  }

  .donor-payment-method-copy strong {
    font-size: 0.78rem;
  }

  .donor-payment-method-copy small {
    font-size: 0.58rem;
    white-space: normal;
  }

  .donor-crypto-copy {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .donor-crypto-rate {
    width: fit-content;
    min-width: 0;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.05rem;
    align-items: center;
    text-align: center;
  }

  .donor-crypto-highlights {
    grid-template-columns: 1fr;
  }

  .donor-crypto-highlights span + span {
    border-top: 1px solid rgba(126, 197, 255, 0.12);
    border-left: 0;
  }

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

  .donor-package-card {
    grid-column: auto;
    min-height: 8.35rem;
  }

  .donor-package-card-wide,
  .donor-package-card:last-child {
    grid-column: auto;
  }

  .donor-package-card.is-first-time {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .donor-package-card.is-first-time .donor-package-visual,
  .donor-package-card.is-first-time .donor-package-top,
  .donor-package-card.is-first-time .donor-package-price,
  .donor-package-card.is-first-time .donor-package-reward,
  .donor-package-card.is-first-time .donor-package-bonus {
    grid-column: 1;
    grid-row: auto;
  }

  .donor-crypto-wallet-grid {
    grid-template-columns: 1fr;
  }

  .donor-payment-actions {
    grid-template-columns: 1fr;
  }

  .donor-crypto-card,
  .donor-choice-block,
  .donor-crypto-panel {
    border-radius: 15px;
  }

  .donor-crypto-panel-head {
    align-items: center;
  }

  .donor-voucher-head {
    align-items: stretch;
    flex-direction: column;
  }

  .donor-voucher-shield {
    width: 100%;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 0.6rem;
    border-radius: 16px;
  }

  .donor-voucher-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .donor-voucher-steps span:nth-child(3) {
    border-top: 1px solid rgba(131, 177, 255, 0.15);
    border-left: 0;
  }

  .donor-voucher-steps span:nth-child(4) {
    border-top: 1px solid rgba(131, 177, 255, 0.15);
  }

  .donor-voucher-packages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .donor-voucher-package {
    grid-column: auto;
  }

  .donor-voucher-package-wide,
  .donor-voucher-package:last-child {
    grid-column: auto;
  }

  .donor-voucher-package.is-first-time {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .donor-voucher-package.is-first-time .donor-voucher-package-art-wrap,
  .donor-voucher-package.is-first-time .donor-voucher-package-details,
  .donor-voucher-package.is-first-time .donor-voucher-package-buy {
    grid-column: 1;
    grid-row: auto;
  }

  .donor-voucher-preview {
    grid-template-columns: 1fr;
  }

  .donor-voucher-card,
  .donor-voucher-order,
  .donor-purchase-history-card {
    border-radius: 15px;
  }

  .donor-purchase-history-head {
    align-items: stretch;
    flex-direction: column;
  }

  .donor-purchase-history-facts {
    grid-template-columns: 1fr;
  }

  .donor-order-spotlight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-art {
    min-height: 290px;
  }

  .shenron {
    width: 68%;
    right: -2%;
    top: 6%;
  }

  .maple-saiyan-hero {
    width: min(124px, 34vw);
    left: 0;
    bottom: 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .cookie-notice {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* KaiokenMS launch redesign */
:root {
  --bg: #050817;
  --bg-2: #10245f;
  --panel: rgba(18, 31, 72, 0.78);
  --panel-strong: rgba(22, 41, 94, 0.94);
  --panel-line: rgba(255, 202, 73, 0.38);
  --text: #fff8dd;
  --muted: #d9e4ff;
  --red: #ff2d2d;
  --red-2: #ff6a24;
  --orange: #ff9f1c;
  --gold: #ffe66d;
  --green: #45ef91;
  --blue: #4dc9ff;
  --purple: #945cff;
  --shadow-red: 0 0 34px rgba(255, 45, 45, 0.48);
  --shadow-gold: 0 0 34px rgba(255, 198, 54, 0.44);
  --shadow-green: 0 0 34px rgba(55, 235, 132, 0.32);
  --cursor-normal: url("../img/maple-cursor-click.png?v=20260725-cursor-press-v6") 7 2, auto;
  --cursor-hover: url("../img/maple-cursor-click.png?v=20260725-cursor-press-v6") 7 2, pointer;
  --cursor-click: url("../img/maple-cursor.png?v=20260725-cursor-press-v6") 7 2, pointer;
}

body {
  background:
    linear-gradient(180deg, rgba(6, 14, 43, 0.05) 0%, rgba(6, 14, 43, 0.76) 58%, #050817 100%),
    radial-gradient(circle at 16% 14%, rgba(255, 69, 37, 0.34), transparent 22rem),
    radial-gradient(circle at 84% 9%, rgba(52, 201, 255, 0.26), transparent 22rem),
    linear-gradient(135deg, #061a4a 0%, #10245f 34%, #822e9f 62%, #fb6a22 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.26;
  background:
    linear-gradient(120deg, transparent 0 8%, rgba(255,255,255,0.14) 8.4% 8.8%, transparent 9.2% 23%),
    linear-gradient(60deg, transparent 0 12%, rgba(255,231,111,0.13) 12.3% 12.7%, transparent 13% 28%);
  background-size: 260px 180px;
  animation: energySlide 14s linear infinite;
}

.topbar {
  border-bottom-color: rgba(255, 230, 109, 0.34);
  background:
    linear-gradient(90deg, rgba(5, 8, 23, 0.92), rgba(27, 50, 122, 0.84), rgba(118, 40, 134, 0.78));
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

.brand-mark {
  color: #5b1700;
  background:
    radial-gradient(circle at 36% 30%, #fff7af 0 12%, transparent 13%),
    radial-gradient(circle at 48% 50%, #c01814 0 5%, transparent 6%),
    radial-gradient(circle, #ffcf36 0 56%, #ff8b1e 57% 76%, #5f1c00 77%);
  border-color: #fff0a4;
}

.nav-link {
  color: #e8eeff;
}

.nav-link:hover,
.nav-link.active {
  color: #10133a;
  border-color: rgba(255, 238, 153, 0.74);
  background: linear-gradient(135deg, #fff06f, #ff9f1c);
  box-shadow: 0 0 22px rgba(255, 201, 54, 0.28);
}

.hero {
  min-height: clamp(690px, 84vh, 850px);
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(3, 7, 23, 0.94), rgba(9, 25, 76, 0.54), rgba(3, 7, 23, 0.2)),
    linear-gradient(180deg, rgba(6, 14, 43, 0.1), rgba(5, 8, 23, 0.95)),
    var(--hero-image, url("../img/capsule-city.png")) center/cover;
}

.hero::after {
  background:
    radial-gradient(circle at 18% 44%, rgba(255, 45, 45, 0.36), transparent 18rem),
    radial-gradient(circle at 72% 22%, rgba(255, 230, 109, 0.24), transparent 16rem),
    radial-gradient(circle at 86% 70%, rgba(69, 239, 145, 0.18), transparent 18rem);
}

.dbz-skyline {
  position: absolute;
  inset: auto 0 0;
  height: 9rem;
  opacity: 0.72;
  background:
    linear-gradient(180deg, transparent, rgba(5, 8, 23, 0.8)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.14) 0 2px, transparent 2px 82px);
  clip-path: polygon(0 82%, 5% 64%, 10% 78%, 15% 42%, 20% 70%, 26% 50%, 31% 80%, 38% 36%, 45% 72%, 51% 54%, 60% 80%, 68% 46%, 74% 74%, 82% 38%, 90% 68%, 100% 48%, 100% 100%, 0 100%);
}

.launch-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.42rem 0.6rem;
  border: 1px solid rgba(255, 239, 154, 0.66);
  border-radius: 999px;
  color: #111642;
  background: linear-gradient(135deg, #fff06f, #ffb22e 58%, #ff4b2b);
  box-shadow: 0 0 28px rgba(255, 111, 38, 0.38);
  font-size: 0.86rem;
}

.launch-badge span {
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
  color: #fff8dd;
  background: #e62b20;
  font-weight: 950;
  text-transform: uppercase;
}

.launch-badge strong {
  font-weight: 900;
}

.small-launch {
  margin-bottom: 1.15rem;
}

.hero h1 {
  color: #fff8dd;
  text-shadow:
    0 0 12px rgba(255, 240, 111, 0.78),
    0 0 28px rgba(255, 53, 45, 0.78),
    0 8px 0 rgba(61, 15, 5, 0.72);
}

.hero-subtitle {
  color: #fff6c7;
  font-weight: 800;
}

.launch-countdown-card {
  position: relative;
  width: min(760px, 100%);
  margin: 1.15rem 0 1rem;
  padding: 1.05rem;
  border: 1px solid rgba(255, 230, 109, 0.48);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 136, 39, 0.18), rgba(78, 44, 196, 0.18)),
    linear-gradient(180deg, rgba(11, 16, 44, 0.94), rgba(7, 10, 30, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 0 42px rgba(255, 178, 46, 0.22);
  overflow: hidden;
}

.launch-countdown-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ff4b2b, #fff06f, #45ef91, #4dc9ff);
}

.launch-countdown-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.launch-countdown-head small {
  display: block;
  color: #ffd880;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.launch-countdown-head strong {
  display: block;
  margin-top: 0.18rem;
  color: #fff8dd;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.1;
}

.launch-date-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.6rem 0.95rem;
  border: 1px solid rgba(255, 230, 109, 0.5);
  border-radius: 999px;
  color: #1e1300;
  background: linear-gradient(135deg, #fff06f, #ffb22e 54%, #ff6b2d);
  box-shadow: 0 0 24px rgba(255, 178, 46, 0.24);
  font-size: 1rem;
  font-weight: 950;
  white-space: nowrap;
}

.launch-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.launch-countdown-unit {
  display: grid;
  gap: 0.4rem;
  padding: 0.9rem 0.8rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(8, 12, 32, 0.78);
  text-align: center;
}

.launch-countdown-value {
  color: #fff06f;
  font-size: clamp(1.95rem, 4.8vw, 3rem);
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 178, 46, 0.28);
}

.launch-countdown-label {
  color: #dbe8ff;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.launch-countdown-note {
  margin: 0.9rem 0 0;
  color: #dbe8ff;
  font-size: 0.94rem;
  line-height: 1.55;
}

.launch-countdown-card.is-live {
  border-color: rgba(139, 255, 184, 0.7);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 0 42px rgba(69, 239, 145, 0.28);
}

.launch-countdown-card.is-live .launch-countdown-value {
  color: #8bffb8;
  text-shadow: 0 0 20px rgba(69, 239, 145, 0.34);
}

.hero-lead {
  max-width: 68ch;
  color: #e5efff;
  font-size: 1rem;
}

.live-status-strip {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0.9rem;
  margin: 1.15rem 0 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(139, 255, 184, 0.72);
  border-radius: 8px;
  color: #eafff2;
  background:
    linear-gradient(135deg, rgba(18, 145, 83, 0.78), rgba(10, 72, 97, 0.72)),
    rgba(4, 16, 32, 0.82);
  box-shadow:
    0 0 30px rgba(69, 239, 145, 0.28),
    inset 0 0 26px rgba(139, 255, 184, 0.1);
}

.live-status-strip.offline {
  border-color: rgba(255, 93, 110, 0.72);
  background:
    linear-gradient(135deg, rgba(145, 18, 28, 0.82), rgba(78, 18, 42, 0.74)),
    rgba(4, 16, 32, 0.82);
}

.online-dot {
  width: 1rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #8bffb8;
  box-shadow: 0 0 0 6px rgba(139, 255, 184, 0.15), 0 0 24px rgba(139, 255, 184, 0.9);
  animation: statusPulse 1.45s ease-in-out infinite;
}

.live-status-strip.offline .online-dot {
  background: #ff5d6e;
  box-shadow: 0 0 0 6px rgba(255, 93, 110, 0.15), 0 0 24px rgba(255, 93, 110, 0.72);
}

.live-status-strip small {
  display: block;
  color: rgba(255,255,255,0.76);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.live-status-strip strong {
  display: block;
  color: #fff8dd;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.launch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.launch-list span {
  padding: 0.45rem 0.62rem;
  border: 1px solid rgba(77, 201, 255, 0.45);
  border-radius: 999px;
  color: #dff6ff;
  background: rgba(26, 74, 154, 0.6);
  box-shadow: inset 0 0 20px rgba(77, 201, 255, 0.12);
  font-weight: 800;
}

.btn {
  border-radius: 8px;
  transform: translateZ(0);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.1);
}

.btn:disabled:hover,
.btn.is-loading:hover {
  transform: none;
  filter: grayscale(0.35);
}

.btn.primary {
  color: #151000;
  background: linear-gradient(135deg, #fff06f, #ffb22e 52%, #ff5b22);
}

.btn.red {
  background: linear-gradient(135deg, #ff4535, #ed1d24 48%, #8c0f12);
}

.btn.green {
  background: linear-gradient(135deg, #8bffb8, #45ef91 48%, #1ca657);
}

.btn:disabled,
.btn.primary:disabled,
.btn.red:disabled,
.btn.green:disabled,
.btn.ghost:disabled,
.btn.is-loading {
  color: rgba(255, 255, 255, 0.74);
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, #727272, #4f5665);
  box-shadow: none;
  filter: grayscale(0.35);
  opacity: 0.78;
  transform: none;
}

.btn:disabled,
.btn.primary:disabled,
.btn.red:disabled,
.btn.green:disabled,
.btn.ghost:disabled {
  cursor: var(--cursor-normal) !important;
}

.btn.is-loading {
  cursor: var(--cursor-hover) !important;
}

.stats-grid .stat-pill,
.card,
.timeline-item,
.table,
.system-visual {
  backdrop-filter: blur(14px);
}

.card {
  border-color: rgba(255, 230, 109, 0.32);
  background:
    linear-gradient(135deg, rgba(77, 201, 255, 0.12), rgba(255, 111, 38, 0.1)),
    linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.02)),
    rgba(9, 22, 61, 0.76);
}

.card::before {
  height: 3px;
  background: linear-gradient(90deg, #ff2d2d, #ffb22e, #fff06f, #45ef91, transparent);
}

.card.green {
  background:
    linear-gradient(135deg, rgba(69, 239, 145, 0.16), rgba(77, 201, 255, 0.1)),
    rgba(9, 28, 55, 0.78);
}

.page-hero {
  padding: 6.8rem 0 3.4rem;
  background:
    linear-gradient(180deg, rgba(7, 17, 50, 0.08), rgba(5, 8, 23, 0.92)),
    var(--page-image, url("../img/capsule-city.png")) center/cover;
}

.page-hero::before {
  background:
    linear-gradient(90deg, rgba(5,8,23,0.94), rgba(18,49,129,0.58), rgba(111,38,133,0.74)),
    radial-gradient(circle at 78% 36%, rgba(255, 230, 109, 0.18), transparent 18rem);
}

.feature-page-hero {
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 164, 44, 0.18), transparent 24rem),
    radial-gradient(circle at 84% 18%, rgba(77, 201, 255, 0.14), transparent 24rem),
    linear-gradient(180deg, rgba(8, 10, 24, 0.96), rgba(8, 10, 24, 0.9));
}

.feature-page-hero::before {
  background: linear-gradient(90deg, rgba(7, 7, 13, 0.9), rgba(7, 7, 13, 0.48), rgba(7, 7, 13, 0.82));
}

.section:nth-of-type(even) {
  background:
    linear-gradient(90deg, rgba(77, 201, 255, 0.055), transparent 35%, rgba(255, 111, 38, 0.05)),
    rgba(255,255,255,0.015);
}

.rank-badge,
.dragon-ball {
  box-shadow:
    0 0 0 2px rgba(255, 246, 175, 0.24),
    0 0 26px rgba(255, 178, 46, 0.48);
}

.classic-forum {
  display: grid;
  gap: 1rem;
}

.classic-forum-toolbar,
.classic-board-heading,
.classic-topic-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid rgba(255, 230, 109, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 178, 46, 0.16), rgba(77, 201, 255, 0.1)),
    rgba(7, 18, 52, 0.78);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.classic-forum-toolbar h2,
.classic-board-heading h2,
.classic-topic-head h2,
.classic-topic-head h3 {
  margin: 0 0 0.22rem;
  color: #fff8dd;
}

.classic-forum-toolbar p,
.classic-board-heading p,
.classic-topic-head p {
  margin: 0;
  color: var(--muted);
}

.classic-forum-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.classic-forum-stats span {
  min-width: 5rem;
  padding: 0.48rem 0.62rem;
  border: 1px solid rgba(139, 255, 184, 0.28);
  border-radius: 6px;
  color: #fff8dd;
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
  background: rgba(5, 10, 31, 0.58);
}

.classic-forum-stats strong {
  display: block;
  color: #8bffb8;
  font-size: 1.02rem;
}

.classic-forum-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid rgba(77, 201, 255, 0.18);
  border-radius: 8px;
  background: rgba(5, 10, 31, 0.38);
}

.classic-forum-jump a {
  padding: 0.42rem 0.62rem;
  border: 1px solid rgba(255, 230, 109, 0.22);
  border-radius: 999px;
  color: #fff8dd;
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
  background: rgba(9, 22, 61, 0.68);
}

.classic-forum-jump a:hover {
  border-color: rgba(139, 255, 184, 0.56);
  color: #8bffb8;
}

.classic-forum-section {
  overflow: hidden;
  border: 1px solid rgba(255, 230, 109, 0.26);
  border-radius: 8px;
  background: rgba(9, 22, 61, 0.76);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.classic-forum-section-title {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.86rem 1rem;
  border-bottom: 1px solid rgba(255, 230, 109, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 178, 46, 0.22), rgba(255, 111, 38, 0.08)),
    rgba(5, 10, 31, 0.56);
}

.classic-forum-section-title strong {
  display: block;
  color: #fff1b8;
  font-size: 1rem;
}

.classic-forum-section-title small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.1rem;
}

.classic-forum-table {
  display: grid;
  background: rgba(5, 10, 31, 0.3);
}

.classic-forum-head {
  display: grid;
  gap: 0.85rem;
  align-items: center;
  padding: 0.56rem 1rem;
  color: rgba(237, 246, 255, 0.66);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  background: rgba(5, 10, 31, 0.5);
}

.classic-forum-board-table .classic-forum-head,
.classic-forum-board-row {
  grid-template-columns: minmax(0, 1.25fr) 86px 86px minmax(180px, 0.62fr);
}

.classic-forum-thread-table .classic-forum-head,
.classic-thread-row {
  grid-template-columns: minmax(0, 1.45fr) 130px 76px 76px minmax(170px, 0.68fr);
}

.classic-forum-board-row,
.classic-thread-row {
  appearance: none;
  width: 100%;
  display: grid;
  gap: 0.85rem;
  align-items: center;
  padding: 0.72rem 0.9rem;
  border: 0;
  border-top: 1px solid rgba(255, 230, 109, 0.13);
  color: #f8fbff;
  text-align: left;
  font: inherit;
  background: transparent;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.classic-forum-board-row:hover,
.classic-thread-row:hover {
  background:
    linear-gradient(90deg, rgba(139, 255, 184, 0.09), rgba(77, 201, 255, 0.08)),
    rgba(255, 255, 255, 0.025);
}

.classic-forum-board-row:focus-visible,
.classic-thread-row:focus-visible,
.classic-forum-breadcrumb button:focus-visible,
.classic-forum-jump a:focus-visible {
  outline: 2px solid #8bffb8;
  outline-offset: -2px;
}

.classic-forum-board-main {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
}

.classic-forum-board-icon,
.classic-avatar {
  width: 2rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 230, 109, 0.44);
  border-radius: 6px;
  color: #151000;
  font-weight: 950;
  background: linear-gradient(135deg, #fff06f, #ffb22e 52%, #ff5b22);
  box-shadow: 0 0 18px rgba(255, 178, 46, 0.28);
}

.classic-forum-board-icon.image-icon {
  overflow: hidden;
  padding: 0.22rem;
  background:
    radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.34), transparent 34%),
    linear-gradient(135deg, rgba(9, 22, 61, 0.9), rgba(255, 178, 46, 0.16));
}

.classic-forum-board-icon.image-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.28));
}

.forum-ui-icon {
  width: 14px;
  height: 14px;
  min-width: 14px;
  max-width: 14px;
  max-height: 14px;
  margin-right: 0.32rem;
  vertical-align: -0.16rem;
  color: currentColor;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.forum-ui-icon svg,
.forum-ui-icon img {
  width: 14px;
  height: 14px;
  min-width: 14px;
  max-width: 14px;
  max-height: 14px;
  display: block;
  fill: currentColor;
  flex: 0 0 auto;
}

.forum-metric {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.18rem;
}

.classic-forum-board-main strong,
.classic-thread-title strong,
.classic-forum-last strong,
.classic-post-author strong {
  color: #fff8dd;
}

.classic-forum-board-main small,
.classic-thread-title small,
.classic-forum-last small,
.classic-post-author span,
.classic-post-meta,
.classic-forum-empty span,
.classic-forum-login-box span {
  color: var(--muted);
  font-size: 0.78rem;
}

.classic-forum-board-main strong,
.classic-forum-board-main small,
.classic-forum-board-main em,
.classic-thread-title strong,
.classic-thread-title small,
.classic-forum-last strong,
.classic-forum-last small {
  display: block;
}

.classic-forum-board-main em {
  color: #fff1b8;
  font-size: 0.78rem;
  font-style: normal;
  margin-top: 0.14rem;
}

.classic-forum-number {
  color: #8bffb8;
  font-weight: 950;
  text-align: center;
}

.classic-forum-last {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.classic-forum-last .forum-ui-icon {
  margin-right: 0.24rem;
  vertical-align: -0.08rem;
}

.classic-thread-title {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.58rem;
  align-items: center;
  min-width: 0;
}

.classic-thread-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
  min-width: auto;
  min-height: 1.24rem;
  padding: 0.14rem 0.36rem;
  border: 1px solid rgba(77, 201, 255, 0.38);
  border-radius: 999px;
  color: #dff7ff;
  font-size: 0.64rem;
  font-weight: 950;
  background: rgba(77, 201, 255, 0.12);
}

.classic-thread-badge .forum-ui-icon {
  margin-right: 0;
  vertical-align: 0;
}

.classic-thread-badge.sticky,
.classic-thread-badge.announcement {
  border-color: rgba(255, 230, 109, 0.55);
  color: #fff1b8;
  background: rgba(255, 178, 46, 0.16);
}

.classic-thread-badge.locked {
  border-color: rgba(255, 111, 38, 0.55);
  color: #ffd6c4;
  background: rgba(255, 111, 38, 0.12);
}

.classic-thread-author {
  color: #edf6ff;
  font-weight: 800;
}

.classic-forum-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  align-items: center;
}

.classic-forum-breadcrumb button {
  appearance: none;
  padding: 0.42rem 0.62rem;
  border: 1px solid rgba(255, 230, 109, 0.24);
  border-radius: 999px;
  color: #fff8dd;
  font: inherit;
  font-weight: 850;
  background: rgba(9, 22, 61, 0.72);
}

.classic-forum-breadcrumb button:hover {
  border-color: rgba(139, 255, 184, 0.62);
}

.classic-forum-breadcrumb span {
  color: var(--muted);
}

.classic-forum-login-box,
.classic-forum-form,
.classic-forum-empty,
.classic-forum-notice {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(255, 230, 109, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(77, 201, 255, 0.08), rgba(255, 111, 38, 0.06)),
    rgba(9, 22, 61, 0.72);
}

.classic-forum-notice {
  border-color: rgba(77, 201, 255, 0.32);
  color: #dff7ff;
  font-weight: 850;
}

.classic-forum-form label {
  display: grid;
  gap: 0.36rem;
}

.forum-hidden-link {
  display: none;
}

.forum-toolbar-actions {
  margin: 0;
}

.classic-forum-filter,
.forum-create-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 170px 150px 150px auto auto;
  gap: 0.75rem;
  align-items: end;
  padding: 0.9rem;
  border: 1px solid rgba(77, 201, 255, 0.22);
  border-radius: 8px;
  background: rgba(5, 10, 31, 0.42);
}

.forum-create-grid {
  grid-template-columns: minmax(190px, 0.35fr) minmax(260px, 1fr);
  padding: 0;
  border: 0;
  background: transparent;
}

.forum-tag-list,
.forum-status-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.24rem;
}

.forum-tag,
.forum-tag-picker label {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.25rem 0.48rem;
  border: 1px solid rgba(255, 230, 109, 0.24);
  border-radius: 999px;
  color: #fff1b8;
  background: rgba(255, 178, 46, 0.1);
  font-size: 0.72rem;
  font-weight: 850;
}

.forum-tag-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.forum-tag-picker label.disabled {
  opacity: 0.45;
}

.classic-thread-title em {
  display: -webkit-box;
  margin-top: 0.24rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.classic-thread-badge.hot {
  border-color: rgba(255, 92, 42, 0.62);
  color: #ffd2bd;
  background: rgba(255, 92, 42, 0.14);
}

.classic-thread-badge.staff {
  border-color: rgba(139, 255, 184, 0.62);
  color: #c7ffe0;
  background: rgba(69, 239, 145, 0.14);
}

.classic-thread-badge.solved,
.classic-thread-badge.pending,
.classic-thread-badge.rejected {
  border-color: rgba(139, 255, 184, 0.56);
  color: #c7ffe0;
  background: rgba(69, 239, 145, 0.12);
}

.classic-thread-badge.pending {
  border-color: rgba(77, 201, 255, 0.56);
  color: #dff7ff;
  background: rgba(77, 201, 255, 0.12);
}

.classic-thread-badge.rejected {
  border-color: rgba(255, 93, 110, 0.56);
  color: #ffd4db;
  background: rgba(255, 93, 110, 0.12);
}

.forum-create-page {
  gap: 1rem;
}

.forum-editor {
  overflow: hidden;
  border: 1px solid rgba(255, 230, 109, 0.22);
  border-radius: 8px;
  background: rgba(5, 10, 31, 0.56);
}

.forum-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.55rem;
  border-bottom: 1px solid rgba(255, 230, 109, 0.16);
  background: rgba(5, 10, 31, 0.62);
}

.forum-editor-toolbar button,
.forum-editor-toolbar select,
.forum-editor-toolbar input[type="color"],
.forum-editor-upload {
  min-height: 2rem;
  padding: 0.3rem 0.48rem;
  border: 1px solid rgba(255, 230, 109, 0.22);
  border-radius: 6px;
  color: #fff8dd;
  background: rgba(9, 22, 61, 0.78);
  font-size: 0.76rem;
  font-weight: 850;
}

.forum-editor-upload input {
  display: none;
}

.forum-editor-surface,
.forum-editor-preview {
  min-height: 14rem;
  padding: 1rem;
  color: #edf6ff;
  outline: none;
}

.forum-editor-preview {
  background: rgba(9, 22, 61, 0.5);
}

.forum-editor-surface img,
.forum-post-body img,
.forum-editor-preview img {
  max-width: min(100%, 720px);
  height: auto;
  border: 1px solid rgba(255, 230, 109, 0.22);
  border-radius: 8px;
}

.forum-form-actions,
.forum-staff-tools,
.forum-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.forum-staff-tools {
  padding: 0.8rem;
  border: 1px solid rgba(139, 255, 184, 0.24);
  border-radius: 8px;
  background: rgba(5, 31, 24, 0.42);
}

.forum-staff-tools select {
  min-height: 2.7rem;
  border: 1px solid rgba(139, 255, 184, 0.28);
  border-radius: 7px;
  color: #fff8dd;
  background: rgba(9, 22, 61, 0.78);
  font-weight: 850;
}

.forum-post-body {
  color: #edf6ff;
  line-height: 1.7;
}

.forum-post-body blockquote,
.forum-editor-preview blockquote,
.forum-editor-surface blockquote {
  margin: 0.6rem 0;
  padding: 0.65rem 0.8rem;
  border-left: 3px solid var(--gold);
  color: #fff1b8;
  background: rgba(255, 178, 46, 0.1);
}

.forum-post-body pre,
.forum-editor-preview pre,
.forum-editor-surface pre {
  overflow-x: auto;
  padding: 0.75rem;
  border: 1px solid rgba(77, 201, 255, 0.24);
  border-radius: 8px;
  background: rgba(2, 7, 18, 0.78);
}

.spoiler {
  color: transparent;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
  transition: color 0.16s ease, background 0.16s ease;
}

.spoiler:hover,
.spoiler:focus {
  color: #fff8dd;
  background: rgba(255, 178, 46, 0.18);
}

.forum-post-actions button {
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 230, 109, 0.2);
  border-radius: 999px;
  color: #fff8dd;
  background: rgba(9, 22, 61, 0.72);
  font-size: 0.75rem;
  font-weight: 850;
}

.classic-post.deleted {
  opacity: 0.74;
  border-style: dashed;
}

.forum-post-edit-panel {
  display: grid;
  gap: 0.65rem;
}

.classic-post-list {
  display: grid;
  gap: 0.8rem;
}

.classic-post {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 230, 109, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(77, 201, 255, 0.08), rgba(255, 111, 38, 0.06)),
    rgba(9, 22, 61, 0.76);
}

.classic-post-author {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 0.42rem;
  padding: 1rem;
  border-right: 1px solid rgba(255, 230, 109, 0.16);
  text-align: center;
  background: rgba(5, 10, 31, 0.48);
}

.classic-post-content {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
}

.classic-post-content p {
  margin: 0;
  color: #edf6ff;
  line-height: 1.7;
  white-space: pre-wrap;
}

.classic-forum-footerline {
  color: var(--muted);
  font-size: 0.78rem;
  text-align: right;
}

.section-mini-title {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: #fff8dd;
}

.section-mini-title h3 {
  margin: 0;
}

.section-mini-title span {
  color: var(--muted);
  font-weight: 800;
}

.admin-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.admin-rtl {
  direction: rtl;
  text-align: right;
}

.admin-rtl .hero-actions,
.admin-rtl .tag-row,
.admin-rtl .panel-card-head {
  justify-content: flex-start;
}

.admin-rtl .stat-pill {
  text-align: right;
}

.staff-panel {
  grid-column: auto;
}

.admin-command-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(77, 225, 167, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(20, 59, 82, 0.95), rgba(20, 25, 64, 0.95));
}

.admin-command-header h3,
.admin-card-head h3,
.admin-detail-head h3 {
  margin: 0.2rem 0 0.35rem;
}

.admin-command-header p,
.admin-detail-head p {
  margin: 0;
  color: var(--muted);
}

.admin-eyebrow {
  color: #8fffc9;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-header-actions,
.admin-card-head,
.admin-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-header-actions {
  flex-wrap: wrap;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
}

.admin-metric {
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid rgba(120, 211, 255, 0.17);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(11, 23, 55, 0.92), rgba(5, 10, 29, 0.9));
}

.admin-metric span,
.admin-metric small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.admin-metric strong {
  display: block;
  margin: 0.28rem 0 0.18rem;
  color: var(--gold);
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.05;
}

.admin-card-head {
  margin-bottom: 0.9rem;
}

.admin-safe-note {
  max-width: 31rem;
  color: #8fc7de;
  font-size: 0.76rem;
  font-weight: 800;
}

.admin-search {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.admin-search input {
  min-height: 2.75rem;
}

.admin-workspace {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.45fr);
  gap: 0.85rem;
  align-items: start;
}

.admin-account-results,
.admin-account-detail {
  min-width: 0;
  border: 1px solid rgba(125, 212, 255, 0.14);
  border-radius: 11px;
  background: rgba(4, 10, 29, 0.58);
}

.admin-account-results {
  display: grid;
  gap: 0.35rem;
  max-height: 52rem;
  padding: 0.45rem;
  overflow: auto;
}

.admin-account-detail {
  padding: 1rem;
}

.admin-account-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  align-items: center;
  padding: 0.72rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #edfaff;
  text-align: right;
  background: rgba(13, 27, 60, 0.62);
  cursor: var(--cursor-hover);
}

.admin-account-row:hover,
.admin-account-row.is-selected {
  border-color: rgba(255, 219, 98, 0.48);
  background: linear-gradient(120deg, rgba(47, 96, 123, 0.66), rgba(36, 35, 80, 0.72));
}

.admin-account-row > span:not(.admin-account-main):not(.admin-status) {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: normal;
}

.admin-account-main {
  grid-column: span 2;
}

.admin-account-row .admin-status {
  justify-self: end;
}

.admin-account-main,
.admin-data-list span,
.admin-audit-list span {
  min-width: 0;
}

.admin-account-main strong,
.admin-account-main small,
.admin-data-list strong,
.admin-data-list small,
.admin-audit-list strong,
.admin-audit-list small {
  display: block;
}

.admin-account-main small,
.admin-data-list small,
.admin-audit-list small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.65rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 950;
  white-space: nowrap;
}

.admin-status.is-active {
  color: #79efb7;
  background: rgba(36, 172, 115, 0.1);
}

.admin-status.is-warning {
  color: #ffd96b;
  background: rgba(255, 190, 54, 0.11);
}

.admin-status.is-danger {
  color: #ff8585;
  background: rgba(235, 65, 65, 0.12);
}

.admin-detail-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0.9rem 0;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.admin-detail-grid > section,
.admin-actions-zone {
  padding: 0.8rem;
  border: 1px solid rgba(125, 212, 255, 0.12);
  border-radius: 9px;
  background: rgba(6, 13, 35, 0.52);
}

.admin-detail-grid h4,
.admin-actions-zone h4 {
  margin: 0 0 0.65rem;
  color: #fff1a8;
}

.admin-data-list,
.admin-audit-list {
  display: grid;
  gap: 0.4rem;
}

.admin-data-list > div,
.admin-audit-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.7rem;
  padding: 0.58rem;
  border-radius: 7px;
  background: rgba(15, 29, 62, 0.58);
}

.admin-data-list > div > span:last-child,
.admin-audit-list > div > span:last-child {
  text-align: left;
  overflow-wrap: anywhere;
}

.admin-actions-zone {
  margin-top: 0.85rem;
}

.admin-action-form {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(150px, 0.7fr) minmax(220px, 1.4fr) auto;
  gap: 0.55rem;
  align-items: end;
  padding: 0.7rem;
  border-radius: 8px;
  background: rgba(17, 33, 68, 0.58);
}

.admin-action-form + .admin-action-form {
  margin-top: 0.6rem;
}

.admin-action-form label {
  font-size: 0.7rem;
  font-weight: 900;
}

.admin-action-form input,
.admin-action-form select {
  min-height: 2.45rem;
}

.admin-form-help {
  grid-column: 1 / -1;
  margin: 0;
  color: #86b7cb;
  font-size: 0.72rem;
  font-weight: 750;
}

.admin-protected-box,
.admin-empty-state {
  display: grid;
  place-items: center;
  min-height: 11rem;
  padding: 1rem;
  color: var(--muted);
  text-align: center;
}

.admin-protected-box {
  min-height: 0;
  place-items: start;
  border: 1px solid rgba(255, 219, 98, 0.26);
  border-radius: 8px;
  color: #ffe98e;
  background: rgba(255, 199, 46, 0.07);
  text-align: right;
}

.admin-protected-box span,
.admin-empty-state span {
  margin-top: 0.28rem;
  font-size: 0.8rem;
}

.admin-empty-state.compact {
  min-height: 4rem;
}

.admin-audit-panel {
  overflow: hidden;
}

.admin-audit-list {
  max-height: 30rem;
  overflow: auto;
}

.admin-payments-panel {
  overflow: hidden;
}

.admin-payment-filters {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(130px, 0.8fr) minmax(130px, 0.8fr) minmax(220px, 1.3fr) auto auto;
  gap: 0.6rem;
  align-items: end;
  margin-bottom: 0.75rem;
}

.admin-payment-filters label {
  font-size: 0.7rem;
  font-weight: 900;
}

.admin-payment-filters input,
.admin-payment-filters select {
  min-height: 2.45rem;
}

.admin-payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.admin-payment-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.admin-payment-list {
  display: grid;
  gap: 0.48rem;
  max-height: 34rem;
  overflow: auto;
}

.admin-payment-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.85fr) minmax(150px, 1.05fr) minmax(110px, 0.8fr) auto minmax(150px, 1.05fr) minmax(110px, 0.8fr) minmax(120px, 0.8fr);
  gap: 0.7rem;
  align-items: center;
  padding: 0.68rem;
  border: 1px solid rgba(125, 212, 255, 0.12);
  border-radius: 9px;
  background: rgba(15, 29, 62, 0.58);
}

.admin-crypto-row {
  grid-template-columns: minmax(100px, 0.8fr) minmax(150px, 1fr) minmax(105px, 0.75fr) minmax(100px, 0.8fr) minmax(150px, 1fr) auto minmax(140px, 0.9fr);
}

.admin-payment-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-payment-row strong,
.admin-payment-row small {
  display: block;
}

.admin-payment-row small {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.payment-penalty {
  padding: 0.42rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.payment-penalty.is-active {
  border-color: rgba(255, 93, 110, 0.42);
  background: rgba(255, 93, 110, 0.14);
}

.payment-penalty.is-active strong {
  color: #ffb8c0;
}

.admin-crypto-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  align-items: center;
}

.admin-crypto-actions .btn {
  min-height: 2rem;
  padding: 0.46rem 0.62rem;
  font-size: 0.75rem;
}

.admin-crypto-actions .btn:disabled {
  cursor: var(--cursor-normal);
  filter: grayscale(1);
  opacity: 0.42;
}

.admin-voucher-panel {
  border-color: rgba(255, 202, 78, 0.24);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 190, 55, 0.09), transparent 26rem),
    var(--panel);
}

.admin-voucher-list {
  display: grid;
  gap: 0.62rem;
  max-height: 42rem;
  overflow: auto;
  padding-right: 0.2rem;
}

.admin-voucher-row {
  padding: 0.78rem;
  border: 1px solid rgba(141, 184, 255, 0.14);
  border-radius: 12px;
  background: rgba(10, 25, 56, 0.66);
}

.admin-voucher-row-main {
  display: grid;
  grid-template-columns: minmax(165px, 1.2fr) minmax(100px, 0.8fr) 90px 90px 90px auto;
  gap: 0.65rem;
  align-items: center;
}

.admin-voucher-row-main > span {
  min-width: 0;
}

.admin-voucher-row-main small,
.admin-voucher-row-main strong {
  display: block;
}

.admin-voucher-row-main small {
  color: var(--muted);
  font-size: 0.61rem;
  text-transform: uppercase;
}

.admin-voucher-row-main strong {
  overflow-wrap: anywhere;
  color: #f2f6ff;
  font-size: 0.76rem;
}

.admin-voucher-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.58rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #9eacc1;
  font-size: 0.66rem;
}

.admin-voucher-row-meta strong {
  color: #dbe6f7;
}

.admin-voucher-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.admin-voucher-actions .btn {
  min-height: 2rem;
  padding: 0.46rem 0.62rem;
  font-size: 0.7rem;
}

.admin-voucher-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-category-panel {
  grid-column: span 2;
}

.admin-category-panel .panel-card-head {
  margin-bottom: 0.8rem;
}

.admin-category-create,
.admin-category-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr) minmax(180px, 1.35fr) 96px 144px 138px auto auto;
  gap: 0.6rem;
  align-items: end;
  padding: 0.85rem;
  border: 1px solid rgba(77, 201, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(77, 201, 255, 0.07), rgba(255, 178, 46, 0.05)),
    rgba(8, 16, 43, 0.76);
}

.admin-category-row {
  grid-template-columns: 42px minmax(140px, 1fr) minmax(140px, 1fr) minmax(170px, 1.25fr) 84px 138px 128px 104px minmax(150px, 0.9fr);
  align-items: center;
}

.admin-category-create label,
.admin-category-row label {
  display: grid;
  gap: 0.25rem;
  color: #dff7ff;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-category-create input,
.admin-category-create select,
.admin-category-row input,
.admin-category-row select {
  min-height: 2.35rem;
}

.admin-category-list {
  display: grid;
  gap: 0.72rem;
  margin-top: 0.85rem;
}

.admin-category-icon {
  width: 2.45rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 230, 109, 0.32);
  border-radius: 8px;
  background: rgba(3, 9, 26, 0.58);
}

.admin-category-icon img {
  width: 1.85rem;
  height: 1.85rem;
  object-fit: contain;
}

.admin-check {
  min-height: 2.35rem;
  display: inline-flex !important;
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
  gap: 0.42rem !important;
  padding: 0.45rem 0.62rem;
  border: 1px solid rgba(255, 230, 109, 0.2);
  border-radius: 8px;
  color: #fff8dd !important;
  text-transform: none !important;
  background: rgba(255, 255, 255, 0.04);
}

.admin-check input {
  min-height: auto;
  width: 1rem;
  height: 1rem;
}

.admin-category-stats {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1.45;
}

.admin-category-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
}

.admin-category-actions .btn,
.admin-category-create .btn,
.admin-category-row > .btn {
  width: 100%;
  justify-content: center;
}

.admin-category-actions select {
  width: 100%;
}

.small-field {
  max-width: 96px;
}

@keyframes energySlide {
  from { background-position: 0 0, 0 0; }
  to { background-position: 260px 0, -260px 0; }
}

@keyframes statusPulse {
  0%, 100% { transform: scale(0.88); opacity: 0.78; }
  50% { transform: scale(1.08); opacity: 1; }
}

@media (max-width: 1020px) {
  .classic-forum-toolbar,
  .classic-board-heading,
  .classic-topic-head,
  .classic-forum-filter,
  .forum-create-grid,
  .admin-category-create,
  .admin-category-row,
  .classic-forum-board-row,
  .classic-thread-row,
  .classic-post {
    display: grid;
    grid-template-columns: 1fr;
  }

  .classic-forum-head {
    display: none;
  }

  .classic-forum-stats {
    justify-content: flex-start;
  }

  .classic-thread-author,
  .classic-forum-number,
  .classic-forum-last {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
  }

  .classic-thread-author::before,
  .classic-forum-number::before,
  .classic-forum-last::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
  }

  .classic-forum-last {
    display: grid;
    grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
  }

  .classic-forum-last strong,
  .classic-forum-last small {
    grid-column: 2;
  }

  .classic-post-author {
    justify-items: start;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 230, 109, 0.18);
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .staff-panel {
    grid-column: auto;
  }

  .admin-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-workspace,
  .admin-detail-grid,
  .admin-payment-filters,
  .admin-payment-row,
  .admin-voucher-row-main {
    grid-template-columns: 1fr;
  }

  .admin-account-results {
    max-height: 24rem;
  }

  .admin-action-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-action-form .btn,
  .admin-form-wide {
    grid-column: span 2;
  }

  .admin-category-panel {
    grid-column: auto;
  }

  .admin-category-icon {
    justify-self: start;
  }

  .account-panel-card {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .classic-thread-title,
  .classic-forum-section-title {
    grid-template-columns: 1fr;
    display: grid;
  }

  .classic-forum-stats {
    display: grid;
    justify-content: stretch;
  }

  .live-status-strip {
    grid-template-columns: auto 1fr;
  }

  .live-status-strip > div {
    grid-column: 2;
  }

  .launch-countdown-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .character-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-command-header,
  .admin-card-head,
  .admin-detail-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-metrics,
  .admin-detail-stats,
  .admin-payment-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-search,
  .admin-action-form,
  .admin-account-row,
  .admin-payment-filters,
  .admin-payment-summary,
  .admin-payment-row,
  .admin-voucher-row-main {
    grid-template-columns: 1fr;
  }

  .admin-voucher-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-voucher-actions .btn {
    width: 100%;
  }

  .admin-action-form .btn,
  .admin-form-wide {
    grid-column: auto;
  }

  .admin-account-row > span:not(.admin-account-main) {
    justify-self: start;
  }

  .admin-account-main {
    grid-column: auto;
  }

  .admin-data-list > div,
  .admin-audit-list > div {
    grid-template-columns: 1fr;
  }

  .admin-data-list > div > span:last-child,
  .admin-audit-list > div > span:last-child {
    text-align: right;
  }
}

/* Final responsive layer. Keep this last so it wins over the launch redesign. */
.nav-toggle {
  display: none;
}

@media (max-width: 900px) {
  .topbar {
    position: sticky;
    top: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.65rem;
    padding-top: max(0.65rem, env(safe-area-inset-top));
    padding-right: max(0.75rem, env(safe-area-inset-right));
    padding-bottom: 0.65rem;
    padding-left: max(0.75rem, env(safe-area-inset-left));
  }

  .topbar .brand {
    min-width: 0;
  }

  .topbar .server-time {
    grid-column: auto;
    justify-content: center;
    justify-self: end;
    width: auto;
    min-height: 2.35rem;
    padding-inline: 0.52rem;
    font-size: 0.72rem;
  }

  .nav-toggle {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 5.9rem;
    min-height: 2.85rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(255, 230, 109, 0.55);
    border-radius: 9px;
    color: #fff8dd;
    background: rgba(8, 14, 42, 0.82);
    font-weight: 900;
  }

  .nav-toggle-bars {
    display: grid;
    gap: 0.22rem;
    width: 1.15rem;
  }

  .nav-toggle-bars i {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #ffe66d;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .topbar.nav-open .nav-toggle-bars i:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .topbar.nav-open .nav-toggle-bars i:nth-child(2) {
    opacity: 0;
  }

  .topbar.nav-open .nav-toggle-bars i:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .topbar .nav,
  .topbar .account-actions {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
  }

  .topbar.nav-open .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.55rem;
    overflow: visible;
    border: 1px solid rgba(255, 230, 109, 0.22);
    border-radius: 12px;
    background: rgba(5, 10, 31, 0.88);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
  }

  .topbar .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.85rem;
    padding: 0.65rem 0.5rem;
    text-align: center;
    white-space: normal;
  }

  .topbar.nav-open .account-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    align-items: stretch;
  }

  .topbar .account-actions .btn,
  .topbar .signed-in-label {
    width: 100%;
    min-height: 2.85rem;
  }

  .topbar .signed-in-label {
    grid-column: 1 / -1;
    justify-content: center;
  }

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

@media (max-width: 720px) {
  .page-shell,
  .hero-content {
    width: calc(100% - 1.25rem);
  }

  .vote-podium-panel {
    padding: 0.85rem 0.55rem;
    border-radius: 13px;
  }

  .vote-podium-heading {
    align-items: start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .vote-podium-heading p {
    max-width: none;
    text-align: left;
  }

  .vote-podium-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    width: min(100%, 480px);
    margin-top: 0.9rem;
  }

  .vote-podium-place.place-1 {
    order: 1;
  }

  .vote-podium-place.place-2 {
    order: 2;
  }

  .vote-podium-place.place-3 {
    order: 3;
  }

  .vote-podium-place {
    grid-template-columns: 2.15rem minmax(0, 1fr);
    align-items: center;
    align-content: normal;
    justify-items: stretch;
  }

  .vote-podium-medal {
    width: 2.15rem;
    margin: 0 -0.45rem 0 0;
  }

  .vote-podium-stat,
  .vote-podium-place.place-1 .vote-podium-stat {
    min-height: 0;
    place-items: start;
    padding: 0.7rem 0.6rem 0.65rem 1rem;
    border-radius: 10px 10px 5px 5px;
    text-align: left;
  }

  .vote-podium-detail {
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .vote-podium-note {
    padding-inline: 0.4rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 2.4rem 0 2.7rem;
    gap: 1.5rem;
  }

  .hero-copy,
  .page-title,
  .feature-hero-copy,
  .feature-panel-copy {
    min-width: 0;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3rem);
    overflow-wrap: anywhere;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .eyebrow {
    font-size: 0.72rem;
  }

  .launch-badge {
    max-width: 100%;
    border-radius: 16px;
  }

  .launch-countdown-card {
    padding: 0.8rem;
    border-radius: 18px;
  }

  .launch-countdown-unit {
    padding: 0.75rem 0.35rem;
  }

  .launch-countdown-label {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

  .launch-date-pill {
    min-height: 2.6rem;
    padding: 0.55rem 0.8rem;
  }

  .live-status-strip {
    gap: 0.75rem;
    padding: 0.8rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin: 1.35rem 0;
  }

  .hero-actions .btn {
    min-width: 0;
  }

  .hero-art {
    min-height: 245px;
  }

  .shenron {
    width: min(290px, 78%);
    right: -1%;
  }

  .maple-saiyan-hero {
    width: min(118px, 34vw);
  }

  .page-hero {
    padding: 2.8rem 0 2rem;
  }

  .page-title h1,
  .feature-hero-copy h1,
  .section-header h2 {
    font-size: clamp(1.9rem, 9vw, 2.55rem);
    overflow-wrap: anywhere;
  }

  .feature-hero-grid {
    gap: 1.1rem;
  }

  .feature-hero-art {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .feature-tab-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    padding: 0.15rem 0.1rem 0.55rem;
    scroll-snap-type: x mandatory;
  }

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

  .feature-category-tab {
    flex: 0 0 min(11.5rem, 68vw);
    min-height: 4.8rem;
    scroll-snap-align: start;
  }

  .section {
    padding: 2.35rem 0;
  }

  .section-header {
    margin-bottom: 1rem;
  }

  .card {
    padding: 1rem;
  }

  .card.feature-category-tab {
    padding: 0.72rem 0.78rem;
  }

  .card.feature-category-panel {
    padding: 0.78rem;
  }

  .card.feature-card {
    padding: 0.72rem;
  }

  .ranking-filters {
    gap: 0.45rem;
  }

  .ranking-filters .tag {
    min-height: 2.75rem;
    padding: 0.55rem 0.75rem;
  }

  .table-head,
  .rank-row {
    width: 100%;
    grid-template-columns: 42px minmax(0, 1fr) 50px 62px;
    gap: 0.3rem;
    padding: 0.65rem 0.5rem;
  }

  .table-head {
    font-size: 0.66rem;
  }

  .rank-row strong,
  .rank-row span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .rank-badge {
    width: 1.9rem;
  }

  .table-head.vote-ranking-head,
  .rank-row.vote-ranking-row {
    grid-template-columns: 40px minmax(82px, 1fr) 58px minmax(86px, 0.9fr);
    gap: 0.28rem;
  }

  .vote-sort-button {
    gap: 0.15rem;
    line-height: 1.2;
  }

  .vote-sort-indicator {
    font-size: 0.65rem;
  }

  .panel-card-head,
  .character-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .character-list .character-card {
    grid-template-columns: 3.55rem minmax(0, 1fr);
  }

  .character-avatar {
    width: 3.55rem;
    height: 4.5rem;
  }

  .beta-prize-grid,
  .beta-prize-account-claim {
    grid-template-columns: 1fr;
  }

  .beta-prize-account-claim .btn {
    width: 100%;
  }

  .discord-preview-caption {
    position: static;
    margin-top: 0.3rem;
    padding: 0.75rem 0.7rem;
    border-radius: 0.75rem;
    background: rgba(8, 12, 28, 0.82);
  }

  .footer {
    padding: 1.7rem 0;
  }

  .footer .tag-row {
    gap: 0.45rem;
  }

  .footer .tag {
    min-height: 2.6rem;
    display: inline-flex;
    align-items: center;
  }

  .cookie-notice {
    right: max(0.625rem, env(safe-area-inset-right));
    bottom: max(0.625rem, env(safe-area-inset-bottom));
    width: calc(100% - 1.25rem);
    max-height: calc(100dvh - 1.25rem);
    overflow-y: auto;
  }
}

@media (max-width: 360px) {
  .brand-name {
    font-size: 0.95rem;
  }

  .nav-toggle {
    min-width: 3rem;
    padding-inline: 0.65rem;
  }

  .nav-toggle > span:last-child {
    display: none;
  }

  .topbar.nav-open .nav,
  .topbar.nav-open .account-actions,
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .launch-countdown-grid {
    gap: 0.5rem;
  }

  .vote-podium-heading h3 {
    font-size: 1.25rem;
  }

  .vote-podium-label {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
  }

  .vote-podium-count {
    font-size: 1.45rem;
  }

  .vote-podium-medal {
    width: 2rem;
    border-width: 2px;
  }

  .table-head,
  .rank-row {
    grid-template-columns: 36px minmax(0, 1fr) 44px 54px;
    padding-inline: 0.35rem;
  }

  .table-head.vote-ranking-head,
  .rank-row.vote-ranking-row {
    grid-template-columns: 36px minmax(72px, 1fr) 52px minmax(76px, 0.9fr);
  }
}

@media (max-width: 640px) {
  .topbar .notification-center {
    width: 100%;
  }

  .topbar .notification-bell {
    width: 100%;
  }

  .topbar .notification-panel {
    position: static;
    width: 100%;
    margin-top: 0.7rem;
  }
}
