﻿:root {
  --bg: #f6f2e8;
  --bg-deep: #ece3d0;
  --panel: #fffdf8;
  --text: #1e2a2f;
  --muted: #667478;
  --accent: #d64d1f;
  --accent-2: #0e8f84;
  --line: #dfd4c1;
  --shadow: 0 12px 32px rgba(57, 46, 30, 0.12);
  --radius: 16px;
  --font-sans: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-synthesis: none;
  color: var(--text);
  background: var(--bg);
}

body {
  min-height: 100vh;
  position: relative;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(214, 77, 31, 0.2), transparent 38%),
    radial-gradient(circle at 95% 0%, rgba(14, 143, 132, 0.18), transparent 32%),
    linear-gradient(120deg, var(--bg), var(--bg-deep));
  z-index: -1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 22px;
  background: rgba(255, 252, 245, 0.82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #f58a2f);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand-title {
  font-weight: 800;
  font-size: 18px;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--muted);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.topnav a {
  text-decoration: none;
  color: var(--text);
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 14px;
  transition: 160ms ease;
}

.topnav a:hover,
.topnav a.active {
  background: #fff;
  color: var(--accent);
}

.mobile-nav-toggle {
  display: none;
}

.container {
  max-width: 1220px;
  margin: 20px auto 28px;
  padding: 0 18px;
}

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

#kpi-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kpi-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}

.kpi-card .label {
  color: var(--muted);
  font-size: 12px;
}

.kpi-card .value {
  margin-top: 8px;
  font-size: 24px;
  font-weight: 800;
}

.kpi-card .delta {
  margin-top: 6px;
  font-size: 13px;
}

#kpi-cards .kpi-card {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#kpi-cards .kpi-card .label {
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 600;
}

#kpi-cards .kpi-card .value {
  margin-top: 8px;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1;
}

#kpi-cards .kpi-card .delta {
  margin-top: 8px;
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 600;
}

.delta.up {
  color: #1d915f;
}

.delta.warn {
  color: #bc4b15;
}

.data-state {
  min-height: 120px;
  border: 1px dashed #e5cdb9;
  border-radius: 12px;
  background: #fffaf4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  text-align: center;
}

.data-state.is-compact {
  min-height: 0;
}

.data-state p {
  margin: 0;
}

.skeleton-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf9;
  padding: 12px;
}

.skeleton-line {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f1e3d5 0%, #fff7ef 50%, #f1e3d5 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
}

.skeleton-line + .skeleton-line {
  margin-top: 10px;
}

.skeleton-line.wide {
  width: 100%;
}

.skeleton-line.medium {
  width: 72%;
}

.skeleton-line.short {
  width: 46%;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.landing-hero {
  display: block;
}

.landing-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: 0.6px;
}

.landing-lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: clamp(18px, 1.4vw, 26px);
  max-width: 26ch;
  font-weight: 500;
}

.landing-hero-main {
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 18%, rgba(14, 143, 132, 0.12), transparent 36%),
    radial-gradient(circle at 84% 88%, rgba(214, 77, 31, 0.1), transparent 30%),
    #fff;
  padding: 36px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.landing-hero-content {
  width: min(920px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.landing-recommend-panel {
  width: 100%;
  text-align: center;
}

.landing-hero-main .filter-row {
  justify-content: center;
}

.landing-cta-row {
  margin-top: 6px;
  padding: 8px;
  border: 1px solid #f0d8c8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  gap: 12px;
}

.landing-mini-list {
  display: grid;
  gap: 8px;
}

.landing-mini-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: #fffdf9;
  text-align: center;
}

.landing-mini-item .title {
  font-weight: 700;
}

.landing-mini-item .meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.landing-feature {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  text-align: center;
}

.landing-feature h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.landing-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.landing-provider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.landing-provider-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.landing-provider-card h3 {
  margin: 0 0 8px;
}

.landing-provider-card .line {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.floating-telegram {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: none;
}

.floating-telegram.is-visible {
  display: block;
}

.floating-telegram-link {
  display: block;
  width: 164px;
  height: 54px;
  text-decoration: none;
  perspective: 1200px;
  transition: transform 160ms ease;
}

.floating-telegram-link:hover {
  transform: translateY(-2px);
}

.floating-telegram-link-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 320ms ease;
}

.floating-telegram-link.is-flipped .floating-telegram-link-inner {
  transform: rotateY(180deg);
}

.floating-telegram-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  backface-visibility: hidden;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 34px rgba(214, 77, 31, 0.24);
}

