/* Petty Judge homepage styles. Shared support-page styles live in petty-pages.css. */
/* Tokens */
:root {
  color-scheme: dark;
  --bg: #050008;
  --black: #07030c;
  --panel: rgba(9, 7, 18, 0.86);
  --panel-strong: rgba(14, 7, 24, 0.94);
  --panel-gold: rgba(0, 14, 28, 0.78);
  --line: rgba(197, 91, 255, 0.42);
  --line-soft: rgba(255, 255, 255, 0.14);
  --gold: #62d7ff;
  --gold-2: #1d91d0;
  --ice: #62d7ff;
  --ice-soft: rgba(98, 215, 255, 0.74);
  --ice-line: rgba(98, 215, 255, 0.58);
  --purple: #b923ff;
  --purple-2: #f04cff;
  --pink: #ff4fc7;
  --text: #ffffff;
  --muted: #dbe7f3;
  --muted-readable: #eef7ff;
  --muted-soft-readable: #d7e6f2;
  --danger: #ff73a5;
  --radius: 22px;
  --shadow-purple: 0 0 0 1px rgba(185, 35, 255, 0.55), 0 0 26px rgba(185, 35, 255, 0.28);
  --shadow-gold: 0 0 0 1px rgba(98, 215, 255, 0.52), 0 0 18px rgba(29, 145, 208, 0.20);
  --readable-white: #f7fbff;
  --readable-text: #edf5ff;
  --readable-soft: #d3dfec;
  --readable-muted: #aebdcc;
  --readable-panel: rgba(5, 7, 14, 0.985);
  --readable-panel-2: rgba(1, 2, 8, 0.99);
  --readable-line: rgba(98, 215, 255, 0.34);
  --readable-line-strong: rgba(98, 215, 255, 0.56);
  --readable-purple-line: rgba(185, 35, 255, 0.30);
  --edge-ice: rgba(98, 215, 255, 0.68);
  --edge-ice-soft: rgba(98, 215, 255, 0.24);
  --edge-ice-hot: rgba(98, 215, 255, 0.92);
  --edge-purple: rgba(205, 68, 255, 0.68);
  --edge-purple-soft: rgba(185, 35, 255, 0.22);
  --edge-panel: rgba(1, 3, 10, 0.94);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 22% 12%, rgba(98, 215, 255, 0.18), transparent 19rem),
    radial-gradient(circle at 78% 10%, rgba(185, 35, 255, 0.24), transparent 26rem),
    radial-gradient(circle at 50% 54%, rgba(255, 79, 199, 0.1), transparent 34rem),
    linear-gradient(180deg, #05030b 0%, #080612 48%, #030208 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 18% 23%, rgba(255, 255, 255, 0.08), transparent 8rem),
    radial-gradient(ellipse at 82% 22%, rgba(255, 255, 255, 0.07), transparent 9rem),
    repeating-radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.075) 0 1px, transparent 1px 18px);
  opacity: 0.16;
  filter: blur(0.5px);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.42)),
    radial-gradient(circle at center top, transparent 0, rgba(0, 0, 0, 0.22) 55%, rgba(0, 0, 0, 0.58) 100%);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.72; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 100;
  background: var(--gold);
  color: #160800;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 900;
}
.skip-link:focus-visible {
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  outline: 3px solid rgba(185, 35, 255, 0.85);
  outline-offset: 3px;
}

.page-shell {
  width: min(calc(100% - clamp(1.5rem, 6vw, 9rem)), 1560px);
  margin: 0 auto;
  padding: 1.25rem 0 2rem;
}

.top-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.3rem;
  min-height: 3.25rem;
  position: relative;
  z-index: 5;
}

.nav-link,
.menu-button {
  min-height: 2.9rem;
  border: 1px solid transparent;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
}

.nav-link span,
.menu-button span:first-child { color: var(--gold); filter: drop-shadow(0 0 7px rgba(98, 215, 255, 0.55)); }

.menu-button {
  width: 3.35rem;
  justify-content: center;
  border-color: rgba(185, 35, 255, 0.85);
  box-shadow: 0 0 22px rgba(185, 35, 255, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.nav-link:hover,
.menu-button:hover,
.nav-link:focus-visible,
.menu-button:focus-visible {
  outline: none;
  border-color: rgba(98, 215, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(185, 35, 255, 0.42), 0 0 22px rgba(98, 215, 255, 0.22);
}

.hero {
  display: grid;
  grid-template-columns: minmax(20rem, 0.82fr) minmax(22rem, 1.04fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 4.5rem);
  margin-top: -1.25rem;
  padding: 0.25rem 0 1.2rem;
}

.brand-art {
  width: min(100%, 34rem);
  margin-left: -0.45rem;
  mix-blend-mode: screen;
  filter: saturate(1.18) contrast(1.08) brightness(1.06) drop-shadow(0 0 20px rgba(98, 215, 255, 0.22)) drop-shadow(0 0 22px rgba(185, 35, 255, 0.18));
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.tagline {
  width: fit-content;
  max-width: 100%;
  margin: 2.35rem 0 0;
  color: #fff;
  font-size: clamp(2rem, 2.7vw, 3rem);
  line-height: 1.02;
  font-weight: 1000;
  letter-spacing: 0;
  transform: rotate(-2.5deg);
  transform-origin: left center;
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.20), 0 0 18px rgba(185, 35, 255, 0.22);
}

.tagline strong,
.supporting strong,
.motto strong,
.feature strong { color: var(--purple-2); }

.supporting {
  margin: 2rem 0 0;
  max-width: 34rem;
  color: #fff7ec;
  font-size: clamp(1.28rem, 1.55vw, 1.75rem);
  line-height: 1.42;
  letter-spacing: 0;
  transform: rotate(-2.5deg);
  transform-origin: left center;
}

.supporting mark {
  background: transparent;
  color: var(--gold);
  font-weight: 950;
}

.motto {
  width: fit-content;
  max-width: 100%;
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.18rem 0.1rem;
  border-radius: 0;
  color: #fff4e6;
  background: rgba(12, 2, 20, 0.18);
  border: 0;
  box-shadow: 0 0 18px rgba(185, 35, 255, 0.12);
  font-size: 22px;
  font-weight: 850;
  cursor: default;
  transform: rotate(-2.5deg);
  transform-origin: left center;
}

.motto .spark { color: var(--gold); text-shadow: 0 0 10px rgba(98, 215, 255, 0.8); }
.motto mark {
  background: transparent;
  color: var(--gold);
  font-weight: 1000;
}

.hero-art {
  justify-self: end;
  width: min(100%, 42.5rem);
  position: relative;
  isolation: isolate;
  padding: 0.2rem;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: -4% -2% -10%;
  z-index: -1;
  background: transparent;
  filter: none;
}

.hero-gavel {
  width: 100%;
  mix-blend-mode: normal;
  filter: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.judge-panel,
.result-zone,
.info-card,
.recent-section {
  border: 1px solid rgba(185, 35, 255, 0.52);
  background:
    linear-gradient(145deg, rgba(13, 17, 32, 0.96), rgba(6, 12, 26, 0.92)),
    radial-gradient(circle at 88% 5%, rgba(98, 215, 255, 0.16), transparent 18rem);
  box-shadow: 0 0 0 1px rgba(98, 215, 255, 0.1), 0 0 34px rgba(98, 215, 255, 0.14), 0 0 42px rgba(185, 35, 255, 0.16), inset 0 0 54px rgba(98, 215, 255, 0.045);
  border-radius: var(--radius);
}

.judge-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.1rem, 2.8vw, 2rem);
  border-color: rgba(185, 35, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(98, 215, 255, 0.1), 0 0 46px rgba(185, 35, 255, 0.32), inset 0 0 70px rgba(98, 215, 255, 0.04);
}

.judge-panel::before,
.result-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 10% 0%, rgba(185, 35, 255, 0.16), transparent 22rem),
    radial-gradient(circle at 90% 0%, rgba(98, 215, 255, 0.13), transparent 24rem);
}

.judge-panel.is-loading .form-fields {
  opacity: 0.52;
  filter: saturate(0.82);
  pointer-events: none;
}

.panel-heading {
  position: relative;
  text-align: center;
  margin: 0 0 1rem;
}

.panel-heading h2,
.result-heading,
.loading-panel h2,
.recent-title {
  margin: 0;
  color: #fff;
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(1.15rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.24);
}

.panel-heading h2::before,
.panel-heading h2::after,
.result-heading::before,
.result-heading::after {
  content: " ";
  display: inline-block;
  width: 1.1rem;
  height: 0.18rem;
  margin: 0 0.75rem 0.26rem;
  background: var(--purple-2);
  border-radius: 999px;
  box-shadow: 0 -0.5rem 0 -0.05rem rgba(98, 215, 255, 0.75), 0 0.5rem 0 -0.05rem rgba(185, 35, 255, 0.75);
}

.panel-heading p {
  margin: 0.35rem 0 0;
  color: #62d7ff;
  font-size: 22px;
  font-weight: 900;
}

.form-fields {
  position: relative;
  z-index: 1;
  transition: opacity 180ms ease, filter 180ms ease;
}

.side-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(0.9rem, 2.4vw, 2rem);
  align-items: center;
  margin-top: 1.1rem;
}

.side-card {
  min-width: 0;
  border-radius: 18px;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(185, 35, 255, 0.7);
  background:
    radial-gradient(circle at 16% 12%, rgba(185, 35, 255, 0.25), transparent 14rem),
    linear-gradient(155deg, rgba(19, 6, 31, 0.9), rgba(4, 2, 12, 0.78));
  box-shadow: 0 0 22px rgba(185, 35, 255, 0.16), inset 0 0 42px rgba(185, 35, 255, 0.12);
}

.side-card.them {
  border-color: rgba(98, 215, 255, 0.58);
  background:
    radial-gradient(circle at 82% 10%, rgba(98, 215, 255, 0.16), transparent 13rem),
    linear-gradient(155deg, rgba(35, 17, 2, 0.86), rgba(12, 4, 8, 0.78));
  box-shadow: 0 0 22px rgba(98, 215, 255, 0.12), inset 0 0 42px rgba(98, 215, 255, 0.09);
}

.side-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.side-card h3 {
  margin: 0;
  color: var(--purple-2);
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  line-height: 0.9;
  text-transform: uppercase;
  font-weight: 1000;
  text-shadow: 0 0 18px rgba(185, 35, 255, 0.32);
}

.side-card.them h3 {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(98, 215, 255, 0.28);
}

.side-card .subtext {
  margin: 0.28rem 0 0;
  color: #fff7fb;
  font-size: 18px;
  line-height: 1.3;
}

.side-doodle {
  color: var(--purple-2);
  font-size: 1.8rem;
  text-shadow: 0 0 12px rgba(185, 35, 255, 0.65);
}

.them .side-doodle {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(98, 215, 255, 0.58);
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.field-error {
  margin: 0.08rem 0 0;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(7, 16, 31, 0.96), rgba(22, 9, 38, 0.94));
  border: 1px solid rgba(143, 220, 255, 0.82);
  border-radius: 10px;
  padding: 0.58rem 0.72rem;
  font-size: 16px;
  line-height: 1.28;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(98, 215, 255, 0.24), inset 0 0 18px rgba(98, 215, 255, 0.08);
}

label,
.selector-title {
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  color: var(--text);
  background: rgba(2, 1, 7, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  padding: 0.92rem 1rem;
  font-size: 18px;
  line-height: 1.35;
  outline: none;
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.45);
}

textarea {
  resize: vertical;
  min-height: 7rem;
  line-height: 1.45;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.45;
}

input:focus-visible,
textarea:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 35, 255, 0.38), inset 0 0 16px rgba(0, 0, 0, 0.45);
}

.field-shell {
  position: relative;
}

.input-icon {
  position: absolute;
  right: 0.82rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.58);
  pointer-events: none;
}

.count {
  text-align: right;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  margin-top: -1.85rem;
  padding-right: 0.65rem;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.vs-badge {
  width: 5.35rem;
  height: 5.35rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: radial-gradient(circle, rgba(41, 11, 58, 0.92), rgba(2, 1, 7, 0.92));
  border: 2px solid rgba(185, 35, 255, 0.82);
  box-shadow: 0 0 22px rgba(185, 35, 255, 0.46);
  font-weight: 1000;
  font-size: 24px;
}

.selector-group {
  margin-top: 1.25rem;
}

.selector-title {
  margin: 0 0 0.65rem;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: 0.04em;
}

.idea-helper {
  margin: -0.3rem 0 0.85rem;
  color: #fff;
  font-size: 22px;
  line-height: 1.35;
  text-align: center;
  font-weight: 800;
}

.ideas-page-link {
  width: fit-content;
  margin: -0.15rem auto 0.85rem;
  min-height: 2.55rem;
  padding-inline: 1rem;
}

#drama-type-title,
#judge-energy-title {
  font-family: "Trebuchet MS", Inter, sans-serif;
  color: #fff;
  font-size: clamp(1.15rem, 2.5vw, 2rem);
  line-height: 1.05;
  font-weight: 1000;
  text-align: center;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.24);
}

