:root {
  --wall: #e6d3b1;
  --floor: #8d5a32;
  --floor-edge: #6d4324;
  --navy: #2c3e66;
  --navy-edge: #1e2c4a;
  --red: #e23d3d;
  --cream: #f4ecd8;
  --ink: #2a2118;
  --frame: #5c3d28;
  --frame-edge: #3e2818;
  --screen: #1e2c4a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--wall);
  color: var(--ink);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--navy);
  border-bottom: 8px solid var(--navy-edge);
  padding: 12px 16px;
}

.mast-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.bug {
  display: block;
  height: 48px;
  width: auto;
  image-rendering: pixelated;
}

.tagline,
.watching {
  margin: 0;
  padding: 8px 12px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tagline {
  background: var(--cream);
  color: var(--navy);
}

.watching {
  background: var(--red);
  color: var(--cream);
}

main {
  width: min(960px, calc(100% - 2rem));
  margin: 1.5rem auto;
  flex: 1;
}

.set {
  background: var(--frame);
  border: 8px solid var(--frame-edge);
  padding: 12px;
}

.set iframe,
.slate {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--screen);
}

.slate {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 1.5rem;
  text-align: center;
  color: var(--cream);
}

.slate p {
  margin: 0;
  max-width: 34rem;
  line-height: 1.45;
}

.slate-kicker {
  background: var(--red);
  color: var(--cream);
  padding: 6px 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.now {
  margin: 12px 0 0;
  background: var(--navy);
  color: var(--cream);
  padding: 10px 12px;
}

.thumb-row { margin-top: 12px; }

.thumb {
  appearance: none;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  border: 4px solid var(--navy-edge);
  background: var(--cream);
  color: var(--navy);
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px 8px 8px;
  cursor: pointer;
}

.thumb-icon {
  width: 48px;
  height: 48px;
  display: block;
  background: var(--red);
  fill: var(--cream);
  shape-rendering: crispEdges;
}

.thumb:disabled {
  background: var(--navy);
  color: var(--cream);
  cursor: default;
}

.thumb:disabled .thumb-icon {
  background: var(--cream);
  fill: var(--navy);
}

.thumb-fly {
  position: fixed;
  left: 0;
  z-index: 8;
  width: 48px;
  height: 48px;
  pointer-events: none;
  background: var(--red);
}

.thumb-fly svg {
  display: block;
  width: 48px;
  height: 48px;
  fill: var(--cream);
  shape-rendering: crispEdges;
}

.ask {
  margin-top: 12px;
  background: var(--frame);
  border: 8px solid var(--frame-edge);
  padding: 12px;
}

.ask label {
  display: block;
  background: var(--navy);
  color: var(--cream);
  margin: 0;
  padding: 8px 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.ask input,
.ask textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 4px solid var(--navy-edge);
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  padding: 10px;
}

.ask textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.ask-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.ask button {
  appearance: none;
  border: 4px solid var(--navy-edge);
  background: var(--red);
  color: var(--cream);
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  cursor: pointer;
}

.ask button:disabled {
  background: var(--navy);
  cursor: default;
}

.ask-note {
  margin: 0;
  color: var(--cream);
  letter-spacing: 0.04em;
}

footer {
  background: var(--floor);
  border-top: 12px solid var(--floor-edge);
  color: var(--cream);
  text-align: center;
  padding: 18px 16px 22px;
}

footer p { margin: 0; letter-spacing: 0.06em; }
