/* ============================================================
   DESIGN WARS — v6 Arena UI design system
   parchment + ink + arena red/blue/gold, hard borders, offset shadows
   ============================================================ */

:root {
  --parchment: #e9e1cf;
  --panel: #f7f2e7;
  --panel-alt: #f2ecdd;
  --panel-soft: #fbf8f0;
  --ink: #1e1b16;
  --ink-65: rgba(30, 27, 22, 0.65);
  --ink-55: rgba(30, 27, 22, 0.55);
  --red: #a8281e;
  --red-btn: #c13327;
  --red-btn-shadow: #6e1811;
  --blue: #2c5fb8;
  --blue-shadow: #17335f;
  --gold: #c99b3f;
  --gold-shadow: #7a5b1e;
  --night: #141222;
  --den: #0e0c16;
  --footer: #26221b;
  --cream: #e9e1cf;
  --font-display: "Graduate", serif;
  --font-body: "Space Grotesk", sans-serif;
  --font-mono: ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 70px; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); }
a:hover { color: var(--ink); }

img { image-rendering: pixelated; }

@keyframes dwBlink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0.2; } }
@keyframes dwWait { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
@keyframes dwGlow { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.8; } }
@keyframes dwStamp {
  0% { transform: scale(2.4) rotate(-6deg); opacity: 0; }
  60% { transform: scale(0.95) rotate(-6deg); opacity: 1; }
  100% { transform: scale(1) rotate(-6deg); opacity: 1; }
}
@keyframes dwRise {
  from { transform: translateY(14px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes dwShake {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-6px, 2px); }
  40% { transform: translate(5px, -3px); }
  60% { transform: translate(-4px, -2px); }
  80% { transform: translate(3px, 2px); }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0.14;
  background-image: radial-gradient(circle, rgba(30, 27, 22, 0.5) 0.5px, transparent 0.7px);
  background-size: 4px 4px;
}

/* ---------- header ---------- */
.dw-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--panel);
  border-bottom: 2px solid var(--ink);
  padding: 10px clamp(14px, 2.4vw, 28px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.dw-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.dw-logo-mark {
  width: 40px; height: 40px;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 rgba(30, 27, 22, 0.25);
  display: block;
  flex: none;
  image-rendering: auto;
}
.dw-logo-word {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.dw-logo-word em { color: var(--red); font-style: normal; }
.dw-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 30px);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
}
@media (max-width: 1100px) {
  .dw-nav { position: static; transform: none; flex: 1; }
}
.dw-nav a {
  text-decoration: none;
  color: var(--ink-65);
  padding-bottom: 4px;
  border-bottom: 3px solid transparent;
}
.dw-nav a:hover { color: var(--red); }
.dw-nav a.active { color: var(--red); border-bottom-color: var(--red); }
.nav-sponsor {
  font-family: var(--font-display);
  font-size: inherit;
  letter-spacing: inherit;
  color: var(--gold-shadow);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0 0 4px;
  cursor: pointer;
}
.nav-sponsor:hover { color: var(--gold); }

.nav-menu-btn {
  display: none;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--red);
  background: none;
  border: none;
  padding: 4px 2px;
  cursor: pointer;
}

.dw-menu-drop {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--panel);
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 8px 0 rgba(30, 27, 22, 0.18);
  padding: 4px 16px 16px;
  flex-direction: column;
  animation: dwRise 0.18s ease-out both;
}
.dw-menu-drop:not([hidden]) { display: flex; }
.dw-menu-drop a:not(.btn), .dw-menu-drop button {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1.5px dashed rgba(30, 27, 22, 0.25);
  padding: 15px 4px;
  cursor: pointer;
}
.dw-menu-drop a:not(.btn):hover, .dw-menu-drop button:hover { color: var(--red); }
.dw-menu-drop .btn { margin-top: 14px; text-align: center; border-bottom: 2px solid var(--ink); }
.btn {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 2px solid var(--ink);
  padding: 12px 20px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.08s, box-shadow 0.08s;
}
/* all button variants share the red/white treatment */
.btn-ghost, .btn-blue, .btn-red, .btn-gold, .btn-ink {
  color: #fff;
  background: var(--red-btn);
  box-shadow: 0 4px 0 var(--red-btn-shadow);
}
.btn-ghost:hover, .btn-blue:hover, .btn-red:hover, .btn-gold:hover, .btn-ink:hover {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--red-btn-shadow);
  color: #fff;
}
.btn-ghost { font-size: 12.5px; padding: 10px 16px; }

/* ---------- shared bits ---------- */
.card {
  background: var(--panel);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(30, 27, 22, 0.25);
}
.mono { font-family: var(--font-mono); }
.display { font-family: var(--font-display); }
.label {
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: rgba(30, 27, 22, 0.7);
}
.side-blue { color: var(--blue); }
.side-red { color: var(--red); }

.countdown { display: flex; gap: 10px; align-items: baseline; justify-content: center; }
.countdown .num { font-family: var(--font-display); font-size: clamp(24px, 3vw, 40px); line-height: 1; text-align: center; }
.countdown .unit {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em;
  color: var(--ink-55); text-align: center; margin-top: 4px;
}
.countdown .sep { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 30px); color: rgba(30, 27, 22, 0.5); }

