@font-face {
  font-family: "Exo 2";
  src: url("../fonts/exo2.woff2") format("woff2");
  font-weight: 200 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --cream: #f4f1ea;
  --cream-dim: rgba(228, 218, 200, 0.78);
  --line: rgba(150, 230, 200, 0.34);
  --glow: rgba(0, 255, 178, 0.45);
  --green: #7dffe0;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { background: #000; }

body {
  margin: 0;
  background: #000;
  color: var(--cream);
  font-family: "Exo 2", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  overscroll-behavior: none;
}

button, input, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: rgba(40, 200, 150, 0.35); }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid rgba(150, 255, 214, 0.85);
  outline-offset: 2px;
}
input:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: rgba(160, 255, 214, 0.75);
  box-shadow: 0 0 0 1px rgba(120, 255, 200, 0.35), 0 0 16px rgba(0, 255, 170, 0.12);
}

#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.bh-frame {
  position: fixed;
  z-index: 1;
  left: 50%;
  top: calc(env(safe-area-inset-top, 0px) - 7vh);
  width: min(198vw, 900px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  pointer-events: none;
}

.bh-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse 68% 52% at 50% 49%, #000 46%, transparent 76%);
  mask-image: radial-gradient(ellipse 68% 52% at 50% 49%, #000 46%, transparent 76%);
}

#dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sheen {
  position: absolute;
  left: 16%;
  right: 16%;
  top: 44%;
  height: 14%;
  background: radial-gradient(ellipse at center, rgba(255, 236, 200, 0.9), rgba(255, 186, 80, 0.25) 42%, transparent 72%);
  mix-blend-mode: screen;
  filter: blur(8px);
  opacity: 0.22;
  animation: sheen 8.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sheen {
  0%, 100% { opacity: 0.12; transform: scaleX(0.92); }
  50% { opacity: 0.38; transform: scaleX(1.06); }
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.38) 0%,
      rgba(0, 0, 0, 0) 14%,
      rgba(0, 0, 0, 0) 42%,
      rgba(0, 0, 0, 0.28) 62%,
      rgba(0, 0, 0, 0.72) 100%);
}

.app {
  position: relative;
  z-index: 4;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}

.top {
  position: relative;
  padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px 2px;
  text-align: center;
}

.title {
  margin: 0;
  font-weight: 200;
  font-size: clamp(16px, 4.85vw, 26px);
  letter-spacing: 0.32em;
  text-indent: 0.32em;
  text-transform: uppercase;
  line-height: 1.15;
  color: #f7f4ee;
  white-space: nowrap;
}

.dateline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 34px 0;
  color: #e7dccb;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
}

.rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 186, 140, 0.8));
  position: relative;
}
.rule::after,
.rule.right::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  background: rgba(232, 206, 160, 0.9);
  transform: translateY(-50%) rotate(45deg);
}
.rule::after { right: 0; }
.rule.right {
  background: linear-gradient(90deg, rgba(214, 186, 140, 0.8), transparent);
}
.rule.right::before { left: 0; }
.rule.right::after { display: none; }

.mute {
  position: absolute;
  right: 12px;
  bottom: 0;
  width: 28px;
  height: 28px;
  color: rgba(236, 226, 208, 0.8);
}
.mute svg { width: 14px; height: 14px; }
.mute.is-muted { opacity: 0.55; }

.stage {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0 16px 8px;
}
.stage.home,
.stage.dense { overflow: auto; }
.spacer { flex: 1 1 auto; min-height: 28px; }
.stage.dense .spacer { flex: none; height: 8px; min-height: 8px; }
#view { min-width: 0; }

.home-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.glass {
  position: relative;
  background:
    linear-gradient(180deg, rgba(8, 26, 22, 0.78), rgba(3, 12, 10, 0.72));
  border: 1px solid rgba(168, 240, 208, 0.4);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(226, 255, 244, 0.34),
    inset 0 -14px 24px rgba(0, 0, 0, 0.22),
    0 12px 30px rgba(0, 0, 0, 0.32),
    0 0 22px rgba(20, 190, 140, 0.08);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}
