:root,
[data-theme="night"] {
  --bg: #141210;
  --bg-glow: rgba(242, 170, 99, 0.14);
  --surface: rgba(255, 248, 238, 0.05);
  --surface-hover: rgba(255, 248, 238, 0.09);
  --nav-bg: rgba(28, 24, 20, 0.92);
  --border: rgba(255, 240, 220, 0.11);
  --text: #f3ece2;
  --text-muted: #aba094;
  --amber: #f2aa63;
  --amber-text: #1a1510;
  --amber-soft: rgba(242, 170, 99, 0.15);
  --sage: #9fc7ae;
  --sage-soft: rgba(159, 197, 174, 0.15);
  --warn: #e07a7a;
  --warn-soft: rgba(224, 122, 122, 0.15);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

[data-theme="morning"] {
  --bg: #f6f2ea;
  --bg-glow: rgba(217, 130, 67, 0.14);
  --surface: rgba(255, 255, 255, 0.85);
  --surface-hover: rgba(255, 255, 255, 1);
  --nav-bg: rgba(252, 249, 243, 0.94);
  --border: rgba(90, 74, 58, 0.13);
  --text: #2c251f;
  --text-muted: #6e6357;
  --amber: #b85c24;
  --amber-text: #ffffff;
  --amber-soft: rgba(184, 92, 36, 0.11);
  --sage: #3e6b50;
  --sage-soft: rgba(62, 107, 80, 0.12);
  --warn: #b84242;
  --warn-soft: rgba(184, 66, 66, 0.1);
  --shadow: 0 10px 30px rgba(60, 48, 36, 0.08);
}

[data-theme="day"] {
  --bg: #f0ece3;
  --bg-glow: rgba(184, 110, 52, 0.1);
  --surface: rgba(255, 253, 248, 0.88);
  --surface-hover: #ffffff;
  --nav-bg: rgba(247, 244, 237, 0.94);
  --border: rgba(84, 72, 58, 0.14);
  --text: #2a241f;
  --text-muted: #695f55;
  --amber: #ad531e;
  --amber-text: #ffffff;
  --amber-soft: rgba(173, 83, 30, 0.11);
  --sage: #386449;
  --sage-soft: rgba(56, 100, 73, 0.12);
  --warn: #b84242;
  --warn-soft: rgba(184, 66, 66, 0.1);
  --shadow: 0 10px 28px rgba(54, 44, 34, 0.08);
}

:root {
  --radius: 22px;
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease, color 0.3s ease;
}

.ambient-glow {
  position: fixed;
  inset: -20vh auto auto 50%;
  transform: translateX(-50%);
  width: min(92vw, 580px);
  height: 46vh;
  background: radial-gradient(circle, var(--bg-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.particle-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 60;
}

.ember-particle {
  position: fixed;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  animation: emberRise 0.9s var(--spring) forwards;
}

@keyframes emberRise {
  0% { opacity: 0.95; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx, 0px), var(--dy, -90px)) scale(0.25); }
}

.app {
  position: relative;
  z-index: 1;
  max-width: 540px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 18px 18px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-dot {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 14px var(--amber);
}

.brand-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.brand-sub {
  margin: 2px 0 0;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-pill {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.85rem;
  padding: 4px 9px;
  border-radius: 999px;
  cursor: pointer;
}

.breath-pill {
  border: 1px solid rgba(159, 197, 174, 0.35);
  background: var(--sage-soft);
  color: var(--sage);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.mode-pill {
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  white-space: nowrap;
}

.breath-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  animation: springIn 0.35s var(--spring);
}

.breath-box[hidden] {
  display: none;
}

.breath-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sage-soft) 0%, transparent 72%);
  border: 1.5px solid var(--sage);
  animation: breathCycle 10s ease-in-out infinite;
}

@keyframes breathCycle {
  0%, 100% { transform: scale(0.78); opacity: 0.65; }
  40% { transform: scale(1.18); opacity: 1; }
}

.breath-cue {
  margin: 0;
  font-size: 0.9rem;
  color: var(--sage);
  font-weight: 600;
}

.subbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.greeting-line {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  text-align: center;
}

