/* PELISPLUS · tokens · canonical source */
:root {
  color-scheme: dark;
  --bg: #0c0e0d;
  --surface: #141815;
  --surface-raised: #1c231e;
  --line: rgba(240, 255, 237, 0.09);
  --muted: #8f998f;
  --text: #d9dfd8;
  --white: #f7f9f4;
  --accent: #c5f46b;
  --accent-ink: #18220d;
  --gold: #eac779;
  --gutter: clamp(28px, 4.2vw, 84px);
  --radius: 12px;
  --poster-ratio: 2 / 3;
  --font: "Segoe UI", Arial, Helvetica, sans-serif;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 135px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
}

button, input, select, textarea {
  font: inherit;
}

button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

button, a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  color: white;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(34px, 4vw, 58px);
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 20px;
}

p {
  line-height: 1.65;
}

svg {
  flex-shrink: 0;
  vertical-align: middle;
}

input, select, textarea {
  color: var(--text);
  background: var(--surface);
  border: 1px solid #303930;
  border-radius: 10px;
  padding: 13px 15px;
  min-width: 0;
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

[hidden] {
  display: none !important;
}

.container {
  padding-inline: var(--gutter);
  max-width: 2200px;
  margin-inline: auto;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
}

.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 {
  position: fixed;
  z-index: 200;
  top: -80px;
  left: 16px;
  padding: 12px;
  background: white;
  color: #111;
}

.skip:focus {
  top: 12px;
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wrap {
  flex-wrap: wrap;
}

.space-between {
  justify-content: space-between;
}

.stack {
  display: grid;
  gap: 18px;
}

.section {
  margin-block: 64px;
}

.page-top {
  padding-top: 130px;
  min-height: 60vh;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  background: #202720;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  transition: background .2s, transform .2s, border-color .2s;
}

.button:hover {
  background: #303a2f;
  transform: translateY(-1px);
  border-color: #68775b;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.button.primary:hover {
  background: #d6ff87;
  border-color: #d6ff87;
}

.button.light {
  background: white;
  color: #0a0e13;
  border: 0;
}

.button.light:hover {
  background: #e2e7ef;
}

.button.watch {
  height: 50px;
  padding-inline: 25px;
  font-size: 14px;
  border-radius: 8px;
}

.button.ghost {
  background: transparent;
}

.button.danger {
  color: #ffadb6;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #ffffff20;
  color: var(--white);
  transition: background .2s, border-color .2s;
}

.icon-button:hover {
  background: #c5f46b16;
  border-color: var(--accent);
  color: var(--accent);
}

.icon-button.large {
  width: 58px;
  height: 58px;
  background: #ffffff29;
  border: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: 50px;
  border: 1px solid var(--line);
  background: #ffffff06;
  font-size: 13px;
  color: #c7cfd9;
}

.pill.active, .pill[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.empty {
  text-align: center;
  padding: 70px 25px;
  border: 1px dashed #293544;
  border-radius: 16px;
}

.empty h2 {
  font-size: 24px;
}

.empty p {
  color: var(--muted);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: #bdc7d3;
  margin-bottom: 20px;
}

.breadcrumb span.sep {
  color: #5e6b7d;
}

.breadcrumb a:hover {
  color: white;
}

.notice {
  padding: 14px 18px;
  border-radius: 10px;
  background: #c5f46b0b;
  border: 1px solid #c5f46b29;
  font-size: 13px;
  color: #c1d5a9;
}

.status-error {
  color: #ffadb6;
  min-height: 22px;
  font-size: 14px;
}

.loading {
  padding: 40px;
  text-align: center;
}

.spinner {
  width: 25px;
  height: 25px;
  border: 2px solid #ffffff22;
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

@keyframes spin {
to {
    transform: rotate(360deg);
  }
}

@font-face {
font-family: BrandCondensed;
  src: url("../fonts/brand.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

@media (max-width: 1024px) {
  :root {
    --gutter: 24px;
  }

  h2 {
    font-size: 25px;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
    --header-height: 66px;
  }

  body {
    font-size: 14px;
  }

  .page-top {
    padding-top: 100px;
  }

  h2 {
    font-size: 23px;
  }

  .section {
    margin-block: 32px;
  }

  .button.watch {
    height: 48px;
    font-size: 15px;
    padding-inline: 20px;
  }

  .icon-button.large {
    width: 48px;
    height: 48px;
  }

  .breadcrumb {
    font-size: 12px;
  }

  .button {
    padding: 10px 16px;
  }

  .container {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
