/* mayor2026.observe.tw — shared styles（殼 ＋ 共用元件）。
   建立在 tokens.css 之上；頁面專屬樣式放 assets/pages/<page>.css。
   契約：docs/DESIGN.md §5；API 說明：docs/KIT.md。
   不得在此寫死顏色——一律使用 tokens。 */

/* =========================================================================
   1. Reset / base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* 1440p 以上（像素比 1）整體放大一級：rem 為基準的字級、間距、容器一起變大 */
@media (min-width: 1800px) { html { font-size: 106.25%; } }
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.7;
  background: var(--color-canvas);
  color: var(--color-text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: 0.01em; }
p { margin: 0; }
/* 中文段落避免單字成行（孤字） */
p, li, dd, h1, h2, h3 { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--color-border-subtle); margin: 0; }
a { color: var(--color-text-brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
/* 閱讀段落內的連結不只靠顏色辨識 */
main :where(p, li, dd) a[href]:not([class]) {
  text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em;
}
:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}
::selection { background: color-mix(in srgb, var(--color-action-primary) 30%, transparent); }
.icon { width: 20px; height: 20px; flex: none; }
[hidden] { display: none !important; }

/* =========================================================================
   2. App 殼（Threads 式）：≥1080 側欄 260px／700–1079 icon 窄欄 76px／<700 頂欄＋底部 tab
   ========================================================================= */
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-pill);
  background: var(--color-action-primary); color: var(--color-action-on-primary); font-weight: 600;
}
.skip-link:focus { top: 12px; text-decoration: none; }

.site-header {
  position: fixed; inset: 0 auto 0 0; z-index: 40; width: var(--layout-sidebar);
  display: flex; flex-direction: column; gap: var(--space-1);
  padding: 20px 16px 16px;
  background: var(--color-canvas);
}
/* 品牌字標：2026 為全站唯一允許的漸層 */
.brand {
  display: flex; align-items: baseline; gap: 6px;
  padding: 4px 12px 20px; color: var(--color-text-primary); text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-num {
  font-size: 1.55rem; font-weight: 800; line-height: 1; letter-spacing: -0.01em;
  background-image: var(--brand-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.brand-sub { font-size: 1.4rem; font-weight: 500; line-height: 1; color: var(--color-text-muted); white-space: nowrap; }

.site-nav { display: flex; flex-direction: column; gap: var(--space-1); flex: 1; min-height: 0; }
.nav-item {
  display: flex; align-items: center; gap: 14px;
  min-height: var(--layout-tap-target); padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--color-text-secondary); font-size: 0.95rem; font-weight: 600; line-height: 1;
  transition: background var(--motion-fast), color var(--motion-fast);
}
.nav-item .icon { width: 24px; height: 24px; }
.nav-item:hover { background: var(--color-surface-soft); color: var(--color-text-primary); text-decoration: none; }
.nav-item[aria-current="page"] { color: var(--color-text-primary); }
.nav-item[aria-current="page"] .icon { stroke-width: 2.3; }
.nav-label-short { display: none; }

.nav-more { position: relative; margin-top: auto; }
.nav-more > summary { list-style: none; cursor: pointer; }
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-more[open] > summary { color: var(--color-text-primary); }
.nav-more-menu {
  position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 50;
  width: 256px; padding: 8px; display: flex; flex-direction: column; gap: 2px;
  background: var(--color-surface-raised); border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-raised);
}
.nav-more-menu > a {
  display: flex; align-items: center; gap: 12px; min-height: var(--layout-tap-target); padding: 10px 12px;
  border-radius: var(--radius-md); color: var(--color-text-primary); font-size: 0.92rem; font-weight: 600;
}
.nav-more-menu > a:hover { background: var(--color-surface-soft); text-decoration: none; }
.nav-more-menu .mi { width: 20px; height: 20px; flex: none; color: var(--color-text-secondary); }
.nav-more-label { padding: 8px 12px 4px; font-size: var(--text-xs); font-weight: 700; color: var(--color-text-muted); }
.nav-more-sep { margin: 6px 4px; }
.nav-more-menu .seg { margin: 2px 4px 4px; display: flex; width: auto; overflow: visible; }
.nav-more-menu .seg button { flex: 1 1 0; min-width: 0; padding: 0 6px; gap: 4px; }
.nav-mobile-extra { display: none !important; }

/* 手機頂欄右側全域搜尋；左側保留給頁面動作（.topbar-action） */
.topbar-search, .topbar-action { display: none; }

@media (min-width: 1080px) {
  body { padding-left: var(--layout-sidebar); }
}
@media (min-width: 700px) and (max-width: 1079px) {
  body { padding-left: var(--layout-rail); }
  .site-header { width: var(--layout-rail); padding: 16px 10px; }
  .brand { justify-content: center; padding: 4px 0 16px; }
  .brand-num { font-size: 1.05rem; }
  .brand-sub, .nav-label { display: none; }
  .nav-item { justify-content: center; padding: 10px 0; }
  .nav-more-menu { left: calc(100% + 10px); bottom: 0; }
}
@media (max-width: 699px) {
  body { padding-bottom: calc(var(--layout-tabbar) + env(safe-area-inset-bottom)); }
  .site-header {
    position: sticky; inset: auto; top: 0; width: auto;
    flex-direction: row; justify-content: center; align-items: center;
    height: var(--layout-topbar); padding: 0 56px; background: none;
  }
  /* 毛玻璃放偽元素，避免 backdrop-filter 讓 fixed 底欄以 header 為 containing block */
  .site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: color-mix(in srgb, var(--color-canvas) 82%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border-subtle);
  }
  .brand { padding: 0; }
  .brand-num { font-size: 1.35rem; }
  .brand-sub { font-size: 1.2rem; }
  .site-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    flex-direction: row; gap: 0; flex: none;
    padding: 2px 6px calc(2px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--color-canvas) 88%, transparent);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--color-border-subtle);
  }
  .nav-item {
    flex: 1; flex-direction: column; justify-content: center; gap: 4px;
    min-height: 56px; padding: 6px 0; font-size: 0.68rem; color: var(--color-text-muted);
  }
  .nav-item:hover { background: none; }
  .nav-item .icon { width: 23px; height: 23px; }
  .nav-label, .nav-desktop-only { display: none; }
  .nav-label-short { display: block; }
  .nav-more { flex: 1; display: flex; margin: 0; position: static; }
  .nav-more > summary.nav-item { width: 100%; }
  .nav-more-menu {
    position: fixed; left: 12px; right: 12px; width: auto;
    bottom: calc(var(--layout-tabbar) + 10px + env(safe-area-inset-bottom));
  }
  /* 手機「更多」選單：背後加半透明遮罩，與內容分層（點遮罩由 shell.js 外點關閉） */
  body:has(.nav-more[open])::after {
    content: ""; position: fixed; inset: 0; z-index: 39;
    background: color-mix(in srgb, #000 42%, transparent);
  }
  .nav-mobile-extra { display: flex !important; }
  .topbar-search, .topbar-action {
    display: flex; position: fixed; top: 5px; z-index: 41;
    align-items: center; justify-content: center; width: 44px; height: 44px;
    border: none; background: none; border-radius: var(--radius-pill); color: var(--color-text-secondary);
  }
  .topbar-search { right: 8px; }
  .topbar-action { left: 8px; }
  .topbar-search .icon, .topbar-action .icon { width: 22px; height: 22px; }
  .topbar-search:hover, .topbar-action:hover { background: var(--color-surface-soft); color: var(--color-text-primary); }
}