.breath-inline-btn {
  min-height: 36px;
  padding: 4px 10px;
  font-size: 0.78rem;
  color: var(--sage);
}

/* スライドインジケーター付きセグメントナビ */
.segmented-nav {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
}

.nav-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  height: calc(100% - 8px);
  border-radius: 999px;
  background: var(--amber-soft);
  border: 1px solid rgba(242, 170, 99, 0.25);
  transition: transform 0.35s var(--spring);
  pointer-events: none;
}

.seg-btn {
  position: relative;
  z-index: 1;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 6px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.seg-btn.active {
  color: var(--text);
}

.nav-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 5px;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
}

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.view {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: springIn 0.32s var(--spring);
}

.view[hidden] {
  display: none;
}

@keyframes springIn {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* 話題フィルタ */
.topic-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.topic-chip {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s var(--spring);
}

.topic-chip.active {
  background: var(--surface-hover);
  border-color: var(--amber);
  color: var(--text);
  font-weight: 600;
}

/* 1. 受け取るカード（スプリングモーション） */
.lantern-sheet {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 14px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.32s var(--spring), opacity 0.24s ease;
}

.lantern-sheet.card-exit {
  opacity: 0;
  transform: translateX(-18px) scale(0.97);
}

.lantern-sheet.card-enter {
  animation: cardEnter 0.36s var(--spring);
}

@keyframes cardEnter {
  from { opacity: 0; transform: translateX(18px) scale(0.98); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.sheet-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.sheet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.topic-badge {
  font-size: 0.74rem;
  color: var(--text-muted);
  background: var(--surface-hover);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 999px;
}

.mood-tag {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--amber);
  background: var(--amber-soft);
  padding: 3px 10px;
  border-radius: 999px;
}

.sheet-top-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-time {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.report-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.74rem;
  padding: 6px 8px;
  min-height: 36px;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.65;
}

.report-btn:hover {
  opacity: 1;
  text-decoration: underline;
}

.sheet-body {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.85;
  white-space: pre-wrap;
  word-break: break-word;
}

.sheet-utility {
  display: flex;
  justify-content: flex-end;
  padding-top: 6px;
  border-top: 1px solid var(--border);
}

.text-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.84rem;
  min-height: 44px;
  padding: 8px 10px;
  cursor: pointer;
  transition: color 0.15s ease;
}

.text-btn:hover {
  color: var(--text);
}

.text-btn:disabled,
.report-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* インライン確認コンポーネント */
.inline-confirm {
  background: var(--warn-soft);
  border: 1px solid var(--warn);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.84rem;
  animation: springIn 0.25s var(--spring);
}

.inline-confirm[hidden] {
  display: none;
}

.confirm-actions {
  display: flex;
  gap: 8px;
}

.btn-soft-sm,
.btn-warn-sm {
  border: none;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-soft-sm {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-warn-sm {
  background: var(--warn);
  color: #fff;
}

/* 5種スタンプ */
.action-dock {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-dock[hidden] {
  display: none;
}

.dock-caption {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.quick-actions-5 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.react-pill {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 13px;
  min-height: 44px;
  font-size: 0.84rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--spring), border-color 0.15s ease, background 0.15s ease;
}

.react-pill:hover {
  border-color: var(--amber);
  background: var(--amber-soft);
  transform: translateY(-2px);
}

.react-pill:active {
  transform: scale(0.94);
}

.whisper-toggle-wrap {
  display: flex;
  justify-content: center;
}

.whisper-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: springIn 0.25s var(--spring);
}

.whisper-panel[hidden] {
  display: none;
}

.whisper-stamps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.mini-stamp {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.76rem;
  cursor: pointer;
}

.mini-stamp.active {
  background: var(--amber-soft);
  border-color: var(--amber);
  color: var(--amber);
  font-weight: 600;
}

.whisper-form {
  display: flex;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
}

.whisper-form input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
}

.whisper-form input:focus {
  outline: none;
}

.send-btn {
  border: none;
  background: var(--amber);
  color: var(--amber-text);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
}

.send-btn:disabled,
.primary-btn:disabled,
.react-pill:disabled {
  opacity: 0.5;
  cursor: default;
}

.sent-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 18px;
  border-radius: var(--radius);
  background: var(--sage-soft);
  border: 1px solid rgba(159, 199, 174, 0.3);
  color: var(--sage);
  animation: springIn 0.3s var(--spring);
}

.sent-overlay[hidden] {
  display: none;
}

.sent-glow {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 18px var(--sage);
  margin-bottom: 8px;
}

.sent-overlay p {
  margin: 0;
  font-size: 0.92rem;
}

.done-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px !important;
}

