:root {
  --bg-canvas: #f2f2f7;
  --bg-surface: #ffffff;
  --bg-surface-secondary: #f2f2f7;
  --bg-surface-tertiary: #e5e5ea;
  --text-primary: #000000;
  --text-secondary: #656d79;
  --btn-primary-bg: #000000;
  --btn-primary-text: #ffffff;
  --accent-green: #34c759;
  --graph-red: #ff3b30;
  --graph-purple: #af52de;
  --graph-lime: #a4e32a;
  --star: #ffb340;
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.04);
  --shadow-lift: 0 12px 32px rgba(0, 0, 0, 0.06);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

.desktop-filter-bar,
.curated-section,
.personal-lists {
  margin-bottom: 36px;
}

.desktop-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.region-picker {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px 0 14px;
  border: 1px solid rgba(28, 28, 30, 0.1);
  border-radius: 8px;
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.region-picker select,
.mobile-catalog-filters select {
  min-width: 150px;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  font-weight: 700;
  outline: none;
}

.curated-section,
.personal-lists {
  padding: 0;
}

.curated-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}

.curated-section-heading h2 {
  font-size: 24px;
  line-height: 1.15;
}

.curated-section-heading > p {
  max-width: 460px;
  color: var(--text-secondary);
  font-size: 13px;
  text-align: right;
}

.curated-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(28, 28, 30, 0.1);
  border-bottom: 1px solid rgba(28, 28, 30, 0.1);
}

.curated-group {
  min-width: 0;
  padding: 16px 18px 10px;
}

.curated-group + .curated-group {
  border-left: 1px solid rgba(28, 28, 30, 0.1);
}

.curated-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 36px;
  margin-bottom: 4px;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  text-align: left;
}

.curated-title span:last-child {
  color: #2481cc;
  font-size: 26px;
  font-weight: 500;
}

.curated-list {
  min-width: 0;
}

.curated-bot {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  border-top: 1px solid rgba(28, 28, 30, 0.07);
}

.curated-bot:first-child {
  border-top: 0;
}

.curated-bot:hover strong {
  color: #126fb2;
}

.curated-bot-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 9px;
  background: var(--bg-surface-secondary);
}

.curated-bot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.curated-bot-copy,
.curated-bot-copy strong,
.curated-bot-meta {
  min-width: 0;
}

.curated-bot-copy strong {
  display: block;
  overflow: hidden;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.curated-bot-meta {
  display: flex;
  gap: 6px;
  margin-top: 3px;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 11px;
  white-space: nowrap;
}

.curated-bot-arrow {
  color: var(--text-secondary);
  font-size: 20px;
}

.personal-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  border-top: 1px solid rgba(28, 28, 30, 0.1);
  padding-top: 12px;
}

.personal-columns h3 {
  margin-bottom: 4px;
  font-size: 17px;
}

.match-reason {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 6px;
  background: #eaf4fc;
  color: #1262a3;
  font-size: 11px;
  font-weight: 700;
}

.mobile-catalog-tools {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.mobile-catalog-search {
  display: flex;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(28, 28, 30, 0.08);
  border-radius: 10px;
  background: #fff;
}

.mobile-catalog-search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  outline: none;
}

.mobile-catalog-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-catalog-filters label {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(28, 28, 30, 0.08);
  border-radius: 10px;
  background: #fff;
}

.mobile-catalog-filters select {
  width: 100%;
  min-width: 0;
  font-size: 13px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-canvas);
}

body {
  min-height: 100vh;
  padding-bottom: 80px;
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.4;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

button:active,
.btn:active {
  transform: scale(0.96);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-secondary);
}

:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 242, 247, 0.8);
  backdrop-filter: blur(12px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  min-height: 80px;
  margin: 0 auto;
  padding: 24px 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
}

.brand-mark {
  display: inline-block;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: url("/logo-mark.png") center / cover no-repeat;
  box-shadow: 0 8px 18px rgba(35, 210, 52, 0.18);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.1s,
    opacity 0.2s,
    background 0.2s;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-secondary {
  background: var(--bg-surface-secondary);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg-surface-tertiary);
}

.btn-light {
  width: 100%;
  background: #fff;
  color: #000;
}

.btn-light:hover {
  opacity: 0.9;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-chip,
.user-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 999px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-soft);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

.auth-chip {
  padding: 0 18px;
  cursor: pointer;
}

.user-chip {
  gap: 10px;
  padding: 0 8px 0 16px;
}

.user-chip a {
  color: var(--text-primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

.user-chip a:hover {
  opacity: 0.72;
}

.user-chip button {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--bg-surface-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 44px 0 24px;
  text-align: center;
}

.desktop-kicker,
.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.hero h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero p {
  margin: 12px 0 28px;
  color: var(--text-secondary);
  font-size: 16px;
}

.hero-proof {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: -14px 0 24px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-soft);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.hero-proof strong {
  margin-right: 5px;
  color: var(--text-primary);
}

.search-box {
  position: relative;
  max-width: 720px;
  margin: 0 auto 12px;
}

.search-box input {
  width: 100%;
  min-height: 54px;
  padding: 16px 24px 16px 48px;
  border: 0;
  border-radius: 999px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-soft);
  color: var(--text-primary);
  font-size: 16px;
  outline: none;
}

.search-clear {
  position: absolute;
  right: 18px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-surface-tertiary);
  color: var(--text-secondary);
  cursor: pointer;
  transform: translateY(-50%);
}

.search-clear[hidden] {
  display: none;
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  z-index: 1;
  width: 16px;
  height: 16px;
  border: 2px solid var(--text-secondary);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -6px;
  width: 2px;
  height: 8px;
  border-radius: 2px;
  background: var(--text-secondary);
  transform: rotate(-45deg);
}

.hero-actions,
.featured-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.desktop-search-hints {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.desktop-search-hints button {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s;
}

.desktop-search-hints button:hover {
  background: #000;
  color: #fff;
}

.category-cloud,
.region-cloud {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.region-cloud {
  margin-bottom: 24px;
}

.category-tag,
.region-tag {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-soft);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s,
    transform 0.1s;
}

.region-tag {
  background: #eef7ff;
  color: #1262a3;
  box-shadow: inset 0 0 0 1px rgba(18, 98, 163, 0.12);
}

.category-tag:hover,
.category-tag.is-active,
.region-tag:hover,
.region-tag.is-active {
  background: #000;
  color: #fff;
}

.featured-slider {
  position: relative;
  margin-bottom: 48px;
  overflow: hidden;
  border-radius: 32px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-soft);
}

.featured-track {
  position: relative;
}

.featured-slide {
  display: none;
  align-items: center;
  gap: 32px;
  min-height: 286px;
  padding: 32px 32px 70px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.76)),
    #fff;
}

.featured-slide.is-active {
  display: flex;
  animation: featuredSlideIn 320ms ease both;
}

.featured-slide-boteka {
  background:
    linear-gradient(135deg, rgba(72, 214, 74, 0.16), rgba(26, 132, 255, 0.12)),
    #fff;
}

.featured-slide-video {
  background:
    linear-gradient(135deg, rgba(255, 183, 64, 0.16), rgba(255, 61, 61, 0.08)),
    #fff;
}

.featured-content {
  flex: 1;
}

.featured-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-surface-secondary);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}

.featured-slide h2,
.section-header h2,
.faq-section h2,
.profile-section h2,
.bot-details h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
}

.featured-slide p,
.info-card p,
.bot-details p,
.profile-section p,
.faq-item p,
.footer,
.empty-state {
  color: var(--text-secondary);
}

.featured-slide p {
  max-width: 650px;
}

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 24px;
}

.platform-tags span {
  padding: 4px 8px;
  border: 1px solid var(--bg-surface-tertiary);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 12px;
}

.featured-actions {
  justify-content: flex-start;
}

.featured-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 240px;
  width: 240px;
  height: 160px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--bg-surface-secondary);
}

.featured-app-preview {
  display: grid;
  justify-items: center;
  width: 82%;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.featured-app-icon {
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: url("/logo-mark.png") center / cover no-repeat;
  box-shadow: 0 12px 22px rgba(35, 210, 52, 0.2);
}

.featured-app-preview strong {
  font-size: 18px;
  line-height: 1.1;
}

.featured-app-preview small {
  margin-top: 3px;
  color: var(--text-secondary);
}

.featured-app-preview div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.featured-app-preview div span {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--bg-surface-secondary);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
}

.download-flow {
  display: grid;
  gap: 10px;
  width: 82%;
}

