/* Spool Fiction — Pulp Cinema Theme */
:root {
  --bg: #100d0a;
  --panel: #17110d;
  --panel2: #241710;
  --line: #b99659;
  --cyan: #ffc400;
  --orange: #e74620;
  --text: #ffe9ba;
  --muted: #c8b18b;
  color-scheme: dark;
}

body {
  background: radial-gradient(ellipse at 50% -30%, #481508 0%, transparent 65%), #100d0a;
  color: var(--text);
}

.topbar {
  background: linear-gradient(110deg, #a81408 0%, #650c07 38%, #100d0a 70%);
  border-bottom: 3px solid #d6a54c;
}

.brand strong {
  color: #ffc400;
  font-weight: 1000;
  font-style: italic;
  text-transform: uppercase;
  text-shadow: 3px 4px #080605;
}

.brand small {
  color: #ffe3a0;
}

.topbar nav a {
  color: #ffe3a0;
}

.topbar nav a:hover,
.topbar nav a.selected {
  background: #a81408;
  color: #ffc400;
}

.eyebrow,
h1 em {
  color: #ffc400;
}

h1 {
  text-transform: uppercase;
  font-weight: 900;
}

.panel {
  background: linear-gradient(145deg, #241710, #100d0a);
  border-color: #b99659;
  border-radius: 12px;
}

.video-panel {
  border-color: #e5b34d;
}

.panel-title {
  border-bottom-color: #71532d;
}

.panel-heading a,
.text-link {
  color: #ffc400;
}

.metric,
.queue-row,
.queue-full-row {
  border-bottom-color: #61492d;
}

.queue-num {
  background: #a81408;
  color: #ffe3a0;
}

.model-icon {
  color: #ffc400;
  background: #39240e;
}

.progress {
  background: #49351c;
}

.progress div {
  background: linear-gradient(90deg, #e74620, #ffc400);
}

.feature,
.feature.orange {
  background: linear-gradient(135deg, #32140e, #17110d);
  border-color: #b99659;
}

.feature-icon,
.feature.orange .feature-icon {
  color: #ffc400;
}

.cta,
.orange .cta {
  color: #ffc400;
  border-color: #d6a54c;
}

.gallery-item {
  background: #1b120d;
  border-color: #b99659;
}

.gallery-art {
  background: #451409;
  color: #ffc400;
}

input,
select,
textarea {
  background: #1a120e;
  border-color: #8b683d;
  color: #ffe9ba;
}

.primary {
  background: linear-gradient(110deg, #b51208, #e74620);
  color: #fff2d2;
}

footer {
  background: #100d0a;
  border-top-color: #b99659;
  color: #d7bd91;
}

/* Featured poster gallery */
.spool-posters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.spool-poster {
  display: block;
  overflow: hidden;
  border: 3px solid #d6a54c;
  border-radius: 12px;
  background: #650c07;
  transition: transform .2s, box-shadow .2s;
}

.spool-poster:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px #0009;
}

.spool-poster img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.spool-poster figcaption {
  padding: 12px 15px;
  color: #ffc400;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 780px) {
  .spool-posters {
    grid-template-columns: 1fr;
  }

  .brand strong {
    font-size: 23px;
  }
}

/* Show complete poster artwork without cropping */
.spool-poster img {
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #650c07;
}

/* Consistent poster sizing */
.spool-poster img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  background: #650c07;
}

/* Final poster gallery alignment */
.spool-posters {
  align-items: stretch;
}

.spool-poster {
  display: flex;
  flex-direction: column;
}

.spool-poster img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

.spool-poster figcaption {
  margin-top: auto;
}

/* ==========================================
   SPOOL FICTION — CINEMATIC HEADER
   ========================================== */

.topbar {
  min-height: 100px;
  padding: 8px 24px;
  background:
    linear-gradient(90deg,
      #9e1608 0%,
      #6c1008 25%,
      #090806 42%,
      #090806 100%);
  border-bottom: 3px solid #d5a44a;
  box-shadow: 0 4px 20px #0009;
  gap: 20px;
}

/* Brand area */
.brand {
  min-width: 0;
  gap: 14px;
  flex-shrink: 0;
}

.brand img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 4px;
}

.brand-divider {
  display: none;
}

.brand strong {
  font-size: clamp(25px, 2.5vw, 40px);
  color: #ffca19;
  font-weight: 1000;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -1.5px;
  text-shadow: 3px 4px #090604;
}

.brand small {
  font-size: 11px;
  color: #fff0c6;
  font-style: italic;
  letter-spacing: 2px;
}

/* Navigation */
.topbar nav {
  gap: 8px;
  margin-left: auto;
}

.topbar nav a {
  min-width: 90px;
  padding: 12px 10px;
  font-size: 25px;
  color: #f8ebca;
  border-radius: 9px;
  font-weight: 800;
}

.topbar nav a span {
  font-size: 12px;
  margin-top: 4px;
}

.topbar nav a.selected,
.topbar nav a:hover {
  background: linear-gradient(#c5190b, #8b0904);
  border: 1px solid #ffca19;
  color: #fff3cf;
}

/* Printer online indicator */
.topbar .online {
  display: flex;
  border: 2px solid #00dd70;
  border-radius: 30px;
  padding: 10px 18px;
  background: #07120c;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.topbar .online i {
  background: #00e878;
  box-shadow: 0 0 10px #00e878;
}

/* Cinematic welcome banner */
#live > .section-head:first-child {
  background:
    radial-gradient(ellipse at 30% 0%, #2c2113 0%, transparent 65%),
    #090806;
  border-bottom: 2px solid #b99659;
  padding: 18px 24px;
  margin-bottom: 18px;
  align-items: center;
  border-radius: 4px;
}

#live > .section-head:first-child .eyebrow {
  color: #ffd22b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  font-style: italic;
}

#live > .section-head:first-child h1 {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(30px, 3.3vw, 54px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  color: #fff0c9;
  text-shadow: 3px 4px #000;
}

#live > .section-head:first-child h1 em {
  color: #ffc400;
  font-style: italic;
  display: inline-block;
  border-bottom: 5px solid #d7190b;
  padding-bottom: 3px;
  transform: skew(-5deg);
}

#live > .section-head:first-child .live-pill {
  background: linear-gradient(#b80d07, #6c0503);
  border: 2px solid #f72d22;
  border-radius: 30px;
  padding: 12px 22px;
  font-size: 13px;
  box-shadow: 0 3px 12px #0008;
}

/* Responsive header */
@media (max-width: 1350px) {
  .topbar {
    flex-wrap: wrap;
  }

  .topbar .online {
    display: flex;
  }
}

@media (max-width: 780px) {
  .topbar {
    padding: 10px 12px;
    gap: 10px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .brand strong {
    font-size: 24px;
  }

  .brand small {
    font-size: 9px;
  }

  .topbar nav {
    width: 100%;
    justify-content: space-between;
    gap: 2px;
  }

  .topbar nav a {
    min-width: 0;
    font-size: 19px;
    padding: 8px 5px;
  }

  .topbar nav a span {
    font-size: 10px;
  }

  .topbar .online {
    margin-left: auto;
    padding: 7px 12px;
    font-size: 11px;
  }

  #live > .section-head:first-child {
    padding: 15px;
    flex-wrap: wrap;
  }

  #live > .section-head:first-child h1 {
    font-size: 32px;
  }
}


/* ==========================================
   SPOOL FICTION — CINEMATIC HEADER
   ========================================== */

.topbar {
  min-height: 100px;
  padding: 8px 24px;
  background:
    linear-gradient(90deg,
      #9e1608 0%,
      #6c1008 25%,
      #090806 42%,
      #090806 100%);
  border-bottom: 3px solid #d5a44a;
  box-shadow: 0 4px 20px #0009;
  gap: 20px;
}

/* Brand area */
.brand {
  min-width: 0;
  gap: 14px;
  flex-shrink: 0;
}

.brand img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 4px;
}

.brand-divider {
  display: none;
}

.brand strong {
  font-size: clamp(25px, 2.5vw, 40px);
  color: #ffca19;
  font-weight: 1000;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -1.5px;
  text-shadow: 3px 4px #090604;
}

.brand small {
  font-size: 11px;
  color: #fff0c6;
  font-style: italic;
  letter-spacing: 2px;
}

/* Navigation */
.topbar nav {
  gap: 8px;
  margin-left: auto;
}

.topbar nav a {
  min-width: 90px;
  padding: 12px 10px;
  font-size: 25px;
  color: #f8ebca;
  border-radius: 9px;
  font-weight: 800;
}

.topbar nav a span {
  font-size: 12px;
  margin-top: 4px;
}

.topbar nav a.selected,
.topbar nav a:hover {
  background: linear-gradient(#c5190b, #8b0904);
  border: 1px solid #ffca19;
  color: #fff3cf;
}

/* Printer online indicator */
.topbar .online {
  display: flex;
  border: 2px solid #00dd70;
  border-radius: 30px;
  padding: 10px 18px;
  background: #07120c;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.topbar .online i {
  background: #00e878;
  box-shadow: 0 0 10px #00e878;
}

/* Cinematic welcome banner */
#live > .section-head:first-child {
  background:
    radial-gradient(ellipse at 30% 0%, #2c2113 0%, transparent 65%),
    #090806;
  border-bottom: 2px solid #b99659;
  padding: 18px 24px;
  margin-bottom: 18px;
  align-items: center;
  border-radius: 4px;
}

#live > .section-head:first-child .eyebrow {
  color: #ffd22b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  font-style: italic;
}

#live > .section-head:first-child h1 {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(30px, 3.3vw, 54px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  color: #fff0c9;
  text-shadow: 3px 4px #000;
}

