:root {
  color-scheme: light;
  --bg: #f7f8fc;
  --bg-strong: #edf3ff;
  --panel: rgba(255, 255, 255, 0.75);
  --panel-solid: rgba(255, 255, 255, 0.92);
  --text: #1e293b;
  --muted: #64748b;
  --line: rgba(226, 232, 240, 0.6);
  --brand: #2563eb;
  --brand-strong: #1d4ed8;
  --brand-soft: rgba(37, 99, 235, 0.12);
  --success: #16a34a;
  --success-soft: #dcfce7;
  --danger: #dc2626;
  --danger-soft: #fee2e2;
  --warning: #d97706;
  --price: #ef4444;
  --input-bg: rgba(255, 255, 255, 0.82);
  --chip-bg: rgba(248, 250, 252, 0.78);
  --media-bg: rgba(239, 246, 255, 0.72);
  --glass-highlight: rgba(255, 255, 255, 0.86);
  --shadow: rgba(15, 23, 42, 0.08);
  --shadow-strong: rgba(37, 99, 235, 0.18);
  --loader-bg-start: rgba(239, 246, 255, 0.78);
  --loader-bg-end: rgba(255, 255, 255, 0.72);
  --loader-line: #bfdbfe;
  --loader-text: #1e3a8a;
  --glow-left: rgba(37, 99, 235, 0.16);
  --glow-right: rgba(14, 165, 233, 0.12);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #12141c;
  --bg-strong: #171a24;
  --panel: rgba(24, 28, 40, 0.68);
  --panel-solid: rgba(24, 28, 40, 0.9);
  --text: #e5edf8;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.18);
  --brand: #60a5fa;
  --brand-strong: #93c5fd;
  --brand-soft: rgba(96, 165, 250, 0.16);
  --success: #86efac;
  --success-soft: rgba(22, 163, 74, 0.18);
  --danger: #fca5a5;
  --danger-soft: rgba(220, 38, 38, 0.18);
  --warning: #fbbf24;
  --price: #fb7185;
  --input-bg: rgba(15, 23, 42, 0.78);
  --chip-bg: rgba(30, 41, 59, 0.68);
  --media-bg: rgba(15, 23, 42, 0.74);
  --glass-highlight: rgba(255, 255, 255, 0.08);
  --shadow: rgba(0, 0, 0, 0.3);
  --shadow-strong: rgba(96, 165, 250, 0.2);
  --loader-bg-start: rgba(30, 64, 175, 0.28);
  --loader-bg-end: rgba(15, 23, 42, 0.72);
  --loader-line: rgba(96, 165, 250, 0.35);
  --loader-text: #bfdbfe;
  --glow-left: rgba(37, 99, 235, 0.2);
  --glow-right: rgba(56, 189, 248, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, var(--glow-left), transparent 34rem),
    radial-gradient(circle at top right, var(--glow-right), transparent 28rem),
    linear-gradient(180deg, var(--bg-strong), var(--bg) 360px),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  transition: background 0.28s ease, color 0.28s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

.app {
  display: flex;
  flex-direction: column;
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 14px 0 42px;
}

.app[v-cloak] {
  display: none !important;
}

.app-preloader {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.app:not([v-cloak]) + .app-preloader {
  display: none;
}

.preloader-card {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  background: var(--panel);
  box-shadow: 0 22px 60px var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: preloader-rise 0.42s ease both;
}

.preloader-ring {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 4px solid var(--brand-soft);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: preloader-spin 0.9s linear infinite;
}

.preloader-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.preloader-copy strong {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.preloader-copy p {
  color: var(--muted);
  font-size: 13px;
}

.preloader-lines {
  display: grid;
  gap: 6px;
  margin-top: 2px;
}

.preloader-lines span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--chip-bg), var(--brand-soft), var(--chip-bg));
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.preloader-lines span:nth-child(1) {
  width: 180px;
}

.preloader-lines span:nth-child(2) {
  width: 130px;
}

.preloader-lines span:nth-child(3) {
  width: 92px;
}

.hero,
.panel,
.card,
.stats,
.result-toolbar,
.pager,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 18px 48px var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero {
  order: 1;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  padding: 14px 18px;
}

.hero::before {
  position: absolute;
  inset: -160% auto auto 42%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(14, 165, 233, 0.08));
  content: "";
  filter: blur(6px);
}

