:root {
  --bg: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-soft: rgba(255, 255, 255, 0.64);
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-soft: rgba(0, 113, 227, 0.12);
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.06);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.96), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 18%, #f2f2f5 100%);
}

body.has-overlay {
  overflow: hidden;
}

a {
  color: inherit;
}

.site-header,
.site-footer,
main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 10px;
}

.brand {
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.top-nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.top-nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: stretch;
  padding: 18px 0 22px;
}

.cards-first {
  margin-top: 14px;
}

.cards-heading {
  margin-bottom: 14px;
}

.cards-heading p {
  max-width: 920px;
  margin: 0;
  font-size: 15px;
}

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

.hero__content,
.hero-card,
.content-panel,
.ai-panel,
.notice-bar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero__content {
  padding: clamp(30px, 5vw, 64px);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.hero__lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
}

.hero-card strong {
  display: block;
  margin: 16px 0;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-card__tag,
.eyebrow,
.filter-label,
.tab {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.22);
}

.button--primary:hover {
  background: var(--accent-hover);
}

.button--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2,
.section-heading h1 {
  margin: 0;
  letter-spacing: -0.05em;
}

.section-heading p:not(.eyebrow),
.section-note {
  color: var(--muted);
  line-height: 1.7;
}

.section-heading--inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.notice-bar {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 10px 0 16px;
  padding: 12px 16px;
  overflow: hidden;
}

.notice-bar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.notice-bar__icon svg {
  width: 18px;
  height: 18px;
}

.notice-bar__viewport {
  position: relative;
  overflow: hidden;
}

.notice-bar__track {
  display: flex;
  width: max-content;
  min-width: 100%;
}

.notice-bar__marquee {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  white-space: nowrap;
  animation: notice-marquee 28s linear infinite;
}

.notice-bar__item {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.notice-bar__item strong {
  color: var(--ink);
}

.promo-carousel {
  position: relative;
  width: 100%;
  margin: 0 0 18px;
}

.promo-carousel__link {
  position: relative;
  display: block;
  height: clamp(180px, 18vw, 240px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #075fc7;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.promo-carousel__link:hover,
.promo-carousel__link:focus,
.promo-carousel__link:visited {
  text-decoration: none;
}

.promo-carousel__link *,
.promo-carousel__link *::before,
.promo-carousel__link *::after {
  text-decoration: none;
}

.promo-carousel__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
    radial-gradient(circle at 84% 24%, rgba(255, 255, 255, 0.14), transparent 24%);
  pointer-events: none;
}

.promo-carousel__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 360ms ease;
}

.promo-carousel__slide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.promo-carousel__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.18), transparent 48%),
    repeating-linear-gradient(30deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 36px);
}

