/* context — dewey-inspired light bookmark library. See design.md. */
:root {
  --frame: #e9e7ec;
  --panel: #f4f3f6;
  --card: #ffffff;
  --card-hover: #fdfcfe;
  --wash: #f1eff4;
  --wash-strong: #e6e3eb;
  --ink: #1f1d24;
  --ink-2: #4a4752;
  --muted: #8c8a93;
  --muted-2: #9a97a1;
  --line: rgba(31, 29, 36, 0.06);
  --accent: #6b4fb5;
  --accent-hover: #5c42a3;
  --accent-active: #4b3a78;
  --accent-soft: #ece6f8;
  --wordmark: #a58bdb;
  --danger: #c2413a;

  /* X post ink (design.md: X reference) */
  --x-ink: #0f1419;
  --x-muted: #536471;
  --x-link: #1d9bf0;
  --x-line: #eff3f4;
  --x-border: #cfd9de;
  --x-hover: #f7f9f9;
  --x-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;

  --tag-blue: #4f7fd6;
  --tag-green: #3f9a6b;
  --tag-purple: #8a63d2;
  --tag-red: #d0564f;
  --tag-peach: #d98a4e;

  --r-card: 22px;
  --r-panel: 22px;
  --r-md: 12px;
  --r-sm: 9px;
  --gap: 22px;
  --sidebar-w: 228px;
  --shadow-card: 0 1px 2px rgba(31, 29, 36, 0.04);
  --shadow-float: 0 18px 50px rgba(31, 29, 36, 0.14), 0 2px 6px rgba(31, 29, 36, 0.06);

  --font: "Inter", "Noto Sans JP", ui-sans-serif, system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--frame);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
:focus-visible { outline: 2px solid var(--wordmark); outline-offset: 2px; }

/* ---------- icons ---------- */
.i { display: inline-flex; width: 16px; height: 16px; flex: none; }
.i svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i.i-fill svg { fill: currentColor; stroke: none; }

/* ---------- shell ---------- */
.shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  min-height: 100vh;
}

/* ---------- sidebar ---------- */
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 22px 12px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  scrollbar-width: none;
}
.sidebar::-webkit-scrollbar { display: none; }
.sidebar-top { display: flex; align-items: baseline; gap: 8px; padding: 0 8px; }
.wordmark {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--wordmark);
}
.wordmark-dot { color: var(--accent); }
.sidebar-sub { font-size: 11px; color: var(--muted-2); }

.nav-group { display: flex; flex-direction: column; gap: 4px; }
.nav-heading {
  margin: 0 0 4px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}
