:root {
    --bg: #f7f2ea;
    --panel: #fffaf2;
    --ink: #171717;
    --muted: #6f675d;
    --line: rgba(24, 22, 19, .12);
    --soft: rgba(255, 255, 255, .72);
    --accent: #9c7a4f;
    --accent-dark: #5c4126;
    --ok: #2f6b54;
    --shadow: 0 22px 70px rgba(58, 42, 24, .12);
    --radius: 28px;
    --radius-sm: 18px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(206, 180, 136, .22), transparent 36rem),
        linear-gradient(180deg, #fbf7f0 0%, var(--bg) 45%, #f2ebdf 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.72;
    letter-spacing: .01em;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    display: block;
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(22px);
    background: rgba(247, 242, 234, .84);
}

.nav-wrap {
    max-width: var(--max);
    margin: 0 auto;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 0 22px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 760;
    letter-spacing: -.03em;
}

.brand-symbol {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(145deg, #1f1b16, #4d3721);
    color: #fff7e8;
    box-shadow: 0 14px 38px rgba(43, 30, 16, .22);
}

.brand-name {
    font-size: 1.08rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    transition: background .22s ease, color .22s ease, transform .22s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    background: rgba(156, 122, 79, .12);
    color: var(--ink);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--soft);
    border-radius: 999px;
    padding: 8px 14px;
}

.search-bar {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 22px 18px;
}

.search-bar form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px;
    background: rgba(255, 250, 242, .86);
    box-shadow: 0 12px 38px rgba(84, 63, 34, .08);
}

.search-bar input {
    border: 0;
    outline: 0;
    background: transparent;
    padding: 10px 16px;
    color: var(--ink);
}

.search-bar button,
.primary-btn,
.secondary-btn {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.search-bar button,
.primary-btn {
    padding: 10px 20px;
    color: #fff9ec;
    background: linear-gradient(145deg, var(--accent-dark), var(--accent));
    box-shadow: 0 14px 34px rgba(92, 65, 38, .2);
}

.secondary-btn {
    padding: 10px 20px;
    border: 1px solid var(--line);
    color: var(--ink);
    background: rgba(255, 255, 255, .58);
}

.search-bar button:hover,
.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-2px);
}

.search-hint {
    margin: 10px 16px 0;
    color: var(--muted);
    font-size: .92rem;
}

.hero,
.section {
    max-width: var(--max);
    margin: 0 auto;
    padding: 72px 22px;
}

.hero {
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
    gap: 50px;
    align-items: center;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--accent-dark);
    background: rgba(255, 255, 255, .5);
    font-weight: 650;
    font-size: .92rem;
}

h1,
h2,
h3,
h4 {
    letter-spacing: -.055em;
    line-height: 1.08;
}

h1 {
    margin: 20px 0 18px;
    font-size: clamp(2.7rem, 7vw, 5.8rem);
}

h2 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    margin: 0 0 10px;
    font-size: 1.28rem;
}

p {
    margin: 0;
}

.lead {
    max-width: 760px;
    color: var(--muted);
    font-size: clamp(1.04rem, 2vw, 1.24rem);
}

.hero-actions,
.card-actions,
.share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.domain-pill {
    margin-top: 24px;
    display: inline-flex;
    max-width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, .54);
}

.hero-visual {
    position: relative;
}

.hero-card,
.panel-card,
.video-card,
.topic-card,
.review-card,
.faq-item,
.form-card,
.rank-row,
.info-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 242, .78);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 18px;
    transform: rotate(1deg);
}

.hero-frame {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #efe3d2;
}

.hero-frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.float-note {
    position: absolute;
    right: 0;
    bottom: -22px;
    width: min(310px, 78%);
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(16px);
    box-shadow: 0 22px 60px rgba(47, 38, 27, .16);
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.stat {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, .42);
}

.stat strong {
    display: block;
    font-size: 1.6rem;
    line-height: 1.1;
}

