/* Native 365 functions, scoped to avoid reference-style collisions. */
.fn-links,.fn-nativebar,.fn-chapters,.fn-content{box-sizing:border-box;width:min(1200px,calc(100% - 32px));margin:24px auto;overflow-wrap:anywhere}
.fn-links a,.fn-nativebar a,.fn-chapters a,.fn-card-meta a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.fn-links ul,.fn-chapters ul{display:flex;flex-wrap:wrap;gap:12px 20px;list-style:none;padding:0;margin:12px 0}
.fn-links li,.fn-chapters li{max-width:100%;list-style:none}.fn-links h2{font-size:16px;margin:12px 0}.fn-site-info{display:flex;gap:16px;flex-wrap:wrap;margin:16px 0}
.fn-nav-item{position:relative;display:inline-flex;flex-direction:column;max-width:100%}.fn-subnav:empty{display:none}.fn-subnav>dl,.fn-subnav>ul{margin:6px 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px}.fn-subnav dd,.fn-subnav li{margin:0;padding:0;list-style:none}.fn-subnav a{font-size:13px}
.fn-nativebar:empty,.fn-content:empty,.fn-diy:empty{display:none}.fn-nativebar ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0}.fn-nativebar li{width:auto!important;margin:0;list-style:none}.fn-nativebar img,.fn-nativebar video{max-width:100%;height:auto}.fn-nativebar .swiper-container{width:100%;overflow:hidden}.fn-nativebar .swiper-slide{position:relative}.fn-nativebar .swiper-text{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;justify-content:center;padding:clamp(16px,4vw,60px);color:#fff;text-shadow:0 2px 6px #000}.fn-nativebar .swiper-text h1,.fn-nativebar .swiper-text h2,.fn-nativebar .swiper-text h3{font-size:clamp(18px,3vw,36px)}.fn-logo{max-width:140px;max-height:36px;width:auto;height:auto;vertical-align:middle;margin-right:8px}[data-native-cover-url]{cursor:pointer}
.fn-cover-link{display:contents;color:inherit}.fn-card-meta{display:flex;gap:8px;flex-wrap:wrap;font-size:12px;line-height:1.6}.fn-card-meta:empty{display:none}.fn-card-meta a{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fn-content img,.fn-chapter-body img{max-width:100%;height:auto}.fn-chapter-body{line-height:1.9;overflow-wrap:anywhere}.fn-chapters{padding:20px 0}.fn-page-nav{display:flex;flex-wrap:wrap;gap:16px;margin:24px 0}.fn-page-nav a{color:inherit}.fn-meta{font-size:13px;margin:12px 0}.fn-content a,.fn-diy a,.fn-chapter-body a{color:inherit;text-decoration:underline}
.bt-grid>*>*{min-width:0}
.fn-logo[hidden]{display:none!important}.fn-search{box-sizing:border-box;display:flex;gap:8px;width:min(1200px,calc(100% - 32px));margin:12px auto}.fn-search input[type="search"]{min-width:0;flex:1;padding:10px;border:1px solid #8887;border-radius:8px;color:inherit;background:transparent}.fn-search button{padding:10px 18px;color:inherit;background:transparent;border:1px solid #8887;border-radius:8px;cursor:pointer}
[class$="_pages"],[class~="bt-pages"]{display:flex;flex-wrap:wrap;gap:8px;align-items:center}[class$="_pages"] li,[class~="bt-pages"] li{display:inline-flex;list-style:none;white-space:nowrap;max-width:100%}[class$="_pages"] a,[class~="bt-pages"] a{display:inline-flex;white-space:nowrap}[class$="_pages"] select,[class~="bt-pages"] select{max-width:100%}
@media(max-width:600px){.fn-links,.fn-nativebar,.fn-chapters,.fn-content{width:calc(100% - 32px)}.fn-links ul{gap:10px}.fn-nav-item{max-width:100%}.fn-chapters ul{display:block}.fn-chapters li{margin:10px 0}}