.hero-copy,
.hero-side {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 720px;
}

.hero-side {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h2 {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.muted,
.card-head p,
.desc,
.meta,
.toolbar-meta,
.sync-card small,
.stat-card small {
  color: var(--muted);
}

.hero .muted {
  display: none;
}

.hero-tags {
  display: none;
}

.hero-tags span,
.toolbar-meta span,
.meta span,
.actions a,
.card-topline span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--chip-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.theme-toggle,
.sync-card {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--input-bg);
  color: var(--text);
  box-shadow: 0 10px 28px var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  white-space: nowrap;
}

.theme-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px var(--brand-soft);
}

.sync-card {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  white-space: nowrap;
}

.sync-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.sync-card strong {
  font-size: 14px;
}

.sync-card small {
  font-size: 12px;
}

.stats {
  order: 4;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding: 10px;
}

.stat-card {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 13px;
  background: linear-gradient(180deg, var(--glass-highlight), transparent);
}

.stat-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.stat-card strong {
  overflow: hidden;
  font-size: clamp(21px, 2.2vw, 28px);
  letter-spacing: -0.05em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-card.accent {
  border-color: rgba(37, 99, 235, 0.34);
  background: linear-gradient(135deg, var(--brand-soft), var(--panel-solid));
}

.panel {
  order: 2;
  margin-top: 12px;
  padding: 18px 20px;
}

.search-panel {
  position: sticky;
  top: 12px;
  z-index: 20;
  background: var(--panel);
  box-shadow: 0 18px 48px var(--shadow), 0 1px 0 var(--line);
}

.panel-title,
.result-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.panel-title p:last-child {
  color: var(--muted);
  font-size: 13px;
}

.search-title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.search-sync-time {
  display: inline-flex;
  align-items: center;
  max-width: min(360px, 60vw);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--chip-bg);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.8fr) repeat(6, minmax(104px, 1fr));
  gap: 10px;
  margin-top: 14px;
  align-items: end;
}

.mobile-shop-search,
.mobile-filter-mask,
.mobile-filter-sheet {
  display: none;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.keyword-field {
  min-width: 0;
}

.price-range-field {
  grid-column: 1 / span 5;
  min-width: 0;
}

.field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

input,
select,
button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0 12px;
  background: var(--input-bg);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

input:focus,
select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.price-range {
  display: grid;
  grid-template-columns: minmax(72px, 1fr) 12px minmax(72px, 1fr);
  align-items: center;
  gap: 7px;
}

.price-range em {
  display: block;
  height: 1px;
  border-radius: 999px;
  background: var(--line);
}

button {
  border: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px var(--shadow-strong);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.form-actions {
  display: flex;
  grid-column: 6 / -1;
  gap: 8px;
  justify-content: flex-end;
}

.form-actions button {
  padding-inline: 14px;
  white-space: nowrap;
}

.secondary {
  border: 1px solid var(--line);
  background: var(--chip-bg);
  color: var(--brand);
}

.error {
  margin-top: 14px;
  border: 1px solid var(--danger-soft);
  border-radius: 15px;
  padding: 12px 14px;
  background: var(--danger-soft);
  color: var(--danger);
  font-weight: 800;
}

.loader-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  border: 1px solid var(--loader-line);
  border-radius: 22px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--loader-bg-start), var(--loader-bg-end));
  color: var(--loader-text);
}

.loader-panel strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.loader-panel p {
  color: var(--muted);
  font-size: 13px;
}

.pl {
  overflow: visible;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 20px rgba(37, 99, 235, 0.18));
}

.pl__ring-rotate {
  transform-box: view-box;
  transform-origin: center;
  animation: loader-ring-rotate 2s linear infinite;
}

.pl__ring-stroke {
  animation: loader-ring-stroke 1.6s ease-in-out infinite;
}

.pl__tick {
  animation: loader-tick 1.6s ease-in-out infinite;
}

.pl__arrows {
  transform-box: fill-box;
  transform-origin: 16px 52px;
  animation: loader-arrows 2s linear infinite;
}

.shop-submit-panel {
  order: 3;
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(320px, 1.35fr);
  gap: 12px 16px;
  align-items: end;
}

.shop-submit-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.shop-submit-copy p:last-child,
.shop-submit-tip {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.shop-submit-form {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) minmax(120px, 0.8fr) auto;
  gap: 8px;
}

.shop-submit-form button {
  white-space: nowrap;
}