.download-flow span,
.download-flow strong {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-size: 13px;
}

.download-flow span::before,
.download-flow strong::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent-green);
}

.download-flow strong {
  background: #000;
  color: #fff;
}

.featured-slider-controls {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  pointer-events: none;
}

.featured-slider-controls button {
  pointer-events: auto;
  cursor: pointer;
}

.featured-slider-controls > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text-primary);
  font-size: 25px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.featured-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
}

.featured-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  transition:
    width 180ms ease,
    background 180ms ease;
}

.featured-dots button.is-active {
  width: 24px;
  background: #000;
}

@keyframes featuredSlideIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.switch,
.switch-control {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent-green);
  cursor: pointer;
  flex: 0 0 auto;
}

.switch {
  align-self: flex-end;
  margin-top: auto;
}

.switch span,
.switch-control span {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition:
    left 0.2s,
    right 0.2s;
}

.switch-control:not(.is-on) {
  background: var(--bg-surface-tertiary);
}

.switch-control:not(.is-on) span {
  right: 22px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bg-surface-tertiary);
}

.section-header h2 {
  margin-bottom: 4px;
}

.section-header p {
  color: var(--text-secondary);
}

.results-count {
  color: var(--text-secondary);
  font-size: 14px;
}

.catalog-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
}

.sort-control select {
  min-height: 40px;
  padding: 0 34px 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-soft);
  color: #000;
  cursor: pointer;
  outline: none;
}

.bot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 22px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.pagination[hidden] {
  display: none;
}

.pagination button,
.pagination-gap {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-soft);
  color: #000;
  font-size: 13px;
  font-weight: 700;
}

.pagination button {
  cursor: pointer;
}

.pagination button:hover {
  background: var(--bg-surface-secondary);
}

.pagination button.is-active {
  background: #000;
  color: #fff;
}

.pagination button:disabled {
  cursor: default;
  opacity: 0.45;
}

.pagination-gap {
  min-width: 28px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text-secondary);
}

.bot-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 236px;
  padding: 24px;
  border-radius: 24px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  cursor: pointer;
}

.bot-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.bot-card:focus-visible {
  outline: 3px solid rgba(0, 87, 255, 0.28);
  outline-offset: 4px;
}

.bot-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.bot-avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--bg-surface-secondary);
}

.bot-avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.avatar-shape {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #000;
  opacity: 0.1;
}

.avatar-shape.circle {
  border-radius: 50%;
}

.avatar-shape.diamond {
  transform: rotate(45deg);
}

.avatar-mini-card {
  position: relative;
  width: 44px;
  height: 32px;
  padding: 6px;
  border-radius: 8px;
  background: #fff;
}

.avatar-mini-card .dot {
  position: absolute;
  left: 8px;
  top: 12px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--graph-red);
}

.avatar-mini-card .dash {
  position: absolute;
  left: 16px;
  top: 13px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--graph-red);
  opacity: 0.5;
}

.avatar-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
}

.avatar-bars span:first-child {
  width: 6px;
  height: 20px;
  border-radius: 4px;
  background: var(--graph-purple);
}

.avatar-bars span:last-child {
  width: 6px;
  height: 16px;
  border-radius: 4px;
  background: var(--graph-lime);
}

.bot-info {
  flex: 1;
  min-width: 0;
}

.bot-info h3 {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.bot-info h3 a,
.bot-desc a,
.mobile-item-title a {
  color: inherit;
}

.bot-info h3 a:hover,
.bot-desc a:hover,
.mobile-item-title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.bot-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 12px;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rating::before {
  content: "★";
  color: var(--star);
  font-size: 14px;
}

.bot-desc {
  display: -webkit-box;
  min-height: 36px;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.bot-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--bg-surface-secondary);
}

.status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #000;
  font-size: 12px;
  font-weight: 500;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
}

.status.is-muted::before {
  background: var(--text-secondary);
}

.card-actions {
  display: flex;
  gap: 8px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--bg-surface-secondary);
  color: #000;
  font-weight: 700;
}

.icon-btn:hover {
  background: var(--bg-surface-tertiary);
}

.rate-btn {
  min-width: 42px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--bg-surface-secondary);
  color: #000;
  cursor: pointer;
  font-weight: 800;
}

.rate-btn.is-rated {
  background: rgba(255, 179, 64, 0.18);
  color: #a86b00;
}

.boteka-rating-note {
  color: #a86b00;
}

.empty-state {
  margin-bottom: 64px;
  padding: 48px;
  border-radius: 24px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.empty-state h3 {
  margin: 12px 0 8px;
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 700;
}

.empty-state p {
  max-width: 460px;
  margin: 0 auto 20px;
}

.empty-illustration {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--bg-surface-secondary);
}

.empty-illustration::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 25px;
  width: 28px;
  height: 28px;
  border: 4px solid #000;
  border-radius: 50%;
}

.empty-illustration::after {
  content: "";
  position: absolute;
  right: 23px;
  bottom: 24px;
  width: 18px;
  height: 4px;
  border-radius: 4px;
  background: #000;
  transform: rotate(45deg);
}

.empty-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.info-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
}

.info-card,
.faq-section,
.profile-section,
.bot-details {
  border-radius: 24px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-soft);
}

.profile-section {
  margin: 0 0 64px;
  padding: 32px;
}

.profile-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.profile-stat {
  padding: 18px;
  border-radius: 18px;
  background: var(--bg-surface-secondary);
}

.profile-stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-size: 28px;
  line-height: 1;
}

.profile-stat span {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 16px;
}

.profile-panel {
  padding: 20px;
  border: 1px solid var(--bg-surface-tertiary);
  border-radius: 20px;
}

.profile-panel h3 {
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.2;
}

.profile-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-bot,
.profile-claim {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 16px;
  background: var(--bg-surface-secondary);
}

.profile-claim {
  grid-template-columns: minmax(0, 1fr);
}

.profile-bot-icon {
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.profile-bot-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-bot h4,
.profile-claim h4 {
  overflow: hidden;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-bot p,
.profile-claim p {
  font-size: 13px;
  line-height: 1.35;
}

.profile-bot-meta,
.profile-claim-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.profile-bot-meta span,
.profile-claim-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.profile-bot-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-bot-actions a {
  min-width: 98px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.profile-state,
.profile-empty {
  padding: 18px;
  border-radius: 18px;
  background: var(--bg-surface-secondary);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.45;
}

.info-card {
  padding: 32px;
}

.info-card h3 {
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
}

.info-card p {
  margin-bottom: 16px;
}

.info-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  color: var(--text-secondary);
  font-size: 13px;
}

.info-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--accent-green);
  font-weight: 700;
}

.info-card-dark {
  background: #000;
  color: #fff;
}

.info-card-dark p {
  color: #a1a1a6;
}

.seo-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  margin-bottom: 64px;
  padding: 8px 0;
}

.seo-content h2 {
  margin: 8px 0 12px;
  font-size: 28px;
  line-height: 1.12;
}

.seo-content p {
  max-width: 680px;
  color: var(--text-secondary);
}

.seo-rich-text {
  display: grid;
  gap: 12px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.seo-rich-text p {
  margin: 0;
}

.seo-rich-text ul {
  display: grid;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.seo-rich-text li {
  position: relative;
  padding-left: 18px;
}

.seo-rich-text li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-primary);
}

.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.seo-link-grid a {
  min-height: 48px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-surface);
  color: #000;
  box-shadow: var(--shadow-soft);
  font-size: 14px;
  font-weight: 600;
}

.seo-link-grid a:hover {
  background: var(--bg-surface-secondary);
}

.seo-hub-links,
.seo-related {
  display: grid;
  gap: 22px;
  margin-bottom: 64px;
}

.seo-hub-links h2,
.seo-related h2 {
  margin: 8px 0 10px;
  font-size: 26px;
  line-height: 1.15;
}

.seo-hub-links p {
  max-width: 760px;
  color: var(--text-secondary);
}

.seo-bot-link-grid,
.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.seo-bot-link-grid a,
.seo-related-grid a {
  display: grid;
  gap: 7px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(28, 28, 30, 0.08);
  border-radius: 18px;
  background: var(--bg-surface);
  color: #000;
  box-shadow: var(--shadow-soft);
}

.seo-bot-link-grid a:hover,
.seo-related-grid a:hover {
  transform: translateY(-1px);
  background: var(--bg-surface-secondary);
}

