/* BritDeath TV: concrete venue walls, fluorescent-tube light. */
:root {
  /* All blacks and dark greys, with the logo's bone white and blood red. */
  --pit: #0b0b0c;
  --concrete: #111213;
  --floor: #161718;
  --block: #1e1f21;
  --seam: #3a3c40;
  --tube: #ebe7de;
  --ash: #9b9ea3;
  --glow: #d9d4ca;
  --blood: #c8141f;
  --hazard: #ebc23c;
  --claret: #e0646b;
  --radius: 3px;
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --grunge: 'Rubik Dirt', 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Archivo', system-ui, sans-serif;
  /* Film grain, concrete stains and a twist of barbed wire, drawn as SVG. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --stains: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='s' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.4 -.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)' opacity='.55'/%3E%3C/svg%3E");
  --wire: url("/brand/barbed-wire.svg");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--concrete);
  background-image: var(--grain), var(--stains), radial-gradient(ellipse at 50% 0%, #1b1c1e 0%, var(--concrete) 55%, var(--pit) 100%);
  background-attachment: fixed;
  color: var(--tube);
  font: 400 1.0625rem/1.55 var(--body);
}
img { max-width: 100%; display: block; }
a { color: var(--glow); text-underline-offset: 0.18em; }
a:hover { color: var(--tube); }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 2px; }

h1, h2 { font-family: var(--display); font-weight: 900; line-height: 0.98; letter-spacing: 0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; margin: 0 0 0.35em; }
p { margin: 0 0 1em; max-width: 68ch; }

.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
main.wrap { padding-block: 2rem 4rem; }
section + section { margin-top: 3rem; }
.narrow { max-width: 640px; }
.lede { font-size: 1.2rem; color: var(--ash); }
.hint { display: block; font-size: 0.9rem; font-weight: 400; color: var(--ash); }
.sep { color: var(--seam); margin: 0 0.15em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--glow); color: var(--concrete); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 0.5rem; }

/* Header and the logo */
.site-head { border-bottom: 1px solid var(--seam); background: var(--floor); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.6rem; flex-wrap: wrap; }
.wordmark { display: block; line-height: 0; flex: none; animation: tube-on 1.4s steps(1, end) 0.2s both; }
.wordmark img { width: auto; height: 92px; margin-block: -0.25rem; }
.wordmark:focus-visible { outline-offset: 4px; }
/* The fluorescent tube flickers on once when the page loads. */
@keyframes tube-on {
  0% { opacity: 0.15; }
  10% { opacity: 1; }
  14% { opacity: 0.25; }
  22% { opacity: 1; }
  26% { opacity: 0.4; }
  34%, 100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .wordmark { animation: none; } }

.site-nav { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.site-nav a { color: var(--tube); text-decoration: none; font-weight: 600; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--glow); }
.site-nav a.btn { color: var(--concrete); }
.head-quick { display: none; }
.head-quick a { color: var(--tube); text-decoration: none; font-weight: 600; }
.head-quick a[aria-current='page'] { color: var(--glow); }
.head-quick a.btn { color: var(--concrete); }
.inline { display: inline; margin: 0; }
.linkish { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--tube); cursor: pointer; }
.linkish:hover { color: var(--glow); }
.linkish.danger { color: var(--claret); }

.site-foot { border-top: 1px solid var(--seam); color: var(--ash); font-size: 0.9rem; padding-block: 1.5rem; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--glow);
  color: var(--concrete);
  border: 2px solid var(--glow);
  border-radius: var(--radius);
  padding: 0.6em 1.15em;
  font: 700 1rem/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--tube); border-color: var(--tube); color: var(--concrete); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--tube); border-color: var(--seam); }
.btn-ghost:hover { background: var(--block); border-color: var(--tube); color: var(--tube); }
.btn-small { padding: 0.35em 0.85em; font-size: 0.95rem; }

/* Notices */
.notice { margin: 1rem 0 0; padding: 0.75rem 1rem; border-left: 4px solid var(--glow); background: var(--block); max-width: none; }
.notice-error { border-color: var(--claret); }
.callout { padding: 0.85rem 1rem; border-left: 4px solid var(--hazard); background: var(--block); max-width: none; }
.form-errors { border-left: 4px solid var(--claret); background: var(--block); padding: 0.75rem 1rem; margin-bottom: 1.25rem; }
.form-errors p { margin: 0 0 0.25rem; font-weight: 700; }
.form-errors ul { margin: 0; padding-left: 1.2rem; }

