/* ============================================================
   TryATool Directory — Premium UI
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.tat-directory,
.tat-single,
body.tat-tool-single {
  --tat-purple: #5b21b6;          /* deeper, more premium purple */
  --tat-purple2: #7c3aed;
  --tat-purple3: #a78bfa;
  --tat-glow: rgba(91, 33, 182, 0.32);
  --tat-purple-soft: #f5f3ff;
  --tat-ink: #0f172a;
  --tat-ink2: #1e293b;
  --tat-muted: #64748b;
  --tat-line: #e2e8f0;
  --tat-bg: #f8fafc;              /* slightly cleaner bg */
  --tat-card: #ffffff;
  --tat-hero-from: #ffffff;
  --tat-hero-to: #f1f5f9;
  --tat-shadow: 0 1px 2px rgba(15,23,42,.04), 0 10px 28px rgba(15,23,42,.06);
  --tat-shadow-hover: 0 14px 44px rgba(91,33,182,.16);
  --tat-radius: 16px;
  --tat-radius-sm: 12px;
  --tat-green-bg: #ecfdf5;
  --tat-green: #059669;
  --tat-amber: #d97706;
  --tat-chip-bg: #ffffff;
  --tat-input-bg: #ffffff;
  --tat-bar-track: #e2e8f0;
  --tat-nav-bg: rgba(255,255,255,.88);
  --tat-section-bg: #ffffff;
  --tat-soft: #f8fafc;
  --tat-code-bg: #f1f5f9;
  --tat-grad: linear-gradient(135deg, #5b21b6 0%, #7c3aed 45%, #6366f1 100%);
}

html[data-tat-theme="dark"] .tat-directory,
html[data-tat-theme="dark"] .tat-single,
html[data-tat-theme="dark"] body.tat-tool-single,
html[data-tat-theme="dark"] {
  --tat-purple: #a78bfa;
  --tat-purple2: #c4b5fd;
  --tat-purple3: #ddd6fe;
  --tat-glow: rgba(167, 139, 250, 0.4);
  --tat-purple-soft: rgba(109, 40, 217, 0.25);
  --tat-ink: #f1f5f9;
  --tat-ink2: #e2e8f0;
  --tat-muted: #94a3b8;
  --tat-line: #334155;
  --tat-bg: #020617;
  --tat-card: #0f172a;
  --tat-hero-from: #0f172a;
  --tat-hero-to: #020617;
  --tat-shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px rgba(0,0,0,.35);
  --tat-shadow-hover: 0 16px 48px rgba(167,139,250,.22);
  --tat-green-bg: rgba(5, 150, 105, 0.2);
  --tat-green: #34d399;
  --tat-amber: #fbbf24;
  --tat-chip-bg: #1e293b;
  --tat-input-bg: #1e293b;
  --tat-bar-track: #1e293b;
  --tat-nav-bg: rgba(15, 23, 42, 0.9);
  --tat-section-bg: #0f172a;
  --tat-soft: #1e293b;
  --tat-code-bg: #1e293b;
  --tat-grad: linear-gradient(135deg, #7c3aed 0%, #a78bfa 50%, #818cf8 100%);
  color-scheme: dark;
}

html[data-tat-theme="dark"] body.tat-tool-single {
  background: var(--tat-bg);
  color: var(--tat-ink);
}

.tat-directory {
  color: var(--tat-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px 64px;
  -webkit-font-smoothing: antialiased;
}
.tat-directory *, .tat-directory *::before, .tat-directory *::after { box-sizing: border-box; }
.tat-directory button, .tat-directory input, .tat-directory select { font: inherit; color: inherit; }
.tat-directory button { cursor: pointer; border: none; background: none; }
.tat-directory a { color: inherit; text-decoration: none; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Theme toggle */
.tat-theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 14px;
  border: 1px solid var(--tat-line) !important;
  background: var(--tat-card) !important;
  color: var(--tat-muted);
  transition: all .2s cubic-bezier(.4,0,.2,1);
  flex-shrink: 0;
  box-shadow: var(--tat-shadow);
}
.tat-theme-toggle:hover {
  border-color: var(--tat-purple) !important;
  color: var(--tat-purple);
  background: var(--tat-purple-soft) !important;
  transform: scale(1.05);
}
.tat-theme-toggle svg { width: 18px; height: 18px; }
.tat-theme-toggle .tat-icon-sun { display: none; }
.tat-theme-toggle .tat-icon-moon { display: block; }
html[data-tat-theme="dark"] .tat-theme-toggle .tat-icon-sun { display: block; }
html[data-tat-theme="dark"] .tat-theme-toggle .tat-icon-moon { display: none; }

/* ---- Hero ---- */
.tat-hero { padding: 36px 0 24px; position: relative; }
.tat-breadcrumb {
  font-size: 13px; color: var(--tat-muted); margin-bottom: 16px;
  display: flex; align-items: center; gap: 6px; font-weight: 500;
}
.tat-breadcrumb a:hover { color: var(--tat-purple); }
.tat-hero-inner { display: flex; flex-direction: column; gap: 22px; }
.tat-hero-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.tat-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--tat-purple);
  background: var(--tat-purple-soft);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 12px;
  border: 1px solid transparent;
}
html[data-tat-theme="dark"] .tat-eyebrow {
  border-color: rgba(167,139,250,.25);
}
.tat-hero-title {
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.15;
  margin: 0 0 10px; color: var(--tat-ink);
}
.tat-hero-desc {
  margin: 0; color: var(--tat-muted); max-width: 60ch; font-size: 1.05rem; line-height: 1.6;
}
.tat-search-wrap { position: relative; max-width: 720px; }
.tat-search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--tat-muted); pointer-events: none; opacity: .7;
}
.tat-search {
  width: 100%; padding: 16px 48px 16px 48px;
  border: 1.5px solid var(--tat-line); border-radius: 16px;
  background: var(--tat-input-bg); color: var(--tat-ink);
  box-shadow: var(--tat-shadow);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  font-size: 15px;
}
.tat-search::placeholder { color: var(--tat-muted); opacity: .8; }
.tat-search:focus {
  outline: none; border-color: var(--tat-purple);
  box-shadow: 0 0 0 4px var(--tat-glow), var(--tat-shadow);
}
.tat-search-clear {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 10px; color: var(--tat-muted);
  font-size: 18px; line-height: 1; display: none;
}
.tat-search-clear.is-visible { display: grid; place-items: center; }
.tat-search-clear:hover { background: var(--tat-soft); color: var(--tat-ink); }