.seal-medallion {
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #c13327, #8e1f16 70%);
  box-shadow: 0 3px 0 rgba(30, 27, 22, 0.3), inset 0 0 0 5px rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.seal-medallion .inner {
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  color: #f2d9d2;
}

.sponsor-strip {
  background: var(--footer);
  color: var(--cream);
  text-align: center;
  padding: 9px 14px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
}
.sponsor-strip a { color: var(--gold); text-decoration: none; }

/* ---------- live: arena stage ---------- */
.stage {
  position: relative;
  min-height: clamp(640px, 90vh, 1020px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ede4cf 0%, #e3d5b4 42%, #d8bf8e 100%);
  overflow: hidden;
}
.stage-bg {
  position: absolute; inset: 0; z-index: 0;
  background-position: center;
  background-size: cover;
}
.stage-glow {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 58% 34% at 50% 8%,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.65) 40%,
    rgba(255, 255, 255, 0.22) 65%,
    transparent 82%
  );
}
.fighter {
  position: absolute;
  bottom: 8%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.fighter.left { left: calc(50% - clamp(170px, 20vw, 260px)); transform: translateX(-50%); }
.fighter.right { right: calc(50% - clamp(170px, 20vw, 260px)); transform: translateX(50%); }
@keyframes dwIdle {
  0%, 100% { transform: scaleY(1) scaleX(1); }
  50% { transform: scaleY(0.965) scaleX(1.02); }
}
.fighter img {
  width: clamp(120px, 13vw, 190px);
  height: clamp(160px, 18vw, 260px);
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 6px 0 rgba(30, 27, 22, 0.25));
  transform-origin: 50% 100%;
  animation: dwIdle 1.1s ease-in-out infinite;
}
.fighter.right img { animation-delay: -0.55s; }
@media (prefers-reduced-motion: reduce) { .fighter img { animation: none; } }
.fighter .handle {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(247, 242, 231, 0.88);
  border: 1.5px solid var(--ink);
  padding: 5px 10px;
  text-decoration: none;
  color: var(--ink);
}
.fighter .handle .x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  background: var(--ink); border-radius: 4px;
  color: var(--panel); font-weight: 700; font-size: 11px; line-height: 1;
}
.fighter .handle .at { font-family: var(--font-mono); font-size: 11.5px; }

.stage-top {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: 14px;
  padding: 14px clamp(14px, 2.4vw, 28px) 10px;
}
.battle-chip {
  background: var(--panel);
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 rgba(30, 27, 22, 0.25);
  padding: 5px 12px;
  flex: none;
  text-align: center;
}
.battle-chip .top { display: flex; align-items: center; justify-content: center; gap: 8px; }
.battle-chip .name { font-family: var(--font-display); font-size: 12px; white-space: nowrap; }
.battle-chip .live {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--red); font-family: var(--font-display); font-size: 9px;
}
.battle-chip .live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  animation: dwBlink 1.3s infinite;
}
.battle-chip .when { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.06em; color: rgba(30, 27, 22, 0.6); white-space: nowrap; margin-top: 3px; }

.vs-row {
  flex: 1;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(12px, 2vw, 26px);
  min-width: min(520px, 100%);
}
.vs-avatar {
  width: clamp(68px, 6.8vw, 100px);
  height: clamp(68px, 6.8vw, 100px);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(30, 27, 22, 0.25);
  background: var(--panel);
  padding: 3px;
  flex: none;
}
.vs-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; image-rendering: auto; }
.vs-name { text-align: center; }
.vs-name .n {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1; white-space: nowrap;
  text-shadow: 0 2px 0 rgba(247, 242, 231, 0.85);
}
.vs-name .r { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.12em; margin-top: 5px; }
.vs-mark { text-align: center; padding: 0 clamp(2px, 0.8vw, 10px); }
.vs-mark .star { color: var(--gold); font-size: 15px; line-height: 1; text-shadow: 0 1px 0 rgba(247, 242, 231, 0.8); }
.vs-mark .vs { font-family: var(--font-display); font-size: clamp(34px, 4vw, 56px); line-height: 1.05; text-shadow: 0 3px 0 rgba(247, 242, 231, 0.85); }

.vote-x { font-size: 15px; letter-spacing: 0.08em; padding: 14px 0; text-align: center; }