.floating-telegram-front {
  border: 1px solid #cc5a2e;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(135deg, var(--accent), #ef7f31);
  color: #fff;
}

.floating-telegram-back {
  border: 1px solid #e3a37f;
  background:
    radial-gradient(circle at top right, rgba(214, 77, 31, 0.12), transparent 34%),
    linear-gradient(135deg, #fffaf4, #fff2e8);
  color: var(--accent);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 18px;
  transform: rotateY(180deg);
}

.floating-telegram-link.is-disabled {
  pointer-events: none;
}

.floating-telegram-link.is-disabled .floating-telegram-front {
  border: 1px dashed #c5d2d0;
  background: #edf3f2;
  box-shadow: none;
  color: var(--muted);
}

.floating-telegram-link.is-disabled .floating-telegram-back {
  border: 1px dashed #d4ddd9;
  background: #f5f8f7;
  box-shadow: none;
  color: var(--muted);
}

.view-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 14px;
}

.review-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 14px;
}

.why-hero h2 {
  margin-bottom: 10px;
}

.why-hero p {
  margin: 0;
  max-width: 68ch;
}

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

.why-grid .panel {
  margin-bottom: 0;
}

.why-card h3 {
  margin-bottom: 8px;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.why-checklist ol {
  margin: 0;
  padding-left: 20px;
}

.why-checklist li {
  margin-bottom: 8px;
}

.why-article {
  max-width: 940px;
  margin: 0 auto 14px;
}

.why-article h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.1vw, 42px);
  line-height: 1.25;
}

.why-article h2 {
  margin: 24px 0 10px;
  font-size: clamp(22px, 2.2vw, 30px);
}

.why-article h3 {
  margin: 16px 0 8px;
  font-size: clamp(18px, 1.7vw, 24px);
}

.why-article p {
  margin: 0 0 14px;
}

.why-article ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.why-article li {
  margin-bottom: 8px;
}

.why-article hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 16px 0;
}

.guide-panel {
  max-width: 760px;
  margin: 0 auto 14px;
}

.guide-panel .panel-head {
  display: block;
  margin-bottom: 16px;
  text-align: center;
}

.guide-panel .panel-head h2 {
  margin: 0;
  width: 100%;
  text-align: center;
}

.guide-grid {
  display: grid;
  gap: 10px;
}

.guide-link-card {
  display: block;
  padding: 14px 16px;
  border: 1px solid #f1a185;
  border-radius: 12px;
  background: #fff;
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
  transition: 160ms ease;
}

.guide-link-card:hover {
  background: #fff5ee;
  border-color: #e3865f;
}

.review-sidebar {
  position: sticky;
  top: 84px;
  height: fit-content;
}

.vendor-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.vendor-item {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  text-align: left;
}

.vendor-item.active {
  border-color: #e68b68;
  background: #fff0e7;
}

.vendor-item .name {
  font-weight: 700;
}

.vendor-item .meta {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.review-main {
  display: grid;
  gap: 14px;
}

.hero-review h2 {
  margin-bottom: 4px;
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.tag {
  background: #fff7ef;
  color: #b55724;
  border: 1px solid #f2be9d;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.review-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.review-list {
  margin: 0;
  padding-left: 20px;
}

.review-list li {
  margin-bottom: 6px;
}

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

.product-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.product-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.product-card-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.product-card-title h3 {
  margin: 0;
}

.product-buy-link {
  border: 1px solid #f1a185;
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--accent);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.product-buy-link:hover {
  background: #fff5ee;
}

.product-card .price {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-2);
}

.product-card .desc {
  color: var(--muted);
  font-size: 13px;
}

.plan-spec-block {
  margin-top: 10px;
  border: 1px dashed #e8c5ab;
  border-radius: 10px;
  background: #fff8f2;
  padding: 10px;
}

.plan-spec-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
}

.plan-spec-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.plan-spec-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  text-align: center;
}

.plan-spec-grid span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.plan-spec-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}

.plan-route-grid-wrap {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  padding-bottom: 6px;
}

.plan-slide-wrap {
  align-items: stretch;
}

.plan-slide-note {
  margin: 8px 0 0;
  font-size: 12px;
}

.plan-route-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffcf8;
  padding: 8px;
  min-width: clamp(220px, 72vw, 260px);
  flex: 0 0 clamp(220px, 72vw, 260px);
  scroll-snap-align: start;
}

.plan-slide-card {
  min-width: clamp(230px, 78vw, 280px);
  flex: 0 0 clamp(230px, 78vw, 280px);
}

