.film-app { --aip-shell-width: 760px; --aip-content-compact: 720px; background: #f3f0e9; color: #20364a; }
.film-main { gap: 18px; padding: 0 12px 92px; }
.film-hero { aspect-ratio: 16/9; border-radius: 0 0 24px 24px; color: #fff; margin: 0 -12px; overflow: hidden; position: relative; }
.film-hero picture,
.film-library-image picture { display: block; height: 100%; width: 100%; }
.film-hero img { height: 100%; object-fit: cover; width: 100%; }
.film-hero-shade { background: linear-gradient(180deg,transparent 28%,rgba(5,13,24,.88)); inset: 0; position: absolute; }
.film-hero-copy { bottom: 20px; display: grid; grid-template-columns: 1fr auto; left: 20px; position: absolute; right: 20px; }
.film-hero-copy>p,.film-hero-copy>h1,.film-hero-copy>span { grid-column: 1; margin: 0; }
.film-hero-copy>p { color: #9fdeda; font-size: 11px; letter-spacing: .12em; }
.film-hero-copy h1 { font-family: var(--aip-font-editorial); font-size: clamp(30px,6vw,54px); line-height: 1; margin-top: 6px; }
.film-hero-copy>span { color: #b7c4cd; font-size: 12px; margin-top: 7px; }
.film-rating { align-items: baseline; display: grid; grid-column: 2; grid-row: 1/4; grid-template-columns: auto auto; justify-content: end; }
.film-rating b { color: #ffd184; font-size: 32px; }
.film-rating>span { font-size: 11px; margin-left: 5px; }
.film-rating small { color: #b7c4cd; font-size: 9px; grid-column: 1/3; line-height: 1.4; text-align: right; }
.film-spoiler { align-items: center; background: #f7dfd8; border-radius: 12px; display: flex; gap: 10px; margin-top: 14px; padding: 10px 13px; }
.film-spoiler b { background: #d36f58; border-radius: 99px; color: #fff; flex: 0 0 auto; font-size: 10px; padding: 4px 7px; }
.film-spoiler span { color: #78463b; font-size: 11px; }
.film-thesis small,.film-craft-section header small,.film-story-section header small,.film-map-intro small,.film-tension-card small,.film-concept-index header small,.film-journal-hero small,.film-records header small { color: #d36f58; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.film-thesis h2 { font-family: var(--aip-font-editorial); font-size: 22px; line-height: 1.5; margin: 8px 0; }
.film-thesis p { color: #647482; font-size: 12px; line-height: 1.75; margin: 0; }
.film-question-strip { display: grid; gap: 7px; grid-template-columns: 88px repeat(3,1fr); }
.film-question-strip>span { align-items: center; background: #20364a; border-radius: 14px; color: #fff; display: flex; font-size: 12px; font-weight: 700; justify-content: center; text-align: center; }
.film-question-strip p { background: #fff; border: 1px solid #e4e0d8; border-radius: 14px; color: #4f6070; font-size: 11px; line-height: 1.5; margin: 0; padding: 12px; }
.film-question-strip b { color: #d36f58; display: block; font-size: 9px; margin-bottom: 5px; }
.film-craft-section,.film-story-section,.film-concept-index,.film-records { margin-top: 26px; }
.film-craft-section>header h2,.film-story-section>header h2,.film-concept-index>header h2,.film-records>header h2 { font-family: var(--aip-font-editorial); font-size: 24px; margin: 4px 0 6px; }
.film-craft-section>header p,.film-story-section>header p,.film-map-intro p,.film-journal-hero p { color: #687784; font-size: 12px; line-height: 1.6; margin: 0; }
.film-craft-grid { display: grid; gap: 8px; grid-template-columns: repeat(2,1fr); margin-top: 14px; }
.film-craft-grid article { background: #fff; border: 1px solid #e4e0d8; border-radius: 16px; padding: 14px; }
.film-craft-grid article>small { color: #d36f58; font-size: 10px; }
.film-craft-grid h3 { font-size: 15px; line-height: 1.4; margin: 5px 0; }
.film-craft-grid p { color: #687784; font-size: 11px; line-height: 1.65; margin: 0; }
.film-craft-gauge { align-items: center; display: flex; gap: 8px; }
.film-craft-gauge svg { width: 100%; }
.film-craft-gauge b { font-size: 12px; }
.film-act-rail { display: grid; gap: 4px; grid-template-columns: 2fr 3fr 3fr; margin: 16px 0 6px; }
.film-act-rail span { background: #dce8ee; border-radius: 8px; color: #4d6575; font-size: 10px; padding: 6px 8px; text-align: center; }
.film-story-list { display: grid; gap: 0; }
.film-stage { display: grid; grid-template-columns: 48px 1fr; position: relative; }
.film-stage:not(:last-child)::before { background: #cad6dc; bottom: -1px; content: ""; left: 23px; position: absolute; top: 42px; width: 1px; }
.film-stage-number { align-items: center; display: flex; flex-direction: column; padding-top: 17px; z-index: 1; }
.film-stage-number span { background: #20364a; border-radius: 50%; color: #fff; display: grid; font-size: 10px; height: 34px; place-items: center; width: 34px; }
.film-stage-number i { border: 3px solid #f3f0e9; border-radius: 50%; height: 10px; margin-top: -4px; width: 10px; }
.film-stage-body { background: #fff; border: 1px solid #e4e0d8; border-radius: 16px; margin: 8px 0; padding: 15px; }
.film-stage-body>small { color: #9a6b5e; font-size: 9px; }
.film-stage-body h3 { font-family: var(--aip-font-editorial); font-size: 18px; margin: 5px 0 8px; }
.film-stage-body>p { color: #526676; font-size: 12px; line-height: 1.7; margin: 0; }
.film-stage-body>blockquote { border-left: 3px solid #d36f58; color: #7a685f; font-size: 11px; line-height: 1.65; margin: 11px 0 0; padding-left: 10px; }
.film-inline-terms { display: grid; gap: 6px; margin-top: 12px; }
.film-term { background: #eef3f4; border-radius: 10px; color: #304a5d; }
.film-term summary { align-items: center; box-sizing: border-box; cursor: pointer; display: flex; font-size: 11px; font-weight: 700; justify-content: space-between; list-style: none; min-height: 44px; padding: 9px 11px; }
.film-term summary::-webkit-details-marker { display: none; }
.film-term summary span { float: right; }
.film-term[open] summary span { transform: rotate(45deg); }
.film-term>div { border-top: 1px solid #d6e2e6; display: grid; gap: 5px; padding: 11px; }
.film-term>div small { color: #d36f58; font-size: 9px; }
.film-term>div b { font-size: 12px; line-height: 1.5; }
.film-term>div p,.film-term>div em { color: #667784; font-size: 10px; font-style: normal; line-height: 1.6; margin: 0; }
.film-term>div em { color: #7e5a50; }
.film-closing { background: #20364a; border-radius: 20px; color: #eaf1f3; font-family: var(--aip-font-editorial); font-size: 17px; line-height: 1.8; margin: 24px 0 0; padding: 22px; }
.film-method-note { color: #7d878e; font-size: 9px; line-height: 1.6; padding: 8px 4px 20px; }
.film-method-note p { margin: 6px 0 0; }
.film-map-intro,.film-journal-hero { padding: 22px 4px 4px; }
.film-map-intro h1,.film-journal-hero h1 { font-family: var(--aip-font-editorial); font-size: 26px; line-height: 1.35; margin: 6px 0 8px; }
.film-map-card { margin-top: 12px; overflow: hidden; }
.film-map-legend { display: flex; flex-wrap: wrap; gap: 10px; }
.film-map-legend span { align-items: center; color: #687784; display: flex; font-size: 10px; gap: 4px; }
.film-map-legend i { border-radius: 50%; height: 7px; width: 7px; }
.film-map-svg { display: block; margin: 8px auto 0; max-width: 520px; width: 100%; }
.film-map-edges line { stroke: #9badb6; stroke-dasharray: 4 4; stroke-width: 1.5; }
.film-map-edges text { fill: #82919a; font-size: 9px; paint-order: stroke; stroke: #fffdf8; stroke-width: 4px; }
.film-map-node rect { filter: drop-shadow(0 2px 3px rgba(32,54,74,.12)); stroke: rgba(32,54,74,.18); stroke-width: 1px; }
.film-map-node text { fill: #172b3b; font-size: 10px; font-weight: 700; }
.film-tension-card { margin-top: 12px; }
.film-tension-card header { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.film-tension-card h2 { font-size: 18px; margin: 4px 0; }
.film-tension-card header p { color: #687784; font-size: 10px; line-height: 1.6; margin: 0; }
.film-tension-svg { margin-top: 16px; width: 100%; }
.film-tension-svg .grid line { stroke: #dfe5e6; stroke-width: 1; }
.film-tension-svg text { fill: #8a5c50; font-size: 9px; }
.film-tension-labels { display: grid; grid-template-columns: repeat(8,1fr); }
.film-tension-labels span { color: #77858e; font-size: 8px; text-align: center; }
.film-concept-index>div { display: grid; gap: 7px; grid-template-columns: repeat(2,1fr); margin-top: 12px; }
.film-journal-summary { margin-top: 14px; }
.film-checkin-form { display: grid; gap: 14px; margin-top: 12px; }
.film-checkin-form header small { color: #d36f58; font-size: 10px; }
.film-checkin-form header h2 { margin: 3px 0 0; }
.film-checkin-form>label { color: #657581; display: grid; font-size: 11px; gap: 6px; }
.film-checkin-form input[type=date],.film-checkin-form textarea { background: #f5f3ee; border: 1px solid #dedbd3; border-radius: 10px; box-sizing: border-box; color: #20364a; font: inherit; min-height: 44px; padding: 11px; width: 100%; }
.film-checkin-form fieldset { border: 0; margin: 0; padding: 0; }
.film-checkin-form legend { color: #657581; font-size: 11px; margin-bottom: 7px; }
.film-star-picker { display: grid; gap: 5px; grid-template-columns: repeat(5,1fr); }
.film-star-picker label { cursor: pointer; }
.film-star-picker input { position: absolute; opacity: 0; }
.film-star-picker span { background: #edf1f2; border: 1px solid transparent; border-radius: 9px; color: #d36f58; display: grid; font-size: 10px; height: 44px; place-items: center; }
.film-star-picker small { color: #78858d; display: block; font-size: 8px; margin-top: 3px; text-align: center; }
.film-star-picker input:checked+span { background: #20364a; border-color: #20364a; color: #ffd184; }
.film-private-note { color: #818a90; font-size: 9px; line-height: 1.5; text-align: center; }
.film-records article { display: grid; gap: 12px; grid-template-columns: 78px 1fr; padding: 14px 3px; }
.film-records article+article { border-top: 1px solid #dedbd3; }
.film-records time { color: #78858d; font-size: 10px; }
.film-records article b { color: #d36f58; font-size: 12px; letter-spacing: .08em; }
.film-records article p { color: #526676; font-size: 11px; line-height: 1.6; margin: 5px 0 0; }
@media(max-width:560px){.film-question-strip{grid-template-columns:1fr}.film-question-strip>span{min-height:40px}.film-craft-grid,.film-concept-index>div{grid-template-columns:1fr}.film-tension-card header{grid-template-columns:1fr}.film-hero-copy{bottom:14px;left:14px;right:14px}.film-rating b{font-size:25px}.film-rating small{display:none}.film-star-picker span{font-size:8px}.film-main{padding-inline:8px}.film-hero{margin-inline:-8px}}

/* Film UI v2 — a restrained deep-space console, optimized for dense mobile reading. */
.film-app {
  --aip-bg: #07111d;
  --aip-surface: #0d1b2a;
  --aip-surface-soft: #102335;
  --aip-text: #e8f5f6;
  --aip-text-secondary: #8fa8b8;
  --aip-border: rgba(109, 220, 220, .17);
  --aip-primary: #63e0da;
  --aip-primary-soft: #12343f;
  --aip-accent: #ff967a;
  --aip-focus: #89fff8;
  background:
    radial-gradient(circle at 82% 8%, rgba(71, 102, 179, .2), transparent 25%),
    radial-gradient(circle at 12% 38%, rgba(36, 168, 164, .12), transparent 22%),
    #07111d;
  color: var(--aip-text);
  isolation: isolate;
}

.film-app::before {
  background-image: linear-gradient(rgba(99, 224, 218, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 224, 218, .025) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, #000 0, transparent 72%);
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.film-app .aip-topbar {
  background: rgba(7, 17, 29, .9);
  border-color: rgba(99, 224, 218, .16);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .2);
}

.film-app .aip-contract-header > button,
.film-app .aip-contract-header > b { color: #75e9e3; }
.film-app .aip-contract-header > b { background: rgba(99, 224, 218, .1); border: 1px solid rgba(99, 224, 218, .2); border-radius: 99px; padding: 5px 8px; }
.film-app .aip-contract-header small { color: #6f8b9d; }
.film-main { gap: 16px; position: relative; }

.film-hero {
  border: 1px solid rgba(121, 237, 232, .3);
  border-radius: 0 0 28px 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45), inset 0 0 60px rgba(75, 199, 211, .08);
}
.film-hero::before { border: 1px solid rgba(120, 238, 232, .45); border-bottom: 0; border-left: 0; content: ""; height: 42px; position: absolute; right: 12px; top: 12px; width: 42px; z-index: 2; }
.film-hero::after { background: linear-gradient(90deg, transparent, rgba(104, 241, 233, .7), transparent); content: ""; height: 1px; left: 5%; position: absolute; right: 5%; top: 32%; z-index: 2; }
.film-hero-shade { background: linear-gradient(180deg, rgba(2, 8, 16, .08) 20%, rgba(4, 11, 22, .24) 44%, #07111d 100%); }
.film-hero-telemetry { align-items: center; color: #8eb6c5; display: flex; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 8px; gap: 12px; left: 14px; letter-spacing: .1em; position: absolute; right: 14px; top: 12px; z-index: 3; }
.film-hero-telemetry span { align-items: center; display: flex; gap: 5px; }
.film-hero-telemetry span:last-child { margin-left: auto; }
.film-hero-telemetry i { background: #76f3c8; border-radius: 50%; box-shadow: 0 0 10px #76f3c8; height: 6px; width: 6px; }
.film-hero-copy > p { color: #73ebe4; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
.film-hero-copy h1 { font-family: var(--aip-font-ui); font-weight: 780; letter-spacing: -.04em; text-shadow: 0 5px 24px rgba(0, 0, 0, .55); }
.film-rating { border-left: 1px solid rgba(99, 224, 218, .28); padding-left: 16px; }
.film-rating b { color: #ffe394; text-shadow: 0 0 20px rgba(255, 204, 105, .24); }

.film-spoiler { background: rgba(219, 92, 77, .12); border: 1px solid rgba(255, 139, 116, .22); }
.film-spoiler b { background: #d86555; }
.film-spoiler span { color: #d6a59b; }
.film-thesis,
.film-map-card,
.film-tension-card,
.film-checkin-form { background: linear-gradient(145deg, rgba(17, 38, 56, .94), rgba(10, 25, 40, .94)); border-color: rgba(100, 220, 218, .16); box-shadow: 0 14px 38px rgba(0, 0, 0, .18); }
.film-thesis small,
.film-craft-section header small,
.film-story-section header small,
.film-map-intro small,
.film-tension-card small,
.film-concept-index > header small,
.film-journal-hero small,
.film-records header small { color: #66e2dc; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
.film-thesis h2 { color: #f1fbfb; font-family: var(--aip-font-ui); font-weight: 690; }
.film-thesis p,
.film-craft-section > header p,
.film-story-section > header p,
.film-map-intro p,
.film-journal-hero p { color: #8fa8b8; }

.film-signal-grid { display: grid; gap: 7px; grid-template-columns: repeat(4, 1fr); }
.film-signal-grid > div { background: rgba(13, 32, 48, .86); border: 1px solid rgba(105, 224, 220, .14); border-radius: 13px; min-width: 0; padding: 11px 10px; position: relative; }
.film-signal-grid > div::before { background: #58ddd5; content: ""; height: 2px; left: 10px; opacity: .7; position: absolute; top: 0; width: 22px; }
.film-signal-grid small,.film-signal-grid b,.film-signal-grid span { display: block; }
.film-signal-grid small { color: #617f92; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 7px; letter-spacing: .08em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.film-signal-grid b { color: #dbffff; font-size: 23px; margin-top: 4px; }
.film-signal-grid span { color: #7891a2; font-size: 9px; margin-top: 1px; }

.film-question-strip > span { background: linear-gradient(145deg, #164151, #10283c); border: 1px solid rgba(100, 222, 217, .2); }
.film-question-strip p { background: rgba(13, 30, 45, .82); border-color: rgba(98, 217, 215, .13); color: #9bb0bd; }
.film-question-strip b { color: #67e1db; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }

.film-science-primer { background: linear-gradient(160deg, rgba(19, 44, 63, .88), rgba(8, 22, 36, .96)); border: 1px solid rgba(102, 228, 221, .19); border-radius: 22px; margin-top: 12px; overflow: hidden; padding: 18px; position: relative; }
.film-science-primer::after { border: 1px solid rgba(104, 226, 221, .12); border-radius: 50%; content: ""; height: 180px; position: absolute; right: -80px; top: -100px; width: 180px; }
.film-science-primer > header { display: grid; gap: 12px; grid-template-columns: 1.1fr .9fr; position: relative; z-index: 1; }
.film-science-primer header small { color: #65e4de; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 9px; letter-spacing: .13em; }
.film-science-primer h2 { font-size: 21px; line-height: 1.35; margin: 5px 0 0; }
.film-science-primer header p { color: #88a0b0; font-size: 10px; line-height: 1.65; margin: 0; }
.film-reality-key { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 15px 0 10px; }
.film-reality-key span { align-items: center; color: #829bab; display: flex; font-size: 8px; gap: 5px; }
.film-reality-key i { border-radius: 50%; height: 7px; width: 7px; }
.film-reality-key .is-real,.film-term mark.is-real { background: #44d5a1; }
.film-reality-key .is-hybrid,.film-term mark.is-hybrid { background: #e7ba69; }
.film-reality-key .is-fiction,.film-term mark.is-fiction { background: #9a82e8; }
.film-primer-grid { display: grid; gap: 7px; grid-template-columns: repeat(2, minmax(0, 1fr)); position: relative; z-index: 1; }
.film-atlas-link { align-items: center; background: rgba(91, 225, 216, .09); border: 1px solid rgba(91, 225, 216, .18); border-radius: 12px; color: #92e9e5; display: flex; font-size: 11px; justify-content: space-between; margin-top: 11px; min-height: 44px; padding: 0 13px; text-decoration: none; }
.film-atlas-link b { color: #fff; font-size: 17px; margin-left: auto; margin-right: 5px; }

.film-craft-grid article,
.film-stage-body { background: linear-gradient(145deg, rgba(16, 34, 51, .94), rgba(10, 25, 39, .94)); border-color: rgba(103, 216, 214, .14); box-shadow: 0 12px 32px rgba(0, 0, 0, .14); }
.film-craft-grid article > small,
.film-stage-body > small { color: #69ddd8; }
.film-craft-grid p,
.film-stage-body > p { color: #91a7b5; }
.film-craft-gauge svg rect:first-child { fill: #173348; }
.film-craft-gauge svg rect:last-child { fill: #59ddd6; }
.film-act-rail span { background: #102b3e; border: 1px solid rgba(89, 220, 214, .12); color: #7fb5bd; }
.film-stage:not(:last-child)::before { background: linear-gradient(#47cec9, rgba(71, 206, 201, .12)); }
.film-stage-number span { background: #0a1a29; border: 1px solid rgba(99, 225, 219, .42); box-shadow: 0 0 18px rgba(70, 216, 209, .12); color: #8af1ec; }
.film-stage-number i { border-color: #07111d; }
.film-stage-body > blockquote { border-color: #66ddd8; color: #b4a79f; }

.film-term { background: rgba(15, 37, 54, .92); border: 1px solid rgba(103, 220, 216, .14); border-radius: 11px; color: #d8f0f1; overflow: hidden; }
.film-term summary { gap: 8px; padding: 8px 11px; }
.film-term summary > span { display: grid; gap: 2px; min-width: 0; }
.film-term summary small { color: #5e8998; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 7px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.film-term summary i { align-items: center; background: rgba(98, 221, 215, .08); border: 1px solid rgba(98, 221, 215, .16); border-radius: 50%; display: grid; flex: 0 0 auto; height: 28px; justify-items: center; position: relative; transition: background .2s ease, border-color .2s ease, transform .24s cubic-bezier(.2,.8,.2,1); width: 28px; }
.film-term summary i::before { border-bottom: 1.5px solid #70e7e1; border-right: 1.5px solid #70e7e1; content: ""; height: 6px; margin-top: -3px; transform: rotate(45deg); width: 6px; }
.film-term[open] summary > span { transform: none; }
.film-term[open] summary i { background: rgba(98, 221, 215, .16); border-color: rgba(112, 231, 225, .42); transform: rotate(180deg); }
.film-term[open] summary { background: rgba(91, 215, 209, .045); }
.film-term[open] > div { animation: film-term-reveal .24s cubic-bezier(.2,.8,.2,1) both; }
.film-term:hover { border-color: rgba(111, 231, 225, .27); }
.film-term summary:active { background: rgba(91, 215, 209, .08); }
.film-term > div { border-color: rgba(105, 219, 215, .13); gap: 8px; padding: 12px; }
.film-term > div mark { border-radius: 99px; color: #07111d; font-size: 8px; font-weight: 800; justify-self: start; padding: 3px 7px; }
.film-term > div small { color: #69dcd7; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
.film-term > div b { color: #edfafa; font-size: 13px; }
.film-term > div p,.film-term > div em { color: #8ea6b5; font-size: 10px; }
.film-term > div strong { color: #b7d6d8; }
.film-term > div .film-term-analogy { background: rgba(86, 219, 211, .07); border-left: 2px solid #55d9d1; color: #a9c4ca; padding: 7px 8px; }
.film-term > div .film-term-boundary { border-top: 1px dashed rgba(239, 177, 103, .22); color: #c8a582; padding-top: 7px; }

@keyframes film-term-reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.film-map-intro,.film-journal-hero { border-bottom: 1px solid rgba(99, 224, 218, .12); }
.film-map-intro h1,.film-journal-hero h1 { font-family: var(--aip-font-ui); font-weight: 720; letter-spacing: -.025em; }
.film-map-card { background-image: radial-gradient(circle at center, rgba(44, 111, 124, .13), transparent 52%), linear-gradient(rgba(103, 222, 217, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(103, 222, 217, .025) 1px, transparent 1px); background-size: auto, 20px 20px, 20px 20px; }
.film-map-legend span { color: #8aa3b2; }
.film-map-edges line { stroke: #4b8a98; }
.film-map-edges text { fill: #77a2ac; stroke: #0c1b2a; }
.film-map-node rect { filter: drop-shadow(0 0 8px rgba(87, 224, 217, .16)); stroke: rgba(219, 255, 253, .28); }
.film-tension-card header p { color: #829baa; }
.film-tension-svg .grid line { stroke: rgba(108, 193, 197, .14); }
.film-tension-svg polyline { filter: drop-shadow(0 0 6px rgba(211, 111, 88, .35)); }
.film-tension-svg text { fill: #efb39f; }
.film-tension-labels span { color: #6f8a9b; }

.film-concept-index { margin-top: 28px; scroll-margin-top: 62px; }
.film-concept-index > header { background: linear-gradient(145deg, rgba(16, 39, 57, .95), rgba(9, 24, 38, .95)); border: 1px solid rgba(100, 223, 217, .17); border-radius: 18px; padding: 16px; }
.film-concept-index > header h2 { font-family: var(--aip-font-ui); font-weight: 720; }
.film-concept-index > header p { color: #829cab; font-size: 11px; line-height: 1.65; margin: 0; }
.film-concept-index > nav { display: flex; gap: 7px; margin: 10px -2px 2px; overflow-x: auto; padding: 2px 2px 7px; scrollbar-width: none; }
.film-concept-index > nav::-webkit-scrollbar { display: none; }
.film-concept-index > nav a { background: #102b3e; border: 1px solid rgba(97, 221, 215, .15); border-radius: 99px; color: #98b7bf; flex: 0 0 auto; font-size: 10px; min-height: 36px; padding: 10px 13px; text-decoration: none; }
.film-concept-cluster { border-top: 1px solid rgba(99, 222, 216, .14); margin-top: 18px; padding-top: 16px; scroll-margin-top: 62px; }
.film-concept-cluster > header { display: grid; grid-template-columns: 1fr auto; margin-bottom: 9px; }
.film-concept-cluster > header span { color: #60ded8; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 8px; letter-spacing: .14em; }
.film-concept-cluster > header b { color: #edfafa; font-size: 18px; grid-column: 1; margin-top: 4px; }
.film-concept-cluster > header small { align-self: end; color: #7c96a6; font-size: 9px; grid-column: 2; grid-row: 1 / 3; }
.film-concept-cluster > header p { color: #7893a4; font-size: 10px; grid-column: 1 / 3; line-height: 1.55; margin: 5px 0 0; }
.film-concept-cluster > div { display: grid; gap: 7px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.film-closing { background: linear-gradient(135deg, #113447, #171f3d); border: 1px solid rgba(102, 227, 220, .2); box-shadow: 0 18px 44px rgba(0, 0, 0, .22); color: #dceff1; font-family: var(--aip-font-ui); }
.film-method-note { color: #668091; }
.film-journal-summary > div { background: #10273a; }
.film-checkin-form input[type=date],.film-checkin-form textarea { background: #081625; border-color: rgba(99, 222, 216, .16); color: #e5f3f4; }
.film-star-picker span { background: #10283a; border-color: rgba(99, 220, 216, .1); }
.film-star-picker input:checked + span { background: #17414b; border-color: #5adbd4; color: #ffe394; }
.film-records article + article { border-color: rgba(99, 222, 216, .12); }
.film-records time,.film-records article p,.film-private-note { color: #7993a3; }
.film-records article b { color: #ffe092; }
.film-app .film-bottom-nav { background: rgba(7, 17, 29, .93); border-color: rgba(99, 222, 216, .17); box-shadow: 0 -12px 36px rgba(0, 0, 0, .28); }
.film-app .film-bottom-nav button { color: #718b9b; }
.film-app .film-bottom-nav button.active { background: linear-gradient(145deg, rgba(79, 213, 205, .16), rgba(74, 111, 190, .12)); color: #76ece5; }

@media (max-width: 560px) {
  .film-hero { aspect-ratio: 4 / 3; }
  .film-hero-telemetry span:nth-child(2) { display: none; }
  .film-signal-grid { grid-template-columns: repeat(2, 1fr); }
  .film-science-primer { padding: 15px 12px; }
  .film-science-primer > header { grid-template-columns: 1fr; }
  .film-primer-grid,.film-concept-cluster > div { grid-template-columns: 1fr; }
  .film-question-strip > span { background: #123347; }
  .film-stage { grid-template-columns: 42px 1fr; }
  .film-stage:not(:last-child)::before { left: 20px; }
  .film-stage-number span { height: 30px; width: 30px; }
  .film-stage-body { padding: 13px; }
}

@media (max-width: 340px) {
  .film-concept-index > nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .film-concept-index > nav a { text-align: center; }
  .film-hero-copy { grid-template-columns: minmax(0, 1fr); }
  .film-rating { border-left: 0; grid-column: 1; grid-row: auto; justify-content: start; margin-top: 8px; padding-left: 0; }
  .film-signal-grid small { font-size: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .film-term[open] > div { animation: none; }
  .film-term summary i { transition: none; }
}

/* Film library switcher — intentionally compact on mobile. */
.film-picker { align-items: center; display: flex; gap: 10px; margin: 10px 0 2px; min-width: 0; }
.film-picker > span { color: #6f8b9d; flex: 0 0 auto; font-size: 9px; letter-spacing: .12em; writing-mode: vertical-rl; }
.film-picker > div { display: flex; gap: 7px; min-width: 0; overflow-x: auto; padding: 2px 2px 5px; scrollbar-width: none; }
.film-picker > div::-webkit-scrollbar { display: none; }
.film-picker button { align-items: center; appearance: none; background: rgba(14, 34, 50, .82); border: 1px solid rgba(99, 224, 218, .14); border-radius: 13px; color: #89a1b1; cursor: pointer; display: flex; flex: 0 0 auto; gap: 9px; min-height: 44px; padding: 7px 11px; }
.film-picker button b { font-size: 11px; font-weight: 700; }
.film-picker button small { border-left: 1px solid rgba(139, 171, 181, .2); color: #607c8d; font-size: 8px; padding-left: 8px; }
.film-picker button.active { background: linear-gradient(145deg, rgba(71, 204, 197, .2), rgba(67, 102, 173, .14)); border-color: rgba(104, 231, 223, .38); color: #dffdfb; box-shadow: 0 7px 24px rgba(0, 0, 0, .16); }
.film-picker button.active small { color: #75c9c6; }

/* 《欢迎来龙餐馆》：灶火、木色和窗外冷灰，不套用深空视觉。 */
.film-app.film-theme-kitchen {
  --aip-bg: #17110e;
  --aip-surface: #251a15;
  --aip-surface-soft: #302019;
  --aip-text: #fbf0dd;
  --aip-text-secondary: #baa99a;
  --aip-border: rgba(236, 180, 105, .18);
  --aip-primary: #efb66b;
  --aip-primary-soft: #42291a;
  --aip-accent: #df7056;
  --aip-focus: #ffd18e;
  background:
    radial-gradient(circle at 10% 14%, rgba(206, 100, 54, .2), transparent 23%),
    radial-gradient(circle at 90% 42%, rgba(78, 115, 125, .11), transparent 26%),
    linear-gradient(180deg, #17110e, #1d1511 48%, #15100e);
}
.film-app.film-theme-kitchen::before { background-image: linear-gradient(rgba(239, 182, 107, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(239, 182, 107, .025) 1px, transparent 1px); mask-image: linear-gradient(to bottom, #000 0, transparent 68%); }
.film-theme-kitchen .aip-topbar { background: rgba(23, 17, 14, .92); border-color: rgba(239, 182, 107, .16); }
.film-theme-kitchen .aip-contract-header > button,
.film-theme-kitchen .aip-contract-header > b { color: #f3be78; }
.film-theme-kitchen .aip-contract-header > b { background: rgba(239, 182, 107, .09); border-color: rgba(239, 182, 107, .2); }
.film-theme-kitchen .film-picker > span { color: #947d6d; }
.film-theme-kitchen .film-picker button { background: rgba(47, 31, 24, .9); border-color: rgba(232, 174, 99, .14); color: #bda999; }
.film-theme-kitchen .film-picker button small { border-color: rgba(232, 174, 99, .17); color: #876f60; }
.film-theme-kitchen .film-picker button.active { background: linear-gradient(145deg, rgba(202, 104, 56, .27), rgba(109, 63, 38, .25)); border-color: rgba(245, 189, 112, .4); color: #fff2dc; }
.film-theme-kitchen .film-picker button.active small { color: #e7b16e; }
.film-theme-kitchen .film-hero { border-color: rgba(245, 183, 96, .31); box-shadow: 0 24px 70px rgba(0, 0, 0, .5), inset 0 0 60px rgba(211, 105, 48, .08); }
.film-theme-kitchen .film-hero::before { border-color: rgba(245, 183, 96, .46); }
.film-theme-kitchen .film-hero::after { background: linear-gradient(90deg, transparent, rgba(246, 181, 91, .72), transparent); }
.film-theme-kitchen .film-hero-shade { background: linear-gradient(180deg, rgba(12, 8, 6, .05) 18%, rgba(21, 13, 9, .18) 42%, #17110e 100%); }
.film-theme-kitchen .film-hero-telemetry { color: #d1aa7a; }
.film-theme-kitchen .film-hero-telemetry i { background: #f0b05d; box-shadow: 0 0 10px #d86b3e; }
.film-theme-kitchen .film-hero-copy > p { color: #ffc27a; }
.film-theme-kitchen .film-rating { border-color: rgba(239, 182, 107, .28); }
.film-theme-kitchen .film-rating b { color: #ffd08c; }
.film-theme-kitchen .film-signal-grid > div { background: rgba(49, 32, 24, .88); border-color: rgba(232, 174, 99, .15); }
.film-theme-kitchen .film-signal-grid > div::before { background: #e58a52; }
.film-theme-kitchen .film-signal-grid small { color: #8f7565; }
.film-theme-kitchen .film-signal-grid b { color: #fff0d6; }
.film-theme-kitchen .film-signal-grid span { color: #9c8575; }
.film-theme-kitchen .film-thesis,
.film-theme-kitchen .film-map-card,
.film-theme-kitchen .film-tension-card,
.film-theme-kitchen .film-checkin-form { background: linear-gradient(145deg, rgba(51, 33, 25, .96), rgba(31, 22, 18, .96)); border-color: rgba(235, 177, 101, .16); }
.film-theme-kitchen .film-thesis small,
.film-theme-kitchen .film-craft-section header small,
.film-theme-kitchen .film-story-section header small,
.film-theme-kitchen .film-map-intro small,
.film-theme-kitchen .film-tension-card small,
.film-theme-kitchen .film-concept-index > header small,
.film-theme-kitchen .film-journal-hero small,
.film-theme-kitchen .film-records header small { color: #eda15f; }
.film-theme-kitchen .film-thesis h2 { color: #fff3df; }
.film-theme-kitchen .film-thesis p,
.film-theme-kitchen .film-craft-section > header p,
.film-theme-kitchen .film-story-section > header p,
.film-theme-kitchen .film-map-intro p,
.film-theme-kitchen .film-journal-hero p { color: #b8a697; }
.film-theme-kitchen .film-question-strip > span { background: linear-gradient(145deg, #6b3425, #3d261c); border-color: rgba(237, 157, 87, .23); }
.film-theme-kitchen .film-question-strip p { background: rgba(49, 32, 25, .84); border-color: rgba(235, 178, 103, .14); color: #baa99a; }
.film-theme-kitchen .film-question-strip b { color: #efa663; }
.film-theme-kitchen .film-science-primer { background: linear-gradient(160deg, rgba(63, 39, 28, .9), rgba(29, 20, 16, .97)); border-color: rgba(236, 178, 101, .19); }
.film-theme-kitchen .film-science-primer::after { border-color: rgba(235, 177, 101, .12); }
.film-theme-kitchen .film-science-primer header small { color: #efa45f; }
.film-theme-kitchen .film-science-primer header p,
.film-theme-kitchen .film-reality-key span { color: #ab9788; }
.film-theme-kitchen .film-atlas-link { background: rgba(229, 133, 77, .09); border-color: rgba(236, 160, 91, .2); color: #e8b47b; }
.film-theme-kitchen .film-craft-grid article,
.film-theme-kitchen .film-stage-body { background: linear-gradient(145deg, rgba(51, 33, 25, .96), rgba(31, 22, 18, .96)); border-color: rgba(235, 177, 101, .14); }
.film-theme-kitchen .film-craft-grid article > small,
.film-theme-kitchen .film-stage-body > small { color: #e99c5b; }
.film-theme-kitchen .film-craft-grid p,
.film-theme-kitchen .film-stage-body > p { color: #b5a293; }
.film-theme-kitchen .film-craft-gauge svg rect:first-child { fill: #4a3125; }
.film-theme-kitchen .film-craft-gauge svg rect:last-child { fill: #e58a51; }
.film-theme-kitchen .film-act-rail span { background: #3b281f; border-color: rgba(235, 171, 95, .14); color: #b8997f; }
.film-theme-kitchen .film-stage:not(:last-child)::before { background: linear-gradient(#e28b52, rgba(226, 139, 82, .1)); }
.film-theme-kitchen .film-stage-number span { background: #281a14; border-color: rgba(239, 173, 94, .43); color: #f4bd7c; }
.film-theme-kitchen .film-stage-number i { border-color: #17110e; }
.film-theme-kitchen .film-stage-body > blockquote { border-color: #df7b4c; color: #c1a48f; }
.film-theme-kitchen .film-term { background: rgba(55, 36, 27, .93); border-color: rgba(234, 174, 99, .15); color: #f6e8d3; }
.film-theme-kitchen .film-term summary small { color: #9e806c; }
.film-theme-kitchen .film-term summary i { background: rgba(230, 137, 76, .08); border-color: rgba(236, 162, 91, .17); }
.film-theme-kitchen .film-term summary i::before { border-color: #edaa69; }
.film-theme-kitchen .film-term[open] summary i { background: rgba(229, 133, 77, .16); border-color: rgba(239, 174, 101, .42); }
.film-theme-kitchen .film-term > div { border-color: rgba(235, 174, 100, .13); }
.film-theme-kitchen .film-term > div small { color: #eba05e; }
.film-theme-kitchen .film-term > div b { color: #fff0da; }
.film-theme-kitchen .film-term > div p,
.film-theme-kitchen .film-term > div em { color: #b8a394; }
.film-theme-kitchen .film-term > div strong { color: #e2c7ac; }
.film-theme-kitchen .film-term > div .film-term-analogy { background: rgba(229, 133, 77, .08); border-color: #dd7b48; color: #ccb09a; }
.film-theme-kitchen .film-map-intro,
.film-theme-kitchen .film-journal-hero { border-color: rgba(235, 177, 101, .13); }
.film-theme-kitchen .film-map-card { background-image: radial-gradient(circle at center, rgba(143, 80, 45, .15), transparent 52%), linear-gradient(rgba(235, 177, 101, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(235, 177, 101, .025) 1px, transparent 1px); }
.film-theme-kitchen .film-map-edges line { stroke: #956b53; }
.film-theme-kitchen .film-map-edges text { fill: #b99175; stroke: #251a15; }
.film-theme-kitchen .film-tension-svg .grid line { stroke: rgba(225, 169, 101, .14); }
.film-theme-kitchen .film-tension-svg polyline { stroke: #e0704d; filter: drop-shadow(0 0 6px rgba(213, 91, 55, .35)); }
.film-theme-kitchen .film-tension-svg text { fill: #efae79; }
.film-theme-kitchen .film-tension-labels span { color: #9e8471; }
.film-theme-kitchen .film-concept-index > header { background: linear-gradient(145deg, rgba(54, 35, 26, .96), rgba(30, 21, 17, .96)); border-color: rgba(234, 175, 100, .17); }
.film-theme-kitchen .film-concept-index > header p { color: #aa9687; }
.film-theme-kitchen .film-concept-index > nav a { background: #39271f; border-color: rgba(232, 170, 95, .16); color: #bda48f; }
.film-theme-kitchen .film-concept-cluster { border-color: rgba(235, 177, 101, .14); }
.film-theme-kitchen .film-concept-cluster > header span { color: #e99b58; }
.film-theme-kitchen .film-concept-cluster > header b { color: #fff0da; }
.film-theme-kitchen .film-concept-cluster > header small,
.film-theme-kitchen .film-concept-cluster > header p { color: #a48d7b; }
.film-theme-kitchen .film-closing { background: linear-gradient(135deg, #5b2f22, #2f211a); border-color: rgba(237, 169, 92, .22); color: #f7e5cc; }
.film-theme-kitchen .film-app .film-bottom-nav,
.film-theme-kitchen .film-bottom-nav { background: rgba(23, 17, 14, .94); border-color: rgba(235, 177, 101, .17); }
.film-theme-kitchen .film-bottom-nav button.active { background: linear-gradient(145deg, rgba(218, 119, 65, .18), rgba(103, 64, 39, .16)); color: #f1b776; }

@media (max-width: 560px) {
  .film-concept-index > nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .film-concept-index > nav a { align-items: center; display: flex; justify-content: center; min-height: 44px; padding: 7px 9px; text-align: center; }
  .film-picker { margin-top: 7px; }
  .film-picker > span { display: none; }
  .film-picker > div { width: 100%; }
  .film-picker button { flex: 1 0 auto; justify-content: center; }
  .film-theme-kitchen .film-hero { aspect-ratio: 4 / 3; }
}

/* 影片导览首屏：先选片，再进入解读。 */
.film-theme-library {
  background:
    radial-gradient(circle at 12% 5%, rgba(89, 217, 207, .15), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(199, 111, 78, .12), transparent 24%),
    linear-gradient(180deg, #07121f 0, #0a1825 54%, #07111c 100%);
}
.film-library-main { gap: 13px; padding-bottom: 34px; }
.film-library-hero { align-items: center; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 132px; padding: 28px 7px 12px; }
.film-library-hero small { color: #65dfd8; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 9px; letter-spacing: .12em; }
.film-library-hero h1 { color: #f2faf9; font-size: clamp(33px, 7vw, 54px); letter-spacing: -.055em; line-height: 1; margin: 9px 0 12px; }
.film-library-hero h1 span { white-space: nowrap; }
.film-library-hero p { color: #89a1ae; font-size: 12px; line-height: 1.75; margin: 0; max-width: 510px; }
.film-library-radar { align-items: center; aspect-ratio: 1; background: radial-gradient(circle, rgba(103, 225, 216, .11), transparent 68%); border: 1px solid rgba(103, 225, 216, .16); border-radius: 50%; display: flex; flex-direction: column; justify-content: center; position: relative; }
.film-library-radar::before { background: linear-gradient(90deg, transparent 49.5%, rgba(103, 225, 216, .2) 50%, transparent 50.5%), linear-gradient(transparent 49.5%, rgba(103, 225, 216, .2) 50%, transparent 50.5%); border-radius: inherit; content: ""; inset: 0; position: absolute; }
.film-library-radar i { border: 1px solid rgba(103, 225, 216, .15); border-radius: 50%; position: absolute; }
.film-library-radar i:nth-child(1) { inset: 13px; }
.film-library-radar i:nth-child(2) { inset: 29px; }
.film-library-radar i:nth-child(3) { background: #e4b16e; border: 0; box-shadow: 0 0 12px #e4b16e; height: 5px; left: 25px; top: 33px; width: 5px; }
.film-library-radar b { color: #effcfb; font-size: 32px; line-height: 1; position: relative; }
.film-library-radar span { color: #6e8f9d; font-size: 8px; letter-spacing: .12em; margin-top: 6px; position: relative; }
.film-library-strip { background: rgba(13, 31, 45, .72); border: 1px solid rgba(107, 216, 211, .12); border-radius: 14px; display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; }
.film-library-strip span { align-items: center; color: #91a6b0; display: flex; font-size: 10px; gap: 8px; justify-content: center; min-height: 42px; }
.film-library-strip span + span { border-left: 1px solid rgba(107, 216, 211, .1); }
.film-library-strip i { color: #52c9c4; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 8px; font-style: normal; }
.film-library-grid { display: grid; gap: 13px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.film-library-card { background: #0d1d2b; border: 1px solid rgba(112, 220, 216, .14); border-radius: 20px; box-shadow: 0 16px 45px rgba(0, 0, 0, .18); min-width: 0; overflow: hidden; }
.film-library-card:first-child { grid-column: 1 / -1; }
.film-library-card button { appearance: none; background: none; border: 0; color: inherit; cursor: pointer; display: grid; font: inherit; padding: 0; text-align: left; width: 100%; }
.film-library-card:first-child button { grid-template-columns: minmax(0, 1.15fr) minmax(250px, .85fr); }
.film-library-image { aspect-ratio: 16 / 9; display: block; overflow: hidden; position: relative; }
.film-library-card:first-child .film-library-image { aspect-ratio: auto; min-height: 250px; }
.film-library-image img { height: 100%; object-fit: cover; transition: transform .45s ease; width: 100%; }
.film-library-card button:hover .film-library-image img { transform: scale(1.025); }
.film-library-image::after { background: linear-gradient(180deg, rgba(4, 11, 18, .04), rgba(5, 14, 22, .62)); content: ""; inset: 0; position: absolute; }
.film-library-card:first-child .film-library-image::after { background: linear-gradient(90deg, rgba(4, 11, 18, .02) 55%, rgba(8, 20, 30, .55)); }
.film-library-image > i { border-left: 1px solid rgba(156, 240, 233, .58); border-top: 1px solid rgba(156, 240, 233, .58); height: 25px; left: 12px; position: absolute; top: 12px; width: 25px; z-index: 2; }
.film-library-image > em { background: rgba(6, 17, 28, .78); border: 1px solid rgba(133, 228, 221, .2); border-radius: 99px; color: #a9f3ef; font: normal 8px/1 ui-monospace, "SFMono-Regular", Consolas, monospace; padding: 7px 8px; position: absolute; right: 11px; top: 11px; z-index: 2; }
.film-library-image > small { bottom: 11px; color: #ddf9f6; font-size: 9px; left: 12px; letter-spacing: .12em; position: absolute; z-index: 2; }
.film-library-copy { display: flex; flex-direction: column; min-width: 0; padding: 16px; }
.film-library-card:first-child .film-library-copy { justify-content: center; padding: 24px; }
.film-library-copy > span:first-child { align-items: center; display: flex; justify-content: space-between; }
.film-library-copy > span:first-child > small { color: #718b99; font-size: 8px; letter-spacing: .08em; }
.film-library-copy > span:first-child > b { color: #f2ce82; font-size: 17px; }
.film-library-copy > span:first-child > b i { color: #778f9a; font-size: 7px; font-style: normal; font-weight: 500; margin-right: 4px; }
.film-library-copy > strong { color: #f3f8f7; font-size: 22px; letter-spacing: -.035em; line-height: 1.15; margin-top: 11px; }
.film-library-card:first-child .film-library-copy > strong { font-size: 28px; }
.film-library-copy > em { color: #6c818d; font-size: 8px; font-style: normal; margin-top: 4px; }
.film-library-copy > p { color: #9cabb2; display: -webkit-box; font-size: 11px; line-height: 1.65; margin: 11px 0 14px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.film-library-metrics { align-items: center; border-top: 1px solid rgba(115, 211, 207, .1); display: flex; gap: 12px; margin-top: auto; padding-top: 12px; }
.film-library-metrics i { color: #6e8794; font-size: 8px; font-style: normal; }
.film-library-metrics i b { color: #addbd8; font-size: 11px; margin-right: 3px; }
.film-library-metrics u { color: #66dbd5; font-size: 9px; margin-left: auto; text-decoration: none; }
.film-library-theme-kitchen { border-color: rgba(231, 171, 93, .18); }
.film-library-theme-kitchen .film-library-image > i { border-color: rgba(244, 190, 117, .7); }
.film-library-theme-kitchen .film-library-image > small,
.film-library-theme-kitchen .film-library-metrics u { color: #f0bc7c; }
.film-library-theme-archive-ocean { border-color: rgba(188, 153, 105, .2); }
.film-library-theme-archive-ocean .film-library-image > i { border-color: rgba(221, 187, 133, .72); }
.film-library-theme-archive-ocean .film-library-image > small,
.film-library-theme-archive-ocean .film-library-metrics u { color: #d7b982; }
.film-library-note { align-items: flex-start; border-top: 1px solid rgba(112, 207, 203, .1); display: flex; gap: 10px; margin-top: 5px; padding: 15px 6px 0; }
.film-library-note i { background: #5dd5cf; border-radius: 50%; box-shadow: 0 0 8px rgba(93, 213, 207, .45); flex: 0 0 auto; height: 5px; margin-top: 6px; width: 5px; }
.film-library-note p { color: #607984; font-size: 9px; line-height: 1.65; margin: 0; }
.film-library-back { border-radius: 10px !important; color: #b8ece8 !important; font-size: 9px; min-height: 44px !important; padding: 7px 10px !important; }

/* 《里斯本丸沉没》：海图、档案纸与锈红坐标。 */
.film-app.film-theme-mythic-ocean,
.film-app.film-theme-archive-ocean {
  --aip-bg: #09141d;
  --aip-surface: #10212a;
  --aip-surface-soft: #142a33;
  --aip-text: #edf1e9;
  --aip-text-secondary: #99a9a6;
  --aip-border: rgba(205, 181, 134, .17);
  --aip-primary: #d4b67e;
  --aip-primary-soft: #28342f;
  --aip-accent: #b8654f;
  --aip-focus: #f0d39a;
  background: radial-gradient(circle at 84% 5%, rgba(203, 174, 119, .12), transparent 25%), radial-gradient(circle at 10% 40%, rgba(55, 122, 132, .15), transparent 24%), linear-gradient(180deg, #09141d, #0b1921 50%, #09131a);
}
.film-theme-archive-ocean .aip-topbar { background: rgba(8, 19, 27, .92); border-color: rgba(204, 180, 132, .16); }
.film-theme-archive-ocean .aip-contract-header > button,
.film-theme-archive-ocean .aip-contract-header > b { color: #dbbc82; }
.film-theme-archive-ocean .film-hero { border-color: rgba(211, 185, 134, .3); box-shadow: 0 24px 70px rgba(0, 0, 0, .5), inset 0 0 60px rgba(163, 102, 69, .06); }
.film-theme-archive-ocean .film-hero::before { border-color: rgba(220, 191, 136, .52); }
.film-theme-archive-ocean .film-hero::after { background: linear-gradient(90deg, transparent, rgba(216, 184, 126, .72), transparent); }
.film-theme-archive-ocean .film-hero-shade { background: linear-gradient(180deg, rgba(3, 10, 14, .02) 18%, rgba(6, 15, 20, .14) 42%, #09141d 100%); }
.film-theme-archive-ocean .film-hero-telemetry,
.film-theme-archive-ocean .film-picker > span { color: #b7a17d; }
.film-theme-archive-ocean .film-hero-telemetry i { background: #c9785c; box-shadow: 0 0 10px #c9785c; }
.film-theme-archive-ocean .film-hero-copy > p,
.film-theme-archive-ocean .film-thesis small,
.film-theme-archive-ocean .film-craft-section header small,
.film-theme-archive-ocean .film-story-section header small,
.film-theme-archive-ocean .film-map-intro small,
.film-theme-archive-ocean .film-tension-card small,
.film-theme-archive-ocean .film-concept-index > header small,
.film-theme-archive-ocean .film-journal-hero small,
.film-theme-archive-ocean .film-records header small { color: #d3ad76; }
.film-theme-archive-ocean .film-picker button { background: rgba(18, 37, 46, .9); border-color: rgba(211, 184, 133, .16); color: #9ca9a4; }
.film-theme-archive-ocean .film-picker button.active { background: linear-gradient(145deg, rgba(174, 113, 72, .2), rgba(46, 94, 99, .2)); border-color: rgba(218, 184, 125, .4); color: #f2e7cf; }
.film-theme-archive-ocean .film-rating { border-color: rgba(210, 180, 126, .28); }
.film-theme-archive-ocean .film-rating b { color: #efca83; }
.film-theme-archive-ocean .film-thesis,
.film-theme-archive-ocean .film-map-card,
.film-theme-archive-ocean .film-tension-card,
.film-theme-archive-ocean .film-checkin-form,
.film-theme-archive-ocean .film-craft-grid article,
.film-theme-archive-ocean .film-stage-body { background: linear-gradient(145deg, rgba(20, 43, 51, .95), rgba(12, 27, 35, .96)); border-color: rgba(210, 182, 130, .15); }
.film-theme-archive-ocean .film-map-card { background-image: radial-gradient(circle at center, rgba(62, 125, 128, .14), transparent 53%), linear-gradient(rgba(210, 182, 130, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(210, 182, 130, .03) 1px, transparent 1px); }
.film-theme-archive-ocean .film-map-edges line { stroke: #6d8d8e; }
.film-theme-archive-ocean .film-map-edges text { fill: #b7a47f; stroke: #10212a; }
.film-theme-archive-ocean .film-tension-svg polyline { stroke: #bb6b52; filter: drop-shadow(0 0 6px rgba(187, 107, 82, .35)); }
.film-theme-archive-ocean .film-tension-svg text { fill: #d4b37c; }
.film-theme-archive-ocean .film-concept-index > header { background: linear-gradient(145deg, rgba(24, 49, 56, .96), rgba(12, 27, 34, .96)); border-color: rgba(209, 180, 128, .16); }
.film-theme-archive-ocean .film-concept-index > nav a { background: #172d35; border-color: rgba(205, 178, 128, .16); color: #c0ad89; }
.film-theme-archive-ocean .film-closing { background: linear-gradient(135deg, #263b3c, #1d292a); border-color: rgba(207, 175, 118, .2); color: #eee2c9; }
.film-theme-archive-ocean .film-bottom-nav { background: rgba(8, 20, 27, .95); border-color: rgba(207, 178, 126, .17); }
.film-theme-archive-ocean .film-bottom-nav button.active { background: linear-gradient(145deg, rgba(177, 108, 77, .16), rgba(72, 113, 110, .14)); color: #d7b77d; }

@media (max-width: 560px) {
  .film-library-main { padding-inline: 9px; }
  .film-library-hero { gap: 12px; grid-template-columns: minmax(0, 1fr) 86px; padding: 18px 3px 8px; }
  .film-library-hero h1 { font-size: 31px; margin: 7px 0 9px; }
  .film-library-hero h1 span { display: block; margin-top: 3px; }
  .film-library-hero p { font-size: 10px; line-height: 1.65; }
  .film-library-radar b { font-size: 24px; }
  .film-library-radar span { font-size: 6px; }
  .film-library-radar i:nth-child(1) { inset: 9px; }
  .film-library-radar i:nth-child(2) { inset: 20px; }
  .film-library-radar i:nth-child(3) { left: 16px; top: 22px; }
  .film-library-strip span { min-height: 37px; }
  .film-library-grid { grid-template-columns: 1fr; }
  .film-library-card:first-child { grid-column: auto; }
  .film-library-card:first-child button { grid-template-columns: 1fr; }
  .film-library-card:first-child .film-library-image { aspect-ratio: 16 / 8.5; min-height: 0; }
  .film-library-card:first-child .film-library-image::after { background: linear-gradient(180deg, rgba(4, 11, 18, .04), rgba(5, 14, 22, .62)); }
  .film-library-card:first-child .film-library-copy { padding: 14px 15px; }
  .film-library-card:first-child .film-library-copy > strong,
  .film-library-copy > strong { font-size: 21px; }
  .film-library-copy > p { margin-block: 9px 11px; }
  .film-library-back { flex: 0 0 auto !important; }
  .film-theme-archive-ocean .film-hero { aspect-ratio: 4 / 3; }
  .film-picker { align-items: stretch; display: grid; grid-template-columns: 66px minmax(0, 1fr); }
  .film-picker > div { display: grid; gap: 5px; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; padding: 0; width: auto; }
  .film-picker > div > button { flex: none; flex-direction: column; gap: 2px; justify-content: center; min-width: 0; padding: 6px 3px; text-align: center; }
  .film-picker > div > button b { font-size: 9px; line-height: 1.25; overflow-wrap: anywhere; }
  .film-picker > div > button small { border-left: 0; font-size: 7px; padding-left: 0; }
}

@media (max-width: 340px) {
  .film-library-hero { grid-template-columns: 1fr; }
  .film-library-radar { display: none; }
  .film-library-strip span { font-size: 9px; gap: 5px; }
  .film-library-metrics { gap: 8px; }
}

/* Mobile reading pass: readable Chinese body copy without loosening the layout. */
@media (max-width: 720px) {
  .film-app {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .film-app .aip-contract-header strong { font-size: 16px; }
  .film-app .aip-contract-header small { font-size: 11px; line-height: 1.35; }
  .film-app .aip-contract-header > button:not(.aip-fullscreen-toggle) { font-size: 11px; }

  .film-main { gap: 15px; padding-inline: 12px; }
  .film-hero { margin-inline: -12px; }
  .film-hero-telemetry { font-size: 10px; }
  .film-hero-copy > p { font-size: 12px; }
  .film-hero-copy > span { font-size: 12px; line-height: 1.35; }
  .film-spoiler { align-items: flex-start; padding: 11px 13px; }
  .film-spoiler b { font-size: 11px; margin-top: 1px; }
  .film-spoiler span { font-size: 13px; line-height: 1.55; }

  .film-thesis small,
  .film-craft-section header small,
  .film-story-section header small,
  .film-map-intro small,
  .film-tension-card small,
  .film-concept-index > header small,
  .film-journal-hero small,
  .film-records header small { font-size: 11px; line-height: 1.4; }

  .film-thesis { padding: 16px; }
  .film-thesis h2 { font-size: 23px; line-height: 1.45; margin-block: 8px; }
  .film-thesis p { font-size: 15px; line-height: 1.78; }

  .film-question-strip { gap: 8px; }
  .film-question-strip > span { font-size: 14px; min-height: 44px; }
  .film-question-strip p { font-size: 14px; line-height: 1.65; padding: 13px 14px; }
  .film-question-strip b { font-size: 11px; margin-bottom: 4px; }

  .film-craft-section,
  .film-story-section,
  .film-concept-index,
  .film-records { margin-top: 22px; }
  .film-craft-section > header h2,
  .film-story-section > header h2,
  .film-concept-index > header h2,
  .film-records > header h2 { font-size: 26px; line-height: 1.3; margin-block: 5px 7px; }
  .film-craft-section > header p,
  .film-story-section > header p,
  .film-map-intro p,
  .film-journal-hero p { font-size: 14px; line-height: 1.72; }

  .film-craft-grid { gap: 9px; margin-top: 13px; }
  .film-craft-grid article { padding: 15px; }
  .film-craft-grid article > small { font-size: 11px; }
  .film-craft-grid h3 { font-size: 17px; line-height: 1.45; margin-block: 6px; }
  .film-craft-grid p { font-size: 14px; line-height: 1.72; }
  .film-craft-gauge b { font-size: 13px; }

  .film-signal-grid small { font-size: 9px; line-height: 1.35; }
  .film-signal-grid b { font-size: 24px; }
  .film-signal-grid span { font-size: 11px; line-height: 1.35; }
  .film-act-rail span { font-size: 11px; line-height: 1.35; padding-block: 7px; }
  .film-stage-body { padding: 15px; }
  .film-stage-body > small { font-size: 11px; line-height: 1.4; }
  .film-stage-body h3 { font-size: 21px; line-height: 1.4; margin-block: 6px 9px; }
  .film-stage-body > p { font-size: 15px; line-height: 1.76; }
  .film-stage-body > blockquote { font-size: 13px; line-height: 1.72; padding-left: 11px; }

  .film-science-primer { padding: 16px; }
  .film-science-primer header small { font-size: 11px; line-height: 1.4; }
  .film-science-primer h2 { font-size: 23px; line-height: 1.4; }
  .film-science-primer header p { font-size: 14px; line-height: 1.72; }
  .film-reality-key { gap: 8px 12px; margin-block: 13px 10px; }
  .film-reality-key span { font-size: 11px; line-height: 1.35; }
  .film-atlas-link { font-size: 13px; }

  .film-term summary { font-size: 14px; line-height: 1.45; min-height: 48px; padding: 10px 12px; }
  .film-term summary small { font-size: 10px; line-height: 1.35; }
  .film-term > div { gap: 9px; padding: 13px; }
  .film-term > div mark { font-size: 10px; }
  .film-term > div small { font-size: 11px; line-height: 1.4; }
  .film-term > div b { font-size: 15px; line-height: 1.65; }
  .film-term > div p,
  .film-term > div em { font-size: 14px; line-height: 1.72; }

  .film-map-intro,
  .film-journal-hero { padding: 19px 4px 4px; }
  .film-map-intro h1,
  .film-journal-hero h1 { font-size: 29px; line-height: 1.35; }
  .film-map-legend span { font-size: 11px; line-height: 1.35; }
  .film-map-edges text { font-size: 10px; }
  .film-map-node text { font-size: 11px; }
  .film-tension-card { padding: 15px; }
  .film-tension-card h2 { font-size: 21px; line-height: 1.4; }
  .film-tension-card header p { font-size: 13px; line-height: 1.68; }
  .film-tension-svg text { font-size: 10px; }
  .film-tension-labels span { font-size: 9px; line-height: 1.35; }

  .film-concept-index > header { padding: 17px; }
  .film-concept-index > header p { font-size: 14px; line-height: 1.72; }
  .film-concept-index > nav a { font-size: 12px; }
  .film-concept-cluster > header span { font-size: 10px; }
  .film-concept-cluster > header b { font-size: 21px; line-height: 1.35; }
  .film-concept-cluster > header small { font-size: 11px; }
  .film-concept-cluster > header p { font-size: 13px; line-height: 1.65; }

  .film-checkin-form { gap: 15px; padding: 16px; }
  .film-checkin-form header small,
  .film-checkin-form > label,
  .film-checkin-form legend { font-size: 13px; line-height: 1.45; }
  .film-checkin-form input[type=date],
  .film-checkin-form textarea { font-size: 16px; line-height: 1.55; }
  .film-star-picker span { font-size: 11px; min-height: 46px; }
  .film-star-picker small { font-size: 10px; line-height: 1.35; }
  .film-private-note { font-size: 11px; line-height: 1.6; }
  .film-records article { grid-template-columns: 86px minmax(0, 1fr); }
  .film-records time { font-size: 11px; line-height: 1.45; }
  .film-records article b { font-size: 14px; }
  .film-records article p { font-size: 14px; line-height: 1.72; }
  .film-closing { font-size: 18px; line-height: 1.78; padding: 20px; }
  .film-method-note { font-size: 11px; line-height: 1.65; }

  .film-picker > div > button { min-height: 52px; padding-block: 7px; }
  .film-picker > div > button b { font-size: 11px; line-height: 1.35; }
  .film-picker > div > button small { font-size: 9px; line-height: 1.3; }
  .film-library-back { font-size: 11px !important; }

  .film-library-hero small { font-size: 10px; line-height: 1.4; }
  .film-library-hero h1 { font-size: 34px; line-height: 1.08; }
  .film-library-hero p { font-size: 14px; line-height: 1.72; }
  .film-library-radar span { font-size: 8px; line-height: 1.3; }
  .film-library-strip span { font-size: 11px; min-height: 42px; }
  .film-library-strip i { font-size: 10px; }
  .film-library-image > em { font-size: 10px; }
  .film-library-image > small { font-size: 11px; }
  .film-library-copy { padding: 16px; }
  .film-library-copy > span:first-child > small { font-size: 11px; line-height: 1.35; }
  .film-library-copy > span:first-child > b { font-size: 19px; }
  .film-library-copy > span:first-child > b i { font-size: 9px; }
  .film-library-card:first-child .film-library-copy > strong,
  .film-library-copy > strong { font-size: 24px; line-height: 1.25; }
  .film-library-copy > em { font-size: 11px; line-height: 1.4; }
  .film-library-copy > p { font-size: 14px; line-height: 1.7; -webkit-line-clamp: 3; }
  .film-library-metrics i { font-size: 10px; line-height: 1.35; }
  .film-library-metrics i b { font-size: 13px; }
  .film-library-metrics u { font-size: 11px; }
  .film-library-note p { font-size: 11px; line-height: 1.65; }
  .film-app .film-bottom-nav button span { font-size: 12px; }
}

@media (max-width: 360px) {
  .film-main { padding-inline: 10px; }
  .film-hero { margin-inline: -10px; }
  .film-library-hero h1 { font-size: 32px; }
  .film-library-strip span { font-size: 10px; gap: 5px; }
  .film-library-copy { padding-inline: 14px; }
  .film-library-metrics { gap: 7px; }
  .film-library-metrics u { font-size: 10px; }
  .film-picker { grid-template-columns: 62px minmax(0, 1fr); }
  .film-picker > div > button b { font-size: 10px; }
}

#public-site .home-product-film .home-product-image picture { display: block; height: 100%; width: 100%; }