/* ---- Layout ---- */
.tat-layout { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 12px; }
@media (min-width: 960px) {
  .tat-layout { grid-template-columns: 280px 1fr; align-items: start; gap: 32px; }
  .tat-sidebar { position: sticky; top: 20px; }
}
.tat-sidebar-inner {
  background: var(--tat-card); border: 1px solid var(--tat-line);
  border-radius: var(--tat-radius); padding: 20px;
  box-shadow: var(--tat-shadow);
}
.tat-filter-group { margin-bottom: 22px; }
.tat-filter-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--tat-muted); margin: 0 0 12px;
}
.tat-filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.tat-filter-options.tat-scroll { max-height: 170px; overflow-y: auto; padding-right: 4px; }
.tat-chip { display: inline-flex; cursor: pointer; user-select: none; }
.tat-chip input { position: absolute; opacity: 0; pointer-events: none; }
.tat-chip span {
  display: inline-block; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--tat-line); font-size: 12.5px; font-weight: 500;
  background: var(--tat-chip-bg); color: var(--tat-ink);
  transition: all .18s cubic-bezier(.4,0,.2,1);
}
.tat-chip input:checked + span,
.tat-chip:hover span {
  border-color: var(--tat-purple); background: var(--tat-purple-soft);
  color: var(--tat-purple); font-weight: 600;
  box-shadow: 0 0 0 3px var(--tat-glow);
}
.tat-clear-filters {
  width: 100%; margin-top: 6px; padding: 11px; border-radius: 12px;
  font-size: 13px; font-weight: 600; color: var(--tat-muted);
  border: 1px dashed var(--tat-line) !important;
  transition: all .15s;
}
.tat-clear-filters:hover {
  color: var(--tat-purple); border-color: var(--tat-purple) !important;
  background: var(--tat-purple-soft);
}

/* ---- Toolbar ---- */
.tat-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 18px;
}
.tat-results-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tat-results-count { font-size: 14px; color: var(--tat-muted); font-weight: 600; }
.tat-quick-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.tat-qchip { cursor: pointer; user-select: none; }
.tat-qchip input { position: absolute; opacity: 0; pointer-events: none; }
.tat-qchip span {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--tat-line); font-size: 12px; font-weight: 600;
  background: var(--tat-chip-bg); color: var(--tat-muted); transition: all .18s;
}
.tat-qchip input:checked + span {
  background: var(--tat-grad); border-color: transparent; color: #fff;
  box-shadow: 0 4px 14px var(--tat-glow);
}
.tat-toolbar-actions { display: flex; align-items: center; gap: 8px; }
.tat-sort {
  padding: 10px 14px; border: 1px solid var(--tat-line); border-radius: 12px;
  background: var(--tat-input-bg); color: var(--tat-ink); font-size: 13px; font-weight: 500;
  box-shadow: var(--tat-shadow);
}
.tat-view-toggle {
  display: inline-flex; border: 1px solid var(--tat-line); border-radius: 12px;
  overflow: hidden; background: var(--tat-card); box-shadow: var(--tat-shadow);
}
.tat-view-btn { padding: 10px 12px; color: var(--tat-muted); transition: all .15s; }
.tat-view-btn.is-active, .tat-view-btn:hover {
  background: var(--tat-purple-soft); color: var(--tat-purple);
}
.tat-mobile-filters-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px;
  border-radius: 14px; border: 1px solid var(--tat-line) !important;
  background: var(--tat-card) !important; font-weight: 600; font-size: 14px;
  color: var(--tat-ink); box-shadow: var(--tat-shadow);
  min-height: 44px; /* better touch target */
}
@media (min-width: 960px) { .tat-mobile-filters-btn { display: none; } }
@media (max-width: 959px) {
  .tat-sidebar { display: none; }
  .tat-sidebar.is-open {
    display: block; position: fixed; inset: 0; z-index: 1000;
    background: rgba(15, 23, 42, 0.55); backdrop-filter: blur(8px);
    padding: 12px; overflow: auto;
    animation: tat-fade-in .2s ease;
  }
  html[data-tat-theme="dark"] .tat-sidebar.is-open { background: rgba(0,0,0,.78); }
  .tat-sidebar.is-open .tat-sidebar-inner {
    max-width: 420px;
    margin: 24px auto 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
  }
}
@keyframes tat-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---- Results grid ---- */
.tat-results { display: grid; gap: 16px; }
.tat-results.tat-view-grid { grid-template-columns: 1fr; }
@media (min-width: 560px) { .tat-results.tat-view-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .tat-results.tat-view-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1400px) { .tat-results.tat-view-grid { grid-template-columns: repeat(4, 1fr); } }
.tat-results.tat-view-list { grid-template-columns: 1fr; }