.seo-bot-link-grid span,
.seo-related-grid span:first-child {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.seo-bot-link-grid strong,
.seo-related-grid strong {
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.15;
}

.seo-bot-link-grid small,
.seo-related-grid span:last-child {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.35;
}

.seo-related-header {
  max-width: 760px;
}

.seo-link-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bot-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  margin-bottom: 64px;
  padding: 32px;
}

.bot-details[hidden] {
  display: none;
}

body.is-bot-detail .hero,
body.is-bot-detail .category-cloud,
body.is-bot-detail .region-cloud,
body.is-bot-detail .featured-bot,
body.is-bot-detail .featured-slider,
body.is-bot-detail .bots-section,
body.is-bot-detail .info-blocks,
body.is-bot-detail .seo-content,
body.is-bot-detail .faq-section,
body.is-bot-detail .footer,
body.is-bot-detail .mobile-home,
body.is-bot-detail .mobile-bottom-nav {
  display: none;
}

body.is-bot-detail .bot-details {
  margin-top: 24px;
}

.detail-back {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.detail-back:hover {
  color: #000;
}

.detail-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.detail-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--bg-surface-secondary);
  overflow: hidden;
}

.detail-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 24px;
}

.detail-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--bg-surface-secondary);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.official-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #007aff;
}

.official-badge svg {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent !important;
  fill: currentColor;
}

.detail-tags .official-badge {
  color: #007aff;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bot-details h2 {
  margin: 8px 0 12px;
}

.detail-description {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.detail-description p {
  margin: 0;
}

.detail-description ul {
  display: grid;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.detail-description li {
  position: relative;
  padding-left: 18px;
}

.detail-description li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-primary);
}

.details-meta {
  display: grid;
  gap: 12px;
}

.details-meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bg-surface-secondary);
}

.details-meta div:last-child {
  border-bottom: 0;
}

.details-meta dt {
  color: var(--text-secondary);
}

.details-meta dd {
  font-weight: 600;
  text-align: right;
}

.details-meta a {
  color: #000;
  word-break: break-word;
}

.details-meta a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-section {
  margin-bottom: 64px;
  padding: 32px;
}

.faq-section h2 {
  margin-bottom: 24px;
}

.faq-item {
  border-bottom: 1px solid var(--bg-surface-secondary);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  background: transparent;
  color: #000;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-item button span:last-child {
  color: var(--text-secondary);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.faq-item p {
  display: none;
  padding: 0 0 16px;
  font-size: 13px;
}

.faq-item.is-open p {
  display: block;
}

.footer {
  padding: 32px 0;
  font-size: 13px;
  text-align: center;
}

.footer p + p {
  margin-top: 8px;
}

.seo-body {
  min-height: 100vh;
  background: var(--bg-page);
}

.seo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
}

.seo-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.seo-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--bg-surface);
  color: #000;
  font-size: 13px;
  font-weight: 600;
}

.seo-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 72px;
}

.seo-breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  color: var(--text-secondary);
  font-size: 13px;
}

.seo-breadcrumbs a {
  color: #000;
  font-weight: 600;
}

.seo-hero,
.seo-card,
.seo-text {
  margin-bottom: 28px;
  padding: 32px;
  border-radius: 24px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-soft);
}

.seo-hero h1,
.seo-card h1 {
  max-width: 820px;
  margin: 8px 0 14px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
}

.seo-bot-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.seo-bot-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 82px;
  height: 82px;
  border-radius: 20px;
  background: var(--bg-surface-secondary);
  color: #000;
  font-size: 32px;
  font-weight: 800;
  object-fit: cover;
}

.seo-bot-icon-fallback {
  border: 1px solid var(--bg-surface-tertiary);
}

.seo-hero p,
.seo-card p,
.seo-text p {
  max-width: 760px;
  color: var(--text-secondary);
}

.seo-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.seo-meta div {
  min-height: 92px;
  padding: 16px;
  border-radius: 16px;
  background: var(--bg-surface-secondary);
}

.seo-meta dt {
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 12px;
}

.seo-meta dd {
  color: #000;
  font-weight: 700;
}

.seo-meta dd a {
  color: #000;
}

.seo-bot-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
}

.seo-bot-facts div {
  min-height: 104px;
  padding: 16px;
  border-radius: 16px;
  background: var(--bg-surface-secondary);
}

.seo-bot-facts strong {
  display: block;
  margin-bottom: 8px;
  color: #000;
  font-size: 14px;
}

.seo-bot-facts span {
  display: block;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.35;
}

.seo-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.seo-list {
  display: grid;
  gap: 12px;
}

.seo-list-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-soft);
}

.seo-list-item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.seo-list-item h2 {
  margin-bottom: 4px;
  font-size: 18px;
}

.seo-list-item h2 a {
  color: #000;
}

.seo-list-item p {
  color: var(--text-secondary);
  font-size: 13px;
}

.seo-list-item .seo-list-note {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.seo-list-item > a {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--bg-surface-secondary);
  color: #000;
  font-size: 13px;
  font-weight: 700;
}

.seo-region-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.seo-region-summary div,
.seo-region-group {
  padding: 18px;
  border-radius: 18px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-soft);
}

.seo-region-summary strong {
  display: block;
  margin-bottom: 6px;
  color: #000;
  font-size: 24px;
  line-height: 1.1;
}

.seo-region-summary span {
  display: block;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.seo-region-intro h2,
.seo-faq h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

.seo-faq h3 {
  margin: 18px 0 6px;
  color: #000;
  font-size: 18px;
}

.seo-region-groups {
  margin: 28px 0;
}

.seo-region-group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.seo-region-group h3 {
  margin-bottom: 8px;
  color: #000;
  font-size: 20px;
}

.seo-region-group p {
  margin-bottom: 14px;
  color: var(--text-secondary);
  font-size: 13px;
}

.seo-region-group ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-region-group a {
  color: #000;
  font-weight: 700;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.4);
}

.modal[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: min(480px, 90vw);
  padding: 40px;
  border-radius: 32px;
  background: var(--bg-surface);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.modal-card h2 {
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 700;
}

.modal-card > p {
  margin-bottom: 24px;
  color: var(--text-secondary);
  font-size: 14px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-surface-secondary);
  cursor: pointer;
  font-size: 20px;
}

.add-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.add-form label {
  display: block;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.add-form input,
.add-form textarea,
.add-form select,
.auth-form input,
.rating-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 16px;
  border: 1.5px solid var(--bg-surface-tertiary);
  border-radius: 12px;
  background: #fff;
  color: #000;
  outline: none;
  resize: vertical;
}

