/* =====================================================================
   styles.css — Tabs (mockup) — plain-text / monospace theme
   ===================================================================== */

:root {
  --bg:        #ffffff;
  --surface:   #ffffff;
  --surface-2: #f4f4f4;
  --border:    #dcdcdc;
  --border-2:  #cfcfcf;
  --text:      #111111;
  --text-2:    #555555;
  --text-3:    #8a8a8a;
  --accent:    #111111;
  --accent-2:  #333333;
  --accent-soft:#ededed;
  --danger:    #b00020;
  --good:      #2e7d32;
  --warn:      #b26a00;
  --shadow:    none;
  --shadow-lg: 0 6px 20px rgba(0,0,0,.10);
  --radius:    0px;
  --radius-sm: 0px;
  --maxw:      660px;
}

[data-theme="dark"] {
  --bg:        #0c0c0c;
  --surface:   #121212;
  --surface-2: #1a1a1a;
  --border:    #2a2a2a;
  --border-2:  #383838;
  --text:      #e6e6e6;
  --text-2:    #a0a0a0;
  --text-3:    #6f6f6f;
  --accent:    #e6e6e6;
  --accent-2:  #cccccc;
  --accent-soft:#222222;
  --danger:    #ff6b6b;
  --good:      #6ee7a0;
  --warn:      #f5c451;
  --shadow:    none;
  --shadow-lg: 0 8px 24px rgba(0,0,0,.6);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: underline; }
a:hover { opacity: .7; }

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--text); color: var(--bg); }

/* lowercase for the chrome only — never user content */
.brand, .nav-link, .btn, .linkish, .mode-btn, .ms-btn, .preset, .menu-item,
.section-title, .page-title, .page-sub, .stat .lbl, .lb-count .u,
.result-count, .tag-chip, .tag-pill, .toast, .form-group label,
.login-title, .login-sub, .dot-pill {
  text-transform: lowercase;
}

/* ---- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: background .12s, border-color .12s, opacity .12s;
  white-space: nowrap;
}
.btn:hover { background: var(--surface-2); }
.btn:active { opacity: .8; }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-primary:disabled { opacity: .4; cursor: not-allowed; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 4px 9px; font-size: 12.5px; }
.btn-icon { width: 32px; height: 32px; padding: 0; }

/* ---- Top nav -------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand {
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.brand:hover { opacity: .7; }
.nav-links { display: flex; gap: 2px; margin-left: 8px; }
.nav-link {
  color: var(--text-2);
  padding: 6px 9px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); text-decoration: underline; }
.nav-spacer { flex: 1; }

/* avatar kept for compatibility (unused in plain theme) */
.avatar { display: none; }

