/* Retained theme components, with bridge-specific responsive content limits. */
a[href*="/dang-nhap/"],a[href*="/dang-ky/"],a[href*="/tai-khoan/"] { display:none!important; }
.ntbc-explore .tz-explore__main { min-width:0; }
.ntbc-filter { display:block; }
.ntbc-filter > summary { cursor:pointer; list-style:none; }
.ntbc-filter > summary::after { content:'⌄'; margin-left:auto; }
.ntbc-filter .tz-filter__body { padding-top:16px; }
.ntbc-filter .tz-filter__field { display:flex; flex-direction:column; gap:8px; min-width:0; }
.ntbc-filter input.tz-select { background-image:none; padding-right:10px; }
.ntbc-filter .tz-filter__foot { flex-wrap:wrap; gap:12px; }
.ntbc-genre-filter { margin:16px 0; }
.ntbc-genre-filter summary { cursor:pointer; }
.ntbc-genre-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; padding:12px 0; }
.ntbc-genre-options fieldset { border:1px solid var(--tz-line); border-radius:8px; padding:8px; min-width:0; }
.ntbc-genre-options label { display:inline-flex; gap:6px; margin-right:8px; }
.ntbc-quick { display:flex; align-items:center; gap:8px; margin:16px 0; overflow:auto; white-space:nowrap; }
.ntbc-quick .is-active { background:var(--tz-pink,#ff8fc7); color:#09121e; }
.ntbc-order { color:var(--tz-muted); font-size:12px; }
.ntbc-side-genres { list-style:none; padding:0; margin:0 0 12px; }
.ntbc-side-genres a { display:flex; align-items:center; gap:12px; padding:10px 0; }
.ntbc-side-genres small { display:block; color:var(--tz-muted); }
.tz-card { min-width:0; }
.tz-card__stat { white-space:normal; overflow-wrap:anywhere; }
.tz-card__genres { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tz-card__info { min-width:0; }
.ntbc-cover-fallback { object-fit:contain!important; background:var(--tz-panel,#0b1725); }
#ntbc-results.ntbc-list { grid-template-columns:1fr; }
#ntbc-results.ntbc-list .tz-card { display:grid; grid-template-columns:85px minmax(0,1fr); gap:14px; }
#ntbc-results.ntbc-list .tz-card__cover { height:120px; }
#ntbc-results.ntbc-list .tz-card__info { padding:12px; }
#ntbc-results.ntbc-list .tz-card__title { white-space:normal; }
@media(min-width:768px) {
 .tz-hero { height:clamp(400px,30vw,480px); }
 .tz-hero__inner { padding-top:24px; padding-bottom:24px; }
 .tz-hero__content { gap:8px; }
 .tz-hero__title { font-size:clamp(34px,3.4vw,54px); }
}
@media(max-width:767px) {
 .ntbc-filter { display:block; margin-top:16px; }
 .ntbc-filter .tz-filter__grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .ntbc-genre-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .ntbc-filter .tz-filter__count { flex-basis:100%; }
 .ntbc-explore .tz-listhead { flex-wrap:wrap; }
 .ntbc-explore .tz-grid--explore { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px 12px; }
 .tz-home__side .tz-news-box { display:block; margin-top:20px; }
 .tz-card__stat { font-size:10px; line-height:1.4; }
 .tz-tabbar a { min-width:0; }
 body { padding-bottom:calc(68px + env(safe-area-inset-bottom)); }
}

/* Account promises remain deferred; informational links are restored. */
.tz-drawer__guest { display:none!important; }
.tz-home__side .tz-box__head { flex-wrap:wrap; gap:6px; }
.tz-home__side .tz-box__more { font-size:10px; color:var(--tz-primary); }
.ntbc-genre-options fieldset { border-color:var(--tz-border); }
@media(max-width:767px) {
 .tz-hero__bg--cover { filter:brightness(.65); transform:none; object-position:center 30%; }
 .tz-genres__item--more { display:flex; }
}
.ntbc-quick .tz-chip { background:var(--tz-surface); color:var(--tz-text); }
.ntbc-quick .tz-chip.is-active { background:var(--tz-primary); color:#09121e; }
.tz-box--rank .tz-box__head { flex-wrap:wrap; gap:6px; }
.tz-box--rank .tz-box__more { font-size:10px; color:var(--tz-primary); }
@media(max-width:767px) {
 .ntbc-information .tz-two-col { grid-template-columns:minmax(0,1fr)!important; }
}

/* Supported detail/reader content uses the retained theme columns. */
.tz-detail-hero .tz-tag { display:inline-block; border-radius:99px; padding:5px 12px; background:color-mix(in srgb,var(--tz-primary) 25%,transparent); border:1px solid var(--tz-primary); }
.tz-statsbar { grid-template-columns:repeat(2,minmax(0,1fr)); }
.ntbc-related { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:16px; }
.tz-rsb .ntbc-related { grid-template-columns:1fr; }
.tz-rsb .ntbc-related .tz-card { display:grid; grid-template-columns:65px minmax(0,1fr); }
.tz-rsb .ntbc-related .tz-card__cover { height:90px; }
.ntbc-inline-chapters .tz-chlist { max-height:360px; overflow:auto; }
.ntbc-inline-chapters .tz-chrow { grid-template-columns:minmax(0,1fr); }
.ntbc-inline-chapters .tz-chrow__name:empty { display:none; }
.ntbc-current { color:var(--tz-primary); padding:10px 0; }
.tz-chrow.is-current { border-color:var(--tz-primary); background:color-mix(in srgb,var(--tz-primary) 12%,transparent); }
.tz-rbar__chapters { display:inline-flex; }
.tz-detail__side > * + * { margin-top:20px; }
@media(max-width:767px) { .ntbc-related { grid-template-columns:repeat(2,minmax(0,1fr)); } }

.ntbc-inline-chapters .tz-chrow { font-size:13px; line-height:1.5; padding:8px 10px; min-height:44px; }
.ntbc-inline-chapters .tz-chrow__time { font-size:11px; }
.tz-rsb .ntbc-related .tz-card__info { padding:8px; }
.tz-chd .ntbc-current { padding:10px 22px; margin:0; }

/* Bridge detail rows omit the theme's popularity/account columns. */
@media(min-width:768px) {
 .tz-detail .tz-chrow { grid-template-columns:minmax(112px,auto) minmax(0,1fr) auto; }
}
.tz-detail-hero .tz-detail-actions .tz-btn { --h:44px; }
.tz-detail-hero .tz-detail-actions button[data-share] { width:auto; padding:0 18px; flex-shrink:0; }

@media(max-width:767px) {
 .ntbc-collection-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 12px; }
}