.add-form select {
  appearance: none;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.modal-actions .btn {
  flex: 1;
}

.form-success {
  padding: 12px;
  border-radius: 12px;
  background: rgba(52, 199, 89, 0.12);
  color: var(--accent-green);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.form-success.is-error {
  background: rgba(255, 59, 48, 0.1);
  color: var(--graph-red);
}

.auth-card {
  width: min(440px, 92vw);
}

.max-phone-login {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
}

.max-phone-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px 16px 14px 36px;
  border-radius: 16px;
  background: var(--bg-surface-secondary);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.4;
}

.max-phone-steps li::marker {
  color: #111;
  font-weight: 800;
}

.max-phone-link {
  display: inline-flex;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 12px;
  background: var(--bg-surface-secondary);
}

.auth-tabs button {
  min-height: 36px;
  border-radius: 10px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.auth-tabs button.is-active {
  background: #fff;
  color: #000;
  box-shadow: var(--shadow-soft);
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.auth-form.is-active {
  display: flex;
}

.auth-form label {
  display: block;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.auth-form .btn,
.max-login-btn {
  width: 100%;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--bg-surface-tertiary);
}

.auth-message {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 59, 48, 0.1);
  color: var(--graph-red);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.auth-message.is-success {
  background: rgba(52, 199, 89, 0.12);
  color: var(--accent-green);
}

.rating-card {
  width: min(420px, 92vw);
}

.rating-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rating-stars {
  display: flex;
  gap: 8px;
}

.rating-stars button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-surface-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.rating-stars button.is-active {
  background: rgba(255, 179, 64, 0.18);
  color: var(--star);
}

.rating-form label {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.rating-message {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 59, 48, 0.1);
  color: var(--graph-red);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.rating-message.is-success {
  background: rgba(52, 199, 89, 0.12);
  color: var(--accent-green);
}

.mobile-home,
.mobile-menu-toggle,
.mobile-drawer,
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 980px) {
  .topbar-inner {
    gap: 16px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bot-details {
    grid-template-columns: 1fr;
  }

  .featured-slide {
    align-items: stretch;
    flex-direction: column;
  }

  .featured-visual {
    width: 100%;
    flex-basis: auto;
  }

  .info-blocks {
    grid-template-columns: 1fr;
  }

  .seo-content,
  .seo-hub-links,
  .seo-meta,
  .seo-bot-facts,
  .seo-region-summary {
    grid-template-columns: 1fr;
  }

  .seo-bot-link-grid,
  .seo-related-grid,
  .seo-link-grid-wide,
  .seo-region-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 640px) {
  :root {
    --mobile-ink: #1c1c1e;
    --mobile-muted: #8e8e93;
    --mobile-red: #e54d2e;
    --mobile-blue: #0057ff;
  }

  body {
    padding-bottom: 106px;
    color: var(--mobile-ink);
    font-size: 15px;
  }

  .topbar-inner {
    min-height: 64px;
    padding: 16px;
  }

  .topbar-actions,
  .topbar .btn {
    display: none;
  }

  .brand {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
  }

  .seo-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .seo-page {
    padding: 18px 16px 56px;
  }

  .seo-hero,
  .seo-card,
  .seo-text {
    padding: 22px;
    border-radius: 18px;
  }

  .seo-bot-heading {
    align-items: flex-start;
    gap: 14px;
  }

  .seo-bot-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    font-size: 24px;
  }

  .seo-list-item {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .seo-list-item > a {
    grid-column: 2;
    justify-self: start;
  }

  .seo-link-grid {
    grid-template-columns: 1fr;
  }

  .seo-region-group-grid {
    grid-template-columns: 1fr;
  }

  .seo-region-summary strong {
    font-size: 20px;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--mobile-ink);
  }

  .page-shell {
    max-width: 480px;
    padding: 0 16px;
  }

  .mobile-home {
    display: block;
  }

  .hero,
  .category-cloud,
  .featured-slider,
  .bots-section,
  .info-blocks,
  .bot-details,
  .faq-section,
  .footer {
    display: none;
  }

  .profile-section {
    margin: 16px 0 56px;
    padding: 20px;
    border-radius: 22px;
  }

  .profile-section .section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .profile-summary {
    grid-template-columns: 1fr 1fr;
  }

  .profile-stat {
    padding: 14px;
  }

  .profile-stat strong {
    font-size: 24px;
  }

  .profile-panel {
    padding: 14px;
  }

  .profile-bot {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .profile-bot-icon {
    width: 48px;
    height: 48px;
  }

  .profile-bot-actions {
    grid-column: 1 / -1;
    flex-direction: row;
  }

  .mobile-hero {
    margin: 8px 0 24px;
  }

  .mobile-kicker {
    margin-bottom: 4px;
    color: var(--mobile-muted);
    font-size: 13px;
    font-weight: 500;
  }

  .mobile-hero h1 {
    color: var(--mobile-ink);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
  }

  .mobile-hero-copy {
    margin-top: 8px;
    color: var(--mobile-muted);
    font-size: 14px;
    line-height: 1.35;
  }

  .mobile-search {
    display: flex;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  }

  .mobile-search input {
    width: 100%;
    border: 0;
    background: none;
    color: var(--mobile-ink);
    font-size: 15px;
    outline: none;
  }

  .mobile-search-hints {
    display: flex;
    gap: 8px;
    margin: 10px -16px 0;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mobile-search-hints::-webkit-scrollbar {
    display: none;
  }

  .mobile-search-hints button {
    flex: 0 0 auto;
    padding: 7px 12px;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--mobile-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
  }

  .mobile-featured-slider {
    position: relative;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
  }

  .mobile-featured {
    position: relative;
    display: none;
    min-height: 190px;
    padding: 20px;
    background:
      linear-gradient(135deg, rgba(52, 199, 89, 0.16), rgba(0, 87, 255, 0.08)),
      #fff;
    color: var(--mobile-ink);
  }

  .mobile-featured.is-active {
    display: block;
    animation: featuredSlideIn 260ms ease both;
  }

  .mobile-featured-video {
    background:
      linear-gradient(135deg, rgba(255, 179, 64, 0.18), rgba(255, 59, 48, 0.08)),
      #fff;
  }

  .mobile-featured::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 58px;
    width: 86px;
    height: 86px;
    border-radius: 24px;
    background: url("/logo-mark.png") center / cover no-repeat;
    opacity: 0.16;
  }

  .mobile-featured-video::after {
    background:
      linear-gradient(135deg, #fff 0 18%, transparent 18% 100%),
      linear-gradient(135deg, #ff453a, #ffb340);
    opacity: 0.2;
  }

  .mobile-featured-content {
    position: relative;
    z-index: 1;
    max-width: calc(100% - 52px);
  }

  .mobile-featured-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--mobile-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .mobile-featured h2 {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
  }

  .mobile-featured p {
    margin-bottom: 16px;
    color: var(--mobile-muted);
    font-size: 14px;
    line-height: 1.3;
  }

  .mobile-featured-btn {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 16px;
    border-radius: 100px;
    background: #000;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
  }

  .mobile-featured-link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-left: 8px;
    padding: 8px 14px;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--mobile-ink);
    font-size: 13px;
    font-weight: 700;
  }

  .mobile-featured-controls {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .mobile-featured-controls > button {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.82);
    font-size: 21px;
  }

  .mobile-featured-controls .featured-dots button {
    width: 7px;
    height: 7px;
  }

  .mobile-featured-controls .featured-dots button.is-active {
    width: 20px;
  }

  .mobile-categories {
    display: flex;
    gap: 8px;
    margin: 24px -16px 16px;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mobile-categories::-webkit-scrollbar {
    display: none;
  }

  .mobile-category {
    flex: 0 0 auto;
    padding: 8px 16px;
    border-radius: 100px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    color: var(--mobile-ink);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
  }

  .mobile-category.is-active {
    background: var(--mobile-ink);
    color: #fff;
  }

  .mobile-section-head-compact {
    margin-top: 20px;
  }

  .mobile-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0 0 20px;
  }

  .mobile-trust span {
    display: block;
    min-height: 58px;
    padding: 12px;
    border-radius: 14px;
    background: #fff;
    color: var(--mobile-muted);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    font-size: 12px;
    font-weight: 700;
  }

  .mobile-trust strong {
    display: block;
    color: var(--mobile-ink);
    font-size: 18px;
    line-height: 1;
  }

  .mobile-trust span:nth-child(3) {
    grid-column: 1 / -1;
    min-height: 44px;
  }

  .mobile-discovery {
    display: none;
  }

  .mobile-discovery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 8px;
  }

  .mobile-category-card {
    display: flex;
    min-height: 136px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 16px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    color: var(--mobile-ink);
    text-align: left;
    cursor: pointer;
  }

  .mobile-category-card.is-active {
    border-color: rgba(0, 87, 255, 0.28);
    box-shadow: 0 8px 22px rgba(0, 87, 255, 0.08);
  }

  .mobile-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 800;
  }

  .mobile-card-icon-red {
    background: #fce8e6;
    color: #d93025;
  }

  .mobile-card-icon-blue {
    background: #e8f0fe;
    color: #1a73e8;
  }

  .mobile-card-icon-green {
    background: #e6f4ea;
    color: #1e8e3e;
  }

  .mobile-card-icon-yellow {
    background: #fef7e0;
    color: #f29900;
  }

  .mobile-category-card strong,
  .mobile-category-card small {
    display: block;
  }

  .mobile-category-card strong {
    font-size: 15px;
    font-weight: 700;
  }

  .mobile-category-card small {
    margin-top: 3px;
    color: var(--mobile-muted);
    font-size: 12px;
    line-height: 1.25;
  }

  .mobile-section-head {
    margin: 32px 0 12px;
  }

  .mobile-section-head h2 {
    color: var(--mobile-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: 0;
  }

  .mobile-list {
    margin-bottom: 16px;
    padding: 8px 16px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  }

  .mobile-pagination {
    gap: 6px;
    margin: 0 0 16px;
  }

  .mobile-pagination button,
  .mobile-pagination .pagination-gap {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    box-shadow: none;
    font-size: 12px;
  }

  .mobile-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
  }

  .mobile-list-item:last-child {
    border-bottom: 0;
  }

  .mobile-list-item:focus-visible {
    outline: 3px solid rgba(0, 87, 255, 0.2);
    outline-offset: 4px;
  }

  .mobile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    overflow: hidden;
  }

  .mobile-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-item-content {
    min-width: 0;
    flex: 1;
  }

  .mobile-item-title {
    overflow: hidden;
    font-size: 15px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    color: var(--mobile-muted);
    font-size: 11px;
  }

  .mobile-item-meta span:first-child::before {
    content: "★";
    margin-right: 2px;
    color: #ffb800;
  }

  .mobile-open {
    flex: 0 0 auto;
    padding: 6px 12px;
    border-radius: 100px;
    background: var(--bg-canvas);
    color: var(--mobile-blue);
    font-size: 13px;
    font-weight: 600;
  }

  .mobile-open.is-disabled {
    color: var(--mobile-muted);
  }

  .mobile-rate {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-canvas);
    color: var(--mobile-muted);
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
  }

  .mobile-rate.is-rated {
    color: #a86b00;
    background: rgba(255, 179, 64, 0.18);
  }

  .mobile-empty {
    padding: 20px 0;
    border-radius: 20px;
    background: #fff;
    color: var(--mobile-muted);
    font-size: 14px;
    text-align: center;
  }

  .mobile-alert {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 12px;
    background: #8e211a;
    color: #fff;
  }

  .mobile-alert-icon {
    flex: 0 0 auto;
    width: 0;
    height: 0;
    margin-top: 2px;
    border-right: 10px solid transparent;
    border-bottom: 18px solid var(--mobile-red);
    border-left: 10px solid transparent;
  }

  .mobile-alert strong,
  .mobile-alert span {
    display: block;
  }

  .mobile-alert strong {
    margin-bottom: 2px;
    font-weight: 700;
  }

  .mobile-alert span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    line-height: 1.3;
  }

  .mobile-add-card {
    margin-top: 32px;
    padding: 24px 20px;
    border-radius: 20px;
    background: #fdf0c3;
  }

  .mobile-add-card h2 {
    margin-bottom: 8px;
    color: var(--mobile-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
  }

  .mobile-add-card p {
    margin-bottom: 20px;
    color: rgba(0, 0, 0, 0.6);
    font-size: 13px;
  }

  .mobile-primary {
    width: 100%;
    padding: 16px;
    border-radius: 100px;
    background: var(--mobile-blue);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
  }

  .mobile-footer {
    margin-top: 40px;
    padding: 0 16px 60px;
    color: var(--mobile-muted);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
  }

  .mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: flex;
    justify-content: flex-end;
    background: rgba(0, 0, 0, 0.4);
  }

  .mobile-drawer[hidden] {
    display: none;
  }

  .mobile-drawer-panel {
    width: 260px;
    height: 100%;
    padding: 48px 24px 24px;
    border-radius: 0 0 0 20px;
    background: #fff;
  }

  .mobile-drawer-panel h2 {
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 700;
  }

  .mobile-drawer-panel a,
  .mobile-drawer-panel button {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: transparent;
    color: var(--mobile-ink);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    display: flex;
    justify-content: space-around;
    padding: 10px max(12px, env(safe-area-inset-left)) calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .mobile-bottom-item {
    display: flex;
    min-width: 58px;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: transparent;
    color: var(--mobile-muted);
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
  }

  .mobile-bottom-item.is-active {
    color: var(--mobile-blue);
  }

  .mobile-bottom-icon {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
  }

  .mobile-bottom-icon-home::before {
    content: "";
    position: absolute;
    inset: 6px 5px 4px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 3px;
  }

  .mobile-bottom-icon-home::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 6px;
    width: 12px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: rotate(45deg);
  }

  .mobile-bottom-icon-search::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 11px;
    height: 11px;
    border: 2px solid currentColor;
    border-radius: 50%;
  }

  .mobile-bottom-icon-search::after {
    content: "";
    position: absolute;
    right: 4px;
    bottom: 4px;
    width: 8px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: rotate(45deg);
  }

  .mobile-bottom-icon-top::before,
  .mobile-bottom-icon-top::after {
    content: "";
    position: absolute;
    right: 5px;
    left: 5px;
    height: 3px;
    border-radius: 3px;
    background: currentColor;
  }

  .mobile-bottom-icon-top::before {
    top: 7px;
    box-shadow: 0 5px 0 currentColor;
  }

  .mobile-bottom-icon-top::after {
    bottom: 4px;
  }

  .mobile-bottom-icon-add::before,
  .mobile-bottom-icon-add::after {
    content: "";
    position: absolute;
    top: 11px;
    left: 5px;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .mobile-bottom-icon-add::after {
    transform: rotate(90deg);
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions,
  .featured-actions {
    flex-direction: column;
  }

  .featured-slider,
  .info-card,
  .bot-details,
  .faq-section,
  .modal-card {
    padding: 24px;
  }

  .bot-grid {
    grid-template-columns: 1fr;
  }

  .bot-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .card-actions {
    width: 100%;
  }

  .card-actions .btn {
    flex: 1;
  }

  .modal-actions {
    flex-direction: column;
  }

  body.is-bot-detail {
    padding-bottom: 0;
  }

  body.is-bot-detail .page-shell {
    max-width: 480px;
    padding: 0 16px 32px;
  }

  body.is-bot-detail .bot-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 8px 0 32px;
    padding: 22px;
    border-radius: 20px;
  }

  body.is-bot-detail .detail-heading {
    align-items: flex-start;
  }

  body.is-bot-detail .detail-avatar {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  body.is-bot-detail .detail-actions .btn {
    flex: 1;
  }

  body.is-bot-detail .details-meta div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  body.is-bot-detail .details-meta dd {
    text-align: left;
  }

  .seo-hub-links,
  .seo-related {
    margin-bottom: 40px;
  }

  .seo-bot-link-grid,
  .seo-related-grid,
  .seo-link-grid-wide {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) {
  .site-home {
    --bg-canvas: #efeff3;
    --bg-surface-secondary: #f6f6f9;
    --bg-surface-tertiary: #e7e8ee;
    --text-primary: #1c1c1e;
    --text-secondary: #7f8794;
    --btn-primary-bg: #2481cc;
    --shadow-soft: 0 8px 26px rgba(20, 25, 35, 0.06);
    --shadow-lift: 0 12px 32px rgba(20, 25, 35, 0.1);
    padding-top: 64px;
    padding-bottom: 48px;
  }

  .site-home .topbar {
    position: fixed;
    right: 0;
    left: 0;
    border-bottom: 1px solid rgba(28, 28, 30, 0.08);
    background: rgba(242, 242, 247, 0.9);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .site-home .topbar-inner {
    min-height: 64px;
    max-width: 1200px;
    padding: 0 24px;
  }

  .site-home .brand {
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
  }

  .site-home .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(35, 210, 52, 0.22);
  }

  .site-home .auth-chip,
  .site-home .user-chip,
  .site-home .topbar-actions > .btn {
    min-height: 40px;
    border: 1px solid rgba(28, 28, 30, 0.08);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: none;
    font-weight: 800;
  }

  .site-home .topbar-actions > .btn {
    padding-inline: 18px;
  }

  .site-home .topbar-actions > .btn-primary {
    background: #2481cc;
    color: #fff;
  }

  .site-home .page-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 32px;
    max-width: 1200px;
    padding: 24px 32px 0;
    align-items: start;
  }

  .site-home .hero,
  .site-home .featured-slider,
  .site-home .bots-section,
  .site-home .info-blocks,
  .site-home .seo-content,
  .site-home .seo-hub-links,
  .site-home .bot-details,
  .site-home .faq-section,
  .site-home .profile-section,
  .site-home .footer {
    grid-column: 2;
    min-width: 0;
  }

  .site-home .category-cloud,
  .site-home .region-cloud {
    grid-column: 1;
    justify-content: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 4px;
    min-width: 0;
    margin: 0;
  }

  .site-home .category-cloud {
    position: sticky;
    top: 88px;
    grid-row: 1 / span 4;
    max-height: calc(100vh - 104px);
    overflow: auto;
    padding: 0 0 18px;
    scrollbar-width: none;
  }

  .site-home .category-cloud::-webkit-scrollbar {
    display: none;
  }

  .site-home .region-picker select {
    width: 210px;
    min-width: 0;
    max-width: 210px;
  }

  .site-home .category-cloud::before,
  .site-home .region-cloud::before {
    display: block;
    margin: 0 0 8px;
    padding: 0 13px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .site-home .category-cloud::before {
    content: "Категории";
  }

  .site-home .region-cloud::before {
    content: "Региональные";
    margin-top: 16px;
  }

  .site-home .category-tag,
  .site-home .region-tag {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 42px;
    padding: 10px 13px 10px 40px;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
  }

  .site-home .category-tag::before,
  .site-home .region-tag::before {
    content: "";
    position: absolute;
    left: 13px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(36, 129, 204, 0.12);
    box-shadow: inset 0 0 0 5px #2481cc;
  }

  .site-home .category-tag:nth-of-type(2)::before,
  .site-home .category-tag:nth-of-type(7)::before {
    background: rgba(138, 43, 226, 0.14);
    box-shadow: inset 0 0 0 5px #8a2be2;
  }

  .site-home .category-tag:nth-of-type(3)::before,
  .site-home .category-tag:nth-of-type(6)::before {
    background: rgba(255, 159, 10, 0.15);
    box-shadow: inset 0 0 0 5px #ff9f0a;
  }

  .site-home .category-tag:nth-of-type(4)::before,
  .site-home .category-tag:nth-of-type(8)::before {
    background: rgba(52, 199, 89, 0.15);
    box-shadow: inset 0 0 0 5px #34c759;
  }

  .site-home .category-tag:hover,
  .site-home .region-tag:hover {
    background: rgba(255, 255, 255, 0.76);
    color: var(--text-primary);
  }

  .site-home .category-tag.is-active,
  .site-home .region-tag.is-active {
    background: #2481cc;
    color: #fff;
    box-shadow: none;
  }

  .site-home .category-tag.is-active::before,
  .site-home .region-tag.is-active::before {
    background: rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 0 0 5px #fff;
  }

  .site-home .region-cloud {
    position: sticky;
    top: 450px;
    grid-row: 5;
  }

  .site-home .region-tag {
    min-height: 38px;
    padding-top: 8px;
    padding-bottom: 8px;
    color: var(--text-secondary);
    font-size: 13px;
  }

  .site-home .region-tag::before {
    width: 16px;
    height: 16px;
    background: rgba(8, 159, 179, 0.14);
    box-shadow: inset 0 0 0 5px #089fb3;
  }

  .site-home .hero {
    position: relative;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 24px 170px 24px 28px;
    overflow: hidden;
    border: 1px solid rgba(28, 28, 30, 0.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    text-align: left;
  }

  .site-home .hero::after {
    content: "";
    position: absolute;
    right: 34px;
    top: 50%;
    width: 108px;
    height: 108px;
    border-radius: 24px;
    background: url("/logo-mark.png") center / cover no-repeat;
    box-shadow: 0 18px 42px rgba(36, 129, 204, 0.14);
    transform: translateY(-50%);
  }

  .site-home .desktop-kicker,
  .site-home .section-kicker {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .site-home .hero h1 {
    max-width: 660px;
    margin: 0;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
  }

  .site-home .hero p {
    max-width: 640px;
    margin: 10px 0 14px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
  }

  .site-home .hero-proof {
    justify-content: flex-start;
    margin: 0 0 16px;
  }

  .site-home .hero-proof span {
    min-height: 32px;
    padding: 6px 11px;
    border: 1px solid rgba(28, 28, 30, 0.08);
    box-shadow: none;
    font-size: 12px;
  }

  .site-home .search-box {
    max-width: 650px;
    margin: 0 0 12px;
  }

  .site-home .search-box input {
    min-height: 52px;
    border: 1px solid rgba(28, 28, 30, 0.08);
    box-shadow: none;
  }

  .site-home .desktop-search-hints {
    justify-content: flex-start;
  }

  .site-home .desktop-search-hints button {
    min-height: 32px;
    padding: 0 13px;
    background: var(--bg-surface-secondary);
    color: var(--text-secondary);
    font-weight: 800;
  }

  .site-home .desktop-search-hints button:hover {
    background: #1c1c1e;
    color: #fff;
  }

  .site-home .featured-slider {
    margin-bottom: 42px;
    border: 1px solid rgba(28, 28, 30, 0.08);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
  }

  .site-home .featured-slide {
    min-height: 224px;
    padding: 28px 28px 64px;
  }

  .site-home .featured-slide h2,
  .site-home .section-header h2,
  .site-home .faq-section h2,
  .site-home .profile-section h2,
  .site-home .bot-details h2 {
    font-size: 22px;
    font-weight: 800;
  }

  .site-home .featured-label {
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-secondary);
    font-weight: 800;
  }

  .site-home .platform-tags span {
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    font-weight: 800;
  }

  .site-home .featured-visual {
    flex-basis: 220px;
    width: 220px;
    height: 150px;
    border-radius: 14px;
  }

  .site-home .featured-slider-controls > button,
  .site-home .pagination button,
  .site-home .pagination-gap {
    box-shadow: none;
  }

  .site-home .section-header {
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .site-home .catalog-controls {
    gap: 10px;
  }

  .site-home .sort-control span {
    display: none;
  }

  .site-home .sort-control select {
    min-height: 38px;
    border: 1px solid rgba(28, 28, 30, 0.08);
    box-shadow: none;
    font-weight: 800;
  }

  .site-home .bot-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
  }

  .site-home .bot-card {
    gap: 12px;
    min-height: 208px;
    padding: 16px;
    border: 1px solid rgba(28, 28, 30, 0.08);
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
  }

  .site-home .bot-card-header {
    gap: 12px;
  }

  .site-home .bot-avatar {
    width: 50px;
    height: 50px;
    border-radius: 10px;
  }

  .site-home .bot-info h3 {
    font-size: 15px;
    font-weight: 800;
  }

  .site-home .bot-meta {
    gap: 8px;
    font-size: 12px;
  }

  .site-home .bot-desc {
    min-height: 36px;
    font-size: 13px;
    line-height: 1.4;
  }

  .site-home .bot-footer {
    padding-top: 12px;
  }

  .site-home .status {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 700;
  }

  .site-home .icon-btn,
  .site-home .rate-btn,
  .site-home .card-actions .btn {
    min-height: 34px;
    min-width: 38px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 800;
  }

  .site-home .card-actions .btn-primary {
    background: #2481cc;
  }

  .site-home .pagination {
    margin: 26px 0 54px;
  }

  .site-home .pagination button,
  .site-home .pagination-gap {
    min-width: 36px;
    height: 36px;
  }

  .site-home .pagination button.is-active {
    background: #2481cc;
  }

  .site-home .info-blocks,
  .site-home .seo-content,
  .site-home .seo-hub-links {
    gap: 18px;
  }

  .site-home .info-card,
  .site-home .faq-section,
  .site-home .profile-section,
  .site-home .bot-details,
  .site-home .empty-state {
    border: 1px solid rgba(28, 28, 30, 0.08);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
  }
}

@media (min-width: 641px) {
  .curated-section-mobile {
    display: none;
  }

  .site-home {
    --text-secondary: #5f6875;
  }

  .site-home .page-shell {
    display: block;
    max-width: 1120px;
    padding: 26px 32px 0;
  }

  .site-home .hero,
  .site-home .desktop-filter-bar,
  .site-home .curated-section,
  .site-home .personal-lists,
  .site-home .featured-slider,
  .site-home .bots-section,
  .site-home .info-blocks,
  .site-home .seo-content,
  .site-home .seo-hub-links,
  .site-home .bot-details,
  .site-home .faq-section,
  .site-home .profile-section,
  .site-home .footer {
    width: 100%;
    min-width: 0;
  }

  .site-home .hero {
    max-width: 900px;
    margin: 0;
    padding: 34px 0 30px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-home .hero::after {
    display: none;
  }

  .site-home .hero h1 {
    max-width: 760px;
    font-size: 38px;
  }

  .site-home .hero p {
    max-width: 720px;
    font-size: 15px;
  }

  .site-home .desktop-filter-bar {
    position: sticky;
    top: 76px;
    z-index: 50;
    margin-bottom: 34px;
    padding: 10px;
    border: 1px solid rgba(28, 28, 30, 0.08);
    border-radius: 10px;
    background: var(--bg-canvas);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .site-home .category-cloud {
    display: flex;
    flex: 1;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-home .category-cloud::-webkit-scrollbar {
    display: none;
  }

  .site-home .category-cloud::before,
  .site-home .region-cloud::before {
    display: none;
  }

  .site-home .category-tag {
    position: static;
    flex: 0 0 auto;
    width: auto;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 7px;
    font-size: 13px;
    text-align: center;
  }

  .site-home .category-tag::before {
    display: none;
  }

  .site-home .category-tag:hover {
    background: #fff;
  }

  .site-home .category-tag.is-active {
    background: #1c1c1e;
    color: #fff;
  }

  .site-home .curated-section {
    margin-bottom: 34px;
  }

  .site-home .featured-slider {
    margin-bottom: 42px;
  }

  .site-home .bot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-home .bot-footer {
    align-items: flex-end;
  }

  .site-home .status {
    max-width: 150px;
    line-height: 1.25;
  }

  .site-home .icon-btn,
  .site-home .rate-btn,
  .site-home .card-actions .btn {
    min-height: 42px;
  }

  .site-home .card-actions .btn {
    min-width: 88px;
  }
}

@media (max-width: 900px) and (min-width: 641px) {
  .site-home .bot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-home .desktop-filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .region-picker {
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  :root {
    --mobile-muted: #687180;
  }

  .desktop-filter-bar,
  .curated-section-desktop,
  .personal-lists-desktop {
    display: none;
  }

  .curated-section-mobile {
    display: block;
    margin: 24px 0 28px;
  }

  .curated-section-heading {
    align-items: flex-start;
    margin-bottom: 10px;
  }

  .curated-section-heading h2 {
    font-size: 22px;
  }

  .curated-section-heading > p {
    display: none;
  }

  .curated-columns {
    display: block;
    border-bottom: 0;
  }

  .curated-group {
    padding: 12px 0 8px;
  }

  .curated-group + .curated-group {
    border-top: 1px solid rgba(28, 28, 30, 0.1);
    border-left: 0;
  }

  .curated-title {
    min-height: 40px;
    margin: 0;
    font-size: 19px;
  }

  .curated-bot {
    min-height: 66px;
  }

  .curated-bot-copy strong {
    font-size: 14px;
  }

  .mobile-trust.mobile-trust-compact {
    display: block;
    margin-bottom: 20px;
  }

  .mobile-trust.mobile-trust-compact span {
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 10px;
  }

  .mobile-trust.mobile-trust-compact strong {
    display: inline;
    margin-right: 4px;
    font-size: 15px;
  }

  .mobile-top {
    scroll-margin-top: 74px;
  }

  .mobile-section-head {
    margin-top: 28px;
  }

  .mobile-list {
    padding: 4px 12px;
    border-radius: 14px;
  }

  .mobile-list-item {
    gap: 9px;
    min-height: 72px;
    padding: 10px 0;
  }

  .mobile-item-meta {
    gap: 6px;
    overflow: hidden;
    white-space: nowrap;
  }

  .mobile-item-meta span:first-child::before {
    display: none;
  }

  .mobile-item-content .match-reason {
    max-width: 100%;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-rate {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .mobile-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 82px;
    min-height: 44px;
    padding: 0 13px;
    font-size: 13px;
  }

  .personal-lists {
    margin: 28px 0;
  }

  .personal-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mobile-featured-slider {
    margin-top: 8px;
  }

  .mobile-featured-btn {
    min-height: 42px;
    padding-inline: 16px;
  }
}

.seo-bot-detail {
  padding: 28px;
}

.seo-bot-detail .seo-bot-heading {
  margin-bottom: 12px;
}

.seo-bot-detail .seo-bot-heading h1 {
  max-width: 760px;
  margin: 4px 0 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
}

.seo-bot-lead {
  max-width: 760px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.5;
}

.seo-verification {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 13px;
}

.seo-verification strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  background: #e7f7ed;
  color: #1a7540;
  font-size: 12px;
}

.seo-bot-detail > .seo-actions {
  margin: 18px 0 22px;
}

.seo-bot-detail > .seo-actions .btn {
  min-height: 44px;
}

.seo-save-button.is-saved {
  background: #eaf4fc;
  color: #1262a3;
}

.seo-bot-detail .seo-rich-text {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--text-secondary);
}

.seo-bot-detail .seo-rich-text p + p,
.seo-bot-detail .seo-rich-text p + ul {
  margin-top: 10px;
}

.seo-meta-compact {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
  margin: 18px 0 0;
}

.seo-meta-compact div {
  min-height: 68px;
  padding: 12px 14px;
  border-radius: 8px;
}

@media (max-width: 640px) {
  .seo-body {
    padding-bottom: 76px;
  }

  .seo-header {
    position: sticky;
    top: 0;
    z-index: 80;
    align-items: center;
    flex-direction: row;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(28, 28, 30, 0.08);
    background: rgba(242, 242, 247, 0.94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .seo-header .brand {
    flex: 1;
  }

  .seo-nav {
    flex: 0 0 auto;
  }

  .seo-nav a {
    min-height: 40px;
    padding: 10px 14px;
    white-space: nowrap;
  }

  .seo-nav a:not(:first-child) {
    display: none;
  }

  .seo-page {
    padding: 14px 12px 48px;
  }

  .seo-breadcrumbs {
    gap: 6px;
    margin-bottom: 12px;
    overflow: hidden;
    font-size: 12px;
    white-space: nowrap;
  }

  .seo-breadcrumbs > * {
    flex: 0 0 auto;
  }

  .seo-breadcrumbs > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .seo-bot-detail {
    padding: 16px;
    border-radius: 14px;
  }

  .seo-bot-detail .seo-bot-heading {
    gap: 12px;
  }

  .seo-bot-detail .seo-bot-heading h1 {
    font-size: 28px;
    line-height: 1.08;
  }

  .seo-bot-lead {
    font-size: 15px;
  }

  .seo-verification {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .seo-bot-detail > .seo-actions {
    position: sticky;
    bottom: 10px;
    z-index: 70;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin: 16px -4px 18px;
    padding: 6px;
    border: 1px solid rgba(28, 28, 30, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 30px rgba(20, 25, 35, 0.12);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .seo-bot-detail > .seo-actions .btn {
    min-height: 48px;
    padding: 0 18px;
  }

  .seo-meta-compact {
    grid-template-columns: 1fr 1fr;
  }

  .seo-meta-compact div {
    min-height: 72px;
  }
}

/* UX refresh: focused search, compact cards, region picker and feedback. */
.region-select-fallback,
.category-tag.is-collapsed,
.mobile-category.is-collapsed {
  display: none !important;
}

.category-more {
  border: 1px dashed rgba(28, 28, 30, 0.18);
  background: transparent;
  color: #2481cc;
}

.region-picker {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.region-picker > span {
  display: none;
}

.region-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 174px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(28, 28, 30, 0.1);
  border-radius: 8px;
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  text-align: left;
}

.region-trigger img {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.region-trigger span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-trigger .region-trigger-chevron {
  width: 15px;
  height: 15px;
  opacity: 0.55;
}

.region-trigger:hover,
.region-trigger:focus-visible {
  border-color: rgba(36, 129, 204, 0.5);
  outline: none;
}

.region-modal-card {
  width: min(560px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 48px));
  overflow: hidden;
  padding: 28px;
  border-radius: 16px;
}

.region-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(28, 28, 30, 0.12);
  border-radius: 9px;
  background: var(--bg-surface-secondary);
  color: var(--text-primary);
  font: inherit;
  outline: none;
}

.region-search input:focus {
  border-color: #2481cc;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(36, 129, 204, 0.12);
}

.region-quick-actions {
  display: flex;
  gap: 8px;
  margin: 14px 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.region-quick-actions::-webkit-scrollbar {
  display: none;
}

.region-quick-actions button {
  min-height: 36px;
  flex: 0 0 auto;
  padding: 0 12px;
  border-radius: 8px;
  background: #eaf4fc;
  color: #1262a3;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}

.region-option-list {
  max-height: min(390px, 48vh);
  overflow-y: auto;
  border-top: 1px solid rgba(28, 28, 30, 0.08);
}

.region-option-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 48px;
  padding: 8px 4px;
  border-bottom: 1px solid rgba(28, 28, 30, 0.07);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.region-option-list button:hover,
.region-option-list button.is-active {
  color: #126fb2;
}

.region-option-list button small {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 650;
}

.region-empty {
  padding: 24px 0 8px;
  color: var(--text-secondary);
  text-align: center;
}

body.is-search-mode .curated-section,
body.is-search-mode .personal-lists,
body.is-search-mode .featured-slider,
body.is-filtered-mode .featured-slider {
  display: none !important;
}

body.is-search-mode .hero,
body.is-filtered-mode .hero {
  padding-bottom: 18px;
}

body.is-search-mode .hero-proof,
body.is-search-mode .desktop-search-hints {
  display: none;
}

.site-home .bot-card {
  gap: 12px;
  min-height: 212px;
  padding: 18px;
  border: 1px solid rgba(28, 28, 30, 0.08);
  border-radius: 12px;
  box-shadow: none;
}

.site-home .bot-card:hover {
  border-color: rgba(36, 129, 204, 0.24);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(20, 25, 35, 0.08);
}

.site-home .bot-avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
}

.site-home .bot-info h3 {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.site-home .bot-meta {
  gap: 6px;
  overflow: hidden;
  color: var(--text-secondary);
  white-space: nowrap;
}

.site-home .bot-meta > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-home .bot-meta > span + span::before {
  content: "·";
  margin-right: 6px;
  color: rgba(28, 28, 30, 0.28);
}

.site-home .rating::before {
  display: none;
}

.site-home .bot-desc {
  min-height: 38px;
  font-size: 13px;
  line-height: 1.45;
}

.site-home .bot-footer {
  padding-top: 12px;
}

.site-home .status {
  min-width: 0;
  color: var(--text-secondary);
  line-height: 1.25;
}

.site-home .status::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
}

.site-home .card-actions {
  flex: 0 0 auto;
}

.site-home .card-actions .btn,
.site-home .rate-btn {
  min-height: 42px;
  border-radius: 9px;
}

.site-home .card-actions .btn {
  min-width: 92px;
  padding: 0 16px;
}

.site-home .rate-btn {
  min-width: 42px;
  padding: 0;
}

.personal-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.profile-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ux-toast {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 260;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 9px;
  background: #1c1c1e;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.ux-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.report-card {
  width: min(500px, calc(100vw - 32px));
  padding: 28px;
  border-radius: 16px;
}

.report-card form,
.report-reasons {
  display: grid;
  gap: 10px;
}

.report-reasons {
  margin-bottom: 14px;
}

.report-reasons label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(28, 28, 30, 0.09);
  border-radius: 8px;
  background: var(--bg-surface-secondary);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
}

.report-card form > label {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 650;
}

.report-card textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(28, 28, 30, 0.12);
  border-radius: 8px;
  color: var(--text-primary);
  font: inherit;
  resize: vertical;
}

.report-message {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 59, 48, 0.1);
  color: #b42318;
  font-size: 13px;
  font-weight: 700;
}

.report-message.is-success {
  background: rgba(52, 199, 89, 0.12);
  color: #18763a;
}

@media (min-width: 641px) {
  body.is-search-mode .bots-section,
  body.is-filtered-mode .bots-section {
    margin-top: 8px;
  }

  .site-home .bot-grid {
    gap: 14px;
  }

  .site-home .desktop-filter-bar {
    gap: 8px;
  }
}

@media (max-width: 640px) {
  body.is-search-mode .mobile-categories,
  body.is-search-mode .mobile-trust,
  body.is-search-mode .curated-section-mobile,
  body.is-search-mode .personal-lists,
  body.is-search-mode .mobile-featured-slider,
  body.is-search-mode .mobile-rules,
  body.is-search-mode .mobile-add-card,
  body.is-search-mode .mobile-footer,
  body.is-filtered-mode .mobile-featured-slider {
    display: none !important;
  }

  body.is-search-mode .mobile-hero {
    padding-bottom: 6px;
  }

  body.is-search-mode .mobile-kicker,
  body.is-search-mode .mobile-hero h1,
  body.is-search-mode .mobile-hero-copy,
  body.is-search-mode .mobile-search-hints {
    display: none;
  }

  body.is-search-mode .mobile-section-head {
    margin-top: 14px;
  }

  .mobile-categories {
    scroll-margin-top: 74px;
  }

  .mobile-category.category-more {
    color: #2481cc;
  }

  .mobile-catalog-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }

  .mobile-catalog-filters > label,
  .mobile-catalog-filters select,
  .region-trigger-mobile {
    width: 100%;
    min-width: 0;
  }

  .region-trigger-mobile {
    min-height: 44px;
  }

  .region-modal {
    align-items: flex-end;
    padding: 0;
  }

  .region-modal-card {
    width: 100%;
    max-height: min(82vh, 720px);
    padding: 24px 18px max(18px, env(safe-area-inset-bottom));
    border-radius: 16px 16px 0 0;
  }

  .region-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .region-quick-actions button {
    width: 100%;
    min-width: 0;
    padding-inline: 8px;
    white-space: normal;
  }

  .region-quick-actions [data-region-saved]:not([hidden]) {
    grid-column: 1 / -1;
  }

  .site-home .mobile-list {
    padding: 2px 12px;
    border: 1px solid rgba(28, 28, 30, 0.07);
    border-radius: 12px;
    box-shadow: none;
  }

  .site-home .mobile-list-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 38px 86px;
    gap: 10px;
    min-height: 88px;
    padding: 10px 0;
  }

  .site-home .mobile-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }

  .site-home .mobile-item-title {
    font-size: 15px;
    font-weight: 800;
  }

  .site-home .mobile-item-description {
    margin-top: 2px;
    overflow: hidden;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-home .mobile-item-meta {
    gap: 5px;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
  }

  .site-home .mobile-item-meta > span {
    min-width: 0;
    flex: 0 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-home .mobile-item-meta > span:last-child {
    color: #238246;
  }

  .site-home .mobile-rate {
    width: 38px;
    height: 38px;
    border-radius: 9px;
  }

  .site-home .mobile-open {
    min-width: 86px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    background: #eaf4fc;
    font-size: 13px;
    font-weight: 800;
  }

  .personal-columns {
    grid-template-columns: 1fr;
  }

  .profile-header-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .mobile-bottom-nav {
    justify-content: space-between;
  }

  .mobile-bottom-item {
    flex: 1;
    min-width: 0;
  }

  .mobile-bottom-icon {
    width: 22px;
    height: 22px;
    opacity: 0.55;
  }

  .mobile-bottom-item.is-active .mobile-bottom-icon {
    opacity: 1;
    filter: invert(31%) sepia(98%) saturate(3308%) hue-rotate(214deg) brightness(98%) contrast(105%);
  }

  .mobile-bottom-icon-home::before,
  .mobile-bottom-icon-home::after,
  .mobile-bottom-icon-search::before,
  .mobile-bottom-icon-search::after,
  .mobile-bottom-icon-top::before,
  .mobile-bottom-icon-top::after,
  .mobile-bottom-icon-add::before,
  .mobile-bottom-icon-add::after {
    display: none;
  }

  .ux-toast {
    right: 16px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    left: 16px;
    text-align: center;
  }

  .report-modal {
    align-items: flex-end;
    padding: 0;
  }

  .report-card {
    width: 100%;
    padding: 24px 18px max(18px, env(safe-area-inset-bottom));
    border-radius: 16px 16px 0 0;
  }
}

.seo-bot-capabilities,
.seo-bot-usage {
  max-width: 760px;
  margin: 22px 0 0;
}

.seo-bot-capabilities h2,
.seo-bot-usage h2 {
  margin-bottom: 10px;
  color: var(--text-primary);
  font-size: 20px;
  line-height: 1.2;
}

.seo-bot-usage ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
}

.seo-bot-usage li {
  position: relative;
  padding-left: 18px;
}

.seo-bot-usage li::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2481cc;
}

.seo-bot-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}

.seo-bot-facts div {
  min-height: 92px;
  padding: 14px;
  border-radius: 8px;
}

.seo-report-button {
  min-height: 40px;
  margin-top: 4px;
  padding: 0;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.is-modal-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .seo-bot-facts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .seo-bot-capabilities h2,
  .seo-bot-usage h2 {
    font-size: 18px;
  }

  .seo-bot-facts {
    grid-template-columns: 1fr;
  }

  .seo-bot-facts div {
    min-height: 0;
  }

  .seo-bot-detail > .seo-actions {
    grid-template-columns: minmax(0, 1fr) minmax(108px, auto);
  }
}

/* Catalog UI review, 2026-11-05. */
#popular, #mobile-top { scroll-margin-top:160px; }
.auth-message { background:var(--bg-surface-tertiary,#f0f3f6);color:var(--text-secondary,#4f5966);font-weight:500; }
.hero { padding-top:32px; padding-bottom:24px; }
.desktop-kicker { text-transform:none;letter-spacing:0; }
@media(min-width:641px) { .hero .search-box { position:relative; } }
.auth-message.is-error { background:rgba(229,77,46,.1);color:var(--graph-red,#b42b22); }