.selector-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.8rem;
}

.energy-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.chip {
  min-height: 4.9rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 50% 18%, rgba(185, 35, 255, 0.13), transparent 3.3rem),
    linear-gradient(180deg, rgba(15, 8, 27, 0.84), rgba(3, 1, 9, 0.78));
  color: #fff;
  display: grid;
  place-items: center;
  gap: 0.25rem;
  padding: 0.65rem 0.55rem;
  text-align: center;
  font-weight: 800;
  font-size: clamp(18px, 0.86vw, 20px);
  line-height: 1.12;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 22px rgba(255, 255, 255, 0.035);
}

.energy-row .chip {
  min-height: 3.15rem;
  grid-template-columns: auto auto;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 13px;
}

.chip .icon {
  display: block;
  font-size: 1.8rem;
  filter: drop-shadow(0 7px 9px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 9px rgba(185, 35, 255, 0.5));
}

.chip[aria-checked="true"],
.chip.is-selected {
  color: white;
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(98, 215, 255, 0.18), rgba(4, 20, 34, 0.22)), rgba(4, 2, 12, 0.82);
  box-shadow: var(--shadow-gold), 0 12px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 26px rgba(98, 215, 255, 0.12);
}

.selector-row[data-selector="dramaType"] .chip[aria-checked="true"],
.selector-row[data-selector="dramaType"] .chip.is-selected {
  color: #fff;
  border-color: #ffd84f;
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 220, 255, 0.34), transparent 72%),
    linear-gradient(180deg, rgba(98, 215, 255, 0.26), rgba(4, 22, 38, 0.32)),
    rgba(12, 4, 18, 0.94);
  box-shadow:
    0 0 0 2px rgba(143, 220, 255, 0.42),
    0 0 34px rgba(98, 215, 255, 0.42),
    0 0 24px rgba(185, 35, 255, 0.34),
    inset 0 0 28px rgba(98, 215, 255, 0.18);
  text-shadow: 0 0 12px rgba(143, 220, 255, 0.45);
  transform: translateY(-2px);
}

.selector-row[data-selector="dramaType"] .chip[aria-checked="false"]:not(.is-selected) {
  opacity: 0.86;
}

.idea-chip {
  cursor: pointer;
}

.idea-chip.is-current-idea {
  color: #fff;
  border-color: #ffd84f;
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 220, 255, 0.28), transparent 72%),
    linear-gradient(180deg, rgba(98, 215, 255, 0.2), rgba(4, 22, 38, 0.26)),
    rgba(12, 4, 18, 0.94);
  box-shadow:
    0 0 0 2px rgba(143, 220, 255, 0.34),
    0 0 28px rgba(98, 215, 255, 0.28),
    0 0 20px rgba(185, 35, 255, 0.28),
    inset 0 0 24px rgba(98, 215, 255, 0.14);
  text-shadow: 0 0 12px rgba(143, 220, 255, 0.36);
}

.chip:hover,
.chip:focus-visible {
  outline: none;
  border-color: var(--purple-2);
  box-shadow: 0 0 0 3px rgba(185, 35, 255, 0.35), inset 0 0 22px rgba(255, 255, 255, 0.035);
}

.slam-wrap {
  margin: 1.05rem auto 0;
  max-width: 50rem;
  position: relative;
}

.slam-button {
  width: 100%;
  position: relative;
  overflow: visible;
  min-height: auto;
  aspect-ratio: 1200 / 339;
  border: 0;
  border-radius: 24px;
  background: transparent url("/assets/phase1/slam-the-gavel-button-badge.png") center / contain no-repeat;
  color: #1d0800;
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-style: italic;
  font-weight: 1000;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.35), 0 9px 16px rgba(3, 16, 26, 0.34);
  box-shadow: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  transform: translateY(0);
  transition: transform 140ms ease, filter 140ms ease, box-shadow 140ms ease;
}

.slam-button::before {
  content: none;
}

.slam-button::after {
  content: none;
}

.slam-button > * {
  position: relative;
  z-index: 1;
}

.slam-button:hover,
.slam-button:focus-visible {
  outline: none;
  filter: saturate(1.1) brightness(1.05);
  box-shadow: none;
}

.slam-button.is-pressed,
.slam-button:active {
  transform: translateY(3px) scale(0.99);
  box-shadow: none;
}

.slam-icon {
  display: none;
}

.slam-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.safety-line {
  margin: 0.72rem 0 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 850;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.safety-line .shield { color: var(--gold); }

.form-error {
  margin: 0.9rem auto 0;
  max-width: 56rem;
  color: #ffe9f3;
  background: rgba(255, 79, 199, 0.12);
  border: 1px solid rgba(255, 115, 165, 0.55);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  text-align: center;
  font-weight: 750;
}

.hidden { display: none !important; }

.result-zone {
  position: relative;
  margin-top: 1.28rem;
  overflow: hidden;
  scroll-margin-top: 1rem;
}

.preview-card,
.loading-panel,
.result-card,
.safety-fallback {
  position: relative;
  z-index: 1;
  padding: clamp(1rem, 2.2vw, 1.55rem);
}

.preview-card {
  display: grid;
  grid-template-columns: minmax(13rem, 0.78fr) minmax(0, 2.65fr) minmax(6rem, 0.45fr);
  gap: 0.75rem;
  align-items: center;
  padding-block: clamp(0.85rem, 1.7vw, 1.15rem);
  border-radius: calc(var(--radius) - 7px);
  background:
    radial-gradient(circle at 5% 50%, rgba(98, 215, 255, 0.1), transparent 10rem),
    radial-gradient(circle at 96% 48%, rgba(185, 35, 255, 0.15), transparent 9rem);
}

.preview-mascot {
  position: relative;
  display: grid;
  grid-template-columns: minmax(12.8rem, 13.8rem);
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.preview-mascot img {
  width: min(100%, 14.8rem);
  background: transparent;
  border: 0;
  border-radius: 0;
  mix-blend-mode: normal;
  filter: saturate(1.18) contrast(1.06) brightness(1.04) drop-shadow(0 20px 22px rgba(0, 0, 0, 0.56));
}

.speech {
  position: relative;
  width: fit-content;
  max-width: 14rem;
  color: #fff;
  background: rgba(20, 4, 34, 0.92);
  border: 1px solid rgba(98, 215, 255, 0.70);
  border-radius: 18px;
  padding: 1.15rem 1.25rem;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.18;
  box-shadow: 0 0 20px rgba(185, 35, 255, 0.24), 0 0 18px rgba(98, 215, 255, 0.16);
}

.preview-mascot .speech {
  display: none;
}

.result-mascot .speech {
  display: none;
}

.preview-phone {
  justify-self: end;
  width: min(100%, 8.6rem);
  transform: rotate(8deg);
  background: transparent;
  border: 0;
  border-radius: 0;
  filter: saturate(1.14) contrast(1.05) brightness(1.03) drop-shadow(0 16px 20px rgba(0, 0, 0, 0.52));
  mix-blend-mode: normal;
}

.preview-content h2 {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 0.7rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: clamp(1.3rem, 2.35vw, 2.05rem);
  text-align: left;
}

.preview-grid {
  display: grid;
  grid-template-columns: 0.72fr 0.72fr 1.35fr 1.12fr;
  gap: 0;
  align-items: stretch;
  border-radius: 0;
}

.mini-field {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.1rem 0.85rem;
  min-width: 0;
  align-self: stretch;
}

.mini-field:nth-child(4) {
  border-radius: 10px;
  background: rgba(2, 0, 6, 0.58);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.42);
}

.mini-label,
.result-label {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 18px;
  font-weight: 1000;
  margin-bottom: 0.45rem;
}

.winner-pill {
  display: inline-flex;
  min-width: 6rem;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2.4vw, 2.25rem);
  font-weight: 1000;
  padding: 0.32rem 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(185, 35, 255, 0.92), rgba(63, 11, 89, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 0 20px rgba(185, 35, 255, 0.42);
}

.meter {
  color: var(--gold);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-weight: 1000;
  line-height: 1;
}

.meter span { color: var(--muted-soft-readable); }

.meter-bar {
  width: min(100%, 9rem);
  height: 0.72rem;
  margin-top: 0.65rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.meter-fill {
  width: 85%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--purple-2));
  box-shadow: 0 0 12px rgba(98, 215, 255, 0.45);
}

.mini-copy {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.42;
  font-weight: 750;
}

.preview-note {
  margin: 1.15rem 0 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.38;
  font-weight: 850;
  text-align: center;
}

.preview-note strong {
  color: #62d7ff;
  text-shadow: 0 0 14px rgba(185, 35, 255, 0.48);
}

.loading-panel {
  display: grid;
  grid-template-columns: minmax(15rem, 0.78fr) minmax(0, 1.45fr);
  gap: clamp(1rem, 3.5vw, 2.45rem);
  align-items: center;
  border-color: rgba(98, 215, 255, 0.42);
  background:
    radial-gradient(circle at 18% 50%, rgba(185, 35, 255, 0.36), transparent 16rem),
    radial-gradient(circle at 58% 35%, rgba(98, 215, 255, 0.16), transparent 21rem),
    linear-gradient(145deg, rgba(10, 2, 18, 0.98), rgba(22, 5, 32, 0.86));
  box-shadow: 0 0 0 1px rgba(98, 215, 255, 0.12), 0 0 42px rgba(185, 35, 255, 0.28), inset 0 0 62px rgba(98, 215, 255, 0.06);
}

.loading-gavel {
  width: min(100%, 21rem);
  margin: 0 auto;
  border-radius: 999px;
  padding: 0.35rem;
  border: 2px solid rgba(185, 35, 255, 0.82);
  box-shadow: 0 0 52px rgba(185, 35, 255, 0.66), 0 0 30px rgba(98, 215, 255, 0.22), inset 0 0 48px rgba(98, 215, 255, 0.14);
  animation: gavelGlow 1500ms ease-in-out infinite alternate;
}

.loading-gavel img {
  border-radius: 999px;
  mix-blend-mode: normal;
  -webkit-mask-image: none;
  mask-image: none;
}

.loading-panel h2 {
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.85rem;
  text-shadow: 0 0 18px rgba(98, 215, 255, 0.48), 0 0 30px rgba(185, 35, 255, 0.28);
}

.loading-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.52rem;
}

.loading-lines li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 2.92rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  padding: 0.62rem 1rem;
  border: 1px solid transparent;
}

.loading-lines li::before {
  content: "";
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 3px solid rgba(185, 35, 255, 0.95);
  border-top-color: transparent;
  flex: 0 0 auto;
  animation: tinySpin 900ms linear infinite;
}

.loading-lines li.active {
  color: #fff;
  border-color: rgba(98, 215, 255, 0.7);
  background: linear-gradient(90deg, rgba(98, 215, 255, 0.18), rgba(185, 35, 255, 0.14));
  box-shadow: 0 0 22px rgba(98, 215, 255, 0.2), inset 0 0 18px rgba(255, 255, 255, 0.04);
}

.loading-lines li.active::before {
  content: "😏";
  width: auto;
  height: auto;
  border: 0;
  animation: none;
}

.gavel-slam-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    radial-gradient(circle at 50% 24%, rgba(98, 215, 255, 0.28), transparent 19rem),
    radial-gradient(circle at 50% 72%, rgba(185, 35, 255, 0.24), transparent 21rem),
    rgba(4, 13, 28, 0.62);
  backdrop-filter: blur(4px);
}

.gavel-slam-overlay.hidden {
  display: none;
}

.gavel-slam-card {
  width: min(94vw, 42rem);
  padding: clamp(1.1rem, 3vw, 2rem);
  border-radius: 28px;
  border: 2px solid rgba(98, 215, 255, 0.82);
  background:
    radial-gradient(circle at 50% 44%, rgba(98, 215, 255, 0.36), transparent 16rem),
    radial-gradient(circle at 50% 82%, rgba(185, 35, 255, 0.3), transparent 22rem),
    linear-gradient(180deg, rgba(10, 38, 66, 0.98), rgba(7, 22, 45, 0.98));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 68px rgba(98, 215, 255, 0.36), 0 24px 70px rgba(0, 0, 0, 0.56);
  text-align: center;
}

