:root {
  color-scheme: light;
  --bg: oklch(0.96 0.045 212);
  --ink: oklch(0.22 0.045 235);
  --muted: oklch(0.48 0.035 230);
  --line: oklch(1 0 0 / 0.34);
  --glass: oklch(1 0 0 / 0.54);
  --glass-strong: oklch(1 0 0 / 0.74);
  --glass-soft: oklch(1 0 0 / 0.32);
  --primary: oklch(0.57 0.18 228);
  --primary-strong: oklch(0.46 0.16 230);
  --cyan: oklch(0.78 0.12 205);
  --mint: oklch(0.74 0.14 166);
  --sun: oklch(0.88 0.16 86);
  --coral: oklch(0.69 0.16 28);
  --violet: oklch(0.62 0.13 286);
  --blur: blur(22px) saturate(1.35);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --nav-w: 246px;
  --bottom-h: 62px;
  --shadow-soft: 0 10px 30px oklch(0.22 0.045 235 / 0.12);
  --shadow-float: 0 18px 60px oklch(0.22 0.045 235 / 0.16);
  --font: "SF Pro Display", "SF Pro Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --z-sticky: 30;
  --z-backdrop: 80;
  --z-drawer: 90;
  --z-modal: 100;
  --z-toast: 120;
}

* {
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
}

html {
  min-width: 320px;
  background: var(--bg);
  overflow-x: hidden;
}

body {
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, oklch(0.86 0.105 210) 0%, oklch(0.95 0.055 205) 36%, oklch(0.985 0.025 174) 100%);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  content: "";
  pointer-events: none;
}

body::before {
  left: -10vw;
  right: -10vw;
  top: 82px;
  height: 210px;
  background:
    radial-gradient(ellipse at 18% 50%, oklch(1 0 0 / 0.78) 0 19%, transparent 20%),
    radial-gradient(ellipse at 36% 38%, oklch(1 0 0 / 0.66) 0 16%, transparent 17%),
    radial-gradient(ellipse at 67% 54%, oklch(1 0 0 / 0.72) 0 22%, transparent 23%),
    radial-gradient(ellipse at 85% 42%, oklch(1 0 0 / 0.58) 0 16%, transparent 17%);
  filter: blur(10px);
}

body::after {
  inset: auto 0 0 0;
  height: 42vh;
  background: linear-gradient(180deg, transparent, oklch(0.88 0.11 170 / 0.34));
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid oklch(0.64 0.16 228 / 0.4);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -52px;
  left: 16px;
  z-index: var(--z-toast);
  padding: 10px 14px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.app-shell {
  min-height: 100dvh;
  max-width: 100%;
  overflow-x: clip;
}

.side-nav {
  display: none;
}

.main-panel {
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
  padding: 14px 14px calc(var(--bottom-h) + 104px);
  overflow-x: clip;
}

.mobile-top-bar {
  position: sticky;
  top: 10px;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 10px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: oklch(1 0 0 / 0.5);
  box-shadow: var(--shadow-soft);
  backdrop-filter: var(--blur);
}

.top-bar {
  position: sticky;
  top: 10px;
  z-index: var(--z-sticky);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px 12px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: var(--blur);
}

.desktop-top-bar {
  display: none;
}

.top-bar h1,
.mobile-top-bar h1,
.section-head h2,
.weather-stage h2,
.today-panel h2,
.collection-summary h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 780;
  letter-spacing: 0;
  text-wrap: balance;
}

.top-bar h1,
.mobile-page-title {
  font-size: 1.55rem;
  line-height: 1.1;
}

.mobile-page-title {
  flex: 0 0 auto;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0;
  text-transform: none;
}

.top-actions,
.stage-actions,
.section-head,
.modal-head,
.brand-mark,
.nav-item,
.stat-row,
.feed-meta,
.cloud-meta,
.toggle-row {
  display: flex;
  align-items: center;
}

.top-meta {
  display: none;
}

.mobile-search-trigger {
  flex: 0 0 auto;
  min-width: 82px;
  margin: 0;
  padding: 0 14px;
  color: white;
  background: linear-gradient(180deg, oklch(0.61 0.17 228), var(--primary-strong));
  box-shadow: 0 10px 24px oklch(0.46 0.16 230 / 0.24);
}

.top-actions {
  justify-content: end;
  gap: 8px;
}

.primary-button,
.ghost-button,
.text-button,
.icon-button,
.nav-item,
.chip-button,
.floating-capture {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.primary-button,
.ghost-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  font-weight: 760;
  white-space: nowrap;
}

.primary-button {
  color: white;
  background: linear-gradient(180deg, oklch(0.6 0.18 226), var(--primary-strong));
  box-shadow: 0 10px 24px oklch(0.46 0.16 230 / 0.22);
}

.primary-button:hover,
.floating-capture:hover {
  transform: translateY(-1px);
}

