/*
 * Andy's Ad Shop — styles
 * The 3D render fills the screen; the UI (buttons, cart, player, speech bubble) floats on top.
 * Sizes use --u, one hundredth of the stage width (capped by its height), so the UI scales with the scene.
 */
:root {
  --void: #07050f;
  --ink: #140b26;
  --gold: #ffc42a;
  --gold-hi: #ffeaa0;
  --ember: #c8640f;
  --paper: #fffaf0;
  --mute: #b8b0d8;
  --neon: #ff4ae0;
  --display: "Bungee", "Arial Black", Impact, sans-serif;
  --ui: "Pixelify Sans", "Trebuchet MS", ui-sans-serif, sans-serif;
  color-scheme: dark;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: var(--void);
  color: var(--paper);
  font-family: var(--ui);
  overflow: hidden;
  overscroll-behavior: none;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.stage {
  position: fixed;
  left: 0;
  right: 0;
  top: env(safe-area-inset-top, 0px);
  bottom: env(safe-area-inset-bottom, 0px);
  container-type: size;
  overflow: hidden;
  --u: min(1cqw, 1.78cqh);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
/* Browsers without container query units (older than 2023) fall back to the viewport */
@supports not (width: 1cqw) {
  .stage {
    --u: min(1vw, 1.78vh);
  }
}
canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--void);
  touch-action: none;
}
.fade {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.07) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}
[hidden] {
  display: none !important;
}

.btn {
  white-space: nowrap;
  position: absolute;
  z-index: 4;
  font-family: var(--display);
  cursor: pointer;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: 0.04em;
  line-height: 1;
  border-radius: calc(0.8 * var(--u));
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 48%, #f0a01c 52%, var(--ember) 100%);
  border: calc(0.4 * var(--u)) solid var(--ink);
  box-shadow:
    inset 0 calc(0.4 * var(--u)) 0 rgba(255, 255, 255, 0.55),
    inset 0 calc(-0.5 * var(--u)) 0 rgba(120, 40, 0, 0.45),
    0 calc(0.7 * var(--u)) 0 var(--ink);
  display: flex;
  align-items: center;
  gap: calc(1.1 * var(--u));
}
.btn:hover {
  filter: brightness(1.08);
}
.btn:focus-visible {
  outline: calc(0.5 * var(--u)) solid var(--neon);
  outline-offset: calc(1 * var(--u));
}
.cta {
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
  font-size: max(11px, calc(1.75 * var(--u)));
  padding: calc(0.85 * var(--u)) calc(1.6 * var(--u)) calc(0.7 * var(--u));
  gap: calc(0.8 * var(--u));
  border-width: calc(0.3 * var(--u));
  animation: pulse 1.6s ease-in-out infinite;
}
.cta:active {
  transform: translate(-50%, calc(0.6 * var(--u)));
}
.back {
  left: 2%;
  top: 3.5%;
  font-size: max(10px, calc(1.5 * var(--u)));
  padding: calc(0.85 * var(--u)) calc(1.4 * var(--u)) calc(0.7 * var(--u));
}
.back:active {
  transform: translateY(calc(0.5 * var(--u)));
}
.cta .tri {
  border-width: calc(0.6 * var(--u)) 0 calc(0.6 * var(--u)) calc(0.85 * var(--u));
}
.tri {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: calc(0.9 * var(--u)) 0 calc(0.9 * var(--u)) calc(1.3 * var(--u));
  border-color: transparent transparent transparent var(--ink);
}
.back .tri {
  border-width: calc(0.6 * var(--u)) calc(0.9 * var(--u)) calc(0.6 * var(--u)) 0;
  border-color: transparent var(--ink) transparent transparent;
}
@keyframes pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(255, 196, 42, 0));
  }
  50% {
    filter: drop-shadow(0 0 calc(2 * var(--u)) rgba(255, 196, 42, 0.75));
  }
}

