/* Netflix design proposal — cinema overhaul, scoped to #proposalView. */

.proposal-view {
  position: absolute;
  inset: 0;
  z-index: 24;
  background: #000;
  color: #fff;
  font-family: Inter, "Segoe UI", sans-serif;
  overflow: hidden;
}

#proposalRoot {
  position: absolute;
  inset: 0;
}

html:has(body.is-proposal),
body.is-proposal {
  background: #000 !important;
}

body.is-proposal #stage {
  background: #000;
}

body.is-proposal #stage > .app-back,
body.is-proposal #nowPlaying,
body.is-proposal #overlayLayer,
body.is-proposal #tileLayer,
body.is-proposal #tileFocus,
body.is-proposal #reelsView,
body.is-proposal #discoverView,
body.is-proposal #gridView,
body.is-proposal #browseView,
body.is-proposal #bootScreen {
  display: none !important;
}

.app-tab--proposal {
  display: none !important;
}

.app-tab--proposal em {
  font-style: normal;
  font-size: 22px;
  font-weight: 800;
}

.app-tab--proposal span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.app-tab--proposal.is-current {
  color: #e50914;
}

.proposal-view .lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.proposal-view .tm-icon { height: 32px; width: auto; }
.proposal-view .tm-letters { height: 20px; width: auto; }

.nf-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 88px;
  padding: 0 72px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent);
}