.primary-button:active,
.ghost-button:active,
.text-button:active,
.icon-button:active,
.nav-item:active,
.chip-button:active,
.floating-capture:active {
  transform: scale(0.98);
}

.ghost-button,
.icon-button {
  color: var(--ink);
  background: var(--glass-strong);
  border: 1px solid var(--line);
  backdrop-filter: var(--blur);
}

.text-button {
  color: var(--primary-strong);
  background: oklch(1 0 0 / 0.46);
  backdrop-filter: var(--blur);
}

.text-button:hover,
.ghost-button:hover,
.icon-button:hover,
.nav-item:hover,
.chip-button:hover {
  background: oklch(1 0 0 / 0.72);
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
}

[data-icon] {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
}

[data-icon] svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.status-pill,
.task-state,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--primary-strong);
  background: oklch(1 0 0 / 0.58);
  font-size: 0.82rem;
  font-weight: 720;
  white-space: nowrap;
  backdrop-filter: var(--blur);
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.home-grid {
  display: grid;
  gap: 22px;
}

.weather-stage,
.today-panel,
.content-band,
.map-page,
.collection-summary,
.checkin-modal,
.auth-modal,
.detail-drawer {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: var(--blur);
}

.weather-stage {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(180deg, oklch(0.86 0.12 207 / 0.72), oklch(0.92 0.07 195 / 0.48)),
    var(--glass);
}

.weather-stage::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, oklch(1 0 0 / 0.42), transparent 38%);
}

.stage-copy {
  position: relative;
  z-index: 2;
  max-width: 580px;
  padding: 32px;
}

.stage-copy h2 {
  max-width: 12em;
  font-size: 3.05rem;
  line-height: 1.04;
}

.stage-copy p:not(.eyebrow) {
  max-width: 42ch;
  margin: 16px 0 0;
  color: oklch(0.32 0.05 235);
  font-size: 1.05rem;
  text-wrap: pretty;
}

.stage-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.task-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(100%, 470px);
  margin-top: 24px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: oklch(1 0 0 / 0.46);
  backdrop-filter: var(--blur);
}

.task-strip strong,
.task-strip small {
  display: block;
}

.task-strip small {
  margin-top: 3px;
  color: var(--muted);
}

.task-strip .task-state {
  color: white;
  background: var(--primary-strong);
}

.sky-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.sun-disc {
  position: absolute;
  top: 58px;
  right: 11%;
  width: 112px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sun);
  box-shadow:
    0 0 0 18px oklch(0.88 0.16 86 / 0.2),
    0 0 54px oklch(0.88 0.16 86 / 0.32);
}

.floating-cloud {
  position: absolute;
  width: 212px;
  height: 74px;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.9);
  box-shadow:
    0 10px 24px oklch(0.22 0.045 235 / 0.12),
    inset 0 -8px 0 oklch(0.88 0.05 210 / 0.38);
}

.floating-cloud::before,
.floating-cloud::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  background: inherit;
}

.floating-cloud::before {
  left: 34px;
  bottom: 28px;
  width: 72px;
  height: 72px;
}

.floating-cloud::after {
  right: 42px;
  bottom: 20px;
  width: 92px;
  height: 92px;
}

.cloud-a {
  right: 8%;
  bottom: 24%;
}

.cloud-b {
  right: 33%;
  bottom: 11%;
  transform: scale(0.72);
  opacity: 0.88;
}

.cloud-c {
  right: -40px;
  top: 53%;
  transform: scale(0.84);
  opacity: 0.68;
}

.today-panel,
.content-band {
  padding: 18px;
}

.section-head {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: 1.55rem;
  line-height: 1.16;
}

.section-head.compact {
  margin-bottom: 18px;
}

.section-head.compact h2 {
  font-size: 2rem;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.5);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), var(--primary), var(--sun));
}

.stat-row {
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.stat-row div {
  flex: 1;
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: oklch(1 0 0 / 0.42);
}

.stat-row strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.05;
}

.stat-row span {
  color: var(--muted);
}

.content-band {
  margin-top: 14px;
}

.two-column {
  display: grid;
  gap: 18px;
}

.cloud-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.cloud-card,
.feed-card,
.record-card,
.collection-item,
.map-record {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: oklch(1 0 0 / 0.5);
  backdrop-filter: var(--blur);
}

.cloud-card {
  display: grid;
  min-height: 286px;
  text-align: left;
}

.cloud-card-button,
.feed-card-button {
  width: 100%;
  padding: 0;
  color: inherit;
  text-align: left;
  background: oklch(1 0 0 / 0.44);
}

.cloud-card-button:hover,
.feed-card-button:hover,
.map-record:hover,
.collection-item:hover {
  transform: translateY(-2px);
  background: oklch(1 0 0 / 0.64);
}