#live > .section-head:first-child h1 em {
  color: #ffc400;
  font-style: italic;
  display: inline-block;
  border-bottom: 5px solid #d7190b;
  padding-bottom: 3px;
  transform: skew(-5deg);
}

#live > .section-head:first-child .live-pill {
  background: linear-gradient(#b80d07, #6c0503);
  border: 2px solid #f72d22;
  border-radius: 30px;
  padding: 12px 22px;
  font-size: 13px;
  box-shadow: 0 3px 12px #0008;
}

/* Responsive header */
@media (max-width: 1350px) {
  .topbar {
    flex-wrap: wrap;
  }

  .topbar .online {
    display: flex;
  }
}

@media (max-width: 780px) {
  .topbar {
    padding: 10px 12px;
    gap: 10px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .brand strong {
    font-size: 24px;
  }

  .brand small {
    font-size: 9px;
  }

  .topbar nav {
    width: 100%;
    justify-content: space-between;
    gap: 2px;
  }

  .topbar nav a {
    min-width: 0;
    font-size: 19px;
    padding: 8px 5px;
  }

  .topbar nav a span {
    font-size: 10px;
  }

  .topbar .online {
    margin-left: auto;
    padding: 7px 12px;
    font-size: 11px;
  }

  #live > .section-head:first-child {
    padding: 15px;
    flex-wrap: wrap;
  }

  #live > .section-head:first-child h1 {
    font-size: 32px;
  }
}