/* =========================================================================
   3. 頁面骨架與版面
   ========================================================================= */
main.page {
  max-width: var(--layout-content); margin: 0 auto;
  padding: var(--space-2) var(--space-8) var(--space-16);
  min-width: 0;
}
.layout-wide main.page { max-width: none; }
/* 河道鎖定：main 佔滿視窗高、.feed-cols 撐滿剩餘高度（只在 ≥700） */
@media (min-width: 700px) {
  .layout-deck main.page {
    max-width: none; height: 100dvh; display: flex; flex-direction: column;
    padding-bottom: var(--space-3);
  }
  .layout-deck main.page > .feed-cols { flex: 1 1 auto; height: auto; min-height: 0; }
}
@media (max-width: 699px) { main.page { padding: var(--space-1) var(--space-4) var(--space-12); } }

.page-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4);
  flex-wrap: wrap; padding: var(--space-8) 0 var(--space-6);
}
.page-head-text { min-width: 0; flex: 1 1 28rem; }
.page-head h1 { font-size: var(--text-title); font-weight: 800; }
.page-eyebrow { margin-bottom: var(--space-2); font-size: var(--text-small); font-weight: 600; color: var(--color-text-muted); }
.page-lede { margin-top: var(--space-2); max-width: var(--layout-reading); color: var(--color-text-secondary); }
.page-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
@media (max-width: 699px) { .page-head { padding: var(--space-4) 0 var(--space-4); } }