.cloud-art {
  position: relative;
  min-height: 132px;
  overflow: hidden;
  background: linear-gradient(145deg, oklch(0.68 0.15 213), oklch(0.93 0.07 205) 62%, oklch(0.92 0.14 88));
}

.cloud-art::before,
.cloud-art::after {
  position: absolute;
  content: "";
}

.cloud-art::before {
  left: 14%;
  top: 39%;
  width: 68%;
  height: 34%;
  border-radius: 999px;
  background: white;
  box-shadow:
    28px -22px 0 6px oklch(1 0 0 / 0.84),
    92px -12px 0 2px oklch(1 0 0 / 0.74),
    -22px 8px 0 -2px oklch(1 0 0 / 0.78),
    inset 0 -8px 0 oklch(0.91 0.04 210 / 0.42);
}

.cloud-art::after {
  inset: 0;
  background: linear-gradient(135deg, oklch(1 0 0 / 0.22), transparent 46%);
}

.cloud-art.high {
  background: linear-gradient(145deg, oklch(0.62 0.17 220), oklch(0.93 0.075 205) 66%, oklch(0.94 0.13 88));
}

.cloud-art.high::before {
  top: 49%;
  height: 22%;
}

.cloud-art.middle {
  background: linear-gradient(145deg, oklch(0.72 0.12 202), oklch(0.94 0.08 168) 62%, oklch(0.9 0.16 82));
}

.cloud-art.low {
  background: linear-gradient(145deg, oklch(0.72 0.075 218), oklch(0.9 0.045 194) 62%, oklch(0.96 0.08 112));
}

.cloud-art.low::before {
  top: 35%;
  height: 46%;
}

.cloud-art.tower {
  background: linear-gradient(145deg, oklch(0.55 0.17 226), oklch(0.8 0.12 205) 54%, oklch(0.8 0.16 34));
}

.cloud-art.tower::before {
  top: 18%;
  left: 28%;
  width: 42%;
  height: 64%;
  border-radius: 48% 48% 14px 14px;
  box-shadow:
    22px -18px 0 10px oklch(1 0 0 / 0.84),
    -18px 12px 0 8px oklch(1 0 0 / 0.78);
}

.cloud-card-body,
.feed-body,
.record-card,
.collection-item,
.map-record {
  padding: 14px;
}

.cloud-card h3,
.feed-card h3,
.map-record h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 780;
  line-height: 1.25;
}

.cloud-card p,
.feed-card p,
.map-record p,
.collection-summary p {
  max-width: 65ch;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
  text-wrap: pretty;
}

.cloud-meta,
.feed-meta {
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.tag.coral {
  color: oklch(0.42 0.12 35);
  background: oklch(0.94 0.055 35 / 0.72);
}

.tag.violet {
  color: oklch(0.42 0.1 285);
  background: oklch(0.94 0.045 285 / 0.72);
}

.toolbar {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass-strong);
  backdrop-filter: var(--blur);
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.search-field input::placeholder,
.checkin-form textarea::placeholder {
  color: oklch(0.43 0.024 235);
}

.segmented {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.chip-button {
  flex: 0 0 auto;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--glass);
  font-weight: 720;
  backdrop-filter: var(--blur);
}

.chip-button.is-active {
  color: white;
  background: var(--primary-strong);
}

.feed-list {
  display: grid;
  gap: 12px;
}

.feed-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
}

.feed-card .cloud-art {
  min-height: 132px;
}

.masonry-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.masonry-feed .feed-card {
  display: block;
}

.masonry-feed .cloud-art {
  min-height: 190px;
}

.mini-map,
.mock-map {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, oklch(0.88 0.09 160), oklch(0.89 0.11 205) 54%, oklch(0.9 0.13 82));
}

.map-pin,
.map-dot {
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  border: 3px solid white;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 6px 16px oklch(0.22 0.045 235 / 0.16);
}

.pin-a,
.dot-a {
  left: 24%;
  top: 34%;
}

.pin-b,
.dot-b {
  right: 28%;
  top: 22%;
  background: var(--violet);
}

.pin-c,
.dot-c {
  left: 58%;
  bottom: 28%;
  background: var(--mint);
}

.dot-d {
  right: 18%;
  bottom: 18%;
  background: var(--sun);
}

.map-line {
  position: absolute;
  height: 3px;
  border-radius: 999px;
  background: oklch(0.42 0.06 165 / 0.24);
  transform-origin: left center;
}

.line-a {
  left: 28%;
  top: 40%;
  width: 190px;
  transform: rotate(-16deg);
}

.line-b {
  left: 44%;
  bottom: 35%;
  width: 140px;
  transform: rotate(22deg);
}

.map-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: grid;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: oklch(1 0 0 / 0.62);
  backdrop-filter: var(--blur);
}

.map-caption strong {
  font-size: 1.6rem;
  line-height: 1.05;
}

.map-caption span {
  color: var(--muted);
}

