:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #eef0f3;
  --text: #16181d;
  --muted: #646b76;
  --border: #e3e6eb;
  --accent: #e8501b;
  --accent-soft: #fdeee8;
  --accent-text: #ffffff;
  --price: #16181d;
  --sale: #d6331c;
  --good: #16803c;
  --good-soft: #e7f5ec;
  --img-bg: #ffffff;
  --shadow: 0 1px 2px rgba(16,24,40,.05);
  --shadow-hover: 0 6px 20px rgba(16,24,40,.10);
  --radius: 14px;
  --top-h: 112px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121418;
    --surface: #1b1e24;
    --surface-2: #252932;
    --text: #eceef1;
    --muted: #9aa1ac;
    --border: #2c313a;
    --accent: #ff6a3d;
    --accent-soft: #3a2119;
    --accent-text: #1a0c06;
    --price: #f4f5f7;
    --sale: #ff7a5c;
    --good: #4cc276;
    --good-soft: #17301f;
    --img-bg: #f4f4f4;
    --shadow: none;
    --shadow-hover: 0 6px 20px rgba(0,0,0,.4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121418;
  --surface: #1b1e24;
  --surface-2: #252932;
  --text: #eceef1;
  --muted: #9aa1ac;
  --border: #2c313a;
  --accent: #ff6a3d;
  --accent-soft: #3a2119;
  --accent-text: #1a0c06;
  --price: #f4f5f7;
  --sale: #ff7a5c;
  --good: #4cc276;
  --good-soft: #17301f;
  --img-bg: #f4f4f4;
  --shadow: none;
  --shadow-hover: 0 6px 20px rgba(0,0,0,.4);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--top-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  /* alttaki sabit sekme çubuğu için yer */
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }

/* ---------- Üst çubuk ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top);
}
.top-row {
  display: grid; align-items: center; gap: 10px 12px;
  grid-template-columns: 1fr auto;
  grid-template-areas: "brand actions" "search search";
  padding-top: 10px; padding-bottom: 12px;
}
.brand { grid-area: brand; display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; }
.brand img { border-radius: 9px; flex: none; }
.brand span { display: grid; min-width: 0; }
.brand strong { font-size: 17px; letter-spacing: -.015em; line-height: 1.2; }
.brand small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-actions { grid-area: actions; display: flex; gap: 6px; }
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--surface); border-radius: 10px; color: var(--muted);
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }

.search {
  grid-area: search;
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-2); border: 1px solid transparent; border-radius: 12px; padding: 0 6px 0 12px;
  color: var(--muted); transition: border-color .15s, background .15s;
}
.search:focus-within { border-color: var(--accent); background: var(--surface); }
.search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 11px 0; color: var(--text);
  font-size: 16px; /* iOS'ta yakınlaştırmayı önler */
}
.search input::-webkit-search-cancel-button { display: none; }
.search-clear { border: 0; background: transparent; color: var(--muted); width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; }
.search-clear:hover { background: var(--surface-2); color: var(--text); }

/* Sekmeler: mobilde altta sabit çubuk, geniş ekranda üst çubukta */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 6px 12px calc(6px + env(safe-area-inset-bottom));
}
.tabs button {
  border: 0; background: transparent; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 6px 4px; border-radius: 10px; font-size: 12px; font-weight: 600; position: relative;
}
.tabs button[aria-selected="true"] { color: var(--accent); }
.tabs .n {
  position: absolute; top: 2px; left: calc(50% + 8px);
  background: var(--accent); color: var(--accent-text); font-size: 10px; font-weight: 700;
  min-width: 18px; padding: 1px 5px; border-radius: 999px; line-height: 1.4;
}
.tabs .n:empty { display: none; }