.tribunal {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
  align-items: stretch;
  padding: clamp(16px, 2.4vh, 26px) clamp(14px, 2.4vw, 28px);
  background: var(--parchment);
  border-top: 2px solid var(--ink);
}
.tribunal .dispute-card { width: 100%; justify-content: center; }
.tribunal-lions {
  background: var(--panel);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(30, 27, 22, 0.25);
  padding: 14px;
  display: flex; flex-direction: column;
  gap: 9px;
}
.tribunal-lions .t-head {
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-align: center;
  border-bottom: 1.5px dashed rgba(30, 27, 22, 0.35);
  padding-bottom: 9px;
}
.lion-vrow {
  display: flex; align-items: center;
  gap: 10px;
  background: var(--panel-soft);
  border: 1.5px solid rgba(30, 27, 22, 0.3);
  padding: 7px 10px;
}
.lion-vrow .meta { display: flex; flex-direction: column; gap: 2px; }
.lion-vrow .lion-name { font-size: 14px; }
.lion-vrow .lion-role { font-size: 11.5px; }
.lion-vrow .tag-locked, .lion-vrow .tag-waiting { margin-left: auto; font-size: 9.5px; padding: 4px 7px; }
.lion-portrait.sm { width: 42px; height: 52px; }
.lions-apply-sm {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--red-btn);
  border: 2px solid var(--ink);
  box-shadow: 0 3px 0 var(--red-btn-shadow);
  padding: 10px 12px;
  cursor: pointer;
  margin-top: auto;
  transition: transform 0.08s, box-shadow 0.08s;
}
.lions-apply-sm:hover { transform: translateY(2px); box-shadow: 0 1px 0 var(--red-btn-shadow); }
.dispute-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--panel);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(30, 27, 22, 0.25);
  padding: clamp(22px, 3.4vw, 34px) clamp(24px, 4vw, 46px);
  width: min(860px, 100%);
  position: relative;
}
.dispute-card::before {
  content: "";
  position: absolute; inset: 7px;
  border: 1.5px solid rgba(30, 27, 22, 0.35);
  pointer-events: none;
}
.dispute-card .k {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.6vw, 17px);
  letter-spacing: 0.3em;
  color: var(--red);
  text-align: left;
}
.dispute-card .t {
  display: block;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.75;
  color: rgba(30, 27, 22, 0.88);
  text-align: left;
}
.dispute-card .t::first-letter {
  font-family: var(--font-display);
  float: left;
  font-size: clamp(46px, 6vw, 64px);
  line-height: 0.82;
  padding: 10px 12px 6px;
  margin: 6px 14px 2px 0;
  color: var(--red);
  background: var(--panel-alt);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(30, 27, 22, 0.3);
}
.dispute-card a { align-self: flex-start; }
.tweet-fade {
  display: block;
  flex: 1;
  min-height: 140px;
  max-height: 280px;
  overflow: hidden;
  border: 1.5px solid rgba(30, 27, 22, 0.3);
  border-bottom: none;
  -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent 98%);
  mask-image: linear-gradient(180deg, #000 35%, transparent 98%);
  width: 100%;
  align-self: stretch !important;
}
.tweet-fade img { width: 100%; display: block; image-rendering: auto; }
.tribunal .dispute-card { justify-content: flex-start; }
.dispute-card a {
  font-family: var(--font-mono);
  font-size: 9.5px; letter-spacing: 0.1em;
  color: var(--ink-65);
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 27, 22, 0.35);
  padding-bottom: 2px;
}
.dispute-card a:hover { color: var(--red); border-bottom-color: var(--red); }

.designs-scope {
  text-align: center;
  padding: 12px 16px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-65);
}

.stage-panels {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 14px;
  padding: 6px clamp(14px, 2.4vw, 28px) 20px;
}
.crowd-panel {
  flex: 0 1 clamp(240px, 24vw, 280px);
  min-width: min(240px, 100%);
  padding: 16px;
  display: flex; flex-direction: column; gap: 13px;
}
.crowd-panel .big { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; }
.crowd-panel .sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--ink-55); }
.crowd-panel .rule { border-top: 1px dashed rgba(30, 27, 22, 0.35); padding-top: 13px; display: flex; flex-direction: column; gap: 9px; }
.crowd-panel .note { font-family: var(--font-mono); font-size: 10px; color: rgba(30, 27, 22, 0.5); }
.feed-panel {
  flex: 0 1 clamp(250px, 25vw, 300px);
  min-width: min(250px, 100%);
  padding: 16px;
  display: flex; flex-direction: column; gap: 11px;
}
.feed-panel .title { font-family: var(--font-display); font-size: 13.5px; letter-spacing: 0.08em; }
.feed-item { display: flex; gap: 9px; }
.feed-item .sw { flex: none; width: 24px; height: 24px; border: 1.5px solid var(--ink); overflow: hidden; }
.feed-item .sw img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feed-item .body { flex: 1; font-size: 12.5px; line-height: 1.45; }
.feed-item .meta { display: flex; justify-content: space-between; gap: 8px; }
.feed-item .time { font-family: var(--font-mono); font-size: 9px; color: rgba(30, 27, 22, 0.5); }
@keyframes dwFeedLoop { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.feed-scroll {
  max-height: 264px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 34px);
  mask-image: linear-gradient(180deg, transparent 0, #000 34px);
}
.feed-scroll .track {
  display: flex; flex-direction: column;
  animation: dwFeedLoop 22s linear infinite;
}
.feed-scroll .set { display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; }
.feed-scroll:hover .track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .feed-scroll .track { animation: none; } }
.feed-events { border-top: 1px dashed rgba(30, 27, 22, 0.35); padding-top: 11px; display: flex; flex-direction: column; gap: 7px; }
.feed-events .row { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.feed-events .t { font-family: var(--font-mono); font-size: 9.5px; color: rgba(30, 27, 22, 0.5); }
.feed-embed { max-height: 460px; overflow-y: auto; border: 1.5px solid rgba(30, 27, 22, 0.25); }
.feed-embeds {
  max-height: 420px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 8px;
}
.feed-embeds .twitter-tweet { margin: 0 !important; }
.roar-quiet { display: flex; flex-direction: column; gap: 8px; padding: 10px 0 4px; text-align: center; }
.roar-quiet .q1 { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.1em; }
.roar-quiet .q2 { font-size: 12.5px; line-height: 1.5; color: var(--ink-65); text-wrap: pretty; }
.roar-join {
  align-self: center;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.1em;
  color: var(--ink-65);
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 27, 22, 0.35);
  padding-bottom: 2px;
  margin-top: 2px;
}
.roar-join:hover { color: var(--red); border-bottom-color: var(--red); }

.strip-title {
  background: var(--panel);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: 11px 8px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(13px, 1.5vw, 16px);
  letter-spacing: 0.34em;
  text-indent: 0.34em;
}

