* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --ink: #171717;
    --muted: #6f7177;
    --line: #e8e5df;
    --paper: #ffffff;
    --wash: #f7f7f5;
    --wine: #7f1426;
    --wine-dark: #4b0d18;
    --olive: #315d4a;
    --blue: #315f7d;
    --gold: #b9892d;
    --shadow: 0 16px 42px rgba(23, 23, 23, 0.08);
}

html[data-theme="dark"] {
    color-scheme: dark;
    --ink: #f7efe6;
    --muted: #b8afa6;
    --line: #3b2a2a;
    --paper: #171111;
    --wash: #0d0a0a;
    --wine: #d87986;
    --wine-dark: #ffd0d5;
    --olive: #9bbfa4;
    --blue: #91adc2;
    --gold: #d6aa58;
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    padding-bottom: 84px;
    background: var(--wash);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 10px max(18px, env(safe-area-inset-left)) 10px max(18px, env(safe-area-inset-right));
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--ink);
    text-decoration: none;
}

.brand-lockup img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
}

.brand-text strong {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--ink);
    font-size: 25px;
    font-weight: 860;
    line-height: 1.05;
    letter-spacing: 0.03em;
}

.brand-text small {
    overflow: hidden;
    max-width: 420px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 620;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.top-actions a {
    min-width: 44px;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
    text-decoration: none;
}

.top-actions a:hover {
    border-color: var(--line);
    color: var(--wine);
    background: var(--paper);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    font-size: 12px;
    font-weight: 760;
    white-space: nowrap;
}

.theme-toggle-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--wine);
    box-shadow: 0 0 0 3px rgba(127, 20, 38, 0.1);
}

html[data-theme="dark"] .theme-toggle-dot {
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(214, 170, 88, 0.16);
}

main {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.hero-band {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 28px;
    align-items: stretch;
    padding: 28px 22px 20px;
}

.hero-copy {
    display: flex;
    min-height: 420px;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
    border: 1px solid var(--line);
    background: var(--paper);
}

.proof-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.proof-line span {
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 12px;
    background: #fbfbfa;
}

.hero-ai-statement {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 14px;
    padding: 9px 12px;
    border: 1px solid rgba(127, 20, 38, 0.22);
    border-radius: 8px;
    background: #fff5f5;
    color: var(--wine);
    font-size: 16px;
    font-weight: 780;
    line-height: 1.35;
}

.hero-copy h1 {
    max-width: 500px;
    font-size: 42px;
    line-height: 1.12;
    font-weight: 760;
}

.hero-lede {
    max-width: 560px;
    margin-top: 18px;
    color: #3d3d3d;
    font-size: 17px;
}

.hero-actions,
.copy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.mobile-share-box {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin-top: 18px;
    padding: 10px 12px;
    border: 1px solid #d7ded9;
    border-radius: 8px;
    background: #f7faf8;
}

.mobile-share-box span {
    color: var(--olive);
    font-size: 12px;
    font-weight: 760;
    white-space: nowrap;
}

.mobile-share-box a {
    overflow: hidden;
    color: #303431;
    font-size: 13px;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-share-box button {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--olive);
    border-radius: 8px;
    background: var(--olive);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.primary-action,
.quiet-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.primary-action {
    border: 1px solid var(--wine);
    background: var(--wine);
    color: #fff;
    font-weight: 650;
}

.quiet-action {
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
}

.primary-action:hover,
.quiet-action:hover {
    transform: translateY(-1px);
}

.compact {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
}

.hero-shelf {
    position: relative;
    display: block;
    min-height: 420px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
    border: 1px solid var(--line);
    background: #f1f4f2;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.hero-shelf::-webkit-scrollbar {
    display: none;
}

.hero-shelf::before {
    content: none;
}

.hero-carousel-track {
    display: flex;
    width: 100%;
    min-height: 420px;
}

.hero-carousel-slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 0;
    min-height: 420px;
    background: #eef1ef;
    scroll-snap-align: start;
}

.hero-carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.hero-carousel-dots {
    position: absolute;
    right: 18px;
    bottom: 16px;
    z-index: 2;
    display: flex;
    gap: 7px;
}

.hero-carousel-dots span {
    width: 28px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.16);
}

.hero-carousel-dots span.is-active {
    background: var(--wine);
}