.map-page {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.mock-map {
  min-height: 520px;
}

.map-dot {
  width: 24px;
  height: 24px;
}

.map-list {
  display: grid;
  gap: 10px;
}

.map-record {
  text-align: left;
}

.collection-layout {
  display: grid;
  gap: 16px;
}

.collection-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
}

.ring {
  display: grid;
  flex: 0 0 112px;
  width: 112px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, oklch(1 0 0 / 0.74) 58%, transparent 59%),
    conic-gradient(var(--mint) 0 42%, var(--primary) 42% 60%, oklch(1 0 0 / 0.4) 60% 100%);
}

.ring span {
  font-size: 1.5rem;
  font-weight: 780;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.collection-item {
  min-height: 142px;
  text-align: left;
}

.collection-item.is-locked {
  opacity: 0.62;
}

.collection-item strong {
  display: block;
  margin-top: 10px;
  font-size: 1.08rem;
}

.collection-item small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-backdrop);
  background: oklch(0.22 0.045 235 / 0.28);
  backdrop-filter: blur(8px);
}

.detail-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: var(--z-drawer);
  width: min(520px, 100vw);
  height: 100dvh;
  overflow-y: auto;
  padding: 18px;
  border-radius: 28px 0 0 28px;
  transform: translateX(105%);
  transition: transform 180ms ease;
}

.detail-drawer.is-open {
  transform: translateX(0);
}

.close-button {
  position: sticky;
  top: 0;
  z-index: 2;
  margin-left: auto;
}

.drawer-hero {
  margin: 14px -18px 20px;
}

.drawer-hero .cloud-art {
  min-height: 232px;
}

.detail-drawer h2 {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.15;
}

.detail-drawer h2 small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.detail-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.detail-block {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: oklch(1 0 0 / 0.42);
}

.detail-block h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.detail-block p {
  max-width: 65ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.checkin-modal {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--z-modal);
  width: 100%;
  max-height: min(88dvh, 760px);
  overflow-y: auto;
  padding: 22px 18px 18px;
  border-radius: 28px 28px 0 0;
  transform: translateY(105%);
  pointer-events: none;
  transition: transform 180ms ease;
}

.checkin-modal::before {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 44px;
  height: 4px;
  content: "";
  border-radius: 999px;
  background: oklch(1 0 0 / 0.58);
  transform: translateX(-50%);
}

.checkin-modal.is-open {
  transform: translateY(0);
  pointer-events: auto;
}

/* ── Auth Modal ── */

.auth-modal {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--z-modal);
  width: 100%;
  max-height: min(80dvh, 560px);
  overflow-y: auto;
  padding: 22px 18px 24px;
  border-radius: 28px 28px 0 0;
  background: var(--glass-strong);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--line);
  border-bottom: none;
  transform: translateY(105%);
  pointer-events: none;
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-modal::before {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 44px;
  height: 4px;
  content: "";
  border-radius: 999px;
  background: oklch(1 0 0 / 0.58);
  transform: translateX(-50%);
}

.auth-modal.is-open {
  transform: translateY(0);
  pointer-events: auto;
}

.auth-tabs {
  display: flex;
  gap: 4px;
  margin: 8px 0 16px;
  padding: 3px;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.24);
}

.auth-tab {
  flex: 1;
  padding: 8px 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab.is-active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 10px oklch(0.57 0.18 228 / 0.3);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form.is-hidden {
  display: none;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-form label > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.auth-form input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: oklch(1 0 0 / 0.54);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(0.57 0.18 228 / 0.15);
}

.auth-form input::placeholder {
  color: oklch(0.62 0.03 230);
}

.auth-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 20px;
  text-align: center;
}

.auth-prompt p {
  color: var(--muted);
  font-size: 15px;
}

.avatar-dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mint);
  border: 2px solid var(--primary);
  vertical-align: middle;
  margin-right: 2px;
}

.checkin-form {
  display: grid;
  gap: 14px;
}

.checkin-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.checkin-steps li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 999px;
  color: var(--muted);
  background: oklch(1 0 0 / 0.42);
  font-size: 0.86rem;
  font-weight: 720;
}

.checkin-steps li.is-current {
  color: white;
  background: var(--primary-strong);
}

.upload-zone {
  display: grid;
  min-height: 150px;
  place-items: center;
  gap: 6px;
  border: 1.5px dashed oklch(1 0 0 / 0.54);
  border-radius: 22px;
  color: var(--primary-strong);
  background:
    linear-gradient(145deg, oklch(0.9 0.085 206 / 0.72), oklch(0.94 0.09 170 / 0.58));
}

.upload-zone strong {
  color: var(--ink);
}

.upload-zone small {
  color: var(--muted);
}

.checkin-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 720;
}

.checkin-form input,
.checkin-form select,
.checkin-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: oklch(1 0 0 / 0.62);
}

.checkin-form textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  gap: 12px;
}

