/* 记事清单 · 界面样式 */

:root {
  color-scheme: light;

  --shell: 680px;
  --gutter: 20px;

  --bg: #f2f4f9;
  --bg-deep: #e9edf6;
  --card: #ffffff;
  --card-sunken: #f6f7fb;
  --glass: rgba(242, 244, 249, 0.8);

  --text: #15161c;
  --text-2: #5d6372;
  --text-3: #949aa9;

  --line: rgba(22, 26, 44, 0.07);
  --line-2: rgba(22, 26, 44, 0.13);

  --accent: #5a5ae0;
  --accent-2: #8360f2;
  --accent-soft: rgba(90, 90, 224, 0.1);
  --accent-contrast: #ffffff;

  --danger: #ee4d55;
  --danger-soft: rgba(238, 77, 85, 0.1);

  --shadow-soft: 0 1px 2px rgba(21, 28, 62, 0.04), 0 10px 26px rgba(21, 28, 62, 0.06);
  --shadow-lift: 0 2px 6px rgba(21, 28, 62, 0.08), 0 18px 40px rgba(21, 28, 62, 0.14);
  --shadow-sheet: 0 -18px 50px rgba(21, 28, 62, 0.16);

  --r-xl: 26px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;

    --bg: #0b0c11;
    --bg-deep: #07080c;
    --card: #14161d;
    --card-sunken: #1a1c24;
    --glass: rgba(11, 12, 17, 0.78);

    --text: #f2f3f7;
    --text-2: #a4a9b7;
    --text-3: #717686;

    --line: rgba(255, 255, 255, 0.07);
    --line-2: rgba(255, 255, 255, 0.15);

    --accent: #8f90f6;
    --accent-2: #b18cfb;
    --accent-soft: rgba(143, 144, 246, 0.16);
    --accent-contrast: #14151d;

    --danger: #ff6369;
    --danger-soft: rgba(255, 99, 105, 0.13);

    --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.34), 0 12px 30px rgba(0, 0, 0, 0.3);
    --shadow-lift: 0 2px 8px rgba(0, 0, 0, 0.4), 0 22px 48px rgba(0, 0, 0, 0.44);
    --shadow-sheet: 0 -18px 50px rgba(0, 0, 0, 0.5);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 顶部柔和光晕 */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 460px;
  background:
    radial-gradient(560px 300px at 10% -120px, rgba(90, 90, 224, 0.2), transparent 70%),
    radial-gradient(520px 280px at 92% -150px, rgba(131, 96, 242, 0.15), transparent 72%),
    radial-gradient(420px 240px at 58% -80px, rgba(56, 189, 248, 0.08), transparent 74%);
  pointer-events: none;
  z-index: 0;
}

@media (prefers-color-scheme: dark) {
  body::before {
    background:
      radial-gradient(560px 300px at 10% -120px, rgba(112, 112, 250, 0.24), transparent 70%),
      radial-gradient(520px 280px at 92% -150px, rgba(160, 110, 250, 0.17), transparent 72%),
      radial-gradient(420px 240px at 58% -80px, rgba(56, 189, 248, 0.09), transparent 74%);
  }
}

body.is-locked {
  overflow: hidden;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  touch-action: manipulation;
}

input {
  border: 0;
  background: none;
  outline: none;
  caret-color: var(--accent);
  touch-action: manipulation;
}

[hidden] {
  display: none !important;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

/* ---------- 主容器 ---------- */

.app-shell {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- 顶栏 + 添加栏 ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: calc(14px + env(safe-area-inset-top)) 0 12px;
}

.topbar::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
  pointer-events: none;
}

.topbar.is-compact::before {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(21, 28, 62, 0.05);
}

.topbar-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}

.app-title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.038em;
  transform-origin: left center;
  transition: font-size 0.24s var(--ease), letter-spacing 0.24s var(--ease);
}

.topbar.is-compact .eyebrow {
  opacity: 0;
  transform: translateY(-4px);
}

.topbar.is-compact .app-title {
  font-size: 21px;
  letter-spacing: -0.02em;
}

.icon-button {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-2);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(21, 28, 62, 0.05), 0 6px 16px rgba(21, 28, 62, 0.06);
  transition: transform 0.18s var(--ease), color 0.18s var(--ease), background 0.18s var(--ease);
}

.icon-button .icon {
  width: 19px;
  height: 19px;
}

.icon-button:active {
  transform: scale(0.93);
  color: var(--text);
}

@media (hover: hover) {
  .icon-button:hover {
    color: var(--text);
    background: var(--card-sunken);
  }
}

/* ---------- 主体 ---------- */

.main {
  padding: 18px 0 calc(112px + env(safe-area-inset-bottom));
}

/* ---------- 悬浮添加按钮 ---------- */

.fab {
  position: fixed;
  z-index: 40;
  right: max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter)));
  bottom: calc(24px + env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-contrast);
  box-shadow: 0 12px 28px rgba(90, 90, 224, 0.36), 0 2px 6px rgba(21, 28, 62, 0.16);
  transition: transform 0.18s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s var(--ease);
}

