/* App landing only: a photographic poster, live app information, and a full player. */
body.app-cinematic .nav--app { position: absolute; inset: 0 0 auto; top: 0; margin: 0; }
body.app-cinematic .nav--app .nav__inner {
  display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: start;
  max-width: none; height: auto; min-height: 0; gap: 18px;
  padding: 24px clamp(24px,2.2vw,40px) 0;
}
body.app-cinematic .nav--app .nav__shire,
body.app-cinematic .nav--app .nav__actions { position: static; margin: 0; }
body.app-cinematic .nav--app .nav__shire { justify-self: start; }
body.app-cinematic .nav--app .nav__links { grid-column: 2; justify-self: center; justify-content: center; align-items: start; margin: 0; }
body.app-cinematic .nav--app .nav__actions { grid-column: 3; justify-self: end; }
body.app-cinematic .cinema {
  cursor: pointer; display: flex; align-items: flex-end; min-height: max(680px,100svh);
  padding-block: 164px 76px; isolation: isolate; overflow: clip;
}
.cinema__media, .cinema__media::after { position: absolute; inset: 0; }
.cinema__media { z-index: -1; background: #080b10; }
.cinema__poster, .cinema__background-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 42%; }
.cinema__background-video { opacity: 0; transition: opacity .5s; pointer-events: none; }
.cinema__background-video.is-playing { opacity: 1; }
.cinema__media::after {
  content: ''; z-index: 1;
  background: linear-gradient(90deg,rgba(0,0,0,.76),rgba(0,0,0,.2) 52%,transparent 78%),
    linear-gradient(0deg,#000 0%,rgba(0,0,0,.75) 15%,transparent 70%),
    linear-gradient(180deg,rgba(0,0,0,.35),transparent 22%);
}
body.app-cinematic .cinema .hero__grid { position: static; display: block; max-width: none; padding-inline: clamp(24px,4.6vw,84px); }
body.app-cinematic .cinema .hero__grid > .hero__copy { max-width: none; text-align: start; }
body.app-cinematic .cinema .hero__id { flex-direction: row; align-items: center; max-width: 720px; gap: 22px; margin-bottom: 24px; text-align: start; }
body.app-cinematic .cinema .hero__crest-tile { width: 108px; height: 108px; padding: 10px; border-radius: 25px; border: 1px solid #ffffff40; background: #000a; box-shadow: 0 12px 40px #0003; }
body.app-cinematic .cinema .hero__id img.hero__crest { width: 100%; height: 100%; filter: none; }
body.app-cinematic .cinema .hero__title { gap: 10px; }
body.app-cinematic .cinema .hero__title b { font-size: clamp(32px,3.2vw,54px); letter-spacing: -.045em; }
body.app-cinematic .cinema .hero__title span { font-size: clamp(16px,1.35vw,22px); color: #f5f6fad1; }
.cinema__description { max-width: 650px; }
.cinema .hero__id, .cinema__description { cursor: auto; }
body.app-cinematic .cinema .hero__lead { max-width: 51ch; margin-inline: 0; color: #f5f6fadb; font-size: clamp(16px,1.2vw,19px); line-height: 1.55; text-wrap: pretty; }
.cinema .badge__mobile-label { display: none; }
.cinema__actions { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 30px; }
body.app-cinematic .cinema .hero__cta { flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; gap: 10px; margin: 0; }
body.app-cinematic .cinema .appstore-badge { flex: 0 1 auto; min-height: 56px; border-radius: 999px; background: var(--download-background); border: 1px solid #91bda34d; box-shadow: inset 0 1px 2px #e5fff040,inset 0 -1px 1px #03261699,0 4px 18px #00251b26; justify-content: flex-start; }
body.app-cinematic .cinema .appstore-badge .glyph { color: inherit; }
body.app-cinematic .cinema .appstore-badge:first-child { background: var(--download-background); color: #f2fff7; border-color: #91bda34d; }
body.app-cinematic .cinema .appstore-badge:first-child .badge__sm { color: inherit; }
.cinema__film-actions { flex: none; display: flex; align-items: center; height: 56px; border-radius: 999px; background: #ffffff1f; box-shadow: inset 0 0 0 1px #ffffff33; overflow: hidden; }
.cinema__play { position: relative; display: flex; align-items: center; order: 1; gap: 6px; height: 56px; padding: 0 18px 0 0; border: 0; background: none; color: #f5f5f7; text-align: start; }
.cinema__play-icon { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border: 0; border-radius: 50%; background: none; }
.cinema__play-icon svg { width: 21px; height: 21px; margin: 0; }
.cinema__play-copy { display: flex; flex-direction: column; gap: 2px; }
.cinema__play-label { font-size: 14px; font-weight: 700; }
.cinema__duration { font-size: 12px; color: #f5f6faa6; font-variant-numeric: tabular-nums; }
.cinema__media-controls { position: static; display: flex; order: 0; gap: 0; }
.cinema__round-control { position: relative; display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 0; background: transparent; color: white; }
.cinema__round-control + .cinema__round-control::before, .cinema__play::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 1px; background: #ffffff26; pointer-events: none; }
.cinema__round-control:hover, .cinema__play:hover { background: #ffffff12; }
.cinema__round-control svg { width: 21px; height: 21px; grid-area: 1/1; }
.cinema__round-control[data-paused="true"] .cinema__pause-glyph,
.cinema__round-control[data-paused="false"] .cinema__resume-glyph,
.cinema__round-control[aria-pressed="true"] .cinema__mute-slash { display: none; }
.app-product-preview { max-width: 940px; margin: 56px auto 64px; padding-inline: 6px; }
.app-product-preview .hero__art { min-height: 350px; }
.app-cinematic .store-meta { margin-top: 24px; }
html.app-film-open { overflow: hidden; }
.cinema-player { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: #f5f5f7; }
.cinema-player::backdrop { background: #000; }
.cinema-player__video { display: block; width: 100%; height: 100%; object-fit: contain; }
.cinema-player__bar { position: absolute; inset: 0 0 auto; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: max(16px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 30px max(20px,env(safe-area-inset-left)); background: linear-gradient(#000b,transparent); pointer-events: none; }
.cinema-player__title { font-size: 14px; font-weight: 600; }
.cinema-player__actions { display: flex; gap: 10px; pointer-events: auto; }
.cinema-player__control { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff3d; border-radius: 50%; background: #202126b8; color: white; }
.cinema-player__control svg { width: 22px; height: 22px; }
.cinema-player__error { position: absolute; inset: 50% 20px auto; text-align: center; }
.cinema-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1100px) {
  body.app-cinematic .nav--app .nav__links { display: none; }
  body.app-cinematic .nav--app .nav__inner { grid-template-columns: 1fr auto; }
  body.app-cinematic .nav--app .nav__actions { grid-column: 2; }
  .cinema__play-copy { display: none; }
  .cinema__play { padding: 0; }
  .cinema__actions { gap: 16px; }
  body.app-cinematic .cinema .appstore-badge { padding-inline: 10px; gap: 8px; }
  body.app-cinematic .cinema .badge__lg { font-size: 13px; }
  body.app-cinematic .cinema .badge__sm { font-size: 9px; letter-spacing: .06em; }
}
@media (min-width: 701px) and (max-width: 1100px) and (orientation: portrait) {
  body.app-cinematic .cinema { min-height: min(1020px,92svh); padding-block: 280px 52px; }
  .cinema__poster, .cinema__background-video { object-position: 65% 30%; }
  .cinema__media::after { background: linear-gradient(0deg,#000 0%,#000a 35%,transparent 90%); }
}
@media (min-width: 861px) and (max-width: 1180px) {
  body.app-cinematic .nav--app .nav__links a { font-size: 14px; padding-inline: 10px; }
}
@media (max-width: 860px) {
  body.app-cinematic .nav--app .nav__inner { grid-template-columns: 1fr auto; padding: 16px 20px 0; }
  body.app-cinematic .nav--app .nav__shire { justify-self: start; }
  body.app-cinematic .nav--app .nav__actions { grid-column: 2; }
}
@media (max-width: 700px) {
  body.app-cinematic .cinema { min-height: 100svh; padding-block: clamp(240px,38svh,360px) 30px; }
  .cinema__poster, .cinema__background-video { object-position: 69% 18%; }
  .cinema__media::after { background: linear-gradient(0deg,#000 0%,#000c 40%,#0000 90%); }
  body.app-cinematic .cinema .hero__grid { padding-inline: 20px; }
  body.app-cinematic .cinema .hero__copy { display: flex; flex-direction: column; }
  body.app-cinematic .cinema .hero__id { flex-direction: column; justify-content: center; align-items: center; gap: 12px; margin-bottom: 0; text-align: center; order: 0; }
  body.app-cinematic .cinema .hero__crest-tile { width: 56px; height: 56px; padding: 6px; border-radius: 15px; }
  body.app-cinematic .cinema .hero__title { gap: 6px; }
  body.app-cinematic .cinema .hero__title b { font-size: clamp(29px,7.6vw,34px); }
  body.app-cinematic .cinema .hero__title span { font-size: 14px; line-height: 1.35; }
  .cinema__actions { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 24px; order: 1; }
  body.app-cinematic .cinema .hero__cta { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  body.app-cinematic .cinema .appstore-badge { min-width: 0; min-height: 64px; padding: 10px 6px; gap: 6px; justify-content: center; border-radius: 22px; }
  body.app-cinematic .cinema .appstore-badge .glyph { width: 18px; height: 21px; }
  body.app-cinematic .cinema .badge__lg { font-size: 14px; line-height: 1.2; }
  body.app-cinematic .cinema .badge__sm { font-size: 9px; letter-spacing: .06em; order: 1; }
  .cinema .badge__desktop-label { display: none; }
  .cinema .badge__mobile-label { display: block; }
  .cinema__film-actions { position: absolute; top: 84px; inset-inline-end: 20px; flex-direction: column; gap: 0; width: 44px; height: auto; }
  .cinema__play { order: 2; height: 44px; padding: 0; }
  .cinema__round-control { width: 44px; height: 44px; }
  .cinema__play-copy { display: none; }
  .cinema__play-icon { width: 44px; height: 44px; }
  .cinema__round-control + .cinema__round-control::before, .cinema__play::before { inset-block: 0 auto; width: 100%; height: 1px; }
  .cinema__media-controls { position: static; flex-direction: column; order: 1; }
  .cinema__description { order: 2; margin-top: 22px; }
  body.app-cinematic .cinema .hero__lead { font-size: 14px; line-height: 1.6; margin: 0; display: block; }
  .app-product-preview { margin-block: 36px 44px; }
  .app-product-preview .hero__art { min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) { .cinema__background-video { transition: none; } }

/* Only platform downloads carry blue. Other page controls retain dark glass. */
:root{--download-background:linear-gradient(155deg,#147c49,#0b683b 50%,#07522e);--download-hover:linear-gradient(155deg,#18814d,#117643 50%,#0a5b33)}
body.app-cinematic .cinema .hero__cta .appstore-badge{min-height:50px;padding:8px 16px;gap:10px;background:var(--download-background);color:#f2fff7;border-color:#8dcaab5c;box-shadow:inset 0 1px 2px #e5fff040,inset 0 -1px 1px #03261699,0 4px 18px #00251b26}
body.app-cinematic .cinema .hero__cta .appstore-badge:hover{background:var(--download-hover);color:#fff;border-color:#b2dfc78c}
body.app-cinematic .cinema .hero__cta .appstore-badge .glyph{width:22px;height:22px}
body.app-cinematic .cinema .hero__cta .badge__lg{font-size:14px;line-height:1.2}
body.app-cinematic .cinema .hero__cta .badge__sm{font-size:10px;line-height:1.3;letter-spacing:.035em;text-transform:none;color:inherit}
@media(max-width:1100px){body.app-cinematic .cinema .hero__cta .appstore-badge{padding-inline:11px;gap:8px}body.app-cinematic .cinema .hero__cta .badge__lg{font-size:13px}body.app-cinematic .cinema .hero__cta .badge__sm{font-size:9px}}
@media(max-width:700px){body.app-cinematic .cinema .hero__cta .appstore-badge{min-height:58px;padding:8px 6px;gap:6px}body.app-cinematic .cinema .hero__cta .appstore-badge .glyph{width:18px;height:20px}body.app-cinematic .cinema .hero__cta .badge__lg{font-size:clamp(12px,3.5vw,14px)}body.app-cinematic .cinema .hero__cta .badge__sm{font-size:9px;letter-spacing:0}}
@media(forced-colors:active){body.app-cinematic .cinema .hero__cta .appstore-badge{background:ButtonFace;color:ButtonText;box-shadow:none}}

body.app-cinematic .cinema .hero__cta .badge__lg{font-weight:800;white-space:nowrap}
body.app-cinematic .cinema .hero__cta .appstore-badge--soon,
body.app-cinematic .cinema .hero__cta .appstore-badge--soon:hover{opacity:1;cursor:default;transform:none;background:linear-gradient(155deg,#343c45,#242c34);color:#b5bec7;border-color:#8e9ba64d;box-shadow:inset 0 1px #ffffff24}
@media(forced-colors:active){body.app-cinematic .cinema .hero__cta .appstore-badge--soon,body.app-cinematic .cinema .hero__cta .appstore-badge--soon:hover{background:ButtonFace;color:GrayText;box-shadow:none}}
@media(max-width:700px){body.app-cinematic .cinema .hero__cta{grid-template-columns:repeat(6,minmax(0,1fr))}body.app-cinematic .cinema .hero__cta .appstore-badge{grid-column:span 2;min-height:60px;padding:5px 4px;flex-direction:column;gap:3px;border-radius:18px}body.app-cinematic .cinema .hero__cta .appstore-badge:nth-child(4){grid-column:2/span 2}body.app-cinematic .cinema .hero__cta .appstore-badge:nth-child(5){grid-column:4/span 2}body.app-cinematic .cinema .hero__cta .badge__lg{font-size:12px;line-height:1.1;white-space:normal;text-align:center}body.app-cinematic .cinema .hero__cta .badge__sm{font-size:9px;line-height:1.1;text-align:center}body.app-cinematic .cinema .hero__cta .appstore-badge .glyph{width:17px;height:18px}}
