:root {
  --bg: #0f1016;
  --bg-soft: #16171f;
  --card: #1b1d27;
  --card-2: #22242f;
  --line: #2a2d3a;
  --text: #e9eaf2;
  --text-dim: #9aa0b4;
  --text-faint: #6b7086;
  --accent: #6c7dff;
  --accent-2: #9b6cff;
  --idea: #ffb340;
  --todo: #4ad991;
  --note: #6cb8ff;
  --danger: #ff6b6b;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f5f8;
    --bg-soft: #ffffff;
    --card: #ffffff;
    --card-2: #f1f2f7;
    --line: #e3e5ee;
    --text: #1a1c25;
    --text-dim: #666c82;
    --text-faint: #9aa0b4;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0; padding: 0; height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  /* 页面本身不滚动，滚动只发生在中间列表内部 */
  overflow: hidden;
  overscroll-behavior: none;
}

body { -webkit-font-smoothing: antialiased; }

.app {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  /* 三段式布局的高度基准：优先 dvh（移动端地址栏伸缩时自动适配） */
  height: 100%;
  height: 100vh;
  height: 100dvh;
  /* 窄屏：头 / 列表 / 输入 纵向三段 */
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas: "top" "list" "comp";
  background: var(--bg);
  overflow: hidden;
}

/* ------------------------------ 顶栏 ------------------------------ */
/* 头部：固定不滚动 */
.topbar {
  grid-area: top;
  position: relative; z-index: 20;
  padding: calc(var(--safe-t) + 12px) 16px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.topbar-row { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand .logo {
  font-size: 18px;
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.brand h1 { font-size: 19px; margin: 0; letter-spacing: .5px; font-weight: 650; }
.topbar-actions { display: flex; gap: 4px; }
.icon-btn {
  background: transparent; border: 0; font-size: 17px; cursor: pointer;
  width: 36px; height: 36px; border-radius: 10px; color: var(--text-dim);
}
.icon-btn:active { background: var(--card-2); }

.search-wrap { padding: 8px 0 4px; }
.search-wrap input {
  width: 100%; padding: 10px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  font-size: 15px; outline: none;
}
.search-wrap input:focus { border-color: var(--accent); }

.tabs { display: flex; gap: 6px; padding: 8px 0 10px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--text-dim);
  font-size: 13.5px; white-space: nowrap;
}
.tab.active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; }

/* ------------------------------ 列表 ------------------------------ */
/* 中间：唯一可滚动区域 */
.list {
  grid-area: list;
  min-height: 0;                 /* 关键：允许 flex/grid 子项收缩出滚动区 */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;  /* 滚到底不带动整页 */
  padding: 4px 16px 24px;
}
.date-head {
  font-size: 12px; color: var(--text-faint); margin: 18px 0 8px; font-weight: 600;
  letter-spacing: .6px; display: flex; align-items: center; gap: 8px;
}
.date-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.item {
  display: flex; gap: 10px; padding: 12px 13px; margin-bottom: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  align-items: flex-start; transition: opacity .25s, transform .2s;
  animation: pop .22s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.item.removing { opacity: 0; transform: translateX(30px); }

.check {
  flex: 0 0 auto; width: 21px; height: 21px; margin-top: 1px; border-radius: 50%;
  border: 1.8px solid var(--text-faint); background: transparent; cursor: pointer;
  display: grid; place-items: center; font-size: 12px; color: transparent; padding: 0;
}
.check.on { background: var(--todo); border-color: var(--todo); color: #08210f; }

.badge {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px;
  display: grid; place-items: center; font-size: 12px;
}
.badge.cat-0 { background: rgba(255,179,64,.16); }
.badge.cat-1 { background: rgba(74,217,145,.16); }
.badge.cat-2 { background: rgba(108,184,255,.16); }
.badge.cat-3 { background: rgba(167,139,250,.16); }
.badge.cat-4 { background: rgba(251,113,133,.16); }
.badge.cat-5 { background: rgba(45,212,191,.16); }

/* ---------------------------- 附件 ---------------------------- */
.thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.thumb {
  width: 76px; height: 76px; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--line); cursor: zoom-in; background: var(--card-2);
}
.files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.file-chip {
  display: inline-block; padding: 5px 10px; border-radius: 9px; font-size: 12.5px;
  background: var(--card-2); border: 1px solid var(--line); color: var(--text-dim);
  text-decoration: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 附件按钮：<label> 包住真实 file input，点击直接命中 input，
   避免微信/UC 等内核拦截「JS click 隐藏 input」的行为 */
.att-btn {
  position: relative; overflow: hidden;
  flex: 0 0 auto; width: 38px; height: 42px; border-radius: 13px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); font-size: 17px;
  display: grid; place-items: center; padding: 0;
  -webkit-user-select: none; user-select: none;
}
.att-btn:active { background: var(--card-2); }
.att-ico { pointer-events: none; line-height: 1; }
.att-input {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; border: 0; padding: 0; margin: 0;
  cursor: pointer; font-size: 0; z-index: 2;
  -webkit-appearance: none; appearance: none;
}

.attach-bar {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none;
}
.attach-bar::-webkit-scrollbar { display: none; }
.draft {
  position: relative; flex: 0 0 auto; width: 54px; height: 54px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card-2); overflow: hidden;
  display: grid; place-items: center;
}
.draft img { width: 100%; height: 100%; object-fit: cover; }
.draft-file { font-size: 20px; }
.draft-del {
  position: absolute; top: 1px; right: 1px; width: 17px; height: 17px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 10px; cursor: pointer;
  display: grid; place-items: center; padding: 0;
}

.lightbox {
  position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.9);
  display: grid; place-items: center; padding: 20px;
}
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: 10px; }
.lb-close {
  position: absolute; top: calc(14px + var(--safe-t)); right: 14px;
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; font-size: 15px;
}

