:root {
  --bg-parchment: #f4ece0;
  --bg-card: #fbf7ef;
  --bg-elevated: #fffdf8;
  --bg-muted: #ebe0ce;
  --ink-primary: #1f1b18;
  --ink-secondary: #584f45;
  --ink-soft: #7d7266;
  --border-warm: #dfd1bc;

  --accent-blue: #3a5678;
  --accent-olive: #6f7748;
  --accent-terracotta: #c7512c;
  --accent-gold: #df9627;
  --accent-red: #dc2b1d;

  --accent-current: var(--accent-blue);

  --shadow-card: 0 12px 32px rgba(45, 34, 22, 0.08), 0 2px 8px rgba(45, 34, 22, 0.05);
  --shadow-soft: 0 6px 18px rgba(45, 34, 22, 0.06);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;

  --font-serif: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #e9dfd0;
  color: var(--ink-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

.app-shell {
  max-width: 480px;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--bg-parchment);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(223, 150, 39, 0.07), transparent 42%),
    radial-gradient(circle at 88% 22%, rgba(58, 86, 120, 0.06), transparent 40%);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(31, 27, 24, 0.12);
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
  background: rgba(244, 236, 224, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-warm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-lotus {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-warm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--ink-primary);
}

.brand-text {
  min-width: 0;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink-primary);
}

.brand-sub {
  font-size: 11px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-btn {
  border: 1px solid var(--border-warm);
  background: var(--bg-elevated);
  color: var(--ink-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: transform 0.12s ease, background 0.15s ease;
}

.pill-btn:active {
  transform: scale(0.96);
}

.pill-btn.primary {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
}

.pill-btn.safe-active {
  background: #fdf3dc;
  border-color: #d99b26;
  color: #7c4d00;
}

/* Install Banner */
.install-banner {
  margin: 12px 16px 0;
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #2d4460, #3e5e83);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-soft);
}

.install-banner.hidden {
  display: none;
}

.install-banner-copy strong {
  display: block;
  font-size: 13.5px;
  margin-bottom: 2px;
}

.install-banner-copy span {
  display: block;
  font-size: 11.5px;
  opacity: 0.88;
  line-height: 1.35;
}

.install-banner-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.banner-cta {
  background: #f4ece0;
  color: #1f1b18;
  border: none;
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.banner-close {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 14px 16px calc(92px + env(safe-area-inset-bottom));
}

.view-panel {
  display: none;
  animation: fadeSlide 0.22s ease-out;
}

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

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero / Progress Strip */
.journey-strip {
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-soft);
}

.journey-meta {
  flex: 1;
  min-width: 0;
}

.journey-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.journey-stats {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  margin: 2px 0 6px;
}

.progress-track {
  height: 7px;
  border-radius: var(--radius-pill);
  background: var(--bg-muted);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-terracotta));
  transition: width 0.35s ease;
}

.streak-badge {
  background: #fff6e6;
  border: 1px solid #ecc681;
  color: #7c4d00;
  border-radius: 14px;
  padding: 7px 11px;
  text-align: center;
  flex-shrink: 0;
}

.streak-badge strong {
  display: block;
  font-size: 17px;
  line-height: 1.1;
}

.streak-badge span {
  font-size: 10.5px;
  font-weight: 600;
}

/* Day Switcher */
.day-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
}

.nav-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-warm);
  background: var(--bg-elevated);
  color: var(--ink-primary);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}

.nav-circle:disabled {
  opacity: 0.38;
  cursor: default;
}

.day-picker-pill {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

/* Main Point Card */
.point-card {
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-xl);
  padding: 18px 16px 16px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.point-card[data-accent="blue"] { --accent-current: var(--accent-blue); }
.point-card[data-accent="olive"] { --accent-current: var(--accent-olive); }
.point-card[data-accent="terracotta"] { --accent-current: var(--accent-terracotta); }

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.card-day-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.day-num-block {
  padding-right: 12px;
  border-right: 1.5px solid var(--ink-primary);
  text-align: center;
  line-height: 1;
}

.day-num-block small {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.day-num-block strong {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 800;
}

.point-title-block h1 {
  font-family: var(--font-serif);
  font-size: 23px;
  line-height: 1.15;
  margin: 0;
}

.point-title-block .point-code {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-secondary);
}

.card-actions-top {
  display: flex;
  gap: 6px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-warm);
  background: var(--bg-elevated);
  color: var(--ink-secondary);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: transform 0.12s ease;
}

.icon-btn:active {
  transform: scale(0.92);
}

.icon-btn.fav-active {
  color: var(--accent-red);
  border-color: #eab3ad;
  background: #fff2f0;
}

.icon-btn.done-active {
  color: #fff;
  background: var(--accent-olive);
  border-color: var(--accent-olive);
}

