/* Portage reading pages */
:root {
  color-scheme: dark;
  --bg: #0a0c12;
  --surface: #12151d;
  --paper: #f5f4f3;
  --muted: #b7bac6;
  --soft: #9a9eae;
  --line: #ffffff23;
  --accent: #a4e7df;
  --strand-start: #528eff;
  --strand-mid: #9ee8dd;
  --strand-end: #657fca;
  --wash: #183137;
  --gutter: clamp(24px, 5.5vw, 94px);
  --mast-height: 68px;
  --serif: Baskerville, "Baskerville Old Face", "Iowan Old Style", "Times New Roman", serif;
  --rounded: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --chromecast: #a9c5ff;
  --dlna: #9edbca;
  --glow: linear-gradient(110deg,#8de9db,#a6c4ff);
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--mast-height) + 22px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font: 16px/1.55 var(--rounded);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { line-height: 1.07; font-weight: 570; letter-spacing: -.05em; }
ul, ol { padding: 0; }
a { color: inherit; text-decoration-color: #9da2ae88; text-underline-offset: .2em; }
a:hover { text-decoration-color: currentColor; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(1240px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.site-mast { position: sticky; top: 0; z-index: 8; background: #0a0b12f5; border-bottom: 1px solid #ffffff0f; }
.skip { position: fixed; z-index: 10; top: 6px; left: 10px; padding: 8px 16px; background: #f4f4f5; color: #080a0f; transform: translateY(-165%); }
.skip:focus { transform: none; }
.tone-blue { --wash: #1d2b45; --strand-start:#6a61dd; --strand-mid:#9dccff; --strand-end:#5c91d4; }
.tone-jade { --wash: #19332c; --strand-start:#579999; --strand-mid:#a4efd5; --strand-end:#679d85; }
.tone-gold { --wash: #372c23; --strand-start:#7a726e; --strand-mid:#e6c19a; --strand-end:#ab836c; }
.tone-rose { --wash: #39232f; --strand-start:#a47c91; --strand-mid:#f1becd; --strand-end:#a591bf; }
.tone-ice { --wash: #212b38; --strand-start:#667da4; --strand-mid:#b6d2e8; --strand-end:#7a93b4; }
.tone-violet { --wash: #2b243b; --strand-start:#775ab3; --strand-mid:#c5b2f6; --strand-end:#777dce; }
.cover, .folio-cover { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 83% 75%, color-mix(in srgb,var(--wash) 85%,transparent), transparent 68%); }
.strand { position: absolute; z-index: -1; pointer-events: none; inset: auto 0 -12%; width: 100%; height: 75%; opacity: .76; }
.cover-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: center; gap: clamp(32px,5.3vw,86px); padding-block: clamp(64px,8.5vw,126px); }
.cover .eyebrow, .eyebrow, .contents > p { font-size: 11px; font-weight: 650; color: var(--soft); letter-spacing: .13em; text-transform: uppercase; }
.cover .eyebrow { color: var(--strand-mid); margin-bottom: 21px; }
.cover h1, .folio-cover h1, .get h2 { font-size: clamp(54px, 5.8vw, 89px); line-height: .99; font-weight: 570; letter-spacing: -.075em; }
.cover h1 em, .folio-cover h1 em, .get h2 em, .head h2 .glow { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.055em; }
.cover h1 em { display: block; }
.lede { color: var(--muted); font-size: clamp(17px,1.34vw,21px); line-height: 1.48; letter-spacing: -.017em; }
.cover-copy .lede { max-width: 40ch; margin-top: 21px; }
.jump { display: inline-flex; align-items: center; min-height: 44px; margin-top: 17px; gap: 12px; font-size: 14px; font-weight: 600; text-decoration: none; }
.jump span { color: var(--strand-mid); }
.jump:hover { text-decoration: underline; }
.cover-figure { min-width: 0; }
.film-frame { position: relative; overflow: hidden; aspect-ratio: 1.85; border-radius: 15px; background: #12151c; box-shadow: 0 16px 55px -22px #000b, 0 0 0 1px #ffffff2d; isolation: isolate; }
.film-frame::after { content: ""; pointer-events: none; position: absolute; inset: 0; background: linear-gradient(0deg,#060910b8,transparent 42%); box-shadow: inset 0 0 0 1px #ffffff14; border-radius: inherit; }
.film-still { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.cover-browser .film-frame { display: flex; flex-direction: column; }
.cover-browser .film-still { min-height: 0; flex: 1; }
.film-frame .frame-top { object-position: center top; }
.film-frame .frame-upper { object-position: center 13%; }
.cover-audio .film-still { object-position: 50% 34%; }
.film-name { position: absolute; z-index: 1; bottom: 6.6%; left: 4.5%; right: 4.5%; font-size: clamp(21px,2.1vw,34px); font-weight: 580; letter-spacing: -.05em; line-height: 1.1; color: white; text-shadow: 0 1px 14px #0007; }
.cover-corner { display: inline-flex; align-items: center; gap: 6px; position: absolute; top: 6.3%; left: 4.5%; padding: 5px 9px; color: #fff; background: #090c14be; border: 1px solid #ffffff33; border-radius: 6px; font-size: clamp(11px,.94vw,14px); font-weight: 560; }
.cover-corner svg { width: 15px; height: 15px; }
.connected-dot { width: 6px; height: 6px; border-radius: 50%; background: #a9f1d8; box-shadow: 0 0 9px #8df7bd77; }
.cover-figure figcaption { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 3px 12px; margin-top: 12px; color: #bdc0ca; font-size: clamp(12px,.97vw,15px); letter-spacing: -.006em; }
.cover-figure figcaption span:last-child { color: var(--strand-mid); }
.browser-bar { flex: 0 0 25px; z-index: 1; display: flex; align-items: center; gap: 9px; padding: 0 13px; font-size: 10px; color: #c6c8cf; background: #14171feb; }
.browser-bar i { width: 5px; height: 5px; border-radius: 100px; background: #737681; box-shadow: 8px 0 #737681, 16px 0 #737681; margin-right: 17px; }
.playback-rule { position: absolute; inset: auto 4.5% 4%; z-index: 1; height: 2px; background: #ffffff66; }
.playback-rule i { display: block; width: 38%; height: 100%; background: #ffffffe8; }
.cover-resume .film-name { bottom: 8%; }
.channel-bars { width: 15px; height: 13px; background: linear-gradient(currentColor,currentColor) 0 center/2px 6px, linear-gradient(currentColor,currentColor) 4px center/2px 12px,linear-gradient(currentColor,currentColor) 8px center/2px 9px,linear-gradient(currentColor,currentColor) 12px center/2px 4px; background-repeat: no-repeat; }

/* Help, releases, press and policy */
.folio-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(290px,.73fr); align-items: center; gap: clamp(32px,7vw,100px); padding-block: clamp(54px,6.7vw,98px); }
.folio-cover h1 { font-size: clamp(64px,7.8vw,115px); }
.folio-cover .lede, .folio-cover .meta { margin-top: 19px; max-width: 41ch; }
.folio-cover .meta { font-size: 14px; color: var(--muted); }
.folio-cover .strand { bottom: -15%; opacity: .65; }
.folio-cover.release-cover .strand { bottom: -24%; height: 57%; }
.help-contact, .release-jumps, .press-sample { position: relative; }
.help-contact { padding: clamp(21px,2.6vw,36px); border: 1px solid #c5e1e32f; border-radius: 15px; background: linear-gradient(115deg,#18232bf5,#101819f2); }
.help-contact h2 { font-size: clamp(26px,2.4vw,36px); }
.help-contact p { max-width: 45ch; margin-block: 10px 12px; color: #c1c8cc; font-size: 15px; }
.contact-links { display: flex; flex-wrap: wrap; column-gap: 22px; }
.contact-links a { display: inline-flex; gap: 5px; align-items: center; min-height: 42px; font-size: 14px; font-weight: 580; }
.contact-links a span { color: #9cd6cf; }
.release-jumps { justify-self: end; width: min(100%,360px); padding: 3px 0 3px 23px; border-left: 1px solid #b2c8e855; }
.release-jumps p { color: var(--strand-mid); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 5px; }
.release-jumps a { display: grid; grid-template-columns: 1fr auto 16px; gap: 16px; align-items: baseline; min-height: 46px; padding-block: 9px; color: var(--paper); text-decoration: none; }
.release-jumps a + a { border-top: 1px solid var(--line); }
.release-jumps span { color: var(--muted); font-size: 15px; }
.release-jumps strong { font-size: 23px; font-weight: 520; letter-spacing: -.05em; line-height: 1.15; }
.release-jumps i { color: var(--strand-mid); font-style: normal; font-size: 14px; }
.release-jumps a:hover span { color: white; text-decoration: underline; }
.press-sample { width: min(100%,375px); justify-self: end; padding: 25px 32px; border: 1px solid #cabee52a; border-radius: 12px; background: #100e19db; }
.press-sample img { width: 100%; }
.policy .folio-grid { display: block; }
.policy .folio-cover .meta { max-width: none; }
.reading-grid { display: grid; grid-template-columns: minmax(155px,.36fr) minmax(0,1fr); align-items: start; gap: clamp(30px,7vw,116px); padding-block: clamp(49px,6vw,86px) clamp(70px,8vw,125px); }
.contents { position: sticky; top: calc(var(--mast-height) + 35px); display: grid; align-content: start; justify-items: start; padding-left: 17px; border-left: 1px solid var(--line); }
.contents > p { margin: 1px 0 13px; }
.contents a { color: var(--muted); font-size: 14px; text-decoration: none; padding-block: 6px; }
.contents a:hover { color: white; text-decoration: underline; }
.prose { max-width: 730px; min-width: 0; color: var(--muted); font-size: clamp(16px,1.16vw,18px); line-height: 1.65; }
.prose h2 { margin: 42px 0 15px; color: var(--paper); font-size: clamp(23px,2.2vw,33px); line-height: 1.18; letter-spacing: -.042em; }
.prose > h2:first-child, .prose section:first-child h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 12px; }
.prose a, .prose strong, .prose b { color: #ededef; }
.prose ul { padding-left: 1.15em; }
.prose li { margin-bottom: 9px; padding-left: 3px; }
.prose li::marker { color: #809597; }
.prose ul + p { margin-top: 15px; }
.spec-page .folio-grid { display: block; }
.spec-page .folio-cover .strand { bottom: -31%; }
.spec-groups { max-width: 780px; }
.spec-groups section + section { margin-top: clamp(36px, 5vw, 72px); }
.spec-groups h2 { margin: 0 0 18px; }
.spec-groups dl { display: grid; grid-template-columns: minmax(110px, .34fr) minmax(0, 1fr); }
.spec-groups dt, .spec-groups dd { padding-block: 13px; border-top: 1px solid var(--line); }
.spec-groups dt { padding-right: 16px; color: var(--paper); font-size: .92em; font-weight: 560; }
@media (max-width: 540px) {
  .spec-page .folio-cover h1 em { display: block; }
  .spec-page .contents { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0 22px; }
  .spec-page .contents p { grid-column: 1 / -1; }
  .spec-page .contents a { display: flex; align-items: center; min-height: 44px; }
  .spec-groups dl { grid-template-columns: minmax(0, .48fr) minmax(0, 1fr); }
  .spec-groups dt { padding-right: 10px; }
}
.policy-intro { color: #d5d5db; }
.press-body dl { display: grid; grid-template-columns: minmax(70px,.29fr) minmax(0,1fr); }
.press-body dt, .press-body dd { padding: 13px 0; border-top: 1px solid var(--line); }
.press-body dt { color: var(--soft); font-size: .88em; padding-right: 8px; }
.assets { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.assets a { display: grid; grid-template-rows: 118px auto auto; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--paper); text-decoration: none; }
.assets img { width: 100%; height: 100%; object-fit: contain; padding: 10px 12px 20px; }
.assets b { font-size: 16px; }
.assets span { font-size: 12px; color: var(--muted); }
.assets a:hover { border-color: #ffffff59; }
.release-body { padding-block: clamp(48px,5vw,76px) 96px; }
.releases article { display: grid; grid-template-columns: minmax(135px,.42fr) minmax(0,1fr); column-gap: clamp(32px,6vw,96px); border-top: 1px solid var(--line); padding-block: 34px 40px; }
.releases article:first-child { border-top: 0; padding-top: 0; }
.releases header { display: grid; align-content: start; justify-items: start; gap: 4px; color: var(--muted); }
.releases h2 { color: var(--paper); font-size: clamp(31px,3.8vw,55px); font-weight: 480; margin-bottom: 7px; }
.releases .platforms, .releases time { font-size: 13px; line-height: 1.4; }
.release-notes { min-width: 0; max-width: 75ch; }
.releases .summary { font-size: clamp(19px,1.8vw,26px); line-height: 1.3; letter-spacing: -.025em; color: #e8e8ec; }
.releases h3 { margin-top: 23px; font-size: 18px; letter-spacing: -.025em; }
.releases ul { padding-left: 1.12em; color: var(--muted); margin-top: 14px; }
.releases li { margin-bottom: 7px; padding-left: 3px; }
.releases li::marker { color: #8995a8; }
.first-release { border-top: 1px solid var(--line); padding-top: 25px; color: var(--muted); font-size: 14px; }

/* Server pages, casting paths and field guides */
.chapter, .guide-body, .faq, .related { padding-block: clamp(48px,5.8vw,85px); border-bottom: 1px solid var(--line); }
.chapter:nth-child(even) { background: #0d1016; }
.head { max-width: 710px; }
.head h2, .faq h2, .related h2, .guide-body h2 { font-size: clamp(30px,3.2vw,48px); line-height: 1.09; }
.head .eyebrow { margin-bottom: 15px; color: #9cb4bf; }
.head .lede { margin-top: 16px; }
.head.center { max-width: 760px; }
.head em { font-family: var(--serif); }
.split { display: grid; grid-template-columns: minmax(0,1.04fr) minmax(0,.94fr); align-items: center; gap: clamp(35px,8vw,125px); }
.split.flip .head { order: 2; }
.backlit { min-width: 0; }
.backlit .device { min-width: 0; }
.label { padding-top: 9px; text-align: center; color: var(--soft); font-size: 13px; line-height: 1.4; }
.label br { display: none; }
.label br::after { content: " "; }
.points, .ticks { color: var(--muted); padding-left: 1.05em; }
.points { margin-top: 17px; }
.points li, .ticks li { padding-left: 3px; margin: 8px 0; }
.points li::marker, .ticks li::marker { color: #879ca1; }
.head b, .points b, .ticks b, .steps b { color: #e2e3e7; }
.convert-stage, .two-phones { display: grid; gap: 20px; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; }
.convert-stage { max-width: 760px; margin: 34px auto 0; }
.cards, .steps { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,228px),1fr)); gap: 20px 34px; margin-top: 30px; }
.card, .steps li { min-width: 0; padding: 17px 0 5px; border-top: 1px solid var(--line); }
.card { display: block; color: inherit; text-decoration: none; }
.card h3, .steps h3, .guide-steps h3, .need h3 { font-size: clamp(19px,1.5vw,23px); line-height: 1.25; letter-spacing: -.035em; }
.card p, .steps p, .guide-steps p { margin-top: 9px; color: var(--muted); font-size: 15px; line-height: 1.55; }
a.card h3::after, .related-guides a::after { content: "↗"; display: inline-block; margin-left: .4em; font: 400 .72em/1 var(--rounded); color: #a6c9c6; }
a.card:hover h3, .related-guides a:hover { text-decoration: underline; text-underline-offset: 4px; }
.steps { list-style: none; counter-reset: step; }
.steps li { counter-increment: step; }
.sample-code { display: inline-grid; margin-top: 11px; }
.sample-code small { font-size: 11px; color: var(--soft); }
.sample-code samp { color: #ceede9; font: 520 18px/1.45 ui-monospace,Menlo,monospace; letter-spacing: .12em; }
.steps li::before, .n { display: block; margin-bottom: 10px; font-size: 12px; color: #9fb9be; }
.steps li::before { content: "Step " counter(step); }
.faq .wrap { max-width: min(1240px, calc(100% - 2 * var(--gutter))); }
.faq h2, .guide-head { margin-bottom: 22px; }
.faq details, .questions details { max-width: 880px; padding: 0; border-block-start: 1px solid var(--line); }
.faq details:last-child, .questions details:last-child { border-block-end: 1px solid var(--line); }
.faq summary, .questions summary { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 17px 2px 17px 0; cursor: pointer; font-size: clamp(16px,1.25vw,19px); font-weight: 560; list-style: none; }
summary::-webkit-details-marker { display:none; }
.faq summary::after, .questions summary::after { content: "+"; color: #a5b7c1; font-weight: 400; }
.faq details[open] summary::after, .questions details[open] summary::after { content: "−"; }
.faq details p, .questions details p { padding: 0 0 18px; color: var(--muted); max-width: 70ch; }
.guide-steps { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(17px,2.8vw,42px); margin-top: 23px; }
.guide-steps li { min-width:0; border-top: 1px solid var(--line); padding-top: 15px; }
.guide-steps .n { font-weight: 560; }
.mini { height: clamp(150px,15vw,190px); margin-bottom: 17px; display: grid; align-items: center; justify-items: center; padding: 10px; overflow: hidden; border: 1px solid #ffffff0f; border-radius: 10px; background: #141820; }
.mini > img { max-height: 100%; object-fit: contain; }
.callout { max-width: 90ch; margin: 36px 0; padding: 17px 20px; border-left: 2px solid #84b5af; background: #a2e3dd08; display: flex; align-items: flex-start; gap: 13px; color: var(--muted); }
.callout b { color: var(--paper); }
.callout svg { width: 20px; height: 20px; flex: none; margin-top: 2px; fill: none; stroke: #b4d5ce; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.need { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(24px,6vw,86px); padding-block: 26px; }
.need h3 { margin-bottom: 13px; }
.note { color: var(--soft); font-size: 14px; margin-top: 13px; }
.guide-sec, .guide-head { margin-top: clamp(42px,5vw,72px); }
.guide-sec { max-width: 74ch; }
.guide-sec p { color: var(--muted); margin-top: 12px; }
.related-guides { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,200px),1fr)); gap: 20px 27px; margin-top: 45px; }
.related-guides a { position: relative; display: block; padding: 15px 20px 0 0; border-top: 1px solid var(--line); font-weight: 560; text-decoration: none; }
.related-guides span { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.related-guides a::after { position: absolute; top: 20px; right: 0; }
.get { background: radial-gradient(ellipse at 85% 50%, #202237 0%, transparent 65%),#0e111a; }
.get-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: clamp(40px,6vw,88px); }
.get h2 { font-size: clamp(43px,5vw,73px); }
.get p { color: var(--muted); margin-top: 10px; }
.store-badge { flex: none; }
.store-badge img { width: 150px; height: auto; }
.site-footer { padding-block: 49px 35px; border-top: 1px solid var(--line); }
.columns { display: grid; grid-template-columns: 1.35fr 1fr 1fr .75fr; gap: clamp(18px,4vw,58px); }
.columns > div { display: grid; align-content: start; justify-items: start; gap: 5px; }
.columns b { margin-bottom: 5px; color: #e5e6ec; font-size: 14px; }
.columns a { padding-block: 2px; font-size: 13px; color: var(--muted); text-decoration: none; }
.columns a:hover { color:white; text-decoration: underline; }
.legal { max-width: 120ch; font-size: 11px; line-height: 1.6; color: #969aa8; margin-top: 32px; }

/* Native-style diagrams used inside the steps */
.mock-tv {
  position: relative; width: 100%; max-width: 380px; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size;
  border-radius: 10px; background: #000; border: 9px solid #06070f; display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 26px 40px rgba(0,0,0,.5);
}
.mock-tv > img { width: 100%; height: 100%; object-fit: cover; }
.mock-badge { position: absolute; top: 3cqw; left: 3cqw; font: 700 max(10px, 3cqw)/1 var(--rounded); padding: 1.6cqw 2.4cqw; border-radius: 1.8cqw; background: rgba(0,0,0,.6); color: var(--chromecast); }
.mock-tv.tvpage { background: radial-gradient(120% 90% at 50% 0%, #18214d 0%, #0A0C21 62%, #070818 100%); }
.mock-in { width: 100%; height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); justify-items: center; font-size: 3.2cqw; }
.mock-tv.tvpage .url { align-self: start; margin-top: 1.1em; padding: .45em 1.4em; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--muted); font-size: .95em; }
.mock-tv.tvpage .ready { align-self: center; display: grid; justify-items: center; gap: .35em; text-align: center; }
.mock-tv.tvpage .ready img { width: 3em; height: 3em; border-radius: 24%; }
.mock-tv.tvpage .word { font: 700 .7em/1 var(--rounded); letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.mock-tv.tvpage b { font-size: 1.3em; }
.mock-tv.tvpage .screencode { font: 700 2.6em/1.1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .3em; margin-right: -.3em; color: #6FE6F0; }
.mock-tv.tvpage small { color: var(--muted); font-size: .85em; }
.mini .mock-tv { max-width: 230px; border-width: 6px; }
.mock-menu, .mock-downloads { width: min(240px, 100%); display: grid; gap: 2px; padding: 10px; border-radius: 12px; background: rgba(28,30,44,.94); border: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #fff; }
.mock-menu small, .mock-downloads small { color: rgba(255,255,255,.5); font-size: 11px; margin: 0 6px 4px; }
.mock-menu span { padding: 4px 6px; border-radius: 7px; line-height: 1.35; }
.mock-menu .on { background: rgba(25,216,230,.22); }
.mock-downloads span { display: grid; gap: 5px; padding: 5px 6px; }
.mock-downloads b { font-weight: 500; }
.mock-downloads i { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--p), rgba(255,255,255,.18) var(--p)); }
.mock-downloads .dim { opacity: .5; }
.mock-offline { width: min(240px, 100%); display: grid; gap: 10px; font-size: 13px; color: #fff; }
.mock-offline > span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(28,30,44,.94); border: 1px solid rgba(255,255,255,.1); }
.mock-offline .plane svg { width: 20px; height: 20px; fill: none; stroke: #F2B84B; stroke-width: 1.8; stroke-linejoin: round; }
.mock-offline .plane i { margin-left: auto; width: 34px; height: 20px; border-radius: 999px; background: #30D158; position: relative; }
.mock-offline .plane i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.mock-offline .film { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 10px; }
.mock-offline .film img { grid-row: span 2; width: 64px; height: 36px; object-fit: cover; border-radius: 6px; }
.mock-offline .film small { color: #30D158; }
.mock-badge.tv { color: var(--dlna); }
.mock-file { width: min(250px, 100%); display: grid; gap: 10px; padding: 12px; border-radius: 12px; background: rgba(28,30,44,.94); border: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #fff; }
.mock-file small { color: rgba(255,255,255,.5); font-size: 11px; }
.mock-file .chips { display: flex; flex-wrap: wrap; gap: 5px; }
.mock-file em { --c: #8E8E93; font-style: normal; font-weight: 500; font-size: 12px; color: var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); padding: 2px 7px; border-radius: 999px; }
.mock-file .purple { --c: #BF5AF2; } .mock-file .indigo { --c: #5E5CE6; } .mock-file .pink { --c: #FF375F; } .mock-file .cyan { --c: #64D2FF; }
.mock-file .play { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--glow); color: #0B0D22; font-weight: 700; }
.mock-file .play i { width: 0; height: 0; border-left: 8px solid #0B0D22; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.guide-ui { width:100%; min-width:0; max-width:460px; margin-inline:auto; display:grid; gap:12px; align-content:start; text-align:left; padding:clamp(14px,2.1vw,29px); color:#eef0f3; background:linear-gradient(145deg,#192330,#101521 76%); border:1px solid #b2d4ed26; border-radius:20px; box-shadow:0 20px 65px #01030a57; font:500 clamp(14px,1.3vw,19px)/1.35 -apple-system,BlinkMacSystemFont,sans-serif; }
.guide-ui > strong { font-size:1.55em; line-height:1.1;letter-spacing:-.045em; }
.guide-film { width:100%;aspect-ratio:1.86; border-radius:9px; background:url("img/demo/paper-windows-still.webp") center 44%/cover; }
.guide-orbit { background-image:url("img/demo/violet-meridian-still.webp");background-position:50% 33%; }
.guide-sheet { min-width:0; padding:12px; border-radius:12px; background:#bbc8dd10; }
.guide-sheet b { display:block;margin-bottom:6px;font-size:1.15em;letter-spacing:-.025em; }
.guide-sheet span { display:flex;justify-content:space-between;gap:8px;padding:9px 0;color:#e1e6ed;font-size:.87em; }
.guide-sheet span + span { border-top:1px solid #c2d5ed23; }
.guide-sheet small { color:#9ad9d8; }
.guide-posters {display:grid; grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;}
.guide-posters img { width:100%;height:auto; border-radius:4px; }
.guide-cast {grid-template-columns:1fr .98fr;gap:7px; align-items:center;max-width:620px;}
.guide-progress {display:block;width:70%; height:3px; background:linear-gradient(90deg,#6fd8c9 48%,#455264 48%); }
.mini .guide-ui {max-width:320px; font-size:14px;padding:12px;gap:6px;overflow:hidden;}
.mini .guide-ui>.guide-film {min-height:44px;max-height:86px;}
.mini .guide-sheet {padding:8px;}
.mini .guide-sheet span {padding:4px 0;}

/* Compact reading layout */
@media (max-width: 900px) {
  .guide-steps { grid-template-columns: 1fr; gap: 23px; }
  .guide-steps li { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); grid-template-rows: auto auto 1fr; column-gap: 22px; }
  .guide-steps .mini { grid-column: 1; grid-row: 1 / 4; width: 100%; margin: 0; }
  .guide-steps .n, .guide-steps h3, .guide-steps p { grid-column: 2; }
}
@media (max-width: 760px) {
  :root { --gutter: clamp(20px,5.5vw,36px); --mast-height: 58px; }
  .cover-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 39px 33px; }
  .cover h1 { font-size: clamp(46px,8.5vw,65px); }
  .cover-copy .eyebrow { margin-bottom: 12px; }
  .cover-copy .lede { max-width: 54ch; margin-top: 15px; }
  .jump { margin-top: 7px; }
  .cover-figure { max-width: 600px; width: 100%; }
  .cover .strand { bottom: 1%; height: 65%; }
  .strand { left: -20%; width: 140%; }
  .film-frame { border-radius: 11px; }
  .folio-grid { grid-template-columns: 1fr; gap: 26px; padding-block: 38px; }
  .folio-cover h1 { font-size: clamp(51px,10.5vw,74px); }
  .folio-cover .lede, .folio-cover .meta { margin-top: 13px; }
  .release-cover .folio-grid { padding-bottom: 48px; }
  .folio-cover.release-cover .strand { height: 46%; bottom: -20%; }
  .release-jumps, .press-sample { justify-self: start; }
  .release-jumps { width: min(100%,325px); padding-left: 16px; }
  .press-sample { width: min(100%,290px); padding: 17px 24px; }
  .help-contact { max-width: 500px; }
  .reading-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 27px; }
  .contents { position: static; display: flex; flex-wrap: wrap; gap: 0 18px; padding: 0 0 14px; border-left: 0; border-bottom: 1px solid var(--line); }
  .contents p { flex: 0 0 100%; margin-bottom: 5px; }
  .contents a { padding-block: 7px; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .split.flip .head { order: 0; }
  .split .backlit { max-width: 490px; width: 100%; justify-self: center; }
  .cards, .steps { gap: 17px 20px; }
  .need { gap: 22px; }
  .columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px; }
  .site-footer { padding-block: 37px 24px; }
}
@media (max-width: 540px) {
  .releases article { grid-template-columns: 1fr; }
  .releases header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 12px; margin-bottom: 16px; }
  .releases h2 { font-size: 29px; margin: 0; }
  .releases .platforms { font-weight: 580; }
  .releases time { flex-basis: 100%; }
  .releases .summary { font-size: 19px; }
  .guide-steps li { display: flex; flex-direction: column; align-items: stretch; }
  .guide-steps .mini { margin-bottom: 14px; height: 162px; }
  .faq summary, .questions summary { padding-block: 14px; }
  .need, .convert-stage { grid-template-columns: 1fr; }
  .get-inner { align-items: flex-start; flex-direction: column; gap: 17px; }
  .get p { margin-top: 6px; }
  .store-badge img { width: 135px; }
  .assets a { grid-template-rows: 79px auto auto; padding: 12px; }
  .contact-links { column-gap: 16px; }
  .contact-links a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .strand-light { display: none; } }