/* -------------------------- 分类管理 -------------------------- */
.cat-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.cat-row {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 11px; font-size: 14px;
}
.cat-emoji { font-size: 16px; }
.cat-label { flex: 1; }
.cat-tag { font-size: 11px; color: var(--text-faint); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; white-space: nowrap; }
.cat-sub {
  display: block; font-style: normal; font-size: 11px;
  color: var(--text-faint); margin-top: 2px;
}

/* ---------------------------- 编辑弹层 ---------------------------- */
.edit-input {
  width: 100%;
  min-height: 140px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-size: 15.5px;
  font-family: inherit;
  line-height: 1.6;
  resize: vertical;
  outline: none;
}
.edit-input:focus { border-color: var(--accent); }
.edit-att-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.edit-att-row .att-btn { width: 40px; height: 40px; border-radius: 11px; font-size: 16px; }
.edit-att-hint { font-size: 11px; color: var(--text-faint); line-height: 1.4; }
@media (min-width: 900px) {
  .edit-input { min-height: 180px; font-size: 16px; }
  #edit-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; }
  #edit-chips .chip { padding: 9px 6px; text-align: center; }
}
.cat-del {
  border: 0; background: transparent; color: var(--text-faint); cursor: pointer; font-size: 13px; padding: 2px 4px;
}
.cat-del:disabled { opacity: .3; }
.cat-add { display: flex; gap: 8px; }
.cat-icon {
  flex: 0 0 auto; width: 52px; text-align: center; padding: 10px 6px; border-radius: 11px; font-size: 16px;
  border: 1px solid var(--line); background: var(--card); color: var(--text); outline: none;
}
.cat-name {
  flex: 1; padding: 10px 12px; border-radius: 11px; font-size: 14px;
  border: 1px solid var(--line); background: var(--card); color: var(--text); outline: none;
}
.cat-name:focus, .cat-icon:focus { border-color: var(--accent); }
.switch {
  display: flex; align-items: center; gap: 7px; margin-top: 9px;
  font-size: 12.5px; color: var(--text-dim); cursor: pointer;
}
.switch input { width: 16px; height: 16px; accent-color: var(--accent); }