body.is-locked .fab {
  opacity: 0;
  transform: scale(0.94);
  pointer-events: none;
}

.fab .icon {
  width: 26px;
  height: 26px;
  stroke-width: 2.2;
}

.fab:active {
  transform: scale(0.92);
}

@media (hover: hover) {
  .fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(90, 90, 224, 0.42), 0 2px 6px rgba(21, 28, 62, 0.16);
  }
}

/* ---------- 列表 ---------- */

.list-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.item-row {
  position: relative;
  flex: none;
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  touch-action: pan-y;
}

/* 左滑后露出的删除底色 */
.swipe-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  padding: 0 22px;
  border-radius: 17px;
  background: linear-gradient(100deg, #f2676e, #e23b47);
  color: #fff;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.1s linear;
  pointer-events: none;
}

.item-row.is-swiping .swipe-bg,
.item-row.is-armed .swipe-bg,
.item-row.is-deleting .swipe-bg {
  opacity: 1;
}

.swipe-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.12));
}

.swipe-label {
  position: relative;
  color: #fff;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.04em;
  opacity: var(--swipe-p, 0);
}

.swipe-bg .icon {
  position: relative;
  width: 18px;
  height: 18px;
  transform: scale(0.88);
  opacity: var(--swipe-p, 0);
}

.item-row.is-armed .swipe-bg {
  background: linear-gradient(100deg, #e9555d, #cf2b37);
}

.item-surface {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 9px 18px;
  background: var(--card);
  border-radius: 17px;
  transform: translateX(var(--swipe-x, 0px));
  transition: transform 0.32s var(--ease), background 0.18s var(--ease);
}

.item-row.is-swiping .item-surface {
  transition: background 0.18s var(--ease);
  user-select: none;
  -webkit-user-select: none;
}

.item-row.is-swiping .item-text {
  cursor: default;
}

@media (hover: hover) {
  .item-row:hover .item-surface {
    background: var(--card-sunken);
  }
}

.item-text {
  flex: 1;
  min-width: 0;
  padding: 9px 2px;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.45;
  text-align: left;
  word-break: break-word;
}

.inline-input {
  flex: 1;
  min-width: 0;
  padding: 9px 2px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text);
  border-bottom: 1.5px solid var(--accent);
}

/* ---------- 空状态 ---------- */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 24px 24px;
  text-align: center;
  animation: rise 0.5s var(--ease);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.empty-art-wrap {
  width: 208px;
  max-width: 60vw;
  margin-bottom: 18px;
}

.empty-art-svg {
  display: block;
  width: 100%;
  height: auto;
}

.empty-art-wrap .art-back {
  fill: var(--accent);
  opacity: 0.14;
}

.empty-art-wrap .art-card {
  fill: var(--card);
  stroke: var(--line);
  stroke-width: 1.5;
}

.empty-art-wrap .art-title {
  fill: var(--accent);
  opacity: 0.85;
}

.empty-art-wrap .art-line {
  fill: var(--line-2);
}

.empty-art-wrap .art-line.is-faint {
  opacity: 0.5;
}

.empty-state h2 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.empty-state p {
  max-width: 320px;
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.65;
}

.empty-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 280px;
  min-height: 52px;
  margin-top: 18px;
  padding: 0 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-contrast);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 20px rgba(90, 90, 224, 0.3);
  transition: transform 0.18s var(--ease), box-shadow 0.2s var(--ease);
}

.empty-cta .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
}

.empty-cta:active {
  transform: scale(0.97);
}

@media (hover: hover) {
  .empty-cta:hover {
    box-shadow: 0 10px 26px rgba(90, 90, 224, 0.38);
  }
}

.empty-hints {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.empty-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px 7px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
}

.empty-hint .icon {
  width: 16px;
  height: 16px;
}

/* ---------- 通用遮罩 ---------- */

.overlay {
  position: fixed;
  inset: 0;
}

/* ---------- 添加弹窗 ---------- */

.add-overlay {
  z-index: 75;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 11, 18, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.add-overlay.is-open {
  opacity: 1;
}

.add-card {
  width: 100%;
  max-width: 440px;
  padding: 20px 20px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lift);
  opacity: 0;
  transform: scale(0.96) translateY(10px);
  transition: transform 0.24s var(--ease), opacity 0.2s var(--ease);
}

.add-overlay.is-open .add-card {
  opacity: 1;
  transform: none;
}

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

.add-head h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.add-form input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font-size: 16px;
  background: var(--card-sunken);
  border: 1.5px solid transparent;
  border-radius: 14px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.add-form input::placeholder {
  color: var(--text-3);
}