.nav-list { display: flex; flex-direction: column; gap: 1px; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 32px;
  padding: 6px 10px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.nav-item .i { color: var(--muted); }
.nav-item:hover { background: rgba(255, 255, 255, 0.55); color: var(--ink); }
.nav-item[aria-current="true"] {
  background: var(--accent-active);
  color: #fff;
  font-weight: 500;
}
.nav-item[aria-current="true"] .i,
.nav-item[aria-current="true"] .nav-count { color: rgba(255, 255, 255, 0.78); }
.nav-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-count { font-size: 12px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.nav-dot { width: 7px; height: 7px; border-radius: 50%; margin: 0 4.5px; flex: none; background: var(--muted-2); }
.nav-item .avatar.nav-avatar { width: 18px; height: 18px; font-size: 9.5px; font-weight: 600; }
.nav-quiet { color: var(--muted); font-size: 12.5px; min-height: 30px; }
.nav-quiet:disabled { opacity: 0.5; cursor: default; }
.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 1px; }
.status { margin: 6px 10px 0; font-size: 11.5px; color: var(--muted); min-height: 1em; }
.status:empty { display: none; }

[data-family="blue"] { --fam: var(--tag-blue); }
[data-family="green"] { --fam: var(--tag-green); }
[data-family="purple"] { --fam: var(--tag-purple); }
[data-family="red"] { --fam: var(--tag-red); }
[data-family="peach"] { --fam: var(--tag-peach); }
.nav-dot[data-family] { background: var(--fam); }

/* ---------- main panel ---------- */
.panel {
  margin: 12px 12px 12px 0;
  min-height: calc(100vh - 24px);
  background: var(--panel);
  border-radius: var(--r-panel);
  padding: 20px 26px 40px;
  min-width: 0;
}
.banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent-active);
  font-size: 12.5px;
}
.banner p { margin: 0; flex: 1; }
.banner-dismiss { border: 0; background: transparent; color: inherit; font-size: 16px; cursor: pointer; opacity: 0.6; padding: 0 4px; }
.banner-dismiss:hover { opacity: 1; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(420px, 100%);
  height: 38px;
  padding: 0 8px 0 14px;
  background: var(--card);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  cursor: text;
}
.search-icon { color: var(--muted-2); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13px; }
.search input::placeholder { color: var(--muted-2); }
.search:focus-within { box-shadow: 0 0 0 2px var(--accent-soft); }
.kbd {
  font-family: var(--font);
  font-size: 11px;
  color: var(--muted);
  background: var(--wash);
  padding: 2px 7px;
  border-radius: 6px;
}
.topbar-actions { display: flex; align-items: center; gap: 8px; }

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  min-width: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.btn-accent:hover { background: var(--accent-hover); }
.btn-accent:disabled { opacity: 0.6; cursor: progress; }
.btn-accent.is-busy .i { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.btn-primary {
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  cursor: pointer;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-soft {
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 11px;
  background: var(--card);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}
.btn-soft:hover { color: var(--ink); background: var(--card-hover); }

.titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 26px 0 18px;
}
.title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.title-icon { color: var(--muted); }
.title-icon .i { width: 18px; height: 18px; }
.titlebar-meta { display: flex; align-items: center; gap: 18px; }
.meta-control { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.meta-control:empty { display: none; }

/* ---------- grid ---------- */
.grid {
  columns: 3 300px;
  column-gap: var(--gap);
}
.grid > * { break-inside: avoid; margin-bottom: var(--gap); }
.more { display: block; margin: 8px auto 0; }

/* ---------- card (X embedded post on a library card) ---------- */
/* Anatomy follows the official X embed (widgets.js), light theme, without the iframe. See design.md. */
.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 22px 18px;
  background: var(--card);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: box-shadow 0.15s, background 0.15s, border-color 0.15s;
}
.card:hover { box-shadow: 0 6px 22px rgba(31, 29, 36, 0.07); }
.card.is-selected { box-shadow: 0 0 0 2px var(--wordmark); }

.card.post {
  gap: 0;
  padding: 12px 16px 12px;
  border: 1px solid var(--x-border);
  border-radius: 16px;
  color: var(--x-ink);
  font-family: var(--x-font);
}
.card.post:hover { background: var(--x-hover); border-color: #c4cfd6; }
.card.post > * + * { margin-top: 12px; }
.card.post > .x-head + .x-text { margin-top: 12px; }
.card.post > .x-time { margin-top: 12px; }

/* header: avatar · name / @handle · X logo */
.x-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.x-avatar-link { display: inline-flex; flex: none; border-radius: 50%; }
.x-avatar-link:hover { opacity: 0.88; }
.x-id-link { flex: 1; min-width: 0; display: block; }
.x-id { display: flex; flex-direction: column; min-width: 0; line-height: 20px; }
.x-id-link:hover .x-name { text-decoration: underline; }
.x-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--x-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.x-handle { font-size: 15px; color: var(--x-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-dot { color: var(--x-muted); flex: none; }
.x-logo { display: inline-flex; flex: none; align-self: flex-start; color: var(--x-ink); padding: 2px; border-radius: 50%; }
.x-logo .i { width: 22px; height: 22px; }
a.x-logo:hover { background: rgba(15, 20, 25, 0.06); }

/* body */
.x-text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--x-ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
}
.x-text.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.x-link { color: var(--x-link); }
.x-link:hover { text-decoration: underline; }

/* media grid: 1–4 like X (2px gutters, 16px radius, hairline) */
.x-media {
  display: grid;
  gap: 2px;
  border: 1px solid var(--x-border);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--x-line);
}
.x-media.n1 { max-height: 520px; }
.x-media.n2 { grid-template-columns: 1fr 1fr; }
.x-media.n3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.x-media.n3 > :first-child { grid-row: span 2; }
.x-media.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.x-media-cell { position: relative; display: block; min-width: 0; min-height: 0; overflow: hidden; background: #e7ecf0; }
.x-media-cell img, .x-media-cell video { display: block; width: 100%; height: 100%; object-fit: cover; }
.x-media-cell video { object-fit: contain; background: #000; }
a.x-media-cell:hover img { filter: brightness(0.94); }
.x-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.x-play-icon {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--x-link);
  border: 4px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.12s, background 0.12s;
}
.x-play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
}
.x-play:hover .x-play-icon { background: #1a8cd8; transform: scale(1.05); }
.x-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 0 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.77);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  pointer-events: none;
}

/* nested quoted post */
.x-quote {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--x-border);
  border-radius: 16px;
  background: var(--card);
  cursor: pointer;
  transition: background 0.12s;
}
.x-quote:hover { background: var(--x-hover); }
.x-quote-head { display: flex; align-items: center; gap: 4px; min-width: 0; line-height: 20px; }
.x-quote-head .avatar { margin-right: 2px; }
.x-quote-head .x-name, .x-quote-head .x-handle { font-size: 14.5px; }
.x-quote-head .x-name { flex: 0 1 auto; min-width: 0; }
.x-quote-head .x-handle { flex: 0 10 auto; min-width: 0; }
.x-quote-head time { flex: none; }
.x-quote .x-text { font-size: 14.5px; line-height: 1.4; }
.x-quote .x-media { margin-top: 8px; border-radius: 12px; }