/* ---------- lions row ---------- */
.lions-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(124px, 100%), 1fr));
  gap: 12px;
  padding: 16px clamp(14px, 2.4vw, 28px) 20px;
}
.lion-card {
  background: var(--panel);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(30, 27, 22, 0.18);
  padding: 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 10px;
  align-items: center;
  text-align: left;
}
.lion-card .lion-portrait { grid-row: 1; grid-column: 1; }
.lion-card .lion-meta { grid-row: 1; grid-column: 2; display: flex; flex-direction: column; gap: 4px; }
.lion-card .lion-status { grid-row: 2; grid-column: 1 / -1; display: flex; justify-content: center; }
.lion-portrait {
  width: 74px; height: 92px;
  border: 2px solid var(--ink);
  position: relative;
  background: repeating-conic-gradient(#dfd7c2 0% 25%, #efe9da 0% 50%) 0 0/12px 12px;
  overflow: hidden;
  flex: none;
}
.lion-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--ink-55); text-align: center; padding: 6px;
  overflow: hidden;
}
.lion-name { font-family: var(--font-display); font-size: 16px; line-height: 1; }
.lion-role { font-size: 11px; color: rgba(30, 27, 22, 0.6); }
.tag-locked {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--red); border: 1.5px solid var(--red);
  padding: 5px 9px; white-space: nowrap;
}
.tag-waiting {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--ink-55); border: 1.5px dashed rgba(30, 27, 22, 0.4);
  padding: 5px 9px; white-space: nowrap;
  animation: dwWait 2.4s infinite;
}
.seal-card {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 9px;
  text-align: center;
}
.seal-card .t { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.16em; white-space: nowrap; }
.seal-card .wax { width: 86px; height: 80px; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 3px 0 rgba(30, 27, 22, 0.25)); }
.seal-card .status { font-family: var(--font-display); font-size: 12px; color: var(--red); }
.seal-card .hint { font-size: 11px; color: rgba(30, 27, 22, 0.6); }
.seal-card .hash { font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-55); word-break: break-all; }

/* ---------- lion application ---------- */
.lions-apply {
  text-align: center;
  padding: 2px clamp(14px, 2.4vw, 28px) 22px;
}
.lions-apply button {
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--red);
  background: var(--panel-alt);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 12px 22px;
  cursor: pointer;
  transition: transform 0.08s, box-shadow 0.08s;
}
.lions-apply button:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.dw-modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(14, 12, 22, 0.72);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  overflow-y: auto;
}
.dw-modal {
  position: relative;
  width: min(480px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--panel);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
  animation: dwRise 0.25s ease-out both;
}
.dw-modal-close {
  position: absolute; top: 10px; right: 10px;
  width: 30px; height: 30px;
  font-family: var(--font-mono); font-size: 13px;
  color: #fff;
  background: var(--red-btn);
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  cursor: pointer;
  line-height: 1;
}
.dw-modal-close:hover { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
.dw-modal-body { padding: clamp(20px, 4vw, 30px); display: flex; flex-direction: column; gap: 12px; }
.dw-modal-body .k { font-family: var(--font-display); font-size: 10.5px; letter-spacing: 0.22em; color: var(--gold); }
.dw-modal-body h2 { margin: 0; font-family: var(--font-display); font-size: clamp(20px, 4vw, 26px); font-weight: 400; line-height: 1.1; }
.dw-modal-body .sub { margin: 0; font-size: 13px; line-height: 1.55; color: rgba(30, 27, 22, 0.75); text-wrap: pretty; }
.dw-modal-body form { display: flex; flex-direction: column; gap: 11px; margin-top: 4px; }
.dw-modal-body label {
  display: flex; flex-direction: column; gap: 5px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em;
  color: var(--ink-65);
}
.dw-modal-body input,
.dw-modal-body select,
.dw-modal-body textarea {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink);
  background: #fffdf6;
  border: 1.5px solid var(--ink);
  padding: 9px 11px;
  border-radius: 0;
  resize: vertical;
}
.dw-modal-body input:focus,
.dw-modal-body select:focus,
.dw-modal-body textarea:focus {
  outline: none;
  box-shadow: 2px 2px 0 rgba(168, 40, 30, 0.5);
  border-color: var(--red);
}
.dw-modal-body form .btn { margin-top: 4px; }
.dw-modal-body .err { font-family: var(--font-mono); font-size: 10.5px; color: var(--red); min-height: 14px; }
.apply-done { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 10px 0; }
.apply-done .mono-note { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--ink-55); border: 1.5px dashed rgba(30, 27, 22, 0.4); padding: 6px 12px; }

a.feed-item { text-decoration: none; color: inherit; }
a.feed-item:hover .body { color: var(--red); }

