.film-hero {
  position:relative; isolation:isolate; overflow:hidden; display:flex; align-items:flex-end;
  min-height:clamp(340px,32vw,425px); padding:clamp(30px,3.5vw,54px);
  color:#f8faff; background:#111a2d; border:1px solid #63708c66; border-radius:16px;
}
.hero-scene,.hero-shade {position:absolute; inset:0; width:100%; height:100%; z-index:-2}
.hero-scene {object-fit:cover; object-position:62% 52%}
.hero-shade {
  z-index:-1;
  background:linear-gradient(90deg,rgba(5,10,23,.93) 0%,rgba(9,15,30,.77) 28%,rgba(7,13,23,.18) 66%,transparent 90%),
    linear-gradient(0deg,rgba(4,8,17,.72),transparent 45%);
}
.hero-story {position:relative; max-width:70%}
.studio-mark {
  display:inline-flex; gap:9px; align-items:center; padding:3px 10px; margin-bottom:20px;
  border:1px solid #b1c8ff3b; border-radius:999px; color:#e5e6ff; background:#10162ca8;
  font-size:12px; line-height:1.6; font-weight:600; letter-spacing:.04em;
}
.stamp-dot {width:6px; height:6px; border-radius:50%; background:#a9b8ff; box-shadow:0 0 9px #899fff}
.hero-story h1 {margin:0; color:inherit; font-size:clamp(42px,4.6vw,72px); font-weight:750; letter-spacing:-.055em; line-height:1.08}
.hero-stop {color:#b6bdff}
.hero-story p {margin:18px 0 23px; max-width:32em; color:#e0e6f0; font-size:14px; line-height:1.7}
.hero-actions {display:flex; flex-wrap:wrap; gap:12px}
.hero-actions .btn {min-height:40px; padding:9px 17px; font-size:14px}
.hero-actions [data-home-icon],.console-heading [data-home-icon],.console-stat h2>span {display:inline-flex}
.hero-actions .ghost-film {background:rgba(12,17,30,.7); color:#f4f6ff; border:1px solid #a8b9d257}
.hero-actions .ghost-film:hover {border-color:#c6cdff}
.ghost-film>span {margin-left:4px}
.film-caption {position:absolute; bottom:22px; right:24px; color:#ebedf6; display:flex; align-items:center; gap:8px; font-size:11px; font-weight:600; letter-spacing:.03em; text-shadow:0 1px 4px #000}
.frame-glyph {display:inline-block; width:14px; height:10px; border:1px solid currentColor; border-radius:2px; position:relative}
.frame-glyph:before {content:""; position:absolute; top:2px; left:2px; width:3px; height:3px; border-radius:50%; background:currentColor}
.home-block {margin-top:34px; scroll-margin-top:32px}
.home-heading {display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:16px}
.home-heading h2,.home-heading h1 {color:var(--text); margin:0; font-size:22px; line-height:1.35; letter-spacing:-.04em; font-weight:700}
.home-heading p {margin:5px 0 0; color:var(--muted); font-size:13px; line-height:1.6}
.inspiration-wall,.quick-links {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px}
.scene-link,.home-price,.console-stat,.quick-links>a,.console-history {
  border:1px solid var(--line); border-radius:14px; background:var(--panel); box-shadow:inset 0 1px 0 #ffffff09;
}
.scene-link {display:block; overflow:hidden; min-width:0; color:var(--text); text-decoration:none; transition:border-color .25s,box-shadow .25s}
.scene-link:hover,.quick-links>a:hover {border-color:#758dff87; box-shadow:0 6px 24px #5777fa13}
.scene-still {position:relative; aspect-ratio:2/1; overflow:hidden; background:#141a24}
.scene-still img {display:block; width:100%; height:100%; object-fit:cover; transition:transform .35s cubic-bezier(.16,1,.3,1)}
.scene-link:hover img {transform:scale(1.03)}
.scene-link:nth-child(1) img {object-position:68% 58%}
.scene-link:nth-child(2) img {object-position:54% 65%}
.scene-link:nth-child(3) img {object-position:50% 47%}
.film-time {position:absolute; right:10px; bottom:9px; padding:2px 6px; border:1px solid #ffffff28; border-radius:4px; background:#040810c9; color:white; font:11px/1.35 ui-monospace,Consolas,monospace}
.scene-label {display:flex; align-items:center; justify-content:space-between; gap:10px; padding:13px 15px}
.scene-label h3,.home-price h3 {margin:0; color:var(--text); font-size:16px; font-weight:650; line-height:1.5; letter-spacing:-.025em}
.scene-label div>span,.home-price p,.quick-links small,.stat-note,.recent-row time,.recent-name small {color:var(--muted); font-size:12px}
.scene-label b,.quick-links b {font-size:17px; font-weight:400; color:var(--muted)}
.home-prices {display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr)); gap:16px}
.home-price {display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; padding:20px}
.home-price p {margin:4px 0 0}
.price-action {text-align:right}
.price-action strong {display:block; font:600 22px/1.3 ui-monospace,Consolas,monospace; color:var(--text)}
.price-action small {font:12px system-ui; color:var(--muted)}
.home-link,.stat-link {color:var(--accent); font-size:13px; font-weight:600; text-decoration:none}
.home-link:hover,.stat-link:hover {text-decoration:underline}
.console-heading {margin-bottom:24px}
.console-heading h1 {font-size:32px}
.console-stats {display:grid; grid-template-columns:1.25fr repeat(3,1fr); gap:14px}
.console-stat {padding:18px; min-width:0}
.stat-wallet {background:linear-gradient(135deg,#7289ff1f,transparent 90%),var(--panel); border-color:#7786fb59}
.console-stat h2 {display:flex; align-items:center; gap:8px; margin:0; font-size:13px; font-weight:500; color:var(--muted)}
.console-stat p {display:flex; align-items:baseline; flex-wrap:wrap; gap:6px; margin:12px 0 7px; line-height:1.2; color:var(--text)}
.console-stat strong {font:600 clamp(27px,3vw,42px)/1.16 ui-monospace,Consolas,monospace; letter-spacing:-.065em}
.stat-wallet strong {font-size:clamp(32px,3.5vw,48px); background:linear-gradient(160deg,var(--text) 40%,var(--muted)); background-clip:text; color:transparent}
.console-stat small {font-size:12px; color:var(--muted)}
.console-history {overflow:hidden}
.recent-row {display:grid; grid-template-columns:68px minmax(0,1fr) 70px 60px; gap:16px; align-items:center; padding:13px 18px; color:var(--text); text-decoration:none}
.recent-row+.recent-row {border-top:1px solid var(--line)}
.recent-row:hover {background:#818de814}
.recent-row img {width:68px; height:41px; object-fit:cover; border-radius:6px}
.recent-name {min-width:0}
.recent-name strong,.recent-name small {display:block; text-overflow:ellipsis; overflow:hidden; white-space:nowrap}
.recent-name strong {font-size:14px; font-weight:600}
.recent-row time {text-align:right; font-family:ui-monospace,Consolas,monospace}
.recent-status {display:inline-flex; align-items:center; justify-self:start; gap:5px; font-size:12px; color:var(--muted)}
.recent-status:before {content:""; width:6px; height:6px; border-radius:50%; background:#9ca7ba}
.recent-status[data-status=done]:before {background:#22c55e}
.recent-status[data-status=running]:before {background:#6d93ff}
.recent-status[data-status=failed]:before {background:#ef4444}
.history-empty {padding:22px; text-align:center}
.quick-links>a {min-width:0; padding:18px 16px; display:flex; gap:12px; align-items:center; text-decoration:none; color:var(--text); font-weight:600}
.quick-links small {display:block; font-weight:400; margin-top:3px}
.quick-links b {margin-left:auto}
.quick-links [data-home-icon] {display:grid; place-items:center; width:36px; height:36px; border-radius:10px; color:var(--accent); background:#7180ff18}
@media(max-width:1100px) {.console-stats {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px) {
  .film-hero {min-height:350px}
  .hero-story {max-width:83%}
  .inspiration-wall,.quick-links {gap:10px}
  .scene-label {padding:10px}
  .quick-links>a {padding:13px; gap:8px}
}
@media(max-width:640px) {
  .film-hero {min-height:341px; padding:24px 20px; border-radius:14px}
  .hero-story {max-width:100%}
  .hero-story h1 {font-size:47px}
  .hero-story p {max-width:19em; font-size:13px; margin:16px 0 19px}
  .studio-mark {margin-bottom:17px}
  .hero-shade {background:linear-gradient(90deg,rgba(5,10,23,.82),rgba(5,10,23,.38) 70%,transparent),linear-gradient(0deg,#060a14db,transparent 83%)}
  .hero-scene {object-position:67% 50%}
  .film-caption {display:none}
  .home-block {margin-top:27px}
  .home-heading h2 {font-size:20px}
  .inspiration-wall,.quick-links {grid-template-columns:1fr}
  .scene-still {aspect-ratio:2.18/1}
  .scene-label {padding:12px 14px}
  .console-stats {gap:8px}
  .console-stat {padding:13px}
  .console-heading {align-items:flex-start}
  .console-heading h1 {font-size:27px}
  .console-heading .btn {white-space:nowrap}
  .recent-row {grid-template-columns:45px minmax(0,1fr) auto; gap:8px; padding:11px}
  .recent-row img {width:45px; height:34px}
  .recent-row time {display:none}
}
@media(prefers-reduced-motion:reduce) {.scene-still img,.scene-link {transition:none}.scene-link:hover img {transform:none}}
@media(min-width:1101px) {
  .console-stats {grid-template-columns:minmax(0,1.25fr) repeat(4,minmax(0,1fr))}
}
@media(max-width:1100px) {
  .console-stats .stat-wallet {grid-column:1/-1}
}