.shelf-bottle {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 260px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.shelf-bottle img {
    max-width: 100%;
    height: 240px;
    object-fit: contain;
    filter: drop-shadow(0 18px 16px rgba(0, 0, 0, 0.16));
}

.shelf-bottle span {
    min-width: 68px;
    padding: 4px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--wine);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.shelf-bottle-1 img,
.shelf-bottle-5 img {
    height: 196px;
}

.shelf-bottle-2 img,
.shelf-bottle-4 img {
    height: 224px;
}

html[data-theme="dark"] body {
    background: radial-gradient(circle at 50% 0, rgba(127, 20, 38, 0.16), transparent 34%), var(--wash);
}

html[data-theme="dark"] .app-header {
    background: rgba(18, 13, 13, 0.94);
}

html[data-theme="dark"] .hero-ai-statement {
    border-color: rgba(216, 121, 134, 0.36);
    background: #2a1518;
    color: #ffd0d5;
}

html[data-theme="dark"] .hero-lede,
html[data-theme="dark"] .recommendation-copy p,
html[data-theme="dark"] .mobile-share-box a,
html[data-theme="dark"] .focus-person,
html[data-theme="dark"] .focus-generation,
html[data-theme="dark"] .focus-why,
html[data-theme="dark"] .mindset-grid p,
html[data-theme="dark"] .mindset-script p,
html[data-theme="dark"] .tier-heading strong,
html[data-theme="dark"] .wine-reason,
html[data-theme="dark"] .wine-moment,
html[data-theme="dark"] .wine-pairing,
html[data-theme="dark"] .taste-panel p,
html[data-theme="dark"] .taste-mouthfeel,
html[data-theme="dark"] .ai-card-reason,
html[data-theme="dark"] .ai-card-taste,
html[data-theme="dark"] .ai-reply,
html[data-theme="dark"] .ai-band-lede,
html[data-theme="dark"] .search-hint {
    color: #d8cec5;
}

html[data-theme="dark"] .proof-line span,
html[data-theme="dark"] .segmented-control button,
html[data-theme="dark"] .list-tabs button,
html[data-theme="dark"] .focus-tags span,
html[data-theme="dark"] .taste-tags span,
html[data-theme="dark"] .image-filter button,
html[data-theme="dark"] .wine-badge,
html[data-theme="dark"] .ai-chip {
    border-color: var(--line);
    background: #211818;
    color: var(--ink);
}

html[data-theme="dark"] .hero-shelf,
html[data-theme="dark"] .focus-media,
html[data-theme="dark"] .ai-card-media,
html[data-theme="dark"] .wine-image {
    background: #151b17;
}

html[data-theme="dark"] .hero-shelf::before {
    background: #3a332a;
}

html[data-theme="dark"] .shelf-bottle span {
    border-color: var(--line);
    background: rgba(23, 17, 17, 0.86);
    color: #ffd0d5;
}

html[data-theme="dark"] .mobile-share-box {
    border-color: var(--line);
    background: #141b16;
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea {
    border-color: var(--line);
    background: #120d0d;
    color: var(--ink);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
    color: #8f8580;
}

html[data-theme="dark"] .recommendation-copy,
html[data-theme="dark"] .wechat-preview,
html[data-theme="dark"] .focus-taste,
html[data-theme="dark"] .mindset-panel,
html[data-theme="dark"] .mindset-script,
html[data-theme="dark"] .taste-panel,
html[data-theme="dark"] .ai-band-hero,
html[data-theme="dark"] .ai-surface,
html[data-theme="dark"] .ai-card,
html[data-theme="dark"] .ai-empty,
html[data-theme="dark"] .ai-wechat,
html[data-theme="dark"] .search-band,
html[data-theme="dark"] .advisor-search-band,
html[data-theme="dark"] .search-result-count,
html[data-theme="dark"] .sticky-cta {
    border-color: var(--line);
    background: var(--paper);
}

html[data-theme="dark"] .ai-band-hero,
html[data-theme="dark"] .search-band {
    background: linear-gradient(180deg, #171111 0%, #120d0d 100%);
}

html[data-theme="dark"] .recommendation-copy,
html[data-theme="dark"] .mindset-panel,
html[data-theme="dark"] .ai-loading,
html[data-theme="dark"] .advisor-search-band {
    background: #141b16;
}

html[data-theme="dark"] .mindset-heading,
html[data-theme="dark"] .mindset-grid div,
html[data-theme="dark"] .mindset-script {
    border-color: var(--line);
}

html[data-theme="dark"] .mindset-heading strong,
html[data-theme="dark"] .focus-taste strong,
html[data-theme="dark"] .taste-title {
    color: var(--wine-dark);
}

html[data-theme="dark"] .wine-card-media,
html[data-theme="dark"] .image-missing-badge,
html[data-theme="dark"] .wine-card-meta span,
html[data-theme="dark"] .ai-card-taste,
html[data-theme="dark"] .search-result-count,
html[data-theme="dark"] .ai-mic.is-stopping {
    border-color: var(--line);
    background: #211818;
    color: var(--ink);
}

html[data-theme="dark"] .ai-mic-banner,
html[data-theme="dark"] .ai-error,
html[data-theme="dark"] .search-result-count.empty {
    border-color: rgba(216, 121, 134, 0.34);
    background: #2a1518;
    color: #ffd0d5;
}

html[data-theme="dark"] .sticky-cta {
    background: rgba(18, 13, 13, 0.96);
}

.advisor-band,
.wine-list-band,
.trust-band {
    padding: 34px 22px;
}

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

.section-heading p,
.copy-kicker,
.selector-label {
    color: var(--wine);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.section-heading h2 {
    margin-top: 4px;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 760;
}

.result-count {
    display: inline-block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

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

.selector-surface {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.selector-group {
    min-width: 0;
}

.selector-label {
    margin-bottom: 8px;
}

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

.segmented-control button,
.list-tabs button {
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfbfa;
    color: var(--ink);
    font-size: 13px;
    font-weight: 620;
    line-height: 1.2;
}

.segmented-control button.is-active,
.list-tabs button.is-active {
    border-color: var(--wine);
    background: var(--wine);
    color: #fff;
}

.recommendation-copy {
    grid-column: 1 / -1;
    padding: 16px;
    border: 1px solid #d7ded9;
    background: #f7faf8;
}

.recommendation-copy p {
    margin-top: 6px;
    color: #303431;
    font-size: 16px;
}

.wechat-preview {
    margin-top: 10px;
    padding: 11px 13px;
    border: 1px dashed #b8c4bc;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.6;
}

.recommendation-detail {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.focus-recommendation {
    margin-top: 18px;
}

.focus-card {
    display: grid;
    grid-template-columns: minmax(160px, 0.36fr) minmax(0, 0.64fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.focus-media {
    position: relative;
    display: grid;
    min-height: 320px;
    place-items: center;
    padding: 20px;
    background: #f1f4f2;
}

.focus-media img {
    width: 100%;
    max-width: 170px;
    height: 260px;
    object-fit: contain;
    filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.14));
}

.focus-body {
    min-width: 0;
    padding: 22px;
}

.focus-kicker {
    color: var(--wine);
    font-size: 12px;
    font-weight: 760;
}

.focus-body h3 {
    margin-top: 5px;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.3;
}

.focus-price {
    margin-top: 10px;
    color: var(--wine);
    font-size: 24px;
    font-weight: 800;
}

.focus-context {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.focus-taste {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #ece8df;
    border-radius: 8px;
    background: #fbfaf7;
}

.focus-taste strong,
.focus-taste span {
    display: block;
}

.focus-taste strong {
    color: var(--wine-dark);
    font-size: 16px;
    line-height: 1.35;
}

.focus-taste span {
    margin-top: 8px;
    color: #3f4245;
    font-size: 14px;
    line-height: 1.65;
}

.focus-person,
.focus-generation,
.focus-why {
    margin-top: 12px;
    color: #303431;
    font-size: 14px;
    line-height: 1.65;
}

.focus-person {
    color: #6a5234;
}

.focus-generation {
    color: #315f7d;
}

.mindset-panel {
    grid-column: 1 / -1;
    border: 1px solid #d9e0e4;
    background: #f8faf9;
}

.mindset-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #e3e7e4;
}

.mindset-heading span,
.mindset-grid span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 760;
}

.mindset-heading strong {
    color: #27343b;
    font-size: 15px;
    font-weight: 760;
    text-align: right;
}

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

.mindset-grid div {
    min-width: 0;
    padding: 14px 16px;
    border-right: 1px solid #e3e7e4;
}

.mindset-grid div:last-child {
    border-right: 0;
}

.mindset-grid p {
    margin-top: 6px;
    color: #3f4245;
    font-size: 13px;
    line-height: 1.6;
}

.mindset-script {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-top: 1px solid #e3e7e4;
    background: #fff;
}

.mindset-script p {
    color: #303431;
    font-size: 14px;
    line-height: 1.6;
}

.mindset-script button {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--blue);
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.focus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.focus-tags span {
    padding: 4px 9px;
    border-radius: 999px;
    background: #f0efe9;
    color: #55534c;
    font-size: 12px;
}

.focus-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.focus-actions button,
.focus-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--wine);
    border-radius: 8px;
    background: var(--wine);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.focus-actions a {
    border-color: var(--line);
    background: var(--paper);
    color: var(--ink);
}

.tier-recommendations {
    margin-top: 14px;
    border: 1px solid var(--line);
    background: var(--paper);
}

.tier-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
}

.tier-heading span {
    color: var(--wine);
    font-size: 12px;
    font-weight: 760;
}

.tier-heading strong {
    color: #303431;
    font-size: 14px;
    font-weight: 650;
    text-align: right;
}

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

.tier-card {
    min-width: 0;
    padding: 16px;
    border-right: 1px solid var(--line);
}

.tier-card:last-child {
    border-right: 0;
}

.tier-label {
    color: var(--olive);
    font-size: 12px;
    font-weight: 760;
}

.tier-card h3 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 42px;
    margin-top: 6px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tier-price {
    margin-top: 8px;
    color: var(--wine);
    font-size: 18px;
    font-weight: 800;
}

.tier-card p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 64px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.tier-card button {
    width: 100%;
    min-height: 38px;
    margin-top: 12px;
    border: 1px solid var(--olive);
    border-radius: 8px;
    background: var(--olive);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.list-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(52px, 1fr));
    gap: 6px;
    width: min(330px, 100%);
}

.wine-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(260px, auto);
    gap: 12px;
    align-items: end;
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    background: var(--paper);
}

.wine-search {
    display: grid;
    gap: 7px;
}

.wine-search span {
    color: var(--wine);
    font-size: 12px;
    font-weight: 700;
}

.wine-search input {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 12px;
    background: #fbfbfa;
    color: var(--ink);
    outline: none;
}

.wine-search input:focus {
    border-color: var(--wine);
    background: var(--paper);
}

.image-filter {
    display: grid;
    grid-template-columns: repeat(3, minmax(72px, 1fr));
    gap: 6px;
}

.image-filter button {
    min-height: 42px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfbfa;
    color: var(--ink);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
}

.image-filter button.is-active {
    border-color: var(--olive);
    background: var(--olive);
    color: #fff;
}

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

.wine-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}

.wine-card-media {
    position: relative;
    display: grid;
    min-height: 210px;
    place-items: center;
    padding: 18px;
    background: #f1f4f2;
}

.wine-card-media img {
    width: 100%;
    max-width: 150px;
    height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 15px 14px rgba(0, 0, 0, 0.12));
}