.add-form input:focus {
  background: var(--card);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.add-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.add-cancel {
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.16s var(--ease);
}

.add-cancel:active {
  background: var(--card-sunken);
}

@media (hover: hover) {
  .add-cancel:hover {
    background: var(--card-sunken);
  }
}

.add-confirm {
  height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-contrast);
  font-size: 15px;
  font-weight: 650;
  box-shadow: 0 4px 12px rgba(90, 90, 224, 0.28);
  transition: transform 0.18s var(--ease), opacity 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.add-confirm:active {
  transform: scale(0.96);
}

.add-confirm.is-idle {
  opacity: 0.4;
  box-shadow: none;
}

@media (hover: hover) {
  .add-confirm:not(.is-idle):hover {
    box-shadow: 0 6px 18px rgba(90, 90, 224, 0.34);
  }
}

/* ---------- 设置面板 ---------- */

.sheet-overlay {
  z-index: 70;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(10, 11, 18, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.24s var(--ease);
}

.sheet-overlay.is-open {
  opacity: 1;
}

.sheet {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  background: var(--bg);
  box-shadow: var(--shadow-sheet);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(100%);
  transition: transform 0.36s var(--ease);
}

.sheet.is-dragging {
  transition: none;
}

.sheet-overlay.is-open .sheet {
  transform: none;
}

@media (min-width: 760px) {
  .sheet-overlay {
    align-items: center;
    padding: 24px;
  }

  .sheet {
    max-height: min(760px, 88vh);
    border-radius: 28px;
    padding-bottom: 0;
  }
}

.sheet-grabber {
  flex: none;
  width: 40px;
  height: 5px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: var(--line-2);
  touch-action: none;
}

.sheet-header {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 14px;
  touch-action: none;
}

.sheet-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sheet-scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 20px 26px;
}

.settings-group {
  margin-top: 20px;
}

.settings-group h3 {
  margin: 0 0 9px 6px;
  color: var(--text-3);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.settings-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.settings-row {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 15.5px;
  text-align: left;
  transition: background 0.16s var(--ease);
}

.settings-row:last-child {
  border-bottom: 0;
}

.row-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}

.row-icon .icon {
  width: 16px;
  height: 16px;
}

.settings-row .row-label {
  flex: 1;
  min-width: 0;
  font-weight: 550;
}

button.settings-row:active {
  background: var(--card-sunken);
}

.settings-row.is-danger .row-label {
  color: var(--danger);
}

.settings-row.is-danger .row-icon {
  background: var(--danger-soft);
  color: var(--danger);
}

.settings-row:disabled {
  opacity: 0.5;
  cursor: default;
}

.row-value {
  flex: none;
  color: var(--text-3);
  font-size: 13px;
  white-space: nowrap;
}

.settings-note {
  margin: 9px 6px 0;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.6;
}

.install-steps {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 16px 18px 16px 36px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
}

.install-steps li::marker {
  color: var(--text-3);
  font-size: 12.5px;
  font-weight: 700;
}

.install-badge {
  margin: 14px 16px;
  padding: 11px 14px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 650;
  text-align: center;
}

.sheet-footnote {
  margin: 24px 0 6px;
  color: var(--text-3);
  font-size: 11.5px;
  text-align: center;
}

/* ---------- 对话框 ---------- */

.dialog-overlay {
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 11, 18, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.dialog-overlay.is-open {
  opacity: 1;
}

.dialog-card {
  width: 100%;
  max-width: 330px;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.dialog-overlay.is-open .dialog-card {
  transform: none;
  opacity: 1;
}

.dialog-copy {
  padding: 24px 22px 20px;
  text-align: center;
}

.dialog-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.dialog-message {
  margin: 0;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.6;
}

.dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.dialog-button {
  min-height: 52px;
  border-right: 1px solid var(--line);
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.16s var(--ease);
}

.dialog-button:last-child {
  border-right: 0;
}

.dialog-button:active {
  background: var(--card-sunken);
}

.dialog-button[data-result="confirm"] {
  color: var(--accent);
  font-weight: 700;
}

.dialog-button.is-danger {
  color: var(--danger);
  font-weight: 700;
}

/* ---------- 提示条 ---------- */

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: calc(26px + env(safe-area-inset-bottom));
  max-width: calc(100vw - 40px);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px 12px 18px;
  border-radius: 999px;
  background: rgba(24, 25, 33, 0.92);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px) scale(0.96);
  transition: opacity 0.24s var(--ease), transform 0.28s var(--ease);
}

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

.toast-text {
  min-width: 0;
  font-weight: 500;
}

.toast-action {
  flex: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.16s var(--ease), transform 0.16s var(--ease);
}

.toast-action:active {
  transform: scale(0.94);
  background: rgba(255, 255, 255, 0.24);
}

/* ---------- 小屏微调 ---------- */

@media (max-width: 380px) {
  :root {
    --gutter: 16px;
  }

  .app-title {
    font-size: 28px;
  }

  .topbar.is-compact .app-title {
    font-size: 20px;
  }
}

@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;
  }
}
