.screening .site-bar,
.i .panorama-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 18px;
  min-height: 64px;
  height: auto;
  padding-block: 7px;
}

.platform-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  white-space: nowrap;
  font: 750 1rem/1.15 "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

.platform-brand img { display: block; height: auto; }
.platform-mark { width: 45px; }
.platform-wordmark { width: 100px; }

.site-actions, .site-tools, .account-shortcuts {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-actions a, .site-tools .skin-switch, .language-switch summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: .88rem;
  white-space: nowrap;
}

.screening .site-header, .i .panorama-header { position: relative; z-index: 4; }
.site-tools { margin-left: auto; gap: 2px; }

.site-tools .skin-switch, .language-switch summary {
  width: 44px;
  color: var(--muted);
  border-radius: 4px;
}

.site-tools .skin-switch:hover, .language-switch summary:hover,
.language-switch[open] summary {
  color: var(--ink);
  background: rgba(255, 255, 255, .08);
}

.language-switch { position: relative; }
.language-switch summary { cursor: pointer; list-style: none; }
.language-switch summary::-webkit-details-marker { display: none; }

.language-switch summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.language-switch ul {
  position: absolute;
  inset: calc(100% + 6px) 0 auto auto;
  min-width: 9rem;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .24);
  list-style: none;
}

.language-switch a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  font-size: .91rem;
  white-space: nowrap;
}

.language-switch a:hover { text-decoration: underline; }
.language-switch a[aria-current] { color: var(--accent); font-weight: 700; }

.site-actions .account-link {
  padding: 0 16px;
  border-radius: 3px;
  background: var(--accent);
  color: var(--account-ink);
  font-weight: 720;
}