/* ---- Cards ---- */
.tat-card {
  position: relative;
  background: var(--tat-card);
  border: 1px solid var(--tat-line);
  border-radius: var(--tat-radius);
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--tat-shadow);
  transition: transform .22s cubic-bezier(.4,0,.2,1), box-shadow .22s, border-color .22s;
  overflow: hidden;
}
@media (min-width: 560px) {
  .tat-card { padding: 20px; gap: 14px; }
}
.tat-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), var(--tat-glow), transparent 40%);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.tat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tat-shadow-hover);
  border-color: var(--tat-purple3);
}
.tat-card:hover::before { opacity: .55; }
.tat-card-list { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
.tat-card-list .tat-card-main { flex: 1; min-width: 200px; }
.tat-card-list .tat-card-actions { margin-left: auto; align-self: center; }

.tat-card-badges {
  position: absolute; top: 14px; left: 14px; display: flex; flex-wrap: wrap;
  gap: 6px; z-index: 2; max-width: calc(100% - 56px);
}
.tat-badge-sponsored, .tat-badge-featured, .tat-badge-new {
  font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  padding: 4px 9px; border-radius: 8px;
}
.tat-badge-sponsored { background: linear-gradient(135deg,#fef3c7,#fde68a); color: #92400e; }
.tat-badge-featured { background: var(--tat-grad); color: #fff; box-shadow: 0 2px 8px var(--tat-glow); }
.tat-badge-new { background: linear-gradient(135deg,#dbeafe,#93c5fd); color: #1e40af; }
html[data-tat-theme="dark"] .tat-badge-sponsored { background: #78350f; color: #fde68a; }
html[data-tat-theme="dark"] .tat-badge-new { background: #1e3a8a; color: #93c5fd; }

.tat-card-featured {
  border-color: var(--tat-purple2);
  box-shadow: 0 0 0 1px var(--tat-purple2), var(--tat-shadow);
}

.tat-favorite {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; color: var(--tat-muted);
  background: var(--tat-card); border: 1px solid var(--tat-line); z-index: 2;
  transition: all .2s; box-shadow: var(--tat-shadow);
}
.tat-favorite:hover, .tat-favorite.is-active {
  color: #e11d48; border-color: #fda4af; background: #fff1f2; transform: scale(1.08);
}
html[data-tat-theme="dark"] .tat-favorite:hover,
html[data-tat-theme="dark"] .tat-favorite.is-active {
  background: #4c0519; border-color: #9f1239; color: #fb7185;
}
.tat-favorite.is-active svg { fill: currentColor; }

.tat-card-main { display: block; color: inherit; position: relative; z-index: 1; }
.tat-tool-brand {
  display: flex; align-items: center; gap: 14px; margin-bottom: 10px; padding-right: 40px;
}
.tat-tool-brand img, .tat-logo-placeholder {
  width: 52px; height: 52px; border-radius: 14px; object-fit: contain;
  background: var(--tat-soft); border: 1px solid var(--tat-line); flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15,23,42,.06);
}
.tat-logo-placeholder {
  display: grid; place-items: center; font-weight: 800; font-size: 1.3rem;
  color: #fff; background: var(--tat-grad); border: none;
}
.tat-logo-lg { width: 80px; height: 80px; font-size: 2rem; border-radius: 20px; }
.tat-tool-heading { min-width: 0; }
.tat-tool-heading h3 {
  margin: 0; font-size: 1.08rem; font-weight: 750; letter-spacing: -.02em;
  line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--tat-ink);
}
.tat-rating {
  display: inline-flex; align-items: center; gap: 2px;
  font-size: 13px; font-weight: 700; color: var(--tat-amber); margin-top: 3px;
}
.tat-tool-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.tat-tool-tags span {
  font-size: 11px; font-weight: 650; padding: 4px 9px; border-radius: 8px;
  background: var(--tat-soft); color: var(--tat-muted);
}
.tat-price-tag {
  background: var(--tat-green-bg) !important; color: var(--tat-green) !important;
  font-weight: 700 !important;
}
.tat-tool-description {
  margin: 0; font-size: 13.5px; color: var(--tat-muted); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tat-card-actions {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px;
  position: relative; z-index: 1;
}

/* Buttons */
.tat-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 16px; border-radius: 12px; font-size: 13px; font-weight: 650;
  transition: all .2s cubic-bezier(.4,0,.2,1); border: 1px solid transparent;
  line-height: 1.2; cursor: pointer; text-decoration: none; font-family: inherit;
}
.tat-button-primary {
  background: var(--tat-grad); color: #fff !important;
  box-shadow: 0 4px 16px var(--tat-glow);
}
.tat-button-primary:hover {
  filter: brightness(1.08); transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--tat-glow);
}
.tat-button-secondary {
  background: var(--tat-card); border-color: var(--tat-line); color: var(--tat-ink);
  box-shadow: var(--tat-shadow);
}
.tat-button-secondary:hover {
  border-color: var(--tat-purple); color: var(--tat-purple); background: var(--tat-purple-soft);
}
.tat-button-ghost { background: transparent; color: var(--tat-muted); }
.tat-button-ghost:hover { color: var(--tat-purple); background: var(--tat-purple-soft); }
.tat-button-lg { padding: 13px 22px; font-size: 14px; border-radius: 14px; }
.tat-button-block { width: 100%; }
.tat-compare-add {
  font-size: 12px; font-weight: 650; color: var(--tat-muted);
  padding: 9px 12px; border-radius: 10px; transition: all .15s;
}
.tat-compare-add:hover, .tat-compare-add.is-added {
  color: var(--tat-purple); background: var(--tat-purple-soft);
}
.tat-upvote {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 11px; border-radius: 10px;
  font-size: 12px; font-weight: 700; color: var(--tat-muted);
  border: 1px solid var(--tat-line) !important; background: var(--tat-card) !important;
  transition: all .15s;
}
.tat-upvote:hover, .tat-upvote.is-voted {
  color: var(--tat-purple); border-color: var(--tat-purple) !important;
  background: var(--tat-purple-soft) !important;
}

/* Pagination */
.tat-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.tat-pagination button {
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px;
  border: 1px solid var(--tat-line) !important; background: var(--tat-card) !important;
  font-weight: 650; font-size: 14px; color: var(--tat-ink);
  box-shadow: var(--tat-shadow); transition: all .15s;
}
.tat-pagination button:hover:not(:disabled),
.tat-pagination button.is-active {
  border-color: transparent !important;
  background: var(--tat-grad) !important; color: #fff;
  box-shadow: 0 4px 14px var(--tat-glow);
}
.tat-pagination button:disabled { opacity: .35; cursor: not-allowed; }
.tat-loading, .tat-empty { text-align: center; padding: 56px 16px; color: var(--tat-muted); }
.tat-spinner {
  width: 40px; height: 40px; border: 3px solid var(--tat-line);
  border-top-color: var(--tat-purple); border-radius: 50%; margin: 0 auto 14px;
  animation: tat-spin .65s linear infinite;
}
@keyframes tat-spin { to { transform: rotate(360deg); } }

/* Compare bar */
.tat-compare-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  color: #fff; padding: 14px 20px; display: none;
  align-items: center; justify-content: center; gap: 14px;
  box-shadow: 0 -12px 40px rgba(0,0,0,.3);
  backdrop-filter: blur(12px);
}
.tat-compare-bar.is-visible { display: flex; flex-wrap: wrap; }
.tat-compare-bar a { color: #e9d5ff; font-weight: 700; text-decoration: underline; }

.tat-featured-strip { margin-bottom: 32px; }
.tat-featured-title {
  font-size: 1.35rem; font-weight: 800; margin: 0 0 16px;
  letter-spacing: -.025em; color: var(--tat-ink);
}
.tat-embed-card { max-width: 380px; }
.tat-recent-ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tat-recent-ul a { font-weight: 650; color: var(--tat-purple); }

/* ============================================================
   Unique Sidebar — Directory filters
   ============================================================ */
.tat-sidebar-inner {
  position: relative;
  background:
    linear-gradient(165deg, var(--tat-card) 0%, var(--tat-soft) 140%);
  border: 1px solid var(--tat-line);
  border-radius: 22px;
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    var(--tat-shadow);
}
html[data-tat-theme="dark"] .tat-sidebar-inner {
  box-shadow:
    0 1px 0 rgba(255,255,255,.04) inset,
    var(--tat-shadow);
}

/* Accent top bar */
.tat-sidebar-inner::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--tat-grad);
  box-shadow: 0 0 20px var(--tat-glow);
}

.tat-sidebar-inner > .tat-filter-group:first-of-type,
.tat-sidebar-inner > * {
  padding-left: 18px;
  padding-right: 18px;
}
.tat-sidebar-inner {
  padding-bottom: 18px;
}
.tat-sidebar-inner .tat-filter-group {
  margin: 0;
  padding: 16px 18px 14px;
  border-bottom: 1px solid var(--tat-line);
}
.tat-sidebar-inner .tat-filter-group:last-of-type {
  border-bottom: none;
}
.tat-sidebar-inner .tat-clear-filters {
  margin: 12px 18px 0;
  width: calc(100% - 36px);
}

.tat-filter-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--tat-muted);
  margin: 0 0 12px;
}
.tat-filter-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tat-grad);
  box-shadow: 0 0 10px var(--tat-glow);
  flex-shrink: 0;
}

