/* MIMI GUIDE 首页 · 手机优先 */
:root {
    --bg: #060608;
    --surface: #12121a;
    --surface-2: #1a1a26;
    --border: rgba(255, 255, 255, 0.07);
    --text: #eef1f6;
    --muted: #8b93a7;
    --purple: #a855f7;
    --cyan: #2dd4bf;
    --pink: #f472b6;
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(ellipse 100% 60% at 50% -15%, rgba(168, 85, 247, 0.12), transparent 55%),
        radial-gradient(ellipse 80% 40% at 100% 0%, rgba(45, 212, 191, 0.06), transparent 50%);
}

a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }

/* —— 顶栏 —— */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6, 6, 8, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.logo-main {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.logo-main span.gradient {
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-btn {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #c026d3, #7c3aed);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
    white-space: nowrap;
}

.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 16px 24px;
}

/* —— 首屏（紧凑） —— */
.hero {
    margin-bottom: 20px;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 8px;
}

.hero h1 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 8px;
}

.hero-lead {
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
    max-width: 36em;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.hero-trust span {
    font-size: 11px;
    font-weight: 500;
    color: #c4cad6;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.hero-trust .highlight-cyan {
    color: #99f6e4;
    border-color: rgba(45, 212, 191, 0.35);
    background: rgba(45, 212, 191, 0.08);
}

.hero-trust .highlight-purple {
    color: #e9d5ff;
    border-color: rgba(168, 85, 247, 0.4);
    background: rgba(168, 85, 247, 0.1);
}

/* —— 城市切换（分段控件） —— */
.city-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    margin-bottom: 20px;
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.city-tab {
    text-align: center;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.city-tab.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.45), rgba(124, 58, 237, 0.35));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* —— 列表区 —— */
.section-head {
    margin-bottom: 12px;
}

.section-head h2 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.section-head span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--muted);
}

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

/* 手机：左图右文 */
.report-card {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 108px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.report-card:active {
    transform: scale(0.985);
    background: var(--surface-2);
}

.report-card::after {
    content: '›';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.25);
    pointer-events: none;
}

.card-cover {
    position: relative;
    flex-shrink: 0;
    width: 92px;
    margin: 8px 0 8px 8px;
    border-radius: 10px;
    overflow: hidden;
    background: #1c1c28;
    align-self: center;
    height: 116px;
}

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

.card-score {
    position: absolute;
    left: 6px;
    bottom: 6px;
    top: auto;
    padding: 3px 7px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    border-radius: 6px;
    border: none;
}

.card-tag {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: 700;
    color: #f3e8ff;
    background: rgba(168, 85, 247, 0.85);
    border-radius: 4px;
    border: none;
}

.card-blur-hint { display: none !important; }

.card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 12px 36px 12px 12px;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-cover-strip {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 6px 8px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    min-width: 0;
    overflow: hidden;
}

.card-meta span:first-child {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.card-meta .price {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--pink);
    letter-spacing: 0.02em;
}

.card-meta .price-hint {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: var(--muted);
    margin-top: 1px;
}

.site-policy-note {
    font-size: 12px;
    line-height: 1.55;
    color: var(--muted);
    padding: 12px 14px;
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--border);
}

.site-policy-note strong {
    color: #c4cad6;
    font-weight: 600;
}

/* —— 底部说明 —— */
.promo-strip {
    margin-top: 28px;
    padding: 18px 16px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.promo-strip p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
    margin-bottom: 14px;
}

.promo-strip .nav-btn {
    display: block;
    width: 100%;
    padding: 13px;
    font-size: 14px;
}

/* —— 吸底 —— */
.sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    background: rgba(8, 8, 12, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(45, 212, 191, 0.2);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.45);
}

.sticky-bar-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sticky-lbl {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}

.sticky-sub {
    font-size: 10px;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.3;
}

.sticky-btn {
    flex-shrink: 0;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    border-radius: 999px;
    white-space: nowrap;
}

/* —— 平板 / 桌面：杂志网格 —— */
@media (min-width: 768px) {
    body { padding-bottom: 88px; }

    .wrap { padding: 28px 24px 40px; }

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

    .hero-lead { font-size: 15px; }

    .city-tabs {
        display: flex;
        max-width: 360px;
        gap: 10px;
        padding: 0;
        background: none;
        border: none;
    }

    .city-tab {
        flex: none;
        padding: 8px 20px;
        border: 1px solid var(--border);
        border-radius: 999px;
        background: var(--surface);
    }

    .section-head {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        margin-bottom: 18px;
    }

    .section-head span { margin-top: 0; }

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

    .report-card {
        flex-direction: column;
        min-height: 0;
    }

    .report-card::after { display: none; }

    .report-card:active { transform: translateY(-2px); }

    .report-card:hover {
        border-color: rgba(168, 85, 247, 0.45);
        transform: translateY(-2px);
    }

    .card-cover {
        width: 100%;
        height: auto;
        margin: 0;
        border-radius: 0;
        aspect-ratio: 3 / 4;
        align-self: stretch;
    }

    .card-score {
        top: 10px;
        left: 10px;
        bottom: auto;
        font-size: 13px;
        padding: 4px 10px;
        color: var(--cyan);
        border: 1px solid rgba(45, 212, 191, 0.35);
    }

    .card-tag {
        top: 10px;
        right: 10px;
        font-size: 10px;
        padding: 3px 8px;
        background: rgba(168, 85, 247, 0.35);
        border: 1px solid rgba(168, 85, 247, 0.5);
    }

    .card-body {
        padding: 14px 14px 16px;
    }

    .promo-strip {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: 22px 24px;
    }

    .promo-strip p {
        margin-bottom: 0;
        max-width: 520px;
    }

    .promo-strip .nav-btn {
        width: auto;
        display: inline-block;
    }
}

@media (min-width: 1024px) {
    .card-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

@media (min-width: 1200px) {
    .card-grid { grid-template-columns: repeat(4, 1fr); }
}