.user-menu { position: relative; }
.user-btn {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--border-2);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
}
.user-btn:hover { background: var(--surface-2); }
.user-btn::before { content: "@"; color: var(--text-3); }
.menu-pop {
  position: absolute;
  right: 0; top: calc(100% + 6px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 190px;
  padding: 4px;
  display: none;
}
.menu-pop.open { display: block; }
.menu-item {
  display: flex; align-items: center; gap: 8px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 13px;
  text-decoration: none;
}
.menu-item:hover { background: var(--surface-2); }
.menu-sep { height: 1px; background: var(--border); margin: 4px 2px; }

/* ---- Layout container ---------------------------------------------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 16px 80px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---- Composer ------------------------------------------------------ */
.composer { padding: 12px 14px; margin-bottom: 18px; }
.composer-top { display: flex; }
.composer-fields { flex: 1; min-width: 0; }

.field-input,
.field-textarea {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  resize: none;
  outline: none;
  padding: 4px 0;
}
.field-textarea::placeholder,
.field-input::placeholder { color: var(--text-3); }
.field-title { font-size: 15px; font-weight: 700; }
.divider-soft { height: 1px; background: var(--border); margin: 8px 0; }

.desc-wrap { display: none; }
.desc-wrap.show { display: block; }
.field-desc { font-size: 13.5px; color: var(--text-2); min-height: 36px; }
.field-body { min-height: 150px; font-size: 14px; }

.linkish {
  background: none; border: 0;
  color: var(--accent);
  font-weight: 600; font-size: 12.5px;
  padding: 4px 0;
  text-decoration: underline;
}
.linkish:hover { opacity: .7; }

/* tag chooser — checkbox-ish toggles */
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag-chip {
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text-2);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  transition: background .12s, color .12s, border-color .12s;
}
.tag-chip::before { content: "[ ] "; white-space: pre; }
.tag-chip:hover { border-color: var(--text); color: var(--text); }
.tag-chip.on {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.tag-chip.on::before { content: "[x] "; }

.composer-actions {
  display: flex; align-items: center; gap: 8px; margin-top: 12px;
}
.mode-btns { display: flex; gap: 6px; }
.mode-btn {
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text-2);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-size: 12.5px;
  font-weight: 600;
}
.mode-btn:hover { color: var(--text); }
.mode-btn.on { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.spacer { flex: 1; }

/* list-post entries */
.list-entries { display: flex; flex-direction: column; gap: 10px; }
.list-entry {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  padding: 10px 12px 10px 14px;
  position: relative;
}
.list-entry .entry-num {
  position: absolute;
  left: -1px; top: -1px;
  min-width: 20px; height: 18px; padding: 0 4px;
  border-radius: 0;
  background: var(--accent);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  display: grid; place-items: center;
}
.entry-remove {
  position: absolute;
  right: 4px; top: 4px;
  border: 0; background: transparent;
  color: var(--text-3);
  width: 24px; height: 24px;
  font-size: 15px;
}
.entry-remove:hover { color: var(--danger); }

/* ---- Filter bar ---------------------------------------------------- */
.filters {
  display: flex; align-items: center; gap: 7px;
  flex-wrap: wrap; margin-bottom: 14px;
}
.search-input {
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-family: inherit;
  font-size: 12.5px;
  outline: none;
  flex: 1 1 220px;
  max-width: 360px;
}
.search-input:focus { border-color: var(--text); }
.search-input::placeholder { color: var(--text-3); }
.ms { position: relative; }
.ms-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-size: 12.5px;
  font-weight: 600;
}
.ms-btn:hover { background: var(--surface-2); }
.ms-btn .count {
  background: var(--accent);
  color: var(--bg);
  border-radius: 0;
  font-size: 11px;
  padding: 0 5px;
  font-weight: 700;
}
.ms-btn .chev { color: var(--text-3); font-size: 10px; }
.ms-pop {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 30;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 4px;
  min-width: 210px;
  max-height: 320px;
  overflow: auto;
  display: none;
}
.ms-pop.open { display: block; }
.ms-opt {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  user-select: none;
}
.ms-opt:hover { background: var(--surface-2); }
.ms-opt input { accent-color: var(--accent); width: 15px; height: 15px; }
.ms-date { padding: 8px; min-width: 240px; }
.ms-date label { display: block; font-size: 12px; color: var(--text-2); margin: 6px 2px 3px; font-weight: 600; }
.ms-date input[type="date"] {
  width: 100%;
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  font-family: inherit;
}
.ms-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.preset {
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text-2);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
}
.preset:hover { color: var(--text); border-color: var(--text); }
.preset.on { border-color: var(--accent); color: var(--bg); background: var(--accent); }

.result-count {
  font-size: 12.5px;
  color: var(--text-3);
  margin-left: auto;
}

/* ---- Feed / posts (hairline-separated rows) ------------------------ */
.feed {
  border: 1px solid var(--border);
  background: var(--surface);
}
.post { padding: 13px 15px; border-top: 1px solid var(--border); }
.post:first-child { border-top: 0; }
.post-head {
  display: flex; align-items: center; gap: 7px; margin-bottom: 4px;
}
.post-author { font-weight: 700; color: var(--text); }
.post-author::before { content: "@"; color: var(--text-3); font-weight: 400; }
.post-dot { color: var(--text-3); }
.post-time { color: var(--text-3); font-size: 12.5px; }
.edited { color: var(--text-3); font-size: 12px; }
.post-actions {
  margin-left: auto;
  display: inline-flex; gap: 10px;
  opacity: 0; transition: opacity .12s;
}
.post:hover .post-actions { opacity: 1; }
.post-action {
  border: 0; background: transparent;
  color: var(--text-3);
  padding: 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
}
.post-action:hover { color: var(--text); }
.post-action.danger:hover { color: var(--danger); }

