:root {
  --ink: #edf1e9;
  --muted: #aeb9ae;
  --faint: rgba(237, 241, 233, .12);
  --panel: rgba(17, 25, 22, .66);
  --panel-strong: rgba(15, 23, 20, .9);
  --sage: #b9c9a5;
  --amber: #e6b96d;
  --dark: #0d1412;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #101714;
  font-family: "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  overflow-x: hidden;
}
button, input { font: inherit; }
button { color: inherit; }

.scene { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: linear-gradient(145deg, #1e302d 0%, #17221f 42%, #0d1513 100%); }
.sky-glow { position: absolute; inset: 0; background: radial-gradient(circle at 69% 23%, rgba(177, 197, 178, .23), transparent 24%), linear-gradient(180deg, rgba(69, 92, 85, .54), rgba(22, 34, 31, .5) 55%, #111816); }
.moon { position: absolute; top: 12%; left: 71%; width: 58px; aspect-ratio: 1; border-radius: 50%; background: #d5dbc8; box-shadow: 0 0 45px 12px rgba(209, 221, 198, .17); opacity: .65; }
.mountain { position: absolute; left: 20%; right: -10%; bottom: 18%; height: 42%; clip-path: polygon(0 88%, 12% 55%, 22% 74%, 38% 27%, 50% 62%, 63% 31%, 78% 70%, 89% 44%, 100% 79%, 100% 100%, 0 100%); }
.mountain-back { background: #324b45; opacity: .55; filter: blur(2px); transform: scale(1.15); }
.mountain-front { bottom: 8%; height: 40%; background: #172723; opacity: .93; clip-path: polygon(0 73%, 14% 51%, 26% 75%, 43% 42%, 53% 65%, 68% 35%, 83% 73%, 91% 55%, 100% 72%, 100% 100%, 0 100%); }
.mist { position: absolute; width: 95%; height: 11%; border-radius: 50%; background: rgba(185, 203, 194, .16); filter: blur(28px); animation: drift 19s ease-in-out infinite alternate; }
.mist-one { left: 17%; bottom: 36%; }
.mist-two { left: 35%; bottom: 24%; opacity: .55; animation-delay: -8s; animation-duration: 27s; }
@keyframes drift { to { transform: translateX(-8%); } }
.window-frame { position: absolute; z-index: 4; background: linear-gradient(90deg, #161d1a, #29312d, #111614); box-shadow: 0 0 18px rgba(0,0,0,.5); }
.window-left { left: 4.5%; top: 0; width: 4.8%; height: 100%; }
.window-right { right: 2%; top: 0; width: 4%; height: 100%; }
.window-top { left: 0; top: 0; width: 100%; height: 3.4%; }
.window-sill { position: absolute; z-index: 5; bottom: 0; width: 100%; height: 11%; background: linear-gradient(180deg, #1b211e, #0b100e); box-shadow: 0 -12px 35px rgba(0,0,0,.36); }
.rain-pane { position: absolute; inset: 0; z-index: 3; opacity: .55; transition: opacity .8s; background-image: repeating-linear-gradient(104deg, transparent 0, transparent 34px, rgba(216, 228, 222, .11) 35px, transparent 36px, transparent 78px); background-size: 170px 240px; animation: rainfall .85s linear infinite; }
@keyframes rainfall { from { background-position: 0 -240px; } to { background-position: -28px 0; } }
.lamp { position: absolute; right: 10%; bottom: 8%; z-index: 7; width: 190px; height: 210px; }
.lamp::before { content: ""; position: absolute; right: 38px; top: 0; width: 110px; height: 80px; background: linear-gradient(125deg, #d8af6a, #896b3d); clip-path: polygon(17% 0, 82% 0, 100% 100%, 0 100%); filter: drop-shadow(0 0 35px rgba(237, 174, 77, .3)); }
.lamp::after { content: ""; position: absolute; left: 94px; top: 72px; width: 5px; height: 110px; background: #77694f; box-shadow: -37px 108px 0 20px #29251d; }
.plant { position: absolute; left: 7%; bottom: 7%; z-index: 7; width: 180px; height: 190px; }
.plant b { position: absolute; bottom: 0; left: 48px; width: 92px; height: 72px; background: linear-gradient(90deg, #554b38, #827158, #3b3529); clip-path: polygon(4% 0, 96% 0, 83% 100%, 18% 100%); }
.plant i { position: absolute; bottom: 58px; left: 84px; width: 55px; height: 103px; border-radius: 100% 0 100% 0; background: #243c30; transform-origin: bottom left; transform: rotate(-43deg); box-shadow: inset 5px 2px rgba(183, 196, 159, .09); }
.plant i:nth-child(2) { transform: rotate(-5deg) scale(.8); background: #34513f; }
.plant i:nth-child(3) { transform: rotate(25deg) scale(.75); }
.plant i:nth-child(4) { transform: translateX(-25px) rotate(-74deg) scale(.7); }
.scene-vignette { position: absolute; inset: 0; z-index: 8; pointer-events: none; background: linear-gradient(90deg, rgba(7, 12, 10, .87) 0%, rgba(8, 13, 11, .52) 37%, rgba(8, 13, 11, .13) 65%, rgba(7, 11, 10, .46) 100%), linear-gradient(0deg, rgba(6, 10, 8, .8), transparent 40%); }

.topbar { height: 100px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(28px, 5vw, 80px); border-bottom: 1px solid var(--faint); position: relative; z-index: 10; transition: opacity .4s, transform .4s; }
.brand { color: var(--ink); text-decoration: none; display: grid; grid-template-columns: 39px auto; column-gap: 12px; align-items: center; font-family: Georgia, "Songti SC", serif; font-size: 22px; letter-spacing: .2em; }
.brand small { grid-column: 2; font: 8px/1 "Segoe UI", sans-serif; letter-spacing: .32em; color: var(--muted); margin-top: -9px; }
.brand-mark { width: 39px; height: 39px; border: 1px solid rgba(237,241,233,.38); border-radius: 50%; display: flex; align-items: center; justify-content: center; gap: 3px; }
.brand-mark i { width: 2px; height: 14px; background: var(--sage); border-radius: 2px; animation: wave 1.4s ease-in-out infinite alternate; }
.brand-mark i:nth-child(2) { height: 23px; animation-delay: -.6s; }.brand-mark i:nth-child(3) { height: 10px; animation-delay: -.25s; }
@keyframes wave { to { transform: scaleY(.55); opacity: .6; } }
.top-actions { display: flex; align-items: center; gap: 12px; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--faint); border-radius: 50%; background: rgba(16,24,21,.28); cursor: pointer; transition: .25s; }
.icon-button:hover, .icon-button.active { background: rgba(185,201,165,.16); border-color: rgba(185,201,165,.5); transform: translateY(-2px); }
svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.clock { display: flex; flex-direction: column; min-width: 108px; padding-left: 15px; margin-left: 4px; border-left: 1px solid var(--faint); }
.clock span { font: 21px/1.1 Georgia, serif; letter-spacing: .06em; }.clock small { color: var(--muted); font-size: 10px; margin-top: 5px; }

main { position: relative; z-index: 2; padding: 86px clamp(28px, 6vw, 94px) 210px; max-width: 1520px; margin: auto; }
.intro { max-width: 720px; }
.eyebrow { margin: 0 0 22px; color: var(--sage); font-size: 9px; font-weight: 600; letter-spacing: .3em; display: flex; align-items: center; gap: 12px; }
.eyebrow span { width: 29px; height: 1px; background: currentColor; }
h1 { margin: 0; font: 300 clamp(48px, 6vw, 84px)/1.13 Georgia, "Songti SC", serif; letter-spacing: .03em; text-shadow: 0 7px 25px rgba(0,0,0,.22); }
h1 em { color: var(--sage); font-style: italic; font-weight: 300; }
.lede { margin: 27px 0 35px; color: rgba(237,241,233,.68); line-height: 2; font-size: 14px; letter-spacing: .08em; }
.presets { display: grid; grid-template-columns: repeat(5, minmax(135px, 1fr)); gap: 8px; width: min(100%, 890px); }
.preset { text-align: left; min-width: 0; padding: 15px 14px 14px; border: 1px solid var(--faint); background: rgba(17,26,23,.45); backdrop-filter: blur(12px); border-radius: 3px; cursor: pointer; display: grid; grid-template-columns: 25px minmax(0, auto); transition: .3s var(--ease); }
.preset:hover { transform: translateY(-3px); background: rgba(31,43,38,.65); }.preset.active { border-color: rgba(185,201,165,.5); background: rgba(120,140,118,.19); }
.preset span { grid-row: 1 / 3; color: var(--sage); font: italic 12px Georgia, serif; padding-top: 3px; }.preset b { font: 500 13px Georgia, "Songti SC", serif; letter-spacing: .12em; }.preset small { color: var(--muted); margin-top: 6px; font-size: 9px; letter-spacing: .06em; }

.mixer-section { margin-top: 108px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; }
.section-heading .eyebrow { margin-bottom: 9px; }.section-heading h2 { margin: 0; font: 300 28px Georgia, "Songti SC", serif; letter-spacing: .09em; }.section-heading > p { color: var(--muted); font-size: 11px; letter-spacing: .08em; }.section-heading strong { color: var(--sage); font: 20px Georgia, serif; }
.sound-grid { display: grid; grid-template-columns: repeat(6, minmax(130px, 1fr)); gap: 9px; }
.sound-card { min-height: 172px; padding: 20px 17px 16px; border: 1px solid var(--faint); border-radius: 4px; background: rgba(15, 23, 20, .58); backdrop-filter: blur(16px); cursor: pointer; position: relative; overflow: hidden; transition: .35s var(--ease); }
.sound-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 20%, rgba(185,201,165,.17), transparent 55%); opacity: 0; transition: .35s; }
.sound-card:hover { transform: translateY(-4px); background: rgba(26,38,33,.78); border-color: rgba(237,241,233,.25); }.sound-card.active { border-color: rgba(185,201,165,.58); background: rgba(52,69,59,.78); box-shadow: 0 15px 38px rgba(0,0,0,.18); }.sound-card.active::before { opacity: 1; }
.sound-main { position: relative; display: flex; flex-direction: column; align-items: center; }
.sound-icon { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(237,241,233,.15); display: grid; place-items: center; margin-bottom: 13px; color: var(--muted); transition: .35s; }
.sound-card.active .sound-icon { color: var(--sage); border-color: rgba(185,201,165,.45); background: rgba(185,201,165,.1); }.sound-icon svg { width: 25px; height: 25px; }
.sound-main strong { font: 400 14px Georgia, "Songti SC", serif; letter-spacing: .13em; }.sound-main small { font-size: 8px; letter-spacing: .22em; color: #88968d; margin-top: 5px; text-transform: uppercase; }
.sound-volume { position: relative; display: flex; align-items: center; gap: 7px; margin-top: 16px; opacity: 0; transform: translateY(5px); transition: .3s; }
.sound-card.active .sound-volume { opacity: 1; transform: none; }
input[type="range"] { appearance: none; height: 2px; flex: 1; min-width: 0; background: linear-gradient(to right, var(--sage) var(--value, 60%), rgba(237,241,233,.16) var(--value, 60%)); outline: 0; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px rgba(185,201,165,.14); }
.sound-volume span { width: 20px; color: var(--muted); font-size: 8px; }

.player { position: fixed; z-index: 20; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(780px, calc(100% - 32px)); min-height: 82px; padding: 12px 18px; display: flex; align-items: center; gap: 18px; border: 1px solid rgba(237,241,233,.17); border-radius: 5px; background: rgba(12, 19, 16, .88); box-shadow: 0 20px 70px rgba(0,0,0,.38); backdrop-filter: blur(24px); }
.play-button { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(185,201,165,.5); background: var(--sage); color: #172019; display: grid; place-items: center; cursor: pointer; transition: .25s; }.play-button:hover { transform: scale(1.06); }.play-button svg { grid-area: 1/1; stroke-width: 2; }.play-button .pause-icon, .play-button.playing .play-icon { display: none; }.play-button.playing .pause-icon { display: block; }
.now-playing { min-width: 185px; display: flex; flex-direction: column; }.now-playing small { font-size: 7px; letter-spacing: .25em; color: #829087; }.now-playing strong { margin-top: 6px; font: 400 13px Georgia, "Songti SC", serif; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.master-volume { flex: 1; display: flex; align-items: center; gap: 10px; border-left: 1px solid var(--faint); padding-left: 19px; }.master-volume svg { width: 17px; color: var(--muted); }.master-volume span { width: 21px; color: var(--muted); font-size: 9px; }
.player-action { min-width: 53px; border: 0; background: transparent; color: var(--muted); display: flex; flex-direction: column; gap: 5px; align-items: center; cursor: pointer; font-size: 9px; transition: .2s; }.player-action:hover { color: var(--ink); }.player-action svg { width: 18px; }
.timer-wrap { position: relative; }.timer-menu { position: absolute; right: -75px; bottom: 64px; width: 230px; padding: 17px; border: 1px solid var(--faint); border-radius: 5px; background: var(--panel-strong); box-shadow: 0 15px 45px rgba(0,0,0,.45); }.timer-menu p { margin: 0 0 11px; font: 13px Georgia, serif; }.timer-menu div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }.timer-menu button { padding: 8px; color: var(--muted); border: 1px solid var(--faint); border-radius: 3px; background: rgba(255,255,255,.03); cursor: pointer; font-size: 10px; }.timer-menu button:hover { color: var(--ink); border-color: var(--sage); }.timer-menu .cancel-timer { width: 100%; margin-top: 6px; border: 0; }
.toast { position: fixed; z-index: 50; top: 115px; left: 50%; transform: translate(-50%, -12px); padding: 10px 18px; border: 1px solid rgba(185,201,165,.35); background: rgba(14,22,18,.91); color: var(--ink); border-radius: 3px; font-size: 11px; letter-spacing: .08em; opacity: 0; pointer-events: none; transition: .3s; }.toast.show { opacity: 1; transform: translate(-50%, 0); }

body.focus-mode .topbar, body.focus-mode main { opacity: 0; pointer-events: none; transform: translateY(-12px); }body.focus-mode .player { opacity: .45; transition: opacity .3s; }body.focus-mode .player:hover { opacity: 1; }.focus-hint { display: none; }
noscript { position: fixed; z-index: 100; inset: auto 20px 20px; padding: 15px; background: #391f1f; }

@media (max-width: 1050px) { .sound-grid { grid-template-columns: repeat(4, 1fr); }.lamp { opacity: .7; }.master-volume { max-width: 190px; } }
@media (max-width: 720px) {
  .topbar { height: 76px; padding: 0 18px; }.clock, .top-actions .icon-button:first-child { display: none; }.brand { font-size: 18px; }.brand-mark { width: 34px; height: 34px; }
  main { padding: 60px 18px 190px; }h1 { font-size: 49px; }.lede br { display: none; }.intro { width: 100%; min-width: 0; }.presets { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; min-width: 0; gap: 7px; }.preset { width: 100%; min-width: 0; min-height: 66px; padding: 11px 9px; grid-template-columns: 22px minmax(0, 1fr); }.preset b { min-width: 0; font-size: 12px; letter-spacing: .06em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.preset small { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.mixer-section { margin-top: 75px; }.sound-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.section-heading > p { display: none; }
  .player { bottom: 10px; min-height: 72px; padding: 10px 12px; gap: 9px; }.now-playing { min-width: 0; flex: 1; }.now-playing small { display: none; }.master-volume { display: none; }.player-action { min-width: 41px; }.play-button { width: 45px; height: 45px; flex-basis: 45px; }.timer-menu { right: -50px; }.lamp { right: -55px; }.plant { left: -35px; opacity: .6; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; } }
