/* Home navigation: named rail on wide screens, compact disclosure on touch. */
#chapter-nav{position:fixed;right:16px;top:50%;transform:translateY(-50%);z-index:18;width:132px;padding:18px 10px;background:#ffffffed;border:1px solid #dce5ee;border-radius:16px;box-shadow:0 10px 40px #102e4810;backdrop-filter:blur(16px);color:#102e48}
#chapter-nav .chapter-label{font-size:9px;letter-spacing:.15em;font-weight:750;color:#607587;margin:0 0 12px;padding-left:9px}
#chapter-nav>button{display:none}
#chapter-nav .chapter-links{display:grid;gap:4px}
#chapter-nav a{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px;border-radius:8px;font-size:12px;line-height:1.4;transition:background .3s,color .3s,transform .4s var(--ease)}
#chapter-nav i{font-size:9px;font-style:normal;font-variant-numeric:tabular-nums;color:#73899b;transition:color .3s}
#chapter-nav a.active{color:#155bd4;background:#eaf2ff;font-weight:750}
#chapter-nav a.active i{color:#155bd4}
#chapter-nav a:hover{background:#eef4fa;transform:translateX(-3px)}
#chapter-nav a:focus-visible,#chapter-nav>button:focus-visible{outline:3px solid #2776ec;outline-offset:2px}
.home-page #main>section:focus{outline:none}
@media(min-width:1200px){
 .home-page #main>.container,.home-page #main>.welcome-band>.container,.home-page #main>.visit-band>.container{width:calc(100% - 336px);max-width:1280px}
 .home-page #main>#word{width:calc(100% - 36px);padding-left:max(5%,72px);padding-right:168px;max-width:none}
}
@media(max-width:1199.98px){
 #chapter-nav{top:auto;bottom:24px;right:18px;transform:none;padding:0;width:auto;max-width:calc(100vw - 32px);border-radius:24px;display:block}
 #chapter-nav .chapter-label{display:none}
 #chapter-nav>button{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:48px;min-width:142px;max-width:100%;padding:10px 17px;font-size:12px;font-weight:650;border-radius:24px;background:#fff;color:#173546}
 #chapter-nav>button b{font-size:19px;font-weight:400;transition:transform .35s var(--ease)}
 #chapter-nav.expanded>button b{transform:rotate(45deg)}
 #chapter-nav .chapter-links{position:absolute;bottom:calc(100% + 10px);right:0;width:284px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 220px);overflow-y:auto;grid-template-columns:1fr 1fr;gap:5px;background:#fff;padding:12px;border:1px solid #dce5ee;border-radius:16px;box-shadow:0 12px 40px #102e4826;visibility:hidden;opacity:0;transform:translateY(12px) scale(.97);transform-origin:bottom right;transition:opacity .25s,transform .35s var(--ease),visibility .35s}
 #chapter-nav.expanded .chapter-links{visibility:visible;opacity:1;transform:none}
 #chapter-nav a{min-height:48px;font-size:12px}
 #chapter-nav a:hover{transform:none}
}
@media(max-width:700px){#chapter-nav{bottom:calc(72px + env(safe-area-inset-bottom));right:16px}.home-page #footer{padding-bottom:160px}}

#chapter-nav[hidden]{display:none}

/* claude-2026-10-26 home-empty */
.quick-strip .quick-hint{display:block;margin-top:6px;font-style:normal;font-size:13px;font-weight:500;color:#155bd4;letter-spacing:-.01em;line-height:1.35}
.news-section{align-items:stretch}
.news-section>div{display:flex;flex-direction:column}
.empty-news{flex:1;display:flex;flex-direction:column;justify-content:center;padding:48px 24px}
.empty-news p{line-height:1.75;word-break:keep-all;text-wrap:balance}
.empty-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 22px;margin-top:24px}
.empty-actions a{font-size:15px;font-weight:600;color:#14324f;padding-bottom:4px;border-bottom:1px solid currentColor;transition:color .3s}
.empty-actions a:hover,.empty-actions a:focus-visible{color:#155bd4}
.bulletin-callout.is-empty{background:#f6f8fa;border:1px dashed #c9d5df;display:flex;flex-direction:column}
.bulletin-callout.is-empty:hover{background:#f6f8fa}
.bulletin-callout.is-empty h3{color:#3d4f5c}
.bulletin-callout .pending-tag{margin-top:auto;align-self:flex-start;font-size:12px;font-weight:600;letter-spacing:.04em;color:#5d6f7c;background:#e8eef3;border-radius:999px;padding:6px 12px}
@media(max-width:1100px){.quick-strip .quick-hint{font-size:12px}}
@media(max-width:760px){.quick-strip .quick-hint{font-size:11.5px;margin-top:4px;letter-spacing:-.03em}.empty-news{padding:36px 8px}.empty-actions{flex-direction:column;align-items:center;gap:14px}.bulletin-callout.is-empty{min-height:0}.bulletin-callout .pending-tag{margin-top:18px}}
.quick-strip .quick-num{flex:none;white-space:nowrap}.quick-strip>a>div{min-width:0}.quick-strip .quick-hint{word-break:keep-all}