.plan-slide-card-wide {
  min-width: min(760px, calc(100vw - 32px));
  flex-basis: min(760px, calc(100vw - 32px));
}

.plan-route-title {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-route-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px dashed #eadbcf;
}

.plan-route-row:last-child {
  border-bottom: 0;
}

.plan-route-row span {
  color: var(--muted);
}

.plan-route-row strong {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  color: var(--text);
  font-size: 12px;
}

.plan-slide-kv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed #eadbcf;
  font-size: 13px;
}

.plan-slide-kv-row:last-child {
  border-bottom: 0;
}

.plan-slide-kv-row span {
  color: var(--muted);
  flex: 1 1 auto;
  min-width: 0;
}

.plan-slide-kv-row strong {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
  color: var(--text);
  flex: 0 1 auto;
  max-width: 62%;
  text-align: right;
  white-space: normal;
  word-break: break-word;
}

.plan-slide-table-wrap {
  overflow-x: auto;
}

.plan-slide-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 12px;
}

.plan-slide-table th,
.plan-slide-table td {
  border-bottom: 1px solid #eadbcf;
  padding: 6px 8px;
  text-align: left;
  white-space: nowrap;
}

.plan-slide-table th {
  color: var(--muted);
  font-weight: 700;
  background: #fff7ef;
}

.product-evidence {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 12px;
}

.tip-card {
  border-left: 4px solid var(--accent-2);
  background: #eefaf7;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 8px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  margin-bottom: 14px;
}

.panel h2,
.panel h3 {
  margin: 0 0 8px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.home-product-head {
  display: grid;
  justify-items: start;
  align-items: start;
  gap: 8px;
}

.home-product-title-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.home-product-head h2,
.home-product-head .muted {
  margin: 0;
}

.home-provider-promo-slot {
  width: 100%;
}

.home-provider-promo-slot:empty {
  display: none;
}

.home-provider-promo-shell {
  width: 100%;
  display: grid;
  gap: 12px;
}

.home-provider-promo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.home-provider-promo-head h3 {
  margin: 0;
}

.home-provider-promo-grid,
.landing-promo-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.promo-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #efcfb9;
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, rgba(214, 77, 31, 0.08), transparent 34%),
    linear-gradient(135deg, #fffefb, #fff6ee);
  box-shadow: 0 12px 28px rgba(57, 46, 30, 0.08);
}

.promo-card.is-compact {
  padding: 14px;
}

.promo-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.promo-card-head h3 {
  margin: 4px 0 0;
  font-size: 18px;
  line-height: 1.35;
}

.promo-provider {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.promo-badge,
.promo-summary-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(214, 77, 31, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.promo-summary-badge {
  margin-top: 6px;
}

.promo-summary-badge.is-empty,
.promo-summary-badge.is-loading {
  background: rgba(102, 116, 120, 0.12);
  color: var(--muted);
}

.promo-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.promo-price-row strong {
  font-size: 24px;
  line-height: 1;
}

.promo-price-original {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 13px;
}

.promo-code {
  width: fit-content;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(14, 143, 132, 0.12);
  color: var(--accent-2);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  word-break: break-all;
}

.promo-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.promo-specs span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #f1decd;
  color: var(--muted);
  font-size: 12px;
}

.promo-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.promo-expiry {
  font-size: 12px;
  color: var(--muted);
}

.promo-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.home-promo-card {
  width: min(100%, 176px);
  min-width: 160px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: 1200px;
  font: inherit;
}

.home-promo-card-static {
  cursor: default;
}

.home-promo-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 14px;
}

.home-promo-card-inner {
  position: relative;
  display: block;
  min-height: 102px;
  transform-style: preserve-3d;
  transition: transform 320ms ease;
}

.home-promo-card.is-flipped .home-promo-card-inner {
  transform: rotateY(180deg);
}

.home-promo-face {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 88px;
  padding: 10px 12px;
  border: 1px solid #efb39a;
  border-radius: 12px;
  backface-visibility: hidden;
  box-shadow: 0 12px 28px rgba(57, 46, 30, 0.12);
  text-align: left;
}

.home-promo-face-static {
  position: relative;
  inset: auto;
  transform: none;
}