.image-missing-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border: 1px solid #d8d3c8;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #7b705d;
    font-size: 11px;
    font-weight: 700;
}

.wine-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 14px;
}

.wine-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 28px;
    margin-bottom: 8px;
}

.wine-card-meta span {
    padding: 3px 7px;
    border-radius: 999px;
    background: #f4f4f1;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

.wine-card h3 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 48px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 720;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.wine-price {
    margin-top: 10px;
    color: var(--wine);
    font-size: 19px;
    font-weight: 780;
}

.wine-reason {
    display: -webkit-box;
    overflow: hidden;
    min-height: 40px;
    margin-top: 8px;
    color: #484a4f;
    font-size: 13px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.taste-panel {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ece8df;
    border-radius: 8px;
    background: #fbfaf7;
}

.taste-title {
    color: var(--wine-dark);
    font-size: 13px;
    font-weight: 760;
    line-height: 1.35;
}

.taste-panel p {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 6px;
    color: #3f4245;
    font-size: 12px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.taste-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.taste-tags span {
    padding: 3px 7px;
    border-radius: 999px;
    background: #f0efe9;
    color: #55534c;
    font-size: 11px;
    line-height: 1.35;
}

.taste-mouthfeel,
.wine-moment {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.taste-mouthfeel {
    color: #6a5234;
}

.wine-moment {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.wine-pairing {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
}

.wine-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
}

.wine-card-actions a,
.wine-card-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.wine-card-actions button {
    border-color: var(--wine);
    background: var(--wine);
    color: #fff;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 42px 18px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--muted);
    text-align: center;
}

.load-more-row {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.load-more-row button {
    min-width: min(240px, 100%);
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    font-weight: 700;
}

.load-more-row button:not([hidden]):hover {
    border-color: var(--wine);
    color: var(--wine);
}

.trust-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.trust-item {
    min-height: 150px;
    padding: 22px;
    border: 1px solid var(--line);
    border-right: 0;
    background: var(--paper);
}

.trust-item:last-child {
    border-right: 1px solid var(--line);
}

.trust-item strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 16px;
}

.trust-item span {
    color: var(--muted);
    font-size: 14px;
}

/* ============================================================
   AI 选酒顾问
   ============================================================ */
.ai-band {
    padding: 34px 22px;
}

.ai-band-hero {
    padding: 0;
    background: linear-gradient(180deg, #fff 0%, #fbfaf5 100%);
    border-bottom: 1px solid var(--line);
}

.ai-band-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 34px 22px 40px;
}

.ai-band-header {
    margin-bottom: 20px;
    text-align: left;
}

.ai-band-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--wine);
    color: #fff;
    font-size: 12px;
    font-weight: 760;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.ai-band-header h2 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 780;
    color: var(--ink);
}

.ai-band-lede {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    max-width: 560px;
}

.ai-band-lede::before {
    content: "";
}

.ai-surface {
    padding: 18px;
    border: 1px solid #d7ded9;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow);
}

.ai-input-label {
    display: block;
    color: var(--wine);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ai-input {
    width: 100%;
    min-height: 72px;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 15px;
    line-height: 1.55;
    resize: vertical;
    outline: none;
}

.ai-input:focus {
    border-color: var(--wine);
    background: #fff;
}

.ai-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.ai-mic-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    margin-bottom: 10px;
    border: 1px solid #e8b4b4;
    border-radius: 8px;
    background: #fff5f5;
    color: var(--wine);
    font-size: 14px;
    font-weight: 650;
    animation: ai-mic-banner-fade 0.3s ease;
}

@keyframes ai-mic-banner-fade {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-mic-banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--wine);
    flex-shrink: 0;
    animation: ai-mic-pulse 1.4s ease-in-out infinite;
}

.ai-mic-banner-text {
    flex: 1;
}

.ai-mic {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.ai-mic:hover {
    border-color: var(--wine);
    color: var(--wine);
    transform: translateY(-1px);
}

.ai-mic.is-recording {
    border-color: var(--wine);
    background: var(--wine);
    color: #fff;
    animation: ai-mic-pulse 1.4s ease-in-out infinite;
}

.ai-mic.is-recording .ai-mic-label {
    color: #fff;
    font-weight: 760;
}

.ai-mic.is-stopping {
    border-color: var(--gold);
    background: #fff7e8;
    color: var(--ink);
}

.ai-mic.is-stopping .ai-mic-label {
    font-weight: 730;
}

.ai-mic.is-success {
    border-color: var(--olive);
    background: var(--olive);
    color: #fff;
}

.ai-mic.is-success .ai-mic-label {
    color: #fff;
    font-weight: 700;
}

@keyframes ai-mic-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(127, 20, 38, 0.35); }
    50% { box-shadow: 0 0 0 10px rgba(127, 20, 38, 0); }
}