.toggle-row {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  min-height: 44px;
  color: var(--muted);
  font-weight: 600;
}

.toggle-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--mint);
}

.submit-button {
  width: 100%;
}

.toast {
  position: fixed;
  bottom: calc(var(--bottom-h) + 92px);
  left: 50%;
  z-index: var(--z-toast);
  max-width: calc(100vw - 32px);
  padding: 12px 14px;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.bottom-nav {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: var(--z-sticky);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: var(--bottom-h);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: oklch(1 0 0 / 0.58);
  box-shadow: var(--shadow-float);
  backdrop-filter: var(--blur);
}

.bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: var(--bottom-h);
  gap: 2px;
  padding: 4px 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.02em;
}

.bottom-nav .nav-item [data-icon] {
  width: 22px;
  height: 22px;
}

.bottom-nav .nav-item [data-icon] svg {
  width: 22px;
  height: 22px;
}

.bottom-nav .nav-item.is-active {
  color: var(--primary-strong);
  background: oklch(1 0 0 / 0.42);
}

.floating-capture {
  position: fixed;
  right: 22px;
  bottom: calc(var(--bottom-h) + 28px);
  z-index: calc(var(--z-sticky) + 1);
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: white;
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
  box-shadow: var(--shadow-float);
}

@media (min-width: 720px) {
  .mobile-top-bar {
    display: none;
  }

  .desktop-top-bar {
    display: grid;
  }

  .mobile-search-trigger {
    display: none !important;
  }

  .top-bar {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .top-meta {
    display: flex;
    margin-left: auto;
  }

  .home-grid,
  .two-column,
  .map-page,
  .collection-layout,
  .form-row {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
  }

  .toolbar {
    grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
    align-items: center;
  }

  .weather-stage {
    min-height: 470px;
  }
}

@media (max-width: 719px) {
  .mobile-top-bar {
    padding: 10px 10px 10px 16px;
  }

  .mobile-search-trigger {
    display: inline-flex !important;
  }

  .mobile-page-title {
    font-size: 1.35rem;
    min-width: 0;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }
}

@media (min-width: 1024px) {
  .app-shell {
    display: grid;
    grid-template-columns: var(--nav-w) minmax(0, 1fr);
    gap: 18px;
    padding: 18px 18px 18px 0;
  }

  .main-panel {
    grid-column: 2;
  }

  .side-nav {
    position: fixed;
    top: 18px;
    left: 18px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: calc(var(--nav-w) - 18px);
    height: calc(100dvh - 36px);
    padding: 22px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--glass);
    box-shadow: var(--shadow-soft);
    backdrop-filter: var(--blur);
    z-index: var(--z-sticky);
    transform: none;
  }

  .brand-mark {
    gap: 12px;
    min-height: 52px;
  }

  .brand-symbol {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 28px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.48);
  }

  .brand-symbol::before,
  .brand-symbol::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    background: inherit;
  }

  .brand-symbol::before {
    bottom: 11px;
    left: 6px;
    width: 18px;
    height: 18px;
  }

  .brand-symbol::after {
    right: 6px;
    bottom: 8px;
    width: 24px;
    height: 24px;
    background: var(--mint);
  }

  .brand-mark strong,
  .brand-mark small {
    display: block;
  }

  .brand-mark strong {
    font-size: 1.3rem;
    line-height: 1;
  }

  .brand-mark small {
    color: var(--muted);
    font-size: 0.75rem;
  }

  .nav-list {
    display: grid;
    gap: 8px;
  }

  .side-nav .nav-item {
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    padding: 0 12px;
    color: var(--muted);
    background: transparent;
    font-weight: 720;
  }

  .side-nav .nav-item.is-active {
    color: var(--primary-strong);
    background: oklch(1 0 0 / 0.48);
  }

  .nav-upload {
    margin-top: auto;
  }

  .main-panel {
    padding: 0;
  }

  .top-bar {
    top: 18px;
    margin-bottom: 18px;
    padding: 16px 18px;
  }

  .view {
    padding-top: 6px;
  }

  .home-grid {
    padding-top: 12px;
  }

  .mobile-top-bar {
    top: 18px;
  }

  .top-bar h1 {
    font-size: 2rem;
  }

  .checkin-modal,
  .auth-modal {
    top: 18px;
    right: 18px;
    bottom: 18px;
    left: auto;
    width: min(440px, calc(100vw - 36px));
    height: auto;
    max-height: calc(100dvh - 36px);
    border-radius: var(--radius-lg);
    transform: translateX(calc(100% + 36px));
  }

  .checkin-modal::before,
  .auth-modal::before {
    display: none;
  }

  .checkin-modal.is-open,
  .auth-modal.is-open {
    transform: translateX(0);
  }

  .bottom-nav {
    display: none;
  }

  .floating-capture {
    display: none;
  }

  .toast {
    bottom: 36px;
  }
}