.home-promo-front {
  background:
    radial-gradient(circle at top right, rgba(214, 77, 31, 0.14), transparent 35%),
    linear-gradient(135deg, #fffaf4, #fff2e8);
}

.home-promo-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  background:
    radial-gradient(circle at top left, rgba(14, 143, 132, 0.16), transparent 34%),
    linear-gradient(135deg, #f4fffd, #eaf7f5);
}

.home-promo-revealed {
  background:
    radial-gradient(circle at top left, rgba(14, 143, 132, 0.16), transparent 34%),
    linear-gradient(135deg, #f4fffd, #eaf7f5);
}

.home-promo-kicker {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.home-promo-face strong {
  font-size: 18px;
  line-height: 1.2;
  color: var(--text);
}

.home-promo-back strong {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 13px;
  color: var(--accent-2);
  word-break: break-all;
}

.home-promo-revealed strong {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 13px;
  color: var(--accent-2);
  word-break: break-all;
}

.home-promo-tip {
  font-size: 11px;
  color: var(--muted);
}

.home-product-filters {
  width: 100%;
  justify-content: flex-start;
  gap: 10px;
}

.home-product-filters select {
  width: auto;
  min-width: 180px;
  max-width: 260px;
}

.home-empty-products {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px dashed var(--line);
  background: #fff;
}

.landing-panel-head-center {
  justify-content: center;
}

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

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

select,
input[type="text"],
input[type="search"],
input[type="number"],
input[type="email"],
input:not([type]),
#provider-query {
  width: 100%;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 10px;
  color: var(--text);
}

input[type="range"] {
  width: 100%;
}

.inline {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.btn {
  border: 0;
  border-radius: 999px;
  height: 36px;
  padding: 0 14px;
  background: linear-gradient(135deg, var(--accent), #ef7f31);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.ghost {
  background: #fff;
  color: var(--accent);
  border: 1px solid #f1a185;
}

.card-list {
  display: grid;
  gap: 10px;
}

.rank-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.rank-card .title {
  font-weight: 700;
}

.rank-card .score {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 20px;
  color: var(--accent-2);
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.alert-list {
  display: grid;
  gap: 8px;
}

.alert-item {
  border-left: 4px solid #cc5d16;
  background: #fff3ec;
  border-radius: 8px;
  padding: 10px 12px;
}

.alert-item p {
  margin: 2px 0;
}

.table-wrap {
  overflow: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.table th,
.table td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  white-space: nowrap;
  font-size: 14px;
}

.table th {
  color: var(--muted);
  font-weight: 600;
}

.table tr:hover td {
  background: #fff8ee;
}

.mono,
.code-block {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

.code-block {
  background: #1f262a;
  color: #c5e5e0;
  border-radius: 12px;
  padding: 12px;
  overflow: auto;
  min-height: 130px;
}

.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.tab-row button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.tab-row button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-2), #2a9e78);
  border-color: transparent;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.chart {
  width: 100%;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin-top: 12px;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 10px;
  cursor: pointer;
}

.chip.active {
  background: #fbe9d9;
  border-color: #ea9b72;
}

.comment-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
}

.comment-card .header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
}

.prose p,
.prose li {
  line-height: 1.7;
}

.muted {
  color: var(--muted);
}

.footer {
  padding: 18px;
  text-align: center;
  color: var(--muted);
}

@keyframes fade-up {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes shimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

@media (max-width: 980px) {
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #kpi-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .review-layout {
    grid-template-columns: 1fr;
  }

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

  .review-sidebar {
    position: static;
  }

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

  .plan-spec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .review-cols {
    grid-template-columns: 1fr;
  }

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

  .landing-hero-main {
    min-height: 340px;
    padding: 22px 14px;
  }

  .landing-feature-grid,
  .landing-provider-grid,
  .landing-promo-list,
  .home-provider-promo-grid {
    grid-template-columns: 1fr;
  }

  .floating-telegram {
    right: 14px;
    bottom: 14px;
  }

  .floating-telegram-link {
    width: 148px;
    height: 48px;
  }

  .landing-recommend-panel {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .mobile-nav-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    height: 36px;
    padding: 0 12px;
    align-items: center;
  }

  .topnav {
    display: none;
    width: 100%;
    margin-top: 8px;
  }

  .topbar {
    flex-wrap: wrap;
  }

  .topbar.open .topnav {
    display: flex;
  }

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

  #kpi-cards {
    grid-template-columns: 1fr;
  }

  .filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .home-product-filters select {
    width: 100%;
    max-width: none;
  }

  .home-provider-promo-slot,
  .home-promo-card {
    width: 100%;
    min-width: 0;
  }

  .promo-card-foot,
  .promo-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn.ghost {
    width: 100%;
  }

  .guide-link-card {
    font-size: 18px;
  }

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