@font-face {
  font-family: Barlow Film;
  src: url(media/barlow-display.ttf) format("truetype");
  font-weight: 800;
  font-display: swap;
}
:root {
  --paper: #eeede7;
  --ink: #211f26;
  --muted: #585564;
  --line: #cdc9ca;
  --forest: #603c76;
  --orange: #e96542;
  --blue: #8272c7;
  --lime: #ffb087;
}
body {
  background: linear-gradient(#19181f 0 64px, var(--paper) 64px);
}
.mast {
  background: #19181f;
  border-bottom: 1px solid #55515c;
}
.mast-inner {
  min-height: 64px;
}
.brand {
  font-size: 1.5rem;
}
.mast nav a {
  border-radius: 20px;
}
.mast nav a[aria-current="page"] {
  background: #44323a;
  color: #ffc9ac;
}
.marquee {
  display: grid;
  grid-template-columns: 1fr minmax(0, 44%);
  align-items: center;
  gap: 2rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff2e6;
  background:
    radial-gradient(ellipse at 83% 130%, #7b423c 0, transparent 52%),
    linear-gradient(110deg, #211c2a, #322a42 65%, #272432);
  padding: clamp(1.4rem, 3vw, 2.5rem);
  margin: 1.3rem 0 0;
  border-radius: 10px 10px 0 0;
}
.marquee-type p,
.archive-count,
.reel a span,
.transport button,
.head .counts span {
  font-family: ui-monospace, monospace;
}
.marquee-type p {
  font-size: 0.83rem;
  color: #e0cbd5;
}
.marquee h1,
.head h1,
.panel h2,
.picker h2,
.still-dialog h2 {
  font-family: "Barlow Film", Impact, sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.025em;
}
.marquee h1 {
  margin: 0.18rem 0 0.6rem;
  font-size: clamp(3.3rem, 6.8vw, 6.5rem);
  line-height: 0.94;
}
.marquee h1 em {
  color: #ffa77e;
  font-style: normal;
}
.archive-count {
  color: #e5d9e4;
  font-size: 0.83rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.archive-count i {
  width: 4px;
  height: 4px;
  background: #ffa77e;
  border-radius: 50%;
}
.reel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  transform: rotate(-4deg);
  background: #17151a;
  border: 1px solid #73606e;
  box-shadow: 0 10px 32px #0f0e1580;
  padding: 13px 4px;
  position: relative;
}
.reel:before,
.reel:after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    #afa0af 0 7px,
    transparent 7px 17px
  );
}
.reel:before {
  top: 4px;
}
.reel:after {
  bottom: 4px;
}
.reel a {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 0;
  background: #221f28;
  color: white;
  min-height: 88px;
  display: flex;
  align-items: end;
}
.reel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.18s;
}
.reel a:hover img,
.reel a:focus-visible img {
  transform: scale(1.08);
}
.reel a span {
  position: relative;
  flex: 1;
  padding: 0.65rem 0.35rem 0.35rem;
  font-size: 0.77rem;
  font-weight: 650;
  background: linear-gradient(transparent, #141119ed);
}
.benchbar {
  margin: 0;
  background: #26232e;
  color: #eee5eb;
  border: 0;
  border-bottom: 1px solid #534b5a;
  gap: 0.8rem;
}
.benchbar .meta {
  color: #d8ccda;
}
.benchbar button {
  background: #3e3746;
  color: #fdf1ea;
  border: 1px solid #6a5e6f;
  border-radius: 5px;
}
.benchbar .pick-trigger {
  background: #ffd0b3;
  color: #272028;
  border-color: #ffc49d;
}
.benchbar button:hover {
  color: #251f29;
  background: #efcfda;
}
.benchbar + .variant {
  margin: 0;
  padding: 0.45rem 1.25rem;
  background: #e0dce2;
}
.transport {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.2rem;
  background: #e1dde4;
  border-bottom: 1px solid #c3bcca;
  border-radius: 0 0 8px 8px;
}
.moment-controls {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
}
.transport button {
  font-size: 0.83rem;
  border: 1px solid transparent;
  background: transparent;
  padding: 0.35rem 0.65rem;
}
.transport button[aria-pressed="true"] {
  background: #312a3a;
  color: #ffcbac;
}
.transport button:hover {
  border-color: #8a758c;
}
.transport [data-share] {
  margin-left: auto;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.transport output {
  font-size: 0.85rem;
  color: #59396f;
}
.stage-shot {
  position: absolute;
  inset: 0;
  background-size: 100% 300%;
  background-repeat: no-repeat;
}
.poster:disabled {
  background: #28242e;
  opacity: 1;
}
.poster .play[hidden] {
  display: none;
}
.card {
  border-radius: 8px;
  border-top: 4px solid var(--orange);
  background: #fffdf8;
  box-shadow: 0 4px 14px #3420330a;
}
.card.b {
  border-top-color: var(--blue);
}
.card-top {
  background: #221e27;
}
.side b,
.b .side b {
  background: #faa57f;
  color: #201d25;
}
.b .side b {
  background: #bdb2ff;
}
.card-top .pick-trigger {
  background: transparent;
  border: 1px solid #675f70;
  min-width: 40%;
}
.card-body h2,
.model-tile strong {
  font-family: "Barlow Film", Impact, sans-serif;
  font-size: 1.72rem;
  letter-spacing: 0;
}
.panel,
.model-tile {
  border-radius: 8px;
}
.panel {
  border-top: 2px solid #5c4c65;
}
.model-tile {
  overflow: hidden;
  background: #fffdf8;
}
.model-cover {
  height: 7.5rem;
  object-fit: cover;
  margin: -1.1rem -1.1rem 0.6rem;
}
.panel h2 {
  font-size: 2.1rem;
}
.head h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
}
.picker,
.still-dialog {
  border-radius: 10px;
  background: #f6f2ee;
}
.card-links a:hover,
.table-wrap a:hover {
  color: #a04221;
}
@media (max-width: 800px) {
  .marquee {
    gap: 1rem;
    grid-template-columns: 1fr 42%;
  }
  .reel a {
    min-height: 77px;
  }
  .reel a span {
    font-size: 0.72rem;
  }
  .transport {
    flex-wrap: wrap;
  }
}
@media (max-width: 620px) {
  .marquee {
    grid-template-columns: 1fr;
    padding: 1.1rem;
    gap: 1rem;
    margin-top: 0.7rem;
  }
  .marquee h1 {
    font-size: 3.7rem;
  }
  .reel {
    transform: none;
    max-width: 100%;
    padding: 9px 3px;
  }
  .reel a {
    min-height: 57px;
  }
  .reel a span {
    font-size: 0.77rem;
  }
  .reel:before {
    top: 2px;
  }
  .reel:after {
    bottom: 2px;
  }
  .benchbar > .meta {
    width: auto;
  }
  .transport {
    padding: 0.5rem;
    gap: 0.25rem;
  }
  .transport button {
    padding: 0.36rem 0.45rem;
  }
  .transport output:empty {
    display: none;
  }
  .model-cover {
    margin: -0.75rem -0.75rem 0.45rem;
  }
  .card-body,
  .card-top {
    padding: 0.8rem;
  }
  .card-top .pick-trigger {
    max-width: 75%;
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reel img {
    transition: none;
  }
}