.stage.home .glass {
  background:
    linear-gradient(180deg, rgba(10, 32, 26, 0.62), rgba(4, 14, 12, 0.55));
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(6, 18, 16, 0.9); }
}

.card { padding: 13px 14px 14px; }
.today-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(112px, 31vw, 136px);
  gap: 12px;
  align-items: center;
}

.kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(222, 214, 196, 0.82);
}

.rows { display: flex; flex-direction: column; gap: 9px; }

.swipe {
  position: relative;
  border-radius: 14px;
  touch-action: pan-y;
}
.swipe-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-radius: 14px;
  color: #042018;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(90deg, rgba(40, 230, 160, 0.9), rgba(16, 90, 70, 0.2));
  opacity: 0;
}
.swipe.armed .swipe-bg { opacity: 1; }
.swipe-fg {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 42px;
  transition: transform 180ms ease;
}
.swipe-fg.dragging { transition: none; }
.swipe.leave .swipe-fg { animation: leave 260ms ease forwards; }

@keyframes leave {
  to { opacity: 0; transform: translateX(48px); }
}

.check {
  position: relative;
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  border-radius: 50%;
  color: #f7fff9;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 22%),
    radial-gradient(circle at 50% 60%, rgba(14, 32, 28, 0.2), rgba(0, 0, 0, 0.72) 74%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    inset 0 -8px 10px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(110, 190, 160, 0.45),
    0 4px 10px rgba(0, 0, 0, 0.3);
}
.check svg { width: 15px; height: 15px; }
.check svg path {
  fill: none;
  stroke: #f7fff9;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
}
.check:not(.on) svg { opacity: 0; }
.check.on {
  background:
    radial-gradient(circle at 32% 24%, #ffffff, rgba(255, 255, 255, 0) 26%),
    radial-gradient(circle at 40% 40%, #d9fff0, #1fe39a 46%, #0c8a5c 80%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.85),
    inset 0 -6px 10px rgba(0, 50, 30, 0.28),
    0 0 12px rgba(40, 255, 180, 0.8),
    0 0 0 1px rgba(190, 255, 225, 0.55);
}
.check.on svg path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 280ms ease;
}
.check.pop { animation: pop 420ms cubic-bezier(0.2, 1.5, 0.3, 1); }
.check.pop::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(130, 255, 210, 0.9);
  animation: ring 520ms ease-out forwards;
  pointer-events: none;
}

@keyframes pop {
  0% { transform: scale(0.8); }
  48% { transform: scale(1.16); }
  100% { transform: scale(1); }
}
@keyframes ring {
  to { transform: scale(1.75); opacity: 0; }
}

.row-hit {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  padding: 4px 0;
  text-align: left;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: #f6f3ec;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  padding: 2px 0;
  text-align: left;
}
.clock {
  width: 42px;
  height: 42px;
  flex: none;
  color: #f3ecdf;
}
.clock svg { width: 20px; height: 20px; }
.event-copy { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.event-time {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #f7f4ee;
}
.event-name {
  font-size: 14px;
  font-weight: 300;
  color: rgba(236, 228, 214, 0.78);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.orb {
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 8px;
  color: #f7fffb;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 18%),
    radial-gradient(circle at 50% 58%, rgba(20, 70, 58, 0.18), rgba(0, 12, 10, 0.55) 72%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.7),
    inset 0 -18px 24px rgba(0, 0, 0, 0.45),
    inset 0 0 18px rgba(80, 255, 200, 0.12),
    0 0 0 1px rgba(120, 255, 210, 0.55),
    0 0 22px rgba(0, 255, 180, 0.38),
    0 0 48px rgba(0, 200, 150, 0.16);
}
.orb .ico { width: 24px; height: 24px; margin-bottom: 1px; }
.orb .temp {
  font-size: clamp(28px, 8vw, 34px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: 0.02em;
}
.orb .place {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.01em;
  opacity: 0.92;
  margin-top: 2px;
}

.week-wrap { border-radius: 22px; padding: 5px; }
.week { display: flex; gap: 1px; }
.day {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 0 7px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: rgba(232, 224, 208, 0.55);
}
.day .dow { font-size: 11px; font-weight: 300; letter-spacing: 0.02em; }
.day .num { font-size: 16px; font-weight: 300; line-height: 1.1; }
.day.on {
  color: #f4fff9;
  background: rgba(8, 28, 22, 0.35);
  box-shadow:
    inset 0 0 0 1.5px rgba(100, 255, 196, 0.95),
    0 0 14px rgba(0, 255, 170, 0.22);
}

.dock {
  position: relative;
  padding: 0 14px calc(env(safe-area-inset-bottom, 0px) + 12px);
}
.dock::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 2px);
  height: 16px;
  background: radial-gradient(ellipse at center, rgba(0, 255, 170, 0.38), transparent 70%);
  filter: blur(5px);
  pointer-events: none;
}
.nav {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 10px 6px 8px;
  border-radius: 32px;
}
.nav-btn {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: 0;
  padding: 0;
  color: rgba(236, 226, 208, 0.72);
}
.nav-btn .bubble {
  width: clamp(42px, 11.6vw, 52px);
  height: clamp(42px, 11.6vw, 52px);
}
.nav-btn .bubble svg { width: 21px; height: 21px; }
.nav-label {
  font-size: 9.5px;
  font-weight: 300;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.nav-btn.on { color: #f5fff9; }
.nav-btn.on .bubble {
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 22%),
    radial-gradient(circle at 50% 62%, rgba(50, 150, 110, 0.38), rgba(0, 18, 14, 0.72) 74%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.75),
    inset 0 -8px 12px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(170, 255, 220, 0.7),
    0 0 16px rgba(0, 255, 170, 0.7),
    0 0 32px rgba(0, 210, 150, 0.35);
}
.nav-btn:active .bubble,
.orb:active,
.check:active,
.bubble:active { transform: scale(0.96); }

.bubble {
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  border-radius: 50%;
  color: #f3ecdf;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 20%),
    radial-gradient(circle at 50% 60%, rgba(12, 36, 30, 0.25), rgba(0, 0, 0, 0.62) 74%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.5),
    inset 0 -10px 14px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(130, 210, 180, 0.4),
    0 6px 14px rgba(0, 0, 0, 0.32);
}
.bubble svg, .ico { display: block; }
.bubble .ico { width: 16px; height: 16px; }
.mini { width: 32px; height: 32px; }
.mini .ico { width: 15px; height: 15px; }

.ico {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.panel {
  display: flex;
  flex-direction: column;
  padding: 14px 12px 12px;
}
.panel-body { padding-bottom: 4px; }
.group {
  margin: 12px 2px 6px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d9d0c0;
}
.group:first-child { margin-top: 2px; }
.empty {
  margin: 4px 2px;
  color: rgba(224, 214, 196, 0.75);
  font-size: 14px;
  font-weight: 300;
}
.empty.big { text-align: center; padding: 28px 10px; }

.done-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 2px;
}
.done-row .row-hit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  white-space: normal;
}
.done-row .ttl {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.done-row .sub { font-size: 12px; color: rgba(220, 210, 192, 0.66); }
.undo {
  background: none;
  border: 0;
  color: #c8ffe8;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.06em;
  padding: 8px 2px;
  flex: none;
}

.cal-head {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  margin-bottom: 6px;
}
.cal-title {
  margin: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.dow-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(214, 206, 188, 0.62);
  margin-bottom: 2px;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cell {
  position: relative;
  aspect-ratio: 1;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(244, 240, 232, 0.9);
  font-size: 13px;
  font-weight: 300;
  padding: 0;
}
.cell.out { opacity: 0.32; }
.cell.today:not(.on) { color: #c8ffe6; }
.cell.on {
  color: #fff;
  box-shadow:
    inset 0 0 0 1.5px rgba(110, 255, 200, 0.95),
    0 0 12px rgba(0, 255, 170, 0.22);
}
.cell .dot {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #67ffc8;
  transform: translateX(-50%);
}
.agenda { margin-top: 8px; }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.overlay[hidden] { display: none; }
.scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  opacity: 0;
  transition: opacity 280ms ease;
}
.overlay.show .scrim { opacity: 1; }
.sheet {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: min(82dvh, 720px);
  overflow: auto;
  border-radius: 26px 26px 0 0;
  padding: 8px 18px calc(env(safe-area-inset-bottom, 0px) + 18px);
  transform: translateY(110%);
  transition: transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1);
  -webkit-overflow-scrolling: touch;
}
.sheet.dragging { transition: none; }
.overlay.show .sheet { transform: translateY(0); }
.handle {
  width: 44px;
  height: 4px;
  border-radius: 4px;
  margin: 4px auto 12px;
  background: rgba(255, 255, 255, 0.38);
  touch-action: none;
}
.sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sheet-top .kicker { margin: 0; }
.sheet h2 {
  margin: 6px 0 8px;
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.lede {
  margin: 6px 0 8px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.45;
}
.fine { margin: 0; font-size: 13px; font-weight: 300; color: #ddd4c6; }
.fine.dim { margin-top: 8px; font-size: 12px; opacity: 0.75; }
.meta { margin: 12px 0 16px; display: grid; gap: 10px; }
.meta div { display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: baseline; }
.meta dt {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d5cbb8;
}
.meta dd { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.4; }
.forecast {
  list-style: none;
  margin: 14px 0 8px;
  padding: 0;
  display: grid;
  gap: 0;
}
.forecast li {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 8px;
  padding: 9px 2px;
  border-top: 1px solid rgba(160, 220, 190, 0.16);
  font-weight: 300;
}

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 3px;
  margin: 4px 0 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(140, 220, 190, 0.28);
}
.seg button {
  border: 0;
  background: transparent;
  color: rgba(240, 232, 220, 0.72);
  border-radius: 999px;
  padding: 8px 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.seg button.on {
  color: #f7fff9;
  background: radial-gradient(circle at 30% 20%, rgba(190, 255, 230, 0.28), rgba(16, 70, 54, 0.55));
  box-shadow: inset 0 0 0 1px rgba(150, 255, 214, 0.45), 0 0 12px rgba(0, 255, 170, 0.16);
}

form { display: grid; gap: 10px; }
label {
  display: grid;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ddd4c4;
  font-weight: 400;
}
input, textarea {
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: #f6f3ec;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(130, 210, 180, 0.3);
  border-radius: 12px;
  padding: 12px;
  width: 100%;
  color-scheme: dark;
}
textarea { resize: vertical; min-height: 76px; }
::placeholder { color: rgba(220, 210, 190, 0.4); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-error {
  margin: 0;
  color: #ffd7a8;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.action {
  width: 100%;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f5fff9;
  background:
    radial-gradient(circle at 30% 0%, rgba(220, 255, 240, 0.28), transparent 40%),
    linear-gradient(180deg, rgba(36, 110, 84, 0.72), rgba(8, 36, 28, 0.85));
  box-shadow:
    inset 0 1px 0 rgba(230, 255, 245, 0.4),
    0 0 0 1px rgba(140, 255, 210, 0.4),
    0 0 18px rgba(0, 255, 170, 0.18);
}
.text-btn {
  display: block;
  margin: 12px auto 2px;
  background: none;
  border: 0;
  color: rgba(220, 200, 180, 0.72);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 560px) {
  body { background: #010101; }
  .app {
    width: min(430px, 100%);
    margin: 0 auto;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
  }
}

@media (max-height: 700px) {
  .spacer { min-height: 8px; }
  .title { font-size: 16px; letter-spacing: 0.26em; text-indent: 0.26em; }
  .nav-btn .bubble { width: 40px; height: 40px; }
  .card { padding: 10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .sheen { opacity: 0.18; }
}