/* Pregnancy Caution Banner */
.pregnancy-alert {
  margin-bottom: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  background: #fff3da;
  border: 1px solid #e7be6a;
  color: #744400;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Illustration Stage */
.illustration-stage {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #f2e8d9;
  border: 1px solid var(--border-warm);
  margin-bottom: 14px;
}

.illustration-stage img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.stage-badges {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.stage-pill {
  background: rgba(31, 27, 24, 0.78);
  color: #fff;
  backdrop-filter: blur(6px);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  pointer-events: auto;
}

.zoom-hint {
  cursor: pointer;
  border: none;
}

/* Guided Timer Widget */
.timer-box {
  background: linear-gradient(160deg, var(--bg-elevated), #f5ecdc);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-bottom: 14px;
}

.timer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.timer-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-current);
}

.duration-chips {
  display: flex;
  gap: 6px;
}

.dur-chip {
  border: 1px solid var(--border-warm);
  background: var(--bg-card);
  color: var(--ink-secondary);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.dur-chip.active {
  background: var(--accent-current);
  border-color: var(--accent-current);
  color: #fff;
}

.timer-body {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ring-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.ring-svg {
  width: 84px;
  height: 84px;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: var(--bg-muted);
  stroke-width: 6;
}

.ring-fg {
  fill: none;
  stroke: var(--accent-current);
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.35s linear;
}

.breath-orb {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(58, 86, 120, 0.12);
  display: grid;
  place-items: center;
  transition: transform 2s ease-in-out;
}

.ring-wrap.breathing-inhale .breath-orb {
  transform: scale(1.16);
}

.ring-wrap.breathing-hold .breath-orb {
  transform: scale(1.16);
}

.ring-wrap.breathing-exhale .breath-orb {
  transform: scale(0.88);
}

.timer-readout {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-primary);
}

.timer-controls-col {
  flex: 1;
  min-width: 0;
}

.breath-cue {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 8px;
  min-height: 20px;
}

.timer-btn-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-primary {
  border: none;
  background: var(--accent-current);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-secondary {
  border: 1px solid var(--border-warm);
  background: var(--bg-elevated);
  color: var(--ink-primary);
  border-radius: var(--radius-pill);
  padding: 9px 13px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

/* Info Sections */
.info-section {
  padding-top: 12px;
  border-top: 1px solid var(--border-warm);
  margin-top: 12px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 700;
  margin: 0 0 8px;
}

.section-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-current);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}

.benefits-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-primary);
  font-size: 14px;
  line-height: 1.5;
}

.benefits-list li + li {
  margin-top: 4px;
}

.cara-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-primary);
}

/* Check-in & Complete Action */
.reflection-box {
  margin-top: 14px;
  padding: 13px;
  background: #f5ecdc;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-warm);
}

.reflection-box h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-secondary);
}

.mood-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.mood-chip {
  border: 1px solid var(--border-warm);
  background: var(--bg-elevated);
  color: var(--ink-primary);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.mood-chip.selected {
  background: var(--accent-current);
  color: #fff;
  border-color: var(--accent-current);
}

.note-input {
  width: 100%;
  border: 1px solid var(--border-warm);
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 9px 11px;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink-primary);
  resize: vertical;
  min-height: 54px;
  margin-bottom: 10px;
}

.complete-day-btn {
  width: 100%;
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background: var(--accent-olive);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.complete-day-btn.completed {
  background: #3e6b48;
}

.disclaimer-footer {
  margin-top: 12px;
  text-align: center;
  font-size: 11px;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* Explore View */
.search-box {
  position: relative;
  margin-bottom: 12px;
}

.search-input {
  width: 100%;
  padding: 12px 14px 12px 38px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-warm);
  background: var(--bg-elevated);
  font-size: 14px;
  color: var(--ink-primary);
  box-shadow: var(--shadow-soft);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
  font-size: 15px;
}

.filter-scroll {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 8px;
  scrollbar-width: none;
}

.filter-scroll::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  white-space: nowrap;
  border: 1px solid var(--border-warm);
  background: var(--bg-elevated);
  color: var(--ink-secondary);
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.filter-chip.active {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
}

.explore-toggles {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.result-count {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
}

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

.explore-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  text-align: left;
  width: 100%;
}

.explore-thumb {
  width: 68px;
  height: 62px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-warm);
}

.explore-info {
  flex: 1;
  min-width: 0;
}

.explore-top-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

.day-tag {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--bg-muted);
  color: var(--ink-primary);
}

.caution-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: #fff3da;
  color: #7c4d00;
}

.explore-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-primary);
}

.explore-snippet {
  font-size: 12px;
  color: var(--ink-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

/* 30-Day Map View */
.map-hero {
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-xl);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
}

.map-hero img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
}

.map-hero h2 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 18px;
}

.map-hero p {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-secondary);
  line-height: 1.4;
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.day-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.day-tile.current {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(58, 86, 120, 0.18);
}

.day-tile.done {
  background: #eff5ec;
  border-color: #93ab88;
}

.day-tile-num {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-primary);
}

.day-tile-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.day-tile-icons {
  margin-top: 4px;
  font-size: 11px;
  min-height: 15px;
}

/* Guide & Install View */
.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 15px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-soft);
}

.guide-card h2 {
  font-family: var(--font-serif);
  font-size: 17px;
  margin: 0 0 8px;
}

.guide-card p, .guide-card li {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.guide-card ul, .guide-card ol {
  margin: 6px 0 0;
  padding-left: 18px;
}

.step-box {
  background: var(--bg-elevated);
  border: 1px dashed var(--border-warm);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 30;
  background: rgba(251, 247, 239, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-warm);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.nav-tab {
  border: none;
  background: transparent;
  color: var(--ink-soft);
  padding: 6px 4px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.nav-tab.active {
  color: var(--accent-blue);
  background: rgba(58, 86, 120, 0.08);
}

.nav-tab-icon {
  font-size: 18px;
  line-height: 1;
}

/* Modal / Lightbox */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 12, 0.62);
  backdrop-filter: blur(4px);
  z-index: 50;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-sheet {
  width: 100%;
  max-width: 460px;
  max-height: 85dvh;
  overflow-y: auto;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-warm);
  padding: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.modal-head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 19px;
}

.modal-close {
  border: 1px solid var(--border-warm);
  background: var(--bg-elevated);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}

.modal-img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.toast {
  position: fixed;
  bottom: calc(82px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: #1f1b18;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
