/* Homepage: compact discovery layout; shared navigation stays in mobile.css. */
:root{--bg:#fffdf6;--text:#382b18;--text-dim:#7b705f;--text-light:#8b8070;--accent:#a86b00;--accent2:#7855c7;--gold:#a46900;--border:rgba(214,159,32,.22);--sidebar-w:200px;--shadow:0 4px 18px rgba(109,75,10,.05)}
*{box-sizing:border-box}
body.home-page{margin:0;color:var(--text);font-family:'Noto Sans SC','Microsoft YaHei',sans-serif;line-height:1.5}
.home-page a{color:inherit}
.home-page button,.home-page input,.home-page select{font:inherit}
.home-page a:focus-visible,.home-page button:focus-visible,.home-page input:focus-visible,.home-page select:focus-visible{outline:3px solid #956400;outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.skip-link{position:fixed;top:8px;left:16px;transform:translateY(-150%);z-index:1100;background:#fff4bb;border-radius:8px;padding:8px 14px}
.skip-link:focus{transform:translateY(0)}
.home-page .layout{display:flex;min-height:100vh}
.home-page .sidebar{position:sticky;top:0;display:flex;flex-direction:column;width:var(--sidebar-w);height:100vh;padding:24px 16px;flex-shrink:0;overflow-y:auto;border-right:1px solid var(--border)}
.home-page .sidebar-logo{text-align:center;margin-bottom:24px}
.home-page .mascot-small{object-fit:contain}
.home-page .site-name{font-weight:900}
.home-page .site-sub{font-size:11px;color:var(--text-dim)}
.home-page .sidebar-nav{display:flex;flex-direction:column;gap:4px}
.home-page .sidebar-nav a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;text-decoration:none;font-size:14px;font-weight:650}
.home-page .nav-icon{width:22px;text-align:center}
.home-page .main{flex:1;min-width:0;max-width:1480px;padding:0 36px;margin:0 auto}
.home-page .home-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px}
.home-eyebrow{font-size:13px;color:var(--text-dim)}
.home-page .season-browser{margin:0}
.home-page .season-browser-note{display:none}
.home-page .hero{display:grid;grid-template-columns:minmax(0,1fr) 156px;gap:14px 24px;align-items:center;margin:0!important;padding:26px 30px!important;position:relative}
.home-page .hero::after{display:none}
.home-page .hero-text{width:auto;text-align:left}
.home-page .season-tag{display:inline-block;font-size:11px;font-weight:750;letter-spacing:.04em;color:#8b5c00;border:1px solid #edd385;border-radius:999px;background:rgba(255,255,255,.8);padding:3px 10px;margin-bottom:8px}
.home-page .hero h1{font-size:clamp(25px,2.65vw,36px);line-height:1.25;letter-spacing:-.035em;color:#382b18;margin:0 0 8px;font-weight:900}
.home-page .hero .slogan{color:#766a56;font-size:13px;line-height:1.6;margin:0}
.home-page .hero-mascot{grid-column:2;grid-row:1/4;align-self:center;justify-self:center}
.home-page .hero-mascot img{display:block;width:136px!important;height:156px!important;object-fit:contain}
.home-page .home-search{display:flex;grid-column:1;gap:8px;max-width:640px;width:100%;padding:5px;background:#fff;border:1px solid #e5cd8d;border-radius:14px;box-shadow:0 3px 10px rgba(143,101,17,.04)}
.home-search input{flex:1;min-width:0;width:100%;border:0;background:transparent;padding:9px 10px;font-size:14px;color:#382b18;outline-offset:0!important}
.home-search input::placeholder{color:#897d69}
.home-search button{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex-shrink:0;min-height:42px;border:0;border-radius:9px;background:#ffda54;color:#503900;font-size:13px;font-weight:800;padding:8px 14px;cursor:pointer}
.home-search button:hover{background:#ffd12b}
.home-page .hero-stats{grid-column:1;display:flex!important;align-items:center;flex-wrap:wrap;gap:5px 18px!important;width:auto;font-size:12px;color:#7f725d}
.hero-stats strong{color:#775100;font-size:15px;font-weight:850}
.hero-stats .data-notice{font-size:11px}
.home-page .quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;padding:16px 0 0!important}
.home-page .qa-card{display:flex;align-items:center;gap:11px;min-width:0;min-height:76px;padding:14px 16px!important;background:rgba(255,255,255,.82);border:1px solid var(--border);border-radius:14px;text-decoration:none;box-shadow:var(--shadow);transition:transform .15s,border-color .15s}
.home-page .qa-card:first-child{grid-column:auto}
.home-page .qa-card:hover{transform:translateY(-2px);border-color:#d6a72f}
.home-page .qa-card .qa-icon{flex:0 0 auto;font-size:23px;margin:0!important}
.home-page .qa-card strong{display:block;font-size:14px}
.home-page .qa-card small{display:block;font-size:11px;color:var(--text-dim);margin-top:3px}
.home-page .qa-arrow{margin-left:auto;font-size:18px;color:#9a8248}
.home-page .qa-card::after{display:none}
.home-page .highlights{padding:0 0 12px!important}
.home-page .section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 14px!important}
.home-page .section-title h2{display:flex;align-items:center;gap:7px;font-size:18px;line-height:1.4;margin:0;font-weight:850}
.home-page .section-title p{font-size:11px;color:var(--text-dim);margin:4px 0 0}
.home-page .section-title>a{flex-shrink:0;font-size:12px;text-decoration:none;color:#81600e;font-weight:700;padding:8px 0 8px 8px}
.home-page .hl-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
.home-page .hl-card{display:block;min-width:0;overflow:hidden;border-radius:15px;border:1px solid var(--border);background:#fff;text-decoration:none;box-shadow:var(--shadow);transition:transform .15s}
.home-page .hl-card:hover{transform:translateY(-3px)}
.home-page .cover-img{display:block;aspect-ratio:2/3;width:100%;height:auto;object-fit:cover;background:#f6f0e2}
.home-page .no-cover{display:grid;place-items:center;aspect-ratio:2/3;background:#f6f0e2;color:#897b64;font-size:12px}
.home-page .hl-card .info{padding:11px 12px!important}
.home-page .hl-card .title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;font-weight:750;line-height:1.5;min-height:39px}
.home-page .hl-card .meta{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:wrap;font-size:11px;margin-top:7px;color:var(--text-dim)}
.home-page .score{color:#976000;font-weight:800}
.home-page .loading-card{aspect-ratio:2/3;border-radius:15px;background:linear-gradient(125deg,#f5efdf,#fffaf0);border:1px solid var(--border)}
.home-page .editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
.home-page .editor-card{display:flex;align-items:center;gap:13px;min-width:0;padding:14px!important;background:#fff;border:1px solid var(--border);border-radius:14px;text-decoration:none;box-shadow:var(--shadow)}
.home-page .ec-rank{align-self:flex-start;font-size:13px;font-weight:850;color:#aa7d20;width:20px;flex:0 0 20px}
.home-page .ec-cover{width:60px;height:82px;object-fit:cover;border-radius:8px;background:#f6f0e2;flex-shrink:0}
.home-page .ec-info{min-width:0}
.home-page .ec-title{font-size:13px;font-weight:750;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-page .ec-reason{font-size:12px;font-weight:650;color:#896014;margin-top:5px}
.home-page .ec-meta{font-size:11px;color:var(--text-dim);margin-top:3px}
.home-page .ai-rec{display:flex;align-items:center;gap:18px;padding:20px!important;border:1px solid #e9cf77;border-radius:16px}
.home-page .ai-rec .ai-mascot{flex-shrink:0}
.home-page .ai-rec .ai-mascot img{display:block;width:64px!important;height:76px!important}
.home-page .ai-text{flex:1;min-width:0}
.home-page .ai-title{font-size:15px;font-weight:800}
.home-page .ai-desc{font-size:12px;line-height:1.7;color:var(--text-dim);margin-top:5px}
.home-page .ai-btn{display:inline-flex;align-items:center;min-height:40px;font-size:12px;color:#67430b;background:#ffe394;border:1px solid #e7c663;border-radius:10px;padding:7px 12px;margin-top:10px;text-decoration:none;font-weight:750}
.home-page .footer{font-size:11px;text-align:center;color:var(--text-dim);padding:24px 0;margin-top:16px;border-top:1px solid var(--border)}
.home-page .footer p{margin:5px 0}
.home-empty{padding:20px;border:1px dashed #dac897;border-radius:14px;color:#7c705c;font-size:13px;grid-column:1/-1}
@media(max-width:1100px){.home-page .main{padding:0 24px}.home-page .hero{grid-template-columns:minmax(0,1fr) 120px;padding:22px!important}.home-page .hero-mascot img{width:112px!important;height:132px!important}}
@media(max-width:900px){
 .home-page .main{padding-top:0!important}
 .home-page .home-topbar{min-height:52px;gap:8px}
 .home-page .home-eyebrow{font-size:11px}
 .home-page .hero{grid-template-columns:minmax(0,1fr) 76px;gap:12px 8px;padding:18px!important;border-radius:20px}
 .home-page .hero-text{width:auto;text-align:left}
 .home-page .hero h1{font-size:clamp(22px,5.8vw,29px)!important;margin-bottom:5px}
 .home-page .hero .slogan{font-size:11px;margin-bottom:0}
 .home-page .season-tag{font-size:10px;margin-bottom:7px;padding:2px 8px}
 .home-page .hero-mascot{grid-row:1;grid-column:2}
 .home-page .hero-mascot img{width:72px!important;height:86px!important}
 .home-page .home-search{grid-column:1/-1;gap:3px;padding:3px}
 .home-page .home-search input{font-size:16px;padding:7px 9px}
 .home-page .home-search button{font-size:12px;min-height:40px;padding:7px 11px}
 .home-page .hero-stats{grid-column:1/-1;gap:4px 15px!important;font-size:11px}
 .home-page .hero-stats strong{font-size:14px}
 .home-page .hero-stats .data-notice{flex-basis:100%;font-size:10px}
 .home-page .quick-actions{gap:7px!important;padding-top:12px!important}
 .home-page .qa-card{min-height:62px;gap:6px;padding:10px 7px!important;border-radius:12px}
 .home-page .qa-card:first-child{min-height:62px;grid-column:auto}
 .home-page .qa-card .qa-icon{font-size:18px!important}
 .home-page .qa-card strong{font-size:12px;white-space:nowrap}
 .home-page .qa-card small,.home-page .qa-arrow{display:none}
 .home-page .section-title{margin-top:22px!important;margin-bottom:11px!important}
 .home-page .section-title h2{font-size:16px}
 .home-page .section-title p{font-size:10px}
 .home-page .section-title>a{font-size:11px}
 .home-page .hl-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .home-page .hl-card .info{padding:9px!important}
 .home-page .hl-card .title{font-size:12px;min-height:36px}
 .home-page .hl-card .meta{font-size:10px}
 .home-page .editor-grid{grid-template-columns:1fr!important}
 .home-page .editor-card{padding:12px!important}
 .home-page .ai-rec{flex-direction:row;text-align:left;gap:12px;padding:16px!important}
 .home-page .ai-rec .ai-mascot img{width:46px!important;height:62px!important}
 .home-page .footer{padding:18px 0}
}
@media(max-width:360px){.home-page .home-eyebrow{display:none}.home-page .home-topbar{justify-content:flex-end}.home-page .hero{padding:14px!important}.home-page .quick-actions{gap:5px!important}.home-page .qa-card{gap:4px;padding:8px 5px!important}.home-page .qa-card strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){.home-page .qa-card,.home-page .hl-card{transition:none}.home-page .qa-card:hover,.home-page .hl-card:hover{transform:none}}