.container { max-width: var(--layout-content); margin: 0 auto; }
.reading { max-width: var(--layout-reading); }
.stack { display: flex; flex-direction: column; gap: var(--stack-gap, var(--space-4)); min-width: 0; }
.row { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; min-width: 0; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: var(--space-4); min-width: 0; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.section { margin-top: var(--space-12); }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.section-head h2, .section-title { font-size: var(--text-heading); font-weight: 700; }
.section-head .link-more { font-size: var(--text-small); font-weight: 600; }

/* =========================================================================
   4. 共用元件
   ========================================================================= */

/* ---- card ---- */
.card {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  min-width: 0;
}
a.card { display: block; color: inherit; transition: border-color var(--motion-fast); }
a.card:hover { border-color: var(--color-border-strong); text-decoration: none; }
.card-title { font-size: 1rem; font-weight: 700; }
.card-meta { margin-top: 2px; font-size: var(--text-small); color: var(--color-text-muted); }

/* ---- stat tile ---- */
.stat-tile {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
  padding: var(--space-4); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-lg);
  background: var(--color-surface-raised);
}
.stat-label { order: -1; font-size: var(--text-small); font-weight: 600; color: var(--color-text-muted); }
.stat-value { font-size: 1.75rem; font-weight: 750; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.stat-hint { font-size: 0.84rem; line-height: 1.5; color: var(--color-text-secondary); }

/* ---- chip ---- */
.chip, .chip-soft {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  height: 32px; padding: 0 12px; border-radius: var(--radius-pill);
  font-size: 0.82rem; font-weight: 500; line-height: 1; white-space: nowrap;
  color: var(--color-text-secondary);
  transition: background var(--motion-fast), color var(--motion-fast), border-color var(--motion-fast);
}
.chip { border: 1px solid var(--color-border-subtle); background: var(--color-surface); }
.chip .icon, .chip-soft .icon { width: 16px; height: 16px; }
/* 32px 視覺高度，點擊區延伸到 44px */
.chip::before, .chip-soft::before { content: ""; position: absolute; inset: -6px 0; }
button.chip, a.chip { cursor: pointer; }
a.chip:hover, button.chip:hover { background: var(--color-surface-soft); color: var(--color-text-primary); text-decoration: none; }
.chip[aria-pressed="true"], .chip[aria-selected="true"], .chip[aria-current="true"] {
  background: var(--color-action-primary); border-color: var(--color-action-primary); color: var(--color-action-on-primary);
}
.chip-soft { height: 26px; padding: 0 10px; border: 0; background: var(--color-surface-soft); font-size: 0.84rem; }
a.chip-soft:hover { color: var(--color-text-primary); background: color-mix(in srgb, var(--color-text-primary) 10%, var(--color-surface-soft)); text-decoration: none; }
.chip-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 5px; margin-right: -4px; border-radius: var(--radius-pill);
  background: var(--color-surface-soft); color: var(--color-text-muted);
  font-size: 0.78rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.chip[aria-pressed="true"] .chip-count { background: color-mix(in srgb, var(--color-action-on-primary) 22%, transparent); color: inherit; }
/* 政黨 / 城市：前置 6px 圓點（政黨色只在這種小面積出現） */
/* ::before 已用於延伸點擊區，所以圓點用 ::after ＋ order:-1 排到最前面 */
.chip-party::after, .chip-city::after {
  content: ""; order: -1; flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--dot, var(--color-text-muted));
}
.chip-city:not(.chip):not(.chip-soft) { display: inline-flex; align-items: center; gap: 5px; }

/* ---- 政黨 / 城市色對應（data-party 可用 slug 或中文全名） ---- */
[data-party] { --party: var(--party-none); }
[data-party="dpp"], [data-party="民進黨"], [data-party="民主進步黨"] { --party: var(--party-dpp); }
[data-party="kmt"], [data-party="國民黨"], [data-party="中國國民黨"] { --party: var(--party-kmt); }
[data-party="tpp"], [data-party="民眾黨"], [data-party="台灣民眾黨"] { --party: var(--party-tpp); }
[data-party="jrp"], [data-party="司法改革黨"] { --party: var(--party-jrp); }
.chip-party { --dot: var(--party); }
[data-city] { --city: var(--color-text-muted); --city-surface: color-mix(in srgb, var(--color-text-muted) 14%, transparent); }
[data-city="taipei"] { --city: var(--city-taipei); --city-surface: var(--city-taipei-surface); }
[data-city="new-taipei"] { --city: var(--city-new-taipei); --city-surface: var(--city-new-taipei-surface); }
[data-city="taoyuan"] { --city: var(--city-taoyuan); --city-surface: var(--city-taoyuan-surface); }
[data-city="taichung"] { --city: var(--city-taichung); --city-surface: var(--city-taichung-surface); }
[data-city="tainan"] { --city: var(--city-tainan); --city-surface: var(--city-tainan-surface); }
[data-city="kaohsiung"] { --city: var(--city-kaohsiung); --city-surface: var(--city-kaohsiung-surface); }
.chip-city { --dot: var(--city); }

/* ---- button ---- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-strong); background: transparent;
  color: var(--color-text-primary); font-size: 0.9rem; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background var(--motion-fast), border-color var(--motion-fast), color var(--motion-fast);
}
.btn::before { content: ""; position: absolute; inset: -2px 0; }
.btn .icon { width: 18px; height: 18px; }
.btn:hover { background: var(--color-surface-soft); text-decoration: none; }
.btn-primary { background: var(--color-action-primary); border-color: var(--color-action-primary); color: var(--color-action-on-primary); }
.btn-primary:hover { background: var(--color-action-primary-hover); border-color: var(--color-action-primary-hover); }
.btn-primary:active { background: var(--color-action-primary-pressed); }
.btn-ghost { border-color: transparent; color: var(--color-text-secondary); }
.btn-ghost:hover { color: var(--color-text-primary); }
.btn-sm { min-height: 32px; padding: 0 12px; font-size: 0.82rem; }
.btn-sm::before { inset: -6px 0; }
.btn-icon { width: 40px; padding: 0; }
.btn-sm.btn-icon { width: 32px; }
.btn:disabled, .btn[aria-disabled="true"] {
  cursor: not-allowed; background: var(--color-action-disabled-surface); border-color: transparent; color: var(--color-action-disabled-text);
}

/* ---- form field ---- */
.input {
  width: 100%; height: 40px; padding: 0 16px;
  border: 1px solid var(--color-border-subtle); border-radius: var(--radius-pill);
  background: var(--color-surface-soft); color: var(--color-text-primary); font-size: 0.92rem;
}
.input::placeholder { color: var(--color-text-muted); }
.input:focus { outline: none; border-color: var(--color-focus-ring); box-shadow: var(--shadow-focus); }

