/* 糖心 · 温暖生活手帐 */
:root{--background:#FAF6EF;--paper:#FFFDF9;--surface:#fff;--surface-warm:#F6EEE2;--terracotta:#B9543C;--terracotta-dark:#913E2D;--terracotta-soft:#F8E4DB;--forest:#295C4D;--forest-dark:#21483D;--forest-soft:#E6F0E8;--peach:#E9AA93;--butter:#E9C675;--butter-soft:#FBF3DB;--lavender:#A296B8;--lavender-soft:#F0ECF5;--mist-blue:#7697A5;--mist-blue-soft:#EDF3F6;--ink:#302F2B;--body:#4D4A45;--muted:#69655e;--border:#E8E0D5;--divider:#EEE8DF}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--background);color:var(--body);font-family:system-ui,-apple-system,'Microsoft YaHei','PingFang SC',sans-serif;font-size:16px;line-height:1.75}a{color:inherit;text-decoration:none}a:hover{color:var(--terracotta-dark)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}img{max-width:100%;height:auto;display:block}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--ink);line-height:1.28}h1{font-size:clamp(30px,3.3vw,42px);letter-spacing:-.05em}h2{font-size:clamp(23px,2.3vw,28px)}h3{font-size:19px}.wrap{max-width:1280px;margin:auto;padding-left:22px;padding-right:22px}.skip{position:absolute;top:-70px;left:10px;background:white;padding:10px;z-index:20}.skip:focus{top:5px}.site-header{height:74px;border-bottom:1px solid var(--border);background:rgba(255,253,249,.96);position:sticky;top:0;z-index:10;backdrop-filter:blur(8px)}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;gap:11px;align-items:center;min-width:190px}.brand-title{display:grid;line-height:1.3}.brand-title strong{font-size:23px;color:var(--forest)}.brand-title small{font-size:11px;color:var(--muted)}.logo{max-width:100px;max-height:55px}.main-nav{display:flex;gap:23px;font-size:14px;font-weight:650}.main-nav a[aria-current],.main-nav a:hover{color:var(--terracotta)}.header-cta{padding:9px 16px;background:var(--forest);color:white;border-radius:13px;font-size:13px}.header-cta:hover{color:white;background:var(--forest-dark)}.menu-button,.mobile-menu,.bottom-nav,#menu-overlay{display:none}.hero{margin-top:31px;display:grid;grid-template-columns:1.08fr 1fr;gap:20px;min-height:378px;overflow:hidden;border-radius:26px;background:#f4e7d6;border:1px solid var(--border)}.hero-text{padding:48px 8%}.hero h1{line-height:1.23}.hero h1 em{font-style:normal;color:var(--terracotta)}.hero-text>p{max-width:490px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--terracotta-dark)}.hero-note{margin-top:27px;color:var(--forest);font-size:13px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.btn{border:1px solid var(--forest);display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:12px;padding:10px 20px;background:var(--forest);font-size:14px;font-weight:700;color:white}.btn:hover{background:var(--forest-dark);color:white}.btn.secondary{background:transparent;color:var(--forest)}.btn.secondary:hover{background:var(--forest-soft)}.hero-art{background:linear-gradient(145deg,#e6bd9e,#c9d5bd);position:relative;min-height:330px;display:grid;place-items:center}.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.postcard{position:relative;margin:18px;padding:34px;background:#fffbf1df;max-width:280px;min-height:205px;transform:rotate(4deg);box-shadow:0 18px 33px #47351e25}.postcard span{font-size:11px;letter-spacing:.2em}.postcard strong{font-size:25px;color:var(--forest);display:block;margin:13px 0}.postcard p{font-size:14px}.postcard b{float:right;color:var(--terracotta)}.section{padding-top:64px;padding-bottom:5px}.section-heading{margin-bottom:23px}.section-heading h2{margin:7px 0 5px}.section-heading p{color:var(--muted);margin:0}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.category-tile{display:flex;flex-direction:column;gap:9px;background:var(--paper);padding:23px;border:1px solid var(--border);border-radius:19px;min-height:194px;position:relative;transition:transform .2s}.category-tile:nth-child(4n+2){background:var(--forest-soft)}.category-tile:nth-child(4n+3){background:var(--butter-soft)}.category-tile:nth-child(4n+4){background:var(--lavender-soft)}.category-tile:hover{transform:translateY(-3px)}.category-icon{font-size:29px}.circle-photo{width:58px;height:58px;object-fit:cover;border-radius:50%;position:absolute;right:14px;top:14px}.category-tile strong{color:var(--ink);font-size:18px}.category-tile small{font-size:13px;color:var(--muted);line-height:1.55}.text-link{font-size:13px;font-weight:700;color:var(--terracotta-dark);display:inline-block;margin-top:auto}.paper-section{padding:60px 30px 30px;margin-top:55px;background:var(--paper);border-radius:27px;border:1px solid var(--border)}.note-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.sticky{padding:25px;border-radius:7px;min-height:157px;display:flex;flex-direction:column;gap:11px;transform:rotate(-1deg)}.sticky:nth-child(even){transform:rotate(1.2deg)}.sticky-1{background:#f9e9b6}.sticky-2{background:#dfece4}.sticky-3{background:#f8dcd4}.sticky-4{background:#eae4f3}.sticky small{font-size:10px;letter-spacing:.12em}.sticky strong{font-size:18px;color:var(--ink)}.sticky span{font-size:13px;color:var(--body)}.editorial{display:grid;grid-template-columns:1.1fr 1fr;gap:65px;align-items:center}.editorial-photo{min-height:310px;border-radius:25px;background:#e0c1a9;display:grid;place-content:center;position:relative;overflow:hidden}.editorial-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.picture-fallback{font-size:27px;text-align:center;font-weight:800;color:#534136}.interest-map{display:flex;justify-content:center;flex-wrap:wrap;gap:20px;background:var(--forest-soft);padding:48px 22px;border-radius:25px}.interest-map a{background:white;border-radius:50%;width:125px;height:125px;display:grid;place-content:center;text-align:center;font-size:17px;font-weight:700;color:var(--forest);box-shadow:0 8px 17px #31534212}.interest-map a:nth-child(even){transform:translateY(20px)}.split-features{display:grid;grid-template-columns:1fr 1fr;gap:20px}.feature{border-radius:24px;padding:34px;min-height:320px;position:relative;overflow:hidden}.feature-purple{background:var(--lavender-soft)}.feature-cream{background:var(--butter-soft)}.feature a{font-weight:700;color:var(--forest)}.record-disc{background:#3c4743;border-radius:50%;width:140px;height:140px;margin:16px auto;color:white;display:grid;place-content:center;font-size:42px;box-shadow:inset 0 0 0 23px #55625e,inset 0 0 0 27px #333}.feature-image{float:right;width:140px;height:155px;object-fit:cover;border-radius:15px;margin-left:15px}.quiz-feature{display:flex;align-items:center;justify-content:space-between;gap:20px}.quiz-feature>div:first-child{max-width:600px}.quiz-shape{border-radius:35% 65% 58% 42%;height:220px;width:250px;flex:none;display:grid;place-content:center;text-align:center;background:var(--terracotta-soft);color:var(--terracotta);font-size:80px}.quiz-shape small{font-size:12px}.night-section{background:var(--forest);padding:36px 45px;border-radius:25px;margin-top:60px;color:#fff4de}.night-section h2,.night-section a{color:white}.night-section p{max-width:760px}.night-section .eyebrow{color:#f3dfbf}.room-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.room-card{background:var(--paper);padding:24px;border:1px solid var(--border);border-radius:18px;display:flex;flex-direction:column;gap:10px}.room-card h2,.room-card h3{margin:0}.room-card p{margin:0;font-size:14px}.mini-label{font-size:12px;font-weight:700;color:var(--terracotta-dark)}.room-state{color:var(--forest);font-size:13px;font-weight:700;display:block;padding:7px 0}.section-more{display:block;text-align:right;color:var(--forest);font-weight:700;margin-top:18px}.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.guide-card{border-top:3px solid var(--terracotta);background:var(--paper);padding:23px;border-radius:8px 8px 17px 17px}.guide-card:nth-child(3n+2){border-color:var(--forest)}.guide-card:nth-child(3n+3){border-color:var(--lavender)}.guide-card small{font-size:11px;color:var(--muted)}.guide-card h3{margin:12px 0}.guide-card p{font-size:14px;margin:0}.explore-end{text-align:center;padding-bottom:70px}.explore-end p{max-width:590px;margin:auto}.explore-end .actions{justify-content:center}.site-footer{background:#e9e8dc;border-top:1px solid var(--border);margin-top:30px;padding:35px 0 12px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer-grid>div{display:flex;flex-direction:column;gap:4px}.footer-grid a,.footer-grid small{font-size:13px}.footer-brand{color:var(--forest);font-size:22px}.footer-grid p{font-size:14px}.copyright{border-top:1px solid #d8d7cd;margin-top:25px;padding-top:12px;font-size:12px;color:var(--muted)}.page-shell{padding-top:36px;padding-bottom:75px}.page-intro{max-width:840px;margin-bottom:38px}.page-intro h1{margin:11px 0}.page-intro p{font-size:17px;color:var(--muted)}.discover-layout{display:grid;grid-template-columns:200px minmax(0,1fr) 245px;gap:22px;align-items:start}.category-sidebar{background:var(--paper);padding:16px;border-radius:17px;border:1px solid var(--border);position:sticky;top:92px}.category-sidebar strong{display:block;margin:2px 8px 12px}.category-sidebar a{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:9px;border-radius:9px;font-size:13px}.category-sidebar a[aria-current]{background:var(--forest);color:white}.category-sidebar small{opacity:.8}.main-column{min-width:0}.side-note{background:var(--butter-soft);border:1px solid var(--border);border-radius:18px;padding:22px;font-size:14px}.side-note>span{font-size:12px;color:var(--terracotta-dark)}.side-note h3{margin:14px 0}.side-note a{color:var(--forest);font-weight:700}.section-heading.compact{margin-bottom:15px}.topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.topic-card{background:var(--paper);border-radius:15px;border:1px solid var(--border);padding:20px;display:flex;flex-direction:column;gap:9px;min-height:220px}.topic-card h3{font-size:17px;margin:0}.topic-card p{font-size:13px;margin:0}.topic-photo{width:100%;height:115px;object-fit:cover;border-radius:11px}.featured-topic{background:var(--forest-soft);padding:24px;border-radius:18px;margin-bottom:25px}.featured-topic li{margin:7px 0}.pagination{display:flex;justify-content:center;gap:7px;margin-top:23px}.pagination a{border:1px solid var(--border);border-radius:9px;padding:7px 13px;background:white}.pagination a[aria-current]{background:var(--forest);color:white}.rooms-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:23px}.rule{background:var(--surface-warm);padding:12px;border-radius:8px}.random-topic{padding:28px;border-radius:23px;background:var(--forest-soft);display:flex;align-items:center;justify-content:space-between;gap:25px}.random-topic h2{font-size:26px;margin:8px 0}.random-topic .actions{margin:0}.toast{font-size:13px}.pills{display:flex;gap:12px;flex-wrap:wrap}.pills a{padding:10px 17px;border-radius:100px;background:white;border:1px solid var(--border);font-size:14px}.search-form{display:flex;align-items:end;gap:12px;background:white;padding:23px;border:1px solid var(--border);border-radius:18px}.search-form label{font-size:13px;font-weight:700}.search-form input,.search-form select{background:white;border:1px solid #b9b1a6;border-radius:9px;padding:9px;min-height:44px;min-width:0}.search-form input{flex:1}.search-results{display:grid;gap:12px;margin-top:15px}.search-results article{padding:22px;border:1px solid var(--border);border-radius:15px;background:white}.search-results article h3{margin:9px 0}.search-results article p{margin:0;font-size:14px}.empty-state{text-align:center;border-radius:18px;padding:40px;background:white;margin-top:30px}.about-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:32px}.about-grid>section{background:white;padding:32px;border-radius:19px}.about-grid h2{border-bottom:1px solid var(--border);padding-bottom:11px;margin-top:28px}.chat-header{margin-bottom:28px}.chat-header>a{color:var(--forest);font-weight:700}.chat-header h1{margin:15px 0}.chat-layout{display:grid;grid-template-columns:195px minmax(0,1fr) 235px;gap:18px}.chat-info,.chat-panel{background:white;border:1px solid var(--border);border-radius:17px;padding:20px}.chat-info h2{font-size:18px}.chat-info p{font-size:14px}.chat-panel{min-width:0}.chat-message-list{min-height:320px;max-height:450px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:12px;background:#f7f3eb;border-radius:12px}.chat-disabled,.chat-placeholder{margin:auto;text-align:center;max-width:420px}.chat-form{display:grid;gap:7px;margin-top:15px}.chat-form label{font-size:13px;font-weight:700}.chat-form input,.chat-form textarea{padding:10px;border:1px solid #aaa39a;border-radius:8px;width:100%;resize:vertical}.chat-form .btn{justify-self:start}.chat-form p{font-size:13px;margin:0}.message{border-bottom:1px solid var(--border);padding:9px}.message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.message-meta{font-size:12px;color:var(--muted)}:focus-visible{outline:3px solid #aa6040;outline-offset:3px}
@media(max-width:1100px){.discover-layout{grid-template-columns:185px minmax(0,1fr)}.discover-layout>.side-note{grid-column:2}.chat-layout{grid-template-columns:180px minmax(0,1fr)}.chat-layout>.side-note{grid-column:2}.main-nav{gap:12px}.header-cta{display:none}}
@media(max-width:760px){.wrap{padding-left:17px;padding-right:17px}.site-header{height:68px}.main-nav{display:none}.menu-button{display:block;border:1px solid var(--border);background:white;border-radius:10px;padding:8px 13px}.mobile-menu{position:fixed;top:68px;left:0;right:0;background:var(--paper);padding:13px 18px 22px;z-index:12;box-shadow:0 18px 25px #0002;display:grid;gap:4px}.mobile-menu[hidden],#menu-overlay[hidden]{display:none}.mobile-menu a{padding:10px;font-weight:700}.menu-open{overflow:hidden}#menu-overlay{position:fixed;inset:68px 0 0;background:#1117;z-index:9;display:block}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:var(--paper);border-top:1px solid var(--border);display:flex;justify-content:space-around;padding:9px 6px max(9px,env(safe-area-inset-bottom));z-index:8}.bottom-nav a{font-size:12px;font-weight:700;min-height:35px;display:grid;place-content:center}.site-footer{padding-bottom:76px}.hero{grid-template-columns:1fr;margin-top:15px}.hero-text{padding:28px}.hero-art{min-height:230px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.category-tile{padding:16px;min-height:188px}.category-tile strong{font-size:16px}.section{padding-top:45px}.paper-section{margin-top:40px;padding:23px 14px}.note-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.sticky{padding:16px}.sticky strong{font-size:16px}.editorial,.split-features{grid-template-columns:1fr;gap:18px}.editorial-photo{min-height:200px}.interest-map a{height:100px;width:100px;font-size:14px}.interest-map a:nth-child(even){transform:none}.room-grid,.topic-grid{grid-template-columns:1fr}.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quiz-shape{height:130px;width:125px;font-size:40px}.night-section{padding:25px;margin-top:45px}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}.discover-layout,.rooms-layout,.chat-layout,.about-grid{grid-template-columns:1fr}.category-sidebar{position:static;display:flex;overflow:auto;gap:4px;white-space:nowrap}.category-sidebar strong{display:none}.category-sidebar a{flex:none}.discover-layout>.side-note,.chat-layout>.side-note{grid-column:auto}.random-topic,.search-form{flex-wrap:wrap}.random-topic{align-items:start}.search-form input{flex-basis:100%}.chat-message-list{min-height:260px}.page-shell{padding-top:25px}.page-intro{margin-bottom:24px}}
@media(max-width:390px){.hero-text{padding:22px}.category-tile{min-height:190px}.guide-grid{grid-template-columns:1fr}.note-grid{grid-template-columns:1fr}.quiz-shape{display:none}.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* V2 editorial compositions: original palette retained */
.new-hero .hero-text h1{letter-spacing:-.055em}
.editorial-flip{grid-template-columns:1fr 1.05fr}
.mini-editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}
.mini-editorial-grid article{background:var(--paper);border:1px solid var(--border);border-radius:17px;overflow:hidden;padding:22px;display:flex;flex-direction:column;min-height:295px}
.mini-editorial-grid img{display:block;width:100%;height:150px;object-fit:cover;border-radius:12px;margin-bottom:14px}
.mini-editorial-grid span{font-size:13px;color:var(--terracotta);font-weight:700}
.mini-editorial-grid h3{font-size:22px;line-height:1.4;margin:12px 0}
.mini-editorial-grid p{font-size:15px;line-height:1.8;color:var(--body);flex:1}
.mini-editorial-grid a{color:var(--forest);font-weight:700;text-decoration:none}
.room-prompt{border-left:3px solid var(--terracotta);padding:9px 12px;background:var(--butter-soft);font-size:14px}
@media(max-width:850px){.mini-editorial-grid{grid-template-columns:1fr}.editorial-flip{grid-template-columns:1fr}}