.bubble {
  position: absolute;
  z-index: 3;
  right: 2%;
  bottom: 4%;
  width: max-content;
  max-width: min(calc(30 * var(--u)), 420px);
  min-width: min(calc(16 * var(--u)), 200px);
  pointer-events: none;
  box-sizing: border-box;
  font-family: "VT323", "Pixelify Sans", ui-monospace, monospace;
  font-weight: 400;
  font-size: max(15px, calc(1.95 * var(--u)));
  line-height: 1.12;
  color: var(--ink);
  background: var(--paper);
  border: calc(0.35 * var(--u)) solid var(--ink);
  border-radius: calc(1.3 * var(--u));
  padding: calc(0.9 * var(--u)) calc(1.3 * var(--u)) calc(1 * var(--u));
  box-shadow: 0 calc(0.55 * var(--u)) 0 rgba(0, 0, 0, 0.35);
}
.bubble .who {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 0.56em;
  letter-spacing: 0.06em;
  color: var(--ember);
  margin-bottom: 0.3em;
}
.bubble.big .txt {
  font-family: "VT323", "Pixelify Sans", ui-monospace, monospace;
  font-weight: 400;
  font-size: 1.6em;
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.bubble .hid {
  visibility: hidden;
}
.bubble .txt {
  white-space: pre-line;
}

.panel {
  position: absolute;
  z-index: 4;
  font-family: var(--ui);
  color: var(--paper);
  font-size: max(11px, calc(1.25 * var(--u)));
  background: linear-gradient(180deg, rgba(38, 24, 74, 0.95), rgba(12, 8, 28, 0.96));
  border: calc(0.25 * var(--u)) solid #e8ecff;
  border-radius: calc(1 * var(--u));
  box-shadow:
    0 0 0 calc(0.2 * var(--u)) #000,
    0 calc(1 * var(--u)) calc(3 * var(--u)) rgba(0, 0, 0, 0.45);
}
.panel button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.panel button:focus-visible {
  outline: calc(0.3 * var(--u)) solid var(--neon);
  outline-offset: calc(0.2 * var(--u));
}

.cart {
  right: 2%;
  top: 3.5%;
  width: max(230px, calc(27 * var(--u)));
  z-index: 6;
}
.cart .cartBody {
  max-height: min(calc(36 * var(--u)), calc(100vh - 7em));
  max-height: min(calc(36 * var(--u)), calc(100dvh - 7em));
}
.cartBtn {
  display: flex;
  align-items: center;
  gap: calc(0.8 * var(--u));
  width: 100%;
  background: none;
  border: 0;
  padding: calc(0.8 * var(--u)) calc(1.1 * var(--u));
  text-align: left;
}
.cartBtn .lbl {
  font-family: var(--display);
  letter-spacing: 0.04em;
}
.count {
  min-width: calc(2.1 * var(--u));
  height: calc(2.1 * var(--u));
  min-height: 18px;
  min-width: 18px;
  padding: 0 calc(0.4 * var(--u));
  box-sizing: border-box;
  border-radius: calc(2 * var(--u));
  background: var(--gold);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.count.bump {
  animation: bump 0.45s;
}
@keyframes bump {
  40% {
    transform: scale(1.4);
  }
}
.cartTotal {
  margin-left: auto;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.chev {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: calc(0.65 * var(--u)) calc(0.5 * var(--u)) 0 calc(0.5 * var(--u));
  border-color: var(--paper) transparent transparent transparent;
  transition: transform 0.2s;
}
.cartBtn[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}
.cartBody {
  border-top: calc(0.15 * var(--u)) solid rgba(232, 236, 255, 0.25);
  padding: calc(0.9 * var(--u)) calc(1.1 * var(--u)) calc(1.1 * var(--u));
  display: grid;
  gap: calc(0.9 * var(--u));
  max-height: calc(36 * var(--u));
  overflow: auto;
}
.cartList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: calc(0.6 * var(--u));
}
.cartList li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: calc(0.7 * var(--u));
}
.qty {
  display: flex;
  align-items: center;
  gap: calc(0.35 * var(--u));
}
.qty button {
  width: calc(2 * var(--u));
  height: calc(2 * var(--u));
  min-width: 20px;
  min-height: 20px;
  border-radius: calc(0.45 * var(--u));
  border: calc(0.12 * var(--u)) solid rgba(232, 236, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
}
.qty button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.qty span {
  min-width: calc(1.5 * var(--u));
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.line {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  text-align: right;
  min-width: calc(6.5 * var(--u));
}
.muted {
  color: var(--mute);
  margin: 0;
}
.quick {
  display: grid;
  gap: calc(0.45 * var(--u));
}
.quick small {
  color: var(--mute);
  letter-spacing: 0.06em;
}
.quick button {
  display: flex;
  justify-content: space-between;
  gap: calc(1 * var(--u));
  background: rgba(255, 255, 255, 0.06);
  border: calc(0.12 * var(--u)) solid rgba(232, 236, 255, 0.3);
  border-radius: calc(0.55 * var(--u));
  padding: calc(0.5 * var(--u)) calc(0.8 * var(--u));
  text-align: left;
}
.quick button:hover {
  background: rgba(255, 207, 58, 0.16);
}
.quick b {
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}
.lead {
  display: grid;
  gap: calc(0.35 * var(--u));
  animation: leadIn 0.25s ease-out;
}
@keyframes leadIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.lead label {
  font-family: var(--display);
  letter-spacing: 0.05em;
  font-size: 0.82em;
  color: var(--mute);
  margin-top: calc(0.2 * var(--u));
}
.lead input {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: calc(0.18 * var(--u)) solid var(--ink);
  border-radius: calc(0.5 * var(--u));
  padding: calc(0.55 * var(--u)) calc(0.7 * var(--u));
  min-height: 34px;
  box-sizing: border-box;
  width: 100%;
}
.lead input:focus-visible {
  outline: calc(0.25 * var(--u)) solid var(--neon);
  outline-offset: 1px;
}
.lead input[aria-invalid="true"] {
  border-color: #ff3a5a;
}
.lead .quote {
  margin-top: calc(0.45 * var(--u));
}
.leadErr {
  margin: 0;
  color: #ff8aa0;
  font-size: 0.9em;
}
.thanks {
  margin: 0;
  padding: calc(0.8 * var(--u));
  border-radius: calc(0.6 * var(--u));
  background: rgba(60, 255, 138, 0.12);
  border: calc(0.15 * var(--u)) solid rgba(60, 255, 138, 0.55);
  color: #d8ffe6;
  font-weight: 700;
  text-align: center;
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--display);
  letter-spacing: 0.03em;
}
.foot b {
  color: var(--gold);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.quote {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 50%, var(--ember));
  color: var(--ink) !important;
  border: calc(0.22 * var(--u)) solid var(--ink);
  border-radius: calc(0.65 * var(--u));
  padding: calc(0.75 * var(--u));
  font-family: var(--display) !important;
  letter-spacing: 0.04em;
}
.toast {
  position: absolute;
  z-index: 7;
  right: 2%;
  top: 12.5%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ui);
  font-weight: 700;
  font-size: max(11px, calc(1.25 * var(--u)));
  padding: calc(0.65 * var(--u)) calc(1.1 * var(--u));
  border-radius: calc(0.8 * var(--u));
  border: calc(0.25 * var(--u)) solid var(--ink);
  box-shadow: 0 calc(0.45 * var(--u)) 0 rgba(0, 0, 0, 0.35);
}

.player {
  left: 2%;
  bottom: 3.5%;
  width: max(170px, calc(16 * var(--u)));
  padding: calc(0.6 * var(--u)) calc(0.75 * var(--u));
  display: grid;
  gap: calc(0.45 * var(--u));
  font-size: max(10px, calc(1.05 * var(--u)));
  border-width: calc(0.2 * var(--u));
  border-radius: calc(0.8 * var(--u));
}
.np {
  display: flex;
  align-items: center;
  gap: calc(0.6 * var(--u));
  min-width: 0;
}
.np div {
  min-width: 0;
}
.np small {
  display: block;
  color: var(--mute);
  letter-spacing: 0.08em;
  font-size: 0.82em;
}
.np strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.eq {
  display: flex;
  align-items: flex-end;
  gap: calc(0.18 * var(--u));
  height: calc(1.6 * var(--u));
  min-height: 14px;
  flex: none;
}
.eq i {
  width: calc(0.32 * var(--u));
  min-width: 2px;
  background: var(--neon);
  height: 18%;
  border-radius: calc(0.2 * var(--u));
}
.player.playing .eq i {
  animation: eq 0.48s ease-in-out infinite alternate;
}
.eq i:nth-child(2) {
  animation-delay: -0.2s;
}
.eq i:nth-child(3) {
  animation-delay: -0.35s;
}
.eq i:nth-child(4) {
  animation-delay: -0.1s;
}
@keyframes eq {
  from {
    height: 15%;
  }
  to {
    height: 100%;
  }
}
.ctrl {
  display: flex;
  gap: calc(0.3 * var(--u));
}
.ctrl button {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border: calc(0.12 * var(--u)) solid rgba(232, 236, 255, 0.4);
  border-radius: calc(0.45 * var(--u));
  padding: calc(0.35 * var(--u));
  display: grid;
  place-items: center;
  min-height: 20px;
}
.ctrl button:hover {
  background: rgba(255, 74, 224, 0.22);
}
.ico {
  display: block;
  width: calc(0.9 * var(--u));
  height: calc(0.9 * var(--u));
  min-width: 8px;
  min-height: 8px;
  background: currentColor;
}
.i-play {
  clip-path: polygon(12% 0, 100% 50%, 12% 100%);
}
.i-pause {
  background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%);
}
.i-next {
  clip-path: polygon(0 0, 70% 50%, 70% 0, 88% 0, 88% 100%, 70% 100%, 70% 50%, 0 100%);
}
.i-list {
  background: linear-gradient(180deg, currentColor 0 22%, transparent 22% 39%, currentColor 39% 61%, transparent 61% 78%, currentColor 78%);
}
#listBtn[aria-expanded="true"] {
  background: rgba(255, 74, 224, 0.22);
}
.i-prev {
  clip-path: polygon(100% 0, 30% 50%, 30% 0, 12% 0, 12% 100%, 30% 100%, 30% 50%, 100% 100%);
}
.tracks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: calc(0.2 * var(--u));
}
.tracks button {
  width: 100%;
  display: flex;
  gap: calc(0.5 * var(--u));
  align-items: baseline;
  background: none;
  border: 0;
  border-radius: calc(0.35 * var(--u));
  padding: calc(0.2 * var(--u)) calc(0.4 * var(--u));
  text-align: left;
}
.tracks button:hover {
  background: rgba(255, 255, 255, 0.08);
}
.tracks button[aria-current="true"] {
  background: rgba(255, 74, 224, 0.22);
  color: #fff;
}
.tracks .n {
  color: #8a80b0;
  font-variant-numeric: tabular-nums;
}
.tracks .tag {
  margin-left: auto;
  color: #8a80b0;
  font-size: 0.85em;
  white-space: nowrap;
}
.err {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8%;
  font-size: max(13px, calc(2.4 * var(--u)));
  background: var(--void);
  z-index: 9;
}