/* ---- avatar（外環 = 政黨色） ---- */
.avatar {
  --size: 36px; --ring-w: 2px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: var(--size); height: var(--size); border-radius: 50%;
  background: var(--color-surface-soft); color: var(--color-text-secondary);
  box-shadow: 0 0 0 var(--ring-w) var(--color-canvas), 0 0 0 calc(var(--ring-w) * 2) var(--party, var(--color-border-subtle));
}
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar-initial { font-weight: 700; font-size: calc(var(--size) * 0.42); line-height: 1; }
a.avatar:hover { text-decoration: none; }
.avatar-xs { --size: 24px; --ring-w: 1px; }
.avatar-sm { --size: 36px; --ring-w: 1.5px; }
.avatar-md { --size: 48px; }
.avatar-lg { --size: 88px; --ring-w: 3px; }

/* ---- table（harmonica Directory 風格） ---- */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table th {
  padding: 8px 12px; text-align: left; white-space: nowrap;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.02em; color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border-subtle);
}
.table td { padding: 12px; border-bottom: 1px solid var(--color-border-subtle); vertical-align: middle; }
.table tbody tr { transition: background var(--motion-fast); }
.table tbody tr:hover { background: var(--color-surface-soft); }
.table .num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table th[data-sort] { cursor: pointer; user-select: none; }
.table th[data-sort]:hover { color: var(--color-text-primary); }
.table th[aria-sort="ascending"]::after { content: " ↑"; }
.table th[aria-sort="descending"]::after { content: " ↓"; }
.table-identity { display: flex; align-items: center; gap: 12px; min-width: 0; font-weight: 600; }
.table-identity a { color: var(--color-text-primary); }

/* ---- status badge ---- */
.badge-status {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px; border-radius: var(--radius-pill);
  font-size: 0.76rem; font-weight: 600; line-height: 1; white-space: nowrap;
  background: var(--color-neutral-surface); color: var(--color-neutral-text);
}
.badge-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-status[data-state="ok"] { background: var(--color-success-surface); color: var(--color-success-text); }
.badge-status[data-state="warn"] { background: var(--color-warning-surface); color: var(--color-warning-text); }
.badge-status[data-state="error"] { background: var(--color-danger-surface); color: var(--color-danger-text); }
.badge-status[data-state="pending"] { background: var(--color-info-surface); color: var(--color-info-text); }
.badge-status[data-state="paused"] { background: var(--color-neutral-surface); color: var(--color-text-muted); }

/* ---- empty state / notice ---- */
.empty {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
  padding: var(--space-12) var(--space-6); text-align: center;
  border: 1px solid var(--color-border-subtle); border-radius: var(--radius-lg);
  background: var(--color-surface-raised); color: var(--color-text-secondary);
}
/* 狀態卡的圖示：中性圓點徽記（不靠顏色傳意，文字標題才是主訊息） */
.empty::before {
  content: ""; width: 44px; height: 44px; margin-bottom: var(--space-1); border-radius: 50%;
  background: var(--color-surface-brand) radial-gradient(circle, var(--color-text-brand) 0 5px, transparent 6px);
}
.empty-title { font-size: 1.05rem; font-weight: 700; color: var(--color-text-primary); }
.empty-body { max-width: 30rem; font-size: var(--text-small); line-height: 1.7; }
.empty .btn { margin-top: var(--space-2); }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); }
.notice {
  display: flex; align-items: flex-start; gap: var(--space-3);
  padding: 12px 16px; border-radius: var(--radius-md);
  background: var(--color-info-surface); color: var(--color-info-text);
  font-size: var(--text-small); line-height: 1.6;
}
.notice .icon { width: 18px; height: 18px; margin-top: 2px; }
.notice a { color: inherit; text-decoration: underline; }
.notice[data-tone="warn"] { background: var(--color-warning-surface); color: var(--color-warning-text); }
.notice[data-tone="danger"] { background: var(--color-danger-surface); color: var(--color-danger-text); }
.notice[data-tone="success"] { background: var(--color-success-surface); color: var(--color-success-text); }