/* Home */
.hero { padding-block: 1.5rem 0.5rem; }
.hero-line { font-size: clamp(2.6rem, 7vw, 5rem); max-width: 16ch; }
.hero-with-signup { display: grid; grid-template-columns: 1fr minmax(300px, 380px); gap: 3rem; align-items: start; }
.hero-with-signup .hero-line { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.hero-signup { background: var(--floor); border: 1px solid var(--seam); border-top: 3px solid var(--glow); border-radius: var(--radius); padding: 1.5rem; }
.hero-signup h2 { font-size: 1.9rem; }
.hero-signup .hint:last-child { margin: 1rem 0 0; }
.managers-label { margin: 0.6rem 0 0.2rem; font-weight: 700; }
.managers { margin: 0 0 0.6rem; padding-left: 1.1rem; }
.managers li { margin-bottom: 0.25rem; }
.add-manager { display: flex; gap: 0.5rem; max-width: 460px; }
.add-manager input { flex: 1; padding-block: 0.4em; }
.review h3 .badge { margin-left: 0.4rem; vertical-align: middle; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }


.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.section-head h2 { margin: 0; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem 1.25rem; }
.show-card { display: flex; flex-direction: column; gap: 0.4rem; color: var(--tube); text-decoration: none; }
.show-card:hover .poster { outline: 2px solid var(--glow); outline-offset: 2px; }
.show-card-title { font-weight: 700; line-height: 1.25; }
.show-card-meta { color: var(--ash); font-size: 0.88rem; }

.poster { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--block); }
.poster-blank { display: flex; align-items: flex-end; padding: 0.8rem; border: 1px solid var(--seam); }
.poster-blank span { font-family: var(--display); font-weight: 900; font-size: clamp(1.1rem, 4vw, 1.6rem); line-height: 1; color: var(--ash); overflow-wrap: anywhere; }
.player-locked .poster-blank span { display: none; }

/* Sideways rows on the home page */
.rail + .rail, .rail + section, section + .rail { margin-top: 2.75rem; }
main.wrap > .rail:first-child { margin-top: 0.5rem; }
.rail-tools { display: flex; align-items: center; gap: 0.5rem; }
.rail-tools > a { margin-right: 0.5rem; }
.rail-btn { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--seam); background: var(--floor); color: var(--tube); font-size: 1.5rem; line-height: 1; cursor: pointer; display: inline-grid; place-items: center; padding: 0 0 0.15rem; }
.rail-btn:hover:not(:disabled) { border-color: var(--glow); color: var(--glow); }
.rail-btn:disabled { opacity: 0.35; cursor: default; }
.rail-btn[hidden] { display: none; }
.rail-track { list-style: none; margin: 0; padding: 0.25rem 0.1rem 0.75rem; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 1.25rem) / 4); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--seam) transparent; }
.rail-track > li { scroll-snap-align: start; min-width: 0; }
.rail-track:focus-visible { outline-offset: 4px; }
/* Promotion logos are widescreen now, so they get the same width as shows. */
.promo-tile { display: flex; flex-direction: column; gap: 0.35rem; color: var(--tube); text-decoration: none; }
.promo-tile img, .promo-tile-blank { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: var(--radius); border: 1px solid var(--seam); background: var(--block); }
.promo-tile-blank { display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 3rem; color: var(--ash); }
.promo-tile:hover img, .promo-tile:hover .promo-tile-blank { border-color: var(--glow); }
.promo-tile-name { font-weight: 700; line-height: 1.25; }
.promo-tile-meta { color: var(--ash); font-size: 0.88rem; }
.thumb-wrap { position: relative; display: block; }
.progress { display: block; height: 4px; background: rgba(234, 246, 252, 0.2); border-radius: 2px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--glow); }
.progress-on-thumb { position: absolute; left: 0.5rem; right: 0.5rem; bottom: 0.5rem; }

/* Account: Your purchases */
.purchases { list-style: none; margin: 0 0 1rem; padding: 0; }
.purchase { display: grid; grid-template-columns: 112px 1fr auto; gap: 0.5rem 1rem; align-items: center; padding: 0.9rem 0; border-bottom: 1px solid var(--seam); }
.purchase:first-child { padding-top: 0.25rem; }
.purchase-thumb { display: block; width: 112px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--block); }
.purchase-main p { margin: 0; }
.purchase-title { font-weight: 700; }
.purchase-title a { color: var(--tube); text-decoration: none; }
.purchase-title a:hover { color: var(--glow); }
.purchase-meta { color: var(--ash); font-size: 0.9rem; }
.purchase-status { font-size: 0.95rem; margin-top: 0.15rem !important; }
.purchase-status.is-off { color: var(--ash); }
.purchase-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; }