/* ---------- the designs on trial ---------- */
.designs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 14px;
  padding: 16px clamp(14px, 2.4vw, 28px) 22px;
}
.design-card {
  background: var(--panel);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(30, 27, 22, 0.18);
  padding: 14px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.design-card .shot {
  border: 2px solid var(--ink);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: repeating-conic-gradient(#dfd7c2 0% 25%, #efe9da 0% 50%) 0 0/16px 16px;
  display: block;
}
.design-card .shot img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
  image-rendering: auto;
  transition: transform 0.25s ease;
}
.design-card .shot:hover img { transform: scale(1.03); }
.design-card .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.design-card .who { display: flex; flex-direction: column; gap: 2px; }
.design-card .nm { font-family: var(--font-display); font-size: 18px; line-height: 1; }
.design-card .hd { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-55); }
.design-card .visit {
  font-family: var(--font-display); font-size: 11.5px; letter-spacing: 0.06em;
  text-decoration: none;
  border: 2px solid var(--ink);
  background: var(--red-btn);
  box-shadow: 0 3px 0 var(--red-btn-shadow);
  padding: 8px 12px;
  color: #fff;
  white-space: nowrap;
  transition: transform 0.08s, box-shadow 0.08s;
}
.design-card .visit:hover { transform: translateY(2px); box-shadow: 0 1px 0 var(--red-btn-shadow); color: #fff; }

/* ---------- dark scene (gates / crowd reveal) ---------- */
.scene-dark {
  position: relative;
  min-height: clamp(520px, 78vh, 760px);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(20px, 3vw, 40px);
  background-position: center;
  background-size: cover;
}
.scene-dark::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 12, 26, 0.82), rgba(10, 9, 20, 0.68) 55%, rgba(8, 7, 16, 0.85));
}
.torch {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 170, 60, 0.4), transparent 70%);
  animation: dwGlow 2.8s infinite;
  pointer-events: none;
}
.scene-card {
  position: relative;
  background: var(--panel);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
  padding: clamp(22px, 3.4vw, 40px);
  display: flex; flex-direction: column; align-items: center;
  gap: 16px;
  text-align: center;
  width: min(92%, 640px);
}
.scene-card h1 { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 4.6vw, 50px); line-height: 1.05; font-weight: 400; }
.scene-card .kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: rgba(30, 27, 22, 0.6); }
.lock-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lock-chips span { font-family: var(--font-mono); font-size: 10px; border: 1.5px solid var(--ink); padding: 5px 9px; white-space: nowrap; }
.seal-line { display: flex; align-items: center; gap: 10px; }
.seal-line .txt { font-family: var(--font-mono); font-size: 10.5px; color: rgba(30, 27, 22, 0.6); }