/* link card (summary / summary_large_image) */
.x-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--x-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  transition: background 0.12s;
}
a.x-card:hover { background: var(--x-hover); }
.x-card-image { display: block; aspect-ratio: 1.91 / 1; background: var(--x-line); border-bottom: 1px solid var(--x-border); }
.x-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.x-card-text { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; min-width: 0; }
.x-card-host { font-size: 13.5px; color: var(--x-muted); }
.x-card-title {
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--x-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.x-card-desc {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--x-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* timestamp row (embed: 「午後3:04 · 2026年10月30日」) */
.x-time { display: inline-block; align-self: flex-start; font-size: 14px; line-height: 20px; color: var(--x-muted); }
a.x-time:hover { text-decoration: underline; }

/* library notes sit where the embed's action row would be, after a hairline */
.card-notes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--x-line);
  font-family: var(--font);
}

.card-summary {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: var(--wash);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.card-summary-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  vertical-align: 1px;
}
.card-summary-label .i { width: 12px; height: 12px; }

.avatar {
  --avatar-hue: 265;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: hsl(var(--avatar-hue) 45% 90%);
  color: hsl(var(--avatar-hue) 35% 38%);
  font-size: 14px;
  font-weight: 600;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-lg { width: 44px; height: 44px; font-size: 16px; }
.avatar-embed { width: 40px; height: 40px; font-size: 15px; box-shadow: inset 0 0 0 1px rgba(15, 20, 25, 0.04); }
.avatar-mini { width: 20px; height: 20px; font-size: 10px; }

.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.meta .i { width: 13px; height: 13px; color: var(--muted); }
button.meta { border: 0; background: none; padding: 0; cursor: pointer; }
button.meta:hover, a.meta:hover { color: var(--accent); }
.meta-folder .i { color: var(--fam, var(--muted)); }
.meta-muted { color: var(--muted-2); font-weight: 400; }
.meta-pending { color: var(--muted-2); font-weight: 400; margin-left: auto; }

/* ---------- empty / mcp ---------- */
.empty, .mcp-note {
  padding: 28px;
  background: var(--card);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.grid > .empty, .grid > .mcp-note { column-span: all; max-width: 640px; }
.empty h2, .mcp-note h2 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.empty p, .mcp-note p { margin: 0 0 16px; color: var(--ink-2); line-height: 1.7; }
.mcp-note pre {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--wash);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  overflow-x: auto;
}

/* ---------- drawer ---------- */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(31, 29, 36, 0.18);
  z-index: 20;
}
.drawer {
  position: fixed;
  top: 12px;
  right: 12px;
  bottom: 12px;
  width: min(460px, calc(100vw - 24px));
  overflow-y: auto;
  z-index: 21;
  background: var(--panel);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-float);
  padding: 14px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: drawer-in 0.18s ease-out;
}
@keyframes drawer-in { from { transform: translateX(16px); opacity: 0; } }
.drawer-bar { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px; }
.drawer-title { font-size: 12.5px; color: var(--muted); }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.icon-btn:hover { background: var(--wash-strong); color: var(--ink); }
.drawer .card { cursor: default; }
.drawer .card:hover { box-shadow: var(--shadow-card); }
.drawer .card.post { padding: 14px 16px; }
.drawer .card.post:hover { background: var(--card); border-color: var(--x-border); }
.drawer .card.post .avatar-embed { width: 48px; height: 48px; font-size: 17px; }
.drawer .card.post > .x-text { font-size: 17px; line-height: 1.45; }
.drawer .x-time { font-size: 15px; }
.detail-section {
  padding: 16px 20px;
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}
.detail-section h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.detail-section h2 .i { width: 13px; height: 13px; }
.detail-section p { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--ink); }
.detail-section p + p { margin-top: 8px; }
.detail-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 13px; font-weight: 500; }
.text-link:hover { text-decoration: underline; }
.text-link .i { width: 13px; height: 13px; }
.savers { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.saver { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.saver .avatar { width: 22px; height: 22px; font-size: 11px; }
.mono { font-family: var(--mono); font-size: 11px !important; color: var(--muted) !important; margin-top: 12px !important; word-break: break-all; }
.detail-actions { display: flex; gap: 8px; margin-top: 14px; }
.detail-section .btn-soft { background: var(--wash); box-shadow: none; }
.detail-section .btn-soft:hover { background: var(--wash-strong); }

/* ---------- gate ---------- */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.gate-card {
  width: min(380px, 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 28px;
  background: var(--card);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.gate-card h1 { margin: 10px 0 0; font-size: 19px; font-weight: 600; }
.gate-card p { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.label { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.field {
  height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  background: var(--wash);
  outline: 0;
}
.field:focus { box-shadow: 0 0 0 2px var(--accent-soft); background: var(--card); }
.form-error { color: var(--danger) !important; min-height: 1em; margin: 0 !important; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; padding: 16px 14px 4px; gap: 14px; }
  .nav-group { gap: 2px; }
  .nav-list { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .nav-item { width: auto; background: rgba(255, 255, 255, 0.5); }
  .sidebar-foot { flex-direction: row; flex-wrap: wrap; margin-top: 0; }
  .panel { margin: 0 8px 8px; padding: 16px 14px 32px; }
  .titlebar-meta #sort-label { display: none; }
}

/* BYO X App 登録ダイアログ（既存の gate-card を流用） */
.xapp-dialog { border: 0; padding: 0; background: transparent; }
.xapp-dialog::backdrop { background: rgba(16, 17, 18, 0.28); }
.xapp-dialog .gate-card { width: min(420px, calc(100vw - 32px)); }
.xapp-dialog code { font-size: 12px; word-break: break-all; }
.xapp-row { display: flex; flex-direction: column; gap: 10px; }
.xapp-check { display: flex; align-items: center; gap: 8px; }

/* カード表面: 保存したメンバーの重なりアバター */
.saver-stack { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--muted, #536471); font-size: 12px; }
.saver-avatars { display: inline-flex; }
.saver-avatars .avatar { box-shadow: 0 0 0 2px #fff; }
.saver-avatars .avatar + .avatar { margin-left: -6px; }
.saver-more { background: #eff3f4; color: #536471; font-size: 9px; font-weight: 600; }