.bio {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding-block: 16px;
  padding-inline: 16px;
  box-sizing: border-box;
  background: rgba(7, 5, 15, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: bioIn 0.25s ease-out;
}
@keyframes bioIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.bioCard {
  position: relative;
  width: min(640px, 100%);
  max-height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  box-sizing: border-box;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(14px, 1.05vw + 8px, 17px);
  line-height: 1.55;
  color: #fffaf0;
  background: linear-gradient(180deg, rgba(38, 20, 70, 0.84), rgba(14, 8, 30, 0.88));
  border: 2px solid rgba(232, 236, 255, 0.75);
  border-radius: 14px;
  box-shadow:
    0 0 0 3px #000,
    0 30px 80px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  scrollbar-color: #ff4ae0 transparent;
  animation: bioPop 0.3s cubic-bezier(0.2, 1.3, 0.4, 1);
}
@keyframes bioPop {
  from {
    transform: translateY(16px) scale(0.97);
  }
  to {
    transform: none;
  }
}
.bioHero {
  position: relative;
  height: clamp(220px, 42vh, 340px);
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.bioHero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 4%;
  display: block;
  filter: saturate(1.05);
}
.bioHero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 8, 30, 0) 40%, rgba(30, 16, 58, 0.95));
}
.bioTag {
  position: absolute;
  left: 24px;
  bottom: 6px;
  z-index: 1;
  margin: 0;
  font-family: "Permanent Marker", "Marker Felt", cursive;
  font-weight: 400;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1;
  transform: rotate(-6deg);
  color: #ff4ae0;
  -webkit-text-stroke: 2px #fff;
  text-shadow:
    4px 5px 0 #120818,
    0 0 24px rgba(255, 74, 224, 0.6);
}
.bioTag span {
  color: #ffe14a;
}
.bioBody {
  padding: 22px clamp(18px, 4vw, 36px) 30px;
  display: grid;
  gap: 26px;
}
.bioBody p {
  margin: 0;
  max-width: 62ch;
}
.intro {
  display: grid;
  gap: 0.75em;
}
.intro .hi {
  font-family: "Bungee", "Arial Black", sans-serif;
  font-size: 1.35em;
  color: #ffcf3a;
  letter-spacing: 0.02em;
}
.intro .dogs {
  color: #b8b0d8;
  font-style: italic;
}
.bioBody h3 {
  margin: 0 0 12px;
  font-family: "Bungee", "Arial Black", sans-serif;
  font-weight: 400;
  font-size: 1em;
  letter-spacing: 0.08em;
  color: #ff4ae0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bioBody h3::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 74, 224, 0.6), transparent);
}
.jobs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.jobs li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 14px;
  row-gap: 2px;
  padding-left: 14px;
  border-left: 3px solid rgba(255, 207, 58, 0.55);
}
.jobs .role {
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.88em;
}
.jobs .yrs {
  font-variant-numeric: tabular-nums;
  color: #ffcf3a;
  font-weight: 600;
  font-size: 0.88em;
  white-space: nowrap;
  text-align: right;
}
.jobs .at {
  grid-column: 1/-1;
  color: #d8d2ee;
}
.jobs .note {
  grid-column: 1/-1;
  color: #b8b0d8;
  font-size: 0.92em;
}
.jobs a {
  color: #4ae0ff;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.jobs a:focus-visible {
  outline: 2px solid #ff4ae0;
  outline-offset: 2px;
}
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(74, 224, 255, 0.6);
  background: rgba(74, 224, 255, 0.1);
  font-weight: 600;
  font-size: 0.92em;
}
.edu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.edu b {
  font-weight: 800;
}
.edu span {
  color: #b8b0d8;
}
.closeRow {
  position: sticky;
  top: 0;
  height: 0;
  z-index: 3;
}
.bioClose {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #140b26;
  background: linear-gradient(180deg, #ffeaa0, #ffc42a 50%, #c8640f);
  color: #140b26;
  font:
    700 18px/1 "Archivo",
    sans-serif;
  box-shadow: 0 3px 0 #140b26;
  display: grid;
  place-items: center;
}
.bioClose:focus-visible {
  outline: 3px solid #ff4ae0;
  outline-offset: 3px;
}

.awHead {
  padding: 30px clamp(18px, 4vw, 36px) 6px;
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.awTitle {
  margin: 0;
  font-family: "Bungee", "Arial Black", sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: #fff2c0;
  text-shadow:
    0 0 6px #ffb020,
    0 0 22px rgba(255, 176, 32, 0.75),
    0 0 46px rgba(255, 140, 0, 0.45);
}
.awLead {
  margin: 0;
  font-size: 1.05em;
  color: #ffe9b0;
  max-width: 40ch;
}
.tally {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.tally li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  font-weight: 600;
  font-size: 0.9em;
}
.tally b {
  font-family: "Bungee", "Arial Black", sans-serif;
  font-weight: 400;
  font-size: 1.15em;
  font-variant-numeric: tabular-nums;
}
.tl {
  display: grid;
  gap: 22px;
}
.yr {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: start;
}
.yr h4 {
  margin: 0;
  font-family: "Bungee", "Arial Black", sans-serif;
  font-weight: 400;
  font-size: 1.3em;
  color: #ffcf3a;
  position: sticky;
  top: 6px;
  line-height: 1.2;
}
.yr ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 2px solid rgba(255, 207, 58, 0.35);
  display: grid;
  gap: 9px;
}
.yr li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 2px 10px;
  align-items: baseline;
}
.md {
  grid-row: span 2;
  align-self: start;
  margin-top: 2px;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.72em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #140b26;
  line-height: 1.25;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}