/* Chip redesign */
.tat-chip span {
  position: relative;
  overflow: hidden;
}
.tat-chip input:checked + span {
  background: var(--tat-grad);
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 4px 14px var(--tat-glow);
  font-weight: 700;
}
.tat-chip input:checked + span::after {
  content: "✓";
  margin-left: 4px;
  font-size: 10px;
  opacity: .9;
}

/* Floating glass feel on desktop */
@media (min-width: 960px) {
  .tat-sidebar {
    position: sticky;
    top: 20px;
  }
  .tat-sidebar-inner {
    backdrop-filter: blur(8px);
  }
}

/* Mini stats under sidebar header via first group */
.tat-sidebar-inner .tat-filter-group:first-child {
  background: linear-gradient(180deg, var(--tat-purple-soft), transparent);
}

/* Sidebar head block */
.tat-sidebar-head {
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--tat-line);
  background:
    radial-gradient(120px 60px at 10% 0%, var(--tat-glow), transparent),
    linear-gradient(180deg, var(--tat-purple-soft), transparent);
}
.tat-sidebar-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tat-purple);
  margin-bottom: 4px;
}
.tat-sidebar-heading {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--tat-ink);
  margin-bottom: 4px;
}
.tat-sidebar-sub {
  margin: 0;
  font-size: 12.5px;
  color: var(--tat-muted);
  line-height: 1.45;
}