@media (max-width: 420px) {
  .main-panel {
    padding-inline: 12px;
  }

  .stage-copy {
    padding: 24px 14px;
  }

  .stage-copy h2 {
    max-width: none;
    font-size: 1.5rem;
  }

  .stage-copy p:not(.eyebrow) {
    max-width: 26ch;
  }

  .sun-disc {
    top: 8px;
    right: 10px;
    width: 40px;
  }

  .cloud-a {
    right: -20px;
    bottom: 4px;
    transform: scale(0.5);
  }

  .cloud-b {
    left: -10px;
    top: 14px;
    right: auto;
    bottom: auto;
    transform: scale(0.4);
  }

  .feed-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }
}

:root {
  --bg: oklch(0.87 0.12 211);
  --ink: oklch(0.18 0.055 235);
  --muted: oklch(0.42 0.05 232);
  --line: oklch(1 0 0 / 0.36);
  --glass: oklch(1 0 0 / 0.28);
  --glass-strong: oklch(1 0 0 / 0.64);
  --glass-soft: oklch(1 0 0 / 0.18);
  --primary: oklch(0.56 0.2 231);
  --primary-strong: oklch(0.42 0.18 234);
  --cyan: oklch(0.78 0.15 202);
  --mint: oklch(0.8 0.15 166);
  --sun: oklch(0.9 0.18 87);
  --coral: oklch(0.72 0.18 28);
  --violet: oklch(0.62 0.16 284);
  --blur: blur(34px) saturate(1.55) brightness(1.04);
  --shadow-soft: 0 18px 50px oklch(0.23 0.08 235 / 0.16);
  --shadow-float: 0 24px 80px oklch(0.22 0.09 235 / 0.22);
  --pointer-x: 58%;
  --pointer-y: 18%;
}

html,
body,
.app-shell,
.main-panel {
  max-width: 100%;
}

body {
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), oklch(1 0 0 / 0.74), transparent 15rem),
    radial-gradient(ellipse at 88% 8%, oklch(0.63 0.22 285 / 0.42), transparent 28rem),
    radial-gradient(ellipse at 8% 88%, oklch(0.86 0.16 78 / 0.46), transparent 24rem),
    linear-gradient(145deg, oklch(0.54 0.21 230) 0%, oklch(0.78 0.18 199) 34%, oklch(0.92 0.12 164) 66%, oklch(0.86 0.18 86) 118%);
}

body::before {
  left: -16vw;
  right: -16vw;
  top: -80px;
  height: 64vh;
  background:
    conic-gradient(from 210deg at 22% 22%, oklch(1 0 0 / 0.6), oklch(0.82 0.18 200 / 0.28), transparent 28%, oklch(0.63 0.2 286 / 0.24), oklch(0.8 0.16 166 / 0.34), oklch(1 0 0 / 0.5)),
    linear-gradient(120deg, transparent, oklch(1 0 0 / 0.34), transparent 68%);
  filter: blur(28px);
  animation: liquidAtmosphere 18s ease-in-out infinite alternate;
}

body::after {
  height: 56vh;
  background:
    linear-gradient(180deg, transparent, oklch(0.77 0.16 192 / 0.24) 36%, oklch(0.96 0.06 170 / 0.42)),
    radial-gradient(ellipse at 64% 100%, oklch(1 0 0 / 0.4), transparent 48%);
}

.mobile-top-bar,
.top-bar,
.weather-stage,
.today-panel,
.content-band,
.map-page,
.collection-summary,
.cloud-card,
.feed-card,
.record-card,
.collection-item,
.map-record,
.mini-map,
.mock-map,
.bottom-nav,
.detail-drawer,
.checkin-modal,
.auth-modal,
.task-strip,
.map-caption,
.status-pill,
.tag,
.search-field,
.upload-zone {
  position: relative;
  border-color: oklch(1 0 0 / 0.46);
  background:
    linear-gradient(145deg, oklch(1 0 0 / 0.56), oklch(1 0 0 / 0.2) 44%, oklch(0.72 0.13 203 / 0.14)),
    var(--glass);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.72),
    inset 0 -1px 0 oklch(1 0 0 / 0.18),
    0 18px 50px oklch(0.22 0.09 235 / 0.13);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

.mobile-top-bar::after,
.top-bar::after,
.side-nav::after,
.weather-stage::after,
.today-panel::after,
.content-band::after,
.cloud-card::after,
.feed-card::after,
.bottom-nav::after,
.detail-drawer::after,
.checkin-modal::after,
.auth-modal::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), oklch(1 0 0 / 0.34), transparent 28%),
    linear-gradient(135deg, oklch(1 0 0 / 0.32), transparent 32%, oklch(1 0 0 / 0.12) 67%, transparent);
  opacity: 0.82;
  pointer-events: none;
  mix-blend-mode: screen;
}

