.sd-related,.hub-main{--hub-ink:#263b32;--hub-line:#cfdccf;--hub-soft:#eef3ee;--hub-accent:#2c5c4e}
.sd-related{max-width:1040px;margin:2.5rem auto 1.5rem;padding:0 1rem}
.sd-related h2{font-size:1.35rem;margin:0 0 .8rem}
.sd-related-list{list-style:none;margin:0 0 1rem;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.7rem}
.sd-related-list a{box-sizing:border-box;display:flex;flex-direction:column;gap:.2rem;height:100%;padding:.8rem .9rem;border:1px solid var(--hub-line);border-radius:10px;background:var(--hub-soft);color:var(--hub-ink);text-decoration:none}
.sd-related-list a:hover,.sd-related-list a:focus-visible{border-color:var(--hub-accent);outline:2px solid var(--hub-accent);outline-offset:1px}
.sd-related-list span{font-size:.85rem;color:#4a5f55}
.hub-main{max-width:1040px;margin:0 auto;padding:1rem}
.hub-head h1{margin:.2rem 0 .6rem}
.hub-count{font-weight:600;color:var(--hub-accent)}
.hub-switch,.hub-age-strip{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:.8rem 0}
.hub-age-strip{padding:.7rem 1rem;border:1px solid var(--hub-line,#cfdccf);border-radius:10px;background:#eef3ee}
.hub-switch a,.hub-age-strip a{padding:.35rem .8rem;border:1px solid #cfdccf;border-radius:999px;background:#fff;color:#263b32;text-decoration:none;font-size:.92rem}
.hub-switch a[aria-current=page]{background:#2c5c4e;color:#fff;border-color:#2c5c4e}
.hub-guide{margin:1.5rem 0;padding:1rem 1.2rem;border-left:4px solid var(--hub-accent);background:var(--hub-soft)}
.hub-guide h3{margin:.8rem 0 .3rem;font-size:1rem}
.hub-topic{margin:2rem 0}
.hub-topic-note{color:#4a5f55;margin:.2rem 0 1rem}
.hub-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:.9rem}
.hub-card{box-sizing:border-box;display:flex;gap:.8rem;height:100%;padding:.7rem;border:1px solid var(--hub-line);border-radius:12px;color:var(--hub-ink);text-decoration:none;background:#fff}
.hub-card:hover,.hub-card:focus-visible{border-color:var(--hub-accent);outline:2px solid var(--hub-accent);outline-offset:1px}
.hub-card img{width:80px;height:auto;aspect-ratio:160/207;object-fit:cover;border:1px solid var(--hub-line);border-radius:6px;flex:none}
.hub-card-body{display:flex;flex-direction:column;gap:.25rem;min-width:0}
.hub-card-desc{font-size:.88rem;color:#3d5148;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.hub-card small{color:#4a5f55}
@media (prefers-color-scheme:dark){.hub-card,.hub-switch a,.hub-age-strip a{background:#1c2a24;color:#e6efe8;border-color:#3b5247}.sd-related-list a,.hub-guide,.hub-age-strip{background:#1c2a24;color:#e6efe8;border-color:#3b5247}.hub-card-desc,.hub-topic-note,.sd-related-list span,.hub-card small{color:#b9cabf}}