/* ============================================================
   Ultimate List (Aixploria-style)
   ============================================================ */
.tat-ultimate-list {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px 80px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: var(--tat-ink, #0f172a);
}
.tat-ul-hero {
  text-align: center;
  padding: 40px 16px 28px;
  background:
    radial-gradient(ellipse 70% 80% at 50% -20%, var(--tat-glow, rgba(109,40,217,.18)), transparent),
    linear-gradient(180deg, var(--tat-hero-from, #fff), var(--tat-bg, #f1f5f9));
  border-radius: 0 0 28px 28px;
  margin-bottom: 20px;
}
.tat-ul-title {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
  color: var(--tat-ink, #0f172a);
}
.tat-ul-sub {
  margin: 0 auto 12px;
  max-width: 52ch;
  color: var(--tat-muted, #64748b);
  font-size: 1.05rem;
}
.tat-ul-stats {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--tat-muted, #64748b);
}
.tat-ul-stats strong {
  color: var(--tat-purple, #6d28d9);
  font-size: 1.2rem;
  font-weight: 800;
}
.tat-ul-search-wrap {
  max-width: 520px;
  margin: 0 auto;
}
.tat-ul-search {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--tat-line, #e2e8f0);
  border-radius: 14px;
  background: var(--tat-input-bg, #fff);
  color: var(--tat-ink, #0f172a);
  font: inherit;
  font-size: 15px;
  box-shadow: var(--tat-shadow, 0 4px 20px rgba(15,23,42,.06));
}
.tat-ul-search:focus {
  outline: none;
  border-color: var(--tat-purple, #6d28d9);
  box-shadow: 0 0 0 4px var(--tat-glow, rgba(109,40,217,.25));
}

.tat-ul-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 12px 0 24px;
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--tat-nav-bg, rgba(255,255,255,.92));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--tat-line, #e2e8f0);
  margin: 0 -20px 28px;
  padding-left: 20px;
  padding-right: 20px;
}
.tat-ul-nav a {
  font-size: 12.5px;
  font-weight: 650;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--tat-line, #e2e8f0);
  background: var(--tat-card, #fff);
  color: var(--tat-muted, #64748b);
  text-decoration: none;
  transition: all .15s;
}
.tat-ul-nav a:hover {
  border-color: var(--tat-purple, #6d28d9);
  color: var(--tat-purple, #6d28d9);
  background: var(--tat-purple-soft, #f5f3ff);
}

.tat-ul-section-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--tat-ink, #0f172a);
  display: flex;
  align-items: center;
  gap: 8px;
}
.tat-ul-star { color: #f59e0b; }
.tat-ul-cat-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.tat-ul-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--tat-muted, #64748b);
  background: var(--tat-soft, #f1f5f9);
  padding: 4px 10px;
  border-radius: 999px;
}
.tat-ul-see-all {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--tat-purple, #6d28d9);
  text-decoration: none;
}
.tat-ul-see-all:hover { text-decoration: underline; }

.tat-ul-category,
.tat-ul-featured,
.tat-ul-az {
  margin-bottom: 36px;
  background: var(--tat-card, #fff);
  border: 1px solid var(--tat-line, #e2e8f0);
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: var(--tat-shadow, 0 4px 20px rgba(15,23,42,.04));
}

.tat-ul-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.tat-ul-row {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 12px 14px;
  align-items: center;
  padding: 14px 14px;
  border: 1px solid var(--tat-line, #e2e8f0);
  border-radius: 14px;
  background: var(--tat-soft, #f8fafc);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.tat-ul-row:hover {
  border-color: var(--tat-purple3, #a78bfa);
  box-shadow: 0 8px 24px var(--tat-glow, rgba(109,40,217,.12));
  transform: translateY(-1px);
}
.tat-ul-row.is-featured {
  background: linear-gradient(135deg, var(--tat-purple-soft, #f5f3ff), var(--tat-soft, #f8fafc));
  border-color: var(--tat-purple2, #8b5cf6);
}
.tat-ul-rank {
  font-weight: 800;
  font-size: 13px;
  color: var(--tat-muted, #94a3b8);
  min-width: 22px;
  text-align: center;
}
.tat-ul-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
  background: var(--tat-card, #fff);
  border: 1px solid var(--tat-line, #e2e8f0);
}
.tat-ul-logo-ph {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: var(--tat-grad, linear-gradient(135deg,#6d28d9,#8b5cf6));
  border: none;
}
.tat-ul-main { min-width: 0; }
.tat-ul-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}
.tat-ul-name {
  font-weight: 750;
  font-size: 15px;
  color: var(--tat-ink, #0f172a);
  text-decoration: none;
  letter-spacing: -.01em;
}
.tat-ul-name:hover { color: var(--tat-purple, #6d28d9); }
.tat-ul-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--tat-grad, linear-gradient(135deg,#6d28d9,#8b5cf6));
  color: #fff;
}
.tat-ul-price {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--tat-green-bg, #ecfdf5);
  color: var(--tat-green, #059669);
}
.tat-ul-desc {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--tat-muted, #64748b);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tat-ul-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--tat-muted, #94a3b8);
  font-weight: 600;
}
.tat-ul-rating { color: var(--tat-amber, #d97706); }
.tat-ul-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.tat-ul-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all .15s;
}
.tat-ul-btn-ghost {
  border: 1px solid var(--tat-line, #e2e8f0);
  color: var(--tat-ink, #0f172a);
  background: var(--tat-card, #fff);
}
.tat-ul-btn-ghost:hover {
  border-color: var(--tat-purple, #6d28d9);
  color: var(--tat-purple, #6d28d9);
}
.tat-ul-btn-primary {
  background: var(--tat-grad, linear-gradient(135deg,#6d28d9,#8b5cf6));
  color: #fff !important;
  box-shadow: 0 4px 12px var(--tat-glow, rgba(109,40,217,.3));
}
.tat-ul-btn-primary:hover { filter: brightness(1.08); }

.tat-ul-list-compact .tat-ul-row {
  padding: 10px 12px;
  grid-template-columns: auto 1fr auto;
}
.tat-ul-list-compact .tat-ul-logo { width: 32px; height: 32px; border-radius: 8px; }

.tat-ul-az-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 20px;
}
.tat-ul-az-jump a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: var(--tat-muted, #64748b);
  border: 1px solid var(--tat-line, #e2e8f0);
  background: var(--tat-soft, #f8fafc);
}
.tat-ul-az-jump a:hover {
  color: #fff;
  border-color: transparent;
  background: var(--tat-grad, linear-gradient(135deg,#6d28d9,#8b5cf6));
}
.tat-ul-letter {
  margin: 22px 0 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--tat-purple, #6d28d9);
  letter-spacing: -.02em;
}
.tat-ul-empty {
  text-align: center;
  padding: 40px;
  color: var(--tat-muted, #64748b);
  font-weight: 600;
}

@media (max-width: 720px) {
  .tat-ul-row {
    grid-template-columns: auto 1fr;
  }
  .tat-ul-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }
  .tat-ul-btn { flex: 1; justify-content: center; }
  .tat-ul-rank { display: none; }
}

/* ===== v3.7 — Quick price chips, badges, top10 ===== */
.tat-qchip-price span {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}
.tat-qchip-price input:checked + span,
.tat-qchip input:checked + span {
  background: var(--tat-purple, #7c3aed);
  border-color: var(--tat-purple, #7c3aed);
  color: #fff;
}
.tat-badge-verified {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  margin-left: 4px;
}
.tat-badge-trial {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fef3c7;
  color: #b45309;
  margin-left: 4px;
}
.tat-badge-inline { vertical-align: middle; }

.tat-top10 { margin: 24px 0; }
.tat-top10-title { margin: 0 0 16px; font-size: 1.35rem; }
.tat-top10-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.tat-top10-item {
  display: grid;
  grid-template-columns: 36px 40px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--tat-border, #e2e8f0);
  border-radius: 12px;
  background: var(--tat-card, #fff);
}
.tat-top10-rank {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--tat-purple, #7c3aed);
  text-align: center;
}
.tat-top10-logo { border-radius: 8px; object-fit: cover; }
.tat-top10-name { font-weight: 700; text-decoration: none; color: inherit; }
.tat-top10-name:hover { color: var(--tat-purple, #7c3aed); }
.tat-top10-desc { margin: 4px 0 0; font-size: 13px; color: var(--tat-muted, #64748b); }
.tat-top10-meta { display: flex; gap: 8px; align-items: center; margin-top: 4px; font-size: 13px; }
.tat-top10-cta { white-space: nowrap; }

.tat-compare-scroll { overflow-x: auto; }
.tat-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 14px;
}
.tat-compare-table th,
.tat-compare-table td {
  border: 1px solid var(--tat-border, #e2e8f0);
  padding: 10px 12px;
  vertical-align: top;
  text-align: left;
}
.tat-compare-table thead th {
  background: #f8fafc;
  font-weight: 700;
}
.tat-compare-table tbody th {
  background: #f8fafc;
  font-weight: 600;
  width: 120px;
}
.tat-cmp-plan { margin-bottom: 6px; font-size: 13px; }

/* ===== Full-width theme overrides ===== */
body.tat-fullwidth .site-content,
body.tat-fullwidth .content-area,
body.tat-fullwidth #content,
body.tat-fullwidth #primary,
body.tat-fullwidth .entry-content,
body.tat-fullwidth article.page,
body.tat-fullwidth .ast-container,
body.tat-fullwidth .container,
body.tat-fullwidth .site-main,
body.tat-tool-single .site-content,
body.tat-tool-single #content,
body.tat-tool-single .content-area,
body.tat-prompt-view .site-content,
body.tat-prompt-view #content {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.tat-fullwidth .widget-area,
body.tat-fullwidth #secondary,
body.tat-fullwidth aside.sidebar,
body.tat-tool-single #secondary,
body.tat-prompt-view #secondary {
  display: none !important;
}
body.tat-fullwidth .entry-header,
body.tat-tool-single .entry-header {
  display: none !important;
}

.tat-directory {
  max-width: min(100%, 1400px);
  padding-left: clamp(16px, 3vw, 32px);
  padding-right: clamp(16px, 3vw, 32px);
}

/* ===== Ad slots ===== */
.tat-ad {
  width: 100%;
  margin: 20px 0;
  text-align: center;
  clear: both;
}
.tat-ad-inner {
  display: inline-block;
  max-width: 100%;
  min-height: 0;
  line-height: 0;
}
.tat-ad-inner ins,
.tat-ad-inner iframe {
  max-width: 100%;
}
.tat-ad--header,
.tat-ad--after_hero,
.tat-ad--footer {
  margin: 16px auto 20px;
  padding: 8px 0;
}
.tat-ad--in_content {
  margin: 28px auto;
  padding: 12px 0;
  border-top: 1px dashed var(--tat-line, #e2e8f0);
  border-bottom: 1px dashed var(--tat-line, #e2e8f0);
}
.tat-ad--sidebar {
  margin: 0 0 16px;
  position: sticky;
  top: 88px;
}
.tat-ad--before_similar {
  margin: 24px 0 8px;
}
.tat-ad--between_cards {
  grid-column: 1 / -1;
  margin: 4px 0 8px;
}

.tat-ad-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 8px;
  line-height: 1.2;
}
.tat-ad-inner {
  min-height: 50px;
  line-height: normal;
}
.tat-ad-inner ins.adsbygoogle {
  display: block;
  min-width: 100%;
}

/* ============================================================
   MOBILE UX OVERHAUL (phones & small tablets)
   Clearer hierarchy, bigger touch targets, bottom-sheet filters
   ============================================================ */

/* Prevent body scroll when filter drawer is open */
body.tat-filters-open {
  overflow: hidden;
  touch-action: none;
}

/* Close button — hidden on desktop */
.tat-sidebar-close {
  display: none;
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: var(--tat-muted);
  background: var(--tat-soft);
  border: 1px solid var(--tat-line) !important;
  z-index: 5;
}
.tat-sidebar-close:hover,
.tat-sidebar-close:active {
  color: var(--tat-ink);
  background: var(--tat-purple-soft);
  border-color: var(--tat-purple) !important;
}

@media (max-width: 959px) {
  /* --- Page shell --- */
  .tat-directory {
    padding: 0 14px 100px; /* extra bottom for compare bar + safe area */
    font-size: 14.5px;
  }

  /* --- Hero: tighter & clearer --- */
  .tat-hero {
    padding: 20px 0 16px;
  }
  .tat-breadcrumb {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .tat-hero-title {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem) !important;
    line-height: 1.2;
    margin-bottom: 8px;
  }
  .tat-hero-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: none;
  }
  .tat-eyebrow {
    font-size: 11px;
    padding: 5px 10px;
    margin-bottom: 10px;
  }
  .tat-hero-inner {
    gap: 16px;
  }
  .tat-hero-top {
    gap: 12px;
  }

  /* Search — big & friendly */
  .tat-search {
    padding: 14px 44px 14px 44px;
    font-size: 16px; /* prevents iOS zoom */
    border-radius: 14px;
  }
  .tat-search-wrap {
    max-width: none;
  }

  /* --- Filter bottom-sheet style --- */
  .tat-sidebar.is-open {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: tat-fade-in 0.22s ease;
  }
  html[data-tat-theme="dark"] .tat-sidebar.is-open {
    background: rgba(0, 0, 0, 0.72);
  }
  .tat-sidebar.is-open .tat-sidebar-inner {
    max-width: none;
    width: 100%;
    margin: 0;
    border-radius: 22px 22px 0 0;
    max-height: min(88vh, 720px);
    overflow-y: auto;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.28);
    animation: tat-sheet-up 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  }
  @keyframes tat-sheet-up {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
  }

  /* Keep accent bar thin on sheet; add drag handle on head */
  .tat-sidebar.is-open .tat-sidebar-inner::before {
    height: 3px;
  }
  .tat-sidebar.is-open .tat-sidebar-head::before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    border-radius: 99px;
    background: var(--tat-line);
    margin: 0 auto 12px;
  }

  .tat-sidebar-close {
    display: inline-flex;
  }
  .tat-sidebar-head {
    position: relative;
    padding: 14px 20px 16px;
    padding-right: 56px;
  }
  .tat-sidebar-inner .tat-filter-group {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .tat-sidebar-inner .tat-clear-filters {
    margin: 8px 16px 16px;
    width: calc(100% - 32px);
    min-height: 48px;
    font-size: 15px;
  }

  /* Bigger filter chips for fingers */
  .tat-chip span {
    padding: 10px 14px;
    font-size: 13.5px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  /* --- Toolbar: cleaner stack --- */
  .tat-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 14px;
  }
  .tat-results-meta {
    justify-content: space-between;
    width: 100%;
  }
  .tat-toolbar-actions {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .tat-sort {
    flex: 1;
    min-height: 44px;
    font-size: 14px;
  }
  .tat-view-toggle {
    flex-shrink: 0;
  }
  .tat-mobile-filters-btn {
    flex: 1;
    justify-content: center;
    min-height: 44px;
    font-size: 14.5px;
  }

  /* Quick filters: horizontal scroll if many */
  .tat-quick-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 4px;
    margin: 0 -4px;
    padding-left: 4px;
    padding-right: 4px;
    scrollbar-width: none;
  }
  .tat-quick-filters::-webkit-scrollbar { display: none; }
  .tat-qchip span {
    padding: 8px 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* --- Cards: clearer hierarchy --- */
  .tat-results {
    gap: 14px;
  }
  .tat-card {
    padding: 16px;
    gap: 12px;
    border-radius: 16px;
  }
  /* Disable hover lift on touch devices */
  .tat-card:hover {
    transform: none;
  }
  .tat-card:active {
    transform: scale(0.985);
  }

  .tat-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .tat-card-actions .tat-button {
    min-height: 46px;
    padding: 12px 10px;
    font-size: 13.5px;
    justify-content: center;
    border-radius: 12px;
  }
  .tat-card-actions .tat-button-primary {
    grid-column: 1 / -1; /* primary CTA full width on top */
  }
  .tat-compare-add,
  .tat-upvote,
  .tat-favorite {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 13px;
  }

  /* --- Compare bar: safe area + compact --- */
  .tat-compare-bar {
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    gap: 10px;
    font-size: 14px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .tat-compare-bar a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 14px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    text-decoration: none !important;
  }

  /* Pagination bigger targets */
  .tat-pagination button {
    min-width: 44px;
    height: 44px;
  }

  /* Theme toggle slightly smaller in hero */
  .tat-theme-toggle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
}

/* Extra small phones */
@media (max-width: 380px) {
  .tat-directory {
    padding-left: 12px;
    padding-right: 12px;
  }
  .tat-hero-title {
    font-size: 1.35rem !important;
  }
  .tat-card-actions {
    grid-template-columns: 1fr;
  }
  .tat-toolbar-actions {
    flex-wrap: wrap;
  }
  .tat-mobile-filters-btn {
    width: 100%;
  }
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tat-sidebar.is-open .tat-sidebar-inner,
  .tat-sidebar.is-open {
    animation: none;
  }
  .tat-card:active {
    transform: none;
  }
}
