/* Genshin Impact — Teyvat night sky, celestial gold, parchment cream */
:root {
  --bg: #0d1222;
  --bg-2: #18213c;
  --surface: rgba(22, 30, 54, .72);
  --surface-2: rgba(36, 46, 76, .72);
  --surface-solid: #161e36;
  --border: rgba(211, 188, 142, .16);
  --border-strong: rgba(211, 188, 142, .32);
  --text: #ece5d8;
  --text-2: #bdb5a6;
  --text-3: #8d887f;
  --accent: #e3c78e;
  --accent-2: #8fc3ff;
  --accent-ink: #1f1a12;
  --glow: rgba(227, 199, 142, .38);
  --font-display: "Cinzel", Georgia, serif;
  --display-weight: 700;
  --display-spacing: .01em;
  --radius: 12px;
  --radius-lg: 18px;
}
.theme-genshin .fx-gradient {
  background:
    radial-gradient(60% 45% at 80% 0%, rgba(143, 195, 255, .22), transparent 70%),
    radial-gradient(50% 40% at 10% 10%, rgba(227, 199, 142, .16), transparent 70%),
    radial-gradient(90% 60% at 50% 120%, rgba(60, 90, 170, .35), transparent 70%),
    linear-gradient(180deg, #1a2444 0%, #0f1628 45%, #0d1222 100%);
}
/* Genshin buttons: cream pill with dark ink + gold ring */
.theme-genshin .btn-primary {
  --btn-bg: linear-gradient(180deg, #f3ecdf, #e2d6bf);
  --btn-fg: #3b4254;
  box-shadow: 0 0 0 2px rgba(0,0,0,.35), 0 0 0 3px rgba(227,199,142,.55), 0 12px 30px -10px var(--glow);
}
.theme-genshin .btn-primary::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle, #f6c341 38%, #3b4254 42%, #3b4254 60%, transparent 62%); flex: none; }
.theme-genshin .panel, .theme-genshin .team-card { background: linear-gradient(180deg, rgba(30, 40, 70, .78), rgba(20, 27, 48, .78)); }
/* ornamental corners on panels */
.theme-genshin .panel::before, .theme-genshin .panel::after {
  content: ""; position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--accent); opacity: .55; pointer-events: none;
}
.theme-genshin .panel::before { top: 7px; left: 7px; border-right: 0; border-bottom: 0; border-top-left-radius: 4px; }
.theme-genshin .panel::after { bottom: 7px; right: 7px; border-left: 0; border-top: 0; border-bottom-right-radius: 4px; }
.theme-genshin .kicker::before { width: 8px; height: 8px; transform: rotate(45deg); border-radius: 1px; background: var(--accent); }
.theme-genshin .kicker::after { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }
.theme-genshin .section-title { background: linear-gradient(180deg, #fff6e2, #d8bd86); -webkit-background-clip: text; background-clip: text; color: transparent; }
.theme-genshin .hero-name, .theme-genshin .char-name { background: linear-gradient(180deg, #fffaf0 30%, #e3c78e); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 30px rgba(0,0,0,.5)); text-shadow: none; }
.theme-genshin .char-card { border-radius: 10px 10px 30px 10px; }
.theme-genshin .char-card-name { font-family: var(--font-display); }
.theme-genshin .tier-label { border-right: 2px solid rgba(227,199,142,.4); }
.theme-genshin .sticky-tabs a.is-active::after { background: linear-gradient(90deg, transparent, var(--accent), transparent); }