.gavel-slam-card h2 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-family: "Trebuchet MS", Inter, sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  font-style: italic;
  font-weight: 1000;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(98, 215, 255, 0.7), 0 0 30px rgba(185, 35, 255, 0.38);
}

.gavel-slam-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 850;
}

.popup-gavel-scene {
  position: relative;
  width: min(100%, 39rem);
  aspect-ratio: 4 / 3;
  margin: 1.45rem auto -0.4rem;
  overflow: visible;
}

.popup-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.popup-base {
  z-index: 1;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.58)) drop-shadow(0 0 26px rgba(185, 35, 255, 0.36));
}

.popup-impact {
  z-index: 2;
  opacity: 0;
  top: -24%;
  left: 7%;
  transform: scale(0.96);
  filter: drop-shadow(0 0 24px rgba(98, 215, 255, 0.72));
}

.popup-gavel-up,
.popup-gavel-down {
  z-index: 2;
  top: -39%;
  left: 7%;
  height: 120%;
  transform: scale(1.02);
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 22px rgba(98, 215, 255, 0.28));
}

.popup-gavel-down {
  opacity: 0;
}

.popup-gavel-scene.strike-now .popup-gavel-up {
  animation: popupGavelUpStrike 360ms ease-out both;
}

.popup-gavel-scene.strike-now .popup-gavel-down {
  animation: popupGavelDownStrike 360ms ease-out both;
}

.popup-gavel-scene.strike-now .popup-impact {
  animation: popupImpactFlash 360ms ease-out both;
}

.result-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(185, 35, 255, 0.62);
  background:
    radial-gradient(circle at 8% 0%, rgba(185, 35, 255, 0.25), transparent 24rem),
    radial-gradient(circle at 88% 8%, rgba(98, 215, 255, 0.24), transparent 24rem),
    radial-gradient(circle at 50% 105%, rgba(255, 79, 199, 0.12), transparent 20rem),
    linear-gradient(145deg, rgba(9, 17, 33, 0.98), rgba(10, 22, 43, 0.95));
  box-shadow: 0 0 0 1px rgba(98, 215, 255, 0.13), 0 0 46px rgba(98, 215, 255, 0.18), 0 0 44px rgba(185, 35, 255, 0.2), inset 0 0 70px rgba(98, 215, 255, 0.06);
}

.result-heading {
  text-align: center;
  color: #fff;
  font-size: clamp(1.85rem, 4.3vw, 3.6rem);
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 1.25rem;
  padding: 0.55rem clamp(1rem, 4vw, 3rem);
  border-radius: 22px;
  border: 1px solid rgba(185, 35, 255, 0.58);
  background: linear-gradient(180deg, rgba(35, 8, 55, 0.82), rgba(8, 2, 14, 0.62));
  box-shadow: 0 0 32px rgba(185, 35, 255, 0.36), 0 0 18px rgba(98, 215, 255, 0.12), inset 0 0 26px rgba(98, 215, 255, 0.08);
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(10rem, 1.05fr) minmax(13rem, 1.55fr) minmax(8rem, 0.9fr) minmax(13rem, 1.45fr) minmax(12rem, 1.35fr) minmax(12rem, 1.35fr);
  gap: 0;
  align-items: stretch;
  border: 1px solid rgba(185, 35, 255, 0.34);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(5, 12, 25, 0.72);
  box-shadow: 0 0 24px rgba(98, 215, 255, 0.12), inset 0 0 30px rgba(98, 215, 255, 0.035);
}

.result-body {
  display: grid;
  grid-template-columns: minmax(10rem, 0.34fr) minmax(0, 3.45fr);
  gap: 1rem;
  align-items: stretch;
}

.result-mascot {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr);
  align-items: center;
  min-width: 0;
  padding: 0.25rem;
  border-radius: 20px;
  background:
    radial-gradient(circle at 42% 45%, rgba(98, 215, 255, 0.14), transparent 7rem),
    radial-gradient(circle at 80% 38%, rgba(185, 35, 255, 0.18), transparent 7rem);
}

.result-mascot img {
  width: min(100%, 12rem);
  mix-blend-mode: lighten;
  filter: drop-shadow(0 0 20px rgba(98, 215, 255, 0.22));
}

.result-card .result-cell {
  padding-inline: 1.2rem;
}

.result-card .meter {
  font-size: clamp(1.9rem, 2.45vw, 2.72rem);
  white-space: nowrap;
}

.result-card .meter-bar {
  width: min(100%, 7.6rem);
}

.result-cell {
  min-width: 0;
  padding: 1.35rem 1.2rem;
  border-left: 1px solid rgba(185, 35, 255, 0.24);
  background:
    radial-gradient(circle at 50% 0%, rgba(98, 215, 255, 0.1), transparent 8rem),
    rgba(7, 16, 31, 0.62);
}

.result-cell:first-child { border-left: 0; }

.result-card .result-label {
  display: block;
  margin-bottom: 0.58rem;
  font-size: clamp(1rem, 0.82vw, 1.12rem);
  line-height: 1.18;
}

.result-cell p {
  margin: 0;
  color: white;
  font-size: clamp(1.18rem, 0.96vw, 1.35rem);
  line-height: 1.55;
  font-weight: 750;
}

.result-cell .big-winner {
  color: var(--gold);
  font-size: clamp(1.9rem, 2.45vw, 2.75rem);
  line-height: 1;
  font-weight: 1000;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: normal;
  text-shadow: 0 0 24px rgba(98, 215, 255, 0.54), 0 0 34px rgba(185, 35, 255, 0.22);
}

.result-cell .big-winner.medium-pick {
  font-size: clamp(1.38rem, 1.8vw, 2rem);
  line-height: 1.06;
}

.result-cell .big-winner.long-pick {
  font-size: clamp(1.12rem, 1.22vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.result-cell:nth-child(1),
.result-cell:nth-child(3) {
  background:
    radial-gradient(circle at 50% 20%, rgba(98, 215, 255, 0.14), transparent 8rem),
    rgba(16, 7, 4, 0.46);
}

.result-cell:nth-child(4) {
  background:
    radial-gradient(circle at 22% 20%, rgba(185, 35, 255, 0.18), transparent 9rem),
    linear-gradient(145deg, rgba(32, 7, 48, 0.62), rgba(8, 2, 14, 0.54));
  box-shadow: inset 0 0 28px rgba(185, 35, 255, 0.1);
}

.best-line {
  font-size: clamp(1.18rem, 0.96vw, 1.35rem);
  line-height: 1.5;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.12);
}

.final-word {
  color: #ffffff;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1rem;
}

.action-button,
.small-button {
  min-height: 4.35rem;
  border-radius: 15px;
  border: 1px solid rgba(185, 35, 255, 0.75);
  background: linear-gradient(180deg, rgba(110, 18, 152, 0.82), rgba(35, 5, 57, 0.88));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: left;
  padding: 0.85rem 1rem;
  font-size: 18px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 0 22px rgba(185, 35, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.09), inset 0 0 18px rgba(255, 255, 255, 0.04);
}

.action-button small,
.small-button small {
  display: block;
  margin-top: 0.12rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.action-button.primary {
  border-color: rgba(98, 215, 255, 0.86);
  background: linear-gradient(180deg, rgba(206, 65, 255, 0.98), rgba(92, 13, 132, 0.98));
  box-shadow: 0 0 32px rgba(185, 35, 255, 0.5), 0 0 18px rgba(98, 215, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 20px rgba(255, 255, 255, 0.07);
}

.action-button.gold {
  color: #1d0800;
  border-color: rgba(98, 215, 255, 0.9);
  background: linear-gradient(180deg, #62d7ff, #62d7ff 70%, #1d91d0);
  box-shadow: 0 0 32px rgba(98, 215, 255, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.action-button.gold small { color: rgba(3, 16, 26, 0.72); }

.action-button:hover,
.action-button:focus-visible,
.small-button:hover,
.small-button:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(98, 215, 255, 0.22), 0 0 28px rgba(185, 35, 255, 0.38);
}

.safety-fallback {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.safety-fallback h2 {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 1000;
}

.safety-fallback p {
  margin: 0 auto 1rem;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.55;
}

.fallback-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.lower-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.3rem;
  align-items: stretch;
}

.info-card {
  position: relative;
  overflow: hidden;
  min-height: 12.25rem;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(11.5rem, 1.08fr);
  gap: 1rem;
  align-items: center;
  border-color: rgba(185, 35, 255, 0.58);
  background:
    linear-gradient(145deg, rgba(8, 5, 15, 0.98), rgba(3, 1, 7, 0.96));
  box-shadow: 0 0 24px rgba(185, 35, 255, 0.18), 0 0 12px rgba(98, 215, 255, 0.08), inset 0 0 44px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.info-card::after {
  content: none;
}

.info-card:hover,
.info-card:focus-visible,
.info-card:focus-within {
  outline: none;
  border-color: rgba(98, 215, 255, 0.82);
  box-shadow: 0 0 0 2px rgba(185, 35, 255, 0.38), 0 0 34px rgba(185, 35, 255, 0.35), 0 0 18px rgba(98, 215, 255, 0.16), inset 0 0 52px rgba(185, 35, 255, 0.09);
  filter: saturate(1.08) brightness(1.03);
}

.info-card:hover {
  transform: translateY(-2px);
}

.info-card h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.info-card p {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: 20px;
  line-height: 1.5;
}

.info-visual,
.pack-visual {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: clamp(12rem, 19vw, 15.4rem);
  border-radius: 8px;
  background: #020006;
  object-fit: contain;
  filter: saturate(1.08) drop-shadow(0 16px 18px rgba(0, 0, 0, 0.48));
}

.pack-visual {
  width: clamp(11.8rem, 18.4vw, 14.9rem);
  transform: rotate(8deg);
}

.dice-visual {
  width: clamp(13rem, 20vw, 16rem);
  object-fit: contain;
  transform: rotate(-4deg) translateX(-0.25rem);
}

.quote-visual {
  width: clamp(10.1rem, 15.4vw, 13rem);
  transform: rotate(1deg);
}

.award-visual {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: clamp(12.3rem, 18.5vw, 15.4rem);
  object-fit: contain;
  border-radius: 8px;
  background: #020006;
  filter: saturate(1.08) drop-shadow(0 16px 18px rgba(0, 0, 0, 0.48));
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  color: var(--purple-2);
  border: 1px solid rgba(185, 35, 255, 0.82);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  text-decoration: none;
  background: rgba(12, 2, 20, 0.72);
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

.card-link:hover,
.card-link:focus-visible {
  outline: none;
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 35, 255, 0.32);
}

.recent-section {
  margin-top: 1.3rem;
  padding: 1.25rem;
}

.recent-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.recent-title {
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.recent-header p {
  margin: 0.35rem 0 0;
  color: var(--muted-readable);
  line-height: 1.45;
}

.recent-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.recent-empty {
  grid-column: 1 / -1;
  color: var(--muted-readable);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
}

.drop-card {
  border-radius: 16px;
  border: 1px solid rgba(185, 35, 255, 0.42);
  background: rgba(4, 2, 12, 0.72);
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.drop-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--muted-soft-readable);
  font-size: 17px;
}

.drop-card strong {
  color: #fff;
  font-size: 1.14rem;
}

.drop-card .meter-small {
  color: var(--gold);
  font-weight: 1000;
}

.drop-card p {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
}

.drop-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.drop-actions .small-button {
  min-height: 2.6rem;
  padding: 0.55rem;
  font-size: 16px;
  border-radius: 10px;
  text-align: center;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.3rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 3, 11, 0.78);
  align-items: start;
}

.feature-strip.single-action {
  grid-template-columns: minmax(0, 1fr);
}

.feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  border-radius: 14px;
  padding: 0.35rem;
  outline: none;
  transition: box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.feature-strip.single-action .feature {
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  text-align: left;
  padding: 0.85rem 1rem;
}

.feature-strip.single-action .feature p {
  max-width: none;
}

.feature[href]:hover,
.feature[href]:focus-visible {
  box-shadow: 0 0 0 1px rgba(98, 215, 255, 0.22), 0 0 14px rgba(185, 35, 255, 0.18);
  background: rgba(255, 255, 255, 0.025);
}

.feature-icon {
  color: var(--gold);
  font-size: 1.9rem;
  text-shadow: 0 0 12px rgba(98, 215, 255, 0.56);
}

.feature h3 {
  margin: 0;
  color: var(--gold);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 1000;
}

.feature p {
  margin: 0.08rem 0 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.28;
  max-width: 18ch;
  text-wrap: balance;
}

.site-footer {
  color: #f4edf8;
  text-align: center;
  padding: 2.2rem 0 0.4rem;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 700;
}

.site-footer a {
  color: #fff;
  margin: 0 0.3rem;
  font-size: 20px;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.9);
  text-underline-offset: 0.2rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.modal-card {
  width: min(100%, 36rem);
  border-radius: 22px;
  border: 1px solid rgba(185, 35, 255, 0.72);
  background: linear-gradient(145deg, rgba(13, 8, 24, 0.98), rgba(5, 2, 10, 0.98));
  box-shadow: 0 0 50px rgba(185, 35, 255, 0.36);
  padding: 1.25rem;
}

.modal-card h2 {
  margin: 0 0 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
}

.modal-card p {
  color: #fff;
  line-height: 1.55;
}

.modal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

#menu-modal .modal-actions {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}

.modal-actions.idea-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gavel-preview-modal .modal-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gavel-preview-modal .modal-card {
  width: min(96vw, 820px);
  max-height: 96vh;
  overflow: auto;
}

.gavel-card-preview-frame {
  margin: 1rem auto 0;
  width: min(100%, 38rem);
  display: grid;
  place-items: center;
  border: 1px solid rgba(185, 35, 255, 0.72);
  border-radius: 18px;
  background: #020004;
  box-shadow: 0 0 22px rgba(185, 35, 255, 0.24);
  overflow: visible;
}

.gavel-card-preview-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.gavel-card-preview-note {
  margin: 0.75rem 0 0;
  text-align: center;
  color: #fff;
  font-size: 1rem;
}

.more-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.more-category-button {
  min-height: 4rem;
  border-radius: 14px;
  border: 1px solid rgba(98, 215, 255, 0.34);
  background: linear-gradient(145deg, rgba(18, 7, 30, 0.92), rgba(5, 2, 10, 0.9));
  color: #fff;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 900;
  text-align: center;
  box-shadow: inset 0 0 22px rgba(185, 35, 255, 0.08), 0 0 18px rgba(185, 35, 255, 0.16);
}

.more-category-button:hover,
.more-category-button:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 35, 255, 0.28), 0 0 24px rgba(98, 215, 255, 0.18);
}

#more-drama-modal .modal-card {
  width: min(92vw, 860px);
  min-height: 520px;
  padding: 32px;
  max-height: 88vh;
  overflow: auto;
}

#more-drama-modal .modal-card h2 {
  font-size: 38px;
  line-height: 1.05;
}

#more-drama-modal .modal-card p {
  font-size: 22px;
  line-height: 1.45;
}

