.home-heading, .rail-heading, .hero-actions, .film-meta, .ambient-info, .hero-kicker { display: flex; align-items: center; }
.home-heading { height: 4.35rem; justify-content: space-between; }
.home-heading h1 { font-size: 2.23rem; line-height: 1; margin: 0; letter-spacing: -.067em; font-weight: 580; }
.home-heading time { font-size: .85rem; color: #b2b2ac; }
.feature { position: relative; height: 15.85rem; border-radius: .94rem; overflow: hidden; isolation: isolate; background: #182220; border: 1px solid #83847865; }
.feature::before, .feature::after, .feature-art { content: ''; position: absolute; inset: 0; z-index: -1; }
.feature::before { background: url("assets/lunar-drift.svg") center 48% / cover; }
.feature::after { background: linear-gradient(90deg, rgba(3,8,9,.95) 0%, rgba(5,9,10,.82) 22%, rgba(8,12,12,.33) 44%, transparent 68%),linear-gradient(0deg,#08100ebf, transparent 24%); }
.feature-art { background-size: cover; background-position: center; transition: opacity .45s; opacity: 0; }
.feature[data-mode="ambient"] .feature-art { opacity: 1; animation: art-drift 24s ease-in-out infinite alternate; }
.feature-inner { padding: 1.55rem 2rem; }
.hero-kicker { gap: .52rem; color: #f4ae85; font: 600 .66rem/1.2 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.hero-kicker svg { width: .82rem; height: .82rem; }
.feature h2 { margin: .62rem 0 .22rem; font: 560 4.2rem/1.06 var(--sans); letter-spacing: -.07em; }
.film-meta { gap: .52rem; font-size: .85rem; color: #dfded6; }
.film-meta i { width: .2rem; height: .2rem; border-radius: 50%; background: #a8aaa1; }
.hero-actions { gap: .58rem; margin-top: 1.15rem; }
.hero-actions button { display: inline-flex; align-items: center; gap: .48rem; border-radius: .47rem; height: 2.3rem; padding: 0 1.02rem; font-size: .86rem; font-weight: 660; }
.hero-primary { background: #f1eee6; color: #1b1c1a; }
.hero-secondary { background: #2b3130b3; border: 1px solid #dbe3db3d; backdrop-filter: blur(28px); }
.hero-actions svg { width: .96rem; height: .96rem; }
.progress-note { display: flex; align-items: center; gap: .58rem; margin-top: .88rem; color: #babdb4; font: .64rem/1 var(--mono); }
.progress-track { width: 4.6rem; height: .19rem; background: #ffffff35; border-radius: .2rem; overflow: hidden; }
.progress-track i { display: block; width: 63%; height: 100%; background: #e5a17b; }
.feature-spec { position: absolute; bottom: 1rem; right: 1.1rem; display: flex; align-items: center; gap: .38rem; color: #f3e6d5; font: 600 .61rem/1 var(--mono); letter-spacing: .06em; }
.feature-spec span { border: 1px solid #dfd3ba70; border-radius: .18rem; background: #151a17a6; padding: .23rem .3rem; }
.rail-heading { justify-content: space-between; margin: 1.05rem 0 .58rem; }
.rail-heading h2 { margin: 0; font-size: 1.17rem; font-weight: 600; letter-spacing: -.035em; }
.rail-note { display: flex; align-items: center; gap: .42rem; color: #a6a8a1; font: .72rem/1 var(--sans); }
.rail-note .orbit-icon { width: .93rem; height: .93rem; color: #d0a68b; }
.app-rail { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); gap: .66rem; }
.app-slot { padding: 0; text-align: center; color: #deded9; border-radius: .6rem; min-width: 0; }
.app-square { position: relative; display: grid; place-items: center; height: 3.62rem; border: 1px solid #ffffff21; border-radius: .63rem; overflow: hidden; }
.app-square::after { position: absolute; content: ''; inset: 0; background: linear-gradient(145deg,#ffffff0c,transparent 58%); pointer-events: none; }
.app-square svg { width: 3.38rem; height: 3.38rem; }
.app-label { display: block; font-size: .79rem; margin-top: .33rem; }
.ambient-rail { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .72rem; }
.ambient-card { display: flex; align-items: flex-end; overflow: hidden; position: relative; isolation: isolate; text-align: left; height: 4.6rem; border-radius: .62rem; border: 1px solid #ffffff26; padding: .65rem .85rem; }
.ambient-card::before, .ambient-card::after { position: absolute; content: ''; inset: 0; z-index: -1; }
.ambient-card::before { background: var(--art) center 49% / cover; }
.ambient-card::after { background: linear-gradient(90deg,#060a0bc4,transparent 90%),linear-gradient(0deg,#04060ab0,transparent 95%); }
.ambient-card[aria-pressed="true"] { border-color: #9bafa175; }
.ambient-card strong { font-weight: 600; font-size: 1rem; letter-spacing: -.035em; }
.ambient-card .live-tag { position: absolute; right: .48rem; top: .44rem; border-radius: .2rem; padding: .17rem .29rem; background: #0b1717bd; color: #e3efe6; display: none; gap: .25rem; align-items: center; font: .54rem/1 var(--mono); letter-spacing: .07em; }
.ambient-card[aria-pressed="true"] .live-tag { display: flex; }
.live-tag .status-led { width: .28rem; height: .28rem; }
.ambient-card[aria-pressed="true"]::before { animation: art-drift 18s ease-in-out infinite alternate; }
@keyframes art-drift { to { transform: scale(1.14) translate(1.5%,-1%); } }
.home-dialog { background: #181a18; border: 1px solid #79766a; padding: 1.65rem; color: var(--ink); border-radius: 1rem; width: 28rem; box-shadow: 0 1rem 5rem #000b; }
.home-dialog::backdrop { background: #000a; backdrop-filter: blur(12px); }
.home-dialog h2 { font-size: 2.3rem; margin: .48rem 0; letter-spacing: -.055em; }
.home-dialog p { color: #c0c3bb; }
.home-dialog button { background: var(--ink); border-radius: .48rem; color: #111; padding: .53rem 1.12rem; }