.post-title {
  font-size: 14px;
  color: var(--text);
  white-space: pre-wrap;
  word-wrap: break-word;
}
.post.long .post-title { font-size: 15px; font-weight: 700; }
.post-body {
  margin-top: 6px;
  color: var(--text-2);
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 13.5px;
}
.post-body.clamp {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.tag-pill {
  font-size: 12.5px;
  color: var(--text-3);
  background: none;
  border: 0;
  padding: 0;
}

/* ---- comments ------------------------------------------------------ */
.comments { margin-top: 10px; }
.c-count { font-size: 12px; color: var(--text-3); margin-bottom: 4px; }
.comment {
  padding: 5px 0 5px 12px;
  border-left: 2px solid var(--border);
  margin-bottom: 2px;
}
.c-head { display: flex; align-items: center; gap: 6px; }
.c-author { font-weight: 700; font-size: 12.5px; }
.c-author::before { content: "@"; color: var(--text-3); font-weight: 400; }
.c-time { color: var(--text-3); font-size: 12px; }
.c-del {
  margin-left: auto;
  border: 0; background: transparent;
  color: var(--text-3);
  font-family: inherit; font-size: 11.5px; font-weight: 600;
  text-decoration: underline;
  opacity: 0; transition: opacity .12s, color .12s;
}
.comment:hover .c-del { opacity: 1; }
.c-del:hover { color: var(--danger); }
.c-text {
  font-size: 13px; color: var(--text-2);
  white-space: pre-wrap; word-wrap: break-word; margin-top: 1px;
}
.comment-toggle { margin-top: 8px; display: inline-block; }
.comment-form { display: flex; gap: 6px; align-items: center; margin-top: 8px; }
.comment-input {
  flex: 1;
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 6px 9px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}
.comment-input:focus { border-color: var(--text); }

/* ---- post footer / repost / quote --------------------------------- */
.post-foot { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.foot-btn {
  border: 0; background: transparent;
  color: var(--text-3);
  font-family: inherit; font-size: 12px; font-weight: 600;
  padding: 0; text-decoration: underline;
}
.foot-btn:hover { color: var(--text); }
.foot-btn.on { color: var(--text); }
.repost-label { font-size: 12px; color: var(--text-3); margin-bottom: 4px; }

/* repost entry (a separate, clickable feed item) */
.repost-by { font-size: 12.5px; color: var(--text-3); font-weight: 600; }
.repost-entry .post-head { margin-bottom: 8px; }
.repost-embed {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  cursor: pointer;
  transition: background .12s, border-color .12s;
}
.repost-embed:hover { background: var(--surface-2); border-color: var(--border-2); }
.repost-embed .post-title { font-size: 13.5px; }
.post.flash { animation: flashbg 1.3s ease; }
@keyframes flashbg {
  0%, 30% { background: var(--accent-soft); }
  100% { background: transparent; }
}
.quote-embed {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin-top: 8px;
}
.qe-head { font-size: 12px; color: var(--text-3); margin-bottom: 2px; }
.qe-author { font-weight: 700; color: var(--text-2); }
.qe-author::before { content: "@"; color: var(--text-3); font-weight: 400; }
.qe-title { font-size: 13px; color: var(--text); white-space: pre-wrap; word-wrap: break-word; }
.qe-tags { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.qe-deleted { color: var(--text-3); font-style: italic; }
.quote-compose { margin-top: 8px; }
.quote-input {
  width: 100%;
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 7px 9px;
  font-family: inherit; font-size: 13px;
  outline: none; resize: none; min-height: 44px;
}
.quote-input:focus { border-color: var(--text); }
.quote-compose-actions { display: flex; gap: 8px; align-items: center; margin-top: 6px; }

/* ---- inline post editor ------------------------------------------- */
.post.editing { background: var(--surface-2); }
.edit-label { font-size: 12px; color: var(--text-3); margin-bottom: 8px; }
.post.editing .field-textarea {
  border: 1px solid var(--border-2);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin-bottom: 8px;
}
.post.editing .edit-body { min-height: 84px; font-size: 13.5px; }
.edit-tags { margin-top: 0; }
.edit-actions { display: flex; gap: 8px; margin-top: 4px; }

/* empty state */
.empty { text-align: center; padding: 40px 20px; color: var(--text-3); }

/* ---- Login --------------------------------------------------------- */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card {
  width: 100%;
  max-width: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 24px;
}
.login-brand { text-align: center; margin-bottom: 4px; }
.login-title { font-size: 18px; font-weight: 700; }
.login-sub { text-align: center; color: var(--text-2); margin: 2px 0 20px; font-size: 13px; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 5px; }
.input {
  width: 100%;
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .12s;
}
.input:focus { border-color: var(--text); }
.login-btn { width: 100%; padding: 10px; font-size: 14px; margin-top: 4px; }
.login-err {
  color: var(--danger);
  border: 1px solid var(--danger);
  border-radius: var(--radius-sm);
  padding: 8px 11px;
  font-size: 12.5px;
  margin-bottom: 12px;
  display: none;
}
.login-err.show { display: block; }
.login-hint {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  line-height: 1.8;
}
.login-hint code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0 5px;
  color: var(--text-2);
}

/* ---- Leaderboard --------------------------------------------------- */
.page-head { margin-bottom: 16px; }
.page-title { font-size: 18px; font-weight: 700; margin: 0; }
.page-sub { color: var(--text-3); margin: 2px 0 0; font-size: 13px; }

.range-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

.lb-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 14px;
}
.stat { padding: 12px 14px; }
.stat .num { font-size: 22px; font-weight: 700; }
.stat .lbl { font-size: 12px; color: var(--text-3); margin-top: 2px; }

.section-title {
  font-size: 12.5px; font-weight: 700;
  color: var(--text-3);
  margin: 20px 2px 8px;
}
.section-title::before { content: "// "; }

.lb-list { display: flex; flex-direction: column; }
.lb-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
}
.lb-row:first-child { border-top: 0; }
.lb-rank {
  width: 24px; text-align: right;
  font-weight: 700; color: var(--text-3); font-size: 13px; flex: none;
}
.lb-rank::before { content: "#"; color: var(--border-2); }
.lb-rank.top1, .lb-rank.top2, .lb-rank.top3 { color: var(--text); }
.lb-person { flex: 1; min-width: 0; }
.lb-name { font-weight: 700; }
.lb-name::before { content: "@"; color: var(--text-3); font-weight: 400; }
.lb-meta { font-size: 12px; color: var(--text-3); }
.lb-spark { flex: none; opacity: .85; }
.lb-count { text-align: right; flex: none; min-width: 56px; }
.lb-count .n { font-size: 17px; font-weight: 700; }
.lb-count .u { font-size: 11px; color: var(--text-3); }