#more-drama-modal .more-category-button {
  min-height: 5.35rem;
  font-size: 22px;
}

#more-drama-modal .small-button {
  min-height: 3.5rem;
  font-size: 20px;
}

#petty-prompt-modal .modal-card {
  width: min(100%, 58rem);
  max-height: 92vh;
  overflow: auto;
}

.prompt-modal-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 1rem;
  align-items: stretch;
  margin-top: 1rem;
}

.prompt-modal-visual,
.prompt-modal-pick {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(98, 215, 255, 0.38);
  background: rgba(0, 0, 0, 0.32);
  padding: 1rem;
}

.prompt-modal-visual {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1.35rem;
  text-align: center;
  min-height: 24rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(98, 215, 255, 0.22), transparent 8.5rem),
    radial-gradient(circle at 52% 55%, rgba(185, 35, 255, 0.26), transparent 11rem),
    rgba(0, 0, 0, 0.34);
}

.prompt-modal-visual img {
  position: absolute;
  left: 50%;
  top: 43%;
  width: min(94%, 22rem);
  max-width: none;
  height: 15.5rem;
  object-fit: contain;
  object-position: center center;
  border-radius: 16px;
  transform: translate(-50%, -50%);
  filter: saturate(1.16) drop-shadow(0 0 34px rgba(98, 215, 255, 0.42)) drop-shadow(0 0 28px rgba(185, 35, 255, 0.32));
}

.prompt-modal-visual .prompt-modal-label {
  position: absolute;
  left: 50%;
  bottom: 2.1rem;
  transform: translateX(-50%);
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #ffffff;
  padding: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
  text-shadow: none;
}

.prompt-modal-gavel {
  position: absolute;
  right: 1rem;
  top: 0.65rem;
  width: min(25%, 11rem);
  pointer-events: none;
}

.prompt-modal-gavel img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 28px rgba(98, 215, 255, 0.36)) drop-shadow(0 0 24px rgba(185, 35, 255, 0.34));
}

.prompt-modal-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(98, 215, 255, 0.6);
  color: var(--gold);
  background: rgba(98, 215, 255, 0.1);
  padding: 0.4rem 0.7rem;
  font-size: 16px;
  font-weight: 950;
  text-transform: uppercase;
}

.prompt-modal-pick h3 {
  margin: 0.7rem 0 0.5rem;
  max-width: 62%;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 0.98;
}

.prompt-modal-pick > p {
  margin: 0;
  max-width: 62%;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  font-weight: 850;
}

.prompt-side-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.prompt-side {
  min-height: 9rem;
  border-radius: 16px;
  border: 1px solid rgba(216, 91, 255, 0.38);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.85rem;
}

.prompt-side strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.prompt-side p {
  margin: 0;
  color: #fff;
  font-weight: 800;
}

.prompt-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.prompt-modal-meta span {
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  padding: 0;
  font-size: 16px;
  font-weight: 900;
  text-shadow: none;
}

#petty-prompt-modal .action-button:hover,
#petty-prompt-modal .action-button:focus-visible,
#petty-prompt-modal .small-button:hover,
#petty-prompt-modal .small-button:focus-visible {
  border-color: rgba(98, 215, 255, 0.98);
  background: linear-gradient(180deg, rgba(16, 55, 82, 0.98), rgba(3, 20, 38, 0.98));
  box-shadow:
    0 0 0 3px rgba(98, 215, 255, 0.28),
    0 0 26px rgba(98, 215, 255, 0.34),
    inset 0 0 18px rgba(98, 215, 255, 0.08);
  transform: translateY(-2px);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  z-index: 120;
  transform: translateX(-50%);
  max-width: min(92vw, 32rem);
  color: #03101a !important;
  background: #62d7ff;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-weight: 950;
  box-shadow: 0 0 30px rgba(98, 215, 255, 0.36);
  text-align: center;
}

@keyframes gavelGlow {
  from { transform: translateY(0) rotate(-1deg); filter: saturate(1); }
  to { transform: translateY(-4px) rotate(1deg); filter: saturate(1.18) brightness(1.06); }
}

@keyframes tinySpin {
  to { transform: rotate(360deg); }
}

@keyframes popupGavelUpStrike {
  0%, 38% { opacity: 0; transform: translateY(1.1rem) scale(1.025); }
  72%, 100% { opacity: 1; transform: translateY(0) scale(1.02); }
}

@keyframes popupGavelDownStrike {
  0%, 40% { opacity: 1; transform: translateY(0.75rem) scale(1.02); }
  76%, 100% { opacity: 0; transform: translateY(0) scale(1.02); }
}

@keyframes popupImpactFlash {
  0%, 38% { opacity: 1; transform: scale(1.04); }
  100% { opacity: 0; transform: scale(0.94); }
}

@keyframes energyPulse {
  0% { box-shadow: 0 0 0 0 rgba(98, 215, 255, 0), 0 0 0 0 rgba(185, 35, 255, 0); }
  22% { box-shadow: 0 0 0 4px rgba(98, 215, 255, 0.22), 0 0 32px rgba(185, 35, 255, 0.36); }
  100% { box-shadow: 0 0 0 0 rgba(98, 215, 255, 0), 0 0 0 0 rgba(185, 35, 255, 0); }
}

.energy-row.energy-pulse {
  border-radius: 16px;
  animation: energyPulse 1.2s ease both;
}

@media (max-width: 1500px) and (min-width: 861px) {
  .result-body {
    grid-template-columns: minmax(8rem, 0.26fr) minmax(0, 3.7fr);
  }

  .result-mascot {
    grid-template-columns: minmax(8rem, 1fr);
  }

  .result-mascot img {
    width: min(100%, 9.5rem);
  }

  .result-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .result-cell:nth-child(3n+1) {
    border-left: 0;
  }

  .result-cell:nth-child(n+4) {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 1180px) {
  .selector-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .energy-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .result-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .result-cell:nth-child(4) { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .result-cell:nth-child(n+5) { border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recent-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 861px) {
  .tagline { white-space: nowrap; }
  .side-card h3 {
    font-size: 52px;
  }
  .side-card .subtext {
    font-size: 20px;
  }
  label {
    font-size: 20px;
    line-height: 1.25;
    font-weight: 900;
  }
  input {
    padding: 1rem 1.05rem;
    font-size: 20px;
    line-height: 1.35;
  }
  textarea {
    padding: 1rem 1.05rem;
    font-size: 20px;
    line-height: 1.45;
  }
  input::placeholder,
  textarea::placeholder {
    font-size: 19px;
    line-height: 1.45;
  }
  .count {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.78);
  }
  .preview-note {
    font-size: 24px;
  }
  .info-card h3 {
    font-size: 30px;
  }
  .info-card p {
    font-size: 22px;
  }
  .feature p {
    font-size: 25px;
    line-height: 1.24;
  }
  .card-link {
    font-size: 20px;
  }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .page-shell { width: 100%; padding: 0.9rem 0.85rem 1.5rem; }
  .top-nav { justify-content: flex-end; min-height: 2.8rem; }
  .top-nav .nav-link { display: none; }
  .hero {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    text-align: center;
    margin-top: 0;
  }
  .brand-art {
    width: min(100%, 21rem);
    margin: 0 auto;
  }
  .tagline {
    margin: 0.7rem auto 0;
    font-size: clamp(1.35rem, 7vw, 2.05rem);
    transform: rotate(-1deg);
    transform-origin: center;
  }
  .supporting {
    margin: 1.35rem auto 0;
    max-width: 22rem;
    font-size: 1rem;
  }
  .motto {
    margin: 0.85rem auto 0;
    font-size: 0.9rem;
    padding: 0.15rem 0;
  }
  .hero-art {
    justify-self: center;
    width: min(100%, 21rem);
    margin-top: -0.2rem;
  }
  .judge-panel { padding: 1rem; border-radius: 20px; }
  .judge-panel.has-result .panel-heading,
  .judge-panel.has-result .side-grid {
    display: none;
  }
  .panel-heading h2 { color: var(--gold); font-size: 1.25rem; }
  .panel-heading h2::before,
  .panel-heading h2::after { width: 0.75rem; margin-inline: 0.35rem; }
  .side-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .vs-badge { display: none; }
  .side-card {
    display: grid;
    grid-template-columns: 5.4rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
  }
  .side-card header {
    grid-row: span 3;
    display: grid;
    place-items: center;
    align-self: stretch;
    margin: 0;
  }
  .side-card header div { text-align: center; }
  .side-card h3 { font-size: 1.55rem; }
  #drama-type-title,
  #judge-energy-title {
    font-size: 1.25rem;
    line-height: 1.1;
  }
  .side-card .subtext,
  .side-doodle { display: none; }
  .field { margin-top: 0; }
  textarea { min-height: 5.6rem; }
  .selector-title { text-align: center; }
  .selector-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.55rem; }
  .energy-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chip { min-height: 4.5rem; font-size: 0.86rem; padding: 0.52rem; }
  .energy-row .chip { min-height: 3.35rem; }
  .slam-button {
    min-height: auto;
    border-radius: 20px;
    font-size: clamp(2rem, 10vw, 3.4rem);
  }
  .safety-line { font-size: 16px; align-items: flex-start; }
  .preview-card {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .preview-mascot { display: none; }
  .preview-phone { display: none; }
  .more-category-grid {
    grid-template-columns: 1fr;
  }
  #more-drama-modal .modal-card {
    width: 94vw;
    min-height: auto;
    max-height: 88vh;
    padding: 20px;
    overflow: auto;
  }
  #more-drama-modal .modal-card h2 {
    font-size: 28px;
  }
  #more-drama-modal .modal-card p {
    font-size: 18px;
  }
  #more-drama-modal .more-category-button {
    min-height: 4.25rem;
    font-size: 18px;
  }
  #more-drama-modal .small-button {
    font-size: 20px;
  }
  .preview-content h2 { text-align: center; }
  .preview-note {
    font-size: 18px;
    line-height: 1.35;
  }
  .preview-grid {
    grid-template-columns: 1fr 0.85fr;
    gap: 0.75rem;
  }
  .mini-field {
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 14px;
    padding: 0.85rem;
  }
  .mini-field:nth-child(4) {
    background: rgba(2, 0, 6, 0.72);
  }
  .mini-field:nth-child(3),
  .mini-field:nth-child(4) { grid-column: auto; }
  .loading-panel { grid-template-columns: 1fr; text-align: center; gap: 1rem; }
  .loading-gavel { width: min(100%, 15rem); }
  .loading-lines li { min-height: 3.05rem; }
  .result-card { padding: 1rem; }
  .result-heading {
    font-size: clamp(1.9rem, 7.4vw, 3.2rem);
    line-height: 1;
    margin-bottom: 0.9rem;
    padding-inline: 0.9rem;
  }
  .result-body { grid-template-columns: 1fr; }
  .result-mascot { display: none; }
  .result-grid { grid-template-columns: 1fr; }
  .result-cell,
  .result-cell:first-child {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 1rem;
  }
  .result-cell:first-child { border-top: 0; text-align: center; }
  .action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .action-button {
    justify-content: center;
    min-height: 4.55rem;
    padding-inline: 0.8rem;
    position: relative;
    text-align: center;
  }
  .action-button::after { content: none; }
  .lower-cards { grid-template-columns: 1fr; }
  .info-card {
    min-height: 8.15rem;
    grid-template-columns: minmax(0, 1fr) minmax(8.6rem, auto);
    padding: 1rem;
  }
  .pack-visual { width: clamp(8.2rem, 34vw, 10rem); }
  .dice-visual { width: clamp(9.4rem, 39vw, 11.2rem); }
  .award-visual { width: clamp(9.2rem, 37vw, 11rem); }
  .quote-visual { width: clamp(7.8rem, 33vw, 9.5rem); }
  .recent-header { display: grid; }
  .recent-list { grid-template-columns: 1fr; }
  .feature-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.55rem;
  }
  .feature {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.2rem;
  }
  .feature-icon { font-size: 1.3rem; }
  .feature h3 { font-size: 0.82rem; }
  .feature p { display: none; }
  .site-footer {
    font-size: 17px;
    line-height: 1.5;
  }
  .site-footer a { font-size: 17px; }
}