.screening { --account-ink: #241426; }
.i { --account-ink: #1b150f; }

.account-shortcuts a { min-width: 44px; padding-inline: 7px; }

.account-link:hover, .account-shortcuts a:hover, .platform-footer a:hover, .scene-fallback a:hover {
  text-decoration: underline;
  text-underline-offset: .22em;
}

.screening .screen-window {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(30px, 5vw, 68px);
  min-height: clamp(360px, 64vh, 640px);
  min-height: clamp(360px, 64svh, 640px);
  padding: clamp(30px, 5.3vw, 76px)
    max(var(--edge), calc((100% - var(--max)) / 2 + var(--edge)));
}

.screening .stage-heading {
  position: relative;
  z-index: 2;
}

.screening .stage-heading p {
  margin: 0 0 10px;
  color: #ffd2bb;
  font-weight: 650;
}

.screening .stage-heading h1 {
  position: static;
  max-width: none;
  font-size: clamp(2.25rem, 5.8vw, 5.5rem);
  line-height: 1.12;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}

.screening .scene-panel {
  position: static;
  align-self: end;
  min-width: 0;
}

.screening .scene-backdrop {
  position: absolute;
  inset: 0;
}

.screening .scene-note {
  position: relative;
  inset: auto;
  max-width: 36rem;
}

.screening .scene-note h2 {
  line-height: 1.27;
  overflow-wrap: anywhere;
}

.screening .scene-note .scene-entry { max-width: 100%; }

.screening .scene-tab { border-top-width: 4px; }
.screening .scene-tab:focus-visible { outline-offset: -4px; z-index: 2; }
.screening .scene-tab > span { min-width: 0; }

.screening .scene-tab strong {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 7px;
  overflow-wrap: anywhere;
  line-height: 1.28;
}

.screening .product-en { font-size: .92em; }
.screening .scene-tab small { font-size: .9rem; line-height: 1.36; }
.status-label { white-space: nowrap; color: #ffd2bb; }

.scene-fallback { display: none; }

.scene-tabs[hidden] ~ .scene-fallback {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 8px var(--edge);
}

.scene-fallback a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
}

.i .horizon {
  min-height: clamp(300px, 52vh, 530px);
  min-height: clamp(300px, 52svh, 530px);
}
.i .hcopy { min-width: 0; }
.i .hcopy h1 { font-size: clamp(2.6rem, 6.4vw, 6.5rem); line-height: 1.13; }
.i .hcopy p { max-width: 27em; }
.i .dock .entry { overflow-wrap: anywhere; }
.i .flight .pending:hover { background: transparent; }
.i .dock .pending:hover .menutitle { text-decoration: none; }
.i .pending .cue { color: var(--accent); font-size: .75rem; white-space: nowrap; }

.screening .platform-footer, .i .platform-footer {
  width: min(100%, 1440px);
  margin: 30px auto 0;
  padding: 12px clamp(16px, 5vw, 74px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.6;
}

.platform-footer nav { display: flex; flex-wrap: wrap; column-gap: 20px; }
.platform-footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 720px) {
  .screening .screen-window { min-height: clamp(320px, 88vw, 400px); }
  .screening .stage-heading h1 { font-size: clamp(2.1rem, 9vw, 3.75rem); }
  .screening .scene-tab small { font-size: .82rem; }
  .screening .scene-tab { min-height: 72px; }
  .screening .site-bar, .i .panorama-header { gap: 4px 10px; }
  .platform-brand { gap: 5px; font-size: .85rem; }
  .platform-mark { width: 29px; }
  .platform-wordmark { width: 65px; }
}

@media (max-width: 680px) {
  .site-actions {
    flex: 1 0 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0 9px;
  }

  .site-actions .account-link { padding-inline: 12px; }
  .account-shortcuts { gap: 0; flex-wrap: wrap; }
  .account-shortcuts a { padding-inline: 6px; font-size: .82rem; }
}

@media (max-width: 650px) {
  .i .horizon { min-height: clamp(248px, 65vw, 340px); }
  .i .hcopy h1 { font-size: clamp(1.65rem, 6.8vw, 2.55rem); }
  .i .hcopy p { font-size: .87rem; }
  .i .dock .pending .cue { line-height: 1.55rem; }
  html:not([lang="zh-CN"]) .i .horizon > .heroimage { height: 64%; }
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* Decorative concept artwork from the v0.1.0 delivery package. */
.screening .scene-tab, .i .dock .entry {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

[data-art="cinevel"] { --concept-art: url("/landing/assets/concept-watermarks/cinevel.svg"); }
[data-art="academy"] { --concept-art: url("/landing/assets/concept-watermarks/academy.svg"); }
[data-art="silkee"] { --concept-art: url("/landing/assets/concept-watermarks/silkee.svg"); }
[data-art="lumsey"] { --concept-art: url("/landing/assets/concept-watermarks/lumsey.svg"); }

.screening .scene-tab::before, .i .dock .entry::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 154px;
  height: 154px;
  right: -25px;
  bottom: -44px;
  background: var(--concept-art) center / contain no-repeat;
  opacity: .10;
  pointer-events: none;
}

.screening .scene-tab {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.screening .scene-tab .scene-thumbnail { display: none; }
.screening .scene-tab::before { right: -21px; bottom: -53px; }

.i .dock .entry {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.i .dock .menutitle, .i .dock .destination { grid-column: 1; }
.i .dock .cue { grid-column: 2; }

@media (min-width: 1040px) {
  .screening .scene-tab { grid-template-columns: minmax(0, 1fr) min(4vw, 60px); }
  .screening .scene-tab .scene-thumbnail { display: block; width: 100%; }
}

@media (max-width: 900px) {
  .i .dock .entry { grid-template-columns: minmax(0, 1fr); gap: 4px 6px; }
  .i .dock .cue, .i .dock .pending .cue { grid-column: 1; grid-row: 3; }
  .i .dock .menutitle { font-size: clamp(1rem, 2.3vw, 1.35rem); }
}

@media (max-width: 720px) {
  .screening .scene-tab { gap: 6px; }
  .screening .scene-tab::before, .i .dock .entry::before {
    width: 130px;
    height: 130px;
    right: -18px;
    bottom: -36px;
    opacity: .09;
  }
}

html:not([lang="zh-CN"]) .screening .stage-heading h1 {
  font-size: clamp(2.15rem, 5.2vw, 4.75rem);
  max-width: 16ch;
}

@media (min-width: 651px) {
  html:not([lang="zh-CN"]) .i .hcopy h1 {
    font-size: clamp(2.4rem, 5.25vw, 5.25rem);
    max-width: 13ch;
  }
}