.mobile-top-bar > *,
.top-bar > *,
.side-nav > *,
.weather-stage > *,
.today-panel > *,
.content-band > *,
.cloud-card > *,
.feed-card > *,
.bottom-nav > *,
.detail-drawer > *,
.checkin-modal > *,
.auth-modal > * {
  position: relative;
  z-index: 1;
}

.side-nav {
  border-color: oklch(1 0 0 / 0.46);
  background:
    linear-gradient(145deg, oklch(1 0 0 / 0.56), oklch(1 0 0 / 0.2) 44%, oklch(0.72 0.13 203 / 0.14)),
    var(--glass);
  -webkit-backdrop-filter: var(--blur);
}

.side-nav,
.mobile-top-bar,
.top-bar,
.bottom-nav {
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.82),
    inset 0 -1px 0 oklch(0.7 0.12 210 / 0.16),
    0 24px 72px oklch(0.2 0.08 230 / 0.18);
}

.weather-stage {
  min-height: 400px;
  background:
    radial-gradient(circle at 74% 24%, oklch(1 0 0 / 0.56), transparent 15rem),
    radial-gradient(ellipse at 92% 72%, oklch(0.88 0.17 83 / 0.48), transparent 16rem),
    linear-gradient(145deg, oklch(0.62 0.2 222 / 0.9), oklch(0.86 0.15 193 / 0.66) 44%, oklch(0.94 0.1 154 / 0.5)),
    var(--glass);
}

.weather-stage::before {
  background:
    linear-gradient(118deg, oklch(1 0 0 / 0.5), transparent 34%),
    radial-gradient(ellipse at 25% 12%, oklch(1 0 0 / 0.52), transparent 35%);
}

.stage-copy h2 {
  max-width: 10.8em;
  font-size: 2.95rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.stage-copy {
  z-index: 3;
}

.stage-copy p:not(.eyebrow) {
  color: oklch(0.24 0.06 235);
  font-weight: 560;
}

.sun-disc {
  background:
    radial-gradient(circle at 34% 28%, oklch(1 0 0 / 0.78), transparent 18%),
    linear-gradient(145deg, oklch(0.96 0.18 91), oklch(0.82 0.2 72));
  box-shadow:
    0 0 0 22px oklch(0.9 0.13 92 / 0.28),
    0 0 70px oklch(0.93 0.18 86 / 0.46),
    inset 0 1px 0 oklch(1 0 0 / 0.8);
  animation: floatSun 8s ease-in-out infinite alternate;
}

.floating-cloud {
  background:
    linear-gradient(180deg, oklch(1 0 0 / 0.95), oklch(0.96 0.02 210 / 0.78));
  box-shadow:
    0 18px 38px oklch(0.23 0.07 235 / 0.16),
    inset 0 1px 0 oklch(1 0 0 / 0.86),
    inset 0 -10px 0 oklch(0.84 0.06 210 / 0.28);
  filter: saturate(1.08);
  animation: cloudDrift 10s ease-in-out infinite alternate;
}

.cloud-b {
  animation-delay: -3s;
}

.cloud-c {
  right: 0;
  animation-delay: -6s;
}

.weather-stage .text-button {
  color: var(--primary-strong);
  background:
    linear-gradient(145deg, oklch(1 0 0 / 0.88), oklch(1 0 0 / 0.54));
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.86),
    0 14px 30px oklch(0.2 0.08 235 / 0.14);
}

.primary-button,
.mobile-search-trigger,
.nav-upload {
  background:
    linear-gradient(180deg, oklch(0.66 0.2 225), oklch(0.44 0.18 235)),
    var(--primary);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.58),
    0 16px 36px oklch(0.38 0.18 232 / 0.34);
}

.ghost-button,
.icon-button,
.text-button,
.chip-button,
.nav-item {
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / 0.58),
    0 10px 26px oklch(0.22 0.08 235 / 0.08);
}

.text-button,
.ghost-button,
.icon-button {
  background:
    linear-gradient(145deg, oklch(1 0 0 / 0.7), oklch(1 0 0 / 0.34));
}

.ghost-button.mobile-search-trigger {
  color: var(--ink);
  background:
    linear-gradient(145deg, oklch(1 0 0 / 0.84), oklch(1 0 0 / 0.48));
}

.cloud-card,
.feed-card,
.record-card,
.collection-item,
.map-record {
  border-radius: 24px;
  transform: translateZ(0);
}

.cloud-card-button:hover,
.feed-card-button:hover,
.map-record:hover,
.collection-item:hover,
.chip-button:hover,
.nav-item:hover {
  transform: translateY(-3px);
  background: oklch(1 0 0 / 0.58);
}

.cloud-art,
.mini-map,
.mock-map {
  background:
    radial-gradient(circle at 72% 18%, oklch(1 0 0 / 0.6), transparent 10rem),
    linear-gradient(145deg, oklch(0.67 0.2 219), oklch(0.86 0.14 196) 54%, oklch(0.92 0.18 83));
}

