@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
.theme-toggle[data-v-1ca35cc8] {
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid var(--luna-border);
  border-radius: 11px;
  background: var(--luna-control-bg);
  color: var(--luna-text-secondary);
  cursor: pointer;
  box-shadow: var(--luna-control-shadow);
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}
.theme-toggle[data-v-1ca35cc8]:hover {
  border-color: rgba(255, 64, 129, 0.52);
  color: var(--luna-pink);
  background: var(--luna-control-hover);
}
.theme-toggle[data-v-1ca35cc8]:active {
  transform: scale(0.94);
}
.theme-toggle span[data-v-1ca35cc8] {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.luna-topbar[data-v-bc245f98] {
  position: relative;
  z-index: 40;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 10px;
  background: linear-gradient(180deg, rgba(7, 5, 16, 0.98), rgba(7, 5, 16, 0.84));
}
.explore-topbar[data-v-bc245f98] {
  min-height: 98px;
  align-items: flex-start;
  padding-top: 13px;
}
.luna-topbar[data-v-bc245f98]::after {
  position: absolute;
  right: 18%;
  bottom: 0;
  left: 18%;
  height: 1px;
  content: '';
  background: linear-gradient(90deg, transparent, rgba(255, 72, 166, 0.2), transparent);
}
.topbar-brand[data-v-bc245f98] {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
}
.explore-brand[data-v-bc245f98] {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.luna-logo[data-v-bc245f98] {
  display: block;
  width: 142px;
  height: 53px;
  margin: -5px 0 -2px -8px;
  overflow: visible;
  filter: drop-shadow(0 0 10px rgba(255, 75, 171, 0.18));
}
.brand-tagline[data-v-bc245f98] {
  color: rgba(226, 217, 233, 0.62);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.topbar-brand h1[data-v-bc245f98] {
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 7vw, 32px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  text-overflow: ellipsis;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}
.brand-sparkle[data-v-bc245f98] {
  color: #ff5baa;
  font-size: 22px;
  filter: drop-shadow(0 0 8px rgba(255, 62, 157, 0.9));
  transform: translateY(-7px);
}
.wallet-group[data-v-bc245f98] {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}
.wallet-group[data-v-bc245f98] .theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 0;
}
.search-button[data-v-bc245f98] {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 0;
  border: 1px solid rgba(221, 100, 255, 0.25);
  border-radius: 50%;
  place-items: center;
  background: linear-gradient(145deg, rgba(49, 28, 68, 0.96), rgba(25, 15, 39, 0.96));
  color: #f5eff8;
  cursor: pointer;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 10px 28px rgba(0, 0, 0, 0.24);
}
html[data-theme='light'] .luna-topbar {
  border-bottom: 1px solid rgba(104, 72, 118, 0.08);
  background: linear-gradient(180deg, rgba(248, 243, 250, 0.98), rgba(239, 232, 243, 0.94));
  box-shadow: 0 8px 24px rgba(55, 34, 65, 0.05);
}
html[data-theme='light'] .topbar-brand h1 {
  color: var(--luna-text);
  text-shadow: none;
}
html[data-theme='light'] .brand-tagline {
  color: #756a7c;
}
html[data-theme='light'] .wallet-pill {
  border-color: rgba(131, 92, 148, 0.18);
  background: rgba(250, 247, 251, 0.94);
  box-shadow: 0 8px 24px rgba(69, 39, 83, 0.1);
}
html[data-theme='light'] .wallet-value {
  color: var(--luna-text);
}
html[data-theme='light'] .search-button {
  border-color: rgba(131, 92, 148, 0.18);
  background: rgba(250, 247, 251, 0.94);
  color: #4e4257;
  box-shadow: 0 8px 24px rgba(69, 39, 83, 0.1);
}
.wallet-pill[data-v-bc245f98] {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 7px;
  padding: 4px 6px 4px 5px;
  border: 1px solid rgba(221, 100, 255, 0.28);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(49, 28, 68, 0.96), rgba(25, 15, 39, 0.96));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.24);
}
.wallet-icon[data-v-bc245f98],
.wallet-add[data-v-bc245f98] {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
}
.coin-icon[data-v-bc245f98] {
  border: 1px solid #ffd95a;
  background: linear-gradient(145deg, #ffd83d, #f7aa16);
  color: #241400;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(255, 187, 30, 0.42);
}
.wallet-value[data-v-bc245f98] {
  min-width: 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}
.wallet-add[data-v-bc245f98] {
  border: 0;
  background: linear-gradient(145deg, #ff62b3, #e93692);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 13px rgba(255, 55, 151, 0.35);
  transition:
    transform 160ms ease,
    filter 160ms ease;
}
.wallet-add[data-v-bc245f98]:active {
  transform: scale(0.88);
}
.api-button[data-v-bc245f98] {
  border: 0;
  background: transparent;
  color: #70adff;
}
@media (max-width: 370px) {
.luna-topbar[data-v-bc245f98] {
    min-height: 70px;
    padding-inline: 12px;
}
.wallet-group[data-v-bc245f98] {
    gap: 5px;
}
.luna-logo[data-v-bc245f98] {
    width: 118px;
}
.brand-tagline[data-v-bc245f98] {
    font-size: 9px;
}
.wallet-pill[data-v-bc245f98] {
    height: 38px;
    gap: 4px;
}
.wallet-icon[data-v-bc245f98],
  .wallet-add[data-v-bc245f98] {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
}
.wallet-value[data-v-bc245f98] {
    font-size: 12px;
}
.search-button[data-v-bc245f98],
  .wallet-group[data-v-bc245f98] .theme-toggle {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
}
}

.bottom-nav[data-v-6f27b183] {
  position: absolute;
  z-index: 80;
  right: 18px;
  bottom: max(14px, env(safe-area-inset-bottom));
  left: 18px;
  display: grid;
  height: 72px;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(202, 113, 240, 0.25);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(34, 20, 48, 0.93), rgba(19, 13, 31, 0.96));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.06),
    0 18px 55px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(255, 54, 149, 0.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.nav-button[data-v-6f27b183],
.create-button[data-v-6f27b183] {
  position: relative;
  display: grid;
  border: 0;
  place-items: center;
  background: transparent;
  color: #9b9aaf;
  cursor: pointer;
  transition:
    color 180ms ease,
    transform 180ms ease;
}
.nav-button[data-v-6f27b183] {
  width: 50px;
  height: 62px;
  justify-self: center;
  grid-template-rows: 29px 15px;
  align-content: center;
  gap: 1px;
}
.nav-button.active[data-v-6f27b183] {
  color: #ff4fa4;
  filter: drop-shadow(0 0 8px rgba(255, 62, 157, 0.48));
}
.nav-button[data-v-6f27b183]:active {
  transform: scale(0.88);
}
.active-dot[data-v-6f27b183] {
  position: absolute;
  bottom: 0;
  width: 23px;
  height: 3px;
  border-radius: 999px;
  opacity: 0;
  background: #ff4fa4;
  box-shadow: 0 0 10px rgba(255, 62, 157, 0.8);
  transition: opacity 180ms ease;
}
.nav-label[data-v-6f27b183] {
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.02em;
  line-height: 1;
}
.nav-button.active .active-dot[data-v-6f27b183] {
  opacity: 1;
}
.create-button[data-v-6f27b183] {
  width: 62px;
  height: 62px;
  justify-self: center;
  border: 1px solid rgba(255, 145, 204, 0.42);
  border-radius: 20px;
  background: linear-gradient(145deg, #ff58aa, #f42d83);
  color: white;
  box-shadow:
    0 12px 32px rgba(246, 42, 128, 0.42),
    inset 0 1px rgba(255, 255, 255, 0.28);
}
.create-button[data-v-6f27b183]:active {
  transform: scale(0.9);
}
@media (max-width: 360px) {
.bottom-nav[data-v-6f27b183] {
    right: 10px;
    left: 10px;
}
}

.create-menu-layer[data-v-bbf5dce0] {
  position: absolute;
  z-index: 75;
  inset: 0;
}
.menu-backdrop[data-v-bbf5dce0] {
  position: absolute;
  border: 0;
  inset: 0;
  background: rgba(3, 2, 10, 0.78);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.create-menu-panel[data-v-bbf5dce0] {
  position: absolute;
  right: 50%;
  bottom: 100px;
  width: min(286px, calc(100% - 56px));
  overflow: hidden;
  border: 1px solid rgba(231, 139, 255, 0.3);
  border-radius: 25px;
  background: linear-gradient(155deg, rgba(42, 27, 59, 0.98), rgba(20, 15, 34, 0.99));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.06),
    0 28px 80px rgba(0, 0, 0, 0.62),
    0 0 32px rgba(255, 52, 149, 0.16);
  transform: translateX(50%);
  transform-origin: bottom center;
  animation: menu-enter-bbf5dce0 180ms ease-out both;
}
.menu-row[data-v-bbf5dce0] {
  position: relative;
  display: flex;
  width: calc(100% - 36px);
  height: 72px;
  align-items: center;
  gap: 20px;
  margin: 0 18px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 19px;
  font-weight: 800;
  text-align: left;
  transition:
    background 160ms ease,
    transform 160ms ease;
}
.menu-row.last[data-v-bbf5dce0] {
  border-bottom: 0;
}
.menu-row[data-v-bbf5dce0]:hover {
  background: rgba(255, 70, 163, 0.06);
}
.menu-row[data-v-bbf5dce0]:active {
  transform: scale(0.97);
}
.menu-icon[data-v-bbf5dce0] {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
}
.menu-icon.pink[data-v-bbf5dce0] {
  color: #ff5aaa;
  filter: drop-shadow(0 0 8px rgba(255, 72, 166, 0.35));
}
.menu-icon.blue[data-v-bbf5dce0] {
  color: #63a8ff;
  filter: drop-shadow(0 0 8px rgba(74, 145, 255, 0.28));
}
.panel-glow[data-v-bbf5dce0] {
  position: absolute;
  right: 22%;
  left: 22%;
  z-index: 2;
  height: 1px;
  pointer-events: none;
  background: #ff65b1;
  box-shadow: 0 0 13px 2px rgba(255, 76, 169, 0.75);
}
.panel-glow.top[data-v-bbf5dce0] {
  top: 0;
}
.panel-glow.bottom[data-v-bbf5dce0] {
  bottom: 0;
}
@keyframes menu-enter-bbf5dce0 {
from {
    opacity: 0;
    transform: translateX(50%) translateY(18px) scale(0.96);
}
to {
    opacity: 1;
    transform: translateX(50%) translateY(0) scale(1);
}
}

.delete-confirm-overlay[data-v-475354fc] {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: max(20px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(5, 2, 10, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.delete-confirm-dialog[data-v-475354fc] {
  position: relative;
  width: min(100%, 420px);
  padding: 28px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 51, 125, 0.13), transparent 45%),
    linear-gradient(155deg, #211729 0%, #17101f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 65, 134, 0.06) inset;
}
.delete-confirm-close[data-v-475354fc] {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #8c8496;
  background: rgba(255, 255, 255, 0.04);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}
.delete-confirm-close[data-v-475354fc]:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}
.delete-confirm-icon[data-v-475354fc] {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #ff5f7d;
  background: rgba(255, 70, 111, 0.12);
  border: 1px solid rgba(255, 95, 125, 0.18);
  border-radius: 17px;
}
.delete-confirm-title[data-v-475354fc] {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.delete-confirm-message[data-v-475354fc] {
  margin: 8px 0 20px;
  color: #aaa1b4;
  font-size: 14px;
  line-height: 1.65;
}
.delete-character-preview[data-v-475354fc] {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 12px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 15px;
}
.delete-character-preview img[data-v-475354fc] {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  object-fit: cover;
  border-radius: 12px;
}
.delete-character-preview div[data-v-475354fc] {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}
.delete-character-preview strong[data-v-475354fc] {
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.delete-character-preview span[data-v-475354fc] {
  color: #776f82;
  font-size: 11px;
  line-height: 1.45;
}
.delete-confirm-actions[data-v-475354fc] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 12px;
}
.delete-confirm-button[data-v-475354fc] {
  display: inline-flex;
  min-width: 0;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease;
}
.delete-confirm-button > span[data-v-475354fc] {
  display: inline-block;
  line-height: 1;
}
.delete-confirm-button[data-v-475354fc]:hover {
  transform: translateY(-1px);
}
.delete-confirm-button[data-v-475354fc]:active {
  transform: translateY(0);
}
.delete-confirm-button[data-v-475354fc]:focus-visible,
.delete-confirm-close[data-v-475354fc]:focus-visible {
  outline: 2px solid #ff4b91;
  outline-offset: 3px;
}
.delete-confirm-cancel[data-v-475354fc] {
  color: #d4cedb;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
}
.delete-confirm-cancel[data-v-475354fc]:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}
.delete-confirm-danger[data-v-475354fc] {
  color: #fff;
  background: linear-gradient(135deg, #ff3f7f 0%, #f2085f 100%);
  border: 1px solid rgba(255, 114, 159, 0.45);
  box-shadow: 0 9px 24px rgba(242, 8, 95, 0.28);
}
.delete-confirm-danger[data-v-475354fc]:hover {
  box-shadow: 0 12px 28px rgba(242, 8, 95, 0.38);
}
.delete-confirm-enter-active[data-v-475354fc],
.delete-confirm-leave-active[data-v-475354fc] {
  transition: opacity 180ms ease;
}
.delete-confirm-enter-active .delete-confirm-dialog[data-v-475354fc],
.delete-confirm-leave-active .delete-confirm-dialog[data-v-475354fc] {
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}
.delete-confirm-enter-from[data-v-475354fc],
.delete-confirm-leave-to[data-v-475354fc] {
  opacity: 0;
}
.delete-confirm-enter-from .delete-confirm-dialog[data-v-475354fc],
.delete-confirm-leave-to .delete-confirm-dialog[data-v-475354fc] {
  opacity: 0;
  transform: translateY(12px) scale(0.97);
}
@media (max-width: 420px) {
.delete-confirm-dialog[data-v-475354fc] {
    padding: 24px 20px 20px;
    border-radius: 21px;
}
.delete-confirm-actions[data-v-475354fc] {
    grid-template-columns: 1fr;
}
.delete-confirm-danger[data-v-475354fc] {
    grid-row: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.delete-confirm-enter-active[data-v-475354fc],
  .delete-confirm-leave-active[data-v-475354fc],
  .delete-confirm-enter-active .delete-confirm-dialog[data-v-475354fc],
  .delete-confirm-leave-active .delete-confirm-dialog[data-v-475354fc],
  .delete-confirm-button[data-v-475354fc] {
    transition: none;
}
}

.luna-shell[data-v-0ba3a08c] {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background:
    radial-gradient(circle at 82% 13%, rgba(103, 27, 111, 0.08), transparent 30%),
    radial-gradient(circle at 16% 74%, rgba(168, 25, 112, 0.07), transparent 34%), #070510;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.5);
}
html[data-theme='light'] .luna-shell {
  background:
    radial-gradient(circle at 82% 13%, rgba(255, 79, 164, 0.08), transparent 30%),
    radial-gradient(circle at 16% 74%, rgba(168, 100, 255, 0.08), transparent 34%), #eee8f2;
  box-shadow: 0 0 80px rgba(58, 35, 72, 0.1);
}
.luna-main[data-v-0ba3a08c] {
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}
.no-scrollbar[data-v-0ba3a08c] {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.no-scrollbar[data-v-0ba3a08c]::-webkit-scrollbar {
  display: none;
}
/* stylelint-disable */
html,
body {
  width: 100%;
  height: 100%;
}
input::-ms-clear,
input::-ms-reveal {
  display: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
@-ms-viewport {
  width: device-width;
}
body {
  margin: 0;
}
[tabindex='-1']:focus {
  outline: none;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 500;
}
p {
  margin-top: 0;
  margin-bottom: 1em;
}
abbr[title],
abbr[data-original-title] {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline;
  text-decoration: underline dotted;
  border-bottom: 0;
  cursor: help;
}
address {
  margin-bottom: 1em;
  font-style: normal;
  line-height: inherit;
}
input[type='text'],
input[type='password'],
input[type='number'],
textarea {
  -webkit-appearance: none;
}
ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1em;
}
ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}
dt {
  font-weight: 500;
}
dd {
  margin-bottom: 0.5em;
  margin-left: 0;
}
blockquote {
  margin: 0 0 1em;
}
dfn {
  font-style: italic;
}
b,
strong {
  font-weight: bolder;
}
small {
  font-size: 80%;
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
pre,
code,
kbd,
samp {
  font-size: 1em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}
pre {
  margin-top: 0;
  margin-bottom: 1em;
  overflow: auto;
}
figure {
  margin: 0 0 1em;
}
img {
  vertical-align: middle;
  border-style: none;
}
a,
area,
button,
[role='button'],
input:not([type='range']),
label,
select,
summary,
textarea {
  touch-action: manipulation;
}
table {
  border-collapse: collapse;
}
caption {
  padding-top: 0.75em;
  padding-bottom: 0.3em;
  text-align: left;
  caption-side: bottom;
}
input,
button,
select,
optgroup,
textarea {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html [type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  padding: 0;
  border-style: none;
}
input[type='radio'],
input[type='checkbox'] {
  box-sizing: border-box;
  padding: 0;
}
input[type='date'],
input[type='time'],
input[type='datetime-local'],
input[type='month'] {
  -webkit-appearance: listbox;
}
textarea {
  overflow: auto;
  resize: vertical;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
legend {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.5em;
  padding: 0;
  color: inherit;
  font-size: 1.5em;
  line-height: inherit;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}
[type='search'] {
  outline-offset: -2px;
  -webkit-appearance: none;
}
[type='search']::-webkit-search-cancel-button,
[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}
output {
  display: inline-block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none !important;
}
mark {
  padding: 0.2em;
  background-color: #feffe6;
}


/* Global styles for Luna Vue 3 App */
/* ============================================
   Tailwind CSS Configuration
   ============================================
   Tailwind CSS is loaded via CDN in index.html
   This provides utility classes for custom styling
   alongside Ant Design Vue components.
   
   In production, consider using PostCSS with Tailwind
   for better optimization and tree-shaking.
   ============================================ */
/* ============================================
   Base Styles
   ============================================ */
body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: #070510;
  color: white;
  -webkit-tap-highlight-color: transparent;
  margin: 0;
  padding: 0;
}
/* ============================================
   Custom Utility Classes
   ============================================ */
/* Gradient background utility - primary pink/magenta gradient */
.gradient-bg {
  background: linear-gradient(135deg, #ff4081, #f50057);
}
/* Glass panel effect for cards and overlays */
.glass-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
/* Dark, compact scrollbar for all scrollable app surfaces */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}
*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
*::-webkit-scrollbar-track,
*::-webkit-scrollbar-corner {
  background: transparent;
}
*::-webkit-scrollbar-thumb {
  min-height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}
*::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 64, 129, 0.72);
}
*::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
/* Hide scrollbar utility */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
/* ============================================
   Ant Design Vue Dark Theme Overrides
   ============================================
   These styles complement the ConfigProvider theme
   configuration in App.vue for edge cases and
   additional customization.
   ============================================ */
/* Button Styles */
.ant-btn-primary {
  background: linear-gradient(135deg, #ff4081, #f50057) !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(255, 64, 129, 0.3);
}
.ant-btn-primary:hover,
.ant-btn-primary:focus {
  background: linear-gradient(135deg, #ff5a92, #ff1a6c) !important;
  box-shadow: 0 4px 12px rgba(255, 64, 129, 0.4);
}
.ant-btn-primary:active {
  background: linear-gradient(135deg, #e6396f, #d9004d) !important;
}
.ant-btn-default {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.85) !important;
}
.ant-btn-default:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: #ff4081 !important;
  color: #ff4081 !important;
}
/* Modal Styles */
.ant-modal-content {
  background-color: #1a1225 !important;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.ant-modal-header {
  background-color: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ant-modal-title {
  color: white !important;
}
.ant-modal-close {
  color: rgba(255, 255, 255, 0.6) !important;
}
.ant-modal-close:hover {
  color: white !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}
.ant-modal-body {
  color: rgba(255, 255, 255, 0.85);
}
.ant-modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Input Styles */
.ant-input {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
}
.ant-input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}
.ant-input:hover {
  border-color: rgba(255, 64, 129, 0.5) !important;
}
.ant-input:focus,
.ant-input-focused {
  border-color: #ff4081 !important;
  box-shadow: 0 0 0 2px rgba(255, 64, 129, 0.2) !important;
}
/* TextArea Styles */
.ant-input-textarea textarea {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
}
/* Select Styles */
.ant-select-selector {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
}
.ant-select:hover .ant-select-selector {
  border-color: rgba(255, 64, 129, 0.5) !important;
}
.ant-select-focused .ant-select-selector {
  border-color: #ff4081 !important;
  box-shadow: 0 0 0 2px rgba(255, 64, 129, 0.2) !important;
}
.ant-select-dropdown {
  background-color: #1a1225 !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.ant-select-item {
  color: rgba(255, 255, 255, 0.85) !important;
}
.ant-select-item-option-active {
  background-color: rgba(255, 64, 129, 0.15) !important;
}
.ant-select-item-option-selected {
  background-color: rgba(255, 64, 129, 0.25) !important;
  color: #ff4081 !important;
}
/* Card Styles */
.ant-card {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
.ant-card-head {
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
}
.ant-card-body {
  color: rgba(255, 255, 255, 0.85);
}
/* Tabs Styles */
.ant-tabs {
  color: rgba(255, 255, 255, 0.65);
}
.ant-tabs-tab {
  color: rgba(255, 255, 255, 0.65) !important;
}
.ant-tabs-tab:hover {
  color: rgba(255, 255, 255, 0.85) !important;
}
.ant-tabs-tab-active .ant-tabs-tab-btn {
  color: #ff4081 !important;
}
.ant-tabs-ink-bar {
  background: #ff4081 !important;
}
/* Menu Styles */
.ant-menu-dark {
  background: transparent !important;
}
.ant-menu-dark .ant-menu-item-selected {
  background-color: rgba(255, 64, 129, 0.15) !important;
}
/* Badge Styles */
.ant-badge-count {
  background: linear-gradient(135deg, #ff4081, #f50057);
  box-shadow: 0 2px 4px rgba(255, 64, 129, 0.3);
}
/* Message/Notification Styles */
.ant-message-notice-content {
  background-color: #1a1225 !important;
  color: white !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
.ant-notification-notice {
  background-color: #1a1225 !important;
  color: white !important;
}
/* Tooltip Styles */
.ant-tooltip-inner {
  background-color: #251a35 !important;
  color: white !important;
}
.ant-tooltip-arrow::before {
  background-color: #251a35 !important;
}
/* Popover Styles */
.ant-popover-inner {
  background-color: #1a1225 !important;
}
.ant-popover-title {
  color: white !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}
.ant-popover-inner-content {
  color: rgba(255, 255, 255, 0.85) !important;
}
/* Drawer Styles */
.ant-drawer-content {
  background-color: #1a1225 !important;
}
.ant-drawer-header {
  background-color: transparent !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}
.ant-drawer-title {
  color: white !important;
}
.ant-drawer-close {
  color: rgba(255, 255, 255, 0.6) !important;
}
/* Form Styles */
.ant-form-item-label > label {
  color: rgba(255, 255, 255, 0.85) !important;
}
.ant-form-item-explain-error {
  color: #ff4d4f !important;
}
/* Slider Styles */
.ant-slider-track {
  background-color: #ff4081 !important;
}
.ant-slider-handle {
  border-color: #ff4081 !important;
}
.ant-slider-handle:hover,
.ant-slider-handle:focus {
  border-color: #ff5a92 !important;
}
/* Switch Styles */
.ant-switch-checked {
  background: linear-gradient(135deg, #ff4081, #f50057) !important;
}
/* Progress Styles */
.ant-progress-bg {
  background: linear-gradient(135deg, #ff4081, #f50057) !important;
}
/* Spin Styles */
.ant-spin-dot-item {
  background-color: #ff4081 !important;
}
/* Empty State Styles */
.ant-empty-description {
  color: rgba(255, 255, 255, 0.45) !important;
}
/* Divider Styles */
.ant-divider {
  border-color: rgba(255, 255, 255, 0.1) !important;
}
/* Avatar Styles */
.ant-avatar {
  background-color: rgba(255, 64, 129, 0.2) !important;
  color: #ff4081 !important;
}
/* Tag Styles */
.ant-tag {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.85) !important;
}
/* Upload Styles */
.ant-upload-drag {
  background-color: rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}
.ant-upload-drag:hover {
  border-color: #ff4081 !important;
}
/* List Styles */
.ant-list-item {
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}
/* Table Styles (if needed) */
.ant-table {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.85) !important;
}
.ant-table-thead > tr > th {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}
.ant-table-tbody > tr > td {
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}
.ant-table-tbody > tr:hover > td {
  background-color: rgba(255, 64, 129, 0.08) !important;
}
/* ============================================
   Admin Console Layout Refinements
   ============================================ */
.admin-layout .ant-table-thead > tr > th {
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6) !important;
}
.admin-layout .ant-select-selector,
.admin-layout .ant-input {
  border-radius: 8px !important;
}
.admin-layout .ant-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px;
  box-sizing: border-box;
  border-radius: 8px !important;
  line-height: 1 !important;
  white-space: nowrap;
}
.admin-layout .ant-btn > span,
.admin-layout .ant-btn > svg {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin: 0;
  line-height: 1;
  vertical-align: middle;
}
/* Luna neon visual system */
:root {
  color-scheme: dark;
  --luna-bg: #070510;
  --luna-page-bg: #05030b;
  --luna-surface: #171020;
  --luna-surface-strong: #21162f;
  --luna-surface-soft: rgba(255, 255, 255, 0.05);
  --luna-pink: #ff4fa4;
  --luna-pink-soft: #ff78ba;
  --luna-purple: #a864ff;
  --luna-border: rgba(211, 113, 244, 0.24);
  --luna-border-soft: rgba(255, 255, 255, 0.08);
  --luna-text: #ffffff;
  --luna-text-secondary: rgba(255, 255, 255, 0.68);
  --luna-muted: #928c9d;
  --luna-control-bg: rgba(255, 255, 255, 0.05);
  --luna-control-hover: rgba(255, 255, 255, 0.1);
  --luna-control-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  --luna-shadow: 0 16px 44px rgba(0, 0, 0, 0.2);
}
html[data-theme='light'] {
  color-scheme: light;
  --luna-bg: #eee8f2;
  --luna-page-bg: #e8e1ed;
  --luna-surface: #faf7fb;
  --luna-surface-strong: #ece5f0;
  --luna-surface-soft: rgba(65, 43, 78, 0.045);
  --luna-border: rgba(106, 74, 121, 0.18);
  --luna-border-soft: rgba(56, 36, 68, 0.09);
  --luna-text: #251b2d;
  --luna-text-secondary: #655a6e;
  --luna-muted: #817686;
  --luna-control-bg: rgba(255, 255, 255, 0.9);
  --luna-control-hover: #ffffff;
  --luna-control-shadow: 0 4px 14px rgba(52, 32, 63, 0.07);
  --luna-shadow: 0 16px 42px rgba(54, 34, 65, 0.09);
}
html,
body,
#app {
  width: 100%;
  min-height: 100%;
}
html {
  background: var(--luna-page-bg);
}
body {
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(79, 23, 92, 0.16), transparent 36%), #05030b;
}
html[data-theme='light'] body {
  background: radial-gradient(circle at 50% 0%, rgba(255, 79, 164, 0.08), transparent 36%),
    var(--luna-page-bg) !important;
  color: var(--luna-text) !important;
}
button,
a,
input,
textarea,
select {
  font: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(255, 92, 176, 0.9);
  outline-offset: 2px;
}
::selection {
  background: rgba(255, 79, 164, 0.35);
  color: #fff;
}
/* ============================================
   Luna Light Theme Compatibility Layer
   Existing views predate theme tokens and use dark Tailwind utilities.
   These scoped overrides keep every current route readable while components
   progressively migrate to the variables above.
   ============================================ */
html[data-theme='light'] * {
  scrollbar-color: rgba(75, 52, 86, 0.25) transparent;
}
html[data-theme='light'] *::-webkit-scrollbar-thumb {
  background: rgba(75, 52, 86, 0.22);
}
html[data-theme='light'] [class*='bg-[#070510]'],
html[data-theme='light'] [class*='bg-[#0f0a17]'] {
  background-color: var(--luna-bg) !important;
}
html[data-theme='light'] [class*='bg-[#1a1324]'],
html[data-theme='light'] [class*='bg-[#1a1225]'],
html[data-theme='light'] [class*='bg-[#171020]'] {
  background-color: var(--luna-surface) !important;
}
html[data-theme='light'] [class*='bg-[#261a35]'],
html[data-theme='light'] [class*='bg-[#21162f]'] {
  background-color: var(--luna-surface-strong) !important;
}
html[data-theme='light'] .luna-shell [class~='text-white'],
html[data-theme='light'] .luna-shell [class*='text-white/'] {
  color: var(--luna-text) !important;
}
html[data-theme='light'] .luna-shell [class*='text-gray-2'],
html[data-theme='light'] .luna-shell [class*='text-gray-3'],
html[data-theme='light'] .luna-shell [class*='text-gray-4'],
html[data-theme='light'] .luna-shell [class*='text-gray-5'],
html[data-theme='light'] .luna-shell [class*='text-gray-6'] {
  color: var(--luna-text-secondary) !important;
}
html[data-theme='light'] .gradient-bg,
html[data-theme='light'] .wallet-add,
html[data-theme='light'] .create-button,
html[data-theme='light'] .promo-action,
html[data-theme='light'] .ant-btn-primary {
  color: #ffffff !important;
}
html[data-theme='light'] .bottom-nav {
  border-color: var(--luna-border) !important;
  background: rgba(248, 243, 250, 0.96) !important;
  box-shadow: 0 16px 42px rgba(57, 35, 67, 0.13) !important;
}
html[data-theme='light'] .character-card,
html[data-theme='light'] .chat-card,
html[data-theme='light'] .proactive-card,
html[data-theme='light'] .promo-card,
html[data-theme='light'] .settings-card,
html[data-theme='light'] .glass-panel {
  border-color: var(--luna-border-soft) !important;
  background: var(--luna-surface) !important;
  box-shadow: var(--luna-shadow) !important;
}
html[data-theme='light'] .character-line h2,
html[data-theme='light'] .chat-heading h2,
html[data-theme='light'] .section-label,
html[data-theme='light'] .proactive-copy strong {
  color: var(--luna-text) !important;
}
html[data-theme='light'] .character-copy p,
html[data-theme='light'] .chat-copy p,
html[data-theme='light'] .chat-heading time,
html[data-theme='light'] .proactive-copy small {
  color: var(--luna-text-secondary) !important;
}
html[data-theme='light'] .filter-button,
html[data-theme='light'] .style-menu {
  border-color: var(--luna-border) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  color: var(--luna-text) !important;
  box-shadow: var(--luna-shadow) !important;
}
/* Public app light theme: a soft lavender canvas with strong readable states. */
html[data-theme='light'] .luna-main {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 91, 170, 0.08), transparent 28%),
    linear-gradient(180deg, #f3edf6 0%, #ebe4ef 100%) !important;
}
html[data-theme='light'] .explore-page {
  color: var(--luna-text) !important;
}
html[data-theme='light'] .explore-tabs {
  padding: 3px;
  border: 1px solid rgba(93, 64, 107, 0.1) !important;
  border-radius: 15px;
  background: rgba(225, 214, 232, 0.72) !important;
}
html[data-theme='light'] .explore-tab {
  color: #716677 !important;
}
html[data-theme='light'] .explore-tab.active {
  border-radius: 12px;
  background: rgba(250, 247, 251, 0.92) !important;
  color: #2c2033 !important;
  box-shadow: 0 5px 16px rgba(57, 36, 67, 0.08);
}
html[data-theme='light'] .explore-tab.active::after {
  background: linear-gradient(90deg, #ff8bc3, #f13a91) !important;
}
html[data-theme='light'] .filter-button {
  border-color: rgba(115, 77, 133, 0.18) !important;
  background: rgba(250, 247, 251, 0.92) !important;
  color: #302538 !important;
  box-shadow: 0 6px 18px rgba(61, 39, 72, 0.07) !important;
}
html[data-theme='light'] .bottom-nav .nav-button {
  color: #7c7288 !important;
}
html[data-theme='light'] .bottom-nav .nav-button.active {
  color: #f23d94 !important;
}
html[data-theme='light'] .character-card {
  border-color: rgba(115, 77, 133, 0.22) !important;
  background: #171020 !important;
  box-shadow: 0 12px 30px rgba(47, 29, 56, 0.18) !important;
}
html[data-theme='light'] .character-card .character-line h2,
html[data-theme='light'] .character-card .message-count,
html[data-theme='light'] .character-card .favorite-count,
html[data-theme='light'] .character-card .favorite-button {
  color: #ffffff !important;
}
html[data-theme='light'] .feature-strip {
  border-color: rgba(86, 58, 99, 0.12) !important;
  background: linear-gradient(145deg, rgba(250, 247, 251, 0.96), rgba(235, 226, 240, 0.96)) !important;
  box-shadow: 0 10px 26px rgba(52, 32, 63, 0.08) !important;
}
html[data-theme='light'] .feature-item + .feature-item::before {
  background: rgba(71, 46, 82, 0.08) !important;
}
html[data-theme='light'] .feature-copy strong {
  color: #3d3145 !important;
}
html[data-theme='light'] .feature-copy small {
  color: #7b7082 !important;
}
html[data-theme='light'] .character-card .character-tags span {
  color: #f6bdd9 !important;
}
html[data-theme='light'] .character-card .character-footer > span {
  color: rgba(235, 226, 240, 0.75) !important;
}
html[data-theme='light'] .character-card .character-copy p {
  color: rgba(242, 235, 246, 0.78) !important;
}
html[data-theme='light'] .character-card .favorite-button {
  border-color: rgba(255, 255, 255, 0.46) !important;
  background: rgba(14, 9, 22, 0.62) !important;
}
/* Ant Design surfaces */
html[data-theme='light'] .ant-btn-default,
html[data-theme='light'] .ant-input,
html[data-theme='light'] .ant-input-textarea textarea,
html[data-theme='light'] .ant-select-selector {
  border-color: var(--luna-border) !important;
  background: #ffffff !important;
  color: var(--luna-text) !important;
}
html[data-theme='light'] .ant-input::placeholder {
  color: #9b919f !important;
}
html[data-theme='light'] .ant-select-dropdown,
html[data-theme='light'] .ant-modal-content,
html[data-theme='light'] .ant-message-notice-content,
html[data-theme='light'] .ant-notification-notice,
html[data-theme='light'] .ant-popover-inner,
html[data-theme='light'] .ant-drawer-content {
  background: #ffffff !important;
  color: var(--luna-text) !important;
}
html[data-theme='light'] .ant-card {
  border-color: var(--luna-border-soft) !important;
  background: #ffffff !important;
  box-shadow: var(--luna-shadow);
}
html[data-theme='light'] .ant-card-head,
html[data-theme='light'] .ant-card-body,
html[data-theme='light'] .ant-modal-title,
html[data-theme='light'] .ant-drawer-title,
html[data-theme='light'] .ant-form-item-label > label,
html[data-theme='light'] .ant-select-item,
html[data-theme='light'] .ant-tabs,
html[data-theme='light'] .ant-tabs-tab {
  color: var(--luna-text) !important;
}
html[data-theme='light'] .ant-table,
html[data-theme='light'] .ant-table-container,
html[data-theme='light'] .ant-table-content {
  background: #ffffff !important;
  color: var(--luna-text) !important;
}
html[data-theme='light'] .ant-table-thead > tr > th {
  border-bottom-color: var(--luna-border-soft) !important;
  background: #f5f1f7 !important;
  color: #655a6e !important;
}
html[data-theme='light'] .ant-table-tbody > tr > td {
  border-bottom-color: var(--luna-border-soft) !important;
  color: var(--luna-text) !important;
}
html[data-theme='light'] .ant-table-tbody > tr:hover > td,
html[data-theme='light'] .ant-table-row-expand-icon-cell {
  background: #fbf8fc !important;
}
html[data-theme='light'] .ant-tag:not(.ant-tag-has-color) {
  border-color: rgba(98, 69, 111, 0.16) !important;
  background: #f4f0f6 !important;
  color: #55495e !important;
}
/* Admin pages: complete light palette for custom, non-Ant surfaces. */
html[data-theme='light'] .admin-layout {
  background: linear-gradient(145deg, #f1eef5, #faf9fb 52%, #f5f1f7) !important;
  color: var(--luna-text) !important;
}
html[data-theme='light'] .admin-sidebar {
  border-right-color: var(--luna-border-soft) !important;
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 5px 0 28px rgba(58, 36, 69, 0.07) !important;
}
html[data-theme='light'] .admin-topbar {
  border-bottom-color: var(--luna-border-soft) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 5px 24px rgba(58, 36, 69, 0.05) !important;
}
html[data-theme='light'] .admin-content {
  background: transparent !important;
}
html[data-theme='light'] .admin-layout .sidebar-title,
html[data-theme='light'] .admin-layout .page-title,
html[data-theme='light'] .admin-layout .panel-title {
  color: var(--luna-text) !important;
}
html[data-theme='light'] .admin-layout .nav-item {
  color: var(--luna-text-secondary) !important;
}
html[data-theme='light'] .admin-layout .nav-item:hover {
  background: rgba(125, 83, 142, 0.07) !important;
  color: var(--luna-text) !important;
}
html[data-theme='light'] .admin-layout .nav-item.active {
  background: linear-gradient(90deg, rgba(255, 64, 129, 0.14), rgba(255, 64, 129, 0.06)) !important;
  color: #e93283 !important;
}
html[data-theme='light'] .admin-layout .sidebar-header,
html[data-theme='light'] .admin-layout .sidebar-footer,
html[data-theme='light'] .admin-layout .detail-header {
  border-color: var(--luna-border-soft) !important;
}
html[data-theme='light'] .admin-layout .collapse-btn {
  border-color: var(--luna-border) !important;
  background: #f8f5fa !important;
  color: var(--luna-text-secondary) !important;
}
html[data-theme='light'] .admin-layout .role-list-panel,
html[data-theme='light'] .admin-layout .role-detail-panel {
  border-color: var(--luna-border-soft) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 16px 40px rgba(55, 34, 65, 0.07) !important;
}
html[data-theme='light'] .admin-layout .role-id-text {
  border-color: rgba(68, 45, 80, 0.1) !important;
  background: #f5f1f7 !important;
}
html[data-theme='light'] .admin-layout .role-id-text,
html[data-theme='light'] .admin-layout .role-list-name,
html[data-theme='light'] .admin-layout .role-name-text,
html[data-theme='light'] .admin-layout .editor-section-title,
html[data-theme='light'] .admin-layout .info-value,
html[data-theme='light'] .admin-layout .param-value,
html[data-theme='light'] .admin-layout .section-title {
  color: var(--luna-text) !important;
}
html[data-theme='light'] .admin-layout .editor-section-hint,
html[data-theme='light'] .admin-layout .upload-note,
html[data-theme='light'] .admin-layout .advanced-json-hint,
html[data-theme='light'] .admin-layout .field-help,
html[data-theme='light'] .admin-layout .field-block > label,
html[data-theme='light'] .admin-layout .field-label-with-icon,
html[data-theme='light'] .admin-layout .empty-detail,
html[data-theme='light'] .admin-layout .empty-detail p {
  color: var(--luna-text-secondary) !important;
}
html[data-theme='light'] .admin-layout .editor-section,
html[data-theme='light'] .admin-layout .params-section,
html[data-theme='light'] .admin-layout .info-card,
html[data-theme='light'] .admin-layout .json-section {
  border-color: var(--luna-border-soft) !important;
  background: linear-gradient(145deg, #fbf9fc, #f7f3f9) !important;
}
html[data-theme='light'] .admin-layout .story-editor-section {
  border-color: rgba(255, 64, 129, 0.2) !important;
  background: linear-gradient(145deg, rgba(255, 64, 129, 0.07), #faf7fb) !important;
}
html[data-theme='light'] .admin-layout .role-image-preview {
  border-color: var(--luna-border-soft) !important;
  background: #f1edf4 !important;
}
html[data-theme='light'] .admin-layout .role-image-empty {
  color: #95899b !important;
}
html[data-theme='light'] .admin-layout .role-list-panel .ant-table-row:hover > td {
  background: #faf6fb !important;
}
html[data-theme='light'] .admin-layout .role-list-panel .selected-row > td {
  background: rgba(255, 64, 129, 0.09) !important;
}
html[data-theme='light'] .admin-layout .ant-pagination-item,
html[data-theme='light'] .admin-layout .ant-pagination-prev .ant-pagination-item-link,
html[data-theme='light'] .admin-layout .ant-pagination-next .ant-pagination-item-link {
  border-color: var(--luna-border-soft) !important;
  background: #ffffff !important;
}
/* Remaining admin modules use custom cards instead of Ant cards. */
html[data-theme='light'] .admin-layout .config-hero,
html[data-theme='light'] .admin-layout .config-toolbar,
html[data-theme='light'] .admin-layout .config-card,
html[data-theme='light'] .admin-layout .model-hero,
html[data-theme='light'] .admin-layout .model-page > .config-card,
html[data-theme='light'] .admin-layout .models-section,
html[data-theme='light'] .admin-layout .pricing-hero,
html[data-theme='light'] .admin-layout .pricing-card,
html[data-theme='light'] .admin-layout .private-image-page .page-hero,
html[data-theme='light'] .admin-layout .role-filter-card,
html[data-theme='light'] .admin-layout .popular-management .page-hero,
html[data-theme='light'] .admin-layout .workflow-card,
html[data-theme='light'] .admin-layout .image-card {
  border-color: var(--luna-border-soft) !important;
  background: linear-gradient(145deg, #ffffff, #faf7fc) !important;
  box-shadow: 0 16px 40px rgba(55, 34, 65, 0.07) !important;
}
html[data-theme='light'] .admin-layout .config-toolbar {
  background: #ffffff !important;
}
html[data-theme='light'] .admin-layout .config-hero h2,
html[data-theme='light'] .admin-layout .model-page .hero-copy h2,
html[data-theme='light'] .admin-layout .model-page .section-heading h3,
html[data-theme='light'] .admin-layout .model-page .group-heading h3,
html[data-theme='light'] .admin-layout .model-card h4,
html[data-theme='light'] .admin-layout .model-page .kind-heading strong,
html[data-theme='light'] .admin-layout .pricing-page .hero-copy h2,
html[data-theme='light'] .admin-layout .pricing-page .section-header h3,
html[data-theme='light'] .admin-layout .pricing-page .group-title,
html[data-theme='light'] .admin-layout .pricing-page .skill-copy h4,
html[data-theme='light'] .admin-layout .private-image-page .hero-copy h2,
html[data-theme='light'] .admin-layout .private-image-page .selected-role strong,
html[data-theme='light'] .admin-layout .popular-management .hero-copy h2,
html[data-theme='light'] .admin-layout .popular-management .workflow-heading h3,
html[data-theme='light'] .admin-layout .popular-management .list-heading h3,
html[data-theme='light'] .admin-layout .popular-management .empty-state h3,
html[data-theme='light'] .admin-layout .popular-management .stat-value {
  color: var(--luna-text) !important;
}
html[data-theme='light'] .admin-layout .config-hero p,
html[data-theme='light'] .admin-layout .config-toolbar,
html[data-theme='light'] .admin-layout .config-count,
html[data-theme='light'] .admin-layout .row-id,
html[data-theme='light'] .admin-layout .config-card label,
html[data-theme='light'] .admin-layout .config-actions small,
html[data-theme='light'] .admin-layout .model-page .hero-copy p,
html[data-theme='light'] .admin-layout .model-page .selector-hint,
html[data-theme='light'] .admin-layout .model-page .model-card p,
html[data-theme='light'] .admin-layout .model-page .save-row p,
html[data-theme='light'] .admin-layout .model-page .kind-heading small,
html[data-theme='light'] .admin-layout .model-page .selector-panel label,
html[data-theme='light'] .admin-layout .pricing-page .hero-copy p,
html[data-theme='light'] .admin-layout .pricing-page .section-header p,
html[data-theme='light'] .admin-layout .pricing-page .skill-copy p,
html[data-theme='light'] .admin-layout .pricing-page .price-item label,
html[data-theme='light'] .admin-layout .pricing-page .footer-note span,
html[data-theme='light'] .admin-layout .private-image-page .hero-copy p,
html[data-theme='light'] .admin-layout .private-image-page .search-box label,
html[data-theme='light'] .admin-layout .private-image-page .selected-role span,
html[data-theme='light'] .admin-layout .private-image-page .image-meta dt,
html[data-theme='light'] .admin-layout .popular-management .hero-copy p,
html[data-theme='light'] .admin-layout .popular-management .workflow-heading p,
html[data-theme='light'] .admin-layout .popular-management .list-heading p,
html[data-theme='light'] .admin-layout .popular-management .empty-state p,
html[data-theme='light'] .admin-layout .popular-management .stat-label,
html[data-theme='light'] .admin-layout .popular-management .field > span {
  color: var(--luna-text-secondary) !important;
}
html[data-theme='light'] .admin-layout .config-card input,
html[data-theme='light'] .admin-layout .config-card textarea {
  border-color: var(--luna-border) !important;
  background: #ffffff !important;
  color: var(--luna-text) !important;
  box-shadow: inset 0 1px 2px rgba(46, 29, 55, 0.03);
}
html[data-theme='light'] .admin-layout .config-card input:focus,
html[data-theme='light'] .admin-layout .config-card textarea:focus {
  border-color: #ff4081 !important;
  box-shadow: 0 0 0 2px rgba(255, 64, 129, 0.12) !important;
}
html[data-theme='light'] .admin-layout .selector-panel,
html[data-theme='light'] .admin-layout .model-card,
html[data-theme='light'] .admin-layout .price-item,
html[data-theme='light'] .admin-layout .popular-management .hero-stats,
html[data-theme='light'] .admin-layout .popular-management .table-shell {
  border-color: var(--luna-border-soft) !important;
  background: #f8f5fa !important;
}
html[data-theme='light'] .admin-layout .pricing-page .card-footer,
html[data-theme='light'] .admin-layout .model-page .save-row,
html[data-theme='light'] .admin-layout .popular-management .stat-divider {
  border-color: var(--luna-border-soft) !important;
}
html[data-theme='light'] .admin-layout .pricing-page .footer-note strong,
html[data-theme='light'] .admin-layout .private-image-page .image-meta dd,
html[data-theme='light'] .admin-layout .private-image-page .prompt-block summary,
html[data-theme='light'] .admin-layout .private-image-page .prompt-block pre {
  color: var(--luna-text) !important;
}
html[data-theme='light'] .admin-layout .private-image-page {
  color: var(--luna-text) !important;
}
html[data-theme='light'] .admin-layout .private-image-page .prompt-block {
  border-color: rgba(77, 139, 255, 0.16) !important;
  background: rgba(77, 139, 255, 0.055) !important;
}
html[data-theme='light'] .admin-layout .private-image-page .prompt-block.negative {
  border-color: rgba(255, 94, 143, 0.16) !important;
  background: rgba(255, 64, 129, 0.055) !important;
}
html[data-theme='light'] .admin-layout .analytics-dashboard .ant-card,
html[data-theme='light'] .admin-layout .i18n-management .ant-card,
html[data-theme='light'] .admin-layout .data-center .ant-card,
html[data-theme='light'] .admin-layout .audit-log .ant-card,
html[data-theme='light'] .admin-layout .test-account-management .ant-card,
html[data-theme='light'] .admin-layout .popular-management .ant-card {
  border-color: var(--luna-border-soft) !important;
  background: #ffffff !important;
  box-shadow: 0 14px 36px rgba(55, 34, 65, 0.07) !important;
}
html[data-theme='light'] .admin-layout .analytics-dashboard .kpi-value,
html[data-theme='light'] .admin-layout .test-account-management .email-cell,
html[data-theme='light'] .admin-layout .test-account-management code,
html[data-theme='light'] .admin-layout .data-center .update-form label {
  color: var(--luna-text) !important;
}
html[data-theme='light'] .admin-layout .analytics-dashboard .kpi-label,
html[data-theme='light'] .admin-layout .test-account-management .description {
  color: var(--luna-text-secondary) !important;
}
html[data-theme='light'] .admin-layout .test-account-management code {
  background: #f3eff5 !important;
}
html[data-theme='light'] .admin-layout .ant-input-affix-wrapper,
html[data-theme='light'] .admin-layout .ant-input-number,
html[data-theme='light'] .admin-layout .ant-picker,
html[data-theme='light'] .admin-layout .ant-collapse,
html[data-theme='light'] .admin-layout .ant-collapse-content {
  border-color: var(--luna-border) !important;
  background: #ffffff !important;
  color: var(--luna-text) !important;
}
html[data-theme='light'] .admin-layout .ant-input-affix-wrapper .ant-input,
html[data-theme='light'] .admin-layout .ant-input-number-input,
html[data-theme='light'] .admin-layout .ant-picker-input > input,
html[data-theme='light'] .admin-layout .ant-collapse-header-text {
  color: var(--luna-text) !important;
}
/* Explore tag picker is a full-screen surface and needs its own light hierarchy. */
html[data-theme='light'] .tag-overlay {
  border: 0 !important;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 79, 164, 0.09), transparent 28%),
    linear-gradient(180deg, #f2ecf5 0%, #e9e1ee 100%) !important;
  color: var(--luna-text) !important;
  box-shadow: none !important;
}
html[data-theme='light'] .tag-overlay .tag-header {
  border-bottom-color: rgba(77, 50, 90, 0.11) !important;
  background: rgba(248, 243, 250, 0.9) !important;
  box-shadow: 0 7px 20px rgba(58, 36, 69, 0.05);
}
html[data-theme='light'] .tag-overlay .tag-header button {
  color: #e93d91 !important;
}
html[data-theme='light'] .tag-overlay .tag-header strong {
  color: #2c2133 !important;
}
html[data-theme='light'] .tag-overlay .tag-header small {
  color: #786d80 !important;
}
html[data-theme='light'] .tag-overlay .tag-body h3 {
  color: #2c2133 !important;
}
html[data-theme='light'] .tag-overlay .tag-cloud button {
  border-color: rgba(101, 68, 117, 0.18) !important;
  background: rgba(249, 245, 251, 0.94) !important;
  color: #55495e !important;
  box-shadow: 0 5px 14px rgba(57, 36, 67, 0.055);
}
html[data-theme='light'] .tag-overlay .tag-cloud button.active {
  border-color: #f23d94 !important;
  background: linear-gradient(120deg, #ed2f86, #ff65ae) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(246, 44, 135, 0.24);
}
html[data-theme='light'] .tag-overlay .tag-footer {
  border-top-color: rgba(77, 50, 90, 0.12) !important;
  background: rgba(246, 240, 248, 0.97) !important;
  box-shadow: 0 -10px 30px rgba(52, 32, 63, 0.07);
}
html[data-theme='light'] .tag-overlay .tag-footer span {
  color: #4f4357 !important;
}