/* ---------- Yerleşim ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 12px; }
.side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.side-title {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Market seçici: mobilde logolu yatay şerit */
.chains {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 -16px; padding: 2px 16px 4px; scroll-snap-type: x proximity;
}
.chains::-webkit-scrollbar, .cats::-webkit-scrollbar { display: none; }
.chain {
  flex: none; scroll-snap-align: start;
  display: grid; justify-items: center; gap: 5px; width: 72px;
  border: 0; background: transparent; padding: 0; color: var(--text);
}
.chain .logo {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--c, var(--surface-2)); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: -.01em;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); transition: transform .12s;
}
.chain .logo.all { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.chain .name { font-size: 12px; font-weight: 600; line-height: 1.1; text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chain .n { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; line-height: 1; }
.chain[aria-pressed="true"] .logo { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.chain[aria-pressed="true"] .name { color: var(--accent); }
.chain:active .logo { transform: scale(.95); }

.cats {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  margin: 0 -16px; padding: 0 16px;
}
.cat {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--border); background: var(--surface); font-size: 13px; font-weight: 500;
}
.cat .n { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.cat:hover { border-color: var(--muted); }
.cat[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.cat[aria-pressed="true"] .n { color: inherit; opacity: .7; }
.cats:empty { display: none; }

.segment {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--surface-2); border-radius: 10px; padding: 3px; gap: 3px;
}
.segment button { border: 0; background: transparent; padding: 7px 4px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.segment button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); font-weight: 600; }

/* ---------- Sonuçlar ---------- */
.results { min-width: 0; padding-top: 14px; }
.toolbar { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; margin-bottom: 12px; }
.result-info { margin: 0; font-size: 14px; font-weight: 600; margin-right: auto; }
.result-info span { color: var(--muted); font-weight: 400; }
.clear-btn { border: 0; background: transparent; color: var(--accent); font-size: 13px; font-weight: 600; padding: 6px 4px; }
.sort { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.sort select {
  border: 1px solid var(--border); background: var(--surface); border-radius: 10px;
  padding: 7px 10px; font-size: 13px; font-weight: 600; color: var(--text);
}

.grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: box-shadow .15s, transform .15s;
}
@media (hover: hover) { .card:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); } }
.card-img { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--img-bg); }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; display: block; }
.card-img img.placeholder { padding: 30%; opacity: .3; }
.badge-discount {
  position: absolute; left: 8px; top: 8px; background: var(--sale); color: #fff;
  font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 999px; font-variant-numeric: tabular-nums;
}
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 5px; flex: 1; border-top: 1px solid var(--border); }
.card-meta { margin: 0; display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 11px; }
.chain-tag {
  flex: none; display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--text);
}
.chain-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--muted)); }
.card-brand { color: var(--muted); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-brand:not(:empty)::before { content: "· "; }
.card-title {
  margin: 0; font-size: 14px; font-weight: 500; line-height: 1.32;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.64em;
}
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; margin-top: auto; padding-top: 4px; }
.price { font-size: 20px; font-weight: 800; color: var(--price); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.price.sale { color: var(--sale); }
.old-price { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.card-save { margin: 0; font-size: 12px; font-weight: 600; color: var(--good); }
.card-note {
  margin: 0; font-size: 12px; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-compare { margin: 0; font-size: 12px; color: var(--muted); background: var(--surface-2); border-radius: 8px; padding: 5px 8px; }
.card-compare b { color: var(--text); font-weight: 600; }
.card-compare.best { background: var(--good-soft); }
.card-compare .best { color: var(--good); font-weight: 700; }
.card-date {
  margin: 0; align-self: flex-start; font-size: 11px; font-weight: 600; color: var(--muted);
  background: var(--surface-2); border-radius: 6px; padding: 2px 7px;
}
.card-date.soon { color: var(--accent); background: var(--accent-soft); }
.card-date.last { color: var(--sale); background: var(--accent-soft); }

/* ---------- Karşılaştır ---------- */
.cmp-help { color: var(--muted); font-size: 13px; margin: -4px 0 14px; max-width: 70ch; }
.cmp-list { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .cmp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1200px) { .cmp-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cmp {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px; display: grid; gap: 10px; align-content: start;
}
.cmp-head { display: flex; gap: 12px; align-items: center; }
.cmp-head img { width: 64px; height: 64px; object-fit: contain; background: var(--img-bg); border-radius: 10px; flex: none; padding: 4px; border: 1px solid var(--border); }
.cmp-head h2 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.3; }
.cmp-head p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.cmp-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cmp-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2px 10px;
  padding: 9px 12px; border-radius: 10px; background: var(--surface-2); text-decoration: none; color: inherit;
  border: 1.5px solid transparent;
}
a.cmp-row:hover { border-color: var(--border); }
.cmp-row.best { background: var(--good-soft); border-color: var(--good); }
.cmp-row .chain-tag { font-size: 13px; }
.cmp-row .cmp-price { font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; text-align: right; }
.cmp-row .cmp-sub { grid-column: 2 / 4; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.cmp-row .cmp-tag { font-size: 12px; color: var(--muted); font-weight: 600; }
.cmp-row.best .cmp-tag { color: var(--good); font-weight: 700; }
.cmp-save { margin: 0; font-size: 13px; color: var(--good); font-weight: 600; }

/* ---------- Diğer ---------- */
.skeleton .card-img, .skeleton .sk { background: var(--surface-2); }
.skeleton .sk { height: 12px; border-radius: 4px; margin: 4px 0; }
.skeleton { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } .card { transition: none; } }

.empty { text-align: center; color: var(--muted); padding: 48px 16px; display: grid; justify-items: center; gap: 4px; }
.empty p { margin: 0; }
.empty strong { color: var(--text); font-size: 16px; }
.empty .btn { margin-top: 12px; }
.btn {
  padding: 10px 18px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
  font-weight: 600; font-size: 14px;
}
.btn:hover { background: var(--surface-2); }
.more { display: grid; place-items: center; padding: 16px 0; }
#sentinel { height: 1px; width: 100%; }
.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 8px 0 24px; max-width: 640px; margin: 0 auto; }

.to-top {
  position: fixed; right: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 25;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); box-shadow: var(--shadow-hover);
}