/* crowd reveal specifics */
.crowd-reveal .act {
  font-family: var(--font-display); font-size: 12px; letter-spacing: 0.2em;
  color: var(--red);
  animation: dwBlink 1.8s infinite;
}
.crowd-reveal .winner { font-family: var(--font-display); font-size: clamp(44px, 7vw, 84px); line-height: 1; }
.crowd-reveal .pct { font-family: var(--font-display); font-size: clamp(38px, 6vw, 68px); line-height: 1; }
.pct-bar {
  width: min(440px, 90%); height: 18px;
  border: 2px solid var(--ink);
  display: flex; overflow: hidden;
}
.pct-bar .a { background: var(--blue); transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.pct-bar .b { flex: 1; background: var(--red-btn); }
.crowd-reveal .meta { font-family: var(--font-mono); font-size: 11px; color: rgba(30, 27, 22, 0.6); }
.crowd-reveal .sealed { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.14em; color: rgba(30, 27, 22, 0.7); }

/* ---------- lions speak ---------- */
.lions-speak {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vh, 48px) clamp(16px, 2.4vw, 32px);
  background: var(--night);
  display: flex; flex-direction: column; align-items: center;
  gap: 20px;
}
.lions-speak .act { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.2em; color: var(--gold); text-align: center; }
.verdict-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.verdict-card {
  width: clamp(120px, 13vw, 160px);
  background: var(--panel);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
  padding: 12px;
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  transition: opacity 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.verdict-card.deciding { border: 3px solid var(--gold); box-shadow: 0 0 24px rgba(201, 155, 63, 0.5); }
.verdict-card.dimmed { opacity: 0.75; }
.verdict-card .portrait {
  width: 100%; height: 84px;
  border: 2px solid var(--ink);
  position: relative;
  background: repeating-conic-gradient(#dfd7c2 0% 25%, #efe9da 0% 50%) 0 0/12px 12px;
  overflow: hidden;
}
.verdict-card .portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.verdict-card .nm { font-family: var(--font-display); font-size: 14px; }
.verdict-pick {
  font-family: var(--font-display); font-size: 12px; color: #fff;
  border: 2px solid var(--ink);
  padding: 5px 12px;
  animation: dwRise 0.35s ease-out both;
}
.verdict-pick.blue { background: var(--blue); }
.verdict-pick.red { background: var(--red-btn); }
.verdict-sealed { font-family: var(--font-mono); font-size: 11px; border: 1.5px solid var(--ink); padding: 5px 12px; white-space: nowrap; }
.verdict-deciding {
  font-family: var(--font-display); font-size: 12px; color: var(--ink);
  border: 2px dashed var(--gold);
  padding: 5px 12px;
  animation: dwWait 1.4s infinite;
  white-space: nowrap;
}
.tally-card {
  background: var(--panel);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
  padding: 14px 22px;
  text-align: center;
}
.tally-card .h { font-family: var(--font-display); font-size: clamp(16px, 2.2vw, 22px); }
.tally-card .s { font-family: var(--font-mono); font-size: 11px; color: rgba(30, 27, 22, 0.6); margin-top: 6px; }

/* ---------- ruling + champion ---------- */
.ruling {
  background: var(--panel);
  padding: clamp(30px, 5vh, 60px) clamp(16px, 2.4vw, 32px);
  display: flex; flex-direction: column; align-items: center;
  gap: 22px;
  text-align: center;
}
.stamp {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 72px);
  padding: 12px 34px;
  transform: rotate(-6deg);
  animation: dwStamp 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
.stamp.gold { color: var(--gold); border: 5px solid var(--gold); }
.stamp.red { color: var(--red); border: 5px solid var(--red); }
.ruling .verdict-line { font-family: var(--font-display); font-size: clamp(16px, 2.4vw, 24px); }
.ruling .overrule { font-family: var(--font-mono); font-size: 11px; color: rgba(30, 27, 22, 0.6); }
.ruling .divider { width: min(520px, 92%); border-top: 2px dashed rgba(30, 27, 22, 0.35); }
.champ-kicker { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.22em; color: var(--gold); }
.champ-name { font-family: var(--font-display); font-size: clamp(52px, 9vw, 110px); line-height: 0.95; }
.champ-wins { font-family: var(--font-display); font-size: clamp(20px, 3.4vw, 36px); letter-spacing: 0.3em; text-indent: 0.3em; }
.champ-sprite { width: clamp(140px, 16vw, 200px); height: clamp(180px, 20vw, 250px); object-fit: contain; }
.champ-plinth { width: clamp(180px, 22vw, 300px); height: 14px; background: var(--ink); }

/* ---------- lions' den ---------- */
.den {
  position: relative;
  background: var(--den);
  overflow: hidden;
  padding: clamp(30px, 5vh, 56px) clamp(16px, 2.4vw, 32px);
  display: flex; flex-direction: column; align-items: center;
  gap: 18px;
  text-align: center;
}
.den > * { position: relative; }
.den h2 { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 4.6vw, 54px); color: var(--cream); font-weight: 400; }
.den-cell {
  width: clamp(170px, 20vw, 230px);
  height: clamp(200px, 23vw, 270px);
  background: #07060d;
  border: 2px solid rgba(193, 51, 39, 0.5);
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  position: relative;
}
.den-cell .prisoner {
  position: absolute; inset: 0;
  background-position: center 78%;
  background-size: 62% auto;
  background-repeat: no-repeat;
  filter: grayscale(0.75) brightness(0.55);
}
.den-cell .eyes {
  position: absolute; left: 0; right: 0; top: 32%;
  display: flex; justify-content: center; gap: 22px;
}
.den-cell .eyes i {
  width: 12px; height: 12px;
  background: var(--red-btn);
  box-shadow: 0 0 16px var(--red-btn);
  animation: dwBlink 3.2s infinite;
}
.den .q { font-family: var(--font-display); font-size: clamp(15px, 2vw, 20px); color: var(--red-btn); letter-spacing: 0.1em; }
.den .note { font-family: var(--font-mono); font-size: 11px; color: rgba(233, 225, 207, 0.65); }
.den .when { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.16em; color: rgba(233, 225, 207, 0.7); }
.den .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- final fate ---------- */
.fate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 14px;
  padding: clamp(16px, 2.4vw, 28px);
}
.fate-card {
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(30, 27, 22, 0.2);
  padding: clamp(22px, 3vw, 36px);
  display: flex; flex-direction: column; align-items: center;
  gap: 14px;
  text-align: center;
}
.fate-card.spared { background: var(--panel); }
.fate-card.devoured { background: #171420; }
.fate-card .kicker { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.2em; }
.fate-card .big { font-family: var(--font-display); font-size: clamp(40px, 6vw, 70px); line-height: 1; }
.fate-card .art {
  width: 100%; height: clamp(160px, 20vw, 220px);
  border: 2px solid var(--ink);
  position: relative;
  background: repeating-conic-gradient(#dfd7c2 0% 25%, #efe9da 0% 50%) 0 0/16px 16px;
  overflow: hidden;
}
.fate-card .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fate-card .art .ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--ink-55); padding: 12px; text-align: center;
}
.fate-card .line { font-family: var(--font-display); font-size: 15px; }
.fate-card .mech { font-family: var(--font-mono); font-size: 10.5px; border: 1.5px solid var(--ink); padding: 6px 12px; }
.fate-card.devoured .art { border-color: rgba(233, 225, 207, 0.4); }
.fate-card.devoured .line { color: var(--cream); }
.fate-card.devoured .mech { border-color: rgba(233, 225, 207, 0.5); color: rgba(233, 225, 207, 0.8); }
.fate-card.is-result { box-shadow: 0 0 0 4px var(--gold), 6px 6px 0 rgba(30, 27, 22, 0.25); }
.fate-verdict-banner {
  text-align: center;
  padding: clamp(24px, 4vh, 40px) 16px 6px;
}
.fate-verdict-banner .t { font-family: var(--font-display); font-size: clamp(24px, 4vw, 44px); }
.fate-verdict-banner .s { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-55); margin-top: 8px; }

.comeback {
  margin: 0 clamp(16px, 2.4vw, 28px) clamp(16px, 2.4vw, 28px);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(30, 27, 22, 0.2);
  background: var(--panel);
  padding: clamp(20px, 3vw, 32px);
  display: flex; flex-direction: column;
  gap: 14px;
}
.comeback .h { font-family: var(--font-display); font-size: clamp(20px, 3vw, 30px); text-align: center; }
.comeback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 12px;
}
.comeback-card {
  border: 2px solid var(--ink);
  background: var(--panel-soft);
  padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.comeback-card .who { font-family: var(--font-display); font-size: 13px; }
.comeback-card .who span { color: rgba(30, 27, 22, 0.5); }
.comeback-card .quote { font-size: 13.5px; font-style: italic; color: rgba(30, 27, 22, 0.8); }
.comeback .tail { text-align: center; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-55); }

