/* ==========================================================
   61儿童网 · 站点样式
   暖白纸张 + 珊瑚橙 + 青绿，圆角卡片式编辑排版
   ========================================================== */

:root {
    --paper: #fbf8f3;
    --paper-2: #f5efe6;
    --card: #ffffff;
    --ink: #241f1b;
    --ink-2: #453c34;
    --muted: #7d746b;
    --line: #ece4d8;
    --line-2: #e2d7c7;
    --brand: #e8623f;
    --brand-d: #c94f2e;
    --brand-l: #fdf0ea;
    --teal: #2b8b7d;
    --teal-l: #eaf5f1;
    --sun: #e9a23b;
    --violet: #8f6aa8;
    --rose: #c25b7c;
    --blue: #4d7fb8;
    --green: #5a9e5a;
    --radius: 18px;
    --radius-s: 12px;
    --shadow: 0 1px 2px rgba(36, 31, 27, .05), 0 8px 24px -18px rgba(36, 31, 27, .28);
    --shadow-h: 0 2px 4px rgba(36, 31, 27, .06), 0 18px 40px -24px rgba(36, 31, 27, .34);
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink-2);
    background: var(--paper);
    background-image:
        radial-gradient(1000px 420px at 12% -140px, #fff3e6 0%, rgba(255, 243, 230, 0) 70%),
        radial-gradient(760px 380px at 92% 40px, #eef6f1 0%, rgba(238, 246, 241, 0) 70%);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
body > iframe { border: 0; background: var(--paper); }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }

p { margin: 0; }

ul, ol { margin: 0; padding: 0; }

button { font-family: inherit; }

.ico { vertical-align: -.15em; flex: none; }

.skip {
    position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff;
    padding: 8px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部工具条 ---------- */
.topbar {
    background: #241f1b;
    color: #d8cfc5;
    font-size: 12.5px;
    letter-spacing: .02em;
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.tb-left, .tb-right { display: flex; align-items: center; gap: 12px; }
.tb-sep { opacity: .4; }
.tb-city { color: #f0c9a8; }
.tb-right a { color: #cdc2b6; }
.tb-right a:hover { color: #fff; }

/* ---------- 页头 ---------- */
.site-head {
    background: rgba(255, 253, 249, .92);
    backdrop-filter: saturate(150%) blur(8px);
    border-bottom: 1px solid var(--line);
}
.head-in {
    display: flex; align-items: center; gap: 20px;
    min-height: 86px;
}
.brand img { width: auto; height: 46px; }
.brand-note {
    display: flex; flex-direction: column; line-height: 1.45;
    padding-left: 20px; border-left: 1px solid var(--line-2);
}
.brand-note strong { font-size: 13.5px; color: var(--ink); letter-spacing: .04em; }
.brand-note span { font-size: 12px; color: var(--muted); }
.search {
    margin-left: auto; display: flex; align-items: center;
    background: #fff; border: 1px solid var(--line-2); border-radius: 999px;
    padding: 4px 4px 4px 16px; width: min(360px, 34vw);
    transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: #eab79f; box-shadow: 0 0 0 4px rgba(232, 98, 63, .09); }
.search input {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
    font-size: 13.5px; color: var(--ink); padding: 6px 0;
}
.search input::placeholder { color: #a89e93; }
.search button {
    display: inline-flex; align-items: center; gap: 5px;
    border: 0; border-radius: 999px; background: var(--brand); color: #fff;
    font-size: 13px; font-weight: 600; padding: 7px 14px; cursor: pointer;
    transition: background .2s;
}
.search button:hover { background: var(--brand-d); }
.head-cta {
    flex: none; font-size: 13px; font-weight: 600; color: var(--brand-d);
    border: 1px solid #f0c8b7; background: var(--brand-l);
    padding: 8px 15px; border-radius: 999px;
    transition: background .2s, color .2s;
}
.head-cta:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.nav-toggle { display: none; }

.site-nav { border-top: 1px solid var(--line); background: #fff; }
.nav-in { display: flex; align-items: center; gap: 4px; height: 50px; overflow-x: auto; scrollbar-width: none; }
.nav-in::-webkit-scrollbar { display: none; }
.nav-in a {
    flex: none; font-size: 14.5px; color: #4b423a; padding: 6px 13px; border-radius: 8px;
    position: relative; white-space: nowrap; transition: color .18s, background .18s;
}
.nav-in a:hover { color: var(--brand-d); background: #fdf6f1; }
.nav-in a.is-active { color: var(--brand-d); font-weight: 700; }
.nav-in a.is-active::after {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: -8px;
    height: 2px; border-radius: 2px; background: var(--brand);
}

.announce { background: #fff6ee; border-top: 1px solid #f7e7d9; border-bottom: 1px solid #f7e7d9; }
.announce-in { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.an-tag {
    flex: none; font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
    color: #fff; background: var(--brand); padding: 2px 9px; border-radius: 6px;
}
.announce p { font-size: 13.5px; color: #8a5238; flex: 1; }
.an-link { flex: none; font-size: 12.5px; color: #b06a49; border-bottom: 1px solid #e0b9a2; }

/* ---------- 通用按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 999px; font-weight: 600; font-size: 14.5px;
    padding: 12px 24px; border: 1px solid transparent; cursor: pointer;
    transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn-primary {
    background: linear-gradient(135deg, #ef7350, #dd5530);
    color: #fff; box-shadow: 0 10px 22px -12px rgba(217, 85, 48, .8);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(217, 85, 48, .85); }
.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--ink-2); }
.btn-ghost:hover { border-color: #d9c6b4; background: #fffdf9; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ---------- 首页 Hero ---------- */
.hero { padding: 34px 0 10px; }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: stretch; }
.hero-main {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #fff6ec 0%, #fdf3e9 42%, #ecf6f1 100%);
    border: 1px solid #f0e3d3; border-radius: 26px;
    padding: 44px 44px 38px;
    box-shadow: var(--shadow);
}
.hero-main::before,
.hero-main::after {
    content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero-main::before {
    width: 260px; height: 260px; right: -70px; top: -90px;
    background: radial-gradient(circle at 35% 35%, rgba(255, 190, 140, .55), rgba(255, 190, 140, 0) 68%);
}
.hero-main::after {
    width: 200px; height: 200px; right: 70px; bottom: -110px;
    background: radial-gradient(circle at 40% 40%, rgba(120, 200, 175, .35), rgba(120, 200, 175, 0) 70%);
}
.eyebrow {
    font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
    color: #a4744f; font-weight: 700;
}
.hero-main h1 {
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.3; letter-spacing: -.02em; margin: 12px 0 14px;
    max-width: 18em;
}
.hero-lead { font-size: 15px; color: #6a5e53; max-width: 34em; line-height: 1.85; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-stats { display: flex; gap: 30px; margin-top: 30px; padding-top: 20px; border-top: 1px dashed #e5d6c4; position: relative; z-index: 1; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 24px; color: var(--ink); line-height: 1.2; }
.hero-stats span { font-size: 12px; color: var(--muted); }

.hero-side {
    background: #fff; border: 1px solid var(--line); border-radius: 26px;
    padding: 22px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.hs-head {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 12px; border-bottom: 1px solid var(--line);
    font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: .06em;
}
.hs-head a { font-size: 12px; font-weight: 500; color: var(--muted); }
.hs-head a:hover { color: var(--brand); }
.hs-item { display: block; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.hs-item:last-of-type { border-bottom: 0; padding-bottom: 0; }
.hs-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 11.5px; color: #a89a8c; }
.hs-ch { font-size: 11.5px; color: var(--brand); font-weight: 700; letter-spacing: .06em; }
.hs-item strong { display: block; font-size: 14.5px; line-height: 1.55; margin: 4px 0 4px; color: var(--ink); }
.hs-item:hover strong { color: var(--brand-d); }
.hs-item em { font-style: normal; font-size: 12.5px; color: var(--muted); line-height: 1.6; display: block; }

/* ---------- 分龄导航 ---------- */
.age-nav { padding: 16px 0 6px; }
.age-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.age-card {
    display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 15px 16px; transition: transform .18s, box-shadow .2s, border-color .2s;
}
.age-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #e6d5c4; }
.age-ico {
    width: 42px; height: 42px; flex: none; display: grid; place-items: center;
    border-radius: 12px; background: var(--brand-l); color: var(--brand);
}
.age-card:nth-child(2) .age-ico { background: #eef6f1; color: var(--teal); }
.age-card:nth-child(3) .age-ico { background: #f3f0fa; color: var(--violet); }
.age-card:nth-child(4) .age-ico { background: #fdf3e4; color: #c98a2e; }
.age-txt { display: flex; flex-direction: column; min-width: 0; }
.age-txt strong { font-size: 14.5px; }
.age-txt em { font-style: normal; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.age-num { margin-left: auto; font-size: 11.5px; color: var(--muted); flex: none; }

/* ---------- 区块 ---------- */
.block { padding: 42px 0; }
.block-tint {
    background: linear-gradient(180deg, rgba(245, 238, 228, .55), rgba(245, 238, 228, .75));
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.sec-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 16px; margin-bottom: 20px;
}
.sec-head h2 {
    font-size: 23px; letter-spacing: -.02em; position: relative; padding-left: 14px;
}
.sec-head h2::before {
    content: ""; position: absolute; left: 0; top: .32em; width: 5px; height: .95em;
    border-radius: 3px; background: linear-gradient(180deg, #f08a68, #dd5530);
}
.sec-more { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); flex: none; }
.sec-more:hover { color: var(--brand); }
.sec-lead { font-size: 13.5px; color: var(--muted); margin: -10px 0 20px; max-width: 62em; }

/* ---------- 文章卡片 ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.acard {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    transition: transform .18s, box-shadow .22s, border-color .2s;
}
.acard:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); border-color: #e6d5c4; }
.acard-wide { grid-column: span 2; }
.acard-cover {
    position: relative; height: 124px; display: flex; align-items: center;
    padding: 0 20px; overflow: hidden;
}
.acard-wide { flex-direction: row; align-items: stretch; }
.acard-wide .acard-cover { flex: none; width: 44%; height: auto; min-height: 216px; }
.acard-wide .acard-body { padding: 24px 26px; justify-content: center; }
.acard-wide .acard-body h3 { font-size: 19px; line-height: 1.55; }
.acard-wide .acard-body p { font-size: 13px; }
.acard-cover::after {
    content: ""; position: absolute; right: -40px; bottom: -60px;
    width: 170px; height: 170px; border-radius: 50%;
    background: rgba(255, 255, 255, .38);
}
.acard-cover::before {
    content: ""; position: absolute; right: 40px; top: -50px;
    width: 100px; height: 100px; border-radius: 50%;
    background: rgba(255, 255, 255, .28);
}
.acard-ghost {
    position: absolute; right: -26px; bottom: -38px; color: rgba(255, 255, 255, .11);
    line-height: 0; pointer-events: none;
}
.acard-ghost .ico { width: 108px; height: 108px; }
.acard-ico { color: rgba(255, 255, 255, .92); position: relative; z-index: 1; }
.acard-wide .acard-cover { justify-content: center; }
.acard-wide .acard-ghost { right: -30px; bottom: -42px; }
.acard-wide .acard-ghost .ico { width: 150px; height: 150px; }
.acard-ch {
    position: absolute; left: 18px; bottom: 12px; z-index: 1;
    font-size: 11.5px; letter-spacing: .08em; font-weight: 700;
    color: rgba(255, 255, 255, .95); background: rgba(0, 0, 0, .14);
    padding: 2px 9px; border-radius: 999px;
}
.acard-body { padding: 15px 18px 17px; display: flex; flex-direction: column; flex: 1; }
.acard-body h3 { font-size: 15.5px; line-height: 1.62; margin-bottom: 7px; letter-spacing: -.01em; }
.acard:hover h3 { color: var(--brand-d); }
.acard-body p { font-size: 12.8px; color: var(--muted); line-height: 1.7; flex: 1; }
.acard-meta { display: flex; gap: 6px; font-size: 11.5px; color: #a49a8f; margin-top: 11px; }

/* 频道色 */
.tone-coral { background: linear-gradient(135deg, #f58a68, #e2603c); }
.tone-amber { background: linear-gradient(135deg, #f0b45f, #dd8434); }
.tone-teal { background: linear-gradient(135deg, #5cb4a3, #2c8272); }
.tone-blue { background: linear-gradient(135deg, #6fa3d8, #3f6fa4); }
.tone-green { background: linear-gradient(135deg, #84bd76, #4d8f4d); }
.tone-rust { background: linear-gradient(135deg, #e09a6b, #bb6034); }
.tone-violet { background: linear-gradient(135deg, #b28fc8, #855fa0); }
.tone-rose { background: linear-gradient(135deg, #de8ba4, #b85374); }

/* ---------- 频道卡片 ---------- */
.ch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.chcard {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px 18px 12px; display: flex; flex-direction: column;
    transition: transform .18s, box-shadow .2s;
}
.chcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.chcard-head { display: flex; align-items: center; gap: 9px; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
.chcard-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-l); color: var(--brand); flex: none; }
.chcard.tone-teal .chcard-ico { background: #eaf5f1; color: var(--teal); }
.chcard.tone-blue .chcard-ico { background: #eef3fa; color: var(--blue); }
.chcard.tone-amber .chcard-ico { background: #fdf4e4; color: #c98a2e; }
.chcard.tone-green .chcard-ico { background: #edf6ec; color: var(--green); }
.chcard.tone-rust .chcard-ico { background: #fbeee4; color: #b96334; }
.chcard.tone-violet .chcard-ico { background: #f4eef9; color: var(--violet); }
.chcard.tone-rose .chcard-ico { background: #fbebf0; color: var(--rose); }
.chcard-name { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.chcard-count { margin-left: auto; font-size: 11px; color: var(--muted); }
.chcard-list { list-style: none; margin-top: 10px; display: flex; flex-direction: column; gap: 7px; }
.chcard-list a { font-size: 12.8px; color: #5a5148; line-height: 1.55; display: block; }
.chcard-list a:hover { color: var(--brand-d); }

/* ---------- 左右分栏 ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 308px; gap: 30px; align-items: start; }
.split-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 18px; }

/* ---------- 排行 / 侧栏 ---------- */
.list-rows { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.arow { display: flex; align-items: center; gap: 14px; padding: 15px 20px; border-bottom: 1px solid var(--line); transition: background .18s; }
.arow:last-child { border-bottom: 0; }
.arow:hover { background: #fffcf8; }
.arow-no {
    flex: none; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center;
    font-size: 12px; font-weight: 700; color: #b0a396; background: #f6f0e8;
}
.arow:nth-child(1) .arow-no { background: var(--brand); color: #fff; }
.arow:nth-child(2) .arow-no { background: #f0a06f; color: #fff; }
.arow:nth-child(3) .arow-no { background: #f3c39d; color: #fff; }
.arow-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.arow-title { font-size: 14.5px; color: var(--ink); line-height: 1.55; }
.arow:hover .arow-title { color: var(--brand-d); }
.arow-sub { font-size: 11.5px; color: var(--muted); }

.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.side-card h3 { font-size: 14px; letter-spacing: .04em; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.side-card h3::before { content: ""; width: 4px; height: 14px; border-radius: 2px; background: var(--brand); }
.side-tools { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.side-tools a { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.side-tools li:last-child a { border-bottom: 0; }
.side-tools a:hover strong { color: var(--brand-d); }
.st-ico { width: 32px; height: 32px; border-radius: 9px; background: var(--paper-2); color: #8d7a67; display: grid; place-items: center; flex: none; }
.side-tools a > span:not(.st-ico) { display: flex; flex-direction: column; min-width: 0; }
.side-tools strong { font-size: 13px; font-weight: 600; color: var(--ink); }
.side-tools em { font-style: normal; font-size: 11px; color: var(--muted); }
.side-note p, .side-p { font-size: 12.8px; color: #6d635a; line-height: 1.75; }
.side-note a { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--brand-d); margin-top: 10px; font-weight: 600; }
.side-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.side-links a { font-size: 13px; color: #5a5148; }
.side-links a:hover { color: var(--brand); }

.rank-list { list-style: none; display: flex; flex-direction: column; gap: 11px; counter-reset: rk; }
.rank-list li a { display: flex; gap: 9px; font-size: 13px; line-height: 1.55; color: #4f463e; }
.rank-list li a:hover { color: var(--brand-d); }
.rk {
    flex: none; width: 20px; height: 20px; border-radius: 5px; background: #f6f0e8; color: #a89a8c;
    font-size: 11px; font-weight: 700; display: grid; place-items: center; margin-top: 1px;
}
.rank-list li:nth-child(1) .rk { background: var(--brand); color: #fff; }
.rank-list li:nth-child(2) .rk { background: #ee9a6c; color: #fff; }
.rank-list li:nth-child(3) .rk { background: #f2c19a; color: #fff; }

.cta-card { background: linear-gradient(150deg, #2b2622, #3b322b); border: 0; color: #f2e9df; }
.cta-card h3 { color: #fff; font-size: 16px; line-height: 1.55; margin: 10px 0 8px; }
.cta-card h3::before { display: none; }
.cta-card p { font-size: 12.5px; color: #cbbdaf; line-height: 1.75; margin-bottom: 14px; }
.cta-tag { font-size: 11px; letter-spacing: .14em; color: #f0b48c; font-weight: 700; }

/* ---------- 通用提示块 ---------- */
.note {
    background: #fdf6ec; border-left: 3px solid var(--sun); border-radius: 0 10px 10px 0;
    padding: 14px 17px; margin: 20px 0; font-size: 13.8px; line-height: 1.85; color: #5f5041;
}
.note strong { color: #8a5a2a; }

/* ---------- 广告位 ---------- */
.ad-slot {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    min-height: 90px; border: 1px dashed #ddcdb9; border-radius: var(--radius-s);
    background: repeating-linear-gradient(135deg, #fffdfa, #fffdfa 10px, #fbf5ec 10px, #fbf5ec 20px);
    color: #b1a294; padding: 14px;
}
.ad-tag { font-size: 10px; letter-spacing: .2em; color: #b9a795; border: 1px solid #e3d5c3; padding: 1px 6px; border-radius: 4px; }
.ad-txt { font-size: 12px; }
.split-side .ad-slot { min-height: 250px; }

/* ---------- 工具 ---------- */
.tools-band { background: linear-gradient(180deg, #eef6f1, #f7fbf8); border-top: 1px solid #dfeee6; border-bottom: 1px solid #dfeee6; }
.tool-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tool-card {
    background: #fff; border: 1px solid #dfe9e2; border-radius: var(--radius); padding: 18px 16px;
    display: flex; flex-direction: column; gap: 6px; transition: transform .18s, box-shadow .2s;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); }
.tool-ico { width: 40px; height: 40px; border-radius: 12px; background: #eaf5f1; color: var(--teal); display: grid; place-items: center; margin-bottom: 4px; }
.tool-card strong { font-size: 13.8px; color: var(--ink); line-height: 1.45; }
.tool-card em { font-style: normal; font-size: 12px; color: var(--muted); line-height: 1.65; flex: 1; }
.tool-age { font-size: 11px; color: var(--teal); background: #f0f9f5; border-radius: 999px; padding: 2px 9px; align-self: flex-start; margin-top: 4px; }

/* ---------- 亲子地图卡片 ---------- */
.place-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.place-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
    display: flex; flex-direction: column; gap: 8px; transition: transform .18s, box-shadow .2s;
}
.place-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); }
.place-top { display: flex; align-items: center; gap: 8px; }
.place-type { font-size: 11px; font-weight: 700; color: var(--green); background: #edf6ec; border-radius: 5px; padding: 2px 8px; }
.place-area { font-size: 11.5px; color: var(--muted); }
.place-card h3 { font-size: 16px; }
.place-card:hover h3 { color: var(--green); }
.place-card p { font-size: 12.6px; color: var(--muted); line-height: 1.7; flex: 1; }
.place-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.place-meta span { font-size: 11px; color: #857a6d; background: #f8f3ea; border-radius: 999px; padding: 2px 9px; }

/* ---------- 页脚 ---------- */
.site-foot { margin-top: 30px; background: #241f1b; color: #c3b7aa; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding: 46px 24px 34px; }
.foot-brand img { height: 42px; width: auto; filter: brightness(0) invert(1) opacity(.92); margin-bottom: 14px; }
.foot-brand p { font-size: 12.5px; line-height: 1.85; color: #a99c8e; max-width: 32em; }
.foot-meta { margin-top: 10px; color: #8a7e72 !important; font-size: 11.5px !important; }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col h3 { font-size: 12px; letter-spacing: .16em; color: #8f8275; font-weight: 600; margin-bottom: 4px; }
.foot-col a { font-size: 13px; color: #c9bdaf; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    border-top: 1px solid #3a332c; padding: 18px 24px 26px; font-size: 12px; color: #8f8275;
}
.foot-bottom a { color: #a99c8e; }
.foot-bottom a:hover { color: #fff; }
.beian a { border-bottom: 1px dotted #5b5148; }
.copyright span { opacity: .5; margin: 0 4px; }

/* ---------- 面包屑 ---------- */
.crumbs { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 12px; color: var(--muted); padding: 18px 0 0; }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { color: #cdbfae; }
.crumbs span[aria-current] { color: #9c9084; }

/* ---------- 频道页 ---------- */
.ch-hero {
    margin-top: 18px; border-radius: 22px; overflow: hidden;
    border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow);
    position: relative;
}
.ch-hero::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
    background: linear-gradient(180deg, #f08a68, #dd5530);
}
.ch-hero.tone-teal::before { background: linear-gradient(180deg, #6cc0b0, #2c8272); }
.ch-hero.tone-blue::before { background: linear-gradient(180deg, #7fb0e0, #3f6fa4); }
.ch-hero.tone-amber::before { background: linear-gradient(180deg, #f3c583, #dd8434); }
.ch-hero.tone-green::before { background: linear-gradient(180deg, #9ccd90, #4d8f4d); }
.ch-hero.tone-rust::before { background: linear-gradient(180deg, #efb08a, #bb6034); }
.ch-hero.tone-violet::before { background: linear-gradient(180deg, #c5a8d8, #855fa0); }
.ch-hero.tone-rose::before { background: linear-gradient(180deg, #e9a7ba, #b85374); }
.ch-hero-in { display: flex; align-items: center; gap: 16px; padding: 26px 30px 18px; }
.ch-hero-ico { width: 60px; height: 60px; border-radius: 16px; background: var(--brand-l); color: var(--brand); display: grid; place-items: center; flex: none; }
.ch-hero.tone-teal .ch-hero-ico { background: #eaf5f1; color: var(--teal); }
.ch-hero.tone-blue .ch-hero-ico { background: #eef3fa; color: var(--blue); }
.ch-hero.tone-amber .ch-hero-ico { background: #fdf4e4; color: #c98a2e; }
.ch-hero.tone-green .ch-hero-ico { background: #edf6ec; color: var(--green); }
.ch-hero.tone-rust .ch-hero-ico { background: #fbeee4; color: #b96334; }
.ch-hero.tone-violet .ch-hero-ico { background: #f4eef9; color: var(--violet); }
.ch-hero.tone-rose .ch-hero-ico { background: #fbebf0; color: var(--rose); }
.ch-hero-txt { min-width: 0; }
.ch-hero h1 { font-size: 28px; letter-spacing: -.02em; }
.ch-hero-txt p { font-size: 13.5px; color: #6d635a; margin-top: 6px; max-width: 46em; line-height: 1.8; }
.ch-hero-side { margin-left: auto; text-align: right; flex: none; }
.ch-hero-side strong { display: block; font-size: 30px; color: var(--ink); line-height: 1; }
.ch-hero-side span { font-size: 11.5px; color: var(--muted); }
.ch-hero-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 0 30px 20px 106px; }
.chip-label { font-size: 12px; color: var(--muted); }
.chip {
    display: inline-flex; align-items: center; gap: 5px; font-size: 12px;
    background: #fff; border: 1px solid var(--line-2); color: #5f554b;
    border-radius: 999px; padding: 4px 12px; cursor: pointer;
    transition: background .18s, border-color .18s, color .18s;
}
.chip:hover { border-color: #dcbca8; color: var(--brand-d); }
.chip em { font-style: normal; font-size: 10.5px; color: #a89a8c; }
.chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip.is-on em { color: rgba(255, 255, 255, .8); }

.lead-art {
    display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; margin-bottom: 20px; transition: transform .18s, box-shadow .2s;
}
.lead-art:hover { transform: translateY(-2px); box-shadow: var(--shadow-h); }
.lead-cover { display: grid; place-items: center; color: rgba(255, 255, 255, .9); min-height: 168px; }
.lead-body { padding: 22px 26px; display: flex; flex-direction: column; justify-content: center; }
.lead-tag { font-size: 11px; letter-spacing: .14em; color: var(--brand); font-weight: 700; }
.lead-body h2 { font-size: 20px; line-height: 1.5; margin: 8px 0 8px; }
.lead-art:hover h2 { color: var(--brand-d); }
.lead-body p { font-size: 13px; color: var(--muted); line-height: 1.75; }
.lead-meta { display: flex; gap: 7px; font-size: 11.5px; color: #a49a8f; margin-top: 12px; }

.pager { display: flex; gap: 8px; justify-content: center; margin: 28px 0 18px; }
.pager a, .pager span {
    min-width: 36px; height: 36px; padding: 0 12px; border-radius: 10px; display: grid; place-items: center;
    font-size: 13px; background: #fff; border: 1px solid var(--line-2); color: #5c5248;
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .cur { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }

/* ---------- 文章 ---------- */
.split-art { grid-template-columns: minmax(0, 1fr) 300px; }
.article { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 38px 46px 34px; box-shadow: var(--shadow); }
.art-head { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 22px; }
.art-ch {
    display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em;
    color: var(--brand); background: var(--brand-l); border-radius: 6px; padding: 3px 10px;
}
.art-head h1 { font-size: clamp(25px, 2.6vw, 34px); line-height: 1.42; letter-spacing: -.02em; margin: 14px 0 10px; }
.art-sub { font-size: 14.5px; color: #7a6f64; line-height: 1.75; }
.art-meta { display: flex; flex-wrap: wrap; gap: 7px; font-size: 12px; color: #a2978b; margin-top: 14px; }
.art-body { font-size: 16.5px; line-height: 1.95; color: #352e28; }
.art-body > p { margin: 0 0 18px; }
.art-body > p:first-child { font-size: 17px; color: #2c2620; }
.art-body h2 {
    font-size: 21px; margin: 34px 0 14px; padding-left: 14px; position: relative; line-height: 1.5;
}
.art-body h2::before {
    content: ""; position: absolute; left: 0; top: .28em; width: 5px; height: 1em;
    border-radius: 3px; background: linear-gradient(180deg, #f08a68, #dd5530);
}
.art-body h3 { font-size: 17px; margin: 24px 0 10px; color: #2a241f; }
.art-body ul, .art-body ol { margin: 0 0 18px; padding-left: 1.35em; }
.art-body li { margin-bottom: 8px; }
.art-body li::marker { color: var(--brand); }
.art-body strong { color: #1f1a16; font-weight: 700; }
.art-body a { color: var(--brand-d); border-bottom: 1px solid #f3c6b5; }
.art-body a:hover { border-color: var(--brand-d); }
.art-body table {
    width: 100%; border-collapse: collapse; margin: 20px 0 22px; font-size: 14px; line-height: 1.7;
    border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
}
.art-body th, .art-body td { padding: 10px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.art-body thead th { background: #faf4ea; color: #4a3f36; font-weight: 700; white-space: nowrap; }
.art-body tbody tr:nth-child(even) { background: #fdfaf5; }
.art-body tbody tr:last-child td { border-bottom: 0; }
.art-body .note {
    background: #fdf6ec; border-left: 3px solid var(--sun); border-radius: 0 10px 10px 0;
    padding: 15px 18px; margin: 22px 0; font-size: 14.5px; line-height: 1.85; color: #5f5041;
}
.art-body .note strong { color: #8a5a2a; }
.art-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; padding-top: 20px; border-top: 1px dashed var(--line); }
.art-tags > span { font-size: 11.5px; color: #a89a8c; letter-spacing: .1em; }
.art-tags a { font-size: 12px; color: #6d6156; background: #f8f3ea; border-radius: 999px; padding: 3px 11px; }
.art-tags a:hover { background: var(--brand-l); color: var(--brand-d); }
.disclaimer {
    margin-top: 24px; padding: 18px 20px; border-radius: 12px; background: #f7f7f5;
    border: 1px solid #eceae4; font-size: 13px; color: #6f675e; line-height: 1.8;
}
.disclaimer strong { display: block; font-size: 12.5px; letter-spacing: .08em; color: #4b443c; margin-bottom: 5px; }
.rel-box { margin-top: 34px; }
.rel-box h2 { font-size: 18px; margin-bottom: 16px; }
.rel-box .grid-cards { gap: 14px; }
.rel-box .acard-cover { height: 84px; }
.rel-box .acard-body p { display: none; }

/* ---------- 页面 / 表单 ---------- */
.split-page { grid-template-columns: minmax(0, 1fr) 300px; }
.page-art .art-body h2:first-of-type { margin-top: 26px; }
.page-art .art-body { font-size: 16px; }
.form-box { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-box h2 { font-size: 19px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 12.5px; color: #6d6156; font-weight: 600; }
.field > span em { color: var(--brand); font-style: normal; }
.field input, .field select, .field textarea {
    width: 100%; border: 1px solid var(--line-2); border-radius: 10px; background: #fffdfa;
    padding: 11px 13px; font-size: 14px; font-family: inherit; color: var(--ink); outline: 0;
    transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: #e5b49d; box-shadow: 0 0 0 3px rgba(232, 98, 63, .08); background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.seg { display: flex; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span {
    display: inline-block; padding: 8px 20px; border-radius: 999px; font-size: 13.5px;
    border: 1px solid var(--line-2); background: #fff; color: #5f554b; transition: all .18s;
}
.seg input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(232, 98, 63, .18); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-foot p { font-size: 11.5px; color: var(--muted); max-width: 32em; }
.form-foot p a { color: var(--brand-d); border-bottom: 1px solid #f0c6b5; }
.alert { border-radius: 10px; padding: 12px 16px; font-size: 13.5px; margin-bottom: 16px; }
.alert.ok { background: #edf8f2; border: 1px solid #cfe9dc; color: #2f6b51; }
.alert.bad { background: #fdf0ec; border: 1px solid #f6d3c7; color: #a1442a; }

/* ---------- 列表页公共 ---------- */
.list-hero { padding: 26px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.list-hero h1 { font-size: 30px; letter-spacing: -.02em; margin: 8px 0 8px; }
.list-hero-lead { font-size: 13.8px; color: var(--muted); max-width: 60em; line-height: 1.8; }
.search-page { margin: 16px 0 6px; width: min(520px, 100%); background: #fff; }
.empty { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 46px 30px; text-align: center; }
.empty h2 { font-size: 21px; margin-bottom: 8px; }
.empty p { font-size: 13.5px; color: var(--muted); }
.empty-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }

/* ---------- 年龄段页 ---------- */
.age-hero { padding: 22px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.age-hero h1 { font-size: 30px; margin: 8px 0; }
.age-hero-lead { font-size: 13.8px; color: var(--muted); max-width: 56em; }
.age-switch { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- 亲子地图 ---------- */
.map-hero {
    margin-top: 20px; display: grid; grid-template-columns: 1fr 240px; gap: 20px; align-items: center;
    background: linear-gradient(135deg, #f2f9f4, #fbfdf9 60%, #fff7ee);
    border: 1px solid #e2ecdf; border-radius: 24px; padding: 34px 36px; box-shadow: var(--shadow);
}
.map-hero h1 { font-size: 34px; letter-spacing: -.02em; margin: 8px 0 10px; }
.map-hero-txt p { font-size: 14px; color: #5f6b5c; max-width: 40em; line-height: 1.85; }
.map-hero-meta { display: flex; gap: 8px; font-size: 12px; color: #8b9a86; margin-top: 14px; }
.map-hero-art { justify-self: end; }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0 20px; }
.filter-bar .chip { font-size: 12.5px; padding: 6px 14px; }
.place-list { display: flex; flex-direction: column; gap: 14px; }
.place-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; transition: box-shadow .2s, border-color .2s; }
.place-item:hover { box-shadow: var(--shadow); border-color: #e3d6c6; }
.pi-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pi-type { font-size: 11px; font-weight: 700; color: var(--green); background: #edf6ec; border-radius: 5px; padding: 2px 8px; }
.pi-head h2 { font-size: 18px; margin-top: 6px; }
.pi-head h2 a:hover { color: var(--green); }
.pi-area { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); flex: none; }
.pi-desc { font-size: 13.5px; color: #6b6157; line-height: 1.8; margin: 10px 0 12px; }
.pi-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 12px; padding: 12px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.pi-meta div { display: flex; flex-direction: column; gap: 2px; }
.pi-meta dt { font-size: 11px; color: #a89a8c; margin: 0; }
.pi-meta dd { margin: 0; font-size: 12.5px; color: #4b423a; }
.pi-tips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.pi-tips span { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: #7a6a58; background: #fbf6ee; border-radius: 6px; padding: 3px 9px; }
.pi-tips .ico { color: var(--teal); }
.pi-link { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--green); }
.map-guide { margin: 34px 0 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.map-guide h2 { font-size: 19px; margin-bottom: 14px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-grid strong { font-size: 13.5px; display: block; margin-bottom: 4px; }
.guide-grid p { font-size: 12.5px; color: var(--muted); line-height: 1.75; }

/* ---------- 地点详情 ---------- */
.place-detail { margin-top: 14px; }
.pd-head { padding: 20px 0 18px; border-bottom: 1px solid var(--line); }
.pd-head h1 { font-size: 30px; margin: 10px 0 6px; }
.pd-sub { font-size: 13px; color: var(--muted); }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; margin-top: 24px; align-items: start; }
.pd-main { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 36px; box-shadow: var(--shadow); }
.pd-lead { font-size: 15.5px; line-height: 1.9; color: #463d35; }
.pd-main h2 { font-size: 19px; margin: 28px 0 12px; padding-left: 12px; position: relative; }
.pd-main h2::before { content: ""; position: absolute; left: 0; top: .3em; width: 4px; height: .95em; border-radius: 3px; background: var(--green); }
.pd-highlights { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-highlights span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; background: #f2f8ef; color: #4d7a46; border-radius: 999px; padding: 5px 13px; }
.pd-tips { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pd-tips li { display: flex; gap: 9px; font-size: 13.5px; color: #5d5045; line-height: 1.7; }
.pd-tips .ico { color: var(--teal); margin-top: 3px; }
.pd-table { width: 100%; border-collapse: collapse; font-size: 13.5px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pd-table th, .pd-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pd-table th { width: 120px; background: #faf5ec; color: #6a5b4b; font-weight: 600; }
.pd-table tr:last-child th, .pd-table tr:last-child td { border-bottom: 0; }
.pd-main .note { background: #fdf6ec; border-left: 3px solid var(--sun); border-radius: 0 10px 10px 0; padding: 14px 16px; font-size: 13px; color: #6a5847; line-height: 1.8; margin: 18px 0; }
.pd-main .ad-slot { margin: 22px 0; }
.pd-back a { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--green); font-weight: 600; }
.pd-back .ico { transform: rotate(180deg); }

/* ---------- 工具页 ---------- */
.tool-hero { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.tool-hero-ico { width: 58px; height: 58px; border-radius: 16px; background: #eaf5f1; color: var(--teal); display: grid; place-items: center; flex: none; }
.tool-hero h1 { font-size: 28px; margin: 6px 0 6px; }
.tool-hero p { font-size: 13.5px; color: var(--muted); max-width: 52em; line-height: 1.8; }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; margin-top: 26px; align-items: start; }
.tool-panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 30px 28px; box-shadow: var(--shadow); }
.tool-panel h2 { font-size: 19px; margin-bottom: 16px; }
.tool-lead { font-size: 13px; color: var(--muted); margin: -8px 0 16px; }
.tool-form { display: flex; flex-direction: column; }
.tool-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 4px; }
.tool-result { margin-top: 24px; border-top: 1px dashed var(--line); padding-top: 20px; }
.result-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.result-head h3 { font-size: 17px; }
.band { font-size: 11.5px; font-weight: 700; color: #2f6b51; background: #eaf7f0; border: 1px solid #cfe9db; border-radius: 999px; padding: 2px 10px; }
.band.low, .band.mid-low { color: #9a6a1f; background: #fdf5e4; border-color: #f0ddb4; }
.band.high, .band.mid-high { color: #a1442a; background: #fdf0ec; border-color: #f3d2c6; }
.gauge-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 18px 0 6px; }
.gauge-label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.gauge-label strong { color: var(--ink); font-size: 15px; }
.gauge-bar { position: relative; height: 10px; border-radius: 999px; background: linear-gradient(90deg, #f6e2d4, #eef4ea 45%, #e3f2ea); }
.gauge-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #f2a883, #e8623f); transition: width .5s; }
.gauge-bar b { position: absolute; top: -4px; width: 3px; height: 18px; border-radius: 2px; background: #2b2622; transform: translateX(-1px); transition: left .5s; }
.gauge-scale { display: flex; justify-content: space-between; font-size: 10.5px; color: #ab9f92; margin-top: 6px; }
.result-text { font-size: 14px; color: #4d443b; line-height: 1.85; margin-top: 12px; }
.result-text p { margin-bottom: 8px; }
.result-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.result-actions p { font-size: 11.5px; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 10px; }
.plan-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 520px; }
.plan-table th, .plan-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.plan-table thead th { background: #faf5ec; white-space: nowrap; font-size: 12px; color: #6a5b4b; }
.plan-table td em { display: block; font-style: normal; font-size: 11px; color: #a2978b; margin-top: 2px; }
.plan-table tbody tr:last-child td { border-bottom: 0; }
.plan-table .st { font-size: 11px; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.st-due .st, .st-now .st { color: #a1442a; background: #fdf0ec; }
.st-soon .st { color: #9a6a1f; background: #fdf5e4; }
.st-wait .st, .st-past .st { color: #7c8a76; background: #f2f6ef; }
.st-due td, .st-now td { background: #fffaf8; }
.preg-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 18px; }
.preg-nums div { background: #faf6ef; border: 1px solid #f0e6d8; border-radius: 12px; padding: 12px 14px; }
.preg-nums span { font-size: 11.5px; color: var(--muted); display: block; }
.preg-nums strong { font-size: 19px; color: var(--ink); letter-spacing: -.01em; }
.preg-bar { position: relative; height: 10px; border-radius: 999px; background: #f0e9df; overflow: visible; }
.preg-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #f4b08e, #e8623f); transition: width .5s; }
.preg-bar .pb-40 { position: absolute; top: -5px; width: 2px; height: 20px; background: #241f1b; }
.preg-scale { display: flex; justify-content: space-between; font-size: 10.5px; color: #ab9f92; margin: 7px 0 4px; }
.fs-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.fs-meta span { font-size: 11.5px; color: #6a5b4b; background: #faf5ec; border-radius: 999px; padding: 3px 10px; }
.week-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.week-card { border: 1px solid var(--line); border-radius: 14px; padding: 15px 17px; background: #fffdf9; }
.week-card h4 { font-size: 14px; margin-bottom: 6px; }
.wc-food { font-size: 11.5px; color: var(--teal); margin-bottom: 8px; }
.week-card ul { padding-left: 1.1em; margin: 0 0 8px; }
.week-card li { font-size: 12.5px; color: #5d5147; line-height: 1.7; }
.wc-tip { font-size: 11.5px; color: #9a8b7a; line-height: 1.7; border-top: 1px dashed var(--line); padding-top: 7px; }
.fs-sub { font-size: 15px; margin: 22px 0 8px; }
.fs-shop { font-size: 13px; color: #5d5147; line-height: 1.85; background: #faf6ef; border-radius: 10px; padding: 12px 15px; }
.check-head { display: flex; align-items: center; gap: 12px; margin: 4px 0 18px; }
.check-bar { flex: 1; height: 8px; border-radius: 999px; background: #f0e9df; overflow: hidden; }
.check-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #6cc0b0, #2c8272); transition: width .3s; }
.check-head span { font-size: 12.5px; color: var(--muted); flex: none; }
.check-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check-group { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fffdf9; }
.check-group h3 { font-size: 14.5px; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.cg-ico { width: 22px; height: 22px; border-radius: 7px; background: #eaf5f1; color: var(--teal); font-size: 12px; display: grid; place-items: center; }
.check-group label { display: flex; align-items: flex-start; gap: 9px; padding: 6px 0; font-size: 13px; color: #554b42; line-height: 1.65; cursor: pointer; border-bottom: 1px dashed #f1e9de; }
.check-group label:last-child { border-bottom: 0; }
.check-group input { width: 16px; height: 16px; accent-color: #2b8b7d; margin-top: 3px; flex: none; }
.check-group input:checked + span { color: #9d9286; text-decoration: line-through; }
.tool-list { display: flex; flex-direction: column; gap: 12px; }
.tool-row { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; transition: transform .18s, box-shadow .2s; }
.tool-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-h); }
.tr-ico { width: 48px; height: 48px; border-radius: 14px; background: #eaf5f1; color: var(--teal); display: grid; place-items: center; flex: none; }
.tr-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tr-main strong { font-size: 15.5px; color: var(--ink); }
.tr-main em { font-style: normal; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.tr-age { margin-left: auto; font-size: 11.5px; color: var(--teal); background: #f0f9f5; border-radius: 999px; padding: 2px 10px; flex: none; }
.tr-go { color: #c3b3a1; flex: none; }
.tool-note { margin: 30px 0 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.tool-note h2 { font-size: 18px; margin-bottom: 10px; }
.tool-note ul { padding-left: 1.2em; }
.tool-note li { font-size: 13px; color: #6a6158; line-height: 1.85; margin-bottom: 4px; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 70px 20px 90px; }
.nf-code { font-size: 74px; font-weight: 800; line-height: 1; color: #efd9c7; letter-spacing: -.04em; }
.nf h1 { font-size: 26px; margin: 8px 0 10px; }
.nf-lead { font-size: 13.5px; color: var(--muted); }
.nf .search { margin: 20px auto 0; width: min(460px, 100%); }
.nf-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
    .ch-grid { grid-template-columns: repeat(2, 1fr); }
    .tool-grid { grid-template-columns: repeat(3, 1fr); }
    .brand-note { display: none; }
    .search { width: min(320px, 40vw); }
}

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-side { flex-direction: column; }
    .hero-main { padding: 34px 30px 28px; }
    .age-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-cards, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .acard-wide { grid-column: span 2; }
    .split, .split-art, .split-page, .pd-grid, .tool-layout { grid-template-columns: minmax(0, 1fr); }
    .split-side { position: static; }
    .place-grid { grid-template-columns: repeat(2, 1fr); }
    .foot-top { grid-template-columns: 1fr 1fr; }
    .pl-hero { grid-template-columns: 1fr; }
    .map-hero { grid-template-columns: 1fr; }
    .map-hero-art { display: none; }
    .lead-art { grid-template-columns: 160px minmax(0, 1fr); }
    .article { padding: 30px 28px 26px; }
    .pd-main { padding: 26px 24px; }
    .tool-panel { padding: 22px 22px 24px; }
    .week-grid, .check-groups { grid-template-columns: 1fr; }
    .pi-meta { grid-template-columns: repeat(2, 1fr); }
    .guide-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .wrap { padding: 0 18px; }
    .head-in { min-height: 70px; gap: 12px; flex-wrap: wrap; padding: 10px 0; }
    .brand img { height: 38px; }
    .search { display: none; }
    .head-cta { display: none; }
    .nav-toggle {
        display: inline-flex; margin-left: auto; flex-direction: column; justify-content: center; gap: 4px;
        width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer;
    }
    .nav-toggle span { display: block; height: 2px; width: 18px; margin: 0 auto; background: #4b423a; border-radius: 2px; }
    .site-nav { display: none; }
    .site-nav.is-open { display: block; }
    .nav-in { flex-wrap: wrap; height: auto; padding: 10px 18px 14px; gap: 2px; }
    .nav-in a { font-size: 14px; padding: 7px 11px; }
    .nav-in a.is-active::after { display: none; }
    .nav-in a.is-active { background: var(--brand-l); }
    .announce-in { min-height: 40px; gap: 9px; }
    .announce p { font-size: 12.5px; }
    .an-link { display: none; }
    .tb-right { display: none; }
    .topbar-in { justify-content: center; }
    .tb-date, .tb-city { white-space: nowrap; }
    .hero { padding-top: 20px; }
    .hero-main h1 { font-size: 28px; }
    .hero-stats { gap: 22px; }
    .block { padding: 32px 0; }
}

@media (max-width: 700px) {
    .grid-cards, .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .acard-wide { grid-column: span 1; flex-direction: column; }
    .acard-wide .acard-cover { width: 100%; height: 148px; min-height: 0; }
    .tool-grid { grid-template-columns: 1fr; }
    .ch-grid { grid-template-columns: 1fr; }
    .place-grid { grid-template-columns: 1fr; }
    .age-grid { grid-template-columns: 1fr; }
    .lead-art { grid-template-columns: 1fr; }
    .lead-cover { min-height: 108px; }
    .ch-hero-in { padding: 20px 22px 14px; flex-wrap: wrap; }
    .ch-hero h1 { font-size: 23px; }
    .ch-hero-side { display: none; }
    .ch-hero-tags { padding: 0 22px 16px; }
    .hero-main { padding: 26px 22px 22px; border-radius: 20px; }
    .hero-acts .btn { padding: 10px 18px; font-size: 13.5px; }
    .hero-lead { font-size: 14px; }
    .hero-stats { margin-top: 22px; gap: 18px; }
    .hero-stats strong { font-size: 20px; }
    .article { padding: 22px 18px; border-radius: 16px; }
    .art-body { font-size: 16px; }
    .art-body h2 { font-size: 19px; }
    .art-body table { font-size: 12.5px; }
    .art-body th, .art-body td { padding: 8px 9px; }
    .tool-hero { gap: 12px; }
    .tool-hero h1 { font-size: 22px; }
    .tool-hero-ico { width: 46px; height: 46px; border-radius: 13px; }
    .tool-panel { padding: 18px 16px 20px; border-radius: 16px; }
    .gauge-wrap { grid-template-columns: 1fr; gap: 16px; }
    .preg-nums { grid-template-columns: 1fr; }
    .pd-head h1 { font-size: 24px; }
    .pd-main { padding: 20px 18px; border-radius: 16px; }
    .map-hero { padding: 24px 20px; border-radius: 18px; }
    .map-hero h1 { font-size: 26px; }
    .foot-top { grid-template-columns: 1fr 1fr; gap: 22px; padding: 32px 18px 24px; }
    .foot-brand { grid-column: span 2; }
    .foot-bottom { flex-direction: column; align-items: flex-start; gap: 7px; padding: 16px 18px 22px; }
    .list-hero h1, .age-hero h1 { font-size: 24px; }
    .sec-head h2 { font-size: 20px; }
    .sec-lead { font-size: 12.5px; }
}

/* ---------- 打印 ---------- */
@media print {
    body { background: #fff; }
    .topbar, .site-head, .site-foot, .split-side, .crumbs, .tool-head, .site-nav,
    .announce, .hero-acts, .tool-actions, .result-actions, .ad-slot, .nav-toggle { display: none !important; }
    .wrap { max-width: 100%; padding: 0; }
    .tool-layout, .split { display: block; }
    .tool-panel, .article, .pd-main { border: 0; box-shadow: none; padding: 0; }
    .tool-result { border: 0; }
    a { text-decoration: none; }
    .plan-table { font-size: 11px; }
    .week-grid { grid-template-columns: 1fr 1fr; }
    .check-group { break-inside: avoid; }
    .art-body h2 { break-after: avoid; }
}
