.night { --night-text: #e5e1df; --night-muted: #b5b0ae; --night-rose: #bc929d; color-scheme: dark; color: var(--night-text); background: #1c1d20; font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif; font-weight: 400; min-height: 100svh; position: relative; isolation: isolate; }
.night::before { content: ""; position: fixed; inset: 0; background: url('/assets/images/night-grain.png') center / cover; opacity: .24; pointer-events: none; z-index: -1; }
.night button, .night a { -webkit-tap-highlight-color: transparent; }
.night button { color: inherit; }
.night a { text-decoration: none; }
.night button { border: 0; background: none; padding: 0; }
.night a:hover, .night button:hover { color: #fff; }
.night :focus-visible { outline: 2px solid var(--night-rose); outline-offset: 7px; }
.night-skip { position: fixed; top: 12px; left: 20px; padding: 12px; background: #29272c; z-index: 5; transform: translateY(-150%); }
.night-skip:focus { transform: none; }
.night-header { height: 112px; padding: 0 clamp(28px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; }
.night-brand { font-size: 34px; font-weight: 400; letter-spacing: .015em; line-height: 1; }
.night-header nav { display: flex; align-items: center; gap: 52px; font-size: 16px; color: var(--night-muted); }
.night-header nav a, .night-header nav button { display: inline-flex; align-items: center; min-height: 44px; }
.night-main { min-height: calc(100svh - 112px); display: flex; align-items: center; padding: 70px 0 112px; }
.night-layout { width: min(1230px, calc(100% - 176px)); margin: 0 auto; display: grid; grid-template-columns: .40fr .60fr; gap: 55px; align-items: start; transform: translateY(-22px); }
.night-overline { margin: 0 0 28px; font-size: 14px; letter-spacing: .29em; color: var(--night-muted); }
.night-intro h1 { margin: 0; font-weight: 400; font-size: clamp(42px, 4.85vw, 72px); line-height: 1.38; letter-spacing: -.035em; white-space: nowrap; }
.night-lead { margin: 26px 0 0; color: var(--night-muted); font-size: 22px; line-height: 1.8; letter-spacing: .01em; }
.night-player { min-width: 0; padding-top: 40px; position: relative; }
.night-voice { margin: 0; font-size: 17px; letter-spacing: .07em; color: var(--night-muted); }
.night-wave { margin: 32px 0 24px; height: 96px; position: relative; overflow: hidden; border-radius: 3px; }
.night-wave img { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 100%; max-width: none; mix-blend-mode: lighten; pointer-events: none; }
.night-wave input { width: 100%; height: 100%; position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.night-wave:focus-within { outline: 2px solid var(--night-rose); outline-offset: 5px; }
.night-controls { display: flex; align-items: center; gap: 24px; }
.night .night-play { width: 76px; height: 76px; flex: 0 0 76px; border-radius: 50%; display: grid; place-items: center; background: var(--night-rose); transition: background .2s, transform .2s; }
.night .night-play:hover { background: #cca3ad; transform: scale(1.035); }
.night-play img { width: 26px; height: 26px; filter: invert(95%); }
.night-caption { font-size: 22px; letter-spacing: .015em; }
.night-time { font-size: 15px; color: var(--night-muted); font-variant-numeric: tabular-nums; white-space: nowrap; margin-left: auto; }
.night-player-footer { margin-top: 36px; padding-top: 19px; border-top: 1px solid #696366; display: flex; align-items: center; justify-content: space-between; color: var(--night-muted); gap: 16px; }
.night-change { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-size: 16px; }
.night-change img, .voice-create img { width: 21px; height: 21px; filter: invert(72%); }
.night-demo { font-size: 13px; letter-spacing: .035em; }
.night-status { position: absolute; top: 100%; color: #dfb1bc; font-size: 14px; line-height: 1.6; margin: 14px 0 0; }
.voice-dialog { width: min(480px, calc(100% - 40px)); max-height: calc(100svh - 48px); padding: 30px; border: 1px solid #575156; border-radius: 12px; background: #242327; color: var(--night-text); }
.voice-dialog::backdrop { background: #08070aba; }
.voice-dialog-header { display: flex; justify-content: space-between; align-items: center; }
.voice-dialog h2 { font-size: 23px; font-weight: 400; margin: 0; }
.voice-dialog-header button { min-height: 44px; min-width: 44px; color: var(--night-muted); font-size: 14px; }
.voice-dialog-note { font-size: 14px; line-height: 1.7; color: var(--night-muted); margin: 12px 0 20px; }
.voice-options { border-top: 1px solid #4e484e; }
.night .voice-option { display: flex; width: 100%; align-items: center; justify-content: space-between; text-align: left; padding: 19px 0; border-bottom: 1px solid #4e484e; }
.voice-option strong { display: block; font-size: 17px; font-weight: 400; }
.voice-option small { display: block; color: var(--night-muted); margin-top: 6px; font-size: 13px; }
.voice-option > span:last-child { font-size: 13px; color: var(--night-muted); }
.voice-option[aria-pressed=true] > span:last-child { color: #dfb1bc; }
.voice-create { margin-top: 24px; min-height: 44px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; }
.voice-dialog-links { display: flex; gap: 28px; margin-top: 16px; font-size: 13px; color: var(--night-muted); }
.voice-dialog-links a { min-height: 44px; display: flex; align-items: center; }
@media (min-width: 1600px) { .night-layout { max-width: 1310px; gap: 78px; } }
@media (max-width: 1000px) { .night-layout { width: calc(100% - 96px); gap: 36px; } .night-intro h1 { font-size: 44px; } .night-lead { font-size: 16px; } .night-time { font-size: 12px; } .night-controls { gap: 16px; } .night-caption { font-size: 18px; } .night .night-play { width: 60px; height: 60px; flex-basis: 60px; } }
@media (max-width: 760px) { .night-header { height: 96px; padding: 0 28px; } .night-brand { font-size: 29px; } .night-header nav { gap: 28px; font-size: 15px; } .night-main { min-height: calc(100svh - 96px); padding: 52px 0 90px; align-items: flex-start; } .night-layout { width: calc(100% - 56px); grid-template-columns: 1fr; gap: 55px; transform: none; } .night-overline { font-size: 11px; margin-bottom: 21px; } .night-intro h1 { font-size: clamp(38px, 8.5vw, 56px); line-height: 1.4; } .night-lead { font-size: 16px; margin-top: 19px; } .night-player { padding-top: 0; } .night-voice { font-size: 15px; } .night-wave { margin: 20px 0; height: 72px; } .night-player-footer { margin-top: 28px; padding-top: 13px; } .night-demo { font-size: 12px; } .night-change { font-size: 14px; gap: 12px; } .night-time { font-size: 12px; } .night-status { position: static; } }
@media (prefers-reduced-motion: reduce) { .night * { scroll-behavior: auto; transition: none !important; } }