/* ==========================================
   SPOOL FICTION — CINEMATIC HEADER
   ========================================== */

.topbar {
  min-height: 100px;
  padding: 8px 24px;
  background:
    linear-gradient(90deg,
      #9e1608 0%,
      #6c1008 25%,
      #090806 42%,
      #090806 100%);
  border-bottom: 3px solid #d5a44a;
  box-shadow: 0 4px 20px #0009;
  gap: 20px;
}

/* Brand area */
.brand {
  min-width: 0;
  gap: 14px;
  flex-shrink: 0;
}

.brand img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 4px;
}

.brand-divider {
  display: none;
}

.brand strong {
  font-size: clamp(25px, 2.5vw, 40px);
  color: #ffca19;
  font-weight: 1000;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -1.5px;
  text-shadow: 3px 4px #090604;
}

.brand small {
  font-size: 11px;
  color: #fff0c6;
  font-style: italic;
  letter-spacing: 2px;
}

/* Navigation */
.topbar nav {
  gap: 8px;
  margin-left: auto;
}

.topbar nav a {
  min-width: 90px;
  padding: 12px 10px;
  font-size: 25px;
  color: #f8ebca;
  border-radius: 9px;
  font-weight: 800;
}

.topbar nav a span {
  font-size: 12px;
  margin-top: 4px;
}