.item-body { flex: 1; min-width: 0; }
.item-text { font-size: 15px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.item.done .item-text { text-decoration: line-through; color: var(--text-faint); }
.item-meta { font-size: 11.5px; color: var(--text-faint); margin-top: 5px; }

.del {
  flex: 0 0 auto; background: transparent; border: 0; cursor: pointer;
  color: var(--text-faint); font-size: 14px; padding: 2px 4px; border-radius: 6px;
}
.del:active { color: var(--danger); }

.empty { text-align: center; color: var(--text-faint); padding: 60px 20px; font-size: 14px; line-height: 2; }
.empty .big { font-size: 40px; display: block; margin-bottom: 8px; }

/* ---------------------------- 输入区 ---------------------------- */
/* 底部输入区：固定在底部，不随列表滚动 */
.composer {
  grid-area: comp;
  position: relative; z-index: 25;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 8px 12px calc(8px + var(--safe-b));
  box-shadow: 0 -8px 24px rgba(0,0,0,.18);
}
@media (prefers-color-scheme: light) { .composer { box-shadow: 0 -8px 24px rgba(20,20,40,.06); } }

.type-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip {
  flex: 0 1 auto; padding: 6px 12px; border-radius: 9px; cursor: pointer; font-size: 12.5px;
  border: 1px solid var(--line); background: var(--card); color: var(--text-dim); white-space: nowrap;
}
.chip.active { border-color: transparent; color: #fff; }
.chip.c0.active { background: linear-gradient(135deg, #ffb340, #ff8f2e); }
.chip.c1.active { background: linear-gradient(135deg, #4ad991, #22c07a); }
.chip.c2.active { background: linear-gradient(135deg, #6cb8ff, #4b8df5); }
.chip.c3.active { background: linear-gradient(135deg, #a78bfa, #8b5cf6); }
.chip.c4.active { background: linear-gradient(135deg, #fb7185, #f43f5e); }
.chip.c5.active { background: linear-gradient(135deg, #2dd4bf, #14b8a6); }

.input-row { display: flex; gap: 6px; align-items: flex-end; }
#input {
  flex: 1; resize: none; max-height: 140px; min-height: 42px;
  padding: 11px 14px; border-radius: 14px; font-size: 15.5px; line-height: 1.45;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  outline: none; font-family: inherit;
}
#input:focus { border-color: var(--accent); }
.send-btn {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 14px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  font-size: 19px; display: grid; place-items: center;
}
.send-btn:active { transform: scale(.94); }
.send-btn:disabled { opacity: .4; }
.send-text { display: none; }

/* ------------------------------ 弹层 ------------------------------ */
.sheet-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 30; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 31;
  max-width: 560px; margin: 0 auto;
  background: var(--bg-soft); border-radius: 20px 20px 0 0;
  padding: 10px 20px calc(20px + var(--safe-b));
  border-top: 1px solid var(--line);
  animation: up .26s ease;
  /* 页面禁止滚动后，设置面板自己滚动 */
  max-height: 86vh;
  max-height: 86dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
.sheet-grab { width: 38px; height: 4px; border-radius: 3px; background: var(--line); margin: 0 auto 14px; }
.sheet h2 { margin: 0 0 16px; font-size: 16px; }
.field { margin-bottom: 16px; }
.field > label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 7px; }
.hint { font-size: 12px; color: var(--text-faint); margin: 7px 0 0; line-height: 1.5; }
.row { display: flex; gap: 8px; }
.row input {
  flex: 1; padding: 10px 14px; border-radius: 11px; font-size: 15px; letter-spacing: 3px;
  border: 1px solid var(--line); background: var(--card); color: var(--text); outline: none; text-transform: uppercase;
}
.code-box { display: flex; align-items: center; gap: 10px; }
.code-box code {
  flex: 1; font-size: 22px; letter-spacing: 6px; font-weight: 600;
  background: var(--card); border: 1px dashed var(--line); border-radius: 11px;
  padding: 12px 14px; text-align: center; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.mini-btn {
  padding: 9px 14px; border-radius: 11px; cursor: pointer; font-size: 13.5px;
  border: 1px solid var(--line); background: var(--card); color: var(--text); white-space: nowrap;
}
.mini-btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; color: #fff; }
.mini-btn.danger { color: var(--danger); }
.mini-btn.danger.full { flex: 0 0 auto; width: 100%; border-color: rgba(255, 107, 107, .35); }
.field.split { display: flex; gap: 8px; }
.field.split .mini-btn { flex: 1; }
.field.stat { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-faint); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--todo); display: inline-block; }
.dot.off { background: var(--danger); }
.dot.wait { background: var(--idea); }
.close-sheet {
  width: 100%; padding: 12px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 14px;
}

.toast {
  position: fixed; left: 50%; transform: translateX(-50%) translateY(20px);
  bottom: calc(120px + var(--safe-b)); z-index: 40;
  background: rgba(20,22,32,.94); color: #fff; padding: 10px 18px; border-radius: 12px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; max-width: 80%;
}
@media (prefers-color-scheme: light) { .toast { background: rgba(26,28,37,.94); } }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* PC 快捷键提示：仅宽屏显示 */
.pc-hint {
  display: none;
  margin: 10px 2px 0;
  font-size: 11.5px;
  color: var(--text-faint);
  line-height: 1.6;
}

/* ------------------------- PC / 宽屏适配 ------------------------- */
@media (min-width: 900px) {
  .app {
    max-width: 1180px;
    /* 左栏常驻输入，右栏工具栏 + 列表 */
    grid-template-columns: 380px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas:
      "comp top"
      "comp list";
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  /* 左栏：输入面板 —— 分类网格 / 定高输入框 / 底部工具行 */
  .composer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 0;
    border-right: 1px solid var(--line);
    box-shadow: none;
    padding: 22px 18px calc(16px + var(--safe-b));
    overflow-y: auto;
  }

  /* 分类：等宽网格，避免出现落单的小块 */
  .composer .type-chips {
    order: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 6px;
    margin: 0;
  }
  .composer .chip {
    padding: 9px 6px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .composer .attach-bar { order: 2; padding: 0; }

  /* 输入框占满剩余高度，工具按钮固定在它下面一行 */
  .composer .input-row {
    order: 3;
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(3, 44px) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-areas:
      "ta ta ta ta"
      "cam img file send";
    gap: 8px;
  }
  .composer #input {
    grid-area: ta;
    height: 100% !important;
    min-height: 140px;
    max-height: none;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 15.5px;
    line-height: 1.7;
  }
  .composer .att-btn { width: 44px; height: 44px; border-radius: 12px; }
  .composer .att-btn:nth-of-type(1) { grid-area: cam; }
  .composer .att-btn:nth-of-type(2) { grid-area: img; }
  .composer .att-btn:nth-of-type(3) { grid-area: file; }
  .composer .send-btn {
    grid-area: send;
    justify-self: end;
    width: 104px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    border-radius: 12px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .composer .send-text { display: inline; font-size: 14px; letter-spacing: .5px; }
  .composer .send-ico { font-size: 16px; }

  /* 快捷键说明沉到底部，兼作状态栏 */
  .pc-hint {
    order: 4;
    display: block;
    margin: 0;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  /* 右栏：搜索常显 + 列表更宽松 */
  .topbar { padding: 16px 20px 0; }
  .topbar #btn-search { display: none; }
  .topbar .search-wrap { display: block !important; padding: 10px 0 6px; }
  .topbar .tabs { padding: 6px 0 12px; }
  .list { padding: 8px 20px 28px; }

  /* 设置面板：抽屉改为居中弹窗 */
  .sheet {
    left: 50%; right: auto; top: 50%; bottom: auto;
    width: 540px; max-width: 92vw;
    transform: translate(-50%, -50%);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
    animation: fade .2s ease;
    max-height: 82vh;
    max-height: 82dvh;
  }
  .sheet.show { transform: translate(-50%, -50%); }
  .sheet-grab { display: none; }
  .sheet-mask { background: rgba(0, 0, 0, .55); }
}

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* 鼠标设备：补充 hover 反馈 */
@media (hover: hover) {
  .item:hover { border-color: var(--accent); }
  .item:hover .del { color: var(--text-dim); }
  .tab:not(.active):hover { color: var(--text); border-color: var(--accent); }
  .chip:not(.active):hover { color: var(--text); }
  .icon-btn:hover { background: var(--card-2); }
  .att-btn:hover { background: var(--card-2); }
  .mini-btn:hover { border-color: var(--accent); }
  .cat-del:hover { color: var(--danger); }
  .thumb:hover { opacity: .85; }
}

/* ------------------------------ 归档 ------------------------------ */
/* 归档是彻底完成的事项，弱化入口：不做数字角标提醒，降低视觉权重 */
.arc-entry { opacity: .5; transition: opacity .15s ease; }
.arc-entry:hover, .arc-entry:focus-visible, .arc-entry:active { opacity: 1; }

.item-actions {
  flex: 0 0 auto; display: flex; flex-direction: column;
  align-items: center; gap: 9px;
}
.arc {
  flex: 0 0 auto; background: transparent; border: 0; cursor: pointer;
  color: var(--text-faint); font-size: 13px; line-height: 1;
  padding: 2px 4px; border-radius: 6px;
}
.arc:active { color: var(--accent); }

.arc-preview {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px;
}
.arc-preview-body {
  font-size: 14px; line-height: 1.55; white-space: pre-wrap;
  word-break: break-word; max-height: 130px; overflow-y: auto;
}
.arc-preview-meta { font-size: 11.5px; color: var(--text-faint); margin-top: 8px; }
.arc-note { min-height: 92px; }

.arc-total { font-size: 12px; font-weight: 400; color: var(--text-faint); margin-left: 8px; }
.archive-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.arc-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 14px;
}
.arc-item-top { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--text-faint); }
.arc-item-cat { flex: 1; }
.arc-item-text {
  font-size: 14.5px; line-height: 1.55; white-space: pre-wrap;
  word-break: break-word; margin-top: 8px;
}
.arc-item .thumbs { margin-top: 8px; }
.arc-item .files { margin-top: 6px; }
.arc-note-box {
  margin-top: 9px; padding: 9px 11px; border-radius: 10px;
  background: var(--card-2); font-size: 13px; line-height: 1.55;
  white-space: pre-wrap; word-break: break-word;
}
.arc-note-box span {
  display: block; font-size: 11px; font-weight: 600;
  color: var(--accent); margin-bottom: 3px;
}
.arc-item-actions { display: flex; gap: 8px; margin-top: 12px; }
.arc-item-actions .mini-btn { flex: 1; }

@media (hover: hover) {
  .item:hover .arc { color: var(--text-dim); }
  .arc:hover { color: var(--accent); }
}

.hidden { display: none !important; }