/* ---- filter row / seg ---- */
.filter-row { display: flex; align-items: flex-start; gap: var(--space-2); flex-wrap: wrap; min-width: 0; }
.filter-label {
  min-width: 3.5rem; height: 32px; display: inline-flex; align-items: center;
  font-size: var(--text-small); color: var(--color-text-muted);
}
.filter-row .chips { display: flex; flex-wrap: wrap; gap: var(--space-2); flex: 1 1 0; min-width: 0; }
.seg {
  display: inline-flex; gap: 2px; padding: 3px; width: fit-content; max-width: 100%; overflow-x: auto;
  background: var(--color-surface-soft); border-radius: var(--radius-pill);
  scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg > button, .seg > a {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: none;
  min-height: 36px; padding: 0 14px; border: 1px solid transparent; border-radius: var(--radius-pill);
  background: none; color: var(--color-text-muted); font-size: 0.86rem; font-weight: 600; white-space: nowrap;
}
.seg .icon { width: 16px; height: 16px; }
.seg > :hover { color: var(--color-text-primary); text-decoration: none; }
.seg > [aria-pressed="true"], .seg > [aria-selected="true"], .seg > [aria-current="page"], .seg > [aria-current="true"] {
  background: var(--color-canvas); border-color: var(--color-border-subtle); color: var(--color-text-primary);
}

/* ---- meter（水平比例條；.meter-fill style="--v:0.15"，可並排多段） ---- */
.meter {
  display: flex; height: 8px; width: 100%; min-width: 48px; overflow: hidden;
  border-radius: var(--radius-pill); background: var(--seq-0);
  outline: 1px solid color-mix(in srgb, var(--color-border-subtle) 60%, transparent); outline-offset: -1px;
}
.meter-fill { flex: none; width: calc(var(--v, 0) * 100%); background: var(--seq-5); }
.meter-fill + .meter-fill { background: var(--seq-3); box-shadow: inset 2px 0 0 var(--color-canvas); }
.meter-fill[data-tone="soft"] { background: var(--seq-3); }
.meter-lg { height: 12px; }
.meter-row {
  display: grid; grid-template-columns: minmax(5rem, 9rem) minmax(0, 1fr) 3.5rem; align-items: center; gap: var(--space-3);
  min-height: 36px; font-size: var(--text-small);
}
.meter-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--color-text-primary); }
.meter-value { text-align: right; color: var(--color-text-secondary); font-variant-numeric: tabular-nums; }
.legend { display: flex; flex-wrap: wrap; gap: var(--space-4); font-size: var(--text-small); color: var(--color-text-secondary); }
.legend-swatch { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }

/* ---- toast ---- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 95;
  transform: translate(-50%, 12px); opacity: 0;
  max-width: calc(100vw - 32px); padding: 10px 18px; border-radius: var(--radius-pill);
  background: var(--color-text-primary); color: var(--color-canvas);
  font-size: var(--text-small); font-weight: 600;
  transition: opacity var(--motion-normal) var(--motion-ease), transform var(--motion-normal) var(--motion-ease);
  pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 699px) { .toast { bottom: calc(var(--layout-tabbar) + 16px + env(safe-area-inset-bottom)); } }

/* =========================================================================
   5. Story strip（IG 限時動態式頭像列；外環 = 政黨色）
   ========================================================================= */
