/* ───────────────────────────────────────────────────────────────────
   tracking — Apple-tier dark theme
   Every value here is intentional. Do not approximate.
   ─────────────────────────────────────────────────────────────────── */

:root {
  --bg-primary:       #000000;
  --bg-secondary:     #0a0a0c;
  --bg-tertiary:      #141418;
  --bg-quaternary:    #1c1c22;
  --fg-primary:       #ffffff;
  --fg-secondary:     rgba(255,255,255,0.72);
  --fg-tertiary:      rgba(255,255,255,0.48);
  --fg-quaternary:    rgba(255,255,255,0.28);
  --separator:        rgba(255,255,255,0.08);
  --accent-blue:      #0A84FF;
  --accent-green:     #30D158;
  --accent-red:       #FF453A;
  --accent-orange:    #FF9F0A;
  --chain-eth:        #627EEA;
  --chain-base:       #0052FF;
  --chain-bsc:        #F0B90B;

  --ease-out:         cubic-bezier(0.2, 0, 0, 1);
  --t-micro:          140ms;
  --t-base:           200ms;
  --t-large:          320ms;

  --topbar-h:         56px;
  --sidebar-w:        320px;
  --max-w:            1600px;

  --font-sans:        -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --font-display:     "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  --font-mono:        "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
html { background: var(--bg-primary); color-scheme: dark; }
body {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.45;
  color: var(--fg-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
input { background: none; border: 0; outline: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(10,132,255,0.35); }

.app {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
}

/* ── Top bar ──────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,0.72);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  border-bottom: 1px solid var(--separator);
}
.topbar-inner {
  height: var(--topbar-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; user-select: none; }
.brand-mark { display: inline-flex; }
.brand-word {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.topbar-spacer { flex: 1; }

.seg {
  display: inline-flex;
  height: 32px;
  padding: 2px;
  border-radius: 8px;
  background: var(--bg-quaternary);
}
.seg-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg-secondary);
  transition: color var(--t-micro) var(--ease-out),
              background var(--t-micro) var(--ease-out),
              transform 200ms var(--ease-out);
}
.seg-item:hover { color: var(--fg-primary); }
.seg-item.is-active {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.seg-item.is-active:hover { color: #000000; }
.seg-item:active { transform: scale(0.97); }
.seg-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
@media (prefers-reduced-motion: reduce) {
  .seg-item, .seg-item.is-active { transition: none; transform: none !important; }
}

.usd-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--bg-quaternary);
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  transition: box-shadow var(--t-micro) var(--ease-out);
}
.usd-pill:focus-within { box-shadow: 0 0 0 2px rgba(10,132,255,0.4); }
.usd-pill .usd-prefix { color: var(--fg-tertiary); letter-spacing: 0; }
.usd-pill input {
  width: 50px;
  text-align: right;
  color: var(--fg-primary);
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.usd-pill input::-webkit-outer-spin-button,
.usd-pill input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.usd-steppers { display: inline-flex; flex-direction: column; margin-left: 2px; }
.usd-steppers button {
  font-size: 7px; line-height: 1;
  color: var(--fg-tertiary);
  padding: 1px 2px;
  transition: color var(--t-micro) var(--ease-out);
}
.usd-steppers button:hover { color: var(--fg-primary); }

.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  height: 28px;
  border-radius: 14px;
  position: relative;
  cursor: default;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--fg-tertiary);
}
.live-label {
  font-size: 11px;
  letter-spacing: -0.01em;
  color: var(--fg-tertiary);
}
.live[data-state="ok"] .live-dot {
  background: var(--accent-green);
  animation: pulse 1.8s var(--ease-out) infinite;
}
.live[data-state="ok"] .live-label { color: var(--fg-secondary); }
.live[data-state="bad"] .live-dot { background: var(--accent-red); }
.live[data-state="bad"] .live-label { color: var(--accent-red); }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(48,209,88,0.55); }
  100% { box-shadow: 0 0 0 8px rgba(48,209,88,0); }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none !important; }
}

.wallet-count {
  font-size: 13px;
  color: var(--fg-tertiary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  color: var(--fg-secondary);
  transition: background var(--t-micro) var(--ease-out),
              color var(--t-micro) var(--ease-out);
}
.icon-btn:hover { background: var(--bg-tertiary); color: var(--fg-primary); }
.icon-btn:active { background: var(--bg-quaternary); }

.token-filter {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 10px;
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 12px;
  color: var(--fg-tertiary);
}
.token-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 12px;
  height: 28px;
  border-radius: 14px;
  background: rgba(10,132,255,0.14);
  border: 1px solid rgba(10,132,255,0.32);
  color: var(--fg-secondary);
  font-size: 12px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background var(--t-micro) var(--ease-out),
              transform 200ms var(--ease-out);
}
.token-filter-pill:hover { background: rgba(10,132,255,0.22); }
.token-filter-pill:active { transform: scale(0.97); }
.token-filter-pill .tfp-label { color: var(--fg-secondary); }
.token-filter-pill strong {
  color: var(--fg-primary);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 12px;
}
.token-filter-pill .tfp-x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: var(--fg-primary);
  font-size: 13px;
  line-height: 1;
  margin-left: 2px;
}

/* ── Feed ─────────────────────────────────────────────────────── */
.feed-wrap {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 32px 80px;
  width: 100%;
}
.feed { display: flex; flex-direction: column; }

.row {
  display: grid;
  grid-template-columns: 14px minmax(180px, 1.6fr) minmax(160px, 1.4fr) auto auto auto;
  align-items: center;
  gap: 14px;
  height: 64px;
  padding: 12px 16px;
  border-radius: 10px;
  border-bottom: 1px solid var(--separator);
  cursor: pointer;
  transition: background var(--t-micro) var(--ease-out);
  position: relative;
  contain: layout paint;
}
.row:last-child { border-bottom: 0; }
.row:hover { background: var(--bg-tertiary); }
.row:hover .row-actions { opacity: 1; pointer-events: auto; }
.row.is-new { animation: rowEnter var(--t-large) var(--ease-out) both,
                          rowGlow 1700ms var(--ease-out) both 60ms; }
@keyframes rowEnter {
  0%   { transform: translateY(-12px); opacity: 0; }
  100% { transform: translateY(0);     opacity: 1; }
}
@keyframes rowGlow {
  0%   { box-shadow: inset 2px 0 0 0 var(--accent-blue); }
  100% { box-shadow: inset 2px 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .row.is-new { animation: none !important; }
}

.row-chain { width: 10px; height: 10px; border-radius: 50%; }
.row-chain[data-chain="ethereum"] { background: var(--chain-eth); }
.row-chain[data-chain="base"]     { background: var(--chain-base); }
.row-chain[data-chain="bnb"]      { background: var(--chain-bsc); }

.row-wallet { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.row-wallet-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.row-wallet-addr {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-tertiary);
  letter-spacing: 0;
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer;
  width: max-content;
  max-width: 100%;
  transition: color var(--t-micro) var(--ease-out);
}
.row-wallet-addr:hover { color: var(--fg-secondary); }
.row-wallet-addr.copied { color: var(--accent-green); animation: copyFlash 1s var(--ease-out); }
@keyframes copyFlash {
  0%   { opacity: 0.6; transform: scale(0.96); }
  40%  { opacity: 1;   transform: scale(1.0); }
  100% { opacity: 1;   transform: scale(1.0); }
}

.row-action { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.side-pill {
  display: inline-flex; align-items: center;
  height: 16px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: max-content;
}
.side-pill[data-side="buy"]  { background: rgba(48,209,88,0.16);  color: var(--accent-green); }
.side-pill[data-side="sell"] { background: rgba(255,69,58,0.16);  color: var(--accent-red); }
.side-pill[data-side="transfer"],
.side-pill[data-side="swap"],
.side-pill[data-side="other"] { background: rgba(255,159,10,0.14); color: var(--accent-orange); }
.row-token {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg-primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-amounts { text-align: right; min-width: 110px; }
.row-usd {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg-primary);
  font-variant-numeric: tabular-nums;
}
.row-qty {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-tertiary);
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}

.row-time {
  font-size: 11px;
  color: var(--fg-tertiary);
  font-variant-numeric: tabular-nums;
  text-align: right;
  width: 48px;
  letter-spacing: -0.01em;
}

.row-actions {
  display: inline-flex;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-micro) var(--ease-out);
}
.row-actions a {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px;
  background: var(--bg-quaternary);
  color: var(--fg-secondary);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background var(--t-micro) var(--ease-out),
              color var(--t-micro) var(--ease-out);
}
.row-actions a:hover { background: var(--bg-tertiary); color: var(--fg-primary); }

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 40px;
  text-align: center;
}
.empty-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--fg-tertiary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.empty-sub { font-size: 13px; color: var(--fg-quaternary); margin-top: 6px; }

.skeletons { display: none; flex-direction: column; }
.skeletons.is-on { display: flex; }
.skel-row {
  display: grid;
  grid-template-columns: 14px 1.6fr 1.4fr auto;
  gap: 14px;
  align-items: center;
  height: 64px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--separator);
}
.skel-bar {
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg,
    var(--bg-tertiary) 0%,
    var(--bg-quaternary) 40%,
    var(--bg-tertiary) 80%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
.skel-bar.sm { height: 10px; width: 60%; }
.skel-bar.dot { width: 10px; height: 10px; border-radius: 50%; }
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .skel-bar { animation: none; background: var(--bg-tertiary); }
}

/* ── Sidebar (slides in from the LEFT) ────────────────────────── */
.sidebar {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  height: calc(100vh - var(--topbar-h));
  width: var(--sidebar-w);
  z-index: 90;
  background: rgba(10,10,12,0.86);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  backdrop-filter: blur(40px) saturate(180%);
  border-right: 1px solid var(--separator);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform var(--t-large) var(--ease-out);
}
.app[data-sidebar-open="true"] .sidebar {
  transform: translateX(0);
  box-shadow: 20px 0 60px rgba(0,0,0,0.4);
}

.sidebar-head {
  padding: 20px 16px 14px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.sidebar-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.sidebar-count {
  font-size: 13px;
  color: var(--fg-tertiary);
  font-variant-numeric: tabular-nums;
}

.search-wrap { position: relative; margin: 0 16px 12px; }
.search-icon {
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  color: var(--fg-tertiary);
  pointer-events: none;
}
.search-input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 32px;
  border-radius: 8px;
  background: var(--bg-quaternary);
  color: var(--fg-primary);
  font-size: 13px;
  letter-spacing: -0.01em;
  transition: box-shadow var(--t-micro) var(--ease-out);
}
.search-input::placeholder { color: var(--fg-tertiary); }
.search-input:focus { box-shadow: 0 0 0 2px rgba(10,132,255,0.4); }

.add-btn {
  margin: 0 16px 10px;
  height: 36px;
  border-radius: 9px;
  background: var(--accent-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: filter var(--t-micro) var(--ease-out),
              transform 200ms var(--ease-out);
}
.add-btn:hover { filter: brightness(1.08); }
.add-btn:active { transform: scale(0.98); }

.add-form {
  margin: 0 16px 12px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--separator);
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: addEnter 240ms var(--ease-out);
}
@keyframes addEnter {
  0% { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}
.add-form input {
  height: 34px;
  padding: 0 10px;
  border-radius: 7px;
  background: var(--bg-quaternary);
  color: var(--fg-primary);
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0;
  transition: box-shadow var(--t-micro) var(--ease-out);
}
.add-form input::placeholder { color: var(--fg-tertiary); }
.add-form input#addLabel { font-family: var(--font-sans); font-size: 13px; letter-spacing: -0.01em; }
.add-form input:focus { box-shadow: 0 0 0 2px rgba(10,132,255,0.4); }
.add-form .seg { width: max-content; height: 28px; padding: 2px; }
.add-form .seg-item { height: 24px; font-size: 12px; padding: 0 10px; }
.add-actions { display: flex; gap: 6px; justify-content: flex-end; margin-top: 4px; }
.btn-ghost, .btn-primary {
  height: 30px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background var(--t-micro) var(--ease-out),
              filter var(--t-micro) var(--ease-out),
              transform 200ms var(--ease-out);
}
.btn-primary:active, .btn-ghost:active { transform: scale(0.97); }
.btn-ghost { background: transparent; color: var(--fg-secondary); }
.btn-ghost:hover { background: var(--bg-quaternary); color: var(--fg-primary); }
.btn-primary { background: var(--accent-blue); color: #fff; font-weight: 600; }
.btn-primary:hover { filter: brightness(1.08); }

.wallet-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0 24px;
}
.wallet-list::-webkit-scrollbar { width: 8px; }
.wallet-list::-webkit-scrollbar-thumb { background: var(--bg-tertiary); border-radius: 4px; }

.wallet-item {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 16px;
  cursor: pointer;
  transition: background var(--t-micro) var(--ease-out);
  position: relative;
}
.wallet-item:hover { background: var(--bg-tertiary); }
.wallet-item:hover .wallet-del { opacity: 1; }
.wallet-item.is-active {
  background: rgba(10,132,255,0.12);
  box-shadow: inset 2px 0 0 0 var(--accent-blue);
}
.wallet-dot { width: 8px; height: 8px; border-radius: 50%; }
.wallet-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wallet-label-line {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wallet-addr-line {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-tertiary);
  letter-spacing: 0;
}
.wallet-actions {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  opacity: 0;
  transition: opacity var(--t-micro) var(--ease-out);
}
.wallet-item:hover .wallet-actions { opacity: 1; }
.wallet-edit, .wallet-del {
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px;
  color: var(--fg-tertiary);
  transition: color var(--t-micro) var(--ease-out),
              background var(--t-micro) var(--ease-out);
}
.wallet-edit:hover { color: var(--fg-primary); background: var(--bg-quaternary); }
.wallet-del:hover { color: var(--accent-red); background: var(--bg-quaternary); }

/* inline edit input for wallet label */
.wallet-edit-form {
  width: 100%;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--bg-quaternary);
  color: var(--fg-primary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: box-shadow var(--t-micro) var(--ease-out);
}
.wallet-edit-form:focus { box-shadow: 0 0 0 2px rgba(10,132,255,0.45); }
.btn-primary-sm, .btn-ghost-sm {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1;
  transition: background var(--t-micro) var(--ease-out),
              filter var(--t-micro) var(--ease-out);
}
.btn-primary-sm { background: var(--accent-blue); color: #fff; font-weight: 600; }
.btn-primary-sm:hover { filter: brightness(1.08); }
.btn-ghost-sm { background: var(--bg-quaternary); color: var(--fg-secondary); }
.btn-ghost-sm:hover { background: var(--bg-tertiary); color: var(--fg-primary); }

/* keep edit-mode actions visible even if you move the mouse off */
.wallet-item:has(.wallet-edit-form) .wallet-actions { opacity: 1; }

.sidebar-scrim {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 80;
  opacity: 0;
  transition: opacity var(--t-large) var(--ease-out);
  pointer-events: none;
}

.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(8px);
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(40,40,45,0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: var(--fg-primary);
  font-size: 13px;
  letter-spacing: -0.01em;
  z-index: 200;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
  pointer-events: none;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 1024px) {
  .sidebar { box-shadow: -20px 0 60px rgba(0,0,0,0.6); }
  .app[data-sidebar-open="true"] .sidebar-scrim {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
  .feed-wrap { padding: 20px 16px 80px; }
}
@media (max-width: 720px) {
  .topbar { height: auto; }
  .topbar-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 8px 12px;
    gap: 8px;
    row-gap: 8px;
  }
  .topbar-spacer { display: none; }
  .seg-chains { order: 10; flex: 1 1 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .wallet-count { display: none; }
  .row {
    grid-template-columns: 12px 1fr auto auto;
    height: auto;
    min-height: 64px;
  }
  .row-action { display: none; }
  .row-actions { display: none; }
  .row-time { width: 40px; }
  .feed-wrap { padding: 12px 8px 60px; }
}

@media (pointer: coarse) {
  .seg-item { min-height: 32px; padding: 0 14px; }
  .icon-btn { width: 36px; height: 36px; }
  .add-btn { height: 44px; }
}