/* ---------- next battle ---------- */
.next-battle {
  border-top: 2px solid var(--ink);
  background: var(--panel);
  padding: clamp(28px, 4.6vh, 52px) clamp(16px, 2.4vw, 32px);
  display: flex; flex-direction: column; align-items: center;
  gap: 18px;
  text-align: center;
}
.next-battle .h { font-family: var(--font-display); font-size: clamp(24px, 4.4vw, 48px); line-height: 1.1; max-width: 820px; }
.next-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: min(680px, 94%); }
.next-row .blank {
  flex: 1; min-width: min(280px, 100%);
  border: 2px solid var(--ink);
  background: #fffdf6;
  padding: 13px 16px;
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(30, 27, 22, 0.5);
  text-align: left;
}
.next-samples { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.next-samples span {
  font-family: var(--font-mono); font-size: 10.5px;
  border: 1.5px dashed rgba(30, 27, 22, 0.45);
  padding: 6px 12px;
}
.next-status {
  display: inline-flex; align-items: center; gap: 10px;
  border: 2px solid var(--ink);
  background: #efe9da;
  padding: 10px 16px;
}
.next-status i { width: 8px; height: 8px; background: var(--red); animation: dwBlink 1.3s infinite; }
.next-status span { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.12em; }

/* ---------- claim your side ---------- */
.claim {
  border-top: 2px solid var(--ink);
  background: var(--panel);
  padding: clamp(22px, 3.4vw, 40px);
  display: flex; flex-wrap: wrap;
  gap: clamp(20px, 3.4vw, 44px);
  align-items: center; justify-content: center;
}
.claim-copy { flex: 1 1 min(360px, 100%); display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.claim-copy .h { font-family: var(--font-display); font-size: clamp(24px, 3.6vw, 40px); line-height: 1.1; }
.claim-copy .p { font-size: 14px; line-height: 1.6; color: rgba(30, 27, 22, 0.75); text-wrap: pretty; }
.claim-steps { display: flex; flex-direction: column; gap: 8px; }
.claim-steps div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.claim-steps i { width: 14px; height: 14px; border: 2px solid var(--ink); flex: none; }
.claim-steps span span { color: rgba(30, 27, 22, 0.5); }
.claim-figure { flex: 0 1 260px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.claim-figure .frame {
  width: clamp(160px, 18vw, 220px);
  height: clamp(190px, 22vw, 260px);
  border: 2px solid var(--ink);
  background: repeating-conic-gradient(#dfd7c2 0% 25%, #efe9da 0% 50%) 0 0/16px 16px;
  display: flex; align-items: center; justify-content: center;
}
.claim-figure .frame img { width: 90%; height: 90%; object-fit: contain; }
.claim-figure .nm { font-family: var(--font-display); font-size: 15px; }
.claim-figure .st {
  font-family: var(--font-mono); font-size: 10.5px;
  border: 1.5px dashed rgba(30, 27, 22, 0.5);
  padding: 6px 12px;
  color: rgba(30, 27, 22, 0.6);
}

/* ---------- how it works timeline ---------- */
.stakes-line {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #f7f2e7;
  background: var(--red);
  border: 1.5px dashed rgba(247, 242, 231, 0.55);
  box-shadow: 0 0 0 1.5px var(--red);
  padding: 6px 14px;
  text-align: center;
}
.hiw {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(24px, 4vh, 44px) clamp(14px, 2.4vw, 28px) clamp(28px, 4vh, 48px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hiw-spine {
  position: absolute;
  left: 50%;
  top: 30px;
  bottom: 300px;
  border-left: 3px dashed rgba(30, 27, 22, 0.35);
  transform: translateX(-1.5px);
}
.hiw-step { position: relative; width: 50%; }
.hiw-step.left { align-self: flex-start; padding-right: 46px; }
.hiw-step.right { align-self: flex-end; padding-left: 46px; }
.hiw-node {
  position: absolute;
  top: 14px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--ink);
  box-shadow: inset 0 0 0 3px var(--panel), inset 0 0 0 4.5px var(--ink), 2px 2px 0 rgba(30, 27, 22, 0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--red);
  z-index: 1;
}
.hiw-step.left .hiw-node { right: -22px; }
.hiw-step.right .hiw-node { left: -22px; }
.hiw-card {
  background: var(--panel);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(30, 27, 22, 0.18);
  padding: 16px 18px;
}
.hiw-card .h { font-family: var(--font-display); font-size: 16px; letter-spacing: 0.06em; margin-bottom: 6px; }
.hiw-card p { margin: 0; font-size: 13px; line-height: 1.55; color: rgba(30, 27, 22, 0.78); text-wrap: pretty; }
.hiw-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 14px;
  margin-top: 18px;
  position: relative; z-index: 1;
}
.hiw-cta-card {
  background: var(--panel);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(30, 27, 22, 0.25);
  padding: 22px 18px;
  display: flex; flex-direction: column; align-items: center;
  gap: 10px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform 0.08s, box-shadow 0.08s;
}
.hiw-cta-card:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(30, 27, 22, 0.25); color: var(--ink); }
.hiw-cta-card .glyph { font-size: 30px; line-height: 1; color: var(--red); }
.hiw-cta-card .t { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.06em; }
.hiw-cta-card .d { font-size: 12.5px; line-height: 1.55; color: var(--ink-65); text-wrap: pretty; }
.hiw-cta-card .go {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--red);
  border-bottom: 1px solid rgba(168, 40, 30, 0.5);
  padding-bottom: 2px;
  margin-top: 2px;
}
.hiw-cta-card.dark { background: var(--footer); color: var(--cream); }
.hiw-cta-card.dark:hover { color: var(--cream); }
.hiw-cta-card.dark .glyph { color: var(--cream); }
.hiw-cta-card.dark .d { color: rgba(233, 225, 207, 0.7); }
.hiw-cta-card.dark .go { color: var(--gold); border-bottom-color: rgba(201, 155, 63, 0.5); }
@media (max-width: 700px) {
  .hiw-spine { left: 20px; }
  .hiw-step { width: 100%; }
  .hiw-step.left, .hiw-step.right { align-self: stretch; padding: 0 0 0 46px; }
  .hiw-step.left .hiw-node, .hiw-step.right .hiw-node { left: -2px; right: auto; }
}

/* ---------- rules line ---------- */
.rules-line {
  text-align: center;
  padding: clamp(20px, 3vh, 32px) 16px;
  font-family: var(--font-display);
  font-size: clamp(12px, 1.4vw, 15px);
  letter-spacing: 0.2em;
  line-height: 2.1;
  color: var(--ink-65);
  border-top: 2px solid var(--ink);
  background: var(--panel-alt);
}
.rules-line b { color: var(--ink); font-weight: 400; }

/* ---------- footer ---------- */
.dw-footer {
  background: var(--footer);
  color: var(--cream);
  padding: 13px clamp(14px, 2.4vw, 28px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px;
}
.dw-footer .l { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.14em; color: rgba(233, 225, 207, 0.75); }
.dw-footer .m { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.22em; text-align: center; }
.dw-footer .r { display: flex; gap: 16px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; }
.dw-footer a { color: rgba(233, 225, 207, 0.65); text-decoration: none; }
.dw-footer a:hover { color: var(--cream); }

/* ---------- verdict flow helpers ---------- */
.reveal-step { animation: dwRise 0.5s ease-out both; }
.hidden { display: none !important; }
.skip-btn {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 90;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em;
  background: var(--red-btn);
  color: #fff;
  border: 1.5px solid var(--ink);
  box-shadow: 0 3px 0 var(--red-btn-shadow);
  padding: 8px 14px;
  cursor: pointer;
}
.shake { animation: dwShake 0.5s linear; }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .dw-header { padding: 10px 12px; gap: 12px; }
  .dw-logo { gap: 8px; }
  .dw-logo-mark { width: 32px; height: 32px; }
  .dw-logo-word { font-size: 18px; }
  .dw-header > .btn-ghost { display: none; }
  .dw-nav { display: none; }
  .nav-menu-btn { display: inline-block; font-size: 13px; }

  .stage { min-height: auto; padding-bottom: 10px; }
  .stage-top { order: 1; padding: 12px 12px 6px; gap: 10px; }
  .fighters {
    order: 2;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: clamp(18px, 10vw, 60px);
    padding: 6px 10px 2px;
  }
  .fighter { position: static; }
  .fighter.left, .fighter.right { transform: none; }
  .fighter img { width: 124px; height: 168px; }
  .fighter .handle { padding: 4px 8px; }
  .fighter .handle .at { font-size: 10px; }
  .stage-panels { order: 3; padding: 8px 12px 14px; gap: 10px; }
  .crowd-panel, .feed-panel { flex: 1 1 100%; }

  .vs-row { gap: 10px; min-width: 0; }
  .vs-avatar { width: 48px; height: 48px; padding: 2px; box-shadow: 2px 2px 0 rgba(30, 27, 22, 0.25); }
  .vs-name .n { font-size: 23px; }
  .vs-name .r { font-size: 10.5px; margin-top: 3px; }
  .vs-mark { padding: 0 2px; }
  .vs-mark .vs { font-size: 27px; }
  .vs-mark .star { font-size: 11px; }
  .stakes-line { font-size: 10px; letter-spacing: 0.08em; line-height: 1.6; }
  .battle-chip .name { font-size: 13px; }
  .battle-chip .when { font-size: 10px; }
  .crowd-panel .note, .feed-panel .note { font-size: 11px; }
  .countdown .unit { font-size: 10px; }
  .feed-item .body { font-size: 13px; }
  .feed-item .time { font-size: 10px; }
  .feed-events .row { font-size: 12.5px; }
  .feed-events .t { font-size: 10.5px; }
  .roar-join { font-size: 11px; }
  .dispute-card a { font-size: 10.5px; }
  .designs-scope { font-size: 11.5px; letter-spacing: 0.06em; }

  .tribunal { grid-template-columns: 1fr; padding: 14px 12px; }
  .dispute-card { padding: 18px 16px; gap: 10px; }
  .dispute-card .t { font-size: 14px; line-height: 1.65; }

  .lions-row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; padding: 12px 12px 16px; }
  .lion-card { padding: 10px; column-gap: 10px; }
  .lion-portrait { width: 56px; height: 70px; }
  .lion-name { font-size: 14px; }
  .tag-locked, .tag-waiting { font-size: 9.5px; padding: 4px 7px; }
  .lions-apply button { font-size: 10.5px; padding: 10px 14px; white-space: normal; line-height: 1.5; }

  .designs-grid { padding: 12px 12px 16px; }
  .design-card .visit { width: 100%; text-align: center; }

  .scene-dark { min-height: auto; padding: 26px 12px; }
  .lions-speak { padding: 20px 10px; }
  .ruling { padding: 24px 12px; }
  .den { padding: 24px 12px; }
  .fate-grid, .comeback { margin-left: 0; margin-right: 0; }

  .skip-btn { right: 10px; bottom: 10px; }
  .dw-footer { justify-content: center; text-align: center; }
}
