:root {
  color-scheme: dark;
  --bg: #242629;
  --surface: #2d3034;
  --surface-2: #34373b;
  --surface-3: #3b3e43;
  --surface-soft: #292c30;
  --text: #f3f4f6;
  --text-soft: #c4c8ce;
  --muted: #9298a1;
  --muted-2: #737a84;
  --line: rgba(255,255,255,.075);
  --blue: #007aff;
  --blue-soft: rgba(0,122,255,.14);
  --green: #39b980;
  --green-soft: rgba(57,185,128,.13);
  --amber: #e7a847;
  --amber-soft: rgba(231,168,71,.13);
  --coral: #e36a66;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --content-width: 1080px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); }
button, a { font: inherit; }
button { color: inherit; }
.app-shell { min-height: 100vh; padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
.topbar { width: min(var(--content-width), calc(100% - 64px)); height: 82px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(145deg,#3b3f44,#2e3135); color: #fff; font-size: 19px; font-weight: 720; letter-spacing: -.08em; box-shadow: inset 0 1px rgba(255,255,255,.12),0 4px 12px rgba(0,0,0,.15); position: relative; }
.brand-mark::after { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); right: 6px; bottom: 7px; }
.brand-name { font-size: 22px; font-weight: 670; letter-spacing: -.055em; }
.brand-period, .heading-period { color: var(--blue); }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.version-pill { color: #aeb4bc; border: 1px solid var(--line); background: rgba(255,255,255,.025); border-radius: 999px; padding: 7px 11px; font-size: 11px; font-weight: 650; letter-spacing: .035em; }
.profile-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 50%; cursor: not-allowed; }
.profile-button svg, .section-icon svg, .nav-icon svg, .button svg, .info-icon svg, .feature-icon svg, .setting-symbol svg, .camera-lens svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
main { width: min(var(--content-width), calc(100% - 64px)); margin: 0 auto; padding-top: 54px; }
.page { display: none; animation: page-in .24s ease both; }
.page.is-active { display: block; }
@keyframes page-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.eyebrow { margin: 0 0 10px; color: #8d949e; font-size: 10px; line-height: 1.2; font-weight: 730; letter-spacing: .16em; }
h1 { margin: 0; font-size: clamp(36px,5vw,54px); line-height: 1.04; letter-spacing: -.065em; font-weight: 680; }
.page-subtitle { margin: 12px 0 0; color: var(--muted); font-size: 15px; letter-spacing: -.015em; }
.section-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; flex: 0 0 auto; }
.section-icon svg { width: 25px; height: 25px; }
.section-icon-blue { color: #5da5ff; background: var(--blue-soft); }
.section-icon-green { color: #56d49e; background: var(--green-soft); }
.section-icon-amber { color: #efbd67; background: var(--amber-soft); }
.section-icon-neutral { color: #c5cad1; background: rgba(255,255,255,.07); }
.stats-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-bottom: 46px; }
.stat-card { min-height: 132px; padding: 20px 21px 17px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.stat-label { color: var(--muted); font-size: 12px; font-weight: 570; display: block; }
.stat-value { display: block; margin-top: 9px; font-size: 31px; font-weight: 670; letter-spacing: -.06em; line-height: 1.1; }
.stat-foot { display: flex; align-items: center; gap: 7px; margin-top: 10px; color: #858c95; font-size: 10px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.status-blue { background: var(--blue); box-shadow: 0 0 0 3px rgba(0,122,255,.12); }
.status-muted { background: #858c95; }
.status-green { background: var(--green); box-shadow: 0 0 0 3px rgba(57,185,128,.12); }
.status-amber { background: var(--amber); box-shadow: 0 0 0 3px rgba(231,168,71,.12); }
.section-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.section-row .eyebrow { margin-bottom: 7px; }
h2 { margin: 0; font-size: 22px; font-weight: 640; letter-spacing: -.045em; }
.count-chip { padding: 7px 11px; border-radius: 999px; background: var(--surface-2); color: #aeb4bc; font-size: 11px; font-weight: 600; }
.empty-card { min-height: 352px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 34px 22px; background: linear-gradient(145deg,rgba(255,255,255,.026),rgba(255,255,255,.009)); border: 1px dashed rgba(255,255,255,.13); border-radius: var(--radius-xl); }
.empty-illustration { width: 94px; height: 94px; position: relative; display: grid; place-items: center; margin-bottom: 18px; }
.illustration-orbit { position: absolute; inset: 5px; border: 1px solid rgba(0,122,255,.17); border-radius: 28px; transform: rotate(27deg); }
.orbit-two { inset: 14px -3px; border-color: rgba(255,255,255,.08); transform: rotate(-24deg); }
.illustration-disc { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 21px; background: linear-gradient(145deg,#3a414a,#2e333a); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 12px 25px rgba(0,0,0,.22); color: #70afff; }
.illustration-disc svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.empty-kicker { color: #7e8791; font-size: 9px; font-weight: 740; letter-spacing: .17em; margin: 0 0 9px; }
.empty-card h3 { margin: 0; font-size: 21px; font-weight: 640; letter-spacing: -.04em; }
.empty-copy { max-width: 390px; margin: 9px 0 21px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 12px; padding: 0 15px; font-size: 12px; font-weight: 650; }
.button svg { width: 16px; height: 16px; }
.button-primary { background: #176fd0; color: #fff; box-shadow: 0 6px 15px rgba(0,122,255,.15); }
.button-disabled { opacity: .73; cursor: not-allowed; }
.button-lock { color: #d7e8ff; background: rgba(255,255,255,.16); padding: 3px 6px; border-radius: 6px; font-size: 9px; letter-spacing: .03em; }
.info-strip { display: flex; align-items: flex-start; gap: 12px; padding: 15px 16px; margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.025); }
.info-icon { width: 25px; height: 25px; flex: 0 0 auto; display: grid; place-items: center; color: #7dafff; background: var(--blue-soft); border-radius: 8px; }
.info-icon svg { width: 15px; height: 15px; }
.info-strip p { margin: 1px 0 0; color: #9da4ad; font-size: 11px; line-height: 1.6; }
.info-strip strong { color: #dbe0e6; font-weight: 620; }
.coming-hero { position: relative; min-height: 300px; overflow: hidden; padding: 27px 30px 28px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(125deg,#2c3433,#2e3336 68%,#303438); }
.coming-hero-green { background: radial-gradient(circle at 83% 30%,rgba(57,185,128,.10),transparent 28%),linear-gradient(125deg,#2c3433,#303438); }
.coming-label { display: inline-flex; align-items: center; gap: 9px; color: #b7c1bd; font-size: 9px; font-weight: 730; letter-spacing: .13em; }
.coming-hero h2 { position: relative; z-index: 1; margin-top: 61px; font-size: clamp(24px,3vw,31px); }
.coming-hero p { position: relative; z-index: 1; max-width: 470px; margin: 10px 0 0; color: #a4adb0; font-size: 13px; line-height: 1.65; }
.coming-art { position: absolute; right: 8%; top: 37px; width: 180px; height: 150px; opacity: .86; }
.coin { position: absolute; display: grid; place-items: center; width: 73px; height: 73px; border-radius: 50%; border: 1px solid rgba(255,255,255,.17); color: #b1e6ce; font-size: 31px; font-weight: 350; box-shadow: inset 0 1px rgba(255,255,255,.1),0 18px 34px rgba(0,0,0,.19); }
.coin-back { top: 18px; right: 62px; background: linear-gradient(145deg,#4c645b,#37453f); transform: rotate(-14deg); }
.coin-front { top: 57px; right: 13px; background: linear-gradient(145deg,#477a64,#2d5344); transform: rotate(12deg); }
.art-line { position: absolute; height: 1px; background: rgba(132,209,171,.32); transform: rotate(-28deg); }
.art-line-one { width: 118px; top: 19px; right: 12px; }.art-line-two { width: 100px; top: 130px; right: 39px; }
.section-row-compact { margin-top: 32px; }
.feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.feature-card { padding: 20px; min-height: 185px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.feature-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; }
.feature-icon-green { background: var(--green-soft); color: #65d8a8; }.feature-icon-blue { background: var(--blue-soft); color: #6aafff; }
.feature-card h3 { margin: 16px 0 7px; font-size: 15px; letter-spacing: -.025em; }
.feature-card p { margin: 0; max-width: 360px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.mini-tag { display: inline-flex; width: fit-content; margin-top: 13px; padding: 5px 8px; border-radius: 7px; color: #b7c0ca; background: rgba(255,255,255,.055); font-size: 9px; font-weight: 650; letter-spacing: .025em; }
.camera-preview { padding: 17px; border-radius: var(--radius-xl); border: 1px solid var(--line); background: var(--surface); }
.camera-preview-top,.camera-preview-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.camera-status,.camera-counter { color: #9ba3ad; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.camera-status { display: flex; align-items: center; gap: 9px; }.camera-counter { color: #737b85; }
.camera-screen { height: 310px; position: relative; display: grid; place-items: center; overflow: hidden; margin: 15px 0 13px; border-radius: 13px; background: radial-gradient(ellipse at 50% 50%,#343a40 0,#292e33 50%,#24282c 100%); }
.camera-grid-line { position: absolute; background: rgba(255,255,255,.035); }.grid-line-x { left: 50%; top: 0; bottom: 0; width: 1px; }.grid-line-y { top: 50%; left: 0; right: 0; height: 1px; }
.camera-center { display: flex; align-items: center; flex-direction: column; gap: 13px; color: #77818b; font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.camera-lens { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; color: #a0a9b2; background: rgba(255,255,255,.035); }
.camera-lens svg { width: 26px; height: 26px; }
.camera-corner { position: absolute; width: 18px; height: 18px; border-color: rgba(231,168,71,.55); border-style: solid; }.camera-corner-tl { top: 15px; left: 15px; border-width: 1px 0 0 1px; }.camera-corner-tr { top: 15px; right: 15px; border-width: 1px 1px 0 0; }.camera-corner-bl { bottom: 15px; left: 15px; border-width: 0 0 1px 1px; }.camera-corner-br { bottom: 15px; right: 15px; border-width: 0 1px 1px 0; }
.camera-preview-bottom { color: #838b94; font-size: 10px; }.camera-preview-bottom .mini-tag { margin: 0; }
.coming-copy-block { margin: 25px 3px 0; }.coming-copy-block h2 { margin-top: 13px; }.coming-copy-block p { max-width: 600px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.settings-preview-card { display: flex; align-items: center; gap: 14px; padding: 19px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.settings-avatar { width: 43px; height: 43px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; color: #e9edf2; background: linear-gradient(145deg,#454a51,#35393e); font-weight: 700; font-size: 20px; }
.settings-profile-text { flex: 1; min-width: 0; }.settings-profile-text h2 { font-size: 14px; }.settings-profile-text p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.settings-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.setting-row { display: flex; align-items: center; gap: 13px; padding: 16px 17px; min-height: 76px; }.setting-row + .setting-row { border-top: 1px solid var(--line); }
.setting-symbol { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: #9ebfe7; background: rgba(0,122,255,.1); }.setting-symbol svg { width: 17px; height: 17px; }
.setting-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }.setting-copy strong { color: #e0e4e9; font-size: 11px; font-weight: 620; }.setting-copy small { color: #898f98; font-size: 10px; }
.toggle-preview { width: 35px; height: 21px; flex: 0 0 auto; padding: 3px; border-radius: 999px; background: #4a4e54; opacity: .65; }.toggle-preview span { display: block; width: 15px; height: 15px; border-radius: 50%; background: #c4c8ce; }
.bottom-nav { position: fixed; z-index: 10; left: 50%; bottom: max(14px,env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(600px,calc(100% - 36px)); min-height: 74px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 7px; border: 1px solid rgba(255,255,255,.095); border-radius: 22px; background: rgba(44,47,51,.96); box-shadow: 0 17px 45px rgba(0,0,0,.36),inset 0 1px rgba(255,255,255,.055); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.nav-item { min-width: 0; display: flex; position: relative; flex-direction: column; justify-content: center; align-items: center; gap: 4px; border: 0; border-radius: 16px; background: transparent; color: #8d949d; font-size: 9px; font-weight: 620; cursor: pointer; transition: background .18s ease,color .18s ease,transform .18s ease; }
.nav-item:hover { color: #d3d8df; }.nav-item:focus-visible { outline: 2px solid #6ab0ff; outline-offset: -2px; }.nav-item.is-current { color: #f5f8fc; background: rgba(0,122,255,.14); }
.nav-icon { height: 21px; display: grid; place-items: center; }.nav-icon svg { width: 20px; height: 20px; stroke-width: 1.8; }
.nav-item.is-current .nav-icon { color: #69adff; }.nav-version { position: absolute; top: 5px; right: calc(50% - 27px); padding: 2px 4px; border-radius: 5px; background: rgba(255,255,255,.08); color: #aeb5bd; font-size: 7px; font-style: normal; font-weight: 750; }
button:focus-visible,a:focus-visible { outline: 2px solid #6ab0ff; outline-offset: 3px; }
@media (min-width: 900px) { main { padding-top: 66px; }.page-heading { margin-bottom: 42px; }.stats-grid { gap: 18px; }.stat-card { min-height: 145px; padding: 22px 24px; }.empty-card { min-height: 380px; } }
@media (max-width: 640px) {
  .app-shell { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .topbar { width: calc(100% - 36px); height: 69px; }.version-pill { font-size: 9px; padding: 6px 8px; }.profile-button { width: 34px; height: 34px; }
  main { width: calc(100% - 36px); padding-top: 34px; }
  .page-heading { margin-bottom: 27px; }.page-subtitle { max-width: 270px; font-size: 13px; }.section-icon { width: 46px; height: 46px; border-radius: 14px; }.section-icon svg { width: 22px; height: 22px; }
  .stats-grid { gap: 8px; margin-bottom: 35px; }.stat-card { min-height: 115px; padding: 14px 12px 12px; border-radius: 15px; }.stat-label { font-size: 10px; }.stat-value { font-size: 27px; margin-top: 8px; }.stat-foot { font-size: 8px; gap: 5px; white-space: nowrap; }
  .section-row { margin-bottom: 13px; }h2 { font-size: 20px; }.empty-card { min-height: 330px; padding: 27px 17px; }.empty-card h3 { font-size: 19px; }.empty-copy { font-size: 12px; }
  .coming-hero { min-height: 310px; padding: 22px 20px; }.coming-art { right: 4%; top: 45px; transform: scale(.82); transform-origin: top right; }.coming-hero h2 { margin-top: 93px; font-size: 24px; }.coming-hero p { font-size: 12px; }
  .feature-grid { gap: 9px; }.feature-card { padding: 14px; min-height: 190px; }.feature-card h3 { font-size: 13px; }.feature-card p { font-size: 10px; }
  .camera-preview { padding: 12px; }.camera-screen { height: 235px; }.settings-preview-card { padding: 15px; }.settings-profile-text h2 { font-size: 12px; }.settings-profile-text p { font-size: 9px; }.settings-preview-card .mini-tag { font-size: 8px; }
  .setting-row { gap: 10px; padding: 14px 12px; }.setting-copy strong { font-size: 10px; }.setting-copy small { font-size: 9px; }.toggle-preview { width: 32px; }
  .bottom-nav { width: calc(100% - 24px); bottom: max(9px,env(safe-area-inset-bottom)); min-height: 69px; border-radius: 19px; }.nav-item { font-size: 8px; }.nav-icon svg { width: 19px; height: 19px; }.nav-version { right: calc(50% - 25px); top: 4px; }
  .toast { bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
