/* 13 Kingdoms TCG — site styles */
:root {
  --night: #0a0910;
  --night-2: #12101c;
  --panel: #171425;
  --line: rgba(212, 166, 74, 0.22);
  --gold: #d9ad55;
  --gold-hi: #f6dc9a;
  --gold-lo: #9a7130;
  --ember: #c2412d;
  --text: #ece6d8;
  --muted: #a49c8c;
  --radius: 14px;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(217, 173, 85, 0.13), transparent 70%),
    radial-gradient(900px 500px at 100% 110%, rgba(194, 65, 45, 0.10), transparent 70%),
    var(--night);
  color: var(--text);
  font: 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--gold-hi); }
a:hover { color: #fff; }

.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* ── Header ───────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 9, 16, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; letter-spacing: 0.12em;
  color: var(--gold-hi); text-decoration: none; font-size: 18px; white-space: nowrap;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold-hi);
  font-size: 13px; letter-spacing: 0;
  background: radial-gradient(circle at 50% 35%, rgba(246, 220, 154, 0.25), transparent 70%);
}
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 8px; letter-spacing: 0.02em;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-hi); background: rgba(217, 173, 85, 0.08); }
.cart-link { display: inline-flex; align-items: center; gap: 8px; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--gold); color: #1a1408; font-size: 12px; font-weight: 700;
  display: inline-grid; place-items: center;
}
.cart-count[data-zero] { background: rgba(217, 173, 85, 0.2); color: var(--gold-hi); }
.menu-btn { display: none; }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  --b: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--body); letter-spacing: 0.04em;
  padding: 15px 26px; border-radius: 999px; cursor: pointer;
  text-decoration: none; border: 1px solid var(--b); transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-gold {
  color: #1d1505;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  box-shadow: 0 6px 30px rgba(217, 173, 85, 0.25), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-gold:hover { color: #1d1505; transform: translateY(-1px); box-shadow: 0 10px 40px rgba(217, 173, 85, 0.38); }
.btn-ghost { color: var(--gold-hi); background: transparent; }
.btn-ghost:hover { background: rgba(217, 173, 85, 0.1); color: #fff; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }

/* ── Type ─────────────────────────────────────────── */
.eyebrow {
  font: 600 12px/1 var(--body); letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0 0 16px; letter-spacing: 0.02em; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 20px; }
.gold-text {
  background: linear-gradient(180deg, #fff6d8 0%, var(--gold-hi) 35%, var(--gold) 65%, var(--gold-lo) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: 18px; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

section { padding: 96px 0; }
.divider {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* ── Hero ─────────────────────────────────────────── */
.hero { padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(52px, 8.5vw, 112px); letter-spacing: 0.06em; line-height: 0.95; margin-bottom: 18px; }
.hero h1 small { display: block; font-size: 0.32em; letter-spacing: 0.5em; color: var(--gold); margin-bottom: 14px; }
.tagline { font-family: var(--display); font-size: clamp(20px, 2.4vw, 28px); color: var(--text); margin: 0 0 14px; }
.hero .lede { margin: 0 0 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14px; }
.hero-meta span::before { content: "✦ "; color: var(--gold); }

.stars {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1px 1px at 12% 22%, #fff, transparent 60%),
    radial-gradient(1px 1px at 28% 78%, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 12%, #f6dc9a, transparent 60%),
    radial-gradient(1px 1px at 63% 64%, #fff, transparent 60%),
    radial-gradient(1px 1px at 77% 30%, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 82%, #f6dc9a, transparent 60%),
    radial-gradient(1px 1px at 95% 14%, #fff, transparent 60%),
    radial-gradient(1px 1px at 6% 60%, #fff, transparent 60%);
}

/* Pack art (falls back to a drawn pack when no image is supplied) */
.pack {
  position: relative; aspect-ratio: 3 / 4.75; width: min(340px, 100%); margin-inline: auto;
  border-radius: 10px; overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255,255,255,.18), transparent 30%, transparent 70%, rgba(255,255,255,.08)),
    radial-gradient(120% 70% at 50% 30%, #3a2a5a, #140f22 70%);
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px var(--gold-lo), 0 0 60px rgba(217,173,85,.18);
  transform: rotate(-4deg);
}
.pack::before, .pack::after { /* crimp zones */
  content: ""; position: absolute; left: 0; right: 0; height: 18px; z-index: 2;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,.35) 0 3px, rgba(255,255,255,.12) 3px 6px);
}
.pack::before { top: 0; } .pack::after { bottom: 0; }
.pack > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.pack-fallback {
  position: absolute; inset: 18px 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px; gap: 10px;
}
.pack-fallback .num { font-family: var(--display); font-size: 92px; line-height: 1; }
.pack-fallback .name { font-family: var(--display); letter-spacing: .3em; font-size: 20px; color: var(--gold-hi); }
.pack-fallback .ribbon {
  margin-top: 18px; background: var(--ember); color: #fff; font: 700 12px/1 var(--body); letter-spacing: .18em;
  padding: 10px 16px; transform: rotate(-2deg); box-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.pack-fallback .small { font-size: 11px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-top: 16px; }
.pack-wrap { position: relative; }
.pack-wrap::before {
  content: ""; position: absolute; inset: -10% -5%; z-index: -1;
  background: radial-gradient(closest-side, rgba(217,173,85,.25), transparent);
}

/* ── Feature grid ─────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
}
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--display); font-size: 20px; color: var(--gold-hi);
  border: 1px solid var(--gold-lo); margin-bottom: 18px;
  background: radial-gradient(circle at 50% 30%, rgba(217,173,85,.2), transparent 70%);
}
.card p { color: var(--muted); margin: 0; }

/* ── Fundraiser feature ───────────────────────────── */
.feature { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: "✦"; color: var(--gold); flex: none; width: 22px; text-align: center; line-height: 1.65;
}
.note {
  font-size: 14px; color: var(--muted); border-left: 2px solid var(--gold-lo);
  padding: 4px 0 4px 14px; margin: 0 0 28px;
}

/* ── Kingdoms ─────────────────────────────────────── */
.kingdom-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }
.kingdom-grid .crest { flex: 0 1 calc((100% - 6 * 14px) / 7); min-width: 140px; }
.crest {
  --c1: #5a4520; --c2: #1a1408;
  position: relative; border-radius: var(--radius); padding: 20px 16px 18px; text-decoration: none; color: var(--text);
  background: linear-gradient(170deg, var(--c1), var(--c2) 75%);
  border: 1px solid rgba(255,255,255,.08); overflow: hidden; min-height: 150px;
  display: flex; flex-direction: column; justify-content: flex-end; transition: transform .2s, border-color .2s;
}
.crest:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--text); }
.crest .numeral {
  position: absolute; top: 10px; right: 14px; font-family: var(--display); font-size: 44px; line-height: 1;
  color: rgba(255,255,255,.14);
}
.crest .k-name { font-family: var(--display); font-size: 17px; font-weight: 700; color: #fff; }
.crest .k-key { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: 4px; }

.kingdom-list { display: grid; gap: 22px; margin-top: 48px; }
.kingdom {
  --c1: #5a4520; --c2: #1a1408;
  display: grid; grid-template-columns: 220px 1fr; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel); scroll-margin-top: 90px;
}
.kingdom-art {
  position: relative; background: linear-gradient(170deg, var(--c1), var(--c2) 80%); min-height: 220px;
  display: grid; place-items: center;
}
.kingdom-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kingdom-art .numeral { font-family: var(--display); font-size: 88px; color: rgba(255,255,255,.22); }
.kingdom-body { padding: 28px 32px; }
.kingdom-body h3 { font-size: 26px; margin-bottom: 4px; }
.kingdom-body .theme { color: var(--muted); margin: 0 0 18px; }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 8px 16px; font-size: 15px; }
.kv dt { color: var(--gold); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding-top: 3px; }
.kv dd { margin: 0; }
.kv dd b { color: #fff; }

/* Tribe colors */
.t1  { --c1: #8a2316; --c2: #1d0805; }  /* Hell Cats */
.t2  { --c1: #5b5f66; --c2: #160d12; }  /* Restless */
.t3  { --c1: #7b5a2c; --c2: #1b130a; }  /* Faithless */
.t4  { --c1: #8f2a2a; --c2: #2a1a08; }  /* Devout */
.t5  { --c1: #2f6b2f; --c2: #0c1a0c; }  /* Wildwood */
.t6  { --c1: #8a4b1f; --c2: #171313; }  /* Babel Clans */
.t7  { --c1: #a1552a; --c2: #18202c; }  /* Holler Kin */
.t8  { --c1: #1d5f7a; --c2: #06121c; }  /* Aquanauts */
.t9  { --c1: #1f7a4a; --c2: #050a08; }  /* Backdoor */
.t10 { --c1: #7d1c1c; --c2: #1a1c22; }  /* Horde */
.t11 { --c1: #4f86b5; --c2: #14202c; }  /* Skyborn */
.t12 { --c1: #4b3a7d; --c2: #0d0c22; }  /* Changelings */
.t13 { --c1: #2c3550; --c2: #0c0d12; }  /* Guild */

/* ── Shop ─────────────────────────────────────────── */
.page-head { padding: 64px 0 24px; }
.shop-layout { display: grid; grid-template-columns: 1fr 400px; gap: 32px; align-items: start; padding-bottom: 96px; }
.products { display: grid; gap: 18px; }
.product {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 22px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.product .thumb {
  aspect-ratio: 3/4.75; border-radius: 6px; overflow: hidden; position: relative;
  background: radial-gradient(120% 70% at 50% 30%, #3a2a5a, #140f22 70%);
  box-shadow: 0 0 0 1px var(--gold-lo); display: grid; place-items: center;
  font-family: var(--display); color: var(--gold-hi); font-size: 34px;
}
.product .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product h3 { margin: 0 0 2px; font-size: 19px; }
.product .sub { color: var(--gold); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.product p { color: var(--muted); margin: 8px 0 0; font-size: 15px; }
.product .buy { text-align: right; display: grid; gap: 10px; justify-items: end; }
.price { font-family: var(--display); font-size: 24px; color: #fff; }
.product .btn { padding: 12px 20px; font-size: 14px; }

.cart {
  position: sticky; top: 88px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.cart h2 { font-size: 24px; display: flex; justify-content: space-between; align-items: baseline; }
.cart h2 small { font-family: var(--body); font-size: 13px; color: var(--muted); letter-spacing: 0; font-weight: 400; }
.cart-empty { color: var(--muted); padding: 18px 0; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line .n { font-weight: 600; font-size: 15px; }
.cart-line .lp { text-align: right; font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button {
  width: 30px; height: 30px; border: 0; background: none; color: var(--gold-hi); font-size: 18px; cursor: pointer; border-radius: 50%;
}
.qty button:hover { background: rgba(217,173,85,.12); }
.qty span { min-width: 26px; text-align: center; font-size: 14px; }
.remove { background: none; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; padding: 0; justify-self: end; }
.totals { margin: 16px 0 20px; display: grid; gap: 6px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; color: var(--muted); }
.totals .grand { color: #fff; font-weight: 700; font-size: 18px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }

.form { display: grid; gap: 12px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .row-3 { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 12px; }
.form label { display: grid; gap: 5px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.form input, .form select {
  font: 15px var(--body); color: var(--text); background: var(--night-2);
  border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 11px 12px; width: 100%;
}
.form input:focus, .form select:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
.form legend { font-family: var(--display); color: var(--gold-hi); font-size: 15px; padding: 0; margin: 10px 0 2px; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.agree { display: flex !important; gap: 10px; align-items: flex-start; text-transform: none !important; letter-spacing: 0 !important; font-size: 13px !important; line-height: 1.5; }
.agree input { width: auto; margin-top: 3px; }
.form-error { color: #ff9b8a; font-size: 14px; min-height: 1em; margin: 0; }
.secure { font-size: 12px; color: var(--muted); text-align: center; margin: 10px 0 0; }

.banner {
  border: 1px solid var(--gold-lo); background: rgba(217,173,85,.08); border-radius: 12px;
  padding: 14px 18px; color: var(--gold-hi); font-size: 15px; margin-bottom: 18px;
}

/* ── Simple message pages ─────────────────────────── */
.message { padding: 120px 0; text-align: center; }
.message .lede { margin: 0 auto 32px; }
.seal {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 28px; display: grid; place-items: center;
  font-size: 38px; color: #1d1505; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
  box-shadow: 0 0 60px rgba(217,173,85,.35);
}

/* ── Footer ───────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--gold-hi); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 960px) {
  .hero .wrap, .feature { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 48px; }
  .hero .pack-wrap { display: none; }
  .pack { width: 240px; }
  .grid-3 { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .cart { position: static; }
  .kingdom { grid-template-columns: 1fr; }
  .kingdom-art { min-height: 140px; }
}
@media (max-width: 720px) {
  section { padding: 72px 0; }
  .menu-btn {
    display: inline-grid; place-items: center; margin-left: auto; width: 42px; height: 42px;
    background: none; border: 1px solid var(--line); border-radius: 10px; color: var(--gold-hi); font-size: 20px; cursor: pointer;
  }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--night); border-bottom: 1px solid var(--line); padding: 10px 16px 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .product { grid-template-columns: 84px 1fr; }
  .product .buy { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .form .row, .form .row-3 { grid-template-columns: 1fr; }
}

/* ── Logo + art-slot additions ────────────────────── */
body {
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(190, 210, 255, 0.10), transparent 70%),   /* heaven */
    radial-gradient(900px 520px at 92% -6%, rgba(194, 45, 30, 0.16), transparent 70%),     /* hell */
    radial-gradient(1200px 600px at 50% -10%, rgba(217, 173, 85, 0.10), transparent 70%),
    var(--night);
}
.brand-logo { height: 52px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.6)); }
.site-header .wrap { height: 74px; }
.ed-badge { margin-left: -8px; }

.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 30%;
  opacity: .38; mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
}
.hero .wrap { position: relative; }
.hero-logo { margin: 0 0 6px -2%; line-height: 0; }
.hero-logo img { width: min(560px, 100%); height: auto; filter: drop-shadow(0 10px 40px rgba(0,0,0,.7)) drop-shadow(0 0 40px rgba(217,173,85,.18)); }

.pack-logo { width: 88%; height: auto; filter: drop-shadow(0 6px 20px rgba(0,0,0,.6)); }

.crest-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .4s, opacity .3s; }
.crest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.85)); }
.crest .numeral, .crest .k-name, .crest .k-key { position: relative; z-index: 1; }
.crest .numeral { position: absolute; }
.crest:hover .crest-art { transform: scale(1.06); opacity: 1; }
.kingdom-grid .crest { min-height: 190px; }

.kingdom-art img.asc { opacity: 0; transition: opacity .35s; }
.kingdom:hover .kingdom-art img.asc { opacity: 1; }
.kingdom-art { min-height: 260px; }
.kingdom { grid-template-columns: 280px 1fr; }

.product .thumb .thumb-logo { width: 86%; height: auto; }

@media (max-width: 960px) {
  .hero-logo { margin-left: 0; }
  .kingdom { grid-template-columns: 1fr; }
  .kingdom-art { min-height: 300px; }
}
@media (max-width: 720px) {
  .brand-logo { height: 44px; }
}

/* Kingdoms page shows full Leader cards */
.kingdom { grid-template-columns: 300px 1fr; }
.kingdom-art { min-height: 0; padding: 22px; background: radial-gradient(120% 90% at 50% 20%, var(--c1), var(--c2) 85%); }
.kingdom-art .card-frame { position: relative; width: 100%; aspect-ratio: 550 / 770; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.6); }
.kingdom-art .card-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kingdom-art .card-frame .numeral { position: absolute; inset: 0; display: grid; place-items: center; }
.kingdom-art .hover-hint { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.kingdom-body { align-self: center; }
@media (max-width: 960px) { .kingdom { grid-template-columns: 1fr; } .kingdom-art .card-frame { width: min(300px, 80%); margin: 0 auto; } }
.kingdom.show-asc .kingdom-art img.asc { opacity: 1; }
.kingdom .card-frame { cursor: pointer; }
.hero-bg { opacity: .55; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,16,.92) 0%, rgba(10,9,16,.7) 45%, rgba(10,9,16,.15) 75%, transparent); }
@media (max-width: 960px) { .hero-bg::after { background: rgba(10,9,16,.7); } }

/* Signup + announcement */
.notify { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 520px; margin: 28px auto 0; }
.notify input[type=email] { flex: 1 1 240px; font: 15px var(--body); color: var(--text); background: var(--night-2); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 14px 20px; }
.notify input[type=email]:focus { outline: 2px solid var(--gold); border-color: transparent; }
.notify .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notify-msg { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; color: var(--gold-hi); min-height: 1.2em; }
.notify-msg.bad { color: #ff9b8a; }
.banner .notify { margin: 14px 0 0; justify-content: flex-start; }
.announce { background: linear-gradient(90deg, #7d1c1c, #3a1d5c); color: #fff; text-align: center; font-size: 14px; font-weight: 500; padding: 9px 16px; }