.done-sub {
  color: var(--text-muted);
  font-size: 0.84rem !important;
  margin-bottom: 14px !important;
}

.done-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn-soft {
  border: 1px solid var(--border);
  background: var(--sage-soft);
  color: var(--sage);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
}

/* 2. 置いていく */
.write-sheet {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow);
}

.write-sheet[hidden] {
  display: none;
}

.write-lead {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
}

.chip-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.chip-label {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.mood-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.mood-pill,
.topic-select {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mood-pill.active,
.topic-select.active {
  background: var(--amber-soft);
  border-color: var(--amber);
  color: var(--amber);
  font-weight: 600;
}

.write-sheet textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 1rem;
  line-height: 1.7;
  font-family: inherit;
  resize: vertical;
  transition: opacity 0.55s ease, transform 0.55s var(--spring);
}

.write-sheet textarea.dissolving {
  opacity: 0;
  transform: translateY(-16px) scale(0.98);
}

.write-sheet textarea:focus {
  outline: none;
  border-color: var(--amber);
}

.write-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.primary-btn {
  border: none;
  background: var(--amber);
  color: var(--amber-text);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 22px;
  border-radius: 999px;
  cursor: pointer;
}

.dissolve-row {
  display: flex;
  justify-content: center;
  padding-top: 4px;
  border-top: 1px dashed var(--border);
}

.dissolve-btn {
  font-size: 0.8rem;
}

/* 3. 週次足あと・履歴・習慣 */
.weekly-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

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

.weekly-title {
  font-size: 0.86rem;
  font-weight: 600;
}

.weekly-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.w-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 4px;
  text-align: center;
}

.w-stat strong {
  display: block;
  font-size: 1.15rem;
  color: var(--amber);
}

.w-stat span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.inbox-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sub-tab {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  cursor: pointer;
}

.sub-tab.active {
  background: var(--surface-hover);
  color: var(--text);
  border-color: var(--amber);
}

.feed-list,
.habit-panel {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feed-list[hidden],
.habit-panel[hidden] {
  display: none;
}

.feed-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feed-item h3 {
  margin: 0;
  font-size: 0.94rem;
}

.feed-text {
  margin: 0;
  font-size: 0.96rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.warmth-bubbles {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

.warmth-bubble {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  background: var(--sage-soft);
  color: var(--sage);
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.86rem;
}

.save-charm-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--sage);
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}

.habit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.restore-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.restore-box[hidden] {
  display: none;
}

.restore-box textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 12px;
  padding: 10px;
  font-size: 0.85rem;
}

.empty-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 32px 16px;
  background: var(--surface);
  border-radius: 18px;
}

button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* Undo トースト */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  background: var(--text);
  color: var(--bg);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s var(--spring);
  z-index: 70;
  max-width: 92vw;
}

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

.toast-undo {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.toast-undo[hidden] {
  display: none;
}

@media (max-width: 600px) {
  .app {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
  .segmented-nav {
    position: fixed;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    left: 16px;
    right: 16px;
    max-width: 508px;
    margin: 0 auto;
    z-index: 40;
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  }
  body.kb-open .segmented-nav {
    display: none;
  }
  .toast {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }
  .weekly-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.breath-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breath-vibrate-btn[aria-pressed="true"] {
  color: var(--sage);
  border-color: var(--sage);
  background: var(--sage-soft);
}

.draft-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--surface-soft);
  border: 1px dashed var(--border);
  margin-bottom: 8px;
}

.monthly-line {
  margin: 10px 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
}

.keepsake-search-wrap {
  margin-bottom: 10px;
}

.keepsake-search {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-family: inherit;
}

.time-select {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-family: inherit;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .particle-layer,
  .ambient-glow {
    display: none !important;
  }
}
