/* A light editorial masthead leads directly into the working switcher. */
.cut-hero {
  color: #261d17;
  background: #eee8db;
  border-bottom: 4px solid #ec6437;
  padding: clamp(26px, 3.1vw, 54px) 0 clamp(20px, 2.3vw, 40px);
}
.cut-shell { width: min(1460px, 92%); margin: 0 auto; }
.cut-mast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .48fr);
  align-items: center;
  gap: clamp(20px, 3.4vw, 66px);
  margin-bottom: clamp(22px, 2.2vw, 38px);
}
.cut-kicker, .cut-bar, .cut-bank h2, .cut-summary small, .cut-timeline,
.cut-tally, .cut-lower, .cut-shortcut, .cut-input kbd {
  font-family: var(--mono);
}
.cut-kicker { margin: 0 0 14px; font-size: 12px; letter-spacing: .085em; text-transform: uppercase; }
.cut-mast h1 {
  margin: 0; font-size: clamp(54px, 5.5vw, 102px);
  font-weight: 600; letter-spacing: -.084em; line-height: .91;
}
.cut-mast h1 em {
  font-family: var(--serif); font-weight: 400;
  color: #a63e21; letter-spacing: -.052em; white-space: nowrap;
}
.cut-summary { padding-left: clamp(15px, 2vw, 35px); border-left: 1px solid #37271942; }
.cut-summary p { margin: 0 0 13px; max-width: 365px; font-size: clamp(15px, 1.1vw, 18px); line-height: 1.35; }
.cut-summary small { display: block; margin-top: 9px; color: #63584e; font-size: 10px; }
.cut-actions { display: flex; gap: clamp(10px, 1.35vw, 22px); align-items: center; }
.cut-buy { min-height: 42px; background: #25221e; color: #fff9ee; padding: 0 16px; font-size: 14px; }
.cut-buy:hover { background: #483328; }
.cut-watch { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0; font-size: 14px; white-space: nowrap; }
.cut-watch svg { width: 13px; height: 13px; }
.cut-watch span { color: #785e4c; font: 10px var(--mono); }
.cut-console { margin: 0; background: #1b1b1a; color: #f6f2e9; border: 1px solid #211f1c; border-radius: 10px; overflow: clip; box-shadow: 0 10px 30px #3c21151b; }
.cut-bar, .cut-lower { display: flex; align-items: center; justify-content: space-between; }
.cut-bar {
  min-height: 44px; padding: 0 clamp(14px, 1.65vw, 27px); background: #222220;
  font-size: 11px; text-transform: uppercase; letter-spacing: .065em;
}
.cut-bar > span:first-child, .cut-tally, .cut-auto { display: inline-flex; align-items: center; gap: 8px; }
.cut-bar i, .cut-tally i, .cut-auto i { display: block; width: 7px; height: 7px; background: #ff7852; border-radius: 50%; }
.cut-subject { color: #cec7b9; }
.cut-subject b, .cut-lower b { margin: 0 4px; color: #ffa47b; font-weight: 400; }
.cut-desk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(164px, 21%); }
.cut-monitor {
  position: relative; overflow: hidden; min-width: 0;
  aspect-ratio: 16 / 9; background: #13110f;
}
.cut-monitor > img, .cut-monitor > canvas, .cut-input-picture > :is(img, canvas) {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.cut-monitor > canvas, .cut-input-picture canvas { opacity: 0; }
.cut-monitor > canvas.present, .cut-input-picture canvas.present { opacity: 1; }
.cut-overlay { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 -60px 70px -55px #0009; }
.cut-tally {
  position: absolute; top: 14px; left: 16px; background: #171616d9; border: 1px solid #fff5;
  padding: 5px 8px; color: #fff; font-size: 10px; text-transform: uppercase; letter-spacing: .07em;
}
.cut-viewfinder { position: absolute; top: 15px; right: 15px; width: 19px; height: 19px; border-top: 1px solid #fffa; border-right: 1px solid #fffa; }
.cut-lower { position: absolute; inset: auto 15px 14px; font-size: clamp(10px, 1vw, 13px); color: white; }
.cut-lower :is(span,output) { background: #171615da; border-radius: 2px; padding: 4px 7px; }
.cut-bank { display: grid; grid-template-rows: auto minmax(0,1fr); gap: 8px; padding: 12px clamp(12px, 1.5vw, 24px); min-height: 0; background: #242320; }
.cut-bank h2 { font-size: 10px; font-weight: 400; letter-spacing: .09em; text-transform: uppercase; line-height: 1.2; color: #e3d6c5; margin: 0; }
.cut-feeds { min-height: 0; display: grid; grid-template-rows: repeat(3, minmax(0,1fr)); gap: 8px; }
.cut-input { width: 100%; position: relative; display: block; text-align: left; border: 1px solid #ffffff38; overflow: hidden; border-radius: 4px; padding: 0; min-width: 0; background: #121212; }
.cut-input[aria-pressed="true"] { border: 2px solid #ff8250; }
.cut-input:hover { border-color: #ffbf9d; }
.cut-input:focus-visible { outline-offset: -4px; }
.cut-input-picture { display: block; position: absolute; inset: 0; }
.cut-input-name { position: absolute; bottom: 4px; left: 5px; display: inline-flex; gap: 5px; align-items: center; font-size: 11px; line-height: 1.3; color: white; background: #1b1814d9; padding: 2px 6px 2px 3px; }
.cut-input-name kbd { font-size: 10px; padding: 1px 4px; background: #eee2d4; color: #26180f; }
.cut-input[aria-pressed="true"] kbd { background: #ff875a; }
.cut-transport { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 24px); padding: 10px clamp(12px, 1.5vw, 24px); background: #222220; border-top: 1px solid #ffffff1c; }
.cut-playback { display: flex; align-items: center; gap: 6px; }
.cut-playback button { min-height: 36px; flex: none; border: 1px solid #ffffff35; border-radius: 4px; padding: 4px 9px; color: #f3e7d8; font: 12px var(--sans); text-transform: none; letter-spacing: 0; }
#play-take { display: inline-flex; align-items: center; gap: 5px; min-width: 88px; justify-content: center; }
#play-take svg { width: 13px; height: 13px; }
.cut-auto i { width: 5px; height: 5px; background: #99948d; }
.cut-auto[aria-pressed="true"] { border-color: #f09b6e8c; }
.cut-auto[aria-pressed="true"] i { background: #ff985e; }
.cut-timeline { position: relative; display: grid; grid-template-columns: 3fr 4fr 2fr 3fr; gap: 3px; flex: 1; min-width: 0; }
.cut-timeline span { padding: 4px 6px; border-radius: 2px; background: #373431; color: #c6b9ac; font-size: 10px; }
.cut-timeline[data-segment="0"] span:nth-child(1),
.cut-timeline[data-segment="1"] span:nth-child(2),
.cut-timeline[data-segment="2"] span:nth-child(3),
.cut-timeline[data-segment="3"] span:nth-child(4) { color: #ffd4b8; background: #6c4133; }
.cut-timeline i { position: absolute; inset: -3px auto -3px var(--position,0%); width: 2px; background: #ffb68e; }
.cut-shortcut { font-size: 11px; color: #c4baad; }
.cut-shortcut kbd { font: inherit; border: 1px solid #787069; border-radius: 2px; padding: 1px 4px; }
.cut-extras { display: flex; align-items: center; gap: 18px; padding: 7px clamp(12px, 1.5vw, 24px); border-top: 1px solid #ffffff18; font-size: 12px; color: #d8d0c2; }
.cut-extras > span { color: #aaa498; font-size: 11px; }
.cut-extras a { display: flex; align-items: center; gap: 4px; }
.cut-extras a:hover { text-decoration: underline; }
.cut-extras svg { width: 13px; height: 13px; color: #ed976e; }
@media (max-width: 900px) {
  .cut-mast { grid-template-columns: minmax(0,1fr) minmax(248px,.65fr); gap: 20px; }
  .cut-intro h1 { font-size: clamp(51px,7.8vw,72px); }
  .cut-watch span { display: none; }
  .cut-bank { padding: 10px; }
}
@media (max-width: 660px) {
  .cut-hero { padding-top: 24px; }
  .cut-shell { width: 94%; }
  .cut-mast { display: block; padding-inline: 4px; margin-bottom: 16px; }
  .cut-kicker { margin-bottom: 10px; font-size: 10px; }
  .cut-intro h1 { font-size: clamp(48px,9vw,65px); }
  .cut-summary { border: 0; padding: 0; margin-top: 13px; }
  .cut-summary p { max-width: 40ch; font-size: 15px; margin-bottom: 8px; }
  .cut-summary small { font-size: 9px; margin-top: 5px; }
  .cut-actions { gap: 16px; }
  .cut-desk { display: block; }
  .cut-monitor { height: auto; aspect-ratio: 16 / 9; }
  .cut-bank { display: block; padding: 9px; }
  .cut-bank h2 { margin-bottom: 6px; font-size: 9px; }
  .cut-feeds { grid-template-rows: auto; grid-template-columns: repeat(3,1fr); gap: 6px; }
  .cut-input { aspect-ratio: 1.8; }
  .cut-transport { gap: 8px; padding: 8px 9px; }
  .cut-shortcut { display: none; }
  .cut-bar { font-size: 9px; min-height: 43px; }
  .cut-subject { display: none; }
  .cut-extras { gap: 12px; }
  .cut-lower { inset: auto 8px 7px; }
  .cut-tally { inset: 8px auto auto 8px; }
}
.cut-decoder { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .001; pointer-events: none; }
.cut-timeline.manual span { color: transparent; }
.stream-setup { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); align-items: center; gap: clamp(16px,4vw,70px); padding: clamp(20px,3.5vw,60px); margin: 0 0 20px; border: 1px solid #ffffff29; border-radius: 12px; background: radial-gradient(ellipse at 80% 60%,#403127,transparent 52%),#191918; }
.stream-instructions h3 { font-size: clamp(26px,3vw,48px); line-height: 1.05; letter-spacing: -.045em; margin: 0 0 20px; }
.stream-instructions ol { padding-inline-start: 1.6em; margin: 0; }
.stream-instructions li { padding: 7px 0 7px 5px; color: #d2cec6; max-width: 43ch; }
.stream-instructions li::marker { color: #ffa27b; font-family: var(--mono); }
.stream-setup img { width: min(100%,446px); height: auto; margin: auto; display: block; }
@media (max-width: 660px) { .stream-setup { grid-template-columns: 1fr; } }

@media (min-width: 901px) and (max-height: 820px) {
  .cut-hero { padding-top: 21px; }
  .cut-mast { margin-bottom: 17px; }
  .cut-kicker { margin-bottom: 10px; }
  .cut-monitor { height: clamp(300px,55svh,490px); aspect-ratio: auto; }
  .cut-monitor > :is(img,canvas) { object-fit: contain; }
  .cut-monitor { background: #121416; }
}