.ai-mic-icon {
    flex-shrink: 0;
}

.ai-mic.unsupported {
    display: none;
}

.ai-hint {
    color: var(--muted);
    font-size: 12.5px;
}

.ai-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid #e3e7e4;
    border-radius: 8px;
    background: #f8faf9;
    color: var(--blue);
    font-size: 14px;
}

.ai-loading-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wine);
    animation: ai-pulse 1.1s ease-in-out infinite;
}

@keyframes ai-pulse {
    0%, 100% { opacity: 0.3; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}

.ai-error {
    margin-top: 14px;
    padding: 11px 13px;
    border: 1px solid #ebd4d4;
    border-radius: 8px;
    background: #fdf5f5;
    color: #7a2d2d;
    font-size: 13.5px;
    line-height: 1.55;
}

.ai-reply {
    margin-top: 16px;
    color: #303431;
    font-size: 15px;
    line-height: 1.6;
}

.ai-card-list {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.ai-card {
    display: grid;
    grid-template-columns: minmax(96px, 0.32fr) minmax(0, 0.68fr);
    gap: 12px;
    overflow: hidden;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.ai-card-media {
    display: grid;
    place-items: center;
    padding: 8px;
    background: #f1f4f2;
    border-radius: 8px;
}

.ai-card-media img {
    width: 100%;
    max-width: 84px;
    height: 132px;
    object-fit: contain;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.12));
}

.ai-card-body h3 {
    color: var(--ink);
    font-size: 15px;
    font-weight: 720;
    line-height: 1.4;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ai-card-price {
    margin-top: 4px;
    color: var(--wine);
    font-size: 17px;
    font-weight: 780;
}

.ai-card-reason {
    margin-top: 8px;
    color: #3f4245;
    font-size: 13.5px;
    line-height: 1.6;
}

.ai-card-taste {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #f0efe9;
    color: #55534c;
    font-size: 12px;
}

.ai-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.ai-card-actions a,
.ai-card-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.ai-card-actions button {
    border-color: var(--wine);
    background: var(--wine);
    color: #fff;
}

.ai-empty {
    margin-top: 16px;
    padding: 22px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    text-align: center;
    font-size: 14px;
}

.ai-wechat {
    margin-top: 16px;
    padding: 14px;
    border: 1px dashed #b8c4bc;
    border-radius: 10px;
    background: #fff;
}

.ai-wechat-kicker {
    display: block;
    color: var(--olive);
    font-size: 12px;
    font-weight: 760;
    margin-bottom: 8px;
}

.ai-wechat-text {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.ai-wechat button {
    margin-top: 10px;
}

/* ============================================================
   顶部快速搜索
   ============================================================ */
.search-band {
    padding: 18px 22px 22px;
    background: linear-gradient(180deg, #fff 0%, #fbfaf5 100%);
    border-bottom: 1px solid var(--line);
}

.advisor-search-band {
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fbfaf5;
}

.search-surface {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.search-kicker {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: stretch;
}

.search-input-top {
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.search-input-top::placeholder {
    color: #b5b5b5;
}

.search-input-top:focus {
    border-color: var(--wine);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(127, 20, 38, 0.08);
}

.search-row .primary-action {
    min-height: 48px;
    padding: 0 20px;
    font-size: 14.5px;
}

.search-clear {
    min-height: 48px;
    padding: 0 16px;
    font-size: 13.5px;
    color: var(--muted);
}

.search-clear:hover {
    color: var(--wine);
    border-color: var(--wine);
}

.search-hint {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.search-result-count {
    margin: 10px 0 0;
    padding: 8px 12px;
    border-radius: 6px;
    background: #f0efe9;
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
}

.search-result-count.empty {
    background: #fdf5f5;
    color: #7a2d2d;
}

.sticky-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px max(16px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-right));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
}

.sticky-cta button {
    min-height: 48px;
    border: 1px solid var(--wine);
    border-radius: 8px;
    background: var(--wine);
    color: #fff;
    font-weight: 760;
}

.sticky-cta button:first-child {
    border-color: var(--line);
    background: var(--paper);
    color: var(--ink);
}

.toast {
    position: fixed;
    right: 18px;
    bottom: 88px;
    z-index: 30;
    max-width: min(360px, calc(100vw - 36px));
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

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

.site-footer {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 18px 22px 34px;
    color: var(--muted);
    font-size: 12px;
}

.site-copyright {
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
}

/* ============================================================
   微信咨询弹窗
   ============================================================ */
body.wechat-modal-open {
    overflow: hidden;
}

.wechat-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.wechat-modal[hidden] {
    display: none;
}

.wechat-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(23, 23, 23, 0.55);
    backdrop-filter: blur(4px);
    animation: wechat-fade-in 0.2s ease;
}

.wechat-modal-panel {
    position: relative;
    width: min(500px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 28px 26px 24px;
    border-radius: 14px;
    background: var(--paper);
    box-shadow: 0 24px 60px rgba(23, 23, 23, 0.25);
    animation: wechat-slide-up 0.25s ease;
}

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

@keyframes wechat-slide-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.wechat-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.wechat-modal-close:hover {
    background: #f0efe9;
    color: var(--ink);
}

.wechat-modal-header {
    margin-bottom: 18px;
    padding-right: 30px;
}

.wechat-modal-header h3 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 19px;
    font-weight: 760;
    line-height: 1.3;
}

.wechat-modal-header p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.55;
}

.wechat-qr-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    margin-bottom: 16px;
    padding: 16px;
    border: 1px dashed var(--line);
    border-radius: 10px;
    background: #fbfbfa;
}

.wechat-qr-img {
    width: 260px;
    height: 260px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.wechat-qr-fallback {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
    line-height: 1.5;
}

.wechat-id-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfbfa;
    margin-bottom: 14px;
}

.wechat-id-label {
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 600;
}

.wechat-id-value {
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    word-break: break-all;
    text-align: right;
}

.wechat-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.wechat-modal-actions button {
    min-height: 44px;
    font-size: 14px;
    font-weight: 680;
}

.wechat-modal-tip {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .hero-band {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .hero-shelf {
        min-height: auto;
    }

    .hero-carousel-track,
    .hero-carousel-slide,
    .hero-carousel-slide img {
        min-height: 360px;
    }

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

    .selector-surface {
        grid-template-columns: 1fr;
    }

    .wine-toolbar {
        grid-template-columns: 1fr;
    }

    .mindset-grid,
    .mindset-script {
        grid-template-columns: 1fr;
    }

    .mindset-grid div {
        border-right: 0;
        border-bottom: 1px solid #e3e7e4;
    }

    .mindset-grid div:last-child {
        border-bottom: 0;
    }

    .mindset-script button {
        width: 100%;
    }

    .wine-grid,
    .trust-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .tier-card {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .tier-card:last-child {
        border-bottom: 0;
    }

    .trust-item:nth-child(2) {
        border-right: 1px solid var(--line);
    }
}

@media (max-width: 640px) {
    body {
        font-size: 14px;
    }

    .app-header {
        min-height: 52px;
        padding: 8px max(14px, env(safe-area-inset-left)) 8px max(14px, env(safe-area-inset-right));
    }

    .brand-lockup img {
        width: 34px;
        height: 34px;
        border-radius: 7px;
    }

    .brand-text {
        max-width: 178px;
    }

    .brand-text strong {
        font-size: 21px;
        font-weight: 860;
    }

    .brand-text small {
        max-width: 178px;
        font-size: 10px;
    }

    .top-actions {
        gap: 2px;
    }

    .top-actions a {
        min-width: 38px;
        padding: 7px 6px;
        font-size: 12px;
    }

    .theme-toggle {
        min-height: 32px;
        padding: 0 7px;
        font-size: 11px;
    }

    .theme-toggle-dot {
        width: 8px;
        height: 8px;
    }

    .hero-band {
        padding: 16px 14px 12px;
    }

    .hero-shelf {
        display: none;
    }

    .proof-line {
        display: flex;
        gap: 6px;
        margin-bottom: 14px;
    }

    .proof-line span {
        padding: 4px 8px;
        font-size: 11px;
    }

    .hero-ai-statement {
        margin-bottom: 12px;
        padding: 8px 10px;
        font-size: 14px;
    }

    .hero-copy {
        padding: 18px;
        min-height: auto;
    }

    .hero-copy h1 {
        font-size: 26px;
        line-height: 1.2;
    }

    .hero-lede {
        font-size: 14px;
        line-height: 1.6;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-actions .primary-action,
    .hero-actions .quiet-action {
        min-height: 42px;
        font-size: 14px;
    }

    .advisor-band,
    .wine-list-band,
    .trust-band {
        padding: 18px 14px;
    }

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

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

    .selector-surface {
        padding: 10px;
        gap: 10px;
    }

    .selector-label {
        margin-bottom: 5px;
        font-size: 11px;
    }

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

    .segmented-control button {
        min-height: 38px;
        padding: 0 8px;
        font-size: 12.5px;
    }

    /* 短文本按钮用更多列，减少纵向高度 */
    [data-group="mood"] .segmented-control {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    [data-group="scenario"] .segmented-control {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    [data-group="taste"] .segmented-control {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    [data-group="recipient"] .segmented-control {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .generation-control button:last-child {
        grid-column: 1 / -1;
    }

    .recommendation-copy {
        padding: 10px;
    }

    .wechat-preview {
        font-size: 14px;
        padding: 9px 11px;
        line-height: 1.55;
    }

    .recommendation-detail {
        font-size: 12px;
        line-height: 1.5;
    }

    .recommendation-copy p {
        font-size: 13.5px;
        line-height: 1.55;
    }

    .copy-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 7px;
        margin-top: 10px;
    }

    .copy-actions .compact {
        min-height: 38px;
        font-size: 13px;
    }

    .mindset-panel {
        font-size: 12.5px;
    }

    .mindset-heading {
        display: block;
        padding: 10px 12px;
    }

    .mindset-heading strong {
        display: block;
        margin-top: 4px;
        text-align: left;
        font-size: 13px;
    }

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

    .mindset-grid div {
        padding: 10px 12px;
        border-right: 0;
        border-bottom: 1px solid #e3e7e4;
    }

    .mindset-grid div:last-child {
        border-bottom: 0;
    }

    .mindset-grid p {
        margin-top: 4px;
        font-size: 12.5px;
        line-height: 1.55;
    }

    .mindset-script {
        grid-template-columns: 1fr;
        padding: 10px 12px;
        gap: 8px;
    }

    .mindset-script p {
        font-size: 13px;
    }

    .mindset-script button {
        width: 100%;
        min-height: 36px;
    }

    .focus-card {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .focus-media {
        min-height: 100%;
        padding: 10px;
    }

    .focus-media img {
        max-width: 86px;
        height: 156px;
    }

    .focus-body {
        padding: 12px;
    }

    .focus-body h3 {
        font-size: 15px;
    }

    .focus-price {
        font-size: 18px;
    }

    .focus-context {
        font-size: 12px;
    }

    .focus-taste {
        padding: 9px;
        margin-top: 10px;
    }

    .focus-taste strong {
        font-size: 13px;
    }

    .focus-taste span,
    .focus-person,
    .focus-generation,
    .focus-why {
        display: -webkit-box;
        overflow: hidden;
        font-size: 12px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .focus-actions {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .tier-heading {
        display: block;
        padding: 12px 14px;
    }

    .tier-heading strong {
        display: block;
        margin-top: 4px;
        text-align: left;
        font-size: 13px;
    }

    .split-heading {
        display: block;
    }

    .list-tabs {
        margin-top: 12px;
        width: 100%;
    }

    .result-count {
        display: block;
        margin-top: 6px;
        font-size: 12px;
    }

    .wine-toolbar {
        padding: 10px;
        gap: 10px;
    }

    .wine-search input {
        min-height: 40px;
        font-size: 14px;
    }

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

    .image-filter button {
        min-height: 38px;
        padding: 0 6px;
        font-size: 12px;
    }

    .wine-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .wine-card {
        display: grid;
        grid-template-columns: 118px minmax(0, 1fr);
    }

    .wine-card-media {
        min-height: 100%;
        padding: 10px;
    }

    .wine-card-media img {
        max-width: 94px;
        height: 156px;
    }

    .wine-card-body {
        padding: 11px;
    }

    .wine-card h3 {
        min-height: 40px;
        font-size: 14px;
    }

    .wine-price {
        font-size: 17px;
        margin-top: 6px;
    }

    .wine-reason {
        min-height: auto;
        font-size: 12.5px;
    }

    .taste-panel {
        padding: 8px;
        margin-top: 8px;
    }

    .taste-title {
        font-size: 12.5px;
    }

    .taste-panel p {
        font-size: 11.5px;
        -webkit-line-clamp: 2;
    }

    .taste-tags span {
        font-size: 10.5px;
        padding: 2px 6px;
    }

    .taste-mouthfeel,
    .wine-moment,
    .wine-pairing {
        font-size: 11.5px;
    }

    .wine-card-actions {
        grid-template-columns: 1fr;
        gap: 6px;
        padding-top: 10px;
        margin-top: 10px;
        border-top: 1px solid var(--line);
    }

    .wine-card-actions a,
    .wine-card-actions button {
        min-height: 36px;
        font-size: 13px;
    }

    .trust-band {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .trust-item,
    .trust-item:nth-child(2) {
        min-height: auto;
        padding: 14px;
        border-right: 1px solid var(--line);
        border-bottom: 0;
    }

    .trust-item:last-child {
        border-bottom: 1px solid var(--line);
    }

    .trust-item strong {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .trust-item span {
        font-size: 12.5px;
    }

    .sticky-cta {
        padding: 8px max(14px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-right));
        gap: 8px;
    }

    .sticky-cta button {
        min-height: 42px;
        font-size: 14px;
    }

    .load-more-row button {
        min-height: 42px;
        font-size: 14px;
    }

    .toast {
        bottom: 72px;
        font-size: 13px;
    }

    .ai-band {
        padding: 18px 14px;
    }

    .ai-band-hero {
        padding: 0;
    }

    .ai-band-inner {
        padding: 22px 14px 26px;
    }

    .ai-band-header h2 {
        font-size: 24px;
    }

    .ai-band-lede {
        font-size: 13.5px;
    }

    .ai-band-badge {
        font-size: 11px;
        padding: 4px 10px;
        margin-bottom: 10px;
    }

    .ai-surface {
        padding: 14px;
    }

    .ai-input {
        font-size: 14px;
        min-height: 64px;
        padding: 10px 11px;
    }

    .ai-actions {
        gap: 8px;
    }

    .ai-mic {
        min-height: 42px;
        padding: 0 12px;
        font-size: 13px;
    }

    .ai-mic-banner {
        font-size: 13px;
        padding: 9px 11px;
        gap: 8px;
    }

    .ai-hint {
        font-size: 12px;
        flex: 1 1 auto;
    }

    .ai-card {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .ai-card-media {
        padding: 6px;
    }

    .ai-card-media img {
        max-width: 72px;
        height: 116px;
    }

    .ai-card-body h3 {
        font-size: 14px;
    }

    .ai-card-price {
        font-size: 16px;
        margin-top: 2px;
    }

    .ai-card-reason {
        font-size: 13px;
        margin-top: 6px;
    }

    .ai-card-actions {
        grid-template-columns: 1fr;
        gap: 6px;
        margin-top: 10px;
    }

    .ai-card-actions a,
    .ai-card-actions button {
        min-height: 34px;
        font-size: 13px;
    }

    .ai-wechat {
        padding: 11px;
    }

    .ai-wechat-text {
        font-size: 14px;
    }

    /* 微信弹窗移动端：底部抽屉样式 */
    .wechat-modal {
        align-items: flex-end;
        padding: 0;
    }

    .wechat-modal-panel {
        width: 100%;
        max-height: 85vh;
        border-radius: 16px 16px 0 0;
        padding: 22px 18px calc(18px + env(safe-area-inset-bottom));
        animation: wechat-slide-up-mobile 0.25s ease;
    }

    @keyframes wechat-slide-up-mobile {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }

    .wechat-modal-header h3 {
        font-size: 17px;
    }

    .wechat-modal-header p {
        font-size: 13px;
    }

    .wechat-qr-area {
        min-height: 260px;
        padding: 14px;
    }

    .wechat-qr-img {
        width: min(240px, 72vw);
        height: min(240px, 72vw);
    }

    .wechat-modal-actions {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .wechat-modal-actions button {
        min-height: 42px;
        font-size: 14px;
    }

    .wechat-modal-tip {
        font-size: 11.5px;
    }

    /* 顶部搜索移动端 */
    .search-band {
        padding: 14px 14px 18px;
    }

    .search-kicker {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .search-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .search-row .primary-action {
        width: 100%;
        min-height: 44px;
    }

    .search-clear {
        width: 100%;
        min-height: 40px;
    }

    .search-input-top {
        min-height: 44px;
        font-size: 14.5px;
    }

    .search-hint {
        font-size: 11.5px;
    }

    .search-result-count {
        font-size: 12.5px;
    }
}