.dot-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--text-3);
}
.dot { width: 7px; height: 7px; border-radius: 999px; flex: none; }
.fresh .dot { background: var(--good); }
.mid   .dot { background: var(--warn); }
.stale .dot { background: var(--danger); }

.chart-card { padding: 14px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; }
.legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); }
.legend-swatch { width: 10px; height: 10px; border-radius: 2px; flex: none; }

/* toast */
.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  transform: translateX(-50%) translateY(16px);
  background: var(--text);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, transform .18s;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast::before { content: "> "; }

/* ---- importance + likes ------------------------------------------- */
.imp-row { margin-top: 8px; }
.imp-toggle {
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text-2);
  border-radius: var(--radius-sm);
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 600;
}
.imp-toggle:hover { color: var(--text); border-color: var(--text); }
.imp-toggle.on { background: var(--warn); border-color: var(--warn); color: #fff; }
[data-theme="dark"] .imp-toggle.on { color: #161616; }

.post.important { border-left: 3px solid var(--warn); }
.imp-badge { font-size: 11.5px; font-weight: 700; color: var(--warn); white-space: nowrap; }

.like-btn.on { color: var(--danger); }

/* active state for the "important" filter button */
.ms-btn.on { background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* modal (change password) */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .45);
  display: grid; place-items: center;
  padding: 20px; z-index: 200;
}
[data-theme="dark"] .modal-overlay { background: rgba(0, 0, 0, .6); }
.modal-card {
  width: 100%; max-width: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px;
}
.modal-title { font-weight: 700; font-size: 15px; margin-bottom: 14px; text-transform: lowercase; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; }
.modal-err {
  color: var(--danger);
  border: 1px solid var(--danger);
  border-radius: var(--radius-sm);
  padding: 8px 11px; font-size: 12.5px; margin-bottom: 12px;
}

.hidden { display: none !important; }

/* responsive */
@media (max-width: 560px) {
  .lb-stats { grid-template-columns: 1fr; }
  .lb-spark { display: none; }
  .result-count { width: 100%; margin-left: 0; }
}