.story-strip {
  display: flex; gap: 14px; width: 100%; min-width: 0;
  overflow-x: auto; padding: 10px 2px 12px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.story-strip::-webkit-scrollbar { display: none; }
.story-item {
  flex: 0 0 auto; width: 72px; padding: 0; border: 0; background: none;
  color: inherit; text-align: center; cursor: pointer;
  transition: opacity var(--motion-fast);
}
.story-item:hover { text-decoration: none; }
.story-ring {
  position: relative; display: block; width: 64px; height: 64px; margin: 0 auto; padding: 3px;
  border-radius: 50%; background: var(--party, var(--color-border-strong));
}
.story-ring img, .story-ring .avatar-initial {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  border: 2.5px solid var(--color-canvas); background: var(--color-surface-soft);
}
.story-ring .avatar-initial { display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.story-badge {
  position: absolute; right: -3px; bottom: -3px;
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  background: var(--color-canvas); border: 1px solid var(--color-border-subtle);
  color: var(--color-text-primary); font-size: 0.76rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.story-name {
  display: block; margin-top: 6px; font-size: 0.8rem; line-height: 1.3; color: var(--color-text-secondary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.story-item[aria-pressed="true"] .story-name, .story-item[aria-current="true"] .story-name { color: var(--color-text-primary); font-weight: 700; }
.story-strip.has-selection .story-item:not([aria-pressed="true"]):not([aria-current="true"]) { opacity: 0.45; }

/* =========================================================================
   6. 貼文卡 .feed-post 與單欄 .feed
   ========================================================================= */
.feed { display: flex; flex-direction: column; min-width: 0; }
.feed-post {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 0 12px;
  padding: 16px 0 6px; border-bottom: 1px solid var(--color-border-subtle);
}
.feed > .feed-post:last-child, .col-body > .feed-post:last-of-type { border-bottom: 0; }
.feed-avatar { margin-top: 2px; }
.feed-content { min-width: 0; }
.feed-head { display: flex; align-items: center; gap: 6px; min-width: 0; line-height: 1.3; font-size: 0.92rem; }
.feed-name { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--color-text-primary); }
.feed-sep { color: var(--color-text-muted); }
.feed-city { flex: none; color: var(--color-text-secondary); font-weight: 600; }
.feed-city:hover { color: var(--color-text-primary); text-decoration: none; }
.feed-time { flex: none; color: var(--color-text-muted); font-size: 0.86rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.feed-plat {
  position: relative; flex: none; margin: -6px -6px -6px auto;
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border-radius: 50%; color: var(--color-text-muted);
}
.feed-plat::before { content: ""; position: absolute; inset: -6px; }
.feed-plat .icon { width: 19px; height: 19px; }
.feed-plat:hover { background: var(--color-surface-soft); color: var(--color-text-primary); }
.feed-text {
  margin-top: 4px; font-size: 0.95rem; line-height: 1.65; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden;
}
.feed-text.is-expanded { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
.feed-text a { overflow-wrap: anywhere; }
.feed-text-toggle {
  position: relative; margin: 2px 0 0; padding: 4px 0; border: 0; background: none;
  color: var(--color-text-muted); font-size: 0.86rem; font-weight: 600;
}
.feed-text-toggle::before { content: ""; position: absolute; inset: -8px -8px; }
.feed-text-toggle:hover { color: var(--color-text-primary); }
.feed-media { display: block; margin-top: 10px; }
/* 圖片保持原比例、只限高度，不裁切（海報上的文字常是重點） */
.feed-media img {
  width: auto; max-width: 100%; height: auto; max-height: 420px; object-fit: contain;
  border: 1px solid var(--color-border-subtle); border-radius: var(--radius-md); background: var(--color-surface-soft);
}
.feed-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip-intent[data-intent="responsive"] { background: var(--color-surface-brand); color: var(--color-text-brand); }
.feed-actions { display: flex; gap: 2px; margin: 4px 0 0 -10px; }
.feed-action {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  min-height: 40px; padding: 0 10px; border: 0; border-radius: var(--radius-pill); background: none;
  color: var(--color-text-muted); font-size: 0.82rem; font-weight: 500;
  transition: background var(--motion-fast), color var(--motion-fast);
}
.feed-action::before { content: ""; position: absolute; inset: -2px 0; }
.feed-action .icon { width: 18px; height: 18px; }
.feed-action:hover { background: var(--color-surface-soft); color: var(--color-text-primary); text-decoration: none; }
.feed-action-source { color: var(--color-text-secondary); font-weight: 600; }
.feed-action, .feed-action span { white-space: nowrap; }
.feed-actions { flex-wrap: nowrap; min-width: 0; }
/* 窄欄（河道）：分享／資料只留圖示，原文只留平台圖示＋「原文」，永不逐字斷行 */
.feed-content { container-type: inline-size; }
@container (max-width: 330px) {
  .act-plat { display: none; }
  .feed-action { padding: 0 8px; }
}
@container (max-width: 250px) {
  .feed-action.btn-share > span, .feed-action-json > span { display: none; }
}
.feed-action { min-height: 36px; }
.feed-action-json { color: var(--color-text-secondary); }
.feed-action-source .icon-ext { width: 13px; height: 13px; opacity: 0.7; }
.feed-action-json { margin-left: auto; padding: 0 8px; font-size: var(--text-xs); }
.feed-action-json .icon { width: 16px; height: 16px; opacity: 0.75; }
.feed-more { display: flex; justify-content: center; padding: var(--space-4) 0 var(--space-6); }
/* 續載／篩選的持續狀態列（載入中或錯誤＋重試），放在 .feed 前 */
.feed-status { margin: var(--space-3) 0; }
.feed-status[data-kind="loading"] {
  display: flex; align-items: center; gap: var(--space-3);
  padding: 12px 16px; border-radius: var(--radius-md);
  background: var(--color-info-surface); color: var(--color-info-text); font-size: var(--text-small); font-weight: 600;
}
.feed-status .notice { align-items: center; justify-content: space-between; flex-wrap: wrap; }
.feed-status .notice p { margin-top: 2px; }
.feed[aria-busy="true"] > .feed-post { opacity: 0.45; transition: opacity var(--motion-normal); }
.spinner {
  width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 2px solid color-mix(in srgb, currentColor 25%, transparent); border-top-color: currentColor;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================================
   7. 多欄河道 .feed-cols（TweetDeck 式；欄寬 380px、各欄獨立捲動、橫向捲動欄板）
   行為（加欄、篩選、續載）由 home 實作；這裡只負責外框與捲動。
   ========================================================================= */
.feed-cols {
  --deck-h: calc(100dvh - 24px);
  position: relative; display: flex; gap: 12px; align-items: stretch;
  height: var(--deck-h); min-width: 0; padding-bottom: 8px;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding-inline: 2px;
  scrollbar-width: thin; scrollbar-color: var(--color-border-strong) transparent;
}
.feed-col {
  /* 欄寬彈性：至少 --layout-col，寬螢幕平均分配剩餘空間，六都在 1440p 一次放得下 */
  position: relative; flex: 1 0 var(--layout-col); width: var(--layout-col); max-width: var(--layout-col-max);
  display: flex; flex-direction: column; min-height: 0;
  background: var(--color-canvas);
  border: 1px solid var(--color-border-subtle); border-radius: var(--radius-lg);
  overflow: hidden; scroll-snap-align: start;
}
.feed-col-head {
  flex: none; display: flex; align-items: center; gap: 10px; min-height: 56px;
  padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--color-border-subtle);
}
.feed-col-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--city, var(--color-border-strong)); }
.feed-col-title { flex: 1; min-width: 0; font-size: 1.02rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-col-count { color: var(--color-text-muted); font-size: 0.8rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.feed-col-tools { display: flex; align-items: center; gap: 2px; flex: none; }
.col-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-width: 36px; height: 36px; padding: 0 8px; border: 0; border-radius: var(--radius-pill);
  background: none; color: var(--color-text-muted); font-size: 0.8rem; font-weight: 600;
}
.col-btn::before { content: ""; position: absolute; inset: -4px; }
.col-btn .icon { width: 18px; height: 18px; }
.col-btn:hover, .col-btn[aria-expanded="true"] { background: var(--color-surface-soft); color: var(--color-text-primary); }
.col-btn.is-active { color: var(--color-text-brand); }
.col-filters {
  flex: none; display: flex; flex-direction: column; gap: var(--space-3);
  max-height: 60%; overflow-y: auto; padding: 12px 16px 14px;
  border-bottom: 1px solid var(--color-border-subtle); background: var(--color-surface-raised);
}
.col-body {
  flex: 1 1 auto; min-height: 0; padding: 0 16px;
  overflow-y: auto; overflow-x: clip; overscroll-behavior-y: contain;
  scrollbar-width: thin; scrollbar-color: var(--color-border-subtle) transparent;
}
.col-body > .empty { margin: var(--space-6) 0; }
/* 河道欄較窄：內文最多 4 行、圖片限高，讓文字是主角；欄位底色與城市色欄頭加強區隔 */
.col-body .feed-media img { max-height: 200px; }
.col-body .feed-text { -webkit-line-clamp: 4; line-clamp: 4; }
@media (min-width: 700px) {
  .feed-col { background: var(--color-surface-raised); }
  .feed-col-head { background: color-mix(in srgb, var(--city, var(--color-border-strong)) 9%, var(--color-surface-raised)); }
}
/* 欄位更新中：欄頭下緣的不定進度條 ＋ 骨架卡（取代把舊內容調淡） */
.feed-col.is-busy .feed-col-head { position: relative; }
.feed-col.is-busy .feed-col-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-action-primary), transparent) 0 0 / 40% 100% no-repeat;
  animation: col-progress 1.1s var(--motion-ease) infinite;
}
@keyframes col-progress { from { background-position: -40% 0; } to { background-position: 140% 0; } }
@media (prefers-reduced-motion: reduce) {
  .feed-col.is-busy .feed-col-head::after { animation: none; background: var(--color-action-primary); opacity: 0.6; }
}
.col-loading {
  display: flex; align-items: center; gap: var(--space-2); margin: var(--space-3) 0 0; padding: 10px 12px;
  border-radius: var(--radius-md); background: var(--color-info-surface); color: var(--color-info-text);
  font-size: var(--text-small); font-weight: 600;
}
.skeleton-post { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 0 12px; padding: 16px 0; border-bottom: 1px solid var(--color-border-subtle); }
.skeleton-post > span:first-child { width: 36px; height: 36px; border-radius: 50%; }
.skeleton-lines { display: flex; flex-direction: column; gap: 8px; }
.skeleton-lines > span { height: 12px; border-radius: var(--radius-pill); }
.skeleton-lines > span:nth-child(1) { width: 40%; }
.skeleton-lines > span:nth-child(3) { width: 85%; }
.skeleton-lines > span:nth-child(4) { width: 60%; }
.skeleton-post > span:first-child, .skeleton-lines > span, .skeleton-block { background: var(--color-border-subtle); }
/* 「＋ 加欄」欄 */
.feed-col-add {
  flex: 0 0 48px; width: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3);
  border: 1px dashed var(--color-border-strong); border-radius: var(--radius-lg);
  background: none; color: var(--color-text-muted); font-weight: 600; scroll-snap-align: start;
}
.feed-col-add:hover { color: var(--color-text-primary); background: var(--color-surface-soft); }
.feed-col-add .icon { width: 28px; height: 28px; }
/* 手機：單欄。有 .is-active 時只顯示它，否則只顯示第一欄 */
@media (max-width: 699px) {
  .feed-cols { display: block; height: auto; overflow: visible; padding: 0; }
  .feed-col { width: auto; border: 0; border-radius: 0; overflow: visible; }
  .feed-col-head { position: sticky; top: var(--layout-topbar); z-index: 5; padding: 6px 0; background: var(--color-canvas); }
  .col-body { overflow: visible; padding: 0; }
  .col-filters { max-height: none; margin: 0 -16px; }
  .feed-cols:has(.feed-col.is-active) > .feed-col:not(.is-active),
  .feed-cols:not(:has(.feed-col.is-active)) > .feed-col:not(:first-child),
  .feed-col-add { display: none; }
}

/* =========================================================================
   8. Footer
   ========================================================================= */
.site-footer {
  display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 1.6fr); gap: var(--space-8); align-items: start;
  max-width: var(--layout-content); margin: 0 auto; padding: var(--space-8) var(--space-8) var(--space-12);
  border-top: 1px solid var(--color-border-subtle);
  color: var(--color-text-muted); font-size: var(--text-small);
}
.layout-wide .site-footer, .layout-deck .site-footer { max-width: none; }
.footer-brand { display: inline-flex; align-items: baseline; gap: 6px; color: var(--color-text-primary); font-weight: 700; }
.footer-brand:hover { text-decoration: none; }
.footer-brand .brand-num { font-size: 1.2rem; }
.footer-about p { margin-top: var(--space-2); line-height: 1.7; max-width: 30rem; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.footer-nav section { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-nav h2 { margin-bottom: 2px; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.04em; color: var(--color-text-primary); }
.footer-nav a { width: fit-content; color: var(--color-text-muted); }
.footer-nav a:hover { color: var(--color-text-primary); }
@media (max-width: 899px) { .site-footer { grid-template-columns: 1fr; gap: var(--space-6); } }
@media (max-width: 699px) {
  .site-footer { padding: var(--space-6) var(--space-4) var(--space-8); }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-6); }
}