.shop-submit-message,
.shop-submit-tip {
  grid-column: 1 / -1;
}

.shop-submit-message {
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
}

.shop-submit-message.success {
  border: 1px solid rgba(22, 163, 74, 0.22);
  background: var(--success-soft);
  color: var(--success);
}

.shop-submit-message.error {
  border: 1px solid rgba(220, 38, 38, 0.22);
  background: var(--danger-soft);
  color: var(--danger);
}

.result-toolbar {
  order: 5;
  margin-top: 12px;
  padding: 15px 18px;
}

.toolbar-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 680px;
  font-size: 12px;
  font-weight: 800;
}

.keyword-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  max-width: 680px;
}

.keyword-chips > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.keyword-chips button {
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  background: var(--chip-bg);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.grid {
  order: 6;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.card {
  position: relative;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 14px;
  transition: border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--glass-highlight), transparent 42%),
    radial-gradient(circle at 14% 0, var(--brand-soft), transparent 40%);
  content: "";
  opacity: 0.78;
  pointer-events: none;
}

.card:hover {
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 26px 68px var(--shadow), 0 0 0 1px rgba(37, 99, 235, 0.06);
  transform: translateY(-3px);
}

.card > * {
  position: relative;
  z-index: 1;
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-card::before {
  opacity: 0.5;
}

.card-media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.18), transparent 32%),
    linear-gradient(135deg, var(--media-bg), var(--panel-solid));
  color: var(--brand);
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-media span {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.skeleton-media {
  background: linear-gradient(90deg, var(--chip-bg), var(--brand-soft), var(--chip-bg));
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.25s ease-in-out infinite;
}

.skeleton-line {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--chip-bg), var(--brand-soft), var(--chip-bg));
  background-size: 220% 100%;
  animation: skeleton-shimmer 1.25s ease-in-out infinite;
}

.skeleton-pill {
  width: 92px;
  height: 30px;
}

.skeleton-pill.short {
  width: 68px;
}

.skeleton-line.title {
  width: min(320px, 70vw);
  height: 26px;
  margin-bottom: 10px;
}

.skeleton-line.subtitle {
  width: 190px;
  height: 16px;
}

.skeleton-line.price {
  width: 78px;
  height: 30px;
}

.skeleton-line.desc-line {
  width: 88%;
  height: 14px;
  border-radius: 12px;
}

.skeleton-line.desc-line.wide {
  width: 100%;
}