.nf-tabs { display: flex; gap: 28px; }
.nf-tab {
  font-size: 26px;
  font-weight: 560;
  color: rgba(255, 255, 255, 0.42);
}
.nf-tab.is-current { color: #fff; font-weight: 700; }
.nf-tab.is-focused { box-shadow: 0 2px 0 #ec691a; }

.nf-mark {
  margin-left: auto;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.nf-hero { position: absolute; inset: 0 0 280px; }
.nf-card,
.nf-slot,
.nf-shot,
.nf-tile,
.nf-thumb,
.nf-reel,
.nf-peek,
.nf-bill-main {
  position: relative;
  overflow: hidden;
}

.nf-hero img,
.nf-pic img,
.nf-card img,
.nf-slot img,
.nf-shot img,
.nf-tile img,
.nf-thumb img,
.nf-reel img,
.nf-peek img,
.nf-bill-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.nf-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.18) 50%, transparent 72%),
    linear-gradient(180deg, transparent 42%, #000 100%);
}

.nf-copy {
  position: absolute;
  left: 72px;
  bottom: 36px;
  max-width: 820px;
  z-index: 2;
}

.nf-kicker {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e50914;
}

.nf-display {
  font-family: Inter, sans-serif;
  font-size: 84px;
  line-height: 0.95;
  margin: 10px 0 12px;
}

.nf-syn {
  font-size: 26px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
  max-width: 640px;
}

.nf-cta { display: flex; gap: 14px; margin-top: 22px; }

.nf-btn {
  min-height: 56px;
  padding: 0 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
}

.nf-btn.is-play { background: #fff; color: #111; }
.nf-btn.is-ghost { background: rgba(255, 255, 255, 0.14); }
.nf-btn.is-focused {
  outline: 3px solid #ec691a;
  box-shadow: 0 0 0 6px rgba(236, 105, 26, 0.3);
}

.nf-rails {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 280px;
  padding: 8px 72px 28px;
  background: linear-gradient(180deg, transparent, #000 28%);
}

.nf-rail-title { font-size: 22px; font-weight: 700; margin-bottom: 10px; }

.nf-track { display: flex; gap: 14px; }

.nf-card {
  position: relative;
  flex: 0 0 240px;
  height: 136px;
  border-radius: 4px;
  overflow: hidden;
  background: #141414;
}

.nf-card.is-focused { outline: 2px solid #fff; transform: scale(1.06); }

.nf-card .lab {
  position: absolute;
  left: 10px; bottom: 8px;
  font-size: 20px;
  font-weight: 650;
  text-shadow: 0 2px 10px #000;
}

.nf-chip {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #e50914;
  padding: 3px 8px;
}

.nf-chip.is-replay { background: #333; }

.nf-builder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 100px 72px 48px;
}

.nf-hint {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 18px;
}

.nf-slots {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  flex: 1;
  min-height: 0;
}

.nf-slots .nf-slot:first-child { grid-row: 1 / 3; }

.nf-slot {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: 6px;
  background: #111;
}

.nf-slot.is-focused {
  outline: 3px solid #ec691a;
  box-shadow: 0 0 0 6px rgba(236, 105, 26, 0.3);
}

.nf-slot .lab {
  position: absolute;
  left: 20px; bottom: 16px;
  font-size: 28px;
  font-weight: 700;
}

.nf-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.42);
}

.nf-bill {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 0;
  overflow: hidden;
}

.nf-bill-main { position: relative; }
.nf-bill-side {
  display: flex;
  flex-direction: column;
  padding: 100px 56px 48px 0;
  gap: 12px;
}

.nf-shot {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 4px;
}

.nf-shot.is-focused { outline: 2px solid #fff; }
.nf-shot .lab {
  position: absolute;
  left: 14px; bottom: 12px;
  font-size: 22px;
  font-weight: 650;
}

.nf-reels {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nf-peek {
  width: 160px;
  height: 284px;
  overflow: hidden;
  border-radius: 8px;
  opacity: 0.35;
}

.nf-reel {
  width: 456px;
  height: 812px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #111;
}

.nf-reel.is-focused { outline: 2px solid #ec691a; }

.nf-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 24px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
}

.nf-cap .line { font-size: 28px; font-weight: 650; }
.nf-cap .detail { font-size: 22px; color: rgba(255, 255, 255, 0.72); margin-top: 6px; }

.nf-pic { position: absolute; inset: 0; }
.nf-pic.is-dim::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.nf-mosaic-3,
.nf-mosaic-4 {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 6px;
}

.nf-mosaic-3 {
  grid-template-columns: 1.62fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.nf-mosaic-3 .nf-tile:first-child { grid-row: 1 / 3; }

.nf-mosaic-4 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.nf-tile { position: relative; overflow: hidden; min-height: 0; background: #0a0a0a; }
.nf-tile.is-focused { outline: 2px solid #ec691a; z-index: 2; }
.nf-tile .lab {
  position: absolute;
  left: 16px; bottom: 14px;
  font-size: 24px;
  font-weight: 650;
  text-shadow: 0 2px 12px #000;
}

/* Netflix player chrome — one bar, not a settings dialog */
.nf-player {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 8;
  padding: 48px 72px 52px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88) 36%);
}

.nf-player-title {
  font-family: Inter, sans-serif;
  font-size: 44px;
  letter-spacing: 0.02em;
}

.nf-player-sub {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.72);
}

.nf-live {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: #e50914;
  padding: 3px 8px;
  color: #fff;
}

.nf-progress {
  height: 4px;
  margin: 22px 0 28px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 2px;
}

.nf-progress i {
  display: block;
  width: 38%;
  height: 100%;
  background: #e50914;
  border-radius: 2px;
}

.nf-acts {
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.nf-play {
  min-width: 200px;
  min-height: 64px;
  padding: 0 32px;
  border-radius: 6px;
  background: #fff;
  color: #111;
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.nf-play.is-focused {
  outline: 3px solid #ec691a;
  box-shadow: 0 0 0 6px rgba(236, 105, 26, 0.3);
}

.nf-act {
  min-width: 132px;
  min-height: 64px;
  padding: 8px 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.88);
}

.nf-act.is-on { color: #fff; }
.nf-act.is-focused {
  background: rgba(255, 255, 255, 0.12);
  outline: 2px solid #fff;
}

.nf-ico {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nf-ico svg,
.nf-play svg {
  width: 26px;
  height: 26px;
  display: block;
}

.nf-tray {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 8;
  padding: 28px 72px 40px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9) 28%);
}

.nf-tray-kicker {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.nf-tray-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.nf-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: #141414;
}

.nf-thumb.is-focused { outline: 2px solid #fff; }
.nf-thumb.is-music {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #141414;
}
.nf-thumb.is-music img {
  position: absolute;
  inset: 22% 28%;
  width: auto;
  height: auto;
  max-width: 44%;
  max-height: 56%;
  margin: auto;
  object-fit: contain;
}
.nf-thumb .lab {
  position: absolute;
  left: 12px; bottom: 10px;
  font-size: 22px;
  font-weight: 650;
}

.nf-pair {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.nf-pair-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 80px;
}

.nf-pair-copy h1 {
  font-family: Inter, sans-serif;
  font-size: 64px;
  line-height: 0.95;
  margin: 12px 0 16px;
}

.nf-pair-copy p {
  font-size: 26px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
  max-width: 560px;
}

.nf-qr {
  width: 340px;
  height: 340px;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
}

.nf-pair-qr {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.is-pointer .nf-btn,
body.is-pointer .nf-card,
body.is-pointer .nf-tab,
body.is-pointer .nf-play,
body.is-pointer .nf-act,
body.is-pointer .nf-slot,
body.is-pointer .nf-shot,
body.is-pointer .nf-thumb,
body.is-pointer .nf-reel,
body.is-pointer .nf-tile {
  cursor: pointer;
}