.stat span {
    color: var(--muted);
    font-size: .9rem;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: end;
    margin-bottom: 28px;
}

.section-head p {
    max-width: 560px;
    color: var(--muted);
}

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

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

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

.panel-card,
.topic-card,
.review-card,
.form-card,
.info-card {
    padding: 26px;
}

.video-card {
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
}

.video-card:hover,
.video-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 30px 90px rgba(58, 42, 24, .17);
}

.video-frame {
    position: relative;
    overflow: hidden;
    border-radius: 27px 27px 0 0;
    background: #eee0cc;
}

.video-frame video,
.video-frame img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.play-badge {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff7e8;
    background: rgba(17, 15, 13, .18);
    opacity: 0;
    transition: opacity .22s ease;
}

.play-badge span {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(20, 18, 15, .72);
    backdrop-filter: blur(10px);
    font-size: 1.5rem;
}

.video-card:hover .play-badge,
.video-card:focus-within .play-badge {
    opacity: 1;
}

.video-body {
    padding: 22px;
}

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

.tag {
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--accent-dark);
    background: rgba(156, 122, 79, .08);
    font-size: .86rem;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--muted);
    font-size: .92rem;
}

.category-card {
    min-height: 170px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,250,242,.5));
    transition: transform .22s ease, background .22s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,.74);
}

.category-card .icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 16px;
    color: #fff9ec;
    background: var(--accent-dark);
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    padding: 18px 22px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 740;
    outline: 0;
}

.faq-item p {
    margin-top: 14px;
    color: var(--muted);
}

.review-card p {
    color: var(--muted);
}

.review-card strong {
    display: block;
    margin-top: 18px;
}

.form-card form {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.form-card input,
.form-card textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px 14px;
    background: rgba(255,255,255,.56);
    outline: 0;
}

.form-card textarea {
    min-height: 116px;
    resize: vertical;
}

.rank-list {
    display: grid;
    gap: 14px;
}

.rank-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 18px;
    box-shadow: none;
}

.rank-num {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff9ec;
    background: var(--accent-dark);
    font-weight: 800;
}

.share-button {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(255,255,255,.56);
    color: var(--ink);
    cursor: pointer;
}

.message {
    min-height: 24px;
    margin-top: 12px;
    color: var(--ok);
}

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

.site-footer {
    margin-top: 42px;
    border-top: 1px solid var(--line);
    background: rgba(27, 23, 19, .96);
    color: #fff4df;
}

.footer-grid {
    max-width: var(--max);
    margin: 0 auto;
    padding: 54px 22px;
    display: grid;
    grid-template-columns: 1.5fr .75fr .75fr;
    gap: 34px;
}

.footer-grid p,
.footer-bottom {
    color: rgba(255,244,223,.72);
}

.footer-grid h2 {
    font-size: 1rem;
    margin-bottom: 12px;
    letter-spacing: 0;
}

.footer-grid a:not(.brand-mark) {
    display: block;
    color: rgba(255,244,223,.78);
    padding: 4px 0;
}

.footer-bottom {
    max-width: var(--max);
    margin: 0 auto;
    padding: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.page-hero {
    max-width: var(--max);
    margin: 0 auto;
    padding: 70px 22px 30px;
}

.page-hero h1 {
    max-width: 920px;
}

.breadcrumb {
    color: var(--muted);
    margin-bottom: 14px;
}

.notice {
    border-left: 4px solid var(--accent);
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,.48);
    color: var(--muted);
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        left: 18px;
        right: 18px;
        top: 70px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 24px;
        background: rgba(255,250,242,.96);
        box-shadow: var(--shadow);
    }

    .nav-links.is-open {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 44px;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stat-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-head {
        display: block;
    }
}

@media (max-width: 560px) {
    .search-bar form {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .hero,
    .section,
    .page-hero {
        padding-left: 16px;
        padding-right: 16px;
    }

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

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

    .rank-row .meta {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