/* Under the player: buy or download the file */
.keep-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 1.25rem; flex-wrap: wrap; margin-top: 1rem; padding: 0.85rem 1rem; border: 1px solid var(--seam); border-radius: var(--radius); background: var(--floor); }
.keep-bar p { margin: 0; }
.keep-bar form { margin: 0; }

/* "Continue from…" over the player */
.resume { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0.75rem; padding: clamp(1.25rem, 5vw, 3rem); background: linear-gradient(90deg, rgba(27, 30, 33, 0.94), rgba(27, 30, 33, 0.55)); }
.resume-kicker { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(1.5rem, 3.5vw, 2.4rem); line-height: 1; }
.resume .progress { width: min(360px, 100%); }
.resume-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.promo-strip { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.promo-strip a { display: flex; align-items: center; gap: 0.55rem; padding: 0.4rem 0.8rem 0.4rem 0.4rem; border: 1px solid var(--seam); border-radius: 999px; color: var(--tube); text-decoration: none; font-weight: 600; }
.promo-strip a:hover { border-color: var(--glow); }
.promo-strip img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

/* Library */
.search { display: flex; gap: 0.6rem; margin-bottom: 2rem; max-width: 640px; }
.search input { flex: 1; }

/* Promotions */
.promo-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.promo-list a { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 0.9rem; align-items: center; padding: 0.85rem; border: 1px solid var(--seam); border-radius: var(--radius); color: var(--tube); text-decoration: none; }
.promo-list a:hover { border-color: var(--glow); }
.promo-list img, .logo-blank { grid-row: span 2; width: 96px; height: 54px; border-radius: var(--radius); object-fit: contain; background: var(--block); }
.promo-name { font-weight: 700; }
.promo-meta { color: var(--ash); font-size: 0.9rem; }
.promo-head { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: 1.75rem; align-items: start; }
.promo-head > :only-child { grid-column: 1 / -1; }
.promo-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.logo { width: 128px; aspect-ratio: 16 / 9; height: auto; border-radius: var(--radius); object-fit: contain; background: var(--block); }
.logo-large { width: 100%; border: 1px solid var(--seam); }

/* Watch page */
.player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-locked .poster { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; opacity: 0.25; border-radius: 0; }
.lock { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(1.25rem, 5vw, 3rem); background: linear-gradient(90deg, rgba(27, 30, 33, 0.92), rgba(27, 30, 33, 0.4)); }
.lock p { color: var(--ash); }
.show-info { display: grid; grid-template-columns: 1fr minmax(240px, 340px); gap: 2.5rem; margin-top: 2rem; }
.show-meta { color: var(--ash); }
/* Video with the related product beside it */
.watch-top { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 1.25rem; align-items: start; }
.watch-main { min-width: 0; }
.watch-top .product-link img { max-height: 200px; }
.match-card { border-left: 3px solid var(--seam); padding-left: 1.25rem; }
/* Related product: a quiet card beside the show's details */
.product-card { border: 1px solid var(--seam); border-radius: var(--radius); background: var(--floor); padding: 1rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.product-card p { margin: 0; }
.product-kicker { color: var(--ash); font-size: 0.85rem; font-weight: 600; }
.product-link { display: flex; flex-direction: column; gap: 0.35rem; color: var(--tube); text-decoration: none; width: 100%; }
.product-link img { width: 100%; max-height: 240px; object-fit: contain; background: var(--block); border-radius: var(--radius); }
.product-link:hover .product-title { color: var(--glow); }
.product-title { font-weight: 700; line-height: 1.3; }
.product-price { color: var(--hazard); font-weight: 700; }
.product-blurb { color: var(--ash); font-size: 0.92rem; }
.product-host { color: var(--ash); font-size: 0.8rem; }
.product-preview { width: 160px; border-radius: var(--radius); margin-bottom: 0.5rem; }
.match-card ol { padding-left: 1.2rem; margin: 0; }
.match-card li { margin-bottom: 0.45rem; }
.match-card li:last-child { font-weight: 700; color: var(--tube); }

/* Forms */
.stack { display: flex; flex-direction: column; gap: 1.1rem; }
.stack > .btn, .uploader > .btn { align-self: flex-start; }
.stack + p { margin-top: 1.25rem; }
label { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 600; }
label.check { flex-direction: row; align-items: center; gap: 0.6rem; font-weight: 400; }
input, textarea, select {
  font: inherit;
  color: var(--tube);
  background: var(--floor);
  border: 1px solid var(--seam);
  border-radius: var(--radius);
  padding: 0.6em 0.75em;
  width: 100%;
}
input[type='checkbox'], input[type='radio'] { width: 1.15rem; height: 1.15rem; flex: none; padding: 0; accent-color: var(--glow); }
.panel + h2, .panel + form, .panel + section { margin-top: 2rem; }
input[type='file'] { padding: 0.5em; }
input:focus, textarea:focus { border-color: var(--glow); }
fieldset { border: 1px solid var(--seam); border-radius: var(--radius); padding: 1rem; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
legend { font-weight: 700; padding: 0 0.4rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.prefixed { display: flex; align-items: stretch; }
.prefixed span { display: flex; align-items: center; padding: 0 0.6rem; border: 1px solid var(--seam); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); color: var(--ash); font-weight: 400; background: var(--block); white-space: nowrap; }
.prefixed input { border-radius: 0 var(--radius) var(--radius) 0; }
.logo-preview { display: block; width: 192px; aspect-ratio: 16 / 9; height: auto; object-fit: contain; background: var(--pit); border-radius: var(--radius); }
.poster-preview { width: 100%; max-width: 320px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }

/* Page headers: title (and its status line) on the left, the page's actions on the right */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.page-head h1 { margin-bottom: 0.25em; }
.page-title { display: flex; align-items: center; gap: 1.25rem; }
.page-sub { margin: 0; display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; color: var(--ash); }
.page-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.back { margin-bottom: 0.75rem; font-size: 0.95rem; }
.back a { color: var(--ash); }
.back a:hover { color: var(--tube); }
.hint-inline { color: var(--ash); font-size: 0.9rem; }
.nowrap { white-space: nowrap; }
.btn-quiet-danger:hover { border-color: var(--claret); color: var(--claret); background: transparent; }

/* Show editing: the form, with the video and approval steps beside it */
.edit-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 1.5rem; align-items: start; }
.edit-layout .panel { margin-top: 0; }
.edit-side { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 1.5rem; }
.form-panel { max-width: 760px; }
.panel { border: 1px solid var(--seam); border-radius: var(--radius); padding: 1.25rem; margin-top: 1.5rem; background: var(--floor); }
.panel h2 { font-size: 1.6rem; }
.uploader { display: flex; flex-direction: column; gap: 0.9rem; }
.uploader progress { width: 100%; height: 0.9rem; accent-color: var(--glow); }
.empty { padding: 1.25rem; border: 1px dashed var(--seam); border-radius: var(--radius); color: var(--ash); max-width: none; }
.empty p:last-child { margin-bottom: 0; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--seam); vertical-align: middle; }
.table th { color: var(--ash); font-weight: 600; font-size: 0.9rem; }
.table + .hint, .empty + .hint { margin-top: 0.85rem; }

.badge { display: inline-block; padding: 0.15em 0.6em; border-radius: 999px; font-size: 0.85rem; font-weight: 700; border: 1px solid var(--seam); color: var(--ash); white-space: nowrap; }
.badge-pending, .badge-video-uploading, .badge-video-processing { border-color: var(--hazard); color: var(--hazard); }
.badge-published, .badge-approved, .badge-video-ready { border-color: var(--glow); color: var(--glow); }
.badge-rejected, .badge-removed, .badge-suspended, .badge-video-error { border-color: var(--claret); color: var(--claret); }

/* Schedule */
.schedule-day { margin-top: 2.25rem; }
.schedule-day h2 { border-bottom: 1px solid var(--seam); padding-bottom: 0.4rem; }
.schedule-list { list-style: none; margin: 0; padding: 0; }
.schedule-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.25rem; align-items: start; padding: 0.9rem 0; border-bottom: 1px solid var(--block); }
.schedule-time { font-family: var(--display); font-weight: 900; font-size: 1.7rem; line-height: 1; color: var(--glow); text-shadow: 0 0 10px rgba(134, 215, 247, 0.35); }
.schedule-show { display: grid; grid-template-columns: 128px 1fr; gap: 1rem; color: var(--tube); text-decoration: none; }
.schedule-show:hover .schedule-title { color: var(--glow); }
.schedule-show .poster { width: 128px; }
.schedule-show .poster-blank span { display: none; }
.schedule-title { display: block; font-weight: 700; font-size: 1.15rem; margin-bottom: 0.2rem; }
.schedule-meta { display: block; color: var(--ash); font-size: 0.92rem; }
.coming-up { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.85rem; }
.coming-up a { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.9rem 1rem; border: 1px solid var(--seam); border-left: 3px solid var(--glow); border-radius: var(--radius); color: var(--tube); text-decoration: none; height: 100%; }
.coming-up a:hover { border-color: var(--glow); }
.coming-when { color: var(--glow); font-weight: 700; font-size: 0.92rem; }
.coming-title { font-weight: 700; }
.coming-promo { color: var(--ash); font-size: 0.9rem; }
.lock .lock-kicker { color: var(--glow); font-weight: 700; margin-bottom: 0.2rem; }
main section > h2:not(:first-child), main section > .section-head:not(:first-child) { margin-top: 2.5rem; }
.field-label { font-weight: 600; margin-bottom: 0.2rem; }
.release-field p:last-child { margin: 0; color: var(--ash); }

