/* zRedemption: the public site as an anime key visual. Twilight over the sea of clouds, wish lanterns, seal crimson and
   lantern gold, heavy slanted titles and pressable buttons. The shared stylesheets load into a lower cascade layer, so
   every rule below wins over them without specificity tricks. The member area keeps the shared layout and wears the
   same twilight as a guild hall: panel cards, a seal avatar, slanted titles and the same pressable buttons. */
@layer shared;
@import url("/site.css?v=e92d62ba25ed") layer(shared);
@import url("/realm.css?v=cb2826f07c35") layer(shared);
@import url("/public.css?v=1127b81763dc") layer(shared);
@import url("/hero-magic.css?v=3f1e24dc6959") layer(shared);
@import url("/portal.css?v=e35fc2146611") layer(shared);

:root {
  --z-night: #130b2e; --z-deep: #0a0620; --z-indigo: #1d1247; --z-violet: #2a1a66; --z-orchid: #7a5cff;
  --z-rose: #ff6f91; --z-seal: #d43a5c; --z-seal-deep: #8f2238; --z-peach: #ffb38a; --z-gold: #ffd27d; --z-teal: #5fe3d6;
  --z-paper: #fff6ea; --z-ink: #1c1338; --z-text: #d9d2ee; --z-soft: #b9aee0;
  --z-display: "Segoe UI Black", "Arial Black", "Avenir Next", system-ui, sans-serif;
  --z-panel: linear-gradient(160deg, #2a1a66, #1d1247);
}
html { background: var(--z-night); scrollbar-color: #5b3fa8 var(--z-night); }
::selection { background: #ff6f9180; color: #fff; }
body { background: var(--z-night) radial-gradient(#ffffff0d 1px, transparent 1.6px) 0 0 / 26px 26px; color: var(--z-text); }

/* ---------- Header and footer (every page) ---------- */
.site-header, .site-header.scrolled {
  background: #130b2ee6; border-bottom: 2px solid #ffffff1a;
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
}
body:not(.member-view) .site-header:not(.scrolled) {
  background: linear-gradient(180deg, #130b2ee0, #130b2e00); border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
body.menu-open .site-header, body.menu-open:not(.member-view) .site-header:not(.scrolled) { background: var(--z-night); }
.header-inner { min-height: 78px; }
.brand img { width: 42px; height: 42px; filter: drop-shadow(0 3px 0 #0a062099); }
.brand-name, .footer-grid .brand-name {
  font: 700 1.5rem/1.1 Georgia, 'Times New Roman', serif; letter-spacing: 0; color: var(--z-gold);
  background: linear-gradient(180deg, #fff3d0 10%, #ffd27d 50%, #e5a04e 95%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.brand-name i {
  margin-right: 1px; font-style: italic; font-size: 1.1em;
  background: linear-gradient(180deg, #ffa3b5, #ff5c7f 55%, #c22a52);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.brand-sub { margin-top: 2px; color: var(--z-peach); font-size: .56rem; font-weight: 800; letter-spacing: .2em; }
.nav a { padding: 9px 12px; border-radius: 10px; color: #e6defa; font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.nav a:hover { color: #fff; background: #ffffff1a; }
.nav a[aria-current=page] { color: var(--z-gold); background: none; box-shadow: inset 0 -3px var(--z-rose); border-radius: 0; }
.realm-pill { padding: 8px 12px; border: 2px solid #ffffff2e; border-radius: 999px; background: #130b2e80; color: #e6defa; font-size: .7rem; font-weight: 700; }
.realm-pill.online { color: #a8f0c6; border-color: #a8f0c666; }
.realm-pill .dot { width: 7px; height: 7px; }
.menu-toggle { border: 2px solid #ffffff40; border-radius: 12px; background: #ffffff1a; }
.menu-toggle span { height: 2px; }

.site-footer { padding: 58px 0 26px; background: var(--z-deep); border-top: 4px solid var(--z-rose); }
.footer-grid h4 { color: var(--z-peach); font-size: .68rem; font-weight: 800; letter-spacing: .16em; }
.footer-grid a { color: #cfc6ea; font-size: .9rem; }
.footer-grid a:hover { color: #fff; }
.footer-about p { color: #a99fd0; font-size: .88rem; line-height: 1.7; }
.footer-bottom { color: #8d83b5; font-size: .76rem; border-top-color: #ffffff1a; }

/* ---------- Buttons: pressable, with a hard shadow ---------- */
.site-header .btn, body:not(.member-view) .btn {
  min-height: 46px; padding: 12px 22px; border: 2px solid #ffffff66; border-radius: 14px; background: #ffffff1f; color: #fff;
  font: 800 .82rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; text-shadow: none;
  box-shadow: 0 4px 0 var(--z-deep); transition: transform .12s ease, box-shadow .12s ease, background .15s ease, border-color .15s ease;
}
.site-header .btn:hover, body:not(.member-view) .btn:hover {
  background: #ffffff38; border-color: #fff; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 0 var(--z-deep);
}
.site-header .btn:active, body:not(.member-view) .btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--z-deep); }
.site-header .btn-gold, body:not(.member-view) .btn-gold {
  border-color: #ffe7b3; background: linear-gradient(180deg, #ff8199, #e04468 52%, #b9264d); color: #fff;
  box-shadow: 0 4px 0 #6d1230, 0 12px 26px #e0446859; text-shadow: 0 1px 0 #8f2238;
}
.site-header .btn-gold:hover, body:not(.member-view) .btn-gold:hover {
  background: linear-gradient(180deg, #ff97ab, #ec5578 52%, #c8305a); border-color: #fff; box-shadow: 0 6px 0 #6d1230, 0 14px 30px #e0446880;
}
.site-header .btn-gold:active, body:not(.member-view) .btn-gold:active { box-shadow: 0 1px 0 #6d1230; }
.site-header .btn-small { min-height: 38px; padding: 9px 15px; border-radius: 11px; font-size: .72rem; box-shadow: 0 3px 0 var(--z-deep); }
.site-header .btn-small.btn-gold { box-shadow: 0 3px 0 #6d1230; }
body:not(.member-view) .btn svg { width: 18px; height: 18px; }
body:not(.member-view) .link-arrow { color: var(--z-gold); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Hero: the lantern gate at twilight ---------- */
.hero {
  position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; overflow: hidden;
  margin-top: -80px; padding: 80px 0 0; min-height: min(900px, 100vh); background: var(--z-night);
}
.kv { position: absolute; inset: 0; z-index: -1; }
.kv-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 64% 38%; }
.kv::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, #130b2ef5 0%, #1d1247e0 26%, #1d124780 48%, transparent 70%),
    linear-gradient(0deg, #130b2e 0%, #130b2e00 26%), linear-gradient(180deg, #130b2ecc, transparent 20%);
}
.kv-lanterns, .kv-petals { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.kv-lanterns i {
  position: absolute; bottom: -24%; left: 52%; width: 44px; aspect-ratio: 96 / 210; opacity: 0;
  background: url(/art/wish-lantern.webp) center / contain no-repeat; filter: drop-shadow(0 0 16px #ffb45ea6);
  animation: lantern-rise 30s linear -4s infinite;
}
.kv-lanterns i:nth-child(2) { left: 64%; width: 30px; animation-duration: 38s; animation-delay: -19s; }
.kv-lanterns i:nth-child(3) { left: 74%; width: 54px; animation-duration: 27s; animation-delay: -11s; }
.kv-lanterns i:nth-child(4) { left: 86%; width: 26px; animation-duration: 42s; animation-delay: -30s; }
.kv-lanterns i:nth-child(5) { left: 93%; width: 38px; animation-duration: 33s; animation-delay: -24s; }
.kv-lanterns i:nth-child(6) { left: 43%; width: 22px; animation-duration: 46s; animation-delay: -36s; }
.kv-petals i {
  position: absolute; top: -4%; left: 30%; width: 13px; height: 9px; opacity: 0; border-radius: 85% 12% 85% 12%;
  background: linear-gradient(135deg, #ffe0ea, #ff8fb1); animation: petal-fall 13s linear -2s infinite;
}
.kv-petals i:nth-child(2) { left: 44%; width: 9px; height: 6px; animation-duration: 17s; animation-delay: -9s; }
.kv-petals i:nth-child(3) { left: 55%; animation-duration: 11s; animation-delay: -5s; }
.kv-petals i:nth-child(4) { left: 63%; width: 10px; height: 7px; animation-duration: 19s; animation-delay: -14s; }
.kv-petals i:nth-child(5) { left: 72%; animation-duration: 14s; animation-delay: -7s; }
.kv-petals i:nth-child(6) { left: 80%; width: 8px; height: 6px; animation-duration: 16s; animation-delay: -12s; }
.kv-petals i:nth-child(7) { left: 88%; animation-duration: 12s; animation-delay: -3s; }
.kv-petals i:nth-child(8) { left: 96%; width: 10px; height: 7px; animation-duration: 18s; animation-delay: -10s; }
.kv-petals i:nth-child(9) { left: 104%; animation-duration: 15s; animation-delay: -6s; }
.kv-petals i:nth-child(10) { left: 112%; width: 9px; height: 6px; animation-duration: 20s; animation-delay: -16s; }
.hero > .wrap { flex: 1; display: flex; }
.hero-layout { flex: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; min-height: 560px; }
.hero-content { position: relative; z-index: 2; max-width: 660px; padding: 40px 0 46px; }
.hero-brand { margin-bottom: 22px; }
.hero-brand .hero-crest {
  display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 6px 16px 6px 6px; border: 2px solid #ffffff59; border-radius: 999px;
  background: #130b2e99; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.hero-crest::before, .hero-crest::after { content: none; }
.crest-world { padding: 5px 12px; border-radius: 999px; background: var(--z-rose); color: #fff; }
.crest-sep { display: none; }
.hero-title {
  max-width: none; margin: 0; color: #fff; font: italic 900 clamp(2.7rem, 6.1vw, 5.3rem) / .98 var(--z-display); letter-spacing: -.04em;
  text-shadow: 0 4px 0 var(--z-seal), 0 12px 34px #130b2e;
}
.hero-title span {
  display: inline-block; padding: 0 .14em .08em 0; color: var(--z-gold); text-shadow: none;
  background: linear-gradient(100deg, #fff0bf, #ffc27a 42%, #ff7d93);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 4px 0 #5a1730);
}
.hero-lead { max-width: 500px; margin: 24px 0 30px; color: #f1eaff; font-size: 1.08rem; line-height: 1.7; text-shadow: 0 1px 12px #130b2e; }
.hero-actions { gap: 14px; }
.hero-actions .btn { min-height: 54px; padding: 15px 26px; font-size: .9rem; }
.hero-actions .btn-download { background: #130b2e99; color: #fff; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 24px 0 0; color: #e6defa; font-size: .74rem; font-weight: 700; letter-spacing: .04em; }
.hero-trust svg { width: 15px; height: 15px; color: var(--z-gold); }
.hero-trust i { width: 4px; height: 4px; border-radius: 50%; background: var(--z-rose); }
.hero-note { margin-top: 8px; color: var(--z-soft); font-size: .74rem; }
.hero-note span { padding: 0 7px; color: var(--z-rose); }
.download-meta { color: var(--z-soft); }
.hero-art { position: relative; align-self: stretch; min-height: 480px; z-index: 2; }
.mage-aura { background: radial-gradient(ellipse 36% 28% at 58% 30%, #5fe3d633, transparent), radial-gradient(ellipse 50% 40% at 50% 62%, #ffb38a2e, transparent); }
.hero-art .mage-figure { filter: drop-shadow(0 14px 0 #0a062059) drop-shadow(0 0 22px #ffd27d40); }
.mage-toggle { border: 2px solid #ffffff4d; border-radius: 999px; background: #130b2e99; color: #e6defa; font-weight: 700; }
.hero-meta {
  position: relative; z-index: 3; display: block; margin: 0 0 -1px; padding: 0; border: 0;
  background: linear-gradient(90deg, #b9264d, #e04468 45%, #ff8199); box-shadow: 0 -4px 0 var(--z-gold), 0 12px 30px #0a062080;
  transform: skewY(-1.1deg); transform-origin: 0 100%;
}
.hero-meta .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 14px; padding-bottom: 14px; transform: skewY(1.1deg); }
.hero-meta span { display: flex; align-items: center; gap: 12px; color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-meta strong { color: #fff; font: italic 900 2.2rem / 1 var(--z-display); letter-spacing: -.03em; text-shadow: 0 3px 0 #8f2238; }

/* ---------- Live realm panel ---------- */
.realm-wrap { margin-top: 64px; }
.realm-panel { padding: 26px 28px; border: 2px solid #ffffff26; border-radius: 24px; background: var(--z-panel); box-shadow: 0 8px 0 var(--z-deep); }
.realm-eyebrow { margin-bottom: 4px; color: var(--z-peach); font-size: .66rem; font-weight: 800; letter-spacing: .16em; }
.realm-headline { color: #e6defa; font: 700 1.05rem / 1.3 var(--font-body); }
.realm-count { margin-right: 4px; color: var(--z-gold); font: italic 900 2.6rem / 1 var(--z-display); text-shadow: 0 3px 0 #8f2238; }
.realm-badge { padding: 7px 13px; border: 2px solid #ffffff33; border-radius: 999px; background: #130b2e80; color: #e6defa; font-size: .72rem; font-weight: 800; }
.realm-badge.online { color: #a8f0c6; border-color: #a8f0c680; }
.realm-breakdown { gap: 14px; margin-top: 18px; }
.realm-race-card { padding: 15px 17px; border: 2px solid #ffffff1f; border-radius: 16px; background: #130b2e99; }
.realm-race-card.nation-primus { border-color: #6fb1ff8c; background: linear-gradient(135deg, #6fb1ff3d, #130b2e99 70%); }
.realm-race-card.nation-ganav { border-color: #ff6b5e8c; background: linear-gradient(135deg, #ff6b5e3d, #130b2e99 70%); }
.realm-race-icon { width: 38px; height: 38px; }
.realm-race-name { color: #fff; font: 800 .92rem var(--font-body); }
.realm-race-count { font: italic 900 1.6rem / 1 var(--z-display); }
.realm-bar { height: 9px; background: #ffffff1f; }
.realm-bar-fill { opacity: 1; }
.realm-race-meta { color: var(--z-soft); font-size: .72rem; }
.realm-empty { color: var(--z-soft); }
.realm-panel-footer { margin-top: 18px; padding-top: 14px; border-top-color: #ffffff1f; color: var(--z-soft); font-size: .76rem; }
.realm-panel-footer a { color: var(--z-gold); font-weight: 800; }

/* ---------- Sections ---------- */
body:not(.member-view) .section { padding: 96px 0; }
body:not(.member-view) .section.flush { padding-top: 0; }
.glow-divider { display: none; }
body:not(.member-view) .eyebrow {
  display: inline-block; margin-bottom: 16px; padding: 6px 15px; border-radius: 5px; background: linear-gradient(90deg, #e04468, #ff8199);
  color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  transform: skewX(-12deg); box-shadow: 4px 4px 0 var(--z-deep);
}
body:not(.member-view) .eyebrow::before { content: none; }
body:not(.member-view) .section-head { max-width: 720px; margin-bottom: 36px; }
.section-title { color: #fff; font: italic 900 clamp(2rem, 4.5vw, 3.4rem) / 1.03 var(--z-display); letter-spacing: -.035em; text-shadow: 0 3px 0 var(--z-seal); }
.section-lead, .lore p { color: #cfc6ea; font-size: 1.02rem; line-height: 1.75; }
body:not(.member-view) .card { border: 2px solid #ffffff26; border-radius: 20px; background: var(--z-panel); box-shadow: 0 6px 0 var(--z-deep); }
body:not(.member-view) .card p { color: #cfc6ea; }
.empty { color: var(--z-soft); }

/* World: two nations face to face. */
.nations { position: relative; gap: 16px; margin-top: 30px; }
.nations::after {
  content: 'VS'; position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; width: 60px; height: 60px;
  border: 3px solid var(--z-night); border-radius: 50%; background: var(--z-gold); color: var(--z-ink);
  font: italic 900 1.25rem / 1 var(--z-display); transform: translate(-50%, -50%) rotate(-8deg); box-shadow: 0 4px 0 var(--z-deep);
}
body:not(.member-view) .nation { position: relative; overflow: hidden; padding: 0 0 20px; border-color: var(--nation-c); background: linear-gradient(180deg, var(--nation-bg), var(--z-indigo)); }
.nation.primus { --nation-c: #6fb1ff; --nation-bg: #1b3f7d; }
.nation.ganav { --nation-c: #ff6b5e; --nation-bg: #7a1a2c; }
.nation::before { content: none; }
.nation-banner { width: 100%; height: 118px; max-width: none; object-fit: cover; border-bottom: 2px solid var(--nation-c); }
.nation.primus .nation-banner { object-position: 78% 50%; }
.nation.ganav .nation-banner { object-position: 72% 50%; }
.nation-crest { position: absolute; top: 84px; left: 16px; width: 62px; height: 62px; filter: drop-shadow(0 3px 0 #0a062099); }
.nation h3 { margin: 40px 20px 0; color: #fff; font: italic 900 1.7rem / 1.05 var(--z-display); letter-spacing: -.02em; }
.nation .home { margin: 5px 20px 10px; color: var(--nation-c); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
body:not(.member-view) .nation p:last-child { margin: 0 20px; color: #e6defa; font-size: .92rem; line-height: 1.65; }
body:not(.member-view) .journey { padding: 28px; }
.journey h3 { margin-bottom: 14px; color: #fff; font: italic 900 1.6rem / 1.1 var(--z-display); letter-spacing: -.02em; }
.route::before { left: 22px; width: 3px; opacity: 1; background: repeating-linear-gradient(180deg, #ffffff4d 0 6px, transparent 6px 12px); }
.route li { padding: 11px 0; }
.route .node { width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--z-gold); color: var(--z-ink); font: italic 900 1rem var(--z-display); box-shadow: 0 3px 0 var(--z-deep); }
.route li.pvp .node { background: var(--z-rose); color: #fff; }
.route strong { color: #fff; font: 800 1.06rem var(--font-body); letter-spacing: 0; }
.route span.where { color: var(--z-soft); font-size: .86rem; }
.route .lv { padding: 5px 11px; border: 2px solid #ffffff33; background: #ffffff14; color: #fff; font-size: .72rem; font-weight: 800; }
.route li.pvp .lv { border-color: #ff6f9199; background: #ff6f9126; color: #ffc9d5; }
.journey .legend { color: var(--z-soft); font-size: .86rem; }

/* Races: a paper band cut on the slant, cards with ink outlines. */
#races {
  padding: calc(96px + 3.4vw) 0; color: var(--z-ink);
  background: var(--z-paper) radial-gradient(#1c133817 1.2px, transparent 1.8px) 0 0 / 22px 22px;
  clip-path: polygon(0 3.4vw, 100% 0, 100% calc(100% - 3.4vw), 0 100%);
}
#races .section-title { color: var(--z-ink); text-shadow: 0 3px 0 var(--z-peach); }
#races .section-lead { color: #4a3f6e; }
#races .eyebrow { box-shadow: 4px 4px 0 var(--z-ink); }
.races { gap: 24px; }
body:not(.member-view) .race {
  overflow: hidden; border: 3px solid var(--z-ink); border-radius: 22px; background: #fff; box-shadow: 8px 8px 0 var(--race-c);
  transition: transform .15s ease, box-shadow .15s ease;
}
.race.seneka { --race-c: #6fb1ff; } .race.koshare { --race-c: #ffb347; } .race.matsuka { --race-c: #ff6f91; }
body:not(.member-view) .race:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--race-c); }
.race-art { aspect-ratio: 16 / 10; border-bottom: 3px solid var(--z-ink); overflow: hidden; }
.race-art::after { content: none; }
.race-art img { width: 100%; height: 100%; max-width: none; opacity: 1; object-fit: cover; object-position: 88% 30%; }
.race.koshare .race-art img { object-position: 74% 40%; }
.race-body { position: relative; margin-top: -32px; padding: 0 22px 24px; }
.race-emblem { width: 62px; height: 62px; margin-bottom: 10px; border: 3px solid var(--z-ink); border-radius: 50%; background: #fff; }
.race h3 { color: var(--z-ink); font: italic 900 1.8rem / 1.05 var(--z-display); letter-spacing: -.03em; }
.race .kind { display: inline-block; margin: 7px 0 12px; padding: 4px 11px; border-radius: 999px; background: var(--race-c); color: var(--z-ink); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
body:not(.member-view) .race p:last-child { color: #4a3f6e; font-size: .95rem; line-height: 1.65; }

/* Classes: the roster. */
body:not(.member-view) #classes { padding-top: 96px; }
.classes { gap: 16px; }
body:not(.member-view) .class {
  display: grid; grid-template-columns: 66px 1fr; gap: 16px; align-items: center; padding: 20px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
body:not(.member-view) .class:hover { background: var(--z-panel); border-color: var(--z-gold); transform: translateY(-4px); box-shadow: 0 10px 0 var(--z-deep); }
.class .class-icon {
  width: 66px; height: 66px; border: 0; border-radius: 18px; color: #fff; transform: rotate(-6deg);
  background: linear-gradient(135deg, var(--c1, #ff8199), var(--c2, #b9264d)); box-shadow: inset 0 -5px 0 #0a062040, 0 4px 0 var(--z-deep);
}
.class .class-icon svg { width: 34px; height: 34px; transform: rotate(6deg); }
.class:nth-child(2) { --c1: #a58bff; --c2: #5b3fa8; } .class:nth-child(3) { --c1: #7df0d0; --c2: #1f9c8a; }
.class:nth-child(4) { --c1: #7cc4ff; --c2: #2f6fd0; } .class:nth-child(5) { --c1: #b6e36b; --c2: #4f9a2c; }
.class:nth-child(6) { --c1: #ffd27d; --c2: #e08a2e; }
.class h3 { color: #fff; font: italic 900 1.4rem / 1.05 var(--z-display); letter-spacing: -.02em; }
.class .role { margin: 4px 0 6px; color: var(--z-gold); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
body:not(.member-view) .class p:last-child { font-size: .9rem; line-height: 1.55; }
.subclass-note { margin-top: 22px; padding: 16px 20px; border: 2px dashed #ffffff4d; border-radius: 16px; background: #ffffff0d; color: #e6defa; font-size: .95rem; }
.subclass-note strong { color: var(--z-gold); }

/* Features */
.features { gap: 16px; }
body:not(.member-view) .feature { padding: 22px; background: #ffffff0f; border-color: #ffffff1f; box-shadow: none; }
body:not(.member-view) .feature.wide { background: linear-gradient(120deg, #ff6f9138, #7a5cff2e); border-color: #ff6f9180; }
body:not(.member-view) .feature.seven { background: linear-gradient(120deg, #ffd27d2e, #ff6f9133); border-color: #ffd27d80; }
.feature .icon { width: 46px; height: 46px; margin-bottom: 14px; padding: 10px; border-radius: 13px; background: #ffffff1f; color: var(--z-gold); }
.feature h3 { margin-bottom: 8px; color: #fff; font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; }
body:not(.member-view) .feature p { font-size: .9rem; line-height: 1.6; }
.signs { gap: 10px; margin-top: 18px; }
.signs i { width: 14px; height: 14px; opacity: 1; box-shadow: 0 0 10px var(--c); }

/* Updates */
.update-grid { gap: 20px; }
body:not(.member-view) .update-card {
  padding: 22px; gap: 12px; border: 3px solid var(--z-ink); background: var(--z-paper); color: var(--z-ink); box-shadow: 6px 6px 0 var(--z-rose);
  transition: transform .15s ease, box-shadow .15s ease;
}
body:not(.member-view) .update-card:hover { color: var(--z-ink); border-color: var(--z-ink); transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--z-rose); }
.update-card time, .update time {
  align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--z-ink); color: var(--z-gold);
  font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.update-card h3 { color: var(--z-ink); font-size: 1.12rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
body:not(.member-view) .update-card p { color: #4a3f6e; font-size: .9rem; line-height: 1.6; }
body:not(.member-view) .update-card .link-arrow { color: var(--z-seal); }
body:not(.member-view) .update { padding: 30px; }
.update time { display: inline-block; background: var(--z-rose); color: #fff; }
.update h2 { margin: 12px 0 14px; color: #fff; font: italic 900 1.6rem / 1.15 var(--z-display); letter-spacing: -.02em; }
body:not(.member-view) .update > p { color: #d9d2ee; font-size: 1rem; line-height: 1.75; }
.update-sections { border-top-color: #ffffff26; }
.update-sections h3 { color: var(--z-gold); font-size: .9rem; font-weight: 800; }
.update-sections ul { color: #d9d2ee; font-size: .93rem; line-height: 1.7; }

/* Begin: three steps and the courier. */
#begin .section-head { position: relative; max-width: none; }
.courier { position: absolute; right: 10px; bottom: -44px; width: 150px; height: auto; pointer-events: none; filter: drop-shadow(0 6px 0 #0a062080); animation: courier-bob 4s ease-in-out infinite; }
.steps { gap: 16px; }
body:not(.member-view) .step { position: relative; overflow: hidden; padding: 28px 24px 24px; }
.step::before {
  content: counter(step, decimal-leading-zero); position: absolute; right: 12px; top: -6px; margin: 0;
  color: transparent; font: italic 900 5.2rem / 1 var(--z-display); -webkit-text-stroke: 2px #ffffff33;
}
.step h3 { position: relative; margin-bottom: 8px; color: #fff; font: italic 900 1.35rem / 1.1 var(--z-display); letter-spacing: -.02em; }
body:not(.member-view) .step p { position: relative; font-size: .93rem; line-height: 1.6; }

/* Closing band */
body:not(.member-view) .cta-band {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px;
  min-height: 300px; padding: 48px 330px 48px 48px; border: 3px solid var(--z-gold); border-radius: 26px; box-shadow: 0 8px 0 var(--z-deep);
  background: linear-gradient(90deg, #130b2ef2 0%, #1d1247cc 42%, #1d124733 75%), url(/art/lantern-gate.webp) 50% 34% / cover;
}
.cta-band blockquote { margin: 0; color: #fff; font: italic 900 clamp(1.7rem, 3.5vw, 2.7rem) / 1.08 var(--z-display); letter-spacing: -.03em; text-shadow: 0 3px 0 var(--z-seal); }
.cta-figure { position: absolute; right: 34px; bottom: -34px; width: auto; height: 320px; max-width: none; pointer-events: none; filter: drop-shadow(0 8px 0 #0a062073); }

/* ---------- Other public pages ---------- */
.page-hero {
  position: relative; overflow: hidden; margin-top: -80px; padding: 142px 0 44px; border-bottom: 4px solid var(--z-gold);
  background: linear-gradient(100deg, #2a1a66, #7a2c6e 58%, #e04468);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(#ffffff33 1.2px, transparent 1.8px) 0 0 / 18px 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 45%, #000); mask-image: linear-gradient(90deg, transparent 45%, #000);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-title { color: #fff; font: italic 900 clamp(2.2rem, 5vw, 3.6rem) / 1.02 var(--z-display); letter-spacing: -.035em; text-shadow: 0 4px 0 var(--z-night); }
body:not(.member-view) .page-hero .eyebrow { background: var(--z-night); box-shadow: 4px 4px 0 var(--z-gold); }
.page-lead { color: #f1eaff; font-size: 1.05rem; line-height: 1.7; }
.page-lead a, .prose a { color: var(--z-gold); font-weight: 700; }
.prose h2 { color: #fff; font: italic 900 1.5rem / 1.15 var(--z-display); letter-spacing: -.02em; }
.prose p { color: var(--z-text); font-size: 1rem; line-height: 1.8; }
.faq details { border: 2px solid #ffffff26; border-radius: 16px; background: var(--z-indigo); }
.faq details[open] { border-color: var(--z-rose); box-shadow: 0 5px 0 var(--z-deep); }
.faq summary { padding: 18px 22px; color: #fff; font-size: 1rem; font-weight: 800; }
.faq summary::after { border: 2px solid #ffffff4d; border-radius: 9px; color: var(--z-gold); }
.faq details p { padding: 0 22px 20px; color: var(--z-text); font-size: .96rem; line-height: 1.75; }
.lang-switch { border-color: #ffffff33; background: #130b2e80; }

/* Account entry */
.auth { border: 3px solid #ffffff33; border-radius: 26px; background: var(--z-indigo); box-shadow: 0 10px 0 var(--z-deep); }
.auth-art { background: var(--z-indigo); }
.auth-art img { opacity: 1; }
.auth-art::before { background: linear-gradient(0deg, #130b2e 5%, #1d1247b3 46%, #1d124726); }
.auth-art blockquote { color: #fff; font: italic 900 2.2rem / 1.05 var(--z-display); letter-spacing: -.03em; text-shadow: 0 3px 0 var(--z-seal); }
.auth-art blockquote span { color: var(--z-gold); font: 800 .66rem var(--font-body); text-shadow: none; }
.form-kicker { color: var(--z-rose); font-weight: 800; letter-spacing: .16em; }
.form-card h1 { color: #fff; font: italic 900 2.2rem / 1.05 var(--z-display); letter-spacing: -.03em; }
.form-card .intro { color: #cfc6ea; font-size: .95rem; line-height: 1.7; }
.form-card .field label { color: #fff; font-size: .86rem; font-weight: 700; }
.form-card .input { min-height: 50px; padding: 12px 15px; border: 2px solid #ffffff33; border-radius: 14px; background-color: var(--z-night); color: #fff; font-size: 1rem; }
.form-card .input::placeholder { color: #8d83b5; }
.form-card .input:focus { border-color: var(--z-gold); box-shadow: 0 0 0 4px #ffd27d33; }
.form-card .hint { color: var(--z-soft); font-size: .8rem; line-height: 1.6; }
.form-card .field .error { font-size: .82rem; }
.form-card a { color: var(--z-gold); font-weight: 700; }
.reveal { border-radius: 10px; background: #ffffff1f; color: #fff; font-weight: 800; }
body:not(.member-view) input[type=checkbox], body:not(.member-view) input[type=radio] { accent-color: var(--z-rose); }

/* ---------- Member area: the guild hall ---------- */
.member-view .site-footer { padding: 22px 0; border-top: 2px solid #ffffff1a; }
.member-view .app {
  --ivory: #fff; --ivory-2: #e6defa; --muted: #b9aee0; --muted-2: #9d92c9; --ok: #a8f0c6; --danger: #ffa9a9;
  --gold: #ffd27d; --gold-hi: #ffe2a8; --gold-line: #ffd27d66; --line-soft: #ffffff1f; --line: #ffffff33;
}
.app .card, .app .support-pay, .app .support-move, .app .app-side {
  border: 2px solid #ffffff26; border-radius: 18px; background: var(--z-panel); box-shadow: 0 5px 0 var(--z-deep);
}
.app .support { border: 0; border-radius: 0; background: none; box-shadow: none; }

/* Sidebar: the member's guild card */
.app .app-side { min-height: 0; padding: 18px 14px 14px; }
.portal-label { color: var(--z-peach); font-size: .6rem; font-weight: 800; letter-spacing: .2em; }
.app .app-profile { padding: 0 8px 18px; }
.app .app-profile .avatar {
  width: 44px; height: 44px; border: 2px solid #ffe7b3; border-radius: 50%; background: linear-gradient(180deg, #ff8199, #b9264d);
  color: #fff; font: italic 900 1.15rem var(--z-display); box-shadow: 0 3px 0 #6d1230;
}
.app .app-who strong { color: #fff; font: 800 .95rem var(--font-body); }
.app .badge { padding: 2px 9px; background: #ffffff1a; color: #cfc6ea; font-size: .56rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.app .badge.ok { background: #a8f0c626; color: #a8f0c6; }
.app .app-nav a { border-radius: 12px; color: #cfc6ea; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.app .app-nav a svg { color: var(--z-soft); opacity: 1; }
.app .app-nav a:hover { background: #ffffff14; color: #fff; }
.app .app-nav a[aria-current=page] { background: linear-gradient(90deg, #ff6f9147, #7a5cff2e); color: #fff; box-shadow: inset 3px 0 var(--z-rose); }
.app .app-nav a[aria-current=page] svg { color: var(--z-gold); }
.app .app-nav a[aria-current=page]::before { content: none; }
.app-side-bottom { margin: 28px 12px 16px; }
.app-side-bottom p { color: #8d83b5; }
.app-side-bottom a { color: var(--z-gold); font-weight: 700; }

/* Buttons */
.app .btn {
  min-height: 42px; padding: 10px 18px; border: 2px solid #ffffff59; border-radius: 12px; background: #ffffff1a; color: #fff;
  font: 800 .74rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 4px 0 var(--z-deep); transition: transform .12s ease, box-shadow .12s ease, background .15s ease, border-color .15s ease;
}
.app .btn:hover { background: #ffffff33; border-color: #fff; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 0 var(--z-deep); }
.app .btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--z-deep); }
.app .btn-gold {
  border-color: #ffe7b3; background: linear-gradient(180deg, #ff8199, #e04468 52%, #b9264d); color: #fff;
  box-shadow: 0 4px 0 #6d1230; text-shadow: 0 1px 0 #8f2238;
}
.app .btn-gold:hover { background: linear-gradient(180deg, #ff97ab, #ec5578 52%, #c8305a); color: #fff; box-shadow: 0 6px 0 #6d1230; }
.app .btn-gold:active { box-shadow: 0 1px 0 #6d1230; }
.app .btn-small { min-height: 36px; padding: 8px 14px; border-radius: 10px; font-size: .68rem; box-shadow: 0 3px 0 var(--z-deep); }
.app .btn:disabled { opacity: .5; transform: none; cursor: default; }
.app .app-logout, .app .app-logout:hover { justify-content: center; min-height: 38px; border-color: #ffffff33; background: none; color: #cfc6ea; font-size: .68rem; box-shadow: none; transform: none; }
.app .app-logout:hover { border-color: #fff; color: #fff; }
.app .text-button { color: var(--z-gold); }

/* Page head and overview */
.app .eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 5px 13px; border-radius: 5px; background: linear-gradient(90deg, #e04468, #ff8199);
  color: #fff; font: 800 .62rem var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  transform: skewX(-12deg); box-shadow: 3px 3px 0 var(--z-deep);
}
.app .app-title { color: #fff; font: italic 900 clamp(1.8rem, 3vw, 2.6rem) / 1.06 var(--z-display); letter-spacing: -.03em; text-shadow: 0 3px 0 var(--z-seal); }
.app .app-title [data-account-name-inline] { color: var(--z-gold); }
.app .app-lead { color: #cfc6ea; font-size: .92rem; }
.portal-banner {
  min-height: 210px; padding: 30px 32px; border: 2px solid #ffffff40; border-radius: 22px; box-shadow: 0 6px 0 var(--z-deep);
  background: linear-gradient(90deg, #130b2ef5 0%, #1d1247d9 42%, #1d124740 100%), url(/art/lantern-gate.webp) 70% 42% / cover no-repeat;
}
.portal-banner::before { inset: 12px 34px 0 auto; width: 26%; background: url(/art/matsuka-cutout.webp) bottom center / contain no-repeat; opacity: 1; }
.portal-kicker { color: var(--z-gold); font-size: .62rem; font-weight: 800; }
.portal-banner h2 { color: #fff; font: italic 900 clamp(1.6rem, 2.6vw, 2.2rem) / 1.05 var(--z-display); letter-spacing: -.03em; text-shadow: 0 3px 0 var(--z-seal); }
.portal-banner p { color: #e6defa; font-size: .9rem; }
.portal-banner .btn { min-height: 42px; padding: 10px 18px; font-size: .74rem; }
.portal-banner-mark { right: 30%; color: #ffffff12; font: italic 900 clamp(3rem, 8vw, 7rem) / 1 var(--z-display); letter-spacing: -.06em; }
.app a.stat:hover { border-color: var(--z-gold); color: inherit; transform: translateY(-3px); box-shadow: 0 8px 0 var(--z-deep); }
.app .stat-label { color: var(--z-soft); font-size: .6rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.app .stat-value { color: #fff; font: italic 900 2rem / 1.1 var(--z-display); letter-spacing: -.03em; }
.app .stat-value.gold { color: var(--z-gold); }
.app .stat-note { color: #a99fd0; font-size: .72rem; }
.app .panel h2, .app .characters h2 { color: var(--z-peach); font: 800 .7rem var(--font-body); letter-spacing: .15em; text-transform: uppercase; }
.app .panel h3 { color: #fff; }
/* A panel's heading already names it; the tag stays for page heads. */
.app .panel > .eyebrow { display: none; }
.app .activity-what { color: #e6defa; }
.app .activity-delta.plus { color: #a8f0c6; }
.app .quick-link { border-top: 1px solid #ffffff1a; }
.app .quick-link:hover { background: none; color: inherit; }
.app .quick-link:hover strong { color: var(--z-gold); }
.app .quick-link svg { color: var(--z-gold); }
.app .quick-link strong { color: #fff; font-size: .84rem; font-weight: 700; }
.app .quick-link small { color: #a99fd0; }
.app .char { border: 2px solid #ffffff1f; border-radius: 16px; background: #130b2e80; }
.app .char .class-icon { border: 2px solid #ffd27d66; border-radius: 14px; background: #ffd27d1a; color: var(--z-gold); }
.app .char strong { color: #fff; font-weight: 800; }
.app .char span { color: var(--z-soft); }

/* Forms, notices and tables */
.app .input { min-height: 46px; border: 2px solid #ffffff33; border-radius: 12px; background-color: var(--z-night); color: #fff; }
.app .input:focus { border-color: var(--z-gold); box-shadow: 0 0 0 4px #ffd27d33; }
.app .input::placeholder { color: #8d83b5; }
.app .field label { color: #fff; font-weight: 700; }
.app .hint, .app .fineprint { color: #9d92c9; }
.app .security p, .app .panel-text, .app .panel > p { color: #cfc6ea; }
.app .panel a, .app .alert a { color: var(--z-gold); font-weight: 700; }
.app .alert { border-width: 2px; border-radius: 14px; }
.app .alert.notice { padding: 12px 16px; border-color: #ffd27d80; background: #ffd27d1f; color: #fff3d6; }
.app .alert.notice strong { color: var(--z-gold); }
.app .table-wrap { border: 2px solid #ffffff26; border-radius: 16px; background: var(--z-panel); }
.app .deposits th { background: #130b2e99; color: var(--z-soft); font-weight: 800; }
.app .deposits td { border-top-color: #ffffff14; color: #e6defa; }
.app .deposits td.num { color: var(--z-gold); font-weight: 700; }
.app .deposits a { color: var(--z-soft); }
.app .status { padding: 4px 10px; border-radius: 999px; background: #ffffff1a; color: #cfc6ea; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.app .status.credited { background: #a8f0c626; color: #a8f0c6; }
.app .status.seen, .app .status.confirmed { background: #ffd27d26; color: var(--z-gold); }
.app .secret, .app .recovery-codes li { color: var(--z-gold); }
.app .recovery-codes { border: 2px dashed #ffd27d80; background: #0a062099; }

/* Donate */
.panel-heading .step-number {
  width: 34px; height: 34px; border: 0; border-radius: 9px; background: linear-gradient(180deg, #ff8199, #c8305a); color: #fff;
  font: italic 900 .8rem var(--z-display); transform: skewX(-8deg); box-shadow: 3px 3px 0 var(--z-deep);
}
.app .panel-heading h2 { color: #fff; font: 800 1.05rem var(--font-body); letter-spacing: -.01em; }
.panel-heading p { color: #b9aee0; }
.panel-heading p strong { color: var(--z-gold); font-weight: 800; }
.payment-heading { border-top-color: #ffffff1f; }
.contribution {
  border: 2px solid #ffffff26; border-radius: 16px; background: #130b2e80; color: #e6defa; box-shadow: 0 4px 0 var(--z-deep);
  transition: transform .12s ease, border-color .15s ease, background .15s ease;
}
.contribution:hover { border-color: var(--z-gold); transform: translateY(-2px); }
.contribution[aria-pressed=true] { border-color: var(--z-gold); background: linear-gradient(180deg, #ff6f9140, #7a5cff2e); box-shadow: 0 4px 0 #6d1230; }
.contribution strong { color: #fff; font: italic 900 1.5rem var(--z-display); letter-spacing: -.03em; }
.contribution span { color: #cfc6ea; }
.contribution-bonus, .contribution .contribution-bonus { color: var(--z-gold); font-weight: 800; }
.app .calc label { color: #e6defa; font-weight: 700; }
.app .calc label span, .app .calc-receive span, .app .calc-row .currency-prefix { color: var(--z-soft); }
.app .calc-arrow { color: var(--z-rose); }
.app .calc-row strong { color: var(--z-gold); font: italic 900 1.15rem var(--z-display); }
.app .chip { border: 2px solid #ffffff26; border-radius: 12px; background: #130b2e80; color: #e6defa; font-weight: 700; }
.app .chip:hover { border-color: #ffd27d99; color: #fff; }
.app .chip[aria-pressed=true] { border-color: var(--z-gold); background: #ffd27d24; color: #fff; }
.payment-asset { border: 1px solid #ffffff26; background: #ffffff0f; color: #e6defa; }
.pay-box { border: 2px dashed #ffd27d80; border-radius: 16px; background: #0a062099; }
.address-heading { color: #fff; font-weight: 800; }
.network-label { color: var(--z-gold); font-weight: 800; }
.app .pay-what { color: #cfc6ea; }
.app .address-row code { border: 2px solid #ffffff26; border-radius: 10px; background: var(--z-deep); color: var(--z-gold); }
.app .address-row .btn { border-color: #ffffff59; background: #ffffff1a; color: #fff; }
.app .pay-notes { color: #a99fd0; }
.payment-assurance { color: #a99fd0; }
.payment-assurance svg { color: var(--z-teal); }
.wallet-card {
  border: 2px solid #ffd27d99; border-radius: 20px; box-shadow: 0 6px 0 var(--z-deep);
  background: radial-gradient(ellipse at top right, #ffd27d4d, transparent 62%), linear-gradient(160deg, #3a2278, #1d1247);
}
.wallet-label { color: #e6defa; font-weight: 700; }
.wallet-card strong { color: var(--z-gold); font: italic 900 2.7rem / 1.15 var(--z-display); letter-spacing: -.04em; text-shadow: 0 3px 0 #6d1230; }
.wallet-unit { color: var(--z-peach); font-weight: 800; }
.wallet-card p { border-top-color: #ffffff26; color: #cfc6ea; }
.app .history-title { color: #fff; font: 800 1.05rem var(--font-body); }
.history-heading p { color: var(--z-soft); }

/* Item shop */
.app .member-shop { --ivory: #fff; --muted: #b9aee0; border: 2px solid #ffffff26; border-radius: 22px; background: #130b2ecc; box-shadow: 0 6px 0 var(--z-deep); }
.app .member-shop h1, .app .member-shop h2, .app .member-shop h3 { color: #fff; font-family: var(--z-display); font-style: italic; font-weight: 900; letter-spacing: -.025em; }
.app .member-shop .eyebrow { color: #fff; }
.app .member-shop .app-lead { color: #cfc6ea; }
.shop-kicker { color: var(--z-gold); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.shop-season { border: 2px solid #ffd27d80; border-radius: 18px; box-shadow: 0 5px 0 var(--z-deep); }
.shop-season::before { background: linear-gradient(90deg, #130b2ef2 8%, #1d1247bf 42%, #1d124714 76%); }
.shop-season p { color: #e6defa; }
.shop-season-seal { border-color: #ffffff40; border-radius: 999px; background: #130b2ee6; color: #fff; }
.shop-campaign { border: 2px solid #ff6f9180; border-radius: 18px; background: linear-gradient(140deg, #ff6f9138, #2a1a66 62%); color: #fff; box-shadow: 0 5px 0 var(--z-deep); }
.shop-campaign-forge { border-color: #5fe3d680; background: linear-gradient(140deg, #5fe3d633, #1d1247 62%); }
.shop-campaign::after { background: none; }
.shop-campaign:hover, .shop-campaign[aria-pressed=true] { border-color: var(--z-gold); box-shadow: 0 5px 0 #6d1230; }
.shop-campaign strong { font: italic 900 clamp(1.4rem, 2.4vw, 1.9rem) / 1.06 var(--z-display); letter-spacing: -.025em; }
.shop-campaign-copy { color: #d9d2ee; }
.shop-campaign-link { border-top-color: #ffffff26; color: var(--z-gold); font-weight: 700; }
.shop-event-date, .shop-instructions, .shop-pagination, .shop-filterbar label, .shop-variant, .shop-pack-details { color: var(--z-soft); }
.shop-toolbar { border-color: #ffffff26; }
.shop-tabs button { border-bottom-width: 3px; color: #cfc6ea; font-size: .66rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.shop-tabs button:hover { color: #fff; }
.shop-tabs button[aria-pressed=true] { border-bottom-color: var(--z-rose); color: var(--z-gold); }
.shop-toolbar > button { color: var(--z-gold); }
.app .shop-filterbar .input, .app .member-shop .shop-variant select { border-color: #ffffff33; background-color: var(--z-night); color: #fff; }
.app .shop-pagination .btn { border-color: #ffffff59; background: #ffffff1a; color: #fff; }
.app .member-shop .shop-pack { border: 2px solid #ffffff26; border-radius: 18px; background: var(--z-panel); box-shadow: 0 5px 0 var(--z-deep); }
.app .member-shop .shop-pack-featured { border-color: #ffd27d99; background: linear-gradient(160deg, #3a2278, #1d1247); }
.shop-pack-tag { color: var(--z-gold); font-weight: 800; }
.shop-availability { color: #a8f0c6; font-weight: 700; }
.shop-availability[data-state=closed], .shop-availability[data-state=upcoming] { color: var(--z-peach); }
.shop-pack-art { background: radial-gradient(ellipse at 50% 65%, #ffd27d33, transparent 70%); }
.shop-art-quantity { border-color: #ffd27d66; background: var(--z-deep); color: var(--z-gold); }
.shop-price { color: var(--z-gold); font: italic 900 1.2rem / 1.3 var(--z-display); }
.shop-contents li { border-bottom-color: #ffffff14; color: #e6defa; }
.shop-contents strong { color: var(--z-gold); font-weight: 800; }
.shop-pack-more { color: var(--z-soft); }
.shop-pack-more summary { color: #e6defa; }
.shop-pack-description { color: #cfc6ea; }
.shop-pack-footer { border-top-color: #ffffff26; }
.app .member-shop .shop-rules { border: 2px solid #ffffff26; background: #130b2e99; }
.app .member-shop .shop-rules h2 { color: #fff; text-transform: none; letter-spacing: -.025em; font-size: 1.4rem; }
.shop-rule-grid p { color: #cfc6ea; }
.shop-rule-grid strong { color: #fff; font-weight: 800; }
.app .member-shop .fineprint { color: #9d92c9; }

/* Admin */
.admin-sections a { border: 2px solid #ffffff26; border-radius: 12px; color: #e6defa; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.admin-sections a:hover, .admin-sections a[aria-current=page] { border-color: var(--z-gold); background: #ffd27d1f; color: var(--z-gold); }
.admin-panel-card { border: 2px solid #ffffff26; border-radius: 18px; background: var(--z-panel); color: #fff; box-shadow: 0 5px 0 var(--z-deep); transition: transform .12s ease, border-color .15s ease; }
.admin-panel-card:hover { border-color: var(--z-gold); background: var(--z-panel); color: #fff; transform: translateY(-3px); }
.admin-panel-card strong { font-weight: 800; }
.admin-panel-card small, .admin-report-state, .admin-shop-pages, .admin-shop-message, .admin-shop-search label { color: var(--z-soft); }
.admin-panel-icon, .admin-shop-emblem { border: 2px solid #ffd27d80; border-radius: 12px; background: #ffd27d1f; color: var(--z-gold); }
.admin-panel-arrow { color: var(--z-gold); }
.admin-shop { border: 2px solid #ffffff26; border-radius: 18px; background: var(--z-indigo); color: #fff; box-shadow: 0 5px 0 var(--z-deep); }
.admin-shop-intro { border-bottom-color: #ffffff26; background: linear-gradient(110deg, #ff6f9138, #2a1a66 62%, #1d1247); }
.admin-shop-intro h2 { color: #fff; font: italic 900 1.4rem var(--z-display); letter-spacing: -.02em; }
.admin-shop-intro p { color: #d9d2ee; }
.admin-shop-stat { border: 2px solid #ffffff1f; border-radius: 14px; background: #130b2e80; }
.admin-shop-stat:first-child { border-color: #ffd27d80; background: linear-gradient(130deg, #ffd27d2b, #2a1a66); }
.admin-shop-stat dt, .admin-shop-stat small { color: var(--z-soft); }
.admin-shop-stat svg { color: var(--z-gold); }
.admin-shop-stat dd { font-family: var(--z-display); font-style: italic; font-weight: 900; }
.admin-shop-stat:first-child dd { color: var(--z-gold); }
.admin-shop-table th { background: #130b2e99; color: var(--z-soft); font-weight: 800; }
.admin-shop-table td { border-bottom-color: #ffffff14; }
.admin-shop-table tbody tr:hover { background: #ffffff0f; }
.admin-shop-price { color: var(--z-gold); }
.admin-shop-price svg { color: var(--z-gold); }
.admin-shop-date, .admin-shop-table small { color: var(--z-soft); }
.admin-shop-thumbnail { border-color: #ffd27d66; background: var(--z-deep); color: var(--z-gold); }
.admin-shop-delivered li { border-color: #ffffff26; background: #ffffff0f; color: #e6defa; }
[data-admin-shop-matched], .shop-editor-status, .shop-editor-event-name, .admin-wallet-adjust [data-wallet-target] { color: var(--z-gold); }
.earnings-total { border: 2px solid #ffd27d99; border-radius: 18px; background: radial-gradient(ellipse at 4% 0%, #ff6f9166 0, #2a1a66 55%, #1d1247 90%); box-shadow: 0 5px 0 var(--z-deep); }
.earnings-total h2 { color: #fff; }
.earnings-total-main > strong { color: var(--z-gold); font-family: var(--z-display); font-style: italic; font-weight: 900; text-shadow: 0 3px 0 #6d1230; }
.earnings-total-main p, .earnings-total-coins span { color: #d9d2ee; }
.earnings-total-coins { border-top-color: #ffd27d40; }
.earnings-total-coins div { color: #fff; }
.admin-earnings-chart h2 small, .admin-report-table .deposits th, .admin-wallets .deposits th { color: var(--z-soft); }
[data-admin-donors] tbody tr:first-child { background: #ffd27d1a; }
.admin-wallet-ranking { border: 2px solid #ffffff1f; border-radius: 14px; background: #130b2e80; }
.admin-wallet-ranking h3 { border-bottom-color: #ffffff1f; }
.admin-wallets h3, .admin-wallet-account strong { color: #fff; }
.admin-wallet-account small, .shop-editor-offer-name small, .shop-editor-offer-price small { color: var(--z-soft); }
.admin-wallet-accounts, .admin-wallet-adjust, .admin-wallet-audit, .shop-editor-history { border-top-color: #ffffff1f; }
.admin-wallet-adjust { background: #130b2e80; }
.admin-wallet-adjust label { color: #e6defa; }
.wallet-grant { color: #a8f0c6; }
.wallet-deduction { color: #ffa9a9; }
.shop-editor-filters [aria-pressed="true"] { border-color: var(--z-gold); background: #ffd27d24; color: var(--z-gold); }
.shop-editor-thumb { background: var(--z-deep); }
.shop-editor-thumb svg { color: var(--z-gold); }
.shop-editor-grid details { background: #ffffff0f; }

/* ---------- Motion ---------- */
@keyframes lantern-rise {
  0% { opacity: 0; transform: translate(0, 0) rotate(-3deg); }
  8% { opacity: .95; }
  50% { transform: translate(-3vw, -70vh) rotate(3deg); }
  88% { opacity: .9; }
  100% { opacity: 0; transform: translate(2vw, -140vh) rotate(-2deg); }
}
@keyframes petal-fall {
  0% { opacity: 0; transform: translate(0, 0) rotate(0); }
  10% { opacity: .9; }
  85% { opacity: .8; }
  100% { opacity: 0; transform: translate(-26vw, 96vh) rotate(540deg); }
}
@keyframes courier-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) {
  .kv-lanterns i, .kv-petals i, .courier { animation: none; }
  .kv-petals { display: none; }
  .kv-lanterns i { opacity: .9; bottom: 46%; }
}

/* ---------- Narrow screens ---------- */
@media (max-width: 1140px) {
  .nav a[aria-current=page] { box-shadow: inset 3px 0 var(--z-rose); }
}
@media (max-width: 960px) {
  .hero { min-height: 0; }
  .kv::after { background: linear-gradient(180deg, #130b2ee6 0%, #1d1247b3 46%, #130b2e 100%); }
  .hero-layout { grid-template-columns: 1fr; min-height: 0; }
  .hero-content { padding: 34px 0 10px; }
  .hero-art { height: 360px; min-height: 0; }
  .hero-meta .wrap { grid-template-columns: repeat(2, 1fr); }
  .courier { width: 110px; bottom: -30px; }
  body:not(.member-view) .cta-band { padding: 40px 32px; }
  .cta-figure { display: none; }
}
@media (max-width: 640px) {
  body:not(.member-view) .section { padding: 68px 0; }
  body:not(.member-view) .section.flush { padding-top: 0; }
  #races { padding: calc(68px + 3.4vw) 0; }
  body:not(.member-view) #classes { padding-top: 68px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-meta span { font-size: .62rem; gap: 8px; }
  .hero-meta strong { font-size: 1.7rem; }
  .courier { display: none; }
  .page-hero { padding: 120px 0 34px; }
  .realm-panel { padding: 20px 18px; }
}
@media (max-width: 760px) {
  .app .app-side { padding: 14px; }
  .portal-banner { min-height: 0; padding: 24px; }
  .portal-banner::before { inset: 8px 4px 0 auto; width: 42%; opacity: .22; }
  .portal-banner-mark { right: 20px; }
}