.promo-carousel__slide--earn {
  background: linear-gradient(135deg, #064aa2 0%, #038ce2 56%, #0d36a1 100%);
}

.promo-carousel__slide--payout {
  background: linear-gradient(135deg, #074d8f 0%, #09a0c8 54%, #1234a0 100%);
}

.promo-carousel__copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 10px;
  min-width: 0;
  padding: 30px 40px;
  color: white;
}

.promo-carousel__copy span {
  width: fit-content;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 800;
}

.promo-carousel__copy strong {
  display: block;
  max-width: 520px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
  text-decoration: none;
  text-decoration-color: transparent;
  text-decoration-thickness: 0;
}

.promo-carousel__copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.promo-carousel__copy b {
  color: #fff34f;
  font-size: 1.18em;
}

.promo-visual {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.promo-card {
  position: absolute;
  display: grid;
  place-items: center;
  width: 190px;
  height: 88px;
  border-radius: 18px;
  color: white;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.2);
  transform: rotate(-12deg) skewX(-8deg);
}

.promo-card--blue {
  top: 32px;
  right: 60px;
  background: linear-gradient(135deg, #1c7cff, #2447d8);
}

.promo-card--gold {
  top: 88px;
  right: 160px;
  background: linear-gradient(135deg, #f6b33d, #df8517);
}

.promo-card--pink {
  top: 142px;
  right: 72px;
  background: linear-gradient(135deg, #ff5c90, #d73575);
}

.promo-chart {
  position: absolute;
  top: 42px;
  right: 80px;
  width: 260px;
  height: 126px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
    linear-gradient(135deg, #5139e7, #2b7df4);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.2);
}

.promo-chart::before {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 28px;
  left: 34px;
  height: 58px;
  border: solid #ffe941;
  border-width: 0 0 5px 5px;
  border-radius: 0 0 0 18px;
  transform: skewY(-18deg);
}

.promo-coin {
  position: absolute;
  right: 282px;
  top: 106px;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  color: #8b5b00;
  background: linear-gradient(135deg, #fff269, #f2a51d);
  font-size: 42px;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.promo-phone {
  position: absolute;
  right: 32px;
  bottom: -8px;
  display: grid;
  place-items: center;
  width: 112px;
  height: 152px;
  border: 8px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  color: white;
  background: linear-gradient(180deg, #0a56d5, #07379b);
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.2);
}

.promo-carousel__cta {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 30px;
  border-radius: 999px;
  color: white;
  background: rgba(0, 0, 0, 0.56);
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  transform: translate(-16%, -50%);
}

.promo-carousel__dots {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 6px;
  pointer-events: none;
}

.promo-carousel__dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.promo-carousel__dots span.is-active {
  width: 18px;
  background: white;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.content-panel,
.ai-panel {
  padding: 28px;
}

.ai-panel {
  position: sticky;
  top: 18px;
}

.filter-board {
  display: grid;
  gap: 14px;
  margin: 4px 0 20px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.chip {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 600 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
}

.filter-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

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

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.chip {
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.chip.is-active {
  color: white;
  background: var(--accent);
}

.filter-row--city {
  grid-template-columns: 110px minmax(0, 520px);
  justify-content: start;
}

.filter-row--search {
  grid-template-columns: 110px minmax(0, 520px);
}

.advanced-filters {
  display: grid;
  gap: 14px;
}

.filter-actions {
  display: none;
  gap: 12px;
  justify-content: flex-end;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #a1a1a6;
}

.custom-select {
  position: relative;
  width: min(520px, 100%);
}

.custom-select__trigger {
  position: relative;
  width: 100%;
  min-height: 52px;
  padding: 0 46px 0 18px;
  border: 1px solid rgba(60, 60, 67, 0.12);
  border-radius: 18px;
  color: #1d1d1f;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 247, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 10px 24px rgba(15, 23, 42, 0.05);
  font: 500 17px/1.2 "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.custom-select__trigger::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 10px;
  height: 10px;
  border-right: 1.8px solid #6e6e73;
  border-bottom: 1.8px solid #6e6e73;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 160ms ease;
}

.custom-select.is-open .custom-select__trigger::after {
  transform: translateY(-20%) rotate(225deg);
}

.custom-select__trigger:focus-visible,
.custom-select.is-open .custom-select__trigger {
  outline: none;
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12), 0 12px 28px rgba(15, 23, 42, 0.08);
}

.custom-select__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 14;
  display: none;
  width: 100%;
  max-height: 280px;
  padding: 8px;
  overflow: auto;
  border: 1px solid rgba(60, 60, 67, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(20px);
}

.custom-select.is-open .custom-select__menu {
  display: grid;
  gap: 4px;
}

.custom-select__menu:focus {
  outline: none;
}

.custom-select__option {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  color: #1d1d1f;
  background: transparent;
  font: 500 15px/1.4 "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  text-align: left;
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}

.custom-select__option:hover {
  background: rgba(0, 113, 227, 0.08);
}

.custom-select__option.is-selected {
  color: #0a66d9;
  background: rgba(0, 113, 227, 0.12);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(520px, 100%);
  min-height: 52px;
  padding: 0 16px 0 18px;
  border: 1px solid rgba(60, 60, 67, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 247, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 10px 24px rgba(15, 23, 42, 0.05);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.search-box:focus-within {
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12), 0 12px 28px rgba(15, 23, 42, 0.08);
}

.search-box__icon {
  display: inline-flex;
  flex: 0 0 auto;
  order: 2;
  color: #8e8e93;
}

.search-box__icon svg {
  width: 18px;
  height: 18px;
}

.search-box input {
  order: 1;
  flex: 1 1 auto;
  min-height: 50px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #1d1d1f;
  font: 500 17px/1.2 "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.search-box input:focus,
.custom-select__trigger:focus {
  outline: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 14px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pagination__total,
.page-jump {
  color: var(--muted);
  font-size: 14px;
}

.pagination__pages {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-size {
  width: auto;
  min-height: 38px;
  padding: 0 34px 0 12px;
  border-radius: 10px;
  font-size: 14px;
}

.page-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-jump input {
  width: 56px;
  min-height: 38px;
  padding: 0 8px;
  border-radius: 10px;
  text-align: center;
}

.page-btn {
  min-width: 38px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  font: 600 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
}

.page-btn--icon {
  font-size: 20px;
}

.page-ellipsis {
  color: var(--muted);
  padding: 0 2px;
}

.page-btn.is-active {
  color: white;
  background: var(--accent);
  border-color: var(--accent);
}

.page-btn:disabled {
  color: #b4b4b8;
  cursor: not-allowed;
}

.load-more {
  display: none;
  width: 100%;
  margin-top: 18px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.plan-card:hover {
  border-color: rgba(0, 113, 227, 0.22);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.badge--calm {
  background: rgba(0, 0, 0, 0.04);
  color: var(--muted);
}

.plan-card h3 {
  margin: 0;
  color: #111;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.plan-card__head {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.plan-card__head:not(:has(.plan-card__image)) {
  grid-template-columns: 1fr;
}

.plan-card__image {
  width: 92px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  object-fit: cover;
  background: #f5f5f7;
  border: 1px solid var(--line);
}

.plan-card__image--empty {
  display: grid;
  place-items: center;
  padding: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.plan-card__body {
  display: grid;
  grid-template-rows: minmax(0, auto) minmax(0, 1fr) minmax(0, auto);
  align-self: stretch;
  min-height: 92px;
  min-width: 0;
}

.plan-card__subline {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 0;
  overflow: hidden;
  align-content: center;
}

.plan-tags span {
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 5px;
  color: #3051c8;
  background: #d9ddff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-tags span:nth-child(2) {
  color: #5d35b8;
  background: #e2d5ff;
}

.plan-tags span:nth-child(3) {
  color: #5b7418;
  background: #d7ef88;
}

.plan-tags span:nth-child(4) {
  color: #8a5d12;
  background: #f4d89a;
}

.plan-tags span:nth-child(5) {
  color: #0e8a7a;
  background: #cdeee8;
}

.plan-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.plan-stats span {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.plan-stats strong {
  color: #111;
  font-size: 17px;
  line-height: 1;
}

.plan-meta {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-meta__item {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow-wrap: anywhere;
}

.plan-meta__item::before {
  display: inline-block;
  width: 14px;
  margin-right: 2px;
  font-weight: 800;
  text-align: center;
}

.plan-meta__item--cyan::before {
  content: "◈";
  color: #10a7c7;
}

.plan-meta__item--orange::before {
  content: "▣";
  color: #d28a16;
}

.plan-meta__item--green::before {
  content: "◆";
  color: #20b05a;
}

.plan-meta__item--red::before {
  content: "●";
  color: #e04b27;
}

.plan-meta__item--purple::before {
  content: "▲";
  color: #6d4ce3;
}

.plan-meta__item span {
  color: #2f3a4a;
  font-weight: 700;
}

.claim-link {
  width: 100%;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 14px;
  white-space: nowrap;
}

.plan-card__actions {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 10px;
  margin-top: auto;
}

.plan-card__more {
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 12px;
}

.plan-meta__item,
.plan-card__subline,
.plan-tags span,
.plan-card h3 {
  cursor: help;
}

.ai-form {
  display: grid;
  gap: 12px;
}

.ai-result {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
}

.ai-result article {
  margin: 0 0 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: white;
}

.site-footer {
  padding: 36px 0 92px;
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
}

.beian {
  display: inline-flex;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.mobile-cta {
  display: none;
}

.ai-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  box-shadow: 0 16px 34px rgba(0, 113, 227, 0.24);
  font: 700 14px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 31;
  background: rgba(0, 0, 0, 0.24);
}

.ai-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 32;
  width: min(440px, 100vw);
  padding: 28px;
  overflow: auto;
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: -22px 0 60px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 180ms ease;
}

.ai-drawer.is-open {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

.detail-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.28);
}

.detail-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 41;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(760px, calc(100vw - 32px));
  max-height: min(88vh, 920px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(20px);
  transform: translate(-50%, calc(-50% + 24px)) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.detail-modal.is-open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.detail-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

.detail-modal__content {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
}

.detail-modal__banner {
  padding: 18px 24px 16px;
  background: linear-gradient(135deg, #3f86ff 0%, #58b7ff 100%);
}

.detail-modal__banner h2 {
  margin: 0;
  color: white;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-align: center;
}

.detail-modal__panel {
  min-height: 0;
  padding: 18px 24px 24px;
  overflow: auto;
}

.detail-modal__name {
  margin: 0 0 14px;
  color: #1d1d1f;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 800;
}

.detail-modal__rows {
  display: grid;
  gap: 8px;
}

.detail-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px;
  align-items: start;
}

.detail-row__label {
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.detail-row__value {
  min-width: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

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

.detail-modal__action {
  min-height: 42px;
}

.is-disabled {
  pointer-events: none;
  opacity: 0.55;
}

@media (max-width: 1199px) {
  .hero,
  .layout {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .ai-panel {
    position: static;
  }

  .cards-heading {
    display: grid;
  }
}

@media (max-width: 767px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 20px, 1180px);
  }

  .top-nav {
    display: none;
  }

  .hero {
    padding-top: 10px;
  }

  .hero__content,
  .content-panel,
  .ai-panel,
  .notice-bar {
    padding: 18px;
    border-radius: 24px;
  }

  .hero-card {
    min-height: 210px;
  }

  .notice-bar {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px 14px;
  }

  .notice-bar__item {
    font-size: 13px;
  }

  .promo-carousel {
    width: 100%;
    margin-bottom: 14px;
  }

  .promo-carousel__link {
    display: block;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .promo-carousel__slide {
    grid-template-columns: 1fr;
  }

  .promo-carousel__copy {
    padding: 20px;
  }

  .promo-carousel__copy span {
    font-size: 12px;
  }

  .promo-carousel__copy strong {
    max-width: 260px;
    font-size: 34px;
  }

  .promo-carousel__copy p {
    max-width: 280px;
    font-size: 14px;
  }

  .promo-visual {
    position: absolute;
    inset: 0;
    opacity: 0.48;
  }

  .promo-card {
    width: 116px;
    height: 54px;
    font-size: 15px;
  }

  .promo-card--blue {
    top: 64%;
    right: 18px;
  }

  .promo-card--gold {
    top: 74%;
    right: 92px;
  }

  .promo-card--pink {
    top: 84%;
    right: 28px;
  }

  .promo-chart {
    top: 58%;
    right: 20px;
    width: 168px;
    height: 82px;
  }

  .promo-coin {
    top: 70%;
    right: 164px;
    width: 52px;
    height: 52px;
    font-size: 28px;
  }

  .promo-phone {
    right: 14px;
    bottom: -18px;
    width: 74px;
    height: 100px;
    border-width: 6px;
    border-radius: 18px;
    font-size: 16px;
  }

  .promo-carousel__cta {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    min-height: 42px;
    padding: 10px 24px;
    font-size: 16px;
    transform: translate(-50%, -50%);
  }

  .promo-carousel__dots {
    right: 14px;
    bottom: 13px;
  }

  .filters,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .plan-card__head {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .plan-card__image {
    width: 88px;
  }

  .filter-board {
    padding: 14px;
  }

  .search-box {
    width: 100%;
  }

  .filter-row {
    grid-template-columns: 1fr;
  }

  .filter-row--search {
    grid-template-columns: 1fr;
  }

  .filter-row[data-filter-row="category_id"] .filter-label {
    display: none;
  }

  .filter-row[data-filter-row="category_id"] .chip-group {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .chip-group {
    gap: 10px;
  }

  .advanced-filters {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 32;
    max-height: 78vh;
    overflow: auto;
    padding: 24px 18px 96px;
    border-radius: 28px 28px 0 0;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -22px 60px rgba(0, 0, 0, 0.12);
    transform: translateY(100%);
    transition: transform 180ms ease;
  }

  .advanced-filters.is-open {
    transform: translateY(0);
  }

  .filter-row--city {
    grid-template-columns: 1fr;
  }

  .custom-select {
    width: 100%;
  }

  .ai-fab {
    right: 16px;
    bottom: 16px;
    width: 64px;
    height: 64px;
  }

  .mobile-cta {
    display: none;
  }

  .ai-drawer {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    max-height: 86vh;
    border-radius: 28px 28px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    transform: translateY(100%);
  }

  .ai-drawer.is-open {
    transform: translateY(0);
  }

  .pagination {
    display: none;
  }

  .load-more:not([hidden]) {
    display: inline-flex;
  }

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

  .plan-card--mobile {
    gap: 10px;
    padding: 10px;
    border-radius: 22px;
  }

  .plan-card__poster {
    overflow: hidden;
    border-radius: 16px;
    background: #f7f7fa;
  }

  .plan-card__poster-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 16px;
  }

  .plan-card__mobile-body {
    display: grid;
    gap: 10px;
    min-width: 0;
  }

  .plan-card__mobile-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
  }

  .plan-card__mobile-top h3 {
    font-size: 16px;
    line-height: 1.35;
    -webkit-line-clamp: 1;
  }

  .plan-card__mobile-price {
    display: grid;
    justify-items: end;
    gap: 2px;
    flex: 0 0 auto;
  }

  .plan-card__mobile-price-label {
    color: #ff5f57;
    font-size: 11px;
    font-weight: 700;
  }

  .plan-card__mobile-price strong {
    color: #d70015;
    font-size: 18px;
    line-height: 1;
    letter-spacing: -0.03em;
  }

  .plan-card__mobile-summary {
    margin: 0;
    color: #3a3a3c;
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .plan-card__actions--mobile {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 8px;
  }

  .plan-card__actions--mobile .button {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .filter-board {
    gap: 16px;
    margin-top: 18px;
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-bottom: 0;
  }

  .advanced-filters {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .filter-row[data-filter-row="category_id"] .chip-group,
  .filter-row[data-filter-row="label"] .chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
  }

  .filter-row[data-filter-row="category_id"] .chip,
  .filter-row[data-filter-row="label"] .chip {
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(60, 60, 67, 0.12);
  }

  .filter-row[data-filter-row="category_id"] .chip.is-active,
  .filter-row[data-filter-row="label"] .chip.is-active {
    background: var(--accent);
    border-color: var(--accent);
  }

  .detail-modal {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    max-height: 88vh;
    border-radius: 28px 28px 0 0;
    transform: translateY(100%);
  }

  .detail-modal.is-open {
    transform: translateY(0);
  }

  .detail-modal__banner {
    padding: 16px 18px 14px;
  }

  .detail-modal__panel {
    padding: 18px 16px 20px;
  }

  .detail-modal__name {
    font-size: 17px;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .detail-row__label,
  .detail-row__value {
    font-size: 13px;
    line-height: 1.7;
  }

  .detail-modal__actions {
    grid-template-columns: 1fr 1fr;
  }
}

@keyframes notice-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