/* Promo codes and account */
.optional { font-weight: 400; color: var(--ash); }
.code-form:has(#kind-trial:not(:checked)) .if-trial,
.code-form:has(#kind-discount:not(:checked)) .if-discount { display: none; }
.code { font-family: var(--display); font-weight: 900; font-size: 1.25rem; letter-spacing: 0.04em; }
.code-title { letter-spacing: 0.04em; }
.share-link { font-size: 0.95rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.25rem; margin: 1rem 0 1.5rem; }
.facts dt { color: var(--ash); }
.facts dd { margin: 0; }
.deal-title { font-family: var(--display); font-weight: 900; font-size: 1.8rem; line-height: 1; color: var(--glow); margin-bottom: 0.5rem; }
.inline-form { display: flex; gap: 0.6rem; align-items: flex-end; flex-wrap: wrap; }
.inline-form label { flex: 1 1 220px; }
.table td .hint { margin-top: 0.15rem; }

/* Admin */
.admin-counts { color: var(--ash); }
.review { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.1rem; border: 1px solid var(--seam); border-radius: var(--radius); margin-bottom: 1rem; flex-wrap: wrap; }
.review-body { display: flex; gap: 1rem; flex: 1 1 380px; }
.buy-options { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-bottom: 0.75rem; }
.buy-option { display: flex; flex-direction: column; gap: 0.4rem; max-width: 18rem; margin: 0; }
.buy-option .btn { align-self: flex-start; }
.buy-option s, .panel s { color: var(--ash); font-weight: 400; }
.callout-glow { border-left-color: var(--glow); }
.panel-foot { margin-top: 1rem; }
.rentals { list-style: none; padding: 0; margin: 0; }
.rentals li { padding: 0.6rem 0; border-bottom: 1px solid var(--block); }
.rentals li:last-child { border-bottom: 0; }

.dash-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.85rem; margin: 0; }
.stat-foot { margin-top: 0.75rem; }
.stat-tiles div { border: 1px solid var(--seam); border-radius: var(--radius); padding: 0.9rem 1rem; background: var(--floor); }
.stat-tiles dt { color: var(--ash); font-size: 0.9rem; }
.stat-tiles dd { margin: 0.25rem 0 0; font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.month-nav { display: flex; gap: 1.25rem; margin: 0; }
.rank { display: inline-block; min-width: 1.6em; font-family: var(--display); font-weight: 900; font-size: 1.2rem; color: var(--ash); }
.table-rank tbody tr:first-child .rank { color: var(--hazard); }
.rank-by { margin: 0; color: var(--ash); font-size: 0.95rem; }
.statement { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; align-items: start; }
.statement .panel { margin-top: 0; }
.sums { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sums th { text-align: left; font-weight: 400; color: var(--ash); padding: 0.3rem 0; }
.sums td { text-align: right; padding: 0.3rem 0; }
.sums .sum th, .sums .sum td { color: var(--tube); font-weight: 700; border-top: 1px solid var(--seam); }
.table td .hint { display: block; }

.confirm-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.5rem; }
.confirm-actions form { margin: 0; }
.btn-danger { background: var(--claret); border-color: var(--claret); color: #1b1e21; }
.btn-danger:hover { filter: brightness(1.1); }
a.linkish { text-decoration: underline; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-top: 0.6rem; }
.foot-links a { color: var(--ash); }
.foot-links a:hover { color: var(--tube); }
.legal h2 { font-size: 1.5rem; margin-top: 2rem; }
.legal li { margin-bottom: 0.5rem; }
.legal-contents { border-left: 3px solid var(--seam); padding: 0.2rem 0 0.2rem 1rem; margin: 1.5rem 0; }
.legal-contents ol { margin: 0; padding-left: 1.2rem; }
.legal-contents li { margin-bottom: 0.25rem; }

.review-actions { display: flex; flex-direction: column; gap: 0.6rem; min-width: 220px; }
.review-actions form { margin: 0; }
.reject-form { display: flex; flex-direction: column; gap: 0.5rem; }

/* Super admin "view the site as" bar, above everything */
.view-bar { background: #15171a; border-bottom: 1px solid var(--seam); font-size: 0.92rem; }
.view-bar.is-previewing { background: var(--hazard); color: var(--concrete); border-bottom-color: var(--hazard); }
.view-row { display: flex; align-items: center; gap: 0.5rem 1.25rem; flex-wrap: wrap; padding-block: 0.4rem; }
.view-form { display: flex; align-items: center; gap: 0.5rem; margin: 0; }
.view-form label { color: var(--ash); font-weight: 600; white-space: nowrap; }
.is-previewing .view-form label { color: var(--concrete); }
.view-form select { width: auto; min-width: 0; max-width: 16rem; padding: 0.3rem 0.5rem; font-size: 0.92rem; }
.view-note { margin: 0; flex: 1 1 18rem; }
.view-row form { margin: 0; }
.is-previewing .btn { background: var(--concrete); color: var(--hazard); border-color: var(--concrete); }
.is-previewing .btn-ghost { background: transparent; color: var(--concrete); }

/* Super admin: hazard-tape yellow marks everything only the super admin sees. */
.site-nav a.nav-admin { color: var(--hazard); }
.site-nav a.nav-admin:hover, .site-nav a.nav-admin[aria-current='page'] { color: var(--tube); }
.admin-bar {
  background: #2b2a20;
  border-bottom: 1px solid var(--hazard);
  border-top: 5px solid transparent;
  border-image: repeating-linear-gradient(-45deg, var(--hazard) 0 10px, var(--floor) 10px 20px) 5 0 0 0;
}
.admin-bar-view { background: var(--floor); border-bottom-style: dashed; }
.admin-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; flex-wrap: wrap; padding-block: 0.6rem; }
.admin-tag { margin: 0; font-size: 0.95rem; color: var(--ash); }
.admin-tag strong { color: var(--hazard); margin-right: 0.4rem; }
.admin-nav { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.admin-nav a { color: var(--tube); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.3rem 0.7rem; border-radius: var(--radius); border: 1px solid transparent; }
.admin-nav a:hover { border-color: var(--seam); }
.admin-nav a[aria-current='page'] { background: var(--hazard); color: var(--concrete); }
.admin-bar-view a { font-weight: 600; font-size: 0.95rem; color: var(--hazard); }
.panel-admin { border-color: var(--hazard); border-left-width: 4px; background: #24231c; }
.panel-admin h2, main section.panel-admin > h2:not(:first-child) { font-size: 1.35rem; margin-top: 0; }
.admin-only { margin: 0 0 0.35rem; font-size: 0.85rem; font-weight: 700; color: var(--hazard); }
.admin-download { margin: -0.75rem 0 0; font-size: 0.95rem; }
.progress-wide { width: 100%; height: 8px; margin-bottom: 1rem; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.admin-actions form { margin: 0; }
.panel-admin form + form { margin-top: 1rem; }

@media (max-width: 860px) {
  .hero-with-signup { grid-template-columns: 1fr; gap: 1.5rem; }
  .edit-layout { grid-template-columns: 1fr; }
  .edit-side { order: -1; position: static; }
  .rail-track { grid-auto-columns: calc((100% - 2 * 1.25rem) / 3); }
}

@media (max-width: 720px) {
  .schedule-list li { grid-template-columns: 1fr; gap: 0.5rem; }
  .player-locked { aspect-ratio: auto; min-height: 56vw; }
  .player-locked .lock { position: relative; min-height: 56vw; }
  .add-manager { flex-direction: column; }
  .head-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.55rem 1rem; padding-block: 0.75rem 0.5rem; }
  .wordmark img { height: 64px; margin-block: 0; }
  .head-quick { display: block; }
  .nav-dup { display: none; }
  .site-nav { grid-column: 1 / -1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; gap: 1.1rem; padding-bottom: 0.35rem; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav > * { flex: none; }
  .page-head { margin-bottom: 1.5rem; }
  .page-title { align-items: flex-start; }
  .review-actions { min-width: 0; width: 100%; flex-direction: row; flex-wrap: wrap; }
  .table-stack { display: block; overflow: visible; }
  .table-stack thead { display: none; }
  .table-stack tbody, .table-stack tr { display: block; }
  .table-stack tr { padding: 0.8rem 0; border-bottom: 1px solid var(--seam); }
  .table-stack td { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border: 0; padding: 0.2rem 0; text-align: right; }
  .table-stack td::before { content: attr(data-label); color: var(--ash); font-size: 0.9rem; text-align: left; }
  .table-stack td:first-child { display: block; text-align: left; font-weight: 700; padding-bottom: 0.4rem; }
  .table-stack td.cell-action { justify-content: flex-start; padding-top: 0.5rem; }
  .table-stack td:first-child::before, .table-stack td.cell-action::before { content: none; }
  .show-info { grid-template-columns: 1fr; }
  .promo-head { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .rail-track { grid-auto-columns: 80%; gap: 1rem; }
  #promos .rail-track { grid-auto-columns: 62%; }
  .rail-tools > a { margin-right: 0; }
  .rail-btn { display: none; }
  .watch-top { grid-template-columns: 1fr; }
  .watch-top .product-card { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .watch-top .product-kicker { flex-basis: 100%; }
  .watch-top .product-link { flex-direction: row; align-items: center; gap: 0.75rem; width: auto; flex: 1 1 14rem; }
  .watch-top .product-link img { width: 72px; max-height: 96px; }
  .purchase { grid-template-columns: 88px 1fr; }
  .purchase-thumb { width: 88px; }
  .purchase-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .view-form { width: 100%; min-width: 0; }
  .view-form select { flex: 1 1 auto; max-width: none; }
  .view-note { flex-basis: 100%; }
  .resume { gap: 0.5rem; padding: 1rem; }
  .resume .btn { padding-inline: 0.9rem; }
  .table { font-size: 0.92rem; display: block; overflow-x: auto; }
  .table th, .table td { padding-inline: 0.35rem; }
}


/* ---------- Grunge and barbed wire ---------- */

/* Barbed wire along the bottom of the header and the top of the footer. */
.site-head { position: relative; border-bottom: 0; background: linear-gradient(#0e0f10, #131415); margin-bottom: 13px; }
.site-head::after, .site-foot::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 30px;
  background: var(--wire) repeat-x center / 180px 30px;
  pointer-events: none;
  filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.85));
}
.site-head::after { bottom: -15px; }
.site-foot { position: relative; border-top: 0; background: #0d0e0f; margin-top: 2rem; padding-top: 1.75rem; }
.site-foot::before { top: -15px; }
/* A strand between the home page rows. */
.rail + .rail, .rail + section { position: relative; padding-top: 2.25rem; }
.rail + .rail::before, .rail + section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 26px;
  background: var(--wire) repeat-x center / 150px 25px;
  opacity: 0.6;
}

/* Page titles in dirt-caked letters. */
h1 { font-family: var(--grunge); font-weight: 400; letter-spacing: 0.01em; line-height: 1.02; text-shadow: 0 2px 0 #000, 0 0 18px rgba(0, 0, 0, 0.6); }
h2 { text-transform: uppercase; letter-spacing: 0.03em; }

/* Links and buttons: bone white, with the logo's red when you touch them. */
a { color: var(--glow); text-decoration-color: rgba(217, 212, 202, 0.4); }
a:hover { color: #fff; text-decoration-color: var(--blood); }
.btn {
  background: var(--tube);
  border-color: var(--tube);
  color: #0b0b0c;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  box-shadow: 0 2px 0 #000, inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}
.btn:hover { background: var(--blood); border-color: var(--blood); color: #fff; }
.btn-ghost { background: rgba(0, 0, 0, 0.35); color: var(--tube); border-color: var(--seam); box-shadow: none; }
.btn-ghost:hover { background: #000; border-color: var(--blood); color: #fff; }
.btn-small { font-size: 0.82rem; }
.site-nav a { text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: #fff; text-decoration: underline; text-decoration-color: var(--blood); text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
:focus-visible { outline-color: var(--tube); }

/* Panels and cards: dark slabs with a worn edge. */
.panel, .hero-signup, .review, .product-card, .keep-bar, .rentals li, .promo-list a {
  background-color: rgba(12, 12, 13, 0.82);
  background-image: var(--grain);
  border-color: #2b2d30;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 8px 24px rgba(0, 0, 0, 0.45);
}
.hero-signup { border-top: 3px solid var(--blood); }
input, textarea, select { background: #0c0c0d; border-color: #33363a; }
input:focus, textarea:focus, select:focus { border-color: var(--tube); }
input[type='checkbox'], input[type='radio'], .uploader progress { accent-color: var(--blood); }

/* Thumbnails: a touch of grime, red when picked. */
.poster { filter: contrast(1.05) saturate(0.9); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55); }
.show-card:hover .poster, .promo-tile:hover img, .promo-tile:hover .promo-tile-blank { outline: 2px solid var(--blood); outline-offset: 2px; }
.poster-blank, .promo-tile-blank { background: #161718 var(--grain); border-color: #2b2d30; }
.rail-btn { background: #0c0c0d; }
.rail-btn:hover:not(:disabled) { border-color: var(--blood); color: #fff; }

/* Small red details. */
.progress > span { background: var(--blood); }
.product-price, .table-rank tbody tr:first-child .rank { color: #e23b44; }
.schedule-time, .coming-when, .lock .lock-kicker, .deal-title, .main-event-kicker { color: var(--tube); text-shadow: none; }
.coming-up a { border-left-color: var(--blood); background: rgba(12, 12, 13, 0.7); }
.coming-up a:hover { border-color: var(--blood); }
.notice { border-left-color: var(--tube); background: #121314; }
.callout-glow { border-left-color: var(--blood); }
.badge-published, .badge-approved, .badge-video-ready { border-color: #6b6f75; color: var(--tube); }
.player { box-shadow: 0 0 0 1px #000, 0 14px 40px rgba(0, 0, 0, 0.7); }
.lock { background: linear-gradient(90deg, rgba(8, 8, 9, 0.94), rgba(8, 8, 9, 0.45)); }
.resume { background: linear-gradient(90deg, rgba(8, 8, 9, 0.95), rgba(8, 8, 9, 0.6)); }
.match-card { border-left-color: var(--blood); }
.skip { background: var(--tube); color: #000; }

@media (prefers-reduced-motion: reduce) { body { background-attachment: scroll; } }
@media (max-width: 720px) {
  body { background-attachment: scroll; }
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
}
/* The home page's sign-up pitch: dirt-caked like the page titles, not shouted. */
.hero-line { font-family: var(--grunge); font-weight: 400; text-transform: none; letter-spacing: 0.01em; line-height: 1.02; text-shadow: 0 2px 0 #000; }
.hero-with-signup .hero-line { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero-signup h2 { font-size: 1.6rem; }

/* Adding and editing a show: grouped form, thumbnail preview, the three steps. */
.show-form fieldset { padding: 1.1rem 1.1rem 1.25rem; background: rgba(0, 0, 0, 0.18); }
.show-form legend { font-size: 1.05rem; letter-spacing: 0.02em; color: var(--tube); }
.show-form legend .optional { font-size: 0.9rem; letter-spacing: 0; }
.show-form textarea::placeholder { color: #6d7075; }
.thumb-pick { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.thumb-frame { position: relative; aspect-ratio: 16 / 9; border: 1px dashed var(--seam); border-radius: var(--radius); background: #0c0c0d var(--grain); overflow: hidden; display: grid; place-items: center; }
.thumb-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb-frame img[hidden] { display: none; }
.thumb-empty { color: var(--ash); font-weight: 700; letter-spacing: 0.08em; }
.field-error { color: #ff6b6b; font-weight: 600; font-size: 0.92rem; }
.field-error[hidden] { display: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: 0.9rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2rem 1fr; column-gap: 0.75rem; color: var(--ash); }
.steps li::before { content: counter(step); grid-row: span 2; width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--seam); display: grid; place-items: center; font-weight: 800; color: var(--ash); }
.steps li strong { color: var(--tube); }
.steps li span { font-size: 0.9rem; }
.steps .step-now::before { background: var(--blood); border-color: var(--blood); color: #fff; }
.tick-list { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.6rem; color: var(--ash); font-size: 0.95rem; }
.tick-list li::marker { color: var(--blood); }
@media (max-width: 860px) {
  .steps { flex-direction: row; gap: 0.75rem; }
  .steps li { flex: 1; grid-template-columns: 1fr; row-gap: 0.35rem; }
  .steps li::before { grid-row: auto; }
  .steps li span { display: none; }
  .ready-panel { display: none; }
}
@media (max-width: 560px) {
  .thumb-pick { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .edit-main:has(.show-form) { padding: 0; border: 0; background: none; }
  .show-form fieldset { padding: 0.9rem 0.85rem 1rem; }
}
.logo-preview[hidden] { display: none; }
.gif-status:not(.field-error) { color: var(--glow); }

/* Super admin: changes promotions made to live shows. */
.edit-log { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.edit-entry { border: 1px solid var(--seam); border-left: 3px solid var(--hazard, #e0b000); border-radius: var(--radius); padding: 0.9rem 1rem; background: var(--floor); }
.edit-entry h3 { font-size: 1.05rem; margin: 0 0 0.5rem; }
.edit-entry dl { margin: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.edit-entry dl > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 0.75rem; }
.edit-entry dt { color: var(--ash); font-size: 0.9rem; }
.edit-entry dd { margin: 0; overflow-wrap: anywhere; }
.edit-from { color: var(--ash); text-decoration: line-through; }
.edit-thumb { width: 160px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 560px) { .edit-entry dl > div { grid-template-columns: 1fr; gap: 0.1rem; } }
.confirm-panel { border-left: 3px solid var(--hazard, #e0b000); }