/* ---------- Kataloglar ---------- */
.catalogs { display: grid; gap: 22px; }
.cat-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 2px; padding: 0 16px; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-group h2 { margin: 0 0 10px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cat-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1200px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.brochure {
  display: flex; flex-direction: column; text-align: left; padding: 0; color: inherit; font: inherit;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .15s, transform .15s;
}
@media (hover: hover) { .brochure:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); } }
.brochure-cover { position: relative; aspect-ratio: 3 / 4; background: var(--img-bg); }
.brochure-cover img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brochure-pages {
  position: absolute; right: 8px; bottom: 8px; background: rgba(16,24,40,.78); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
}
.brochure-body { padding: 10px 12px 12px; display: grid; gap: 5px; border-top: 1px solid var(--border); }
.brochure-title { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; }
.brochure-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pill { font-size: 11px; font-weight: 600; color: var(--muted); background: var(--surface-2); border-radius: 6px; padding: 2px 7px; }
.pill.soon { color: var(--accent); background: var(--accent-soft); }
.pill.pdf { color: var(--sale); background: var(--accent-soft); }

/* Sayfa sayfa görüntüleyici: yatay kaydırma (scroll-snap) mobilde parmakla, masaüstünde oklarla */
.viewer {
  position: fixed; inset: 0; z-index: 50; background: #0d0f12; color: #fff;
  display: grid; grid-template-rows: auto minmax(0, 1fr);
}
.viewer-bar {
  display: flex; align-items: center; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px; background: rgba(255,255,255,.04);
}
.viewer-bar .icon-btn { background: transparent; border-color: rgba(255,255,255,.18); color: #fff; }
.viewer-head { display: grid; min-width: 0; flex: 1; }
.viewer-head strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer-head small { font-size: 12px; color: rgba(255,255,255,.65); }
.viewer-link {
  flex: none; font-size: 13px; font-weight: 600; color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 8px 12px;
}
.viewer-link:hover { background: rgba(255,255,255,.08); }
.viewer-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none;
  overscroll-behavior: contain;
}
.viewer-track::-webkit-scrollbar { display: none; }
.viewer-page {
  flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center;
  padding: 12px 12px calc(56px + env(safe-area-inset-bottom)); overflow: auto;
}
.viewer-page img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; background: #fff; }
.viewer-nav {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 51;
  width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255,255,255,.14); color: #fff;
}
.viewer-nav:hover { background: rgba(255,255,255,.24); }
.viewer-nav:disabled { opacity: 0; pointer-events: none; }
.viewer-nav.prev { left: 16px; }
.viewer-nav.next { right: 16px; }
@media (hover: none) { .viewer-nav { display: none; } }
.viewer-count {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.14); padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
body.no-scroll { overflow: hidden; }