.md.grand {
  background: linear-gradient(135deg, #fff6c0, #ffcf3a 45%, #e89a10);
  box-shadow: 0 0 12px rgba(255, 200, 60, 0.6);
}
.md.gold {
  background: linear-gradient(135deg, #ffe98a, #e8b020);
}
.md.silver {
  background: linear-gradient(135deg, #ffffff, #b8bcc8);
}
.md.bronze {
  background: linear-gradient(135deg, #f0b080, #b0602a);
}
.md.short {
  background: transparent;
  color: #d8d2ee;
  border: 1.5px solid rgba(216, 210, 238, 0.55);
}
.md.special {
  background: linear-gradient(135deg, #9af0ff, #4ab0e0);
}
.md.swatch {
  width: auto;
  padding: 2px 7px;
}
.ev b {
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.9em;
}
.ev .aw {
  color: #fffaf0;
}
.ev .dt {
  display: block;
  color: #b8b0d8;
  font-size: 0.92em;
}
.ev s {
  text-decoration-thickness: 2px;
  text-decoration-color: #ff4ae0;
}
.jury {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.jury li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 74, 224, 0.6);
  background: rgba(255, 74, 224, 0.12);
  font-weight: 600;
  font-size: 0.92em;
}
@media (max-width: 480px) {
  .yr li {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .yr {
    grid-template-columns: 1fr;
  }
  .yr h4 {
    position: static;
  }
  .yr ul {
    padding-left: 12px;
  }
}

.tvCard {
  width: min(920px, 100%);
}
.tvHead {
  padding: 22px 64px 14px clamp(18px, 3vw, 28px);
}
.tvHead small {
  display: block;
  color: #ff4ae0;
  font-family: "Bungee", "Arial Black", sans-serif;
  letter-spacing: 0.08em;
  font-size: 0.8em;
  margin-bottom: 6px;
}
.tvHead h2 {
  margin: 0;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.15;
  color: #fff2c0;
  text-wrap: balance;
}
.tvFrame {
  position: relative;
  margin: 0 clamp(12px, 2vw, 20px);
  aspect-ratio: 16/9;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(232, 236, 255, 0.25);
}
.tvFrame video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}
.tvEmpty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  text-align: center;
  padding: 20px;
  background: radial-gradient(circle at 50% 40%, var(--tv1, #ff3a6a), var(--tv2, #2a0a4a) 75%);
}
.tvEmpty p {
  margin: 0;
  max-width: 40ch;
  color: #fffaf0;
  font-size: 0.95em;
}
.tvFoot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 3vw, 28px) 22px;
}
.tvFoot span {
  color: #b8b0d8;
  font-size: 0.9em;
}
.tvLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: #140b26;
  background: linear-gradient(180deg, #ffeaa0, #ffc42a 50%, #e8901a);
  border: 2px solid #140b26;
  box-shadow: 0 3px 0 #140b26;
}
.tvLink:focus-visible {
  outline: 3px solid #ff4ae0;
  outline-offset: 3px;
}

.csCard {
  width: min(1180px, 100%);
  display: flex;
  flex-direction: column;
}
.csHead {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 64px 12px clamp(16px, 3vw, 26px);
  min-width: 0;
}
.csHead small {
  font-family: "Bungee", "Arial Black", sans-serif;
  color: #4ae0ff;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.csHead h2 {
  margin: 0;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(17px, 2.2vw, 24px);
  color: #fff2c0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.csStage {
  position: relative;
  margin: 0 clamp(10px, 2vw, 20px);
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  overflow: hidden;
  touch-action: pan-y;
  height: min(66vh, 66dvh, calc((min(1180px, 100vw) - 60px) * 0.707));
}
.csStage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  animation: csIn 0.28s ease-out;
}
@keyframes csIn {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.csNav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  border: 2px solid #140b26;
  background: linear-gradient(180deg, #ffeaa0, #ffc42a 50%, #c8640f);
  color: #140b26;
  font:
    800 22px/1 "Archivo",
    sans-serif;
  box-shadow: 0 3px 0 #140b26;
}
.csNav:focus-visible,
.csThumbs button:focus-visible {
  outline: 3px solid #ff4ae0;
  outline-offset: 3px;
}
.csPrev {
  left: 10px;
}
.csNext {
  right: 10px;
}
.csThumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px clamp(10px, 2vw, 20px) 16px;
  scrollbar-color: #ff4ae0 transparent;
}
.csThumbs button {
  flex: none;
  width: 92px;
  aspect-ratio: 1.41;
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: #000;
  opacity: 0.55;
  transition: opacity 0.15s;
}
.csThumbs button:hover {
  opacity: 0.85;
}
.csThumbs button[aria-current="true"] {
  border-color: #ffcf3a;
  opacity: 1;
}
.csThumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 600px) {
  .csNav {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
  .csThumbs button {
    width: 70px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .csStage img {
    animation: none;
  }
}

.pjCard {
  width: min(1080px, 100%);
}
.pjHead {
  display: grid;
  gap: 4px;
  padding: 20px 64px 10px clamp(16px, 3vw, 26px);
}
.pjHead small {
  font-family: "Bungee", "Arial Black", sans-serif;
  color: #ffcf3a;
  letter-spacing: 0.06em;
  font-size: 0.82em;
}
.pjHead h2 {
  margin: 0;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(20px, 2.6vw, 28px);
  color: #fff2c0;
  text-wrap: balance;
}
.pjBack {
  justify-self: start;
  font:
    700 0.9em "Archivo",
    sans-serif;
  color: #4ae0ff;
  background: none;
  border: 0;
  padding: 4px 0;
  cursor: pointer;
}
.pjBack:focus-visible,
.pjTile:focus-visible,
.pjNav button:focus-visible {
  outline: 3px solid #ff4ae0;
  outline-offset: 3px;
}
.pjGrid {
  list-style: none;
  margin: 0;
  padding: 8px clamp(14px, 2.5vw, 24px) 24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.pjTile {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
}
.pjTile .im {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  border: 2px solid rgba(232, 236, 255, 0.18);
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.pjTile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pjTile:hover .im {
  transform: translateY(-3px);
  border-color: #ffcf3a;
}
.pjTile b {
  font-weight: 800;
  font-size: 0.92em;
  line-height: 1.25;
  text-wrap: balance;
}
.pjTile.soon {
  cursor: default;
}
.pjTile.soon .im {
  display: grid;
  place-items: center;
  border-style: dashed;
  border-color: rgba(255, 207, 58, 0.45);
  background: #1a1426;
  color: #ffcf3a;
  font-family: "Bungee", "Arial Black", sans-serif;
  font-size: 0.9em;
}
.pjTile.soon b {
  color: var(--mute);
}
.pjDetail {
  padding: 4px clamp(14px, 2.5vw, 24px) 22px;
  display: grid;
  gap: 14px;
}
.pjFig {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  display: grid;
  place-items: center;
  max-height: min(58vh, 58dvh);
}
.pjFig img {
  max-width: 100%;
  max-height: min(58vh, 58dvh);
  width: auto;
  height: auto;
  display: block;
  animation: csIn 0.28s ease-out;
}
.pjMeta {
  display: grid;
  gap: 6px;
}
.pjMeta p {
  margin: 0;
  max-width: 65ch;
}
.pjClient {
  color: #4ae0ff;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pjBody {
  display: grid;
  gap: 0.7em;
}
.pjBody h4 {
  margin: 0.5em 0 -0.3em;
  font-family: "Bungee", "Arial Black", sans-serif;
  font-weight: 400;
  font-size: 0.85em;
  letter-spacing: 0.06em;
  color: #ff4ae0;
}
.pjBody p {
  margin: 0;
  max-width: 65ch;
}
.pjBody .empty {
  color: var(--mute);
  font-style: italic;
}
.pjSub {
  font-family: "Archivo", sans-serif;
  font-size: 1.15em;
  font-weight: 600;
  color: #fff2c0;
}
.pjRole {
  color: #4ae0ff;
  font-weight: 700;
}
.pjRole b {
  color: var(--mute);
  font-weight: 600;
}
.pjVids {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.pjVid {
  position: relative;
  display: grid;
  align-content: end;
  gap: 2px;
  aspect-ratio: 16/9;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: #fffaf0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #3a1a5a, #0c0818 72%);
  border: 2px solid rgba(232, 236, 255, 0.2);
}
.pjVid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40%;
  width: 54px;
  height: 38px;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  background: #ff2a3a;
  box-shadow: 0 0 24px rgba(255, 42, 58, 0.5);
}
.pjVid::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-30%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
}
.pjVid b {
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.95em;
}
.pjVid span {
  color: var(--mute);
  font-size: 0.85em;
}
.pjVid.vm::before {
  background: #1ab7ea;
  box-shadow: 0 0 24px rgba(26, 183, 234, 0.5);
}
.pjVid:hover {
  border-color: #ffcf3a;
}
.pjVid:focus-visible {
  outline: 3px solid #ff4ae0;
  outline-offset: 3px;
}
.pjGal {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  margin-top: -6px;
  scrollbar-color: #ff4ae0 transparent;
  scroll-snap-type: x proximity;
}
.pjGal[hidden] {
  display: none;
}
.pjGal button {
  flex: 0 0 clamp(64px, 11vw, 96px);
  scroll-snap-align: start;
}
.pjGal button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  background: #000;
}
.pjGal button[aria-current="true"] {
  border-color: #ffcf3a;
}
.pjGal button:focus-visible {
  outline: 3px solid #ff4ae0;
  outline-offset: 3px;
}
.pjGal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pjNav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.pjNav button {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 48%;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font:
    800 0.9em "Archivo",
    sans-serif;
  color: #140b26;
  background: linear-gradient(180deg, #ffeaa0, #ffc42a 50%, #e8901a);
  border: 2px solid #140b26;
  box-shadow: 0 3px 0 #140b26;
}
.pjNav button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .pjGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 761px) and (max-width: 980px) {
  .pjGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.thCard {
  width: min(760px, 100%);
}
.thHead {
  padding: 22px 64px 8px clamp(18px, 3vw, 28px);
  display: grid;
  gap: 6px;
}
.thHead h2 {
  margin: 0;
  font-family: "Permanent Marker", "Marker Felt", cursive;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
  color: #ffcf3a;
  text-shadow: 3px 4px 0 #120818;
}
.thHead p {
  margin: 0;
  color: var(--mute);
}
.thBack {
  justify-self: start;
  font:
    700 0.9em "Archivo",
    sans-serif;
  color: #4ae0ff;
  background: none;
  border: 0;
  padding: 4px 0;
  cursor: pointer;
}
.thList {
  list-style: none;
  margin: 0;
  padding: 8px clamp(18px, 3vw, 28px) 26px;
  display: grid;
  gap: 12px;
}
.thItem {
  display: grid;
  gap: 4px;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: 10px;
  cursor: pointer;
  color: inherit;
  font: inherit;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(232, 236, 255, 0.18);
}
.thItem:hover {
  border-color: #ffcf3a;
  background: rgba(255, 207, 58, 0.07);
}
.thItem b {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.1em;
  color: #fff2c0;
}
.thItem small {
  color: #4ae0ff;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.thItem span {
  color: #d8d2ee;
}
.thEmpty {
  margin: 0;
  padding: 22px;
  border: 2px dashed rgba(255, 207, 58, 0.45);
  border-radius: 12px;
  text-align: center;
  color: #ffe9b0;
}
.thArt {
  padding: 4px clamp(18px, 3vw, 28px) 24px;
  display: grid;
  gap: 14px;
}
.thArt .bd p {
  white-space: pre-line;
}
.thArt h3 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
  color: #fff2c0;
  text-wrap: balance;
}
.thArt small {
  color: #4ae0ff;
  font-weight: 700;
}
.thArt .bd {
  display: grid;
  gap: 0.85em;
}
.thArt .bd p {
  margin: 0;
  max-width: 65ch;
  line-height: 1.6;
}
.thBack:focus-visible,
.thItem:focus-visible {
  outline: 3px solid #ff4ae0;
  outline-offset: 3px;
}

.mtCard {
  width: min(720px, 100%);
}
.mtHead {
  padding: 22px 64px 6px clamp(18px, 3vw, 28px);
  display: grid;
  gap: 6px;
}
.mtHead h2 {
  margin: 0;
  font-family: "Bungee", "Arial Black", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 40px);
  line-height: 1;
  color: #ff5a6a;
  text-shadow: 3px 3px 0 #120818;
}
.mtHead p {
  margin: 0;
  color: var(--mute);
}
.mtBody {
  padding: 8px clamp(18px, 3vw, 28px) 26px;
  display: grid;
  gap: 16px;
}
.mtCal {
  display: grid;
  gap: 10px;
}
.mtMonth {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mtMonth b {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.1em;
  text-transform: uppercase;
  color: #fff2c0;
}
.mtMonth button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 236, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font:
    800 18px/1 "Archivo",
    sans-serif;
  cursor: pointer;
}
.mtMonth button:disabled {
  opacity: 0.3;
  cursor: default;
}
.mtGrid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  text-align: center;
}
.mtGrid .dow {
  font-size: 0.78em;
  font-weight: 700;
  color: var(--mute);
  letter-spacing: 0.05em;
  padding-bottom: 2px;
}
.mtGrid button {
  aspect-ratio: 1;
  max-height: 52px;
  width: 100%;
  border-radius: 10px;
  border: 1.5px solid transparent;
  background: transparent;
  color: #6a6088;
  font:
    700 0.95em "Archivo",
    sans-serif;
  cursor: default;
  font-variant-numeric: tabular-nums;
}
.mtGrid button.open {
  background: rgba(255, 74, 224, 0.14);
  border-color: rgba(255, 74, 224, 0.45);
  color: #fffaf0;
  cursor: pointer;
}
.mtGrid button.open:hover {
  background: rgba(255, 74, 224, 0.28);
}
.mtGrid button[aria-pressed="true"] {
  background: #ff4ae0;
  border-color: #ff4ae0;
  color: #140b26;
}
.mtTimes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mtTimes button {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(74, 224, 255, 0.55);
  background: rgba(74, 224, 255, 0.1);
  color: #fffaf0;
  font:
    700 0.95em "Archivo",
    sans-serif;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.mtTimes button[aria-pressed="true"] {
  background: #4ae0ff;
  color: #140b26;
  border-color: #4ae0ff;
}
.mtHint {
  margin: 0;
  color: var(--mute);
  font-size: 0.92em;
}
.mtForm {
  display: grid;
  gap: 8px;
  border-top: 1.5px solid rgba(232, 236, 255, 0.18);
  padding-top: 14px;
}
.mtPick {
  margin: 0;
  font-weight: 700;
  color: #fff2c0;
}
.mtForm label {
  font-family: "Bungee", "Arial Black", sans-serif;
  font-size: 0.78em;
  letter-spacing: 0.05em;
  color: var(--mute);
  margin-top: 4px;
}
.mtForm input {
  font: inherit;
  color: #140b26;
  background: #fffaf0;
  border: 2px solid #140b26;
  border-radius: 8px;
  padding: 9px 12px;
  min-height: 40px;
  box-sizing: border-box;
  width: 100%;
}
.mtForm input[aria-invalid="true"] {
  border-color: #ff3a5a;
}
.mtGo {
  justify-self: start;
  margin-top: 6px;
  padding: 11px 22px;
  border-radius: 999px;
  cursor: pointer;
  font:
    400 1em "Bungee",
    "Arial Black",
    sans-serif;
  letter-spacing: 0.04em;
  color: #140b26;
  background: linear-gradient(180deg, #ffeaa0, #ffc42a 50%, #e8901a);
  border: 2px solid #140b26;
  box-shadow: 0 3px 0 #140b26;
}
.mtErr {
  margin: 0;
  color: #ff8aa0;
}
.mtThanks {
  margin: 0;
  padding: 18px;
  border-radius: 12px;
  background: rgba(60, 255, 138, 0.12);
  border: 1.5px solid rgba(60, 255, 138, 0.55);
  color: #d8ffe6;
  font-weight: 800;
  font-size: 1.1em;
  text-align: center;
}
.mtMonth button:focus-visible,
.mtGrid button:focus-visible,
.mtTimes button:focus-visible,
.mtGo:focus-visible,
.mtForm input:focus-visible {
  outline: 3px solid #ff4ae0;
  outline-offset: 2px;
}

.thFoot {
  margin: 0 clamp(18px, 3vw, 28px) 24px;
  padding-top: 18px;
  border-top: 1.5px solid rgba(232, 236, 255, 0.18);
  display: grid;
  gap: 14px;
}
.thBox {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(232, 236, 255, 0.16);
}
.thBox h3 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.05em;
  color: #fff2c0;
  text-wrap: balance;
}
.dnChips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dnChips button {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 207, 58, 0.6);
  background: rgba(255, 207, 58, 0.1);
  color: #fffaf0;
  font:
    800 0.95em "Archivo",
    sans-serif;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.dnChips button[aria-pressed="true"] {
  background: #ffcf3a;
  color: #140b26;
}
.thRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.dnIn {
  position: relative;
  flex: 1 1 180px;
  min-width: 0;
  display: flex;
}
.dnIn input {
  flex: 1;
}
.thRow input {
  flex: 1 1 180px;
  min-width: 0;
  font: inherit;
  color: #140b26;
  background: #fffaf0;
  border: 2px solid #140b26;
  border-radius: 8px;
  padding: 9px 12px;
  min-height: 42px;
  box-sizing: border-box;
}
#dnAmt {
  padding-left: 28px;
}
.dnCur {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #140b26;
  font-weight: 800;
  pointer-events: none;
  z-index: 1;
}
.thRow input[aria-invalid="true"] {
  border-color: #ff3a5a;
}
.thGo {
  flex: 0 0 auto;
  padding: 11px 18px;
  border-radius: 999px;
  cursor: pointer;
  font:
    400 0.9em "Bungee",
    "Arial Black",
    sans-serif;
  letter-spacing: 0.03em;
  color: #140b26;
  background: linear-gradient(180deg, #ffeaa0, #ffc42a 50%, #e8901a);
  border: 2px solid #140b26;
  box-shadow: 0 3px 0 #140b26;
}
.thMsg {
  margin: 0;
  font-weight: 700;
  color: #d8ffe6;
}
.thMsg.bad {
  color: #ff8aa0;
}
.thBox[hidden] {
  display: none;
}
.pollOpts {
  display: grid;
  gap: 8px;
}
.pollOpts button {
  position: relative;
  display: grid;
  grid-template-columns: minmax(70px, auto) 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  color: #fffaf0;
  font:
    800 1em "Archivo",
    sans-serif;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(232, 236, 255, 0.3);
}
.pollOpts button:hover {
  border-color: #ffcf3a;
  background: rgba(255, 207, 58, 0.1);
}
.pollOpts button[aria-pressed="true"] {
  border-color: #ffcf3a;
  background: rgba(255, 207, 58, 0.16);
}
.pollOpts button:focus-visible {
  outline: 3px solid #ff4ae0;
  outline-offset: 2px;
}
.pollOpts button:disabled {
  cursor: default;
}
.pb {
  height: 10px;
  border-radius: 99px;
  background: rgba(232, 236, 255, 0.12);
  overflow: hidden;
  visibility: hidden;
}
.pb i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff4ae0, #ffcf3a);
  transition: width 0.5s ease;
}
.pollOpts b {
  min-width: 3.2em;
  text-align: right;
  color: #ffcf3a;
  font-variant-numeric: tabular-nums;
  visibility: hidden;
}
.pollBox.shown .pb,
.pollBox.shown .pollOpts b {
  visibility: visible;
}
.pollNote {
  margin: 0;
  color: var(--mute, #b8b0d8);
  font-size: 0.9em;
}
@media (prefers-reduced-motion: reduce) {
  .pb i {
    transition: none;
  }
}
.dnChips button:focus-visible,
.thGo:focus-visible,
.thRow input:focus-visible {
  outline: 3px solid #ff4ae0;
  outline-offset: 2px;
}
@media (max-width: 480px) {
  .thGo {
    flex: 1 1 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bio,
  .bioCard {
    animation: none;
  }
}

/* Portrait and narrow screens: the scene fills the phone, UI stacks around the edges */
@media (max-aspect-ratio: 1/1) {
  .stage {
    --u: min(2.6cqw, 1.3cqh);
  }
  .bubble {
    left: 3%;
    right: 3%;
    bottom: 2.5%;
    width: auto;
    max-width: none;
    min-width: 0;
    font-size: max(18px, calc(2.1 * var(--u)));
  }
  .cta {
    bottom: calc(2.5% + 11.6em);
    font-size: max(15px, calc(1.9 * var(--u)));
  }
  .back {
    left: 3%;
    top: 2%;
    font-size: max(11px, calc(1.3 * var(--u)));
  }
  .cart {
    right: 3%;
    top: 2%;
    width: auto;
    font-size: max(12px, calc(1.2 * var(--u)));
  }
  .cart .cartTotal {
    display: none;
  }
  .cart:has(.cartBody:not([hidden])) {
    width: min(86vw, 340px);
  }
  .cart:has(.cartBody:not([hidden])) .cartTotal {
    display: inline;
  }
  .toast {
    right: 3%;
    top: calc(2% + 3.6em);
  }
  .player {
    left: 3%;
    bottom: auto;
    top: calc(2% + 3.4em);
    width: min(52vw, 230px);
    font-size: max(11px, calc(1.1 * var(--u)));
  }
  .player .np small {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cta,
  .count.bump,
  .player.playing .eq i {
    animation: none;
  }
}

/* Spam trap: a field people never see; bots fill it in */
.hp {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Shop shortcuts: hidden until a keyboard user tabs into them */
.kbd {
  position: absolute;
  z-index: 8;
  left: 2%;
  top: calc(3.5% + 4.5em);
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(12, 8, 28, 0.96);
  border: 2px solid #e8ecff;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  color: var(--paper);
  max-width: min(320px, 90vw);
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}
.kbd:focus-within {
  clip-path: none;
  opacity: 1;
  pointer-events: auto;
}
.kbd h2 {
  margin: 0 0 8px;
  font:
    400 0.85em "Bungee",
    "Arial Black",
    sans-serif;
  letter-spacing: 0.06em;
  color: #ffcf3a;
}
.kbd ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.kbd button {
  width: 100%;
  text-align: left;
  font:
    600 1em "Archivo",
    sans-serif;
  color: inherit;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(232, 236, 255, 0.3);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}
.kbd button:focus-visible {
  outline: 3px solid var(--neon);
  outline-offset: 2px;
}

/* Book a meet with a Google Calendar booking page (config.js) */
.mtGoogle {
  padding: 8px clamp(18px, 3vw, 28px) 24px;
  display: grid;
  gap: 12px;
}
.mtGoogle iframe {
  width: 100%;
  height: min(640px, 70vh);
  border: 0;
  border-radius: 10px;
  background: #fff;
}
.mtGoogle .tvLink {
  justify-self: start;
}

.noscript {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 8%;
  text-align: center;
  font:
    600 18px/1.5 "Archivo",
    sans-serif;
  color: #fffaf0;
  background: #07050f;
}

/* Booked slots in the built-in calendar */
.mtTimes button:disabled {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* Privacy notice link under the forms */
.formNote {
  margin: 0.6em 0 0;
  font-size: 0.8em;
  color: var(--mute);
}
.formNote a {
  color: var(--gold);
}
/* Cookie banner (js/analytics.js) */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #140b26;
  color: #fffaf0;
  border: 2px solid #ffc42a;
  box-shadow: 4px 4px 0 #c8640f;
  font-family: "Pixelify Sans", "Trebuchet MS", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  user-select: text;
}
.consent p {
  margin: 0;
  flex: 1 1 260px;
}
.consent a {
  color: #ffc42a;
}
.consentBtns {
  display: flex;
  gap: 8px;
}
.consent button {
  font: inherit;
  cursor: pointer;
  padding: 8px 14px;
  border: 2px solid #ffc42a;
  background: transparent;
  color: #fffaf0;
}
.consent .consentYes {
  background: #ffc42a;
  color: #07050f;
}
/* Cart text uses the chat-bubble font (VT323). Headings and buttons keep Bungee. */
.cart {
  font-family: "VT323", "Pixelify Sans", ui-monospace, monospace;
  font-weight: 400;
  font-size: max(15px, calc(1.6 * var(--u)));
  line-height: 1.12;
}
.cart .count,
.cart .thanks {
  font-weight: 400;
}

/* Project video playing inline */
.pjVid.pjVidOn {
  grid-column: 1 / -1;
  padding: 0;
  background: #000;
}
.pjVidOn::before,
.pjVidOn::after {
  display: none;
}
.pjVidOn iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Links to the standalone pages, inside WHO AM I */
.bioLinks {
  margin: 18px 0 0;
  font-family: var(--ui);
  font-size: 18px;
}
.bioLinks a {
  color: var(--gold);
}