.skeleton-button {
  width: 94px;
  height: 32px;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-topline span,
.meta span {
  font-size: 12px;
  font-weight: 800;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.card-head > div:first-child {
  min-width: 0;
}

.card-head h2 {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}

.price-block {
  display: grid;
  justify-items: end;
  gap: 4px;
  flex: 0 0 auto;
}

.price-block small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: line-through;
}

.price-block strong {
  color: var(--price);
  font-size: 26px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.desc {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.62;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.meta,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-online {
  border-color: rgba(22, 163, 74, 0.22) !important;
  background: var(--success-soft) !important;
  color: var(--success);
}

.status-offline {
  border-color: rgba(220, 38, 38, 0.22) !important;
  background: var(--danger-soft) !important;
  color: var(--danger);
}

.source-pill {
  color: var(--brand);
}

.stock-pill {
  color: var(--brand);
}

.actions {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  padding-top: 2px;
}

.actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-color: rgba(37, 99, 235, 0.2);
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.actions a + a {
  border-color: var(--line);
  background: var(--chip-bg);
  color: var(--brand);
}

.actions a:only-child {
  grid-column: 1 / -1;
}

.actions a:hover {
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 12px 26px var(--shadow-strong);
  transform: translateY(-1px);
}

.empty-state,
.pager {
  order: 7;
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 18px;
  text-align: center;
}

.empty-state strong {
  font-size: 18px;
}

.empty-state p {
  color: var(--muted);
}

.load-progress {
  overflow: hidden;
  width: min(420px, 100%);
  height: 8px;
  border-radius: 999px;
  background: var(--chip-bg);
}

.load-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #22c55e);
  transition: width 0.2s ease;
}

.pager button {
  min-width: 180px;
}

@keyframes loader-ring-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes loader-ring-stroke {
  0%,
  100% {
    stroke-dashoffset: 452;
  }

  50% {
    stroke-dashoffset: 90;
  }
}

@keyframes loader-tick {
  0%,
  30% {
    stroke-dashoffset: 12;
  }

  60%,
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes loader-arrows {
  from {
    transform: rotate(45deg);
  }

  to {
    transform: rotate(405deg);
  }
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 120% 0;
  }

  100% {
    background-position: -120% 0;
  }
}

@keyframes preloader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes preloader-rise {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mobile-filter-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mobile-filter-drawer-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 1040px) {
  .stats,
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .keyword-field,
  .price-range-field,
  .form-actions {
    grid-column: 1 / -1;
  }

  .field,
  .keyword-field,
  .price-range-field {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  body {
    background:
      radial-gradient(circle at top left, var(--glow-left), transparent 210px),
      linear-gradient(180deg, var(--bg-strong), var(--bg) 220px),
      var(--bg);
  }

  .app {
    width: min(100% - 16px, 1180px);
    padding-top: 8px;
    padding-bottom: 28px;
  }

  .hero,
  .panel,
  .card,
  .stats,
  .result-toolbar,
  .pager,
  .empty-state {
    border-radius: 18px;
    box-shadow: 0 10px 26px var(--shadow);
  }

  .hero,
  .panel-title,
  .result-toolbar {
    align-items: stretch;
  }

  .hero {
    gap: 10px;
    padding: 12px 14px;
  }

  .hero::before {
    inset: -110px -40px auto auto;
    width: 190px;
    height: 190px;
  }

  .hero-copy {
    max-width: none;
  }

  .eyebrow {
    margin-bottom: 5px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  h1 {
    font-size: 22px;
    letter-spacing: -0.045em;
  }

  h2 {
    font-size: 18px;
  }

  .search-title-line {
    gap: 7px;
  }

  .search-sync-time {
    max-width: 100%;
    padding: 4px 8px;
    font-size: 11px;
  }

  .hero-side {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-top: 2px;
    scrollbar-width: none;
  }

  .hero-side::-webkit-scrollbar,
  .stats::-webkit-scrollbar,
  .toolbar-meta::-webkit-scrollbar {
    display: none;
  }

  .theme-toggle,
  .sync-card {
    min-height: 34px;
    border-radius: 999px;
    padding: 0 11px;
    box-shadow: none;
  }

  .theme-toggle {
    flex: 0 0 auto;
  }

  .theme-dot {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 5px var(--brand-soft);
  }

  .sync-card {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
  }

  .sync-card strong {
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sync-card small {
    display: none;
  }

  .search-panel {
    position: sticky;
    top: 0;
    z-index: 40;
    margin-inline: -8px;
    border-radius: 0 0 18px 18px;
    padding: 8px;
  }

  .panel-title {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
  }

  .panel-title p:last-child {
    display: none;
    max-width: 48%;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 10px;
    background: var(--chip-bg);
    font-size: 12px;
    font-weight: 800;
    text-align: right;
  }

  .search-bar {
    display: none;
  }

  .mobile-shop-search {
    display: grid;
    gap: 8px;
  }

  .mobile-search-row {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .mobile-search-box {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 12px;
    background: var(--input-bg);
  }

  .mobile-search-box span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
  }

  .mobile-search-box input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .mobile-reset-button,
  .mobile-filter-button {
    flex: 0 0 auto;
    min-height: 38px;
    border-radius: 999px;
    padding-inline: 14px;
  }

  .mobile-reset-button {
    border: 1px solid var(--line);
    background: var(--chip-bg);
    color: var(--brand);
  }

  .mobile-keyword-row {
    display: flex;
    align-items: center;
    gap: 7px;
    overflow-x: auto;
    margin-right: -8px;
    padding: 0 16px 1px 0;
    scrollbar-width: none;
  }

  .mobile-keyword-row::-webkit-scrollbar {
    display: none;
  }

  .mobile-keyword-row span,
  .mobile-keyword-row button {
    flex: 0 0 auto;
    min-height: 28px;
    border-radius: 999px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 900;
  }

  .mobile-keyword-row span {
    color: var(--muted);
  }

  .mobile-keyword-row button {
    border: 1px solid var(--line);
    background: var(--chip-bg);
    color: var(--brand);
  }

  .mobile-filter-mask {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: block;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
  }

  .mobile-filter-sheet {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(86vw, 390px);
    max-width: calc(100vw - 46px);
    height: 100vh;
    height: 100dvh;
    border-radius: 18px 0 0 18px;
    padding: calc(14px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom));
    background: var(--panel);
    box-shadow: -20px 0 60px rgba(15, 23, 42, 0.26);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: mobile-filter-drawer-in 0.22s ease both;
  }

  .mobile-filter-sheet.open {
    transform: translateX(0);
  }

  .mobile-filter-head,
  .mobile-filter-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .mobile-filter-head {
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
  }

  .mobile-filter-head strong {
    font-size: 18px;
  }

  .mobile-filter-head button {
    min-height: 32px;
    border: 1px solid var(--line);
    background: var(--chip-bg);
    color: var(--muted);
    font-size: 12px;
  }

  .mobile-filter-body {
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 12px;
    overflow-y: auto;
    padding: 14px 0;
  }

  .mobile-filter-body .price-range-field {
    grid-column: 1 / -1;
  }

  .mobile-filter-actions {
    border-top: 1px solid var(--line);
    padding-top: 10px;
    background: transparent;
  }

  .mobile-filter-actions button {
    flex: 1 1 0;
  }

  .keyword-field,
  .price-range-field,
  .form-actions {
    grid-column: 1 / -1;
  }

  .field {
    gap: 5px;
  }

  .field span {
    font-size: 11px;
  }

  input,
  select,
  button {
    min-height: 38px;
    border-radius: 13px;
    padding: 0 10px;
    font-size: 14px;
  }

  .price-range {
    grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr);
    gap: 7px;
  }

  .form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .form-actions button {
    width: 100%;
    padding-inline: 8px;
  }

  .error {
    margin-top: 10px;
    border-radius: 13px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .shop-submit-panel {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
    padding: 12px;
  }

  .shop-submit-copy {
    gap: 4px;
  }

  .shop-submit-copy h2 {
    font-size: 16px;
  }

  .shop-submit-copy p:last-child,
  .shop-submit-tip {
    font-size: 12px;
  }

  .shop-submit-form {
    grid-template-columns: 1fr;
  }

  .shop-submit-form button {
    width: 100%;
  }

  .stats {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border: 0;
    padding: 0 0 2px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .stat-card {
    flex: 0 0 118px;
    gap: 3px;
    border-radius: 15px;
    padding: 10px;
  }

  .stat-card span,
  .stat-card small {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .stat-card strong {
    font-size: 20px;
  }

  .result-toolbar {
    flex-direction: column;
    gap: 10px;
    padding: 12px 13px;
  }

  .toolbar-meta {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    max-width: none;
    padding-bottom: 2px;
  }

  .keyword-chips {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: none;
  }

  .keyword-chips button,
  .toolbar-meta span,
  .meta span,
  .actions a,
  .card-topline span {
    padding: 5px 8px;
    font-size: 11px;
  }

  .loader-panel {
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
    border-radius: 15px;
    padding: 10px;
  }

  .pl {
    width: 44px;
    height: 44px;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  .card {
    min-width: 0;
    gap: 8px;
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 6px 18px var(--shadow);
  }

  .card-media {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    font-size: 25px;
  }

  .card-media span {
    width: 48px;
    height: 48px;
    border-radius: 18px;
  }

  .card-head {
    flex-direction: column;
    gap: 5px;
    min-width: 0;
  }

  .card-head h2 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.34;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow-wrap: anywhere;
  }

  .card-head p {
    margin-top: 3px;
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .price-block {
    justify-items: start;
    gap: 3px;
  }

  .price-block small {
    font-size: 10px;
  }

  .price-block strong {
    font-size: 18px;
    white-space: normal;
  }

  .desc {
    min-height: 34px;
    font-size: 11px;
    line-height: 1.5;
    -webkit-line-clamp: 2;
  }

  .meta,
  .actions {
    gap: 5px;
    min-width: 0;
  }

  .card-topline {
    align-items: flex-start;
    min-width: 0;
  }

  .card-topline span {
    min-width: 0;
    max-width: 58%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .source-pill {
    flex: 0 1 auto;
    max-width: 48% !important;
  }

  .meta span {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 0;
  }

  .actions a {
    min-height: 30px;
    min-width: 0;
    overflow: hidden;
    padding-inline: 6px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .empty-state,
  .pager {
    border-radius: 16px;
    padding: 14px;
  }

  .pager button {
    width: 100%;
    min-width: 0;
  }
}