/* ---------- Geniş ekran ---------- */
@media (min-width: 960px) {
  :root { --top-h: 64px; }
  body { padding-bottom: env(safe-area-inset-bottom); }
  .top-row {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas: "brand search tabs actions";
    gap: 20px; padding-top: 12px; padding-bottom: 12px;
  }
  .search { max-width: 560px; width: 100%; justify-self: center; }
  .tabs {
    grid-area: tabs; position: static; border: 0; padding: 3px; gap: 3px;
    background: var(--surface-2); border-radius: 11px;
  }
  .tabs button { flex-direction: row; gap: 7px; font-size: 14px; padding: 7px 14px; border-radius: 8px; color: var(--muted); }
  .tabs button svg { width: 17px; height: 17px; }
  .tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
  .tabs .n { position: static; }

  .layout { grid-template-columns: 240px minmax(0, 1fr); gap: 28px; padding-top: 20px; }
  .layout.no-side { grid-template-columns: minmax(0, 1fr); }
  .side {
    position: sticky; top: calc(var(--top-h) + 20px); align-self: start;
    max-height: calc(100vh - var(--top-h) - 40px); overflow-y: auto; gap: 22px; padding-bottom: 20px;
    scrollbar-width: thin;
  }
  .side-title {
    position: static; width: auto; height: auto; clip: auto;
    margin: 0 0 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
  }
  .chains { flex-direction: column; overflow: visible; margin: 0; padding: 0; gap: 2px; }
  .chain {
    width: auto; display: grid; grid-template-columns: 32px 1fr auto; align-items: center; justify-items: start; gap: 10px;
    padding: 6px 8px; border-radius: 10px; text-align: left;
  }
  .chain:hover { background: var(--surface-2); }
  .chain .logo { width: 32px; height: 32px; border-radius: 9px; font-size: 10px; }
  .chain .name { text-align: left; font-size: 14px; font-weight: 500; }
  .chain .n { font-size: 12px; justify-self: end; }
  .chain[aria-pressed="true"] { background: var(--accent-soft); }
  .chain[aria-pressed="true"] .logo { box-shadow: none; }
  .chain[aria-pressed="true"] .name { font-weight: 700; }

  .cats { flex-direction: column; overflow: visible; margin: 0; padding: 0; gap: 1px; }
  .cat {
    border: 0; background: transparent; border-radius: 8px; padding: 6px 8px; justify-content: space-between;
    white-space: normal; text-align: left; font-size: 13.5px;
  }
  .cat:hover { background: var(--surface-2); }
  .cat[aria-pressed="true"] { background: var(--text); color: var(--bg); }

  .results { padding-top: 0; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
  .cat-chips { margin: 0; padding: 0; }
  .cat-chips .cat { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 7px 14px; }
  .cat-chips .cat[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
  .to-top { bottom: 24px; }
}