@media (max-width: 520px) {
  .side-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .side-card header {
    display: flex;
    justify-content: flex-start;
  }
  .side-card header div { text-align: left; }
  .selector-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .energy-row { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr; }
  .prompt-modal-grid,
  .prompt-side-grid { grid-template-columns: 1fr; }
  .prompt-modal-visual { min-height: 16rem; gap: 0.7rem; }
  .prompt-modal-visual img { top: 35%; width: min(92%, 16.8rem); height: 8.6rem; object-fit: contain; transform: translate(-50%, -50%); }
  .prompt-modal-visual .prompt-modal-label { bottom: 1rem; }
  .prompt-modal-gavel { position: static; width: min(70%, 12rem); margin: 0 auto 0.5rem; }
  .prompt-modal-pick > p { max-width: none; }
  .fallback-actions,
  .modal-actions { grid-template-columns: 1fr; }
  .drop-actions { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 3.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
/* Visual Baseline */
body {
  background:
    radial-gradient(circle at 50% -8%, rgba(69, 0, 111, 0.18), transparent 34rem),
    radial-gradient(circle at 84% 8%, rgba(98, 215, 255, 0.08), transparent 24rem),
    linear-gradient(180deg, #030106 0%, #000 46%, #030106 100%);
  font-size: 19px;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body::before {
  opacity: 0.055;
  filter: none;
}

body::after {
  opacity: 0.18;
  background:
    radial-gradient(circle at 18% 14%, rgba(185, 35, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 86% 16%, rgba(98, 215, 255, 0.1), transparent 26rem),
    linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.42));
}

.page-shell {
  width: min(calc(100% - clamp(1rem, 4vw, 5.5rem)), 1620px);
}

.brand-art {
  width: min(100%, 37.8rem);
  mix-blend-mode: normal;
  filter: none;
}

.tagline,
.supporting,
.motto {
  transform: rotate(-2.5deg);
  transform-origin: left center;
  text-shadow: none;
}

.tagline {
  font-size: clamp(2.15rem, 3vw, 3.35rem);
  line-height: 1.04;
  font-weight: 1000;
}

.supporting {
  max-width: 38rem;
  font-size: clamp(1.42rem, 1.72vw, 1.95rem);
  line-height: 1.34;
  color: #fff;
}

.motto {
  padding: 0.58rem 1.08rem;
  border-color: rgba(240, 76, 255, 0.82);
  background: rgba(0, 0, 0, 0.76);
  color: #fff;
  font-size: clamp(1.22rem, 1.4vw, 1.52rem);
  box-shadow: 0 0 16px rgba(185, 35, 255, 0.22);
}

.hero-art {
  width: min(100%, 44rem);
  filter: none;
}

.hero-gavel {
  filter: drop-shadow(0 0 22px rgba(98, 215, 255, 0.18));
}

.judge-panel,
.result-zone,
.result-card,
.loading-panel,
.safety-fallback,
.recent-section,
.side-card,
.info-card {
  background:
    radial-gradient(circle at 82% 12%, rgba(98, 215, 255, 0.08), transparent 16rem),
    radial-gradient(circle at 14% 14%, rgba(185, 35, 255, 0.1), transparent 18rem),
    linear-gradient(145deg, rgba(5, 3, 11, 0.98), rgba(0, 0, 0, 0.97));
  border-color: rgba(185, 35, 255, 0.72);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 28px rgba(185, 35, 255, 0.16),
    inset 0 0 28px rgba(255, 255, 255, 0.025);
}

.them-card {
  background:
    radial-gradient(circle at 82% 12%, rgba(98, 215, 255, 0.11), transparent 16rem),
    linear-gradient(145deg, rgba(23, 9, 0, 0.96), rgba(0, 0, 0, 0.97));
  border-color: rgba(98, 215, 255, 0.58);
}

.panel-heading h2,
.selector-title,
#drama-type-title,
#judge-energy-title,
.loading-panel h2,
.result-heading,
.recent-title {
  color: #fff;
  text-shadow: none;
  letter-spacing: 0.035em;
}

.panel-heading h2,
.selector-title,
#drama-type-title,
#judge-energy-title {
  font-size: clamp(1.8rem, 2.65vw, 2.65rem);
  line-height: 1.05;
}

.panel-heading p {
  font-size: clamp(1.12rem, 1.24vw, 1.38rem);
  line-height: 1.25;
}

.side-card {
  padding: clamp(1.25rem, 2vw, 1.75rem);
}

.side-card h3 {
  font-size: clamp(2.65rem, 3.25vw, 3.55rem);
  line-height: 0.9;
  text-shadow: none;
}

.side-card .subtext,
label,
.char-count {
  font-size: clamp(1.06rem, 1.05vw, 1.22rem);
  color: #fff;
}

input,
textarea {
  background: #030106;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: clamp(1.08rem, 1.05vw, 1.22rem);
  line-height: 1.42;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.chip {
  background:
    radial-gradient(circle at 50% 10%, rgba(185, 35, 255, 0.09), transparent 3.2rem),
    rgba(0, 0, 0, 0.86);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: clamp(1.03rem, 0.98vw, 1.18rem);
  font-weight: 850;
  text-shadow: none;
  opacity: 1;
}

.chip .icon {
  font-size: 2.25rem;
}

.energy-row .chip {
  font-size: clamp(1.02rem, 1vw, 1.16rem);
}

.slam-button {
  filter: saturate(1.08);
  box-shadow: none;
}

.safety-line {
  font-size: clamp(1.08rem, 1.15vw, 1.28rem);
  color: #fff;
}

.result-card {
  padding: clamp(1.45rem, 2.2vw, 2.15rem);
  border-color: rgba(240, 76, 255, 0.82);
}

.result-heading {
  font-size: clamp(2.65rem, 4.5vw, 4.45rem);
  line-height: 0.95;
}

.result-grid {
  background: rgba(0, 0, 0, 0.86);
  border-color: rgba(240, 76, 255, 0.38);
}

.result-cell {
  padding: clamp(1.2rem, 1.45vw, 1.65rem);
  background: rgba(0, 0, 0, 0.72);
}

.result-card .result-label {
  font-size: clamp(1.05rem, 0.95vw, 1.24rem);
  line-height: 1.18;
  letter-spacing: 0.035em;
}

.result-cell p,
.best-line {
  font-size: clamp(1.3rem, 1.13vw, 1.58rem);
  line-height: 1.42;
  font-weight: 850;
}

.result-cell .big-winner {
  font-size: clamp(2.15rem, 2.35vw, 3rem);
  line-height: 0.98;
}

.result-cell .big-winner.medium-pick {
  font-size: clamp(1.48rem, 1.68vw, 2.05rem);
  line-height: 1.08;
}

.result-cell .big-winner.long-pick {
  font-size: clamp(1.16rem, 1.18vw, 1.5rem);
  line-height: 1.2;
}

.result-card .meter {
  font-size: clamp(2.35rem, 2.7vw, 3.3rem);
}

.action-button,
.small-button {
  min-height: 4.7rem;
  font-size: 1.15rem;
}

.action-button small,
.small-button small {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
}

.lower-cards {
  gap: clamp(0.9rem, 1.3vw, 1.25rem);
}

.info-card {
  min-height: clamp(12rem, 15vw, 15.2rem);
  background:
    radial-gradient(circle at 72% 50%, rgba(185, 35, 255, 0.12), transparent 9rem),
    linear-gradient(145deg, rgba(5, 3, 11, 0.99), rgba(0, 0, 0, 0.98));
  border-color: rgba(185, 35, 255, 0.86);
}

.info-card h3 {
  font-size: clamp(1.7rem, 2.35vw, 2.25rem);
  line-height: 1.02;
  text-shadow: none;
}

.info-card p {
  font-size: clamp(1.12rem, 1.22vw, 1.34rem);
  line-height: 1.36;
}

.card-link {
  font-size: clamp(1.02rem, 1vw, 1.16rem);
  min-height: 2.45rem;
}

.pack-visual,
.dice-visual,
.award-visual {
  border-radius: 8px;
  filter: drop-shadow(0 0 14px rgba(185, 35, 255, 0.42)) drop-shadow(0 0 14px rgba(98, 215, 255, 0.16));
  height: auto;
  max-height: clamp(8.2rem, 12vw, 11rem);
  object-fit: contain;
}

.pack-visual {
  width: clamp(12.8rem, 20vw, 17rem);
}

.dice-visual {
  width: clamp(13.8rem, 21.5vw, 17.8rem);
}

.award-visual {
  width: clamp(12.8rem, 20vw, 17rem);
}

.feature-strip {
  background: rgba(0, 0, 0, 0.88);
  border-color: rgba(255, 255, 255, 0.14);
}

.feature h3 {
  font-size: clamp(1.08rem, 1vw, 1.22rem);
  line-height: 1.08;
}

.feature p {
  max-width: 20ch;
  font-size: clamp(1.08rem, 1vw, 1.2rem);
  line-height: 1.26;
  font-weight: 500;
}

.site-footer {
  color: #fff;
  font-size: clamp(1rem, 1vw, 1.15rem);
}

@media (max-width: 900px) {
  .brand-art {
    width: min(100%, 23.5rem);
  }

  .tagline {
    font-size: clamp(1.6rem, 7.2vw, 2.3rem);
  }

  .supporting {
    font-size: clamp(1.08rem, 4.2vw, 1.36rem);
  }

  .motto {
    font-size: clamp(1rem, 3.9vw, 1.18rem);
    padding: 0.48rem 0.78rem;
  }

  .hero-art {
    width: min(100%, 23.2rem);
  }

  .judge-panel {
    padding: 1.15rem;
  }

  .panel-heading h2,
  .selector-title,
  #drama-type-title,
  #judge-energy-title {
    font-size: clamp(1.45rem, 6vw, 2.05rem);
  }

  .panel-heading p {
    font-size: 1.06rem;
  }

  .side-card h3 {
    font-size: clamp(2.2rem, 9.6vw, 3rem);
  }

  .chip {
    font-size: 0.98rem;
    min-height: 4.85rem;
  }

  .result-heading {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .result-cell p,
  .best-line {
    font-size: 1.16rem;
  }

  .info-card {
    min-height: 9.4rem;
  }

  .info-card h3 {
    font-size: clamp(1.45rem, 6.5vw, 2rem);
  }

  .info-card p {
    font-size: 1.08rem;
  }

  .pack-visual { width: clamp(9rem, 38vw, 11.8rem); }
  .dice-visual { width: clamp(10rem, 43vw, 12.8rem); }
  .award-visual { width: clamp(9rem, 38vw, 12rem); }

  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature p {
    display: block;
    font-size: 0.92rem;
  }
}

/* Text And Panel Normalization */
body :is(h1, h2, h3, h4, h5, h6, p, span, label, input, textarea, button, a, small, strong, em, mark, li, summary, blockquote, figcaption, div) {
  text-shadow: none;
}

body :is(h1, h2, h3, h4, h5, h6, p, span, label, input, textarea, button, a, small, strong, em, mark, li, summary, blockquote, figcaption) {
  filter: none;
}

.judge-panel,
.result-zone,
.result-card,
.loading-panel,
.safety-fallback,
.recent-section,
.side-card,
.info-card,
.feature-strip {
  background: linear-gradient(145deg, rgba(5, 3, 11, 0.99), rgba(0, 0, 0, 0.985));
}

.them-card {
  background: linear-gradient(145deg, rgba(20, 8, 0, 0.98), rgba(0, 0, 0, 0.985));
}

.result-cell,
input,
textarea {
  background: #020106;
}

.slam-button .slam-label {
  text-shadow: none;
}
/* Color Direction */


body {
  background:
    radial-gradient(circle at 70% 9%, rgba(185, 35, 255, 0.18), transparent 26rem),
    linear-gradient(180deg, #030106 0%, #000 48%, #030106 100%);
}

body::after {
  background:
    radial-gradient(circle at 18% 14%, rgba(185, 35, 255, 0.10), transparent 28rem),
    linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.42));
}

.tagline,
.supporting,
.motto {
  transform: rotate(-4deg);
  transform-origin: left center;
}

.supporting mark,
.motto mark,
.motto .spark,
.nav-link span,
.menu-button span:first-child,
.panel-heading p,
.side-card.them h3,
.them .side-doodle,
.safety-line .shield,
.mini-label,
.meter,
.info-card h3,
.feature h3,
.recent-title,
.result-label,
.big-winner {
  color: var(--gold);
}

.nav-link span,
.menu-button span:first-child,
.motto .spark,
.them .side-doodle,
.side-card.them h3 {
  filter: drop-shadow(0 0 8px rgba(98, 215, 255, 0.34));
  text-shadow: none;
}

.hero-art {
  padding: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
}

.hero-art::before {
  display: none;
}

.hero-gavel {
  mix-blend-mode: screen;
  filter: saturate(1.08) contrast(1.04) drop-shadow(0 20px 26px rgba(0, 0, 0, 0.48));
  -webkit-mask-image: radial-gradient(ellipse 62% 55% at 50% 52%, #000 58%, rgba(0, 0, 0, 0.82) 72%, transparent 96%);
  mask-image: radial-gradient(ellipse 62% 55% at 50% 52%, #000 58%, rgba(0, 0, 0, 0.82) 72%, transparent 96%);
}

.judge-panel,
.result-zone,
.result-card,
.loading-panel,
.safety-fallback,
.recent-section,
.side-card,
.info-card {
  background:
    radial-gradient(circle at 14% 14%, rgba(185, 35, 255, 0.08), transparent 18rem),
    linear-gradient(145deg, rgba(5, 3, 11, 0.99), rgba(0, 0, 0, 0.98));
  border-color: rgba(185, 35, 255, 0.72);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 24px rgba(185, 35, 255, 0.14),
    inset 0 0 24px rgba(255, 255, 255, 0.02);
}

.judge-panel::before,
.result-card::before {
  background:
    radial-gradient(circle at 14% 0%, rgba(185, 35, 255, 0.08), transparent 22rem);
}

.side-card.them,
.them-card {
  background: linear-gradient(145deg, rgba(3, 3, 8, 0.99), rgba(0, 0, 0, 0.985));
  border-color: rgba(98, 215, 255, 0.68);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 18px rgba(98, 215, 255, 0.12),
    inset 0 0 24px rgba(255, 255, 255, 0.02);
}

.side-card.them h3 {
  color: #62d7ff;
}

.side-card.you input,
.side-card.you textarea {
  border-color: rgba(240, 76, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(240, 76, 255, 0.10), 0 0 0 1px rgba(240, 76, 255, 0.10);
}

.side-card.them input,
.side-card.them textarea {
  border-color: rgba(98, 215, 255, 0.68);
  box-shadow: inset 0 0 0 1px rgba(98, 215, 255, 0.08), 0 0 0 1px rgba(98, 215, 255, 0.08);
}

.side-card.you input:focus-visible,
.side-card.you textarea:focus-visible {
  border-color: var(--purple-2);
  box-shadow: 0 0 0 3px rgba(240, 76, 255, 0.30), inset 0 0 0 1px rgba(240, 76, 255, 0.14);
}

.side-card.them input:focus-visible,
.side-card.them textarea:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(98, 215, 255, 0.22), inset 0 0 0 1px rgba(98, 215, 255, 0.12);
}

.side-card input[aria-invalid="true"] {
  border-color: rgba(143, 220, 255, 0.98);
  box-shadow: 0 0 0 3px rgba(98, 215, 255, 0.26), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.panel-heading h2::before,
.panel-heading h2::after,
.result-heading::before,
.result-heading::after {
  box-shadow: 0 -0.5rem 0 -0.05rem rgba(98, 215, 255, 0.68), 0 0.5rem 0 -0.05rem rgba(185, 35, 255, 0.75);
}

.chip[aria-checked="true"],
.chip.selected,
.idea-chip:hover,
.idea-chip:focus-visible {
  border-color: rgba(98, 215, 255, 0.76);
  background:
    rgba(0, 0, 0, 0.88);
  box-shadow: 0 0 0 2px rgba(185, 35, 255, 0.30), 0 0 18px rgba(98, 215, 255, 0.16);
}

.preview-card,
.result-grid,
.feature-strip {
  background: rgba(0, 0, 0, 0.9);
  box-shadow: none;
}

.meter-fill {
  background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--purple-2));
  box-shadow: 0 0 12px rgba(98, 215, 255, 0.28);
}

.pack-visual,
.dice-visual,
.award-visual,
.preview-mascot img,
.preview-phone {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.action-button.gold {
  background: linear-gradient(180deg, #62d7ff 0%, #62d7ff 48%, #1d91d0 100%);
  color: #00121d;
  border-color: rgba(98, 215, 255, 0.88);
  box-shadow: 0 0 24px rgba(29, 145, 208, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.action-button.gold small {
  color: rgba(0, 18, 29, 0.76);
}

/* Result Layout */
.safety-line .shield {
  display: none !important;
}

.result-grid {
  grid-template-columns:
    minmax(8.5rem, 0.95fr)
    minmax(13rem, 1.45fr)
    minmax(9.6rem, 1.05fr)
    minmax(13rem, 1.45fr)
    minmax(12rem, 1.32fr)
    minmax(12rem, 1.32fr);
}

.result-card .result-cell {
  min-width: 0;
  padding-inline: clamp(0.85rem, 1vw, 1.2rem);
}

.result-card .result-cell:nth-child(3) {
  min-width: 9.6rem;
}

.result-card .meter {
  font-size: clamp(1.75rem, 2.05vw, 2.45rem);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.result-card .meter-bar {
  width: min(100%, 6.8rem);
}

/* Readability System */


body {
  background:
    radial-gradient(circle at 72% 8%, rgba(185, 35, 255, 0.14), transparent 24rem),
    radial-gradient(circle at 16% 18%, rgba(98, 215, 255, 0.08), transparent 18rem),
    linear-gradient(180deg, #030106 0%, #000 52%, #030106 100%);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.tagline,
.supporting,
.motto,
.panel-heading h2,
.selector-title,
#drama-type-title,
#judge-energy-title,
.result-heading,
.loading-panel h2,
.recent-title {
  text-shadow: none !important;
  filter: none !important;
}

.panel-heading h2,
.selector-title,
#drama-type-title,
#judge-energy-title,
.result-heading {
  letter-spacing: 0.025em;
  line-height: 1.08;
}

.motto mark,
.motto .spark,
.panel-heading p,
.side-card.them h3,
.them .side-doodle,
.mini-label,
.meter,
.info-card h3,
.feature h3,
.recent-title,
.result-label,
.big-winner {
  color: var(--ice);
}

.judge-panel,
.result-zone,
.result-card,
.loading-panel,
.safety-fallback,
.recent-section,
.side-card,
.info-card,
.preview-card,
.feature-strip {
  background:
    radial-gradient(circle at 16% 10%, rgba(185, 35, 255, 0.07), transparent 18rem),
    linear-gradient(145deg, rgba(4, 3, 11, 0.99), rgba(0, 0, 0, 0.985));
  border-color: rgba(98, 215, 255, 0.42);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.035),
    0 0 18px rgba(98, 215, 255, 0.10),
    inset 0 0 22px rgba(255, 255, 255, 0.018);
}

.side-card.you,
.side-card.them {
  background: linear-gradient(145deg, rgba(5, 4, 13, 0.99), rgba(0, 0, 0, 0.985));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.035),
    0 0 14px rgba(98, 215, 255, 0.09),
    inset 0 0 18px rgba(255, 255, 255, 0.018);
}

.side-card.you {
  border-color: rgba(185, 35, 255, 0.62);
}

.side-card.them {
  border-color: rgba(98, 215, 255, 0.55);
}

.result-card {
  padding: clamp(1rem, 1.6vw, 1.45rem);
  border-color: rgba(98, 215, 255, 0.46);
  overflow: visible;
}

.result-card::before {
  display: none;
}

.result-heading {
  margin-bottom: 1rem;
  padding: 0.45rem clamp(0.85rem, 2.6vw, 2rem);
  color: #fff;
  font-size: clamp(2rem, 3.25vw, 3.25rem);
  line-height: 1.04;
  font-style: normal;
  font-weight: 850;
  background: rgba(4, 2, 11, 0.88);
  border-color: rgba(98, 215, 255, 0.42);
  border-radius: 16px;
  box-shadow: inset 0 0 18px rgba(98, 215, 255, 0.06);
}

.result-body {
  grid-template-columns: minmax(7.5rem, 0.2fr) minmax(0, 1fr);
  gap: clamp(0.7rem, 1.4vw, 1.2rem);
}

.result-mascot {
  background: linear-gradient(145deg, rgba(7, 4, 16, 0.92), rgba(0, 0, 0, 0.78));
  border: 1px solid rgba(98, 215, 255, 0.22);
  min-width: 0;
}

.result-mascot img {
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.48));
  mix-blend-mode: normal;
}

.result-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(98, 215, 255, 0.20);
  border-color: rgba(98, 215, 255, 0.34);
  box-shadow: none;
}

.result-cell,
.result-cell:nth-child(1),
.result-cell:nth-child(3),
.result-cell:nth-child(4) {
  min-width: 0;
  padding: clamp(0.9rem, 1.25vw, 1.15rem);
  background: rgba(2, 1, 7, 0.96);
  border: 0;
  box-shadow: none;
}

.result-card .result-cell:nth-child(3) {
  min-width: 0;
}

.result-card .result-label {
  margin-bottom: 0.45rem;
  color: var(--ice);
  font-size: clamp(0.86rem, 0.78vw, 1rem);
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.035em;
}

.result-cell p,
.best-line,
.final-word {
  color: #fff;
  font-size: clamp(1rem, 0.9vw, 1.12rem);
  line-height: 1.42;
  font-weight: 650;
  text-shadow: none !important;
  filter: none !important;
}

.best-line {
  font-weight: 700;
}

.result-cell .big-winner,
.result-cell .big-winner.medium-pick,
.result-cell .big-winner.long-pick {
  color: var(--ice);
  font-size: clamp(1.65rem, 1.85vw, 2.2rem);
  line-height: 1.04;
  font-weight: 850;
  text-shadow: none !important;
  filter: none !important;
}

.result-card .meter {
  color: #fff;
  font-size: clamp(1.55rem, 1.75vw, 2.1rem);
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: 0;
  text-shadow: none !important;
}

.result-card .meter span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 650;
}

.result-card .meter-bar {
  width: min(100%, 6.25rem);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.meter-fill {
  background: linear-gradient(90deg, var(--ice), #8f5cff);
  box-shadow: none;
}

.action-grid {
  gap: 0.8rem;
}

.action-button,
.small-button,
.action-button.primary,
.action-button.gold {
  color: #fff;
  background: linear-gradient(180deg, rgba(12, 28, 43, 0.96), rgba(4, 6, 16, 0.98));
  border-color: rgba(98, 215, 255, 0.48);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 0 14px rgba(98, 215, 255, 0.11);
  font-size: clamp(0.98rem, 0.86vw, 1.08rem);
  font-weight: 800;
  line-height: 1.15;
  text-shadow: none !important;
  filter: none !important;
}

.action-button.primary {
  background: linear-gradient(180deg, rgba(75, 22, 111, 0.96), rgba(21, 8, 38, 0.98));
  border-color: rgba(185, 35, 255, 0.62);
}

.action-button.gold {
  background: linear-gradient(180deg, rgba(21, 57, 78, 0.98), rgba(3, 15, 29, 0.98));
  border-color: rgba(98, 215, 255, 0.62);
}

.action-button small,
.small-button small,
.action-button.gold small {
  color: rgba(236, 247, 255, 0.76);
  font-weight: 600;
}

.action-button:hover,
.action-button:focus-visible,
.small-button:hover,
.small-button:focus-visible {
  border-color: rgba(98, 215, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(98, 215, 255, 0.18), 0 0 18px rgba(98, 215, 255, 0.14);
}

.slam-button {
  color: #1d0800;
  background: transparent url("/assets/phase1/slam-the-gavel-button-badge.png") center / contain no-repeat;
  border: 0;
  box-shadow: none;
  gap: 0;
  padding: 0;
  filter: none;
}

.slam-icon {
  display: none;
}

.slam-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  text-shadow: none !important;
}

@media (max-width: 920px) {
  .result-body {
    grid-template-columns: 1fr;
  }

  .result-mascot {
    display: none;
  }

  .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .result-heading {
    font-size: clamp(1.55rem, 8.8vw, 2.25rem);
    border-radius: 13px;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }

  .action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-cell p,
  .best-line,
  .final-word {
    font-size: 1rem;
    line-height: 1.42;
  }
}

/* Readability Components */


body {
  color: var(--readable-text);
  font-weight: 400;
  line-height: 1.5;
}

body :is(h1, h2, h3, h4, h5, h6, p, a, button, span, label, input, textarea, select, option, li, small, strong, em, mark, summary, blockquote, figcaption) {
  text-shadow: none !important;
  filter: none !important;
}

body :is(p, li, label, input, textarea, select, option, small, summary, blockquote, figcaption, .supporting, .motto, .panel-heading p, .side-card .subtext, .field-error, .form-error, .char-count, .toast, .recent-empty, .result-cell p, .best-line, .final-word, .loading-panel p, .safety-fallback p, .feature p, .info-card p, .preview-card p, .result-mascot .speech) {
  color: var(--readable-text);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
}

body :is(strong, mark) {
  font-weight: 700 !important;
}

body :is(.tagline, .panel-heading h2, .selector-title, #drama-type-title, #judge-energy-title, .result-heading, .loading-panel h2, .recent-title, .info-card h3, .feature h3, .modal-card h2, .prompt-modal h2, .gavel-preview-modal h2) {
  color: var(--readable-white);
  font-weight: 760;
  line-height: 1.14;
  letter-spacing: 0;
}

.tagline,
.supporting,
.motto {
  transform: none;
}

.supporting,
.panel-heading p,
.side-card .subtext,
.char-count,
.action-button small,
.small-button small,
.gavel-card-preview-note {
  color: var(--readable-soft);
}

.supporting mark,
.motto mark,
.motto .spark,
.nav-link span,
.menu-button span:first-child,
.panel-heading p,
.mini-label,
.result-label,
.side-card h3,
.side-doodle,
.meter,
.big-winner,
.winner-pill,
.prompt-modal-pill,
.recent-title,
.info-card h3,
.feature h3 {
  color: var(--ice) !important;
}

.side-card.you h3,
.side-card.you .side-doodle {
  color: var(--purple-2) !important;
}

.side-card.them h3,
.side-card.them .side-doodle {
  color: var(--ice) !important;
}

.motto,
.winner-pill,
.prompt-modal-pill {
  background: rgba(5, 16, 26, 0.88);
  border-color: var(--readable-line);
  box-shadow: none;
  font-weight: 700;
}

.nav-link,
.menu-button,
.chip,
.energy-row .chip,
.more-category-button,
.action-button,
.small-button,
.skip-link,
.card-link {
  color: var(--readable-white);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
  text-shadow: none !important;
  filter: none !important;
}

.card-link,
.meter span,
.result-card .meter span {
  font-weight: 600 !important;
}

.judge-panel,
.result-zone,
.result-card,
.loading-panel,
.safety-fallback,
.recent-section,
.side-card,
.info-card,
.preview-card,
.feature-strip,
.modal-card,
.prompt-modal,
.gavel-card-preview-modal {
  background:
    radial-gradient(circle at 88% 12%, rgba(98, 215, 255, 0.055), transparent 16rem),
    linear-gradient(145deg, var(--readable-panel), var(--readable-panel-2));
  border-color: var(--readable-line);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 14px rgba(98, 215, 255, 0.07),
    inset 0 0 18px rgba(255, 255, 255, 0.015);
}

.loading-panel {
  background:
    radial-gradient(circle at 16% 48%, rgba(98, 215, 255, 0.18), transparent 15rem),
    linear-gradient(145deg, rgba(9, 30, 48, 0.98), rgba(4, 14, 28, 0.98));
  border-color: rgba(98, 215, 255, 0.66);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.055),
    0 0 24px rgba(98, 215, 255, 0.16),
    inset 0 0 24px rgba(98, 215, 255, 0.055);
}

.loading-panel > div:not(.loading-gavel) {
  background: linear-gradient(180deg, rgba(4, 16, 30, 0.94), rgba(2, 8, 18, 0.96));
  border: 1px solid rgba(98, 215, 255, 0.38);
  border-radius: 16px;
  padding: clamp(0.85rem, 2vw, 1.15rem);
  box-shadow: inset 0 0 18px rgba(98, 215, 255, 0.045);
}

.loading-panel h2 {
  color: var(--readable-white);
  text-shadow: 0 0 14px rgba(98, 215, 255, 0.34);
}

.loading-lines li {
  color: rgba(237, 245, 255, 0.88);
  background: rgba(98, 215, 255, 0.055);
  border-color: rgba(98, 215, 255, 0.2);
  font-weight: 720;
}

.loading-lines li::before {
  border-color: rgba(98, 215, 255, 0.92);
  border-top-color: transparent;
}

.loading-lines li.active {
  color: var(--readable-white);
  background: linear-gradient(90deg, rgba(98, 215, 255, 0.28), rgba(29, 145, 208, 0.18));
  border-color: rgba(143, 220, 255, 0.78);
  box-shadow: 0 0 20px rgba(98, 215, 255, 0.18), inset 0 0 18px rgba(255, 255, 255, 0.035);
}

.side-card.you,
.side-card.them,
.result-cell,
.result-mascot,
input,
textarea {
  background: rgba(1, 3, 10, 0.86);
  border-color: rgba(98, 215, 255, 0.32);
  box-shadow: none;
}

.side-card h3 {
  font-size: clamp(1.85rem, 2.45vw, 2.9rem);
  font-weight: 760;
  line-height: 1.08;
}

label,
.result-card .result-label,
.mini-label {
  font-weight: 700;
  letter-spacing: 0.02em;
}

input,
textarea {
  color: var(--readable-white);
  font-weight: 500;
  line-height: 1.5;
}

input::placeholder,
textarea::placeholder {
  color: rgba(211, 223, 236, 0.66);
  font-weight: 500;
}

.chip,
.more-category-button,
.action-button,
.small-button {
  background: linear-gradient(180deg, rgba(8, 24, 38, 0.96), rgba(3, 7, 16, 0.98));
  border-color: rgba(98, 215, 255, 0.46);
  box-shadow: none;
}

.chip[aria-checked="true"],
.chip.is-active,
.action-button.primary {
  background: linear-gradient(180deg, rgba(24, 48, 70, 0.98), rgba(4, 14, 26, 0.98));
  border-color: var(--readable-line-strong);
  box-shadow: inset 0 -3px 0 rgba(98, 215, 255, 0.44);
}

.action-button.gold {
  color: var(--readable-white);
  background: linear-gradient(180deg, rgba(15, 47, 68, 0.98), rgba(3, 16, 30, 0.98));
  border-color: var(--readable-line-strong);
}

.action-button:hover,
.action-button:focus-visible,
.small-button:hover,
.small-button:focus-visible,
.chip:hover,
.chip:focus-visible,
.more-category-button:hover,
.more-category-button:focus-visible {
  border-color: rgba(98, 215, 255, 0.78);
  box-shadow: 0 0 0 3px rgba(98, 215, 255, 0.16);
}

.result-heading {
  font-size: clamp(1.85rem, 3vw, 2.9rem);
  font-style: normal;
  background: rgba(3, 6, 14, 0.94);
  border-color: var(--readable-line);
  box-shadow: none;
}

.result-grid {
  background: rgba(98, 215, 255, 0.16);
  border-color: rgba(98, 215, 255, 0.26);
}

.result-cell p,
.best-line,
.final-word {
  color: var(--readable-white);
  font-weight: 520;
  line-height: 1.56;
}

.result-cell .big-winner,
.result-cell .big-winner.medium-pick,
.result-cell .big-winner.long-pick,
.result-card .meter {
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: 0;
}

.field-error,
.form-error {
  color: #f7fbff;
  background: rgba(8, 22, 34, 0.96);
  border: 1px solid rgba(98, 215, 255, 0.52);
  box-shadow: none;
  font-weight: 650;
}

.form-error {
  color: #fff7fb;
  background: rgba(18, 9, 24, 0.96);
  border-color: rgba(255, 115, 165, 0.58);
}

.toast {
  color: #f7fbff;
  background: rgba(5, 16, 26, 0.96);
  border-color: rgba(98, 215, 255, 0.58);
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 16px rgba(98, 215, 255, 0.10);
}

.slam-button {
  color: #1d0800;
  background: transparent url("/assets/phase1/slam-the-gavel-button-badge.png") center / contain no-repeat;
  border: 0;
  box-shadow: none;
  gap: 0;
  padding: 0;
  filter: none;
}

.slam-icon {
  display: none;
}

.slam-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  text-shadow: none !important;
}

/* Judgement Result Layout */
.judgement-card {
  display: grid;
  gap: clamp(0.85rem, 1.25vw, 1.15rem);
  overflow: visible;
}

.judgement-layout {
  display: grid;
  gap: clamp(0.75rem, 1.1vw, 1rem);
  min-width: 0;
}

.judgement-summary {
  display: grid;
  grid-template-columns: minmax(10rem, 0.85fr) minmax(9rem, 0.65fr) minmax(16rem, 1.5fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(98, 215, 255, 0.28);
  border-radius: 16px;
  background: rgba(98, 215, 255, 0.18);
}

.judgement-card .result-cell,
.judgement-section {
  min-width: 0;
  border: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(98, 215, 255, 0.055), transparent 13rem),
    rgba(1, 3, 10, 0.92);
  box-shadow: none;
}

.judgement-card .result-cell {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  padding: clamp(0.9rem, 1.25vw, 1.15rem);
}

.judgement-section {
  padding: clamp(1rem, 1.45vw, 1.35rem);
  border: 1px solid rgba(98, 215, 255, 0.30);
  border-radius: 16px;
}

.judgement-section-drama {
  border-color: rgba(185, 35, 255, 0.36);
  background:
    radial-gradient(circle at 0% 0%, rgba(185, 35, 255, 0.10), transparent 16rem),
    rgba(1, 3, 10, 0.92);
}

.judgement-section-final {
  border-color: rgba(98, 215, 255, 0.42);
  background:
    radial-gradient(circle at 100% 0%, rgba(98, 215, 255, 0.10), transparent 15rem),
    rgba(1, 3, 10, 0.94);
}

.judgement-card .result-label {
  margin: 0 0 0.35rem;
  color: var(--ice);
  font-size: clamp(0.86rem, 0.82vw, 1rem);
  font-weight: 760;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.judgement-card p {
  max-width: none;
  overflow-wrap: anywhere;
}

.judgement-section p,
.judgement-best-cell p,
.judgement-meter-cell .drama-level {
  margin: 0;
  color: var(--readable-white);
  font-size: clamp(1rem, 0.95vw, 1.14rem);
  line-height: 1.58;
  font-weight: 520;
}

.judgement-section-take p {
  font-size: clamp(1.04rem, 1vw, 1.18rem);
}

.judgement-best-cell .best-line {
  font-weight: 680;
}

.judgement-meter-cell .drama-level {
  color: var(--readable-soft);
  font-size: 0.95rem;
  line-height: 1.35;
}

.judgement-card .meter-bar {
  margin-top: 0.2rem;
}

@media (max-width: 820px) {
  .judgement-summary {
    grid-template-columns: 1fr;
  }

  .judgement-card {
    padding: 0.95rem;
  }

  .judgement-section,
  .judgement-card .result-cell {
    padding: 0.95rem;
  }
}

/* Edge And Focus Treatment */


.judge-panel,
.result-zone,
.result-card,
.loading-panel,
.safety-fallback,
.recent-section,
.side-card,
.info-card,
.preview-card,
.feature-strip,
.modal-card,
.prompt-modal,
.gavel-card-preview-modal {
  border-color: var(--edge-ice);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.045),
    0 0 0 2px rgba(98, 215, 255, 0.055),
    0 0 24px rgba(98, 215, 255, 0.16),
    0 0 46px rgba(185, 35, 255, 0.07),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    inset 0 0 28px rgba(98, 215, 255, 0.035);
}

.loading-panel {
  border-color: rgba(98, 215, 255, 0.68);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.045),
    0 0 0 2px rgba(98, 215, 255, 0.055),
    0 0 24px rgba(98, 215, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    inset 0 0 28px rgba(98, 215, 255, 0.035);
}

.judge-panel,
.result-zone,
.result-card {
  border-color: rgba(98, 215, 255, 0.78);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.055),
    0 0 0 2px rgba(98, 215, 255, 0.08),
    0 0 30px rgba(98, 215, 255, 0.20),
    0 0 58px rgba(185, 35, 255, 0.10),
    inset 0 0 0 1px rgba(98, 215, 255, 0.08),
    inset 0 0 34px rgba(98, 215, 255, 0.045);
}

.judgement-card {
  position: relative;
  border-color: var(--edge-ice-hot);
}

.judgement-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  border-radius: calc(var(--radius) + 3px);
  border: 1px solid rgba(98, 215, 255, 0.56);
  box-shadow:
    0 0 22px rgba(98, 215, 255, 0.20),
    0 0 42px rgba(185, 35, 255, 0.12);
}

.judgement-summary {
  border-color: rgba(98, 215, 255, 0.64);
  background: rgba(98, 215, 255, 0.34);
  box-shadow:
    0 0 0 1px rgba(98, 215, 255, 0.08),
    0 0 18px rgba(98, 215, 255, 0.12),
    inset 0 0 18px rgba(98, 215, 255, 0.035);
}

.judgement-card .result-cell,
.judgement-section,
.info-card,
.preview-card {
  border-color: rgba(98, 215, 255, 0.52);
  box-shadow:
    inset 0 0 0 1px rgba(98, 215, 255, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.side-card.you {
  border-color: rgba(240, 76, 255, 0.98);
  box-shadow:
    0 0 0 1px rgba(240, 76, 255, 0.2),
    0 0 26px rgba(240, 76, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.side-card.them {
  border-color: rgba(98, 215, 255, 0.98);
  box-shadow:
    0 0 0 1px rgba(98, 215, 255, 0.18),
    0 0 26px rgba(98, 215, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.side-card.you input,
.side-card.you textarea {
  border-color: rgba(240, 76, 255, 0.98);
  box-shadow:
    inset 0 0 0 1px rgba(240, 76, 255, 0.18),
    0 0 0 1px rgba(240, 76, 255, 0.12);
}

.side-card.them input,
.side-card.them textarea {
  border-color: rgba(98, 215, 255, 0.98);
  box-shadow:
    inset 0 0 0 1px rgba(98, 215, 255, 0.16),
    0 0 0 1px rgba(98, 215, 255, 0.13);
}

.side-card.you:hover,
.side-card.you:focus-within {
  border-color: #ff74ff;
  box-shadow:
    0 0 0 2px rgba(255, 116, 255, 0.24),
    0 0 32px rgba(240, 76, 255, 0.28),
    inset 0 0 22px rgba(240, 76, 255, 0.05);
}

.side-card.them:hover,
.side-card.them:focus-within {
  border-color: #62d7ff;
  box-shadow:
    0 0 0 2px rgba(98, 215, 255, 0.22),
    0 0 32px rgba(98, 215, 255, 0.28),
    inset 0 0 22px rgba(98, 215, 255, 0.05);
}

.side-card.you input:hover,
.side-card.you textarea:hover,
.side-card.you input:focus-visible,
.side-card.you textarea:focus-visible {
  border-color: #ff74ff;
  box-shadow:
    0 0 0 3px rgba(240, 76, 255, 0.24),
    0 0 20px rgba(240, 76, 255, 0.22),
    inset 0 0 0 1px rgba(240, 76, 255, 0.18);
}

.side-card.them input:hover,
.side-card.them textarea:hover,
.side-card.them input:focus-visible,
.side-card.them textarea:focus-visible {
  border-color: #62d7ff;
  box-shadow:
    0 0 0 3px rgba(98, 215, 255, 0.22),
    0 0 20px rgba(98, 215, 255, 0.22),
    inset 0 0 0 1px rgba(98, 215, 255, 0.16);
}

.judgement-section {
  border-color: rgba(98, 215, 255, 0.64);
  box-shadow:
    0 0 0 1px rgba(98, 215, 255, 0.07),
    0 0 18px rgba(98, 215, 255, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    inset 0 0 20px rgba(98, 215, 255, 0.035);
}

.judgement-section-drama {
  border-color: rgba(98, 215, 255, 0.70);
  background:
    radial-gradient(circle at 0% 0%, rgba(185, 35, 255, 0.07), transparent 15rem),
    radial-gradient(circle at 100% 0%, rgba(98, 215, 255, 0.065), transparent 14rem),
    rgba(1, 3, 10, 0.94);
  box-shadow:
    0 0 0 1px rgba(98, 215, 255, 0.08),
    0 0 20px rgba(98, 215, 255, 0.12),
    inset 4px 0 0 rgba(205, 68, 255, 0.62),
    inset 0 0 22px rgba(98, 215, 255, 0.035);
}

.chip,
.more-category-button,
.action-button,
.small-button,
.card-link {
  border-color: rgba(98, 215, 255, 0.62);
  box-shadow:
    0 0 0 1px rgba(98, 215, 255, 0.06),
    0 0 16px rgba(98, 215, 255, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.chip[aria-checked="true"],
.chip.is-active,
.action-button.primary {
  border-color: rgba(98, 215, 255, 0.86);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.055),
    0 0 22px rgba(98, 215, 255, 0.18),
    inset 0 -3px 0 rgba(98, 215, 255, 0.52),
    inset 0 0 18px rgba(98, 215, 255, 0.055);
}

.action-button.gold {
  border-color: rgba(98, 215, 255, 0.84);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.055),
    0 0 22px rgba(98, 215, 255, 0.20),
    inset 0 0 18px rgba(98, 215, 255, 0.08);
}

body :is(p, li, label, input, textarea, select, option, small, summary, blockquote, figcaption, .result-cell p, .best-line, .final-word, .judgement-section p) {
  text-shadow: none !important;
  filter: none !important;
}

/* Mobile Card Guard */
@media (max-width: 760px) {
  .lower-cards,
  .feature-strip {
    grid-template-columns: 1fr !important;
  }

  .info-card,
  .feature {
    grid-template-columns: 1fr !important;
    text-align: left;
    justify-items: stretch;
  }

  .feature-strip.single-action .feature {
    grid-template-columns: auto auto !important;
    justify-content: center;
    justify-items: start;
  }

  .info-card p,
  .feature p {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: auto;
  }

  .feature p {
    display: block;
  }

  .info-visual,
  .pack-visual,
  .dice-visual,
  .award-visual,
  .quote-visual,
  .feature-icon {
    justify-self: center;
  }
}

/* v131 Homepage And Judgement Brightness Guard */
body {
  background:
    radial-gradient(circle at 22% 12%, rgba(98, 215, 255, 0.20), transparent 19rem),
    radial-gradient(circle at 78% 10%, rgba(185, 35, 255, 0.20), transparent 26rem),
    radial-gradient(circle at 50% 54%, rgba(255, 79, 199, 0.08), transparent 34rem),
    linear-gradient(180deg, #070714 0%, #0a0b18 48%, #050711 100%);
}

body::after {
  opacity: 0.20;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.24)),
    radial-gradient(circle at center top, transparent 0, rgba(0, 0, 0, 0.10) 55%, rgba(0, 0, 0, 0.34) 100%);
}

.judge-panel,
.result-zone,
.result-card,
.loading-panel,
.preview-card,
.info-card,
.recent-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(98, 215, 255, 0.12), transparent 16rem),
    linear-gradient(145deg, rgba(13, 24, 43, 0.98), rgba(8, 20, 38, 0.98));
  border-color: rgba(98, 215, 255, 0.74);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.045),
    0 0 28px rgba(98, 215, 255, 0.18),
    0 0 44px rgba(185, 35, 255, 0.10),
    inset 0 0 28px rgba(98, 215, 255, 0.045);
}

.result-card,
.judgement-card,
.loading-panel {
  background:
    radial-gradient(circle at 8% 0%, rgba(185, 35, 255, 0.18), transparent 24rem),
    radial-gradient(circle at 88% 8%, rgba(98, 215, 255, 0.28), transparent 24rem),
    linear-gradient(145deg, rgba(17, 42, 68, 0.99), rgba(12, 32, 58, 0.99));
}

.loading-panel > div:not(.loading-gavel) {
  background: linear-gradient(180deg, rgba(13, 33, 56, 0.94), rgba(9, 24, 45, 0.96));
  border-color: rgba(98, 215, 255, 0.48);
}

.result-grid,
.judgement-summary {
  background: rgba(98, 215, 255, 0.30);
  border-color: rgba(98, 215, 255, 0.62);
}

.result-cell,
.judgement-card .result-cell,
.judgement-section {
  background:
    radial-gradient(circle at 100% 0%, rgba(98, 215, 255, 0.14), transparent 13rem),
    linear-gradient(180deg, rgba(18, 45, 72, 0.97), rgba(12, 31, 57, 0.97));
  border-color: rgba(98, 215, 255, 0.58);
}

.gavel-slam-overlay {
  background:
    radial-gradient(circle at 50% 24%, rgba(98, 215, 255, 0.32), transparent 19rem),
    radial-gradient(circle at 50% 72%, rgba(185, 35, 255, 0.24), transparent 21rem),
    rgba(4, 13, 28, 0.56);
  backdrop-filter: blur(4px);
}

.gavel-slam-card {
  background:
    radial-gradient(circle at 50% 44%, rgba(98, 215, 255, 0.40), transparent 16rem),
    radial-gradient(circle at 50% 82%, rgba(185, 35, 255, 0.30), transparent 22rem),
    linear-gradient(180deg, rgba(12, 45, 76, 0.99), rgba(8, 25, 50, 0.99));
  border-color: rgba(98, 215, 255, 0.92);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.10),
    0 0 68px rgba(98, 215, 255, 0.38),
    0 24px 70px rgba(0, 0, 0, 0.52);
}

.gavel-slam-card h2 {
  color: #fff;
  text-shadow: 0 0 18px rgba(98, 215, 255, 0.66);
}

/* Stage 2 mobile density guard */
@media (max-width: 760px) {
  .page-shell {
    padding-top: 0.55rem;
  }

  .top-nav {
    min-height: 2.45rem;
  }

  .menu-button {
    width: 3rem;
    min-height: 2.55rem;
  }

  .hero {
    gap: 0.25rem;
    padding-bottom: 0.7rem;
  }

  .brand-art {
    width: min(84vw, 15rem);
  }

  .tagline {
    margin-top: 0.35rem;
    font-size: clamp(1.28rem, 6.4vw, 1.85rem);
    line-height: 1.06;
  }

  .supporting {
    margin-top: 0.65rem;
    max-width: 20rem;
    font-size: clamp(1rem, 4.1vw, 1.15rem);
    line-height: 1.32;
  }

  .motto {
    margin-top: 0.55rem;
    padding: 0.34rem 0.55rem;
    font-size: clamp(0.92rem, 3.6vw, 1rem);
  }

  .hero-art {
    width: min(74vw, 15rem);
    margin-top: 0;
  }

  .hero-gavel {
    max-height: 16.5rem;
    object-fit: contain;
  }
}