.topbar nav a.selected,
.topbar nav a:hover {
  background: linear-gradient(#c5190b, #8b0904);
  border: 1px solid #ffca19;
  color: #fff3cf;
}

/* Printer online indicator */
.topbar .online {
  display: flex;
  border: 2px solid #00dd70;
  border-radius: 30px;
  padding: 10px 18px;
  background: #07120c;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.topbar .online i {
  background: #00e878;
  box-shadow: 0 0 10px #00e878;
}

/* Cinematic welcome banner */
#live > .section-head:first-child {
  background:
    radial-gradient(ellipse at 30% 0%, #2c2113 0%, transparent 65%),
    #090806;
  border-bottom: 2px solid #b99659;
  padding: 18px 24px;
  margin-bottom: 18px;
  align-items: center;
  border-radius: 4px;
}

#live > .section-head:first-child .eyebrow {
  color: #ffd22b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  font-style: italic;
}

#live > .section-head:first-child h1 {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(30px, 3.3vw, 54px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  color: #fff0c9;
  text-shadow: 3px 4px #000;
}

#live > .section-head:first-child h1 em {
  color: #ffc400;
  font-style: italic;
  display: inline-block;
  border-bottom: 5px solid #d7190b;
  padding-bottom: 3px;
  transform: skew(-5deg);
}

#live > .section-head:first-child .live-pill {
  background: linear-gradient(#b80d07, #6c0503);
  border: 2px solid #f72d22;
  border-radius: 30px;
  padding: 12px 22px;
  font-size: 13px;
  box-shadow: 0 3px 12px #0008;
}

/* Responsive header */
@media (max-width: 1350px) {
  .topbar {
    flex-wrap: wrap;
  }

  .topbar .online {
    display: flex;
  }
}

@media (max-width: 780px) {
  .topbar {
    padding: 10px 12px;
    gap: 10px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .brand strong {
    font-size: 24px;
  }

  .brand small {
    font-size: 9px;
  }

  .topbar nav {
    width: 100%;
    justify-content: space-between;
    gap: 2px;
  }

  .topbar nav a {
    min-width: 0;
    font-size: 19px;
    padding: 8px 5px;
  }

  .topbar nav a span {
    font-size: 10px;
  }

  .topbar .online {
    margin-left: auto;
    padding: 7px 12px;
    font-size: 11px;
  }

  #live > .section-head:first-child {
    padding: 15px;
    flex-wrap: wrap;
  }

  #live > .section-head:first-child h1 {
    font-size: 32px;
  }
}


/* Spool Fiction illustrated header artwork */
.topbar .brand img {
  width: 170px;
  height: 94px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  flex-shrink: 0;
}

@media (max-width: 780px) {
  .topbar .brand img {
    width: 105px;
    height: 58px;
  }
}

/* Spool Fiction two-tone cinematic heading */
#live > .section-head:first-child h1 {
  color: #fff0c9;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-style: italic;
  font-weight: 900;
  line-height: 1.15;
}

#live > .section-head:first-child h1 em {
  color: #ffc400 !important;
  font-style: italic;
  display: inline-block;
  position: relative;
  border-bottom: none;
  padding-bottom: 7px;
  transform: skew(-5deg);
  text-shadow: 3px 4px #090604;
}

#live > .section-head:first-child h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: #d7190b;
  transform: rotate(-1deg);
  border-radius: 60% 20% 40% 10%;
}

/* Two-tone Spool Fiction welcome heading */
#live > .section-head:first-child h1 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 5px;
}

#live > .section-head:first-child h1 .magic-text {
  color: #fff0c9;
}

#live > .section-head:first-child h1 .layer-text {
  color: #ffc400 !important;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  border: 0;
  transform: skew(-5deg);
}

#live > .section-head:first-child h1 .layer-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: #d7190b;
  transform: rotate(-1deg);
}

/* Corrected Spool Fiction welcome heading */
#live .section-head h1 .magic-text {
  color: #fff0c9 !important;
}

#live .section-head h1 .layer-text {
  color: #ffc400 !important;
  font-style: italic !important;
  display: inline-block;
  position: relative;
  margin-left: 18px;
  padding-bottom: 7px;
}

#live .section-head h1 .layer-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: #d7190b;
  transform: rotate(-1deg);
}