.cloud-art::after,
.mini-map::after,
.mock-map::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(125deg, oklch(1 0 0 / 0.34), transparent 36%),
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), oklch(1 0 0 / 0.32), transparent 34%);
  pointer-events: none;
}

.bottom-nav {
  position: fixed;
  right: auto;
  bottom: 12px;
  left: 50%;
  z-index: var(--z-sticky);
  width: min(430px, calc(100vw - 24px));
  border-radius: 999px;
  background:
    linear-gradient(145deg, oklch(1 0 0 / 0.58), oklch(1 0 0 / 0.24)),
    oklch(0.82 0.12 202 / 0.22);
  transform: translateX(-50%);
}

.content-band {
  background:
    linear-gradient(145deg, oklch(1 0 0 / 0.62), oklch(1 0 0 / 0.22) 48%, oklch(0.74 0.16 181 / 0.14)),
    var(--glass);
}

.bottom-nav .nav-item.is-active,
.side-nav .nav-item.is-active {
  color: var(--primary-strong);
  background:
    radial-gradient(circle at 50% 20%, oklch(1 0 0 / 0.9), transparent 62%),
    oklch(1 0 0 / 0.42);
}

.mobile-top-bar {
  min-height: 66px;
  justify-content: space-between;
}

.mobile-search-trigger {
  min-width: 86px;
  color: white;
}

.mobile-page-title {
  flex: 1 1 auto;
}

.modal-head {
  justify-content: space-between;
  gap: 16px;
}

#closeCheckin {
  flex: 0 0 auto;
  margin-left: auto;
}

.detail-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: var(--z-drawer);
  transform: translateX(105%);
}

.detail-drawer.is-open {
  transform: translateX(0);
}

.checkin-modal,
.auth-modal {
  position: fixed;
  z-index: var(--z-modal);
}

.checkin-modal.is-open,
.auth-modal.is-open {
  pointer-events: auto;
}

@keyframes liquidAtmosphere {
  from {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }

  to {
    transform: translate3d(1.5%, 1.5%, 0) scale(1.05);
  }
}

@keyframes floatSun {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-10px, 8px, 0);
  }
}

@keyframes cloudDrift {
  from {
    translate: -8px 0;
  }

  to {
    translate: 10px -6px;
  }
}

@media (max-width: 719px) {
  .main-panel {
    padding: 14px 14px calc(var(--bottom-h) + 88px);
  }

  .bottom-nav {
    right: auto;
    left: 50%;
    width: min(390px, calc(100vw - 24px));
    transform: translateX(-50%);
  }

  .section-head {
    justify-content: space-between;
    gap: 12px;
  }

  .section-head > .text-button,
  .section-head > .icon-button,
  .section-head > .primary-button {
    margin-left: 0;
  }

  .mobile-top-bar {
    gap: 10px;
    padding: 10px 10px 10px 16px;
    justify-content: space-between;
    margin-bottom: 18px;
  }

  .home-grid {
    padding-top: 14px;
  }

  .mobile-page-title {
    font-size: 1.42rem;
  }

  .weather-stage {
    min-height: auto;
  }

  .stage-copy {
    padding: 28px 20px;
    max-width: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .stage-copy h2 {
    max-width: none;
    font-size: 1.82rem;
    line-height: 1.18;
  }

  .stage-copy p:not(.eyebrow) {
    max-width: 32ch;
    margin: 8px auto 0;
    font-size: 0.95rem;
  }

  .sky-scene {
    position: absolute;
    inset: 0;
    z-index: 1;
    height: auto;
    pointer-events: none;
  }

  .sun-disc {
    top: 12px;
    right: 16px;
    width: 48px;
  }

  .floating-cloud {
    width: 120px;
    height: 42px;
  }

  .floating-cloud::before {
    left: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }

  .floating-cloud::after {
    right: 24px;
    bottom: 12px;
    width: 54px;
    height: 54px;
  }

  .cloud-a {
    right: -16px;
    bottom: 8px;
    transform: scale(0.6);
    opacity: 0.7;
  }

  .cloud-b {
    left: -14px;
    top: 18px;
    right: auto;
    bottom: auto;
    transform: scale(0.48);
    opacity: 0.6;
  }

  .cloud-c {
    display: none;
  }

  .stage-actions {
    margin-top: 16px;
    gap: 8px;
    justify-content: center;
  }

  .cloud-card-grid,
  .masonry-feed {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 1024px) {
  .app-shell {
    background:
      linear-gradient(90deg, oklch(1 0 0 / 0.1), transparent 26%),
      radial-gradient(ellipse at 100% 0%, oklch(1 0 0 / 0.34), transparent 30rem);
  }

  .side-nav {
    border-radius: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
