@charset "UTF-8";

:root {
  color-scheme: dark;
  --paper: #f6f5ec;
  --muted: rgba(246, 245, 236, .66);
  --accent: #e4edc5;
  --glass-blur: 18px;
  --glass-alpha: .12;
  --scene-image: url("assets/lake/scene.jpg");
  --shell-width: 440px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--paper); background: #172b2b; }
button, input, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { color: inherit; border: 0; cursor: pointer; }
button, a { touch-action: manipulation; }
button { background: none; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button:disabled { cursor: default; }
h1, h2, h3, p { margin: 0; }
button, input { -webkit-appearance: none; appearance: none; }
button .icon, a .icon { pointer-events: none; }
[hidden] { display: none !important; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.desktop-note, .desktop-caption { display: none; }

.app-shell { position: relative; isolation: isolate; min-height: 100svh; width: 100%; margin-inline: auto; overflow: clip; }
.scene-backdrop, .scene-shade, .scene-grain { position: fixed; z-index: -3; inset: 0; pointer-events: none; }
.scene-backdrop { background: var(--scene-image) center 44% / cover no-repeat; transition: filter 1s, opacity .6s; }
.scene-shade { z-index: -2; background: linear-gradient(180deg, rgba(14, 34, 37, .37) 0%, rgba(18, 39, 40, .12) 24%, rgba(15, 37, 38, .49) 46%, rgba(12, 32, 32, .74) 76%, rgba(12, 30, 31, .91) 100%); }
.scene-grain { z-index: -1; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.7' d='M0 0h150v150H0z'/%3E%3C/svg%3E"); }
body[data-scene="coast"] { --scene-image: url("assets/coast/scene.jpg"); }
body[data-scene="forest"] { --scene-image: url("assets/forest/scene.jpg"); }
body[data-scene="coast"] .scene-shade { background: linear-gradient(180deg, #102f3b55, #15394742 27%, #153c48b5 67%, #122c38ee); }
body[data-scene="forest"] .scene-shade { background: linear-gradient(180deg, #162c3066, #17362c50 27%, #133126b5 67%, #102c26ee); }

/* A translucent body, directional edge light and an inset highlight form the glass. */
.glass { position: relative; isolation: isolate; background: rgba(224, 237, 229, var(--glass-alpha)); border: 1px solid rgba(255, 255, 255, .22); border-top-color: rgba(255, 255, 255, .46); border-left-color: rgba(255, 255, 255, .3); box-shadow: 0 8px 32px #061e2117, inset 0 1px 0 #ffffff24, inset 0 -1px 0 #ffffff09; -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.35); backdrop-filter: blur(var(--glass-blur)) saturate(1.35); }
.glass::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(ellipse at var(--light-x, 8%) var(--light-y, 0%), #ffffff19, transparent 62%); }
.icon-button { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; }
.app-header { display: flex; align-items: center; justify-content: space-between; padding: calc(23px + env(safe-area-inset-top)) 25px 0; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; color: #f0f3dc; }
.brand-mark .icon { width: 38px; height: 38px; stroke-width: 1.8; }
.brand-copy { display: flex; gap: 2px; flex-direction: column; }
.brand-copy strong { font-weight: 600; font-size: 21px; letter-spacing: 3px; line-height: 1.1; }
.brand-dot { color: var(--accent); }
.brand-copy small { font-size: 8px; letter-spacing: 2px; opacity: .65; margin-top: 4px; }
.avatar-button { color: #eef0d9; background-color: #ffffff12; }
.avatar-button .icon { width: 21px; height: 21px; }

.view { animation: view-in .45s ease; }
.hero { padding: 48px 28px 37px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #eef1ddc7; font-size: 10px; font-weight: 500; letter-spacing: 2.4px; }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: #e0e9c3; box-shadow: 0 0 10px #e0e9c399; }
.eyebrow-line { width: 29px; height: 1px; margin-left: 4px; background: #ffffff50; }
.hero h1 { margin-top: 21px; font-size: clamp(42px, 12vw, 53px); font-weight: 450; letter-spacing: 3px; line-height: 1.42; text-shadow: 0 2px 30px #183a3930; }
.serif-word { font-family: "Songti SC", "Noto Serif CJK SC", "SimSun", serif; font-weight: 400; color: #f1edcf; }
.hero-description { font-size: 12px; line-height: 2.1; letter-spacing: 1px; color: #ffffffb5; margin-top: 16px; }
.hero-link { display: flex; align-items: center; gap: 15px; margin-top: 24px; padding: 0; color: #f0efdb; font-size: 11px; letter-spacing: 1px; }
.small-circle { display: grid; place-items: center; border: 1px solid #ffffff55; width: 29px; height: 29px; border-radius: 50%; transition: background .25s, transform .25s; }
.small-circle .icon { width: 16px; height: 16px; }
.hero-link:hover .small-circle { background: #ffffff26; transform: translateX(4px); }
.home-content { padding: 0 22px 197px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; padding-inline: 2px; }
.section-heading h2 { font-size: 15px; font-weight: 500; letter-spacing: 1.6px; }
.section-heading > span { font-size: 8px; letter-spacing: 1.7px; color: #eef1dd80; }
.moment-card { padding: 17px 19px 14px; border-radius: 24px; }
.moment-topline { display: flex; align-items: center; justify-content: space-between; }
.tiny-label { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: #e9efdbc4; letter-spacing: 1px; }
.tiny-label .icon { width: 15px; height: 15px; }
.plain-icon { padding: 7px; margin: -7px; border-radius: 50%; color: #f3f3eab8; }
.plain-icon .icon { width: 19px; height: 19px; transition: fill .25s, transform .25s; }
.plain-icon:hover .icon { transform: scale(1.12); }
.favorite-button[aria-pressed="true"] { color: #edf0cb; }
.favorite-button[aria-pressed="true"] .icon { fill: #edf0cb; }
.moment-main { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.moment-main h3 { font-size: 26px; font-weight: 450; letter-spacing: 2.5px; }
.moment-main p { font-size: 11px; margin-top: 9px; letter-spacing: .5px; color: var(--muted); }
.moment-seal { font-family: "Songti SC", "SimSun", serif; border: 1px solid #e4edc55c; color: #eef0d2b8; border-radius: 3px; font-size: 10px; line-height: 1.4; padding: 4px 5px; margin: 0 5px; transform: rotate(4deg); }
.moment-divider { height: 1px; background: linear-gradient(90deg, #ffffff22, #ffffff10); margin: 19px 0 12px; }
.moment-bottom { display: flex; justify-content: space-between; align-items: center; gap: 5px; }
.moment-bottom > span { display: flex; align-items: center; gap: 5px; color: #eef1dd99; font-size: 9px; letter-spacing: .3px; }
.moment-bottom > span .icon { width: 12px; height: 12px; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 3px 0; font-size: 10px; color: #eef0d5d9; letter-spacing: .5px; }
.text-button .icon { width: 14px; height: 14px; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.quick-card { display: flex; flex-direction: column; align-items: flex-start; border-radius: 21px; min-height: 130px; padding: 15px 16px; text-align: left; transition: transform .25s, background .25s; }
.quick-icon { width: 30px; height: 30px; display: grid; place-items: center; margin-bottom: 10px; background: #f2f4df12; border-radius: 10px; color: #e6edcd; }
.quick-icon .icon { width: 18px; height: 18px; }
.quick-card strong { font-size: 13px; font-weight: 500; letter-spacing: 1px; }
.quick-card > span:not(.quick-icon) { font-size: 10px; margin-top: 6px; color: #edf0e19c; letter-spacing: .3px; }
.quick-arrow { position: absolute; right: 14px; top: 19px; width: 15px; height: 15px; color: #eef1dd80; }
.quick-card:hover { transform: translateY(-3px); background-color: #e0ede52b; }
.scenery-heading { margin-top: 29px; }
.scenery-heading .text-button { color: #eef1dd99; font-size: 9px; }
.scenery-strip { display: flex; gap: 11px; overflow-x: auto; padding: 2px 1px 7px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.scenery-strip::-webkit-scrollbar { display: none; }
.scene-tile { position: relative; flex: 0 0 calc((100% - 11px) / 2.15); height: 132px; border-radius: 16px; padding: 0; overflow: hidden; text-align: left; border: 1px solid #ffffff24; scroll-snap-align: start; transition: border-color .25s; }
.scene-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #0c242ccc, #102c2c00 85%); }
.scene-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.scene-tile:hover img { transform: scale(1.07); }
.scene-tile > span { position: absolute; z-index: 1; left: 13px; bottom: 13px; display: flex; flex-direction: column; gap: 6px; }
.scene-tile small { font-size: 6px; letter-spacing: 1.2px; opacity: .7; }
.scene-tile strong { font-size: 13px; letter-spacing: 1px; font-weight: 500; }
.scene-check { position: absolute; z-index: 1; right: 8px; top: 8px; display: grid; place-items: center; background: #edf0d8e6; color: #355046; border-radius: 50%; width: 18px; height: 18px; opacity: 0; transition: opacity .25s; }
.scene-check .icon { width: 12px; height: 12px; stroke-width: 2; }
.scene-tile.is-selected { border-color: #edf0d8b3; }
.scene-tile.is-selected .scene-check { opacity: 1; }
.page-footnote { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 26px; color: #edf0e160; font-size: 8px; letter-spacing: 2px; }
.page-footnote > span { width: 20px; height: 1px; background: #ffffff24; }

.bottom-dock { position: fixed; z-index: 10; bottom: 0; width: 100%; padding: 8px 20px max(20px, env(safe-area-inset-bottom)); pointer-events: none; }
.bottom-dock::before { content: ""; position: absolute; z-index: -1; inset: -16px 0 0; pointer-events: none; background: linear-gradient(0deg, #102c2ca6, #102c2c00); }
.bottom-dock > * { pointer-events: auto; }
.mini-player { display: flex; align-items: center; gap: 10px; margin: 0 5px 13px; border-radius: 20px; padding: 9px 11px; min-height: 58px; background-color: rgba(206, 226, 210, .13); }
.player-art { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; background: #dce6c42b; color: #e9efc8; border-radius: 11px; box-shadow: inset 0 0 0 1px #e7ecd814; }
.player-art .icon { width: 22px; height: 22px; }
.player-info { padding: 0; min-width: 0; text-align: left; display: flex; flex-direction: column; gap: 5px; }
.player-info strong { font-size: 11px; letter-spacing: .8px; font-weight: 500; }
.player-info span { font-size: 8px; color: #eef0e48c; letter-spacing: .5px; white-space: nowrap; }
.player-toggle { width: 34px; height: 34px; display: grid; place-items: center; margin-left: 3px; border-radius: 50%; color: #f3f2df; }
.player-toggle .icon { width: 19px; height: 19px; }
.player-toggle:not([aria-pressed="true"]) .icon { fill: currentColor; stroke-width: 0; }
.sound-bars { display: flex; align-items: center; gap: 2px; margin-left: auto; height: 20px; color: #d9e5b9; }
.sound-bars i { width: 2px; height: 5px; border-radius: 3px; background: currentColor; opacity: .55; }
.sound-bars i:nth-child(2) { height: 13px; }
.sound-bars i:nth-child(3) { height: 9px; }
.sound-bars i:nth-child(4) { height: 16px; }
.mini-player.is-playing .sound-bars i { animation: sound-wave .9s ease-in-out infinite alternate; opacity: .9; }
.mini-player.is-playing .sound-bars i:nth-child(2) { animation-delay: -.7s; }
.mini-player.is-playing .sound-bars i:nth-child(3) { animation-delay: -.3s; }
.mini-player.is-playing .sound-bars i:nth-child(4) { animation-delay: -.5s; }

/* The lens uses a generated displacement map, while labels remain crisp above it. */
.liquid-nav { --active-index: 0; --drag-offset: 0px; position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(4, 1fr); height: 73px; padding: 7px; border-radius: 38px; touch-action: pan-y; border: 1px solid #ffffff40; border-top-color: #ffffff94; border-bottom-color: #ffffff26; box-shadow: 0 12px 32px #051c343b, inset 0 1px 1px #ffffff5c, inset 0 -1px 1px #ffffff12; }
.nav-optics { position: absolute; z-index: -2; inset: 0; border-radius: inherit; overflow: hidden; background: linear-gradient(150deg, #e3eee82b 0%, #d4e7dd14 50%, #eef4e62e 100%); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); }
.nav-optics::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 2px 2px 5px #ffffff1f, inset -2px -2px 5px #ceeaf218; background: linear-gradient(110deg, transparent 12%, #ffffff0d 30%, transparent 55%, #ffffff09); }
.nav-lens { position: absolute; z-index: -1; width: calc((100% - 14px) / 4); height: 57px; top: 7px; left: 7px; border-radius: 30px; transform: translateX(calc(var(--active-index) * 100% + var(--drag-offset))); background: linear-gradient(135deg, #f5f7e76b, #e1edd734 52%, #f6f8eb4d); border: 1px solid #ffffff59; border-top-color: #ffffffe0; border-left-color: #ffffff9c; box-shadow: 0 3px 14px #102b2d26, inset 1px 1px 3px #ffffff50, inset -1px -1px 2px #f7ffe824; -webkit-backdrop-filter: blur(5px) saturate(1.8); backdrop-filter: blur(5px) saturate(1.8); transition: transform .55s cubic-bezier(.2, 1.45, .35, 1), width .3s; }
@supports (backdrop-filter: url("#liquid-refraction")) {
  .has-refraction .nav-lens { backdrop-filter: url("#liquid-refraction") blur(2px) saturate(1.6); }
}
.nav-lens::after { content: ""; position: absolute; inset: 1px 5px auto; height: 46%; border-radius: 30px 30px 50% 50%; background: linear-gradient(180deg, #ffffff24, transparent); }
.liquid-nav.is-dragging .nav-lens { transition: none; }
.nav-item { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; color: #e9eee1a8; user-select: none; border-radius: 30px; padding: 0; transition: color .3s; }
.nav-item .icon { width: 21px; height: 21px; stroke-width: 1.45; transition: transform .35s; }
.nav-item span { font-size: 9px; letter-spacing: 1px; }
.nav-item.is-active { color: #fffef0; text-shadow: 0 1px 8px #1c38232e; }
.nav-item.is-active .icon { transform: translateY(-1px); stroke-width: 1.85; }
.nav-item:hover { color: #fffef0; }

.inner-view { padding: 42px 24px 205px; min-height: calc(100svh - 72px); }
.page-intro { margin-bottom: 30px; }
.page-intro .eyebrow { font-size: 8px; letter-spacing: 2.3px; }
.page-intro h1 { font-size: 30px; letter-spacing: 1px; font-weight: 450; margin-top: 17px; line-height: 1.5; }
.page-intro p { color: #f3f4e8ad; font-size: 11px; line-height: 1.9; margin-top: 9px; letter-spacing: .5px; }
.explore-list { display: grid; gap: 17px; }
.explore-scene { position: relative; overflow: hidden; padding: 0; border-radius: 24px; height: 220px; text-align: left; border: 1px solid #ffffff33; }
.explore-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0d29320d, #0d2932c7); }
.explore-scene > img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.explore-scene:hover > img { transform: scale(1.04); }
.explore-copy { position: absolute; z-index: 1; bottom: 23px; left: 23px; display: flex; flex-direction: column; }
.explore-copy small { font-size: 7px; letter-spacing: 2px; color: #f3f4e8ad; }
.explore-copy strong { font-size: 25px; font-weight: 450; letter-spacing: 2px; margin-top: 10px; }
.explore-copy > span { font-size: 10px; letter-spacing: .5px; margin-top: 8px; color: #f3f4e8b3; }
.explore-action { position: absolute; z-index: 1; bottom: 27px; right: 22px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.explore-action .icon { width: 17px; height: 17px; }
.empty-card { padding: 44px 20px; text-align: center; border-radius: 27px; }
.empty-illustration { display: grid; place-items: center; width: 80px; height: 80px; border: 1px solid #e9efcf33; border-radius: 50%; margin: 0 auto 25px; background: #e9efcf0d; box-shadow: 0 0 0 12px #e9efcf04, 0 0 0 24px #e9efcf03; }
.empty-illustration .icon { width: 30px; height: 30px; color: #e9efcf; stroke-width: 1; }
.empty-card h2 { font-size: 19px; font-weight: 450; letter-spacing: 1px; }
.empty-card p { font-size: 11px; line-height: 2; color: #f3f4e8a6; margin-top: 15px; }
.pill-button { display: inline-flex; justify-content: center; align-items: center; gap: 17px; background: #e4edc5; color: #31483c; padding: 14px 23px; border-radius: 30px; font-size: 11px; font-weight: 550; letter-spacing: 1px; transition: background .25s, transform .25s; }
.pill-button:hover { background: #f1f4df; transform: translateY(-2px); }
.pill-button .icon { width: 17px; height: 17px; }
.empty-card .pill-button { margin-top: 27px; }
.favorites-list { display: grid; gap: 15px; }
.saved-card { border-radius: 22px; overflow: hidden; }
.saved-image { display: block; width: 100%; height: 167px; object-fit: cover; }
.saved-body { display: flex; align-items: center; justify-content: space-between; padding: 19px; gap: 10px; }
.saved-copy { text-align: left; padding: 0; flex: 1; }
.saved-copy strong { display: block; font-size: 17px; font-weight: 450; letter-spacing: 1px; }
.saved-copy small { display: block; margin-top: 8px; color: #f3f4e89e; font-size: 10px; line-height: 1.6; }
.saved-body .plain-icon { padding: 12px; }
.profile-card { border-radius: 24px; padding: 22px 19px; display: flex; align-items: center; gap: 15px; margin-bottom: 17px; }
.profile-avatar { display: grid; place-items: center; width: 54px; height: 54px; color: #e4edc5; border-radius: 50%; background: #e9efcf17; border: 1px solid #e9efcf33; }
.profile-avatar .icon { width: 26px; height: 26px; }
.profile-card h2 { font-size: 16px; font-weight: 450; letter-spacing: 1px; }
.profile-card p { margin-top: 8px; font-size: 10px; color: var(--muted); }
.settings-card { padding: 23px 22px; border-radius: 24px; }
.settings-title { display: flex; align-items: center; gap: 8px; margin-bottom: 27px; }
.settings-title > .icon { width: 17px; height: 17px; }
.settings-title h2 { font-size: 14px; font-weight: 500; letter-spacing: 1px; }
.settings-title > span { font-size: 9px; color: var(--muted); margin-left: auto; }
.range-label { display: flex; align-items: center; justify-content: space-between; font-size: 11px; letter-spacing: .5px; margin-bottom: 16px; }
.range-label output { font-size: 10px; color: #e4edc5; font-variant-numeric: tabular-nums; }
input[type="range"] { --range-progress: 50%; display: block; width: 100%; height: 4px; padding: 0; margin: 0 0 27px; border-radius: 5px; background: linear-gradient(to right, #e0e9c6 var(--range-progress), #ffffff24 var(--range-progress)); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 17px; height: 17px; background: #f1f1df; border: 2px solid #ffffff; border-radius: 50%; box-shadow: 0 1px 8px #132d324d; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; background: #f1f1df; border: 2px solid white; border-radius: 50%; }
input[type="range"]:focus-visible { outline: 2px solid #e4edc5; outline-offset: 8px; }
.setting-row { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #ffffff1a; margin-top: 8px; padding-top: 22px; gap: 10px; }
.setting-row strong { display: block; font-size: 12px; font-weight: 500; letter-spacing: .5px; }
.setting-row small { display: block; font-size: 9px; color: var(--muted); margin-top: 7px; }
.toggle { width: 39px; height: 23px; border-radius: 20px; background: #ffffff26; border: 1px solid #ffffff33; padding: 3px; transition: background .25s; }
.toggle span { display: block; width: 15px; height: 15px; border-radius: 50%; background: #f3f4e8; transition: transform .25s; }
.toggle.is-on { background: #dce9b775; }
.toggle.is-on span { transform: translateX(15px); }
.settings-reset { display: flex; margin: 25px auto 0; color: #e4edc5a6; font-size: 9px; }
.about-card { border-radius: 24px; padding: 27px 15px; text-align: center; margin-top: 17px; }
.about-card > .icon { margin: 0 auto 9px; width: 33px; height: 33px; color: #e4edc5; }
.about-card strong { font-size: 14px; font-weight: 500; letter-spacing: 2px; }
.about-card p { font-size: 10px; color: var(--muted); margin: 12px 0 17px; }
.about-card > span { color: #eef1dd66; font-size: 6px; letter-spacing: 1.7px; }
.toast { position: fixed; z-index: 30; left: 50%; bottom: calc(191px + env(safe-area-inset-bottom)); padding: 12px 20px; border-radius: 30px; font-size: 11px; letter-spacing: .5px; background-color: #28473ddb; transform: translate(-50%, 12px); opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; max-width: min(85vw, 360px); white-space: nowrap; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Native dialogs keep keyboard focus inside and support the Escape key. */
dialog { color: var(--paper); padding: 0; }
dialog::backdrop { background: #09242b80; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.glass-dialog { width: min(400px, calc(100% - 24px)); margin: auto auto 24px; border: 1px solid #ffffff4d; border-top-color: #ffffff80; border-radius: 30px; padding: 37px 25px 25px; background: linear-gradient(145deg, #405d53e8, #233f3bf0); box-shadow: 0 20px 100px #031f2a4d, inset 0 1px 0 #ffffff26; -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); }
dialog[open] { animation: dialog-in .35s cubic-bezier(.2, .8, .3, 1) both; }
.dialog-handle { position: absolute; top: 11px; left: calc(50% - 16px); width: 32px; height: 3px; border-radius: 4px; background: #f4f5e54d; }
.dialog-close { position: absolute; right: 12px; top: 16px; width: 33px; height: 33px; border: 1px solid #ffffff1f; color: #eef1ddb3; background: #ffffff0d; }
.dialog-close .icon { width: 16px; height: 16px; }
.glass-dialog .eyebrow { font-size: 7px; letter-spacing: 2px; margin-top: 6px; }
.glass-dialog h2 { font-size: 23px; font-weight: 450; letter-spacing: 1px; margin-top: 15px; }
.dialog-description { color: #f3f4e8a6; font-size: 10px; line-height: 1.8; margin-top: 12px; }
.sound-options { display: grid; gap: 9px; margin-top: 25px; }
.sound-option { display: flex; align-items: center; gap: 13px; text-align: left; border: 1px solid #ffffff1a; border-radius: 17px; padding: 13px; background: #ffffff05; transition: background .25s, border-color .25s; }
.sound-option-icon { width: 36px; height: 36px; display: grid; place-items: center; color: #e4edc5; border-radius: 12px; background: #e4edc512; }
.sound-option-icon .icon { width: 20px; height: 20px; }
.sound-option strong { display: block; font-weight: 500; font-size: 12px; letter-spacing: .5px; }
.sound-option small { display: block; font-size: 9px; margin-top: 6px; color: var(--muted); }
.option-check { width: 16px; height: 16px; margin-left: auto; color: #e4edc5; opacity: 0; }
.sound-option.is-selected { background: #e4edc510; border-color: #e4edc566; }
.sound-option.is-selected .option-check { opacity: 1; }
.volume-label { margin-top: 27px; }
.volume-label > span { display: flex; align-items: center; gap: 7px; }
.volume-label .icon { width: 15px; height: 15px; }
.sound-note { color: #eef1dd66; font-size: 8px; letter-spacing: 1px; text-align: center; margin-top: -4px; }
.breath-dialog { width: min(400px, calc(100% - 28px)); margin: auto; padding: 53px 23px 28px; text-align: center; background: linear-gradient(145deg, #405d53f0, #153b38f5); border: 1px solid #ffffff4d; border-top-color: #ffffff80; border-radius: 32px; overflow: hidden; box-shadow: 0 20px 100px #031f2a4d; }
.breath-dialog .eyebrow { justify-content: center; font-size: 7px; letter-spacing: 2px; }
.breath-dialog h2 { font-size: 25px; font-weight: 450; margin-top: 18px; letter-spacing: 1px; }
.breath-dialog > p { font-size: 10px; color: var(--muted); letter-spacing: .5px; margin-top: 14px; }
.breath-visual { display: grid; place-items: center; height: 245px; position: relative; }
.breath-core { position: relative; z-index: 2; display: flex; justify-content: center; flex-direction: column; gap: 9px; width: 135px; height: 135px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #e4edc547, #e4edc508 80%); border: 1px solid #e4edc56b; box-shadow: inset 1px 1px 15px #e4edc52b, 0 0 40px #e4edc512; transition: transform 4s ease-in-out; }
.breath-core > span { font-size: 18px; letter-spacing: 3px; }
.breath-core > small { font-size: 9px; letter-spacing: 1px; color: #e4edc5a6; }
.breath-orbit { position: absolute; width: 176px; height: 176px; border: 1px solid #e4edc524; border-radius: 50%; transition: transform 4s ease-in-out; }
.orbit-two { width: 214px; height: 214px; border-color: #e4edc514; }
.breath-dialog[data-phase="in"] .breath-core { transform: scale(1.22); }
.breath-dialog[data-phase="in"] .orbit-one { transform: scale(1.14); }
.breath-dialog[data-phase="in"] .orbit-two { transform: scale(1.08); }
.breath-dialog[data-phase="hold"] .breath-core { transform: scale(1.22); }
.breath-dialog[data-phase="hold"] .orbit-one { transform: scale(1.14); }
.breath-dialog[data-phase="hold"] .orbit-two { transform: scale(1.08); }
.breath-dialog[data-phase="out"] .breath-core, .breath-dialog[data-phase="out"] .breath-orbit { transition-duration: 6s; }
.breath-dialog .breath-note { margin-top: 20px; font-size: 8px; color: #eef1dd73; }

@keyframes sound-wave { from { transform: scaleY(.4); } to { transform: scaleY(1.1); } }
@keyframes view-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .nav-optics { background-color: #486056e8; }
  .nav-lens { background-color: #82977abd; }
}
@media (max-width: 359px) {
  .app-header { padding-inline: 19px; }
  .hero { padding: 38px 23px 33px; }
  .hero h1 { font-size: 42px; }
  .home-content { padding-inline: 17px; }
  .moment-card { padding-inline: 15px; }
  .moment-bottom > span { font-size: 8px; }
  .moment-bottom .text-button { font-size: 9px; }
  .bottom-dock { padding-inline: 15px; }
  .player-info span { font-size: 7px; }
  .inner-view { padding-inline: 20px; }
  .page-intro h1 { font-size: 26px; }
}
@media (min-width: 600px) {
  body { padding: 36px 0; min-height: 100vh; background: radial-gradient(ellipse at 20% 0%, #52726655, transparent 55%), radial-gradient(ellipse at 100% 85%, #83977c22, transparent 55%), #162c2b; }
  body::before { content: ""; position: fixed; z-index: -1; inset: -30px; background: var(--scene-image) center / cover; filter: blur(65px) brightness(.33) saturate(.65); opacity: .6; }
  .app-shell { width: var(--shell-width); min-height: 1050px; border: 1px solid #e9efcf33; border-radius: 42px; box-shadow: 0 45px 100px #031f2a66, 0 0 0 8px #e9efcf03, inset 0 1px #e9efcf26; clip-path: inset(0 round 42px); overflow: clip; }
  .scene-backdrop, .scene-shade, .scene-grain { left: calc(50% - 220px); right: auto; width: var(--shell-width); top: 36px; bottom: 36px; height: max(calc(100vh - 72px), 1050px); }
  .scene-backdrop { background-position: 51% 40%; }
  .app-header { padding-top: 28px; padding-inline: 27px; }
  .hero { padding-top: 48px; padding-inline: 31px; }
  .hero h1 { font-size: 54px; }
  .home-content { padding-inline: 25px; }
  .bottom-dock { left: calc(50% - 220px); width: var(--shell-width); bottom: 36px; padding-inline: 23px; padding-bottom: 23px; }
  .toast { bottom: 220px; }
  .glass-dialog { margin-bottom: 64px; }
}
@media (min-width: 1050px) {
  .desktop-note { position: fixed; display: flex; flex-direction: column; gap: 29px; left: max(5vw, calc(50% - 565px)); top: 16vh; }
  .desktop-wordmark { font-family: Georgia, serif; font-size: 58px; font-style: italic; letter-spacing: -4px; color: #ebefd7; line-height: 1; }
  .desktop-note > span:nth-child(2) { font-size: 9px; line-height: 2; letter-spacing: 3px; color: #e9efcf80; }
  .desktop-note .desktop-rule { height: 1px; width: 33px; background: #e9efcf4d; margin-top: 4px; }
  .desktop-note > span:last-child { color: #e9efcf73; font-size: 10px; letter-spacing: 2px; writing-mode: vertical-rl; margin-top: 3px; }
  .desktop-caption { position: fixed; display: flex; flex-direction: column; gap: 12px; right: max(4vw, calc(50% - 570px)); bottom: 12vh; }
  .desktop-caption > span { font-size: 8px; letter-spacing: 1.7px; color: #e9efcf80; }
  .desktop-caption > span:nth-child(2) { font-size: 6px; color: #e9efcf4d; }
  .desktop-caption > .icon { margin-top: 11px; width: 28px; height: 28px; stroke-width: .7; color: #e9efcf66; transform: rotate(-45deg); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