/* =========================================================================
   9. Utilities
   ========================================================================= */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--color-text-muted); }
.small { font-size: var(--text-small); }
.xs { font-size: var(--text-xs); }
.mono { font-family: var(--font-mono); font-size: 0.88em; }
.ellipsis { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.snapshot { margin-top: var(--space-6); font-size: var(--text-small); color: var(--color-text-secondary); }
.prose { max-width: var(--layout-reading); line-height: 1.85; }
.prose > * + * { margin-top: var(--space-4); }
.prose h2 { margin-top: var(--space-8); font-size: 1.25rem; }
.prose h3 { margin-top: var(--space-6); font-size: 1.05rem; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: var(--space-1); }

/* =========================================================================
   10. Motion / print
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; scroll-behavior: auto !important; }
}
@media print {
  body { padding: 0 !important; background: #FFFFFF; color: #000000; }
  .site-header, .site-footer, .toast, .skip-link, .feed-actions, .feed-text-toggle, .page-actions { display: none !important; }
  main.page { max-width: none; padding: 0; height: auto !important; display: block !important; }
  .feed-text { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .feed-cols { display: block; height: auto; overflow: visible; }
  .feed-col { width: auto; border: 0; overflow: visible; }
  .col-body { overflow: visible; }
  a { color: inherit; }
}

/* =========================================================================
   11. 橫向捲動提示（shell.js 標記 .x-scroll / .x-more-*）＋技術細節收合
   ========================================================================= */
.x-more-right:not(.x-more-left) { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.x-more-left:not(.x-more-right) { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px); mask-image: linear-gradient(90deg, transparent, #000 48px); }
.x-more-left.x-more-right { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.tech-details { margin-top: var(--space-2); }
.tech-details > summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; cursor: pointer; list-style: none;
  font-size: var(--text-small); font-weight: 600; color: var(--color-text-brand);
  text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.2em;
}
.tech-details > summary::-webkit-details-marker { display: none; }
.tech-details > summary::before { content: "▸"; font-size: 0.85em; text-decoration: none; display: inline-block; }
.tech-details[open] > summary::before { content: "▾"; }
.tech-details > summary:hover { color: var(--color-text-primary); }
.tech-details[open] > summary { margin-bottom: var(--space-2); }

/* =========================================================================
   12. 錯誤狀態卡（與空資料區分：警示色＋驚嘆號）、河道窄欄可讀性、城市檢視
   ========================================================================= */
.empty[data-tone="error"] { border-color: color-mix(in srgb, var(--color-danger-text) 35%, transparent); background: var(--color-danger-surface); }
.empty[data-tone="error"]::before {
  content: "!"; display: flex; align-items: center; justify-content: center;
  background: var(--color-danger-text); color: var(--color-danger-surface); font-size: 1.4rem; font-weight: 800;
}
.empty[data-tone="error"] .empty-title { color: var(--color-danger-text); }
.empty[data-tone="error"] .empty-body { color: var(--color-text-primary); }
.col-body .feed-text { font-size: 1rem; }
.col-body .feed-time { color: var(--color-text-secondary); }
.col-empty-line { margin: var(--space-4) 0; padding: 10px 12px; border-radius: var(--radius-md); background: var(--color-surface-soft); font-size: var(--text-small); color: var(--color-text-secondary); }
@media (min-width: 700px) { .feed-cols.is-cityview .feed-col { max-width: none; } }

/* =========================================================================
   13. 河道欄內的輕量錯誤列、重試提示的一致排版
   ========================================================================= */
.col-error {
  display: flex; align-items: center; gap: var(--space-3); margin: var(--space-4) 0;
  padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--color-danger-text) 30%, transparent);
  border-radius: var(--radius-md); background: var(--color-surface-raised); font-size: var(--text-small);
}
.col-error p { flex: 1; min-width: 0; color: var(--color-text-secondary); line-height: 1.5; }
.col-error strong { display: block; color: var(--color-danger-text); }
.col-error-mark {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px;
  border-radius: 50%; background: var(--color-danger-text); color: var(--color-danger-surface); font-weight: 800; font-size: 0.8rem;
}
.col-error .btn { flex: none; }
/* 標題＋說明靠左、重試固定靠右（候選人時間軸、議題選擇器證據共用） */
.notice-retry { align-items: center; flex-wrap: wrap; }
.notice-retry > div { flex: 1 1 18rem; min-width: 0; }
.notice-retry > div p { margin-top: 2px; }
.notice-retry > .btn { flex: none; margin-left: auto; color: inherit; border-color: currentColor; }
