/* ==========================================================================
   TruyenZ — main stylesheet
   Source of truth: Figma TR2 (Reference 1024 desktop · 768 tablet · 390 mobile)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
	/* TruyenZ / Reference — Dark (default) */
	--tz-bg: #07111c;
	--tz-surface: #0d1825;
	--tz-surface-2: #0f1c2a;
	--tz-surface-3: #0b1622;
	--tz-border: #1d2b3c;
	--tz-border-2: #2c3d55;
	--tz-text: #f6f7fc;
	--tz-text-2: #dfe5f0;
	--tz-muted: #b9c4d7;
	--tz-subtle: #8191a9;
	--tz-primary: #ff8fc7;
	--tz-primary-hover: #ffb4d8;
	--tz-primary-press: #e2559a;
	--tz-primary-text: var(--tz-primary);
	--tz-on-primary: #10101b;
	--tz-ink: #10101b;
	--tz-cyan: #91d9ff;
	--tz-purple: #49344f;
	--tz-purple-border: #8a5aa6;
	--tz-purple-text: #f0d9ff;
	--tz-input: #0a1520;
	--tz-input-border: #2a3b52;
	--tz-track: #2a3547;
	--tz-search: #303642;
	--tz-success: #3ddc84;
	--tz-success-2: #22c55e;
	--tz-warning: #ffc86b;
	--tz-danger: #ff5a6e;
	--tz-info: #91d9ff;
	--tz-star: #ffc86b;
	--tz-glow: 0 4px 14px rgba(255, 115, 191, .35);
	--tz-glow-hover: 0 6px 20px rgba(255, 115, 191, .6);
	--tz-overlay: rgba(4, 9, 16, .72);
	--tz-glass: rgba(11, 22, 34, .88);
	--tz-shadow: 0 20px 60px rgba(0, 0, 0, .45);

	/* Spacing (spacing/*) */
	--tz-space-4: 4px; --tz-space-6: 6px; --tz-space-8: 8px; --tz-space-10: 10px; --tz-space-12: 12px;
	--tz-space-14: 14px; --tz-space-16: 16px; --tz-space-20: 20px; --tz-space-24: 24px;

	/* Radius (radius/*) */
	--tz-radius-sm: 6px;
	--tz-radius-md: 8px;
	--tz-radius-lg: 12px;
	--tz-radius-xl: 16px;
	--tz-radius-2xl: 24px;
	--tz-radius-pill: 999px;

	/* Type */
	--tz-font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--tz-font-display: "Cormorant Garamond", Georgia, serif;
	--tz-font-script: "Dancing Script", cursive;

	/* Layout */
	--tz-container: 1200px;
	--tz-gutter: 28px;
	--tz-header-h: 56px;
	--tz-sidebar: 236px;
	--tz-tabbar-h: 64px;

	color-scheme: dark;
}

/* Light mode (Reference / Light) */
:root[data-theme="light"] {
	--tz-bg: #f4f6fb;
	--tz-surface: #ffffff;
	--tz-surface-2: #f2f4f9;
	--tz-surface-3: #eef1f7;
	--tz-border: #dfe4ee;
	--tz-border-2: #cfd6e3;
	--tz-text: #141b2b;
	--tz-text-2: #2a3448;
	--tz-muted: #4b5970;
	--tz-subtle: #6b7a91;
	--tz-primary-text: #d1408a;
	--tz-cyan: #1d84c6;
	--tz-purple: #fbe6f2;
	--tz-purple-border: #f3b4d6;
	--tz-purple-text: #8a2a63;
	--tz-input: #ffffff;
	--tz-input-border: #cfd6e3;
	--tz-track: #e3e8f1;
	--tz-search: #eef1f7;
	--tz-overlay: rgba(20, 27, 43, .45);
	--tz-glass: rgba(255, 255, 255, .92);
	--tz-shadow: 0 20px 60px rgba(20, 27, 43, .18);
	color-scheme: light;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
	margin: 0;
	background: var(--tz-bg);
	color: var(--tz-text);
	font-family: var(--tz-font);
	font-size: 13px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--tz-primary-text); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--tz-primary); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--tz-primary); color: var(--tz-ink); }
.screen-reader-text, .sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto;
	padding: 10px 16px; background: var(--tz-primary); color: var(--tz-ink); border-radius: 8px;
}
[hidden] { display: none !important; }

.tz-icon { display: inline-block; flex: none; }
.tz-mask {
	display: inline-block;
	flex: none;
	width: var(--s, 16px);
	height: var(--s, 16px);
	background-color: currentColor;
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
}
/* White Figma icons need darkening on light backgrounds. */
[data-theme="light"] .tz-icon--on-dark { filter: invert(.85) brightness(.5); }

.tz-container {
	width: 100%;
	max-width: var(--tz-container);
	margin-inline: auto;
	padding-inline: var(--tz-gutter);
}
.tz-main { min-height: 60vh; }
.tz-section { margin-top: 14px; }

/* ---------- 3. Buttons ---------- */
.tz-btn {
	--h: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: var(--h);
	padding: 0 12px;
	border-radius: var(--tz-radius-lg);
	border: .7px solid transparent;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
	transition: background-color .15s, box-shadow .15s, transform .1s, border-color .15s, color .15s;
	user-select: none;
}
.tz-btn:active { transform: translateY(1px); }
.tz-btn--primary { background: var(--tz-primary); color: var(--tz-on-primary); }
.tz-btn--primary:hover { background: var(--tz-primary-hover); color: var(--tz-on-primary); box-shadow: var(--tz-glow-hover); }
.tz-btn--primary:active { background: var(--tz-primary-press); box-shadow: none; }
.tz-btn--glow { box-shadow: var(--tz-glow); }
.tz-btn--outline { border-color: var(--tz-subtle); color: var(--tz-text); background: transparent; }
.tz-btn--outline:hover { border-color: var(--tz-primary); color: var(--tz-primary-text); }
.tz-btn--outline-pink { border: 1px solid var(--tz-primary); color: var(--tz-primary-text); background: transparent; font-weight: 500; }
.tz-btn--outline-pink:hover { background: rgba(255, 143, 199, .08); color: var(--tz-primary-text); }
.tz-btn--secondary { background: var(--tz-surface-2); border: 1px solid var(--tz-border); color: var(--tz-text); font-weight: 500; }
.tz-btn--secondary:hover { border-color: var(--tz-primary); color: var(--tz-text); }
.tz-btn--dark { background: rgba(11, 22, 34, .85); border: 1px solid var(--tz-border); color: var(--tz-text); font-weight: 500; border-radius: var(--tz-radius-md); }
[data-theme="light"] .tz-btn--dark { background: var(--tz-surface); }
.tz-btn--dark:hover { border-color: var(--tz-primary); color: var(--tz-text); }
.tz-btn--danger { background: var(--tz-danger); color: var(--tz-ink); }
.tz-btn--danger:hover { filter: brightness(1.08); color: var(--tz-ink); }
.tz-btn--link { padding: 0; height: auto; color: var(--tz-primary-text); text-decoration: underline; font-weight: 500; }
.tz-btn--block { width: 100%; }
.tz-btn--lg { --h: 46px; font-size: 14px; padding: 0 22px; }
.tz-btn--md { --h: 38px; font-size: 12.5px; padding: 0 16px; }
.tz-btn--sm { --h: 26px; font-size: 10px; padding: 0 10px; border-radius: var(--tz-radius-md); }
.tz-btn[disabled], .tz-btn.is-disabled { background: #3a4558; color: var(--tz-subtle); box-shadow: none; pointer-events: none; border-color: transparent; }
.tz-btn.is-loading { pointer-events: none; }
.tz-btn.is-loading::before {
	content: ""; width: 14px; height: 14px; border-radius: 50%;
	border: 2px solid currentColor; border-right-color: transparent; animation: tz-spin .7s linear infinite;
}
@keyframes tz-spin { to { transform: rotate(360deg); } }

.tz-iconbtn {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: var(--tz-radius-2xl);
	background: var(--tz-surface);
	color: var(--tz-text);
	position: relative;
}
.tz-iconbtn:hover { background: var(--tz-surface-2); color: var(--tz-primary-text); }

/* ---------- 4. Forms ---------- */
.tz-field { margin: 0 0 16px; }
.tz-label { display: block; margin-bottom: 8px; font-size: 12.5px; font-weight: 500; color: var(--tz-text); }
.tz-input-wrap { position: relative; display: flex; align-items: center; }
.tz-input-wrap > .tz-icon:first-child,
.tz-input-wrap > .tz-mask:first-child { position: absolute; left: 13px; pointer-events: none; color: var(--tz-subtle); }
.tz-input-wrap > .tz-input { padding-left: 39px; }
.tz-input-wrap .tz-input-end { position: absolute; right: 12px; display: flex; align-items: center; gap: 6px; }
.tz-input, .tz-select, .tz-textarea {
	width: 100%;
	min-height: 46px;
	padding: 0 14px;
	border-radius: var(--tz-radius-lg);
	border: 1px solid var(--tz-input-border);
	background: var(--tz-input);
	color: var(--tz-text);
	font-size: 13px;
	transition: border-color .15s, box-shadow .15s;
}
.tz-textarea { padding: 12px 14px; min-height: 110px; resize: vertical; line-height: 1.5; }
.tz-input::placeholder, .tz-textarea::placeholder { color: var(--tz-subtle); }
.tz-input:focus, .tz-select:focus, .tz-textarea:focus { outline: 0; border: 2px solid var(--tz-primary); padding-inline: 13px; }
.tz-input-wrap > .tz-input:focus { padding-left: 38px; }
.tz-field.is-valid .tz-input { border-color: #2f6b4f; }
.tz-field.is-error .tz-input, .tz-field.is-error .tz-select, .tz-field.is-error .tz-textarea { border-color: var(--tz-danger); }
.tz-input:disabled { background: var(--tz-surface); border-color: var(--tz-border); color: var(--tz-subtle); }
.tz-hint { margin-top: 6px; font-size: 11px; color: var(--tz-subtle); }
.tz-field.is-valid .tz-hint { color: var(--tz-success); }
.tz-field.is-error .tz-hint, .tz-error { color: var(--tz-danger); font-size: 11px; margin-top: 6px; }
.tz-select {
	appearance: none;
	-webkit-appearance: none;
	min-height: 30px;
	height: 30px;
	padding: 0 30px 0 10px;
	border-radius: var(--tz-radius-md);
	border-color: var(--tz-border);
	color: var(--tz-muted);
	font-size: 11px;
	background: var(--tz-input) url("../icons/chevron-down-muted.svg") right 10px center / 12px no-repeat;
}
.tz-counter { float: right; font-size: 11px; color: var(--tz-subtle); }
.tz-pass-toggle { color: var(--tz-subtle); display: grid; place-items: center; width: 24px; height: 24px; }

/* checkbox / radio / toggle */
.tz-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; color: var(--tz-text); }
.tz-check input { position: absolute; opacity: 0; pointer-events: none; }
.tz-check__box {
	width: 20px; height: 20px; border-radius: 5px; flex: none;
	border: 1px solid var(--tz-subtle); background: var(--tz-input);
	display: grid; place-items: center; transition: background .15s;
}
.tz-check__box::after {
	content: ""; width: 13px; height: 13px; opacity: 0;
	background: url("../icons/check-box.svg") center / contain no-repeat;
}
.tz-check input:checked + .tz-check__box { background: var(--tz-primary); border-color: var(--tz-primary); }
.tz-check input:checked + .tz-check__box::after { opacity: 1; }
.tz-check input:focus-visible + .tz-check__box { outline: 2px solid var(--tz-primary); outline-offset: 2px; }
.tz-check--radio .tz-check__box { border-radius: 50%; }
.tz-check--radio input:checked + .tz-check__box { background: var(--tz-input); border: 1px solid var(--tz-primary); }
.tz-check--radio .tz-check__box::after { background: var(--tz-primary); border-radius: 50%; width: 10px; height: 10px; }

.tz-toggle { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.tz-toggle input { position: absolute; opacity: 0; }
.tz-toggle__track {
	width: 30px; height: 16px; border-radius: 999px; background: var(--tz-track); position: relative; flex: none;
	transition: background .2s;
}
.tz-toggle__track::after {
	content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%;
	background: #fff; transition: transform .2s;
}
.tz-toggle input:checked + .tz-toggle__track { background: var(--tz-primary); }
.tz-toggle input:checked + .tz-toggle__track::after { transform: translateX(14px); }
.tz-toggle input:focus-visible + .tz-toggle__track { outline: 2px solid var(--tz-primary); outline-offset: 2px; }
.tz-toggle--lg .tz-toggle__track { width: 40px; height: 22px; }
.tz-toggle--lg .tz-toggle__track::after { width: 18px; height: 18px; }
.tz-toggle--lg input:checked + .tz-toggle__track::after { transform: translateX(18px); }

/* range */
.tz-range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: linear-gradient(var(--tz-primary), var(--tz-primary)) 0 / var(--p, 50%) 100% no-repeat, var(--tz-track); }
.tz-range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--tz-primary); cursor: pointer; }
.tz-range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--tz-primary); cursor: pointer; }

/* ---------- 5. Alerts / badges / chips ---------- */
.tz-alert {
	display: flex; align-items: center; gap: 12px;
	min-height: 52px; padding: 12px 15px;
	border-radius: var(--tz-radius-lg);
	border: 1px solid; font-size: 13px; color: var(--tz-text);
	margin-bottom: 16px;
}
.tz-alert--success { background: rgba(61, 220, 132, .12); border-color: rgba(61, 220, 132, .5); }
.tz-alert--warning { background: rgba(255, 200, 107, .12); border-color: rgba(255, 200, 107, .5); }
.tz-alert--error { background: rgba(255, 90, 110, .12); border-color: rgba(255, 90, 110, .5); }
.tz-alert--info { background: rgba(145, 217, 255, .12); border-color: rgba(145, 217, 255, .5); }

.tz-badge {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 32px; height: 21px; padding: 0 6px;
	border-radius: var(--tz-radius-sm);
	font-size: 10px; font-weight: 700; line-height: 1;
	color: var(--tz-ink); background: var(--tz-primary);
}
.tz-badge--new { background: #00ba80; color: var(--tz-ink); }
.tz-badge--full { background: var(--tz-warning); }
.tz-badge--ongoing { background: #123a26; color: var(--tz-success); }
.tz-badge--completed { background: #1a2638; color: var(--tz-cyan); }
.tz-badge--paused { background: #3a1219; color: var(--tz-danger); }
[data-theme="light"] .tz-badge--ongoing { background: #dcf7e8; color: #157a45; }
[data-theme="light"] .tz-badge--completed { background: #e1f1fb; color: #1a6aa0; }
[data-theme="light"] .tz-badge--paused { background: #fde2e6; color: #c3243a; }

.tz-chip {
	display: inline-flex; align-items: center; gap: 4px;
	height: 24px; padding: 0 8px;
	border-radius: var(--tz-radius-sm);
	border: 1px solid var(--tz-border);
	background: var(--tz-surface);
	font-size: 10.5px; color: var(--tz-muted); white-space: nowrap;
	transition: border-color .15s, color .15s, background .15s;
}
.tz-chip:hover { border-color: var(--tz-primary); color: var(--tz-text); }
.tz-chip.is-active { background: var(--tz-primary); border-color: var(--tz-primary); color: var(--tz-ink); font-weight: 700; }
.tz-chip--genre {
	height: 19px; padding: 0 9px; border-radius: 999px;
	background: var(--tz-purple); border-color: var(--tz-purple-border);
	color: var(--tz-purple-text); font-size: 9.5px;
}
.tz-chip--genre:hover { color: var(--tz-text); }
.tz-chip__x { margin-left: 2px; opacity: .7; }

/* ---------- 6. Header (desktop) ---------- */
.tz-header {
	position: sticky; top: 0; z-index: 50;
	height: var(--tz-header-h);
	background: var(--tz-bg);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.admin-bar .tz-header { top: 32px; }
.tz-header.is-scrolled { border-bottom-color: var(--tz-border); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.tz-header__inner {
	display: flex; align-items: center; gap: 24px;
	height: 100%;
	max-width: calc(var(--tz-container) + 60px);
	margin-inline: auto;
	padding: 0 32px 0 38px;
}
.tz-logo { display: inline-flex; flex-direction: column; color: var(--tz-text); flex: none; }
.tz-logo:hover { color: var(--tz-text); }
.tz-logo__mark { display: inline-flex; align-items: flex-start; gap: 5px; height: 28px; }
.tz-logo__art { width: 30px; height: 25px; object-fit: cover; }
.tz-logo__img { max-height: 28px; width: auto; }
.tz-logo__name { font-weight: 700; font-size: 23px; line-height: 29.9px; letter-spacing: 0; }
.tz-logo__name b { color: var(--tz-primary); font-weight: 700; }
.tz-logo__tag { font-size: 10px; line-height: 13px; color: var(--tz-text); white-space: nowrap; }
.tz-logo--footer .tz-logo__mark { height: 26px; }
.tz-logo--footer .tz-logo__name { font-size: 21px; line-height: 27.3px; }
.tz-logo--footer .tz-logo__tag { color: var(--tz-muted); }
.tz-logo--mobile .tz-logo__mark { align-items: center; height: auto; }
.tz-logo--mobile .tz-logo__name { font-size: 20px; line-height: 1; }

.tz-nav { flex: 1 1 auto; min-width: 0; }
.tz-nav__list { display: flex; align-items: center; gap: 24px; list-style: none; height: 30px; }
.tz-nav__list a {
	position: relative; display: block;
	font-size: 11px; font-weight: 500; line-height: 14.3px; color: var(--tz-text); white-space: nowrap;
}
.tz-nav__list a:hover { color: var(--tz-primary-text); }
.tz-nav__list .current-menu-item > a,
.tz-nav__list .current-menu-ancestor > a,
.tz-nav__list .current_page_item > a,
.tz-nav__list a[aria-current="page"],
.tz-nav__list .is-current > a { color: var(--tz-primary-text); }
.tz-nav__list .current-menu-item > a::after,
.tz-nav__list .current_page_item > a::after,
.tz-nav__list .is-current > a::after,
.tz-nav__list a[aria-current="page"]::after {
	content: ""; position: absolute; left: 0; right: 2px; top: 16.5px; height: 1px; background: var(--tz-primary);
}
.tz-nav__list .sub-menu { display: none; }

.tz-header__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.tz-search { position: relative; }
.tz-search__form {
	display: flex; align-items: center; justify-content: space-between;
	width: 208px; height: 32px;
	padding: 0 12px 0 16px;
	border-radius: var(--tz-radius-2xl);
	border: .5px solid var(--tz-subtle);
	background: var(--tz-search);
	transition: width .2s, border-color .15s;
}
.tz-search__form:focus-within { border-color: var(--tz-primary); }
.tz-search__input {
	flex: 1; min-width: 0; height: 100%;
	background: transparent; border: 0; outline: 0;
	font-size: 11px; line-height: 14.3px; color: var(--tz-text);
}
.tz-search__input::placeholder { color: var(--tz-muted); }
.tz-search__btn { display: grid; place-items: center; width: 20px; height: 20px; }
.tz-suggest {
	position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
	width: 320px; max-height: 420px; overflow: auto;
	padding: 6px;
	border-radius: var(--tz-radius-xl);
	background: var(--tz-surface); border: 1px solid var(--tz-border);
	box-shadow: var(--tz-shadow);
}
.tz-suggest__item { display: flex; gap: 10px; align-items: center; padding: 6px; border-radius: 10px; }
.tz-suggest__item:hover, .tz-suggest__item.is-active { background: var(--tz-surface-2); color: var(--tz-text); }
.tz-suggest__item img:not(.tz-icon) { width: 36px; height: 48px; object-fit: cover; border-radius: 6px; }
.tz-suggest__title { font-size: 12px; font-weight: 500; }
.tz-suggest__meta { font-size: 10.5px; color: var(--tz-muted); }
.tz-suggest__all { display: block; padding: 8px; text-align: center; font-size: 11px; color: var(--tz-primary-text); }
.tz-suggest__empty { padding: 14px; text-align: center; color: var(--tz-subtle); font-size: 12px; }

.tz-theme-toggle .tz-theme-toggle__sun { display: none; }
[data-theme="light"] .tz-theme-toggle .tz-theme-toggle__sun { display: block; }
[data-theme="light"] .tz-theme-toggle .tz-theme-toggle__moon { display: none; }

.tz-bell__dot {
	position: absolute; top: -3px; right: -3px;
	min-width: 16px; height: 16px; padding: 0 4px;
	border-radius: 999px; background: var(--tz-danger); color: #fff;
	font-size: 9px; font-weight: 700; line-height: 16px; text-align: center;
}
.tz-user-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 2px; }
.tz-user-btn img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--tz-primary); object-fit: cover; }

.tz-dropdown {
	position: absolute; top: calc(100% + 10px); right: 0; z-index: 70;
	min-width: 260px; padding: 8px;
	border-radius: var(--tz-radius-xl);
	background: var(--tz-surface); border: 1px solid var(--tz-border);
	box-shadow: var(--tz-shadow);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.tz-dropdown.is-open { opacity: 1; visibility: visible; transform: none; }
.tz-dropdown__head { display: flex; gap: 10px; align-items: center; padding: 8px 8px 12px; border-bottom: 1px solid var(--tz-border); margin-bottom: 6px; }
.tz-dropdown__head img:not(.tz-icon) { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.tz-dropdown__name { font-weight: 700; font-size: 13px; }
.tz-dropdown__level { font-size: 11px; color: var(--tz-muted); }
.tz-dropdown a, .tz-dropdown button.tz-dropdown__link {
	display: flex; align-items: center; gap: 10px; width: 100%;
	padding: 9px 10px; border-radius: 10px; font-size: 12.5px; color: var(--tz-text); text-align: left;
}
.tz-dropdown a:hover, .tz-dropdown button.tz-dropdown__link:hover { background: var(--tz-surface-2); color: var(--tz-primary-text); }
.tz-dropdown hr { border: 0; border-top: 1px solid var(--tz-border); margin: 6px 0; }
.tz-dropdown__danger { color: var(--tz-danger) !important; }
.tz-notify { width: 340px; }
.tz-notify__head { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 10px; font-weight: 700; }
.tz-notify__head button { font-size: 11px; color: var(--tz-primary-text); font-weight: 400; }
.tz-notify__item { display: flex !important; gap: 10px; align-items: flex-start !important; }
.tz-notify__item.is-unread { background: rgba(255, 143, 199, .06); }
.tz-notify__item .tz-notify__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tz-primary); margin-top: 6px; flex: none; }
.tz-notify__item:not(.is-unread) .tz-notify__dot { background: transparent; }
.tz-notify__time { display: block; font-size: 10.5px; color: var(--tz-subtle); margin-top: 2px; }

/* ---------- 7. Mobile app bar, tab bar, drawer ---------- */
.tz-appbar { display: none; }
.tz-msearch { display: none; }
.tz-tabbar { display: none; }

.tz-drawer {
	position: fixed; inset: 0; z-index: 90;
	visibility: hidden; pointer-events: none;
}
.tz-drawer.is-open { visibility: visible; pointer-events: auto; }
.tz-drawer__backdrop { position: absolute; inset: 0; background: var(--tz-overlay); opacity: 0; transition: opacity .2s; }
.tz-drawer.is-open .tz-drawer__backdrop { opacity: 1; }
.tz-drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0;
	width: min(320px, 86vw);
	background: var(--tz-bg); border-right: 1px solid var(--tz-border);
	transform: translateX(-100%); transition: transform .25s ease;
	display: flex; flex-direction: column; overflow-y: auto;
	padding: 16px;
}
.tz-drawer.is-open .tz-drawer__panel { transform: none; }
.tz-drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.tz-drawer__user {
	display: flex; gap: 12px; align-items: center;
	padding: 14px; border-radius: var(--tz-radius-xl);
	background: var(--tz-surface); border: 1px solid var(--tz-border); margin-bottom: 14px;
}
.tz-drawer__user img:not(.tz-icon) { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--tz-primary); object-fit: cover; }
.tz-drawer__guest { padding: 16px; border-radius: var(--tz-radius-xl); background: linear-gradient(135deg, #2a1d3a, #102033); border: 1px solid var(--tz-border); margin-bottom: 14px; }
[data-theme="light"] .tz-drawer__guest { background: linear-gradient(135deg, #fbe6f2, #e6f3fb); }
.tz-drawer__guest p { color: var(--tz-muted); font-size: 12px; margin: 6px 0 12px; }
.tz-drawer__guest .tz-btns { display: flex; gap: 8px; }
.tz-drawer__nav a, .tz-drawer__nav .menu-item a {
	display: flex; align-items: center; gap: 12px;
	padding: 12px; border-radius: 12px; font-size: 14px; color: var(--tz-text);
}
.tz-drawer__nav a:hover, .tz-drawer__nav .current-menu-item > a { background: var(--tz-surface); color: var(--tz-primary-text); }
.tz-drawer__nav ul { list-style: none; }
.tz-drawer__section { font-size: 11px; color: var(--tz-subtle); text-transform: uppercase; letter-spacing: .04em; margin: 14px 12px 6px; font-weight: 700; }
.tz-drawer__bottom { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; color: var(--tz-muted); font-size: 12px; }

/* ---------- 8. Footer ---------- */
.tz-footer { margin-top: 20px; border-top: .5px solid var(--tz-border); background: var(--tz-bg); }
.tz-footer__inner {
	display: flex; align-items: center; gap: 24px;
	min-height: 86px;
	max-width: calc(var(--tz-container) + 60px);
	margin-inline: auto;
	padding: 21px 32px 21px 28px;
}
.tz-footer__brand { width: 170px; flex: none; }
.tz-footer__links { display: flex; align-items: center; gap: 10px; font-size: 10px; line-height: 13px; color: var(--tz-muted); list-style: none; flex-wrap: wrap; }
.tz-footer__links li { display: flex; gap: 10px; }
.tz-footer__links li + li::before { content: "|"; }
.tz-footer__links a:hover { color: var(--tz-primary-text); }
.tz-social { display: flex; gap: 10px; list-style: none; }
.tz-social a {
	display: grid; place-items: center;
	width: 24px; height: 24px; border-radius: 24px;
	border: .7px solid var(--tz-cyan);
	transition: background .15s, transform .15s;
}
.tz-social a:hover { background: rgba(145, 217, 255, .12); transform: translateY(-1px); }
.tz-footer__right { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.tz-footer__slogan { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 15.6px; font-weight: 500; }
.tz-footer__copy { font-size: 11px; line-height: 14.3px; color: var(--tz-muted); }

/* ---------- 9. Section heading, view all ---------- */
.tz-heading { display: flex; align-items: center; gap: 8px; min-height: 28px; margin-bottom: 6px; }
.tz-heading__art { width: 24px; height: 24px; object-fit: cover; flex: none; }
.tz-heading__title { font-size: 17px; line-height: 22.1px; font-weight: 700; color: var(--tz-text); }
.tz-heading--sm .tz-heading__title { font-size: 16px; line-height: 20.8px; }
.tz-heading--xs .tz-heading__title { font-size: 14px; line-height: 18px; }
.tz-viewall {
	margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
	font-size: 10.5px; line-height: 13.65px; font-weight: 500; color: var(--tz-primary-text); white-space: nowrap;
}
.tz-viewall:hover { color: var(--tz-primary-hover); }

/* ---------- 10. Comic cards ---------- */
.tz-card {
	position: relative; display: flex; flex-direction: column;
	min-width: 0;
	background: var(--tz-surface);
	border: .7px solid var(--tz-border);
	border-radius: var(--tz-radius-md);
	overflow: hidden;
	transition: transform .18s ease, border-color .18s, box-shadow .18s;
}
.tz-card:hover { transform: translateY(-2px); border-color: rgba(255, 143, 199, .55); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.tz-card__link { position: absolute; inset: 0; z-index: 1; }
.tz-card__cover { position: relative; overflow: hidden; aspect-ratio: var(--ar, 136 / 160); background: var(--tz-surface-2); }
.tz-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tz-card:hover .tz-card__cover img { transform: scale(1.04); }
.tz-card__badge { position: absolute; left: 6px; top: 7px; z-index: 2; }
.tz-card__fav {
	position: absolute; right: 6px; bottom: 6px; z-index: 2;
	width: 22px; height: 22px; border-radius: 50%;
	display: grid; place-items: center;
	background: rgba(0, 0, 0, .45); color: #fff; opacity: 0; transition: opacity .15s, color .15s;
}
.tz-card:hover .tz-card__fav, .tz-card__fav.is-active, .tz-card__fav:focus-visible { opacity: 1; }
.tz-card__fav.is-active { color: var(--tz-primary); }
.tz-card__info { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px 10px; }
.tz-card__title {
	font-size: 11.5px; line-height: 13px; font-weight: 700; font-stretch: 75%;
	color: var(--tz-text);
	display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
	min-height: 15px;
}
.tz-card__genres {
	font-size: 10px; line-height: 13px; font-stretch: 75%; color: var(--tz-muted);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tz-card__stats { display: flex; justify-content: space-between; gap: 4px; font-size: 10px; line-height: 13px; color: var(--tz-text); }
.tz-card__stat { display: inline-flex; align-items: flex-start; gap: 3px; white-space: nowrap; }

/* feature (5 per row, 136×232) */
.tz-card--feature { --ar: 136 / 160; }
/* compact action/romance (110×168 / 110×182) */
.tz-card--compact { --ar: 110 / 106; }
.tz-card--compact .tz-card__info, .tz-card--tall .tz-card__info { gap: 3px; }
.tz-card--compact .tz-card__title, .tz-card--tall .tz-card__title { font-size: 10px; line-height: 13px; -webkit-line-clamp: 2; min-height: 13px; }
.tz-card--tall { --ar: 110 / 110; }
/* mini (discovery columns, 72×160) */
.tz-card--mini { --ar: 72 / 96; }
.tz-card--mini .tz-card__info { gap: 3px; padding: 7px 5px 6px; }
.tz-card--mini .tz-card__title { font-size: 7.8px; line-height: 10px; min-height: 10px; -webkit-line-clamp: 1; }
.tz-card--mini .tz-card__genres { font-size: 7.7px; line-height: 10px; }
.tz-card--mini .tz-card__stats { font-size: 8px; line-height: 10.4px; padding-top: 4px; }
.tz-card--mini .tz-card__badge { left: 6px; top: 7px; }
.tz-card--mini .tz-card__fav { display: none; }
/* explore card (134×228) */
.tz-card--explore { --ar: 134 / 158; border-width: 1px; }
.tz-card--explore .tz-card__info { gap: 0; padding: 9px 9px 12px; }
.tz-card--explore .tz-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; min-height: 30px; }
.tz-card--explore .tz-card__title { font-size: 11.5px; line-height: 14.5px; font-weight: 500; font-stretch: 100%; -webkit-line-clamp: 2; }
.tz-card--explore .tz-card__genres { font-size: 10.5px; line-height: 13px; font-stretch: 100%; margin-top: 2px; white-space: pre; }
.tz-card--explore .tz-card__stats { margin-top: 8px; color: var(--tz-muted); font-size: 10.5px; }
.tz-card--explore .tz-card__heart { position: relative; z-index: 2; color: var(--tz-primary); display: grid; }

/* horizontal list card */
.tz-row-card {
	display: flex; gap: 12px; align-items: center;
	padding: 8px; border-radius: var(--tz-radius-lg);
	background: var(--tz-surface); border: 1px solid var(--tz-border);
	position: relative;
}
.tz-row-card:hover { border-color: rgba(255, 143, 199, .5); }
.tz-row-card__cover { width: 62px; height: 80px; border-radius: 8px; object-fit: cover; flex: none; }
.tz-row-card__body { min-width: 0; flex: 1; }
.tz-row-card__title { font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-row-card__meta { font-size: 11px; color: var(--tz-muted); margin-top: 3px; }
.tz-row-card__end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; position: relative; z-index: 2; }

/* stats inline */
.tz-meta { display: inline-flex; align-items: center; gap: 4px; color: var(--tz-muted); font-size: 10.5px; white-space: nowrap; }
.tz-meta + .tz-meta { margin-left: 10px; }
.tz-stars { display: inline-flex; gap: 5px; }
.tz-stars .is-off { opacity: .25; filter: grayscale(1); }

/* grids */
.tz-grid { display: grid; gap: 13px; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); }
.tz-grid--5 { --cols: 5; }
.tz-grid--6 { --cols: 6; gap: 11.2px; }
.tz-grid--4 { --cols: 4; gap: 6.4px; }
.tz-grid--explore { --cols: 5; gap: 10px 12px; }

/* ---------- 11. Home: hero slider ---------- */
.tz-hero { position: relative; height: 238px; overflow: hidden; background: var(--tz-bg); }
.tz-hero__track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.tz-hero__slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.tz-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.tz-hero__bg--cover { filter: blur(18px) brightness(.55); transform: scale(1.15); }
.tz-hero__cover-art {
	position: absolute; right: 9%; top: 18px; bottom: 18px; aspect-ratio: 3 / 4; height: calc(100% - 36px);
	border-radius: 12px; object-fit: cover; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .15);
}
.tz-hero__shade {
	position: absolute; left: 0; top: 0; bottom: 0; width: 700px; max-width: 75%;
	background: linear-gradient(90deg, #040e1c 0%, rgba(4, 14, 28, .18) 55%, rgba(4, 14, 28, 0) 100%);
	opacity: .45; pointer-events: none;
}
.tz-hero__inner {
	position: relative; height: 100%;
	max-width: calc(var(--tz-container) + 60px);
	margin-inline: auto;
	padding: 24px 0 0 54px;
}
.tz-hero__content { display: flex; flex-direction: column; gap: 8px; width: 350px; max-width: 100%; }
.tz-hero__label {
	display: inline-flex; align-items: center; justify-content: center; align-self: flex-start;
	height: 21px; padding: 0 8px; border-radius: var(--tz-radius-lg);
	border: .7px solid var(--tz-primary);
	font-size: 10px; font-weight: 500; line-height: 13px; color: #f6f7fc;
	background: rgba(4, 14, 28, .25);
}
.tz-hero__titleart { width: 320px; height: 61px; object-fit: contain; object-position: left center; }
.tz-hero__title {
	font-family: var(--tz-font-display); font-weight: 700; font-size: 44px; line-height: 61px; color: #fff;
	text-shadow: 0 0 12px rgba(102, 178, 255, .9);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tz-hero__tagline { font-size: 17px; line-height: 22.1px; font-weight: 500; color: #91d9ff; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-hero__desc { font-size: 12px; line-height: 15.6px; color: #f6f7fc; width: 330px; max-width: 100%; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tz-hero__actions { display: flex; gap: 16px; }
.tz-hero__actions .tz-btn--primary { width: 116px; }
.tz-hero__actions .tz-btn--outline { width: 113px; color: #f6f7fc; }
.tz-hero__quote {
	position: absolute; right: 15px; top: 148px;
	display: flex; gap: 5px; width: 143px; color: #f6f7fc;
}
.tz-hero__quote-mark { font-size: 34px; line-height: 44.2px; font-weight: 700; color: #91d9ff; height: 30px; }
.tz-hero__quote p { margin: 0; font-style: italic; font-size: 10.5px; line-height: 13.65px; width: 120px; }
.tz-hero__pager {
	position: absolute; right: 25px; bottom: 5px; z-index: 3;
	display: flex; align-items: center; gap: 12px; height: 19px;
	font-size: 11px; line-height: 14.3px; color: #9c97b8;
}
.tz-hero__pager button { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; }
.tz-hero__pager button:hover { background: rgba(255, 255, 255, .1); }
.tz-hero__pager b { color: #fff; font-weight: 700; }
.tz-hero__pager .tz-hero__next img { transform: scaleX(-1); }
.tz-hero__dots { display: none; }

/* Hero — desktop/tablet: art bên phải mờ dần, nền ambient, thông số, thumbnail điều hướng */
.tz-hero__ambient, .tz-hero__meta, .tz-hero__nav, .tz-hero__poster { display: none; }
@media (min-width: 768px) {
	.tz-hero {
		width: calc(min(100%, var(--tz-container)) - 2 * var(--tz-gutter)); margin: 14px auto 0;
		height: clamp(272px, 24vw, 400px); background: #050b14;
		border-radius: var(--tz-radius-xl); border: 1px solid var(--tz-border); box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
	}
	.tz-hero__slide { isolation: isolate; }
	.tz-hero__ambient {
		display: block; position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover;
		filter: blur(40px) brightness(.4) saturate(1.3); transform: scale(1.2);
	}
	.tz-hero__slide--banner .tz-hero__bg {
		left: auto; right: 0; z-index: -1; width: 74%;
		object-position: right center;
		-webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .35) 22%, #000 52%);
		mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .35) 22%, #000 52%);
	}
	.tz-hero__bg--cover { z-index: -2; filter: blur(36px) brightness(.38) saturate(1.4); transform: scale(1.25); }
	.tz-hero__shade {
		width: 100%; max-width: none; opacity: 1; z-index: 0;
		background:
			radial-gradient(ellipse 60% 90% at 12% 50%, rgba(5, 11, 20, .75), rgba(5, 11, 20, 0) 70%),
			linear-gradient(180deg, rgba(5, 11, 20, 0) 62%, rgba(5, 11, 20, .9) 100%);
	}
	.tz-hero__inner {
		display: flex; align-items: center; z-index: 1;
		max-width: none; padding: 0 clamp(28px, 3.4vw, 48px) clamp(20px, 2.2vw, 36px);
	}
	.tz-hero__content { width: clamp(360px, 38vw, 520px); gap: clamp(8px, .8vw, 12px); }
	.tz-hero__titleart {
		width: auto; height: clamp(48px, 4.4vw, 76px); max-width: 100%; object-fit: contain;
		filter: drop-shadow(0 0 14px rgba(102, 178, 255, .55));
	}
	.tz-hero__title { font-size: clamp(38px, 3.6vw, 60px); line-height: 1.15; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
	.tz-hero__tagline { font-size: clamp(14px, 1.15vw, 18px); letter-spacing: .02em; }
	.tz-hero__meta {
		display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0; padding: 0; list-style: none;
		font-size: 12px; color: #dfe5f0;
	}
	.tz-hero__meta li { display: inline-flex; align-items: center; gap: 5px; }
	.tz-hero__meta b { color: #ffc86b; font-size: 13px; }
	.tz-hero__meta .tz-badge { height: 19px; font-size: 9.5px; }
	.tz-hero__desc { width: auto; font-size: clamp(12px, .95vw, 14px); line-height: 1.5; color: #c9d2e3; }
	.tz-hero__actions { margin-top: 4px; }
	.tz-hero__actions .tz-btn { --h: clamp(34px, 2.8vw, 42px); }
	.tz-hero__actions .tz-btn--primary { width: auto; padding-inline: 22px; box-shadow: var(--tz-glow); }
	.tz-hero__actions .tz-btn--outline { width: auto; padding-inline: 20px; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }

	/* Slide không có banner: poster bìa nổi bên phải */
	.tz-hero__poster {
		display: block; position: absolute; z-index: 1;
		right: clamp(280px, 26%, 330px);
		top: 50%; height: 78%; aspect-ratio: 27 / 38;
		transform: translateY(-54%) rotate(3deg);
		border-radius: 14px; overflow: hidden;
		box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .14), 0 0 60px rgba(255, 143, 199, .18);
	}
	.tz-hero__cover-art { position: static; width: 100%; height: 100%; border: 0; border-radius: 0; box-shadow: none; object-fit: cover; }

	.tz-hero__quote {
		top: clamp(20px, 2.4vw, 40px); bottom: auto; z-index: 1;
		right: 20px;
		width: 190px; padding: 10px 12px; border-radius: 12px;
		background: rgba(5, 11, 20, .45); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(8px);
	}
	.tz-hero__quote p { width: auto; font-size: 11.5px; line-height: 1.45; }

	/* Điều hướng: mũi tên + thumbnail có thanh tiến trình */
	.tz-hero__pager { display: none; }
	.tz-hero__nav { display: block; position: absolute; left: 0; right: 0; bottom: clamp(12px, 1.4vw, 22px); z-index: 3; pointer-events: none; }
	.tz-hero__nav-inner {
		display: flex; justify-content: flex-end; align-items: center; gap: 10px;
		padding-inline: 20px;
	}
	.tz-hero__nav-inner > * { pointer-events: auto; }
	.tz-hero__thumbs { display: flex; gap: 8px; }
	.tz-hero__thumb {
		position: relative; width: clamp(36px, 3vw, 48px); aspect-ratio: 3 / 4; border-radius: 7px; overflow: hidden;
		opacity: .5; border: 1px solid rgba(255, 255, 255, .18); transition: opacity .25s, transform .25s, border-color .25s;
	}
	.tz-hero__thumb img { width: 100%; height: 100%; object-fit: cover; }
	.tz-hero__thumb:hover { opacity: .85; }
	.tz-hero__thumb[aria-current="true"] { opacity: 1; transform: translateY(-4px); border-color: var(--tz-primary); box-shadow: 0 6px 18px rgba(0, 0, 0, .45); }
	.tz-hero__thumb::after {
		content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
		background: var(--tz-primary); transform: scaleX(0); transform-origin: left;
	}
	.tz-hero__thumb[aria-current="true"]::after { animation: tz-hero-progress var(--tz-hero-delay, 6s) linear forwards; }
	.tz-hero:hover .tz-hero__thumb::after, .tz-hero:focus-within .tz-hero__thumb::after { animation: none; }
	.tz-hero.is-static .tz-hero__thumb::after { display: none; }
	.tz-hero__arrow {
		display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
		background: rgba(5, 11, 20, .55); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px);
		transition: background .2s, border-color .2s;
	}
	.tz-hero__arrow:hover { background: rgba(255, 143, 199, .2); border-color: var(--tz-primary); }
	.tz-hero__arrow--next img { transform: scaleX(-1); }

	/* Chuyển động khi slide xuất hiện */
	.tz-hero__slide:not([aria-hidden="true"]) .tz-hero__bg { animation: tz-hero-zoom 14s ease-out both; }
	.tz-hero__slide:not([aria-hidden="true"]) .tz-hero__content > * { animation: tz-hero-rise .6s cubic-bezier(.2, .7, .2, 1) both; }
	.tz-hero__slide:not([aria-hidden="true"]) .tz-hero__content > :nth-child(2) { animation-delay: .06s; }
	.tz-hero__slide:not([aria-hidden="true"]) .tz-hero__content > :nth-child(n+3) { animation-delay: .12s; }
	.tz-hero__slide:not([aria-hidden="true"]) .tz-hero__content > :nth-child(n+5) { animation-delay: .18s; }
	.tz-hero__slide:not([aria-hidden="true"]) .tz-hero__poster { animation: tz-hero-poster .7s cubic-bezier(.2, .7, .2, 1) both; }
	@keyframes tz-hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
	@keyframes tz-hero-rise { from { opacity: 0; transform: translateY(14px); } }
	@keyframes tz-hero-poster { from { opacity: 0; transform: translateY(-46%) rotate(8deg); } }
	@keyframes tz-hero-progress { to { transform: scaleX(1); } }
}
@media (min-width: 768px) and (max-width: 1100px) {
	.tz-hero__poster { right: 250px; }
	.tz-hero__quote { display: none; }
}
@media (min-width: 768px) and (max-width: 960px) {
	.tz-hero__poster { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.tz-hero__slide .tz-hero__bg, .tz-hero__slide .tz-hero__content > *, .tz-hero__slide .tz-hero__poster, .tz-hero__thumb::after { animation: none !important; }
}

/* genre bar */
.tz-genres {
	display: flex; align-items: stretch; gap: 4px;
	margin-top: 12px; padding: 6px;
	background: var(--tz-surface);
	border: 1px solid var(--tz-border);
	border-radius: var(--tz-radius-xl);
	overflow-x: auto; scrollbar-width: none;
}
.tz-genres::-webkit-scrollbar { display: none; }
.tz-genres__item {
	position: relative;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
	flex: 1 0 78px; padding: 10px 6px 11px;
	border-radius: 12px;
	font-size: 11.5px; font-weight: 500; line-height: 1.2; color: var(--tz-muted); white-space: nowrap;
	transition: background .2s, color .2s;
}
.tz-gico {
	display: grid; place-items: center; flex: none;
	width: 36px; height: 36px; border-radius: 11px;
	color: var(--c, var(--tz-primary));
	background: color-mix(in srgb, var(--c, var(--tz-primary)) 12%, transparent);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, var(--tz-primary)) 22%, transparent);
	transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.tz-gico svg, .tz-gico img { display: block; }
.tz-gico img { object-fit: contain; border-radius: 4px; }
.tz-genres__item:hover { background: var(--tz-surface-2); color: var(--tz-text); }
.tz-genres__item:hover .tz-gico { transform: translateY(-2px); background: color-mix(in srgb, var(--c, var(--tz-primary)) 20%, transparent); }
.tz-genres__item:focus-visible { outline: 2px solid var(--tz-primary); outline-offset: -2px; }
.tz-genres__item.is-active { color: var(--tz-text); font-weight: 700; background: color-mix(in srgb, var(--tz-primary) 9%, transparent); }
.tz-genres__item.is-active .tz-gico {
	color: var(--tz-ink); background: var(--c, var(--tz-primary));
	box-shadow: 0 6px 16px color-mix(in srgb, var(--c, var(--tz-primary)) 38%, transparent);
}
.tz-genres__item.is-active::after {
	content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 3px; margin-left: -9px;
	border-radius: 3px; background: var(--tz-primary);
}
.tz-genres__item--more::before {
	content: ""; position: absolute; left: -2px; top: 16px; bottom: 16px; width: 1px; background: var(--tz-border);
}
.tz-genres__item--more .tz-gico { background: transparent; box-shadow: inset 0 0 0 1px var(--tz-border); color: var(--tz-muted); }

/* home layout */
.tz-home__body { display: grid; grid-template-columns: minmax(0, 1fr) var(--tz-sidebar); gap: 20px; margin-top: 12px; }
.tz-home__main > * + * { margin-top: 14px; }
.tz-home__side { display: flex; flex-direction: column; gap: 12px; }

/* center banner */
.tz-promo {
	position: relative; display: block;
	height: 131px; border-radius: var(--tz-radius-lg); overflow: hidden;
	background: linear-gradient(180deg, #4a7ac4 0%, #ab8cc4 58%, #e39ea3 100%);
	color: #f6f7fc;
}
.tz-promo:hover { color: #f6f7fc; }
.tz-promo__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tz-promo__copy { position: absolute; left: 31px; top: 16px; width: 290px; display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.tz-promo__title { font-family: var(--tz-font-script); font-weight: 700; font-size: 28px; line-height: 25px; width: 235px; margin: 0; }
.tz-promo__text { font-size: 9.3px; line-height: 12.09px; margin: 0; }
.tz-promo .tz-btn { margin-top: 2px; width: 121px; }
.tz-promo__note {
	position: absolute; right: 11px; top: 33px; width: 160px;
	font-family: var(--tz-font-script); font-weight: 700; font-size: 16px; line-height: 20.8px;
	transform: rotate(-5deg);
}

/* sidebar boxes */
.tz-box {
	background: var(--tz-surface);
	border: .7px solid var(--tz-border);
	border-radius: var(--tz-radius-xl);
	padding: 10px 8px 12px;
}
.tz-box__head { display: flex; align-items: center; gap: 6px; min-height: 20px; margin: 0 0 10px; }
.tz-box__head .tz-heading__title { font-size: 15px; line-height: 19.5px; }
.tz-tabs-mini { display: grid; grid-template-columns: repeat(3, 1fr); height: 25px; border: .7px solid var(--tz-border); border-radius: var(--tz-radius-sm); margin-bottom: 10px; }
.tz-tabs-mini button { border-radius: var(--tz-radius-sm); font-size: 10px; line-height: 13px; color: var(--tz-text); }
.tz-tabs-mini button[aria-selected="true"] { background: var(--tz-purple); }
.tz-rank-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tz-rank-item { display: flex; align-items: center; gap: 8px; height: 38px; }
.tz-rank-item__pos {
	display: grid; place-items: center; flex: none;
	width: 14px; height: 14px; border-radius: 50%;
	background: var(--tz-purple); color: var(--tz-text);
	font-size: 9px; line-height: 11.7px; font-weight: 700;
}
.tz-rank-item:first-child .tz-rank-item__pos { background: var(--tz-primary); color: var(--tz-ink); }
.tz-rank-item__thumb { width: 44px; height: 38px; border-radius: 4px; object-fit: cover; flex: none; }
.tz-rank-item__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tz-rank-item__title { font-size: 11px; line-height: 14.3px; font-weight: 500; color: var(--tz-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-rank-item__views { font-size: 10.5px; line-height: 13.65px; color: var(--tz-muted); }
.tz-rank-list.is-loading { opacity: .5; pointer-events: none; }

.tz-join, .tz-support {
	position: relative; overflow: hidden;
	border-radius: var(--tz-radius-xl);
	background: var(--tz-purple);
	color: #f6f7fc;
}
.tz-join { height: 200px; }
.tz-support { height: 108px; }
.tz-join__bg, .tz-support__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tz-join__copy { position: absolute; left: 14px; top: 13px; width: 205px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.tz-join__title { font-size: 12.5px; line-height: 16.25px; font-weight: 700; width: 170px; margin: 0; color: #f6f7fc; }
.tz-join__title b { color: #ff5c99; }
.tz-join__text { font-size: 10px; line-height: 13px; color: #b9c4d7; margin: 0; }
.tz-join .tz-btn { width: 122px; }
.tz-join__bubble {
	position: absolute; left: 167px; top: 7px; width: 66px; height: 55px;
	display: grid; place-items: center; font-style: italic; font-size: 9px; line-height: 11.7px; color: #10101b; padding: 0 0 0 4px;
}
.tz-support__copy { position: absolute; left: 14px; top: 10px; width: 145px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.tz-support__title { font-size: 14px; line-height: 18.2px; font-weight: 700; margin: 0; color: #f6f7fc; }
.tz-support__text { font-size: 10px; line-height: 13px; margin: 0; width: 133px; }
.tz-support .tz-btn { --h: 29px; width: 102px; }

.tz-news-box { padding: 8px 6px; border-width: .5px; }
.tz-news-box .tz-box__head { margin-bottom: 6px; }
.tz-news-box .tz-heading__title { font-size: 12px; line-height: 15.6px; }
.tz-news-box .tz-box__more { margin-left: auto; font-size: 9px; line-height: 11.7px; font-weight: 500; color: var(--tz-primary-text); }
.tz-news-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.tz-news-item { display: flex; gap: 9px; min-height: 48px; }
.tz-news-item img:not(.tz-icon) { width: 56px; height: 48px; border-radius: 4px; object-fit: cover; flex: none; }
.tz-news-item__title { font-size: 10px; line-height: 13px; color: var(--tz-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tz-news-item time { display: block; margin-top: 4px; font-size: 9px; line-height: 11.7px; color: var(--tz-subtle); }

/* Top 5 shelf (tabs + oversized outline numerals beside large covers). */
.tz-top { margin-top: 40px; }
.tz-top__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; border-bottom: 1px solid var(--tz-border); }
.tz-top__tabs { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.tz-top__tabs::-webkit-scrollbar { display: none; }
.tz-top__tabs button {
	position: relative; padding: 0 0 12px; white-space: nowrap;
	font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--tz-muted);
	transition: color .2s;
}
.tz-top__tabs button:hover { color: var(--tz-text); }
.tz-top__tabs button[aria-selected="true"] { color: var(--tz-text); }
.tz-top__tabs button[aria-selected="true"]::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--tz-primary);
}
.tz-top__tabs button:focus-visible { outline: 2px solid var(--tz-primary); outline-offset: 4px; border-radius: 4px; }
.tz-top__head .tz-viewall { margin-bottom: 14px; flex: none; }

.tz-top__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tz-top__row[hidden] { display: none; }
.tz-top__item a { position: relative; display: block; padding-left: 74px; color: var(--tz-text); }
.tz-top__num {
	position: absolute; left: -2px; bottom: 50px; z-index: 0;
	font-size: 200px; font-weight: 700; line-height: .74; letter-spacing: -.06em; font-variant-numeric: lining-nums;
	color: var(--tz-bg); -webkit-text-stroke: 2px color-mix(in srgb, var(--tz-text) 26%, transparent);
	transition: -webkit-text-stroke-color .25s; pointer-events: none; user-select: none;
}
.tz-top__item:first-child .tz-top__num { -webkit-text-stroke-color: var(--tz-primary); }
.tz-top__cover {
	position: relative; z-index: 1; display: block; aspect-ratio: 27 / 38; border-radius: 8px; overflow: hidden;
	background: var(--tz-surface-2);
	box-shadow: -10px 0 24px -8px rgba(4, 10, 18, .85), 0 16px 32px -20px rgba(0, 0, 0, .9);
	transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}
.tz-top__cover img { width: 100%; height: 100%; object-fit: cover; }
.tz-top__title { position: relative; z-index: 1; display: block; margin-top: 12px; font-size: 14px; font-weight: 600; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.tz-top__meta { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 12px; color: var(--tz-muted); }
.tz-top__rating { display: inline-flex; align-items: center; gap: 4px; color: var(--tz-text); font-weight: 600; font-variant-numeric: tabular-nums; }
.tz-top__rating svg { color: var(--tz-star); fill: currentColor; }
.tz-top__item a:hover .tz-top__cover { transform: translateY(-4px); }
.tz-top__item a:hover .tz-top__num { -webkit-text-stroke-color: var(--tz-primary); }
.tz-top__item a:hover .tz-top__title { color: var(--tz-primary-text); }
.tz-top__item a:active .tz-top__cover { transform: translateY(-2px) scale(.99); }
[data-theme="light"] .tz-top__cover { box-shadow: -10px 0 24px -10px rgba(20, 27, 43, .35), 0 16px 32px -22px rgba(20, 27, 43, .5); }

@media (max-width: 1023px) {
	.tz-top__row {
		display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
		margin-inline: calc(-1 * var(--tz-gutter)); padding: 0 var(--tz-gutter) 4px; scroll-padding-inline: var(--tz-gutter);
	}
	.tz-top__row::-webkit-scrollbar { display: none; }
	.tz-top__item { flex: 0 0 196px; scroll-snap-align: start; }
}
@media (max-width: 767px) {
	.tz-top { margin-top: 28px; }
	.tz-top__tabs { gap: 20px; }
	.tz-top__tabs button { font-size: 16px; padding-bottom: 10px; }
	.tz-top__head .tz-viewall { display: none; }
	.tz-top__item { flex-basis: 150px; }
	.tz-top__item a { padding-left: 54px; }
	.tz-top__num { font-size: 150px; bottom: 46px; left: -2px; }
	.tz-top__title { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	.tz-top__cover { transition: none; }
	.tz-top__item a:hover .tz-top__cover, .tz-top__item a:active .tz-top__cover { transform: none; }
}

/* continue reading (mobile) */
.tz-continue { display: none; }

/* ---------- 12. Breadcrumb / page hero ---------- */
.tz-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; font-size: 10.5px; color: var(--tz-muted); }
.tz-breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.tz-breadcrumb a:hover { color: var(--tz-primary-text); }
.tz-breadcrumb [aria-current] { color: var(--tz-muted); }

.tz-pagehero { position: relative; height: 166px; overflow: hidden; }
.tz-pagehero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tz-pagehero__inner { position: relative; height: 100%; max-width: calc(var(--tz-container) + 60px); margin-inline: auto; padding: 21px 42px 0; }
.tz-pagehero__title {
	font-family: var(--tz-font-display); font-weight: 700; font-size: 54px; line-height: 1.2; color: #fff;
	text-shadow: 0 0 14px rgba(115, 178, 255, .85);
	margin: 6px 0 4px;
}
.tz-pagehero__desc { font-size: 12.5px; line-height: 19.5px; color: #e8ecf6; margin: 0; max-width: 360px; }
.tz-pagehero--plain { height: auto; padding: 24px 0 8px; }
.tz-pagehero--plain .tz-pagehero__inner { padding-top: 0; }
.tz-pagehero--plain .tz-pagehero__title { color: var(--tz-text); text-shadow: none; font-size: 40px; }
.tz-pagehero--plain .tz-pagehero__desc { color: var(--tz-muted); }

/* ---------- 13. Explore / filter ---------- */
.tz-explore { display: grid; grid-template-columns: minmax(0, 1fr) 229px; gap: 8px 8px; padding-inline: 24px; max-width: calc(var(--tz-container) + 60px); margin-inline: auto; }
.tz-explore__side { padding-top: 48px; display: flex; flex-direction: column; gap: 12px; }
.tz-filter {
	position: relative; background: var(--tz-surface); border: 1px solid var(--tz-border); border-radius: 14px;
	padding: 12px 1px 1px; margin-top: 0;
}
.tz-filter__head { display: flex; align-items: center; gap: 10px; padding: 0 14px 12px 17px; }
.tz-filter__title { font-size: 15px; font-weight: 700; }
.tz-filter__toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--tz-muted); }
.tz-filter.is-collapsed .tz-filter__toggle img { transform: rotate(180deg); }
.tz-filter__body { background: var(--tz-surface-3); border-radius: 10px; padding: 11px 18px 12px; }
.tz-filter.is-collapsed .tz-filter__body { display: none; }
.tz-filter__grid { display: grid; grid-template-columns: 212px 173px 171px 1fr; gap: 19px 17px; }
.tz-filter__grid--2 { grid-template-columns: 162px 174px 175px 1fr; margin-top: 18px; }
.tz-filter__field label { display: block; font-size: 11px; font-weight: 500; margin: 0 0 6px 2px; }
.tz-filter__field .tz-select { width: 100%; }
.tz-filter__foot { display: flex; align-items: center; gap: 14px; margin: 24px -8px 0; }
.tz-filter__reset { display: inline-flex; align-items: center; gap: 6px; height: 33px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--tz-border); color: var(--tz-primary-text); font-size: 11px; font-weight: 500; }
.tz-filter__count { margin-left: auto; font-size: 10.5px; color: var(--tz-muted); }
.tz-filter__apply { --h: 34px; font-size: 11.5px; width: 111px; }
.tz-genre-multi { position: relative; }
.tz-genre-multi__btn { width: 100%; text-align: left; }
.tz-genre-multi__panel {
	position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; width: 320px;
	display: none; flex-wrap: wrap; gap: 6px; padding: 10px;
	background: var(--tz-surface); border: 1px solid var(--tz-border); border-radius: 12px; box-shadow: var(--tz-shadow);
}
.tz-genre-multi.is-open .tz-genre-multi__panel { display: flex; }
.tz-genre-multi__panel label { cursor: pointer; }
.tz-genre-multi__panel input { position: absolute; opacity: 0; }
.tz-genre-multi__panel input:checked + .tz-chip { background: var(--tz-primary); border-color: var(--tz-primary); color: var(--tz-ink); }

.tz-quick { display: flex; align-items: center; gap: 9px; margin: 9px 0 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tz-quick::-webkit-scrollbar { display: none; }
.tz-quick__label { font-size: 10.5px; color: var(--tz-muted); white-space: nowrap; margin-right: 6px; }
.tz-divider { height: 1px; background: var(--tz-border); margin: 15px 0; border: 0; }
.tz-listhead { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.tz-listhead .tz-heading__title { font-size: 17px; }
.tz-listhead__tools { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.tz-sort { position: relative; }
.tz-sort .tz-select { width: 170px; height: 27px; min-height: 27px; font-size: 10.5px; }
.tz-viewmode { display: grid; place-items: center; width: 22px; height: 22px; color: var(--tz-muted); border-radius: 4px; }
.tz-viewmode.is-active, .tz-viewmode:hover { color: var(--tz-primary); }
.tz-results.is-list .tz-grid { grid-template-columns: minmax(0, 1fr); }
.tz-results.is-list .tz-card { flex-direction: row; }
.tz-results.is-list .tz-card__cover { width: 90px; flex: none; aspect-ratio: 3 / 4; }
.tz-results.is-list .tz-card__info { justify-content: center; flex: 1; }

.tz-side-box { background: var(--tz-surface); border: 1px solid var(--tz-border); border-radius: 10px; padding: 12px 9px 10px; }
.tz-side-box .tz-heading { padding: 0 4px; margin-bottom: 10px; }
.tz-side-box .tz-heading__title { font-size: 14px; line-height: 18px; }
.tz-side-box .tz-viewall { font-size: 9.5px; }
.tz-genre-row {
	display: flex; align-items: center; gap: 16px; height: 40px; padding: 0 8px 0 5px; margin-bottom: 2.5px;
	border-radius: 8px; background: var(--tz-surface-2); border: 1px solid var(--tz-border);
}
.tz-genre-row:hover { border-color: var(--tz-primary); color: var(--tz-text); }
.tz-genre-row .tz-gico { width: 30px; height: 30px; border-radius: 9px; }
.tz-genre-row__name { font-size: 11px; font-weight: 500; display: block; }
.tz-genre-row__count { font-size: 10px; color: var(--tz-muted); display: block; }
.tz-genre-row .tz-icon:last-child { margin-left: auto; }
.tz-trend-list { list-style: none; display: flex; flex-direction: column; gap: 6.6px; padding: 0 0 4px; }
.tz-trend-item { display: flex; align-items: center; gap: 14px; height: 36px; }
.tz-trend-item__pos { width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 700; background: var(--tz-surface-2); border: 1px solid var(--tz-border-2); flex: none; }
.tz-trend-item:first-child .tz-trend-item__pos { background: var(--tz-primary); color: var(--tz-ink); border-color: var(--tz-primary); }
.tz-trend-item:nth-child(3) .tz-trend-item__pos { background: #fff; color: var(--tz-ink); }
.tz-trend-item img:not(.tz-icon) { width: 38px; height: 36px; border-radius: 4px; object-fit: cover; flex: none; }
.tz-trend-item__title { font-size: 11px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-trend-item__meta { font-size: 10px; color: var(--tz-muted); }
.tz-trend-item__delta { margin-left: auto; font-size: 11px; display: inline-flex; gap: 3px; align-items: center; }
.tz-trend-item__delta.is-up { color: var(--tz-success); }
.tz-trend-item__delta.is-down { color: var(--tz-danger); }

.tz-side-promo { position: relative; height: 138px; border-radius: 10px; overflow: hidden; color: #fff; }
.tz-side-promo__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tz-side-promo__copy { position: absolute; left: 12px; top: 10px; right: 90px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.tz-side-promo__title { font-size: 15px; line-height: 18px; font-weight: 700; color: var(--tz-primary); margin: 0; }
.tz-side-promo__text { font-size: 9.5px; line-height: 14px; margin: 0 0 6px; color: #f6f7fc; }
.tz-side-promo .tz-btn { --h: 28px; font-size: 10.5px; }
.tz-btn--discord { background: #5865f2; color: #fff; --h: 30px; font-size: 10.5px; border-radius: 10px; }
.tz-btn--discord:hover { background: #6b77ff; color: #fff; }

/* ---------- 14. Pagination ---------- */
.tz-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 22px 0 10px; flex-wrap: wrap; }
.tz-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-width: 30px; height: 32px; padding: 0 9px;
	border-radius: 8px; border: 1px solid var(--tz-border); background: var(--tz-surface);
	font-size: 11px; color: var(--tz-text);
}
.tz-pagination .page-numbers:hover { border-color: var(--tz-primary); color: var(--tz-text); }
.tz-pagination .page-numbers.current { background: var(--tz-primary); border-color: var(--tz-primary); color: var(--tz-ink); font-weight: 700; }
.tz-pagination .page-numbers.dots { background: transparent; border: 0; }
.tz-pagination .prev, .tz-pagination .next { padding: 0 14px; margin-inline: 10px; }

/* ---------- 15. Comic detail ---------- */
.tz-detail-hero { position: relative; min-height: 364px; overflow: hidden; }
.tz-detail-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tz-detail-hero__bg--cover { filter: blur(24px) brightness(.45); transform: scale(1.2); }
.tz-detail-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 17, 28, .65) 0%, rgba(7, 17, 28, .25) 55%, rgba(7, 17, 28, 0) 80%), linear-gradient(180deg, rgba(7, 17, 28, 0) 70%, var(--tz-bg) 100%); }
.tz-detail-hero__inner {
	position: relative; display: grid; grid-template-columns: 201px minmax(0, 525px) auto; gap: 0 17px;
	max-width: calc(var(--tz-container) + 60px); margin-inline: auto; padding: 36px 44px 13px;
}
.tz-detail-cover {
	grid-row: 1; width: 201px; height: 315px; border-radius: 10px; overflow: hidden;
	border: 1px solid #3b5070; position: relative;
}
.tz-detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.tz-detail-cover .tz-badge { position: absolute; left: 8px; top: 8px; }
.tz-detail-title {
	font-family: var(--tz-font-display); font-weight: 700; font-size: 44px; line-height: 1.2; color: #fff;
	text-shadow: 0 0 12px rgba(102, 178, 255, .9); margin: -4px 0 0;
}
.tz-detail-alt { font-size: 15px; color: #e8ecf6; margin: 0 0 4px; }
.tz-detail-genres { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 14px; }
.tz-detail-info { display: grid; grid-template-columns: 236px 1fr; gap: 6px 0; font-size: 10px; margin-bottom: 14px; color: #f6f7fc; }
.tz-detail-info__row { display: grid; grid-template-columns: 17px 53px 1fr; align-items: center; min-height: 12px; }
.tz-detail-info__row.is-right { grid-template-columns: 17px 73px 1fr; }
.tz-detail-info__label { color: #b9c4d7; }
.tz-detail-info__value a { color: #f6f7fc; }
.tz-detail-info__value a:hover { color: var(--tz-primary); }
.tz-detail-actions { display: flex; gap: 10px; }
.tz-detail-actions .tz-btn { border-radius: 8px; }
.tz-detail-actions .tz-btn--read { width: 163px; font-size: 12px; gap: 7px; box-shadow: var(--tz-glow); }
.tz-detail-actions .tz-btn--dark { width: 105px; font-size: 11px; gap: 7px; }
.tz-detail-actions .tz-btn--dark.is-active { border-color: var(--tz-primary); color: var(--tz-primary); }
.tz-rating-box {
	grid-column: 3; grid-row: 1; align-self: start; margin: 98px 0 0 -114px; position: relative; z-index: 2;
	width: 116px; height: 74px; border-radius: 10px;
	background: rgba(11, 22, 34, .9); border: 1px solid var(--tz-border-2);
	display: flex; flex-direction: column; align-items: center; padding-top: 7px; gap: 2px;
	color: #f6f7fc; cursor: pointer;
}
.tz-rating-box:hover { border-color: var(--tz-primary); }
.tz-rating-box__score { display: flex; align-items: center; gap: 6px; font-size: 21px; font-weight: 700; line-height: 25px; }
.tz-rating-box__count { font-size: 9.5px; color: #b9c4d7; }
.tz-synopsis {
	position: relative; margin-top: 12px; padding: 5px 70px 5px 9px; min-height: 54px;
	background: rgba(11, 22, 34, .88); border: 1px solid var(--tz-border-2); border-radius: 8px;
	font-size: 9px; line-height: 12.4px; color: #dfe5f0;
}
.tz-synopsis p { margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tz-synopsis.is-open p { -webkit-line-clamp: unset; }
.tz-synopsis__more { position: absolute; right: 18px; bottom: 9px; font-size: 9.5px; color: var(--tz-primary); }
.tz-statsbar {
	display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 8px; height: 42px;
	background: rgba(11, 22, 34, .88); border: 1px solid var(--tz-border-2); border-radius: 8px;
}
.tz-statsbar__item { display: flex; align-items: center; gap: 8px; padding-left: 15px; position: relative; color: #f6f7fc; }
.tz-statsbar__item + .tz-statsbar__item::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--tz-border); }
.tz-statsbar__value { font-size: 10.5px; font-weight: 500; display: block; line-height: 1.2; }
.tz-statsbar__value em { font-style: normal; color: var(--tz-primary); }
.tz-statsbar__label { font-size: 8.5px; color: #b9c4d7; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 110px; }
.tz-detail-quote { position: absolute; right: 40px; top: 70px; width: 120px; font-family: var(--tz-font-script); font-size: 14px; line-height: 1.25; color: #fff; transform: rotate(-6deg); }
.tz-detail-quote span { display: block; font-family: var(--tz-font); font-size: 9px; color: #b9c4d7; margin-top: 6px; font-style: italic; transform: none; }

.tz-detail { display: grid; grid-template-columns: minmax(0, 656px) 277px; gap: 10px; justify-content: center; max-width: calc(var(--tz-container) + 60px); margin: 8px auto 0; padding: 0 39px 0 42px; }
.tz-detail__main { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.tz-detail__side { display: flex; flex-direction: column; gap: 10px; }
.tz-tabs { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 0; overflow-x: auto; scrollbar-width: none; }
.tz-tabs::-webkit-scrollbar { display: none; }
.tz-tab {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: 34px; min-width: 140px; padding: 0 12px;
	border-radius: 8px; border: 1px solid transparent;
	font-size: 11px; color: var(--tz-text); white-space: nowrap;
}
.tz-tab:hover { color: var(--tz-primary-text); }
.tz-tab[aria-selected="true"] { background: var(--tz-purple); border-color: var(--tz-primary); color: var(--tz-primary-text); font-weight: 700; min-width: 154px; }
.tz-panel { background: var(--tz-surface); border: 1px solid var(--tz-border); border-radius: 10px; padding: 9px 14px 12px 16px; }
.tz-panel__head { display: flex; align-items: center; gap: 12px; min-height: 22px; margin-bottom: 10px; }
.tz-panel__title { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.tz-panel__title--lg { font-size: 15px; }
.tz-intro { display: grid; grid-template-columns: minmax(0, 1fr) 166px; gap: 10px; }
.tz-intro__text { font-size: 9.5px; line-height: 1.55; color: var(--tz-text-2); }
.tz-intro__text p { margin: 0 0 8px; }
.tz-intro__art { width: 166px; height: 199px; border-radius: 10px; object-fit: cover; margin-top: -32px; }
.tz-quote-box {
	display: flex; gap: 10px; align-items: flex-start; position: relative;
	padding: 9px 12px; min-height: 52px; max-width: 497px; margin-top: 4px;
	border: 1px solid var(--tz-border); border-radius: 8px; background: var(--tz-surface-2);
	font-size: 9px; line-height: 1.6; font-style: italic; color: var(--tz-muted);
}
.tz-quote-box cite { position: absolute; right: 10px; bottom: 6px; font-size: 8.5px; color: var(--tz-muted); }

/* chapter list (detail) */
.tz-chapters__tools { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.tz-chapters__search { position: relative; width: 123px; }
.tz-chapters__search input { width: 100%; height: 25px; border-radius: 6px; border: 1px solid var(--tz-border); background: var(--tz-input); padding: 0 8px 0 29px; font-size: 9.5px; color: var(--tz-text); }
.tz-chapters__search img { position: absolute; left: 9px; top: 6.5px; }
.tz-chapters__tools .tz-select { width: 98px; height: 25px; min-height: 25px; font-size: 9.5px; }
.tz-chapters__tools .tz-btn { --h: 25px; font-size: 9.5px; border-radius: 6px; box-shadow: var(--tz-glow); }
.tz-chlist { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.tz-chrow {
	display: grid; grid-template-columns: 85px minmax(0, 1fr) 135px 77px 57px 70px; align-items: center;
	height: 24px; padding: 0 8px; border-radius: 5px; border: 1px solid var(--tz-border); background: var(--tz-input);
	font-size: 9.5px; color: var(--tz-text-2);
}
.tz-chrow:hover { border-color: var(--tz-primary); color: var(--tz-text); }
.tz-chrow__num { font-weight: 500; color: var(--tz-text); }
.tz-chrow__name { display: flex; align-items: center; gap: 14px; min-width: 0; }
.tz-chrow__name span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-chrow__new { display: inline-flex; align-items: center; justify-content: center; height: 13px; padding: 0 8px; border-radius: 3px; background: #00ba80; color: var(--tz-ink); font-size: 7px; font-weight: 700; flex: none; }
.tz-chrow__time, .tz-chrow__views { display: inline-flex; align-items: center; gap: 6px; font-size: 8.5px; color: var(--tz-muted); }
.tz-chrow__read { display: inline-flex; justify-content: center; }
.tz-chrow__status { font-size: 8.5px; color: var(--tz-success); text-align: left; }
.tz-chrow__cta { display: inline-flex; justify-content: center; align-items: center; height: 16px; width: 74px; margin-left: -20px; border-radius: 4px; background: var(--tz-primary); color: var(--tz-ink); font-size: 8.5px; font-weight: 500; }
.tz-chrow.is-current { background: var(--tz-purple); border-color: var(--tz-primary); }
.tz-chlist-more { display: flex; align-items: center; justify-content: center; gap: 8px; height: 26px; margin-top: 6px; border: 1px solid var(--tz-primary); border-radius: 6px; font-size: 10px; color: var(--tz-primary-text); background: #160f1f; width: calc(100% - 40px); }
[data-theme="light"] .tz-chlist-more { background: #fff4fa; }
.tz-chlist-pager { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }

/* comments preview */
.tz-comments-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tz-comment {
	display: flex; gap: 10px; padding: 6px 8px 8px 4px;
	border-radius: 8px; background: var(--tz-surface-2); border: 1px solid var(--tz-border);
}
.tz-comment__avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; margin-top: 2px; }
.tz-comment__body { flex: 1; min-width: 0; }
.tz-comment__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 9.5px; margin: 3px 0 2px; }
.tz-comment__author { font-weight: 700; }
.tz-comment__level { padding: 0 6px; border-radius: 4px; background: var(--tz-purple); color: var(--tz-primary-text); font-size: 8.5px; font-weight: 700; }
.tz-comment__time, .tz-comment__chapter { color: var(--tz-subtle); font-size: 8.5px; }
.tz-comment__text { font-size: 9.5px; line-height: 1.6; color: var(--tz-text-2); word-break: break-word; }
.tz-comment__text p { margin: 0; }
.tz-comment__actions { display: flex; align-items: center; gap: 22px; margin-top: 6px; font-size: 9px; color: var(--tz-muted); }
.tz-comment__like, .tz-comment__reply { display: inline-flex; align-items: center; gap: 5px; color: var(--tz-muted); font-size: 9px; }
.tz-comment__like { color: #ff5c99; }
.tz-comment__like span { color: var(--tz-muted); }
.tz-comment__like.is-liked .tz-mask { color: var(--tz-primary); }
.tz-comment__more { margin-left: auto; color: var(--tz-muted); font-size: 14px; line-height: 1; }
.tz-comment__children { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; padding-left: 8px; border-left: 2px solid var(--tz-border); }
.tz-comment__children .tz-comment { background: transparent; border: 0; padding: 0; }
.tz-comment__pending { font-size: 10px; color: var(--tz-warning); margin: 4px 0 0; }
.tz-comment--compact .tz-comment__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* related (landscape cards) */
.tz-related { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.tz-related__card { position: relative; border-radius: 8px; overflow: hidden; background: var(--tz-surface-2); border: 1px solid var(--tz-border); }
.tz-related__card img:not(.tz-icon) { width: 100%; height: 70px; object-fit: cover; }
.tz-related__card .tz-related__body { padding: 5px 8px 6px; }
.tz-related__title { font-size: 10.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-related__genres { font-size: 8.5px; color: var(--tz-muted); margin: 3px 0; }
.tz-related__stats { display: flex; justify-content: space-between; font-size: 8.5px; color: var(--tz-muted); }

/* side boxes detail */
.tz-quick-info { list-style: none; display: flex; flex-direction: column; gap: 2.4px; }
.tz-quick-info li { display: grid; grid-template-columns: 22px 84px 1fr; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px; background: var(--tz-surface-2); border: 1px solid var(--tz-border); font-size: 9.5px; }
.tz-quick-info__label { color: var(--tz-muted); }
.tz-quick-info__value em { color: var(--tz-primary-text); font-style: normal; }
.tz-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--tz-success); margin-right: 5px; vertical-align: -1px; }
.tz-genre-rank { list-style: none; display: flex; flex-direction: column; gap: 4.4px; }
.tz-genre-rank li a { display: grid; grid-template-columns: 30px 46px 1fr auto; align-items: center; height: 38px; padding: 0 12px 0 6px; border-radius: 8px; background: var(--tz-surface-2); border: 1px solid var(--tz-border); }
.tz-genre-rank__pos { width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 700; border: 1px solid var(--tz-border-2); }
.tz-genre-rank li:first-child .tz-genre-rank__pos { background: transparent; border-color: var(--tz-primary); color: var(--tz-primary); }
.tz-genre-rank img:not(.tz-icon) { width: 38px; height: 34px; border-radius: 4px; object-fit: cover; }
.tz-genre-rank__title { font-size: 10px; font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-genre-rank__views { font-size: 8.5px; color: var(--tz-muted); }
.tz-genre-rank__score { display: inline-flex; align-items: center; gap: 3px; font-size: 9px; }
.tz-rec-list { list-style: none; display: flex; flex-direction: column; gap: 1px; }
.tz-rec { display: flex; align-items: center; gap: 8px; height: 52px; padding: 4px; border-radius: 8px; background: var(--tz-surface-2); border: 1px solid var(--tz-border); position: relative; }
.tz-rec img:not(.tz-icon) { width: 62px; height: 44px; border-radius: 4px; object-fit: cover; }
.tz-rec__title { font-size: 9.5px; font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.tz-rec__genres { font-size: 8px; color: var(--tz-muted); display: block; margin: 2px 0; }
.tz-rec__stats { font-size: 8px; color: var(--tz-muted); display: flex; gap: 12px; }
.tz-rec__fav { margin-left: auto; margin-right: 14px; color: var(--tz-primary); position: relative; z-index: 2; display: grid; }
.tz-side-promo--detail { height: 90px; }
.tz-side-promo--detail .tz-side-promo__title { font-size: 13px; line-height: 1.35; color: var(--tz-primary); }

/* ---------- 16. Reader ---------- */
.tz-reader-page { display: grid; grid-template-columns: 196px minmax(0, 760px) 272px; column-gap: 4px; justify-content: center; max-width: calc(var(--tz-container) + 60px); margin-inline: auto; padding: 24px 20px 0 15px; }
.tz-reader-page .tz-breadcrumb { grid-column: 1 / -1; margin: 0 0 22px 9px; }
.tz-rside { display: flex; flex-direction: column; gap: 8px; }
.tz-summary { position: relative; display: block; background: var(--tz-surface); border: 1px solid var(--tz-border); border-radius: 10px; padding: 6px 8px 12px; }
.tz-summary__cover { position: relative; width: 100%; aspect-ratio: 176 / 244; border-radius: 8px; overflow: hidden; border: 1px solid #3b5070; }
.tz-summary__cover img { width: 100%; height: 100%; object-fit: cover; }
.tz-summary__cover .tz-badge { position: absolute; left: 6px; top: 6px; }
.tz-summary__title { font-size: 16px; font-weight: 700; margin: 10px 0 6px; }
.tz-summary__rating { display: flex; align-items: center; gap: 5px; font-size: 10.5px; }
.tz-summary__info { display: flex; flex-direction: column; gap: 11px; margin: 17px 2px 14px; font-size: 9.5px; }
.tz-summary__info div { display: grid; grid-template-columns: 18px 55px 1fr; align-items: center; }
.tz-summary__info dt { color: var(--tz-muted); }
.tz-summary__info dd { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-summary .tz-btn { --h: 30px; font-size: 10.5px; border-radius: 8px; box-shadow: var(--tz-glow); }
.tz-rmenu { display: flex; flex-direction: column; gap: 2px; margin: 0 -3px 0 5px; }
.tz-rmenu a, .tz-rmenu button { display: flex; align-items: center; gap: 14px; height: 35px; padding: 0 14px; border-radius: 6px; font-size: 11px; color: var(--tz-text); width: 100%; text-align: left; }
.tz-rmenu a:hover, .tz-rmenu button:hover { background: var(--tz-surface); color: var(--tz-text); }
.tz-rmenu .is-active { background: var(--tz-purple); color: var(--tz-primary-text); }
.tz-rmenu .is-active .tz-mask { color: var(--tz-primary); }
.tz-rmenu button.is-on { color: var(--tz-primary-text); }

.tz-reader { min-width: 0; }
.tz-rtoolbar { display: flex; align-items: center; gap: 14px; height: 30px; margin: -14px 0 10px 11px; }
.tz-rtoolbar__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 9px; border-radius: 8px; background: var(--tz-surface-3); border: 1px solid var(--tz-border); font-size: 9.5px; font-weight: 500; color: var(--tz-text); white-space: nowrap; }
.tz-rtoolbar__btn:hover { border-color: var(--tz-primary); color: var(--tz-text); }
.tz-rtoolbar__btn--primary { background: var(--tz-primary); border-color: var(--tz-primary); color: var(--tz-ink); font-weight: 700; box-shadow: var(--tz-glow); }
.tz-rtoolbar__btn--primary:hover { color: var(--tz-ink); background: var(--tz-primary-hover); }
.tz-rtoolbar__btn.is-disabled { opacity: .4; pointer-events: none; }
.tz-chselect { position: relative; }
.tz-chselect select { appearance: none; height: 30px; width: 180px; padding: 0 30px 0 10px; border-radius: 6px; background: var(--tz-surface-3) url("../icons/chevron-down.svg") right 10px center / 12px no-repeat; border: 1px solid var(--tz-border); color: var(--tz-text); font-size: 9.5px; }
.tz-rtools { position: absolute; display: flex; gap: 30px; }
.tz-rtools-wrap { display: flex; justify-content: space-between; gap: 10px; margin: -18px 4px 10px 14px; }
.tz-rtool { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 9px; color: var(--tz-text); position: relative; min-width: 40px; }
.tz-rtool:hover, .tz-rtool.is-on { color: var(--tz-primary-text); }
.tz-rtool__badge { position: absolute; top: -9px; right: -2px; padding: 1px 5px; border-radius: 999px; background: var(--tz-primary); color: var(--tz-ink); font-size: 7px; font-weight: 700; }

.tz-rbody { background: var(--tz-surface); border: 1px solid var(--tz-border); border-radius: 10px; padding: 7px 7px 10px; }
.tz-rpages { --w: 100%; display: flex; flex-direction: column; align-items: center; background: #000; }
.tz-rpages img { width: var(--w); height: auto; display: block; }
.tz-rpages[data-mode="page"] { min-height: 70vh; justify-content: center; position: relative; }
.tz-rpages[data-mode="page"] img { display: none; max-height: 85vh; width: auto; max-width: var(--w); }
.tz-rpages[data-mode="page"] img.is-current { display: block; }
.tz-rpages[data-mode="horizontal"] { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; align-items: center; }
.tz-rpages[data-mode="horizontal"].is-rtl { direction: rtl; }
.tz-rpages[data-mode="horizontal"] img { flex: 0 0 100%; width: 100%; max-height: 85vh; object-fit: contain; scroll-snap-align: center; }
.tz-rpages__hit { position: absolute; top: 0; bottom: 0; width: 35%; z-index: 2; }
.tz-rpages__hit--prev { left: 0; cursor: w-resize; }
.tz-rpages__hit--next { right: 0; cursor: e-resize; }
.tz-rfoot { display: grid; grid-template-columns: 107px minmax(0, 1fr) 124px; gap: 20px; align-items: center; margin-top: 13px; padding: 0 3px; }
.tz-rfoot .tz-rtoolbar__btn { height: 35px; font-size: 10px; }
.tz-rfoot .tz-rtoolbar__btn--primary { font-size: 10.5px; }
.tz-rprogress { font-size: 8.5px; color: var(--tz-muted); }
.tz-rprogress__row { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.tz-rprogress__row b { color: var(--tz-text); font-weight: 500; }
.tz-rprogress__bar { position: relative; height: 4px; border-radius: 2px; background: var(--tz-track); }
.tz-rprogress__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: var(--tz-primary); transition: width .2s; }
.tz-rprogress__fill::after { content: ""; position: absolute; right: -6px; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--tz-primary); box-sizing: border-box; }
.tz-rbar-top { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; background: transparent; }
.tz-rbar-top span { display: block; height: 100%; width: 0; background: var(--tz-primary); transition: width .15s; }
.tz-rpagebadge { position: fixed; right: 16px; bottom: 90px; z-index: 40; padding: 4px 10px; border-radius: 999px; background: var(--tz-glass); border: 1px solid var(--tz-border); font-size: 11px; display: none; }

.tz-settings { background: var(--tz-surface); border: 1px solid var(--tz-border); border-radius: 10px; padding: 15px 12px 14px; }
.tz-settings__title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; margin-bottom: 18px; }
.tz-settings__label { font-size: 10.5px; color: var(--tz-muted); margin: 0 0 8px; }
.tz-settings__group { margin-top: 18px; }
.tz-opt { display: flex; gap: 8px; }
.tz-opt button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 30px; border-radius: 6px; background: var(--tz-surface-2); border: 1px solid var(--tz-border); font-size: 10px; color: var(--tz-text); }
.tz-opt button[aria-pressed="true"] { background: #1d1222; border-color: var(--tz-primary); }
[data-theme="light"] .tz-opt button[aria-pressed="true"] { background: #fff4fa; }
.tz-opt--4 { flex-wrap: wrap; }
.tz-opt--4 button { flex: 1 1 calc(50% - 4px); }
.tz-settings__range { display: flex; align-items: center; gap: 22px; font-size: 10px; }
.tz-settings__switch { display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; margin-top: 16px; }
.tz-settings__reset { margin-top: 22px; width: 100%; height: 32px; border-radius: 8px; border: 1px solid var(--tz-primary); background: #160f1f; color: var(--tz-primary-text); font-size: 10.5px; font-weight: 500; }
[data-theme="light"] .tz-settings__reset { background: #fff4fa; }
.tz-rside .tz-panel { border-radius: 10px; padding: 12px 6px 10px 6px; }
.tz-rside .tz-panel__head { padding: 0 6px; }
.tz-rside .tz-panel__title { font-size: 14px; }
.tz-rchapters { list-style: none; max-height: 330px; overflow-y: auto; scrollbar-width: thin; }
.tz-rchapters a { display: grid; grid-template-columns: 73px 1fr 16px; align-items: center; height: 31px; padding: 0 9px; border-bottom: 1px solid var(--tz-border); font-size: 9.5px; color: var(--tz-muted); }
.tz-rchapters a:hover { color: var(--tz-text); }
.tz-rchapters a.is-current { background: var(--tz-purple); border-radius: 6px; border-color: transparent; }
.tz-rchapters a.is-current span:first-child { color: var(--tz-text); font-weight: 500; }
.tz-rchapters a.is-current span:nth-child(2) { color: var(--tz-primary-text); }
.tz-rchapters span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-rcomments { display: flex; flex-direction: column; gap: 8px; }
.tz-rcomments .tz-comment { padding: 6px 8px 8px 5px; gap: 12px; }
.tz-rcomments .tz-comment__avatar { width: 42px; height: 42px; }
.tz-cinput { display: flex; align-items: center; gap: 6px; height: 35px; margin: 10px 5px 4px; padding: 0 3px 0 11px; border-radius: 8px; background: var(--tz-input); border: 1px solid var(--tz-border); }
.tz-cinput input, .tz-cinput textarea { flex: 1; border: 0; background: transparent; font-size: 9.5px; color: var(--tz-text); outline: 0; resize: none; height: 100%; padding: 10px 0; }
.tz-cinput button { width: 27px; height: 27px; border-radius: 6px; background: var(--tz-primary); display: grid; place-items: center; }
.tz-totop {
	position: fixed; right: 20px; bottom: 30px; z-index: 40;
	width: 49px; height: 49px; border-radius: 50%;
	background: var(--tz-surface); border: 1px solid var(--tz-primary);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
	font-size: 8px; color: var(--tz-primary-text);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s;
}
.tz-totop.is-visible { opacity: 1; visibility: visible; transform: none; }

/* reader themes */
body[data-reader-theme="light"] .tz-rbody, body[data-reader-theme="light"] .tz-rpages { background: #fff; }
body[data-reader-theme="sepia"] .tz-rbody, body[data-reader-theme="sepia"] .tz-rpages { background: #f1e7d0; }
body[data-reader-theme="sepia"] .tz-rpages img { filter: sepia(.25) brightness(var(--b, 1)); }
body[data-reader-theme="oled"] { --tz-bg: #000; }
body[data-reader-theme="oled"] .tz-rbody, body[data-reader-theme="oled"] .tz-rpages { background: #000; border-color: #000; }
.tz-rpages img { filter: brightness(var(--b, 1)); }
body.tz-focus .tz-header, body.tz-focus .tz-appbar, body.tz-focus .tz-tabbar { transform: translateY(-110%); transition: transform .25s; }
body.tz-focus .tz-tabbar { transform: translateY(110%); }
.tz-next-loader { padding: 20px; text-align: center; color: var(--tz-muted); font-size: 12px; }
.tz-chapter-sep { padding: 14px; text-align: center; background: var(--tz-surface-2); color: var(--tz-primary-text); font-weight: 700; font-size: 12px; border-block: 1px solid var(--tz-border); width: 100%; }

/* ---------- 17. Modal / sheet / toast / cookie ---------- */
.tz-modal {
	border: 0; padding: 0; background: transparent; color: var(--tz-text);
	max-width: min(440px, calc(100vw - 32px)); width: 100%;
}
.tz-modal::backdrop { background: var(--tz-overlay); backdrop-filter: blur(3px); }
.tz-modal__box { background: var(--tz-surface); border: 1px solid var(--tz-border); border-radius: 18px; padding: 22px; box-shadow: var(--tz-shadow); }
.tz-modal__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.tz-modal__title { font-size: 17px; font-weight: 700; }
.tz-modal__close { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tz-surface-2); font-size: 18px; color: var(--tz-muted); }
.tz-modal__text { color: var(--tz-muted); font-size: 13px; }
.tz-modal__foot { display: flex; gap: 10px; margin-top: 18px; }
.tz-modal__foot .tz-btn { flex: 1; --h: 42px; font-size: 13px; }
.tz-modal[open] .tz-modal__box { animation: tz-pop .18s ease-out; }
@keyframes tz-pop { from { transform: scale(.96); opacity: 0; } }
.tz-rate { display: flex; justify-content: center; gap: 4px; margin: 10px 0 4px; }
.tz-rate button { font-size: 26px; line-height: 1; color: var(--tz-track); transition: transform .1s, color .1s; }
.tz-rate button.is-on { color: var(--tz-star); }
.tz-rate button:hover { transform: scale(1.15); }
.tz-rate__value { text-align: center; font-size: 13px; color: var(--tz-muted); }
.tz-rate__value b { color: var(--tz-text); font-size: 22px; }
.tz-reasons { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.tz-share { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.tz-share a, .tz-share button { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--tz-muted); }
.tz-share__ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--tz-surface-2); border: 1px solid var(--tz-border); font-weight: 700; color: var(--tz-text); }
.tz-share__ico--fb { background: #1877f2; color: #fff; border: 0; }
.tz-share__ico--x { background: #000; color: #fff; border: 0; }
.tz-share__ico--zalo { background: #0068ff; color: #fff; border: 0; font-size: 12px; }
.tz-share__ico--dc { background: #5865f2; border: 0; }
.tz-copy { display: flex; gap: 8px; }
.tz-copy .tz-input { min-height: 40px; font-size: 12px; }
.tz-copy .tz-btn { --h: 40px; }

.tz-toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.tz-toast {
	display: flex; align-items: center; gap: 10px; min-width: 260px; max-width: calc(100vw - 32px);
	padding: 12px 16px; border-radius: 12px; font-size: 13px;
	background: var(--tz-surface); border: 1px solid var(--tz-border); box-shadow: var(--tz-shadow);
	animation: tz-toast-in .2s ease-out; pointer-events: auto;
}
.tz-toast--success { border-color: rgba(61, 220, 132, .5); }
.tz-toast--error { border-color: rgba(255, 90, 110, .5); }
@keyframes tz-toast-in { from { transform: translateY(10px); opacity: 0; } }
.tz-toast.is-leaving { opacity: 0; transform: translateY(6px); transition: all .2s; }

.tz-cookie {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 720px; margin-inline: auto;
	display: flex; gap: 16px; align-items: center; padding: 16px 18px;
	border-radius: 16px; background: var(--tz-surface); border: 1px solid var(--tz-border); box-shadow: var(--tz-shadow);
	font-size: 12.5px; color: var(--tz-muted);
}
.tz-cookie p { margin: 0; flex: 1; }
.tz-cookie strong { color: var(--tz-text); display: block; margin-bottom: 2px; }
.tz-cookie .tz-btns { display: flex; gap: 8px; flex: none; }

/* skeleton */
.tz-skel { position: relative; overflow: hidden; background: var(--tz-surface-2); border-radius: 8px; }
.tz-skel::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent); animation: tz-shimmer 1.3s infinite; }
@keyframes tz-shimmer { to { transform: translateX(100%); } }
.tz-skel-card { display: flex; flex-direction: column; gap: 6px; }
.tz-skel-card .tz-skel:first-child { aspect-ratio: 3 / 4; }
.tz-skel-line { height: 10px; }
.tz-skel-line--short { width: 60%; }

/* empty / error states */
.tz-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 50px 20px; gap: 10px; }
.tz-empty__art { width: 180px; height: 150px; display: grid; place-items: center; font-size: 72px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 143, 199, .18), transparent 70%); }
.tz-empty__art img { max-width: 180px; max-height: 150px; object-fit: contain; }
.tz-empty__title { font-size: 20px; font-weight: 700; }
.tz-empty__text { color: var(--tz-muted); max-width: 420px; margin: 0 0 10px; }
.tz-empty__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tz-error-page { min-height: calc(100vh - 160px); display: grid; place-items: center; padding: 40px 16px; text-align: center; }
.tz-error-page__code { font-family: var(--tz-font-display); font-size: 140px; line-height: 1; font-weight: 700; background: linear-gradient(135deg, #ff8fc7, #91d9ff); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 40px rgba(255, 143, 199, .25); }
.tz-error-page__title { font-size: 26px; margin: 8px 0; }
.tz-error-page__text { color: var(--tz-muted); margin: 0 auto 20px; max-width: 460px; }
.tz-error-page .tz-search__form { width: min(420px, 100%); height: 44px; margin: 0 auto 18px; }

/* ---------- 18. Generic page layouts (account, auth, info, news) ---------- */
.tz-page { padding-block: 24px 10px; }
.tz-page__head { margin-bottom: 18px; }
.tz-page__title { font-size: 26px; font-weight: 700; margin: 8px 0 4px; }
.tz-page__desc { color: var(--tz-muted); margin: 0; }
.tz-two-col { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
.tz-card-box { background: var(--tz-surface); border: 1px solid var(--tz-border); border-radius: 16px; padding: 20px; }
.tz-card-box + .tz-card-box { margin-top: 16px; }
.tz-card-box__title { font-size: 15px; font-weight: 700; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.tz-prose { font-size: 14px; line-height: 1.75; color: var(--tz-text-2); }
.tz-prose h2 { font-size: 20px; margin: 1.6em 0 .6em; color: var(--tz-text); }
.tz-prose h3 { font-size: 16px; margin: 1.4em 0 .5em; color: var(--tz-text); }
.tz-prose a { color: var(--tz-primary-text); text-decoration: underline; }
.tz-prose ul, .tz-prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.tz-prose img { border-radius: 12px; }
.tz-prose blockquote { margin: 1em 0; padding: 12px 16px; border-left: 3px solid var(--tz-primary); background: var(--tz-surface-2); border-radius: 0 10px 10px 0; font-style: italic; }
.tz-prose details { background: var(--tz-surface); border: 1px solid var(--tz-border); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.tz-prose summary { cursor: pointer; font-weight: 500; color: var(--tz-text); }
.tz-toc { background: var(--tz-surface-2); border: 1px solid var(--tz-border); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-size: 13px; }
.tz-toc ol { padding-left: 1.2em; }
.tz-toc a { color: var(--tz-muted); }
.tz-toc a:hover { color: var(--tz-primary-text); }

/* auth */
.tz-auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--tz-header-h) - 87px); }
.tz-auth__art { position: relative; overflow: hidden; background: #0b1622; }
.tz-auth__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.tz-auth__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 17, 28, 0) 50%, var(--tz-bg)), linear-gradient(0deg, rgba(7, 17, 28, .8), transparent 50%); }
.tz-auth__quote { position: absolute; left: 40px; bottom: 40px; right: 40px; z-index: 2; color: #fff; }
.tz-auth__quote h2 { font-family: var(--tz-font-display); font-size: 40px; line-height: 1.1; text-shadow: 0 0 14px rgba(115, 178, 255, .85); }
.tz-auth__quote p { color: #dfe5f0; font-size: 14px; margin-top: 10px; }
.tz-auth__form { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.tz-auth__box { width: 100%; max-width: 420px; }
.tz-auth__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--tz-purple); border: 1px solid var(--tz-primary); margin-bottom: 18px; font-size: 26px; }
.tz-auth__title { font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.tz-auth__sub { color: var(--tz-muted); margin-bottom: 24px; }
.tz-auth__row { display: flex; justify-content: space-between; align-items: center; margin: -4px 0 18px; font-size: 12.5px; }
.tz-auth__row a { color: var(--tz-primary-text); }
.tz-auth__or { display: flex; align-items: center; gap: 12px; color: var(--tz-subtle); font-size: 12px; margin: 20px 0; }
.tz-auth__or::before, .tz-auth__or::after { content: ""; flex: 1; height: 1px; background: var(--tz-border); }
.tz-social-login { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tz-social-login a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 12px; border: 1px solid var(--tz-border); background: var(--tz-surface); font-size: 13px; font-weight: 500; }
.tz-social-login a:hover { border-color: var(--tz-primary); color: var(--tz-text); }
.tz-auth__foot { text-align: center; margin-top: 22px; color: var(--tz-muted); font-size: 13px; }
.tz-auth__foot a { color: var(--tz-primary-text); font-weight: 500; }
.tz-otp { display: flex; gap: 10px; justify-content: space-between; margin-bottom: 8px; }
.tz-otp input { width: 52px; height: 58px; border-radius: 12px; border: 1px solid var(--tz-input-border); background: var(--tz-input); text-align: center; font-size: 22px; font-weight: 700; color: var(--tz-text); }
.tz-otp input:focus { outline: 0; border: 2px solid var(--tz-primary); }
.tz-steps { display: flex; gap: 6px; margin-bottom: 20px; }
.tz-steps span { flex: 1; height: 4px; border-radius: 2px; background: var(--tz-track); }
.tz-steps span.is-done { background: var(--tz-primary); }
.tz-pass-meter { display: flex; gap: 4px; margin-top: 8px; }
.tz-pass-meter span { flex: 1; height: 4px; border-radius: 2px; background: var(--tz-track); }
.tz-pass-meter[data-level="1"] span:nth-child(-n+1) { background: var(--tz-danger); }
.tz-pass-meter[data-level="2"] span:nth-child(-n+2) { background: var(--tz-warning); }
.tz-pass-meter[data-level="3"] span:nth-child(-n+3) { background: #7bd88f; }
.tz-pass-meter[data-level="4"] span { background: var(--tz-success); }
.tz-success { text-align: center; }
.tz-success__icon { width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(61, 220, 132, .14); border: 2px solid var(--tz-success); font-size: 40px; color: var(--tz-success); }

/* account */
.tz-account { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; }
.tz-account__nav { position: sticky; top: calc(var(--tz-header-h) + 16px); align-self: start; }
.tz-profile-card { background: var(--tz-surface); border: 1px solid var(--tz-border); border-radius: 16px; overflow: hidden; margin-bottom: 12px; }
.tz-profile-card__cover { height: 70px; background: linear-gradient(135deg, #49344f, #1a3a5a) center / cover; }
.tz-profile-card__body { padding: 0 16px 16px; margin-top: -30px; text-align: center; }
.tz-profile-card__avatar { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--tz-primary); margin: 0 auto 8px; object-fit: cover; background: var(--tz-surface); }
.tz-profile-card__name { font-weight: 700; font-size: 15px; }
.tz-profile-card__title { font-size: 11.5px; color: var(--tz-muted); margin: 2px 0 10px; }
.tz-level { font-size: 11px; color: var(--tz-muted); }
.tz-level__bar { height: 6px; border-radius: 3px; background: var(--tz-track); margin: 6px 0 4px; overflow: hidden; }
.tz-level__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--tz-primary), #b58cff); border-radius: 3px; }
.tz-level__row { display: flex; justify-content: space-between; }
.tz-account__menu { list-style: none; background: var(--tz-surface); border: 1px solid var(--tz-border); border-radius: 16px; padding: 8px; }
.tz-account__menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 13px; color: var(--tz-text); }
.tz-account__menu a:hover { background: var(--tz-surface-2); color: var(--tz-text); }
.tz-account__menu a.is-active { background: var(--tz-purple); color: var(--tz-primary-text); font-weight: 500; }
.tz-account__menu .tz-count { margin-left: auto; min-width: 20px; height: 18px; padding: 0 6px; border-radius: 999px; background: var(--tz-danger); color: #fff; font-size: 10px; display: grid; place-items: center; }
.tz-account__menu a.is-danger { color: var(--tz-danger); }
.tz-subtabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; padding: 4px; border-radius: 12px; background: var(--tz-surface); border: 1px solid var(--tz-border); width: max-content; max-width: 100%; overflow-x: auto; }
.tz-subtabs a, .tz-subtabs button { padding: 8px 14px; border-radius: 9px; font-size: 12.5px; color: var(--tz-muted); white-space: nowrap; }
.tz-subtabs .is-active { background: var(--tz-primary); color: var(--tz-ink); font-weight: 700; }
.tz-toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.tz-toolbar .tz-input { min-height: 38px; max-width: 280px; font-size: 12.5px; }
.tz-toolbar .tz-select { height: 38px; min-height: 38px; width: auto; font-size: 12px; }
.tz-lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.tz-lib-item { position: relative; }
.tz-lib-item__remove { position: absolute; top: 6px; right: 6px; z-index: 3; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font-size: 16px; display: grid; place-items: center; opacity: 0; transition: opacity .15s; }
.tz-lib-item:hover .tz-lib-item__remove, .tz-lib-item__remove:focus-visible { opacity: 1; }
.tz-lib-item__progress { height: 4px; background: var(--tz-track); }
.tz-lib-item__progress span { display: block; height: 100%; background: var(--tz-primary); }
.tz-history { display: flex; flex-direction: column; gap: 10px; }
.tz-progress { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 11px; }
.tz-progress__bar { flex: 1; max-width: 160px; height: 6px; border-radius: 3px; background: #22304a; overflow: hidden; }
[data-theme="light"] .tz-progress__bar { background: var(--tz-track); }
.tz-progress__bar span { display: block; height: 100%; background: var(--tz-primary); border-radius: 3px; }
.tz-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 16px; }
.tz-stat { background: var(--tz-surface); border: 1px solid var(--tz-border); border-radius: 14px; padding: 14px; }
.tz-stat b { display: block; font-size: 22px; }
.tz-stat span { font-size: 12px; color: var(--tz-muted); }
.tz-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tz-badge-card { text-align: center; padding: 18px 12px; border-radius: 14px; background: var(--tz-surface); border: 1px solid var(--tz-border); }
.tz-badge-card__icon { font-size: 34px; width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(255, 143, 199, .25), transparent 70%); }
.tz-badge-card.is-locked { opacity: .45; }
.tz-badge-card.is-locked .tz-badge-card__icon { filter: grayscale(1); }
.tz-badge-card__name { font-weight: 700; font-size: 13px; }
.tz-badge-card__desc { font-size: 11px; color: var(--tz-muted); margin-top: 4px; }
.tz-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.tz-genre-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.tz-genre-picker label { cursor: pointer; }
.tz-genre-picker input { position: absolute; opacity: 0; }
.tz-genre-picker .tz-chip { height: 32px; padding: 0 14px; border-radius: 999px; font-size: 12px; }
.tz-genre-picker input:checked + .tz-chip { background: var(--tz-purple); border-color: var(--tz-primary); color: var(--tz-primary-text); }
.tz-accents { display: flex; gap: 10px; }
.tz-accents label { cursor: pointer; }
.tz-accents input { position: absolute; opacity: 0; }
.tz-accents span { display: block; width: 30px; height: 30px; border-radius: 50%; border: 3px solid transparent; box-shadow: 0 0 0 1px var(--tz-border); }
.tz-accents input:checked + span { border-color: var(--tz-surface); box-shadow: 0 0 0 2px var(--tz-text); }
.tz-setting-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--tz-border); }
.tz-setting-row:last-child { border-bottom: 0; }
.tz-setting-row__label b { display: block; font-size: 13px; font-weight: 500; }
.tz-setting-row__label span { font-size: 11.5px; color: var(--tz-muted); }
.tz-devices { list-style: none; }
.tz-devices li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--tz-border); font-size: 12.5px; }
.tz-devices li span { color: var(--tz-muted); font-size: 11.5px; display: block; }
.tz-devices .tz-tag { margin-left: auto; font-size: 11px; color: var(--tz-success); }
.tz-danger-zone { border-color: rgba(255, 90, 110, .5); }
.tz-notify-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tz-notify-list li a { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--tz-surface); border: 1px solid var(--tz-border); }
.tz-notify-list li.is-unread a { border-color: rgba(255, 143, 199, .5); background: linear-gradient(90deg, rgba(255, 143, 199, .07), var(--tz-surface)); }
.tz-notify-list__ico { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.tz-notify-list__text { font-size: 13px; }
.tz-notify-list__time { display: block; font-size: 11px; color: var(--tz-subtle); margin-top: 3px; }

/* BXH */
.tz-ranktable { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 12.5px; }
.tz-ranktable th { text-align: left; font-size: 11px; color: var(--tz-subtle); font-weight: 500; padding: 0 12px; }
.tz-ranktable td { background: var(--tz-surface); border-block: 1px solid var(--tz-border); padding: 8px 12px; }
.tz-ranktable td:first-child { border-left: 1px solid var(--tz-border); border-radius: 12px 0 0 12px; width: 50px; text-align: center; font-weight: 700; color: var(--tz-muted); }
.tz-ranktable td:last-child { border-right: 1px solid var(--tz-border); border-radius: 0 12px 12px 0; }
.tz-ranktable__comic { display: flex; align-items: center; gap: 12px; }
.tz-ranktable__comic img:not(.tz-icon) { width: 40px; height: 52px; border-radius: 6px; object-fit: cover; }
.tz-trend { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; }
.tz-trend.is-up { color: var(--tz-success); }
.tz-trend.is-down { color: var(--tz-danger); }
.tz-trend.is-same { color: var(--tz-subtle); }
.tz-period { display: flex; gap: 6px; flex-wrap: wrap; }

/* updates list */
.tz-updates { display: flex; flex-direction: column; gap: 10px; }
.tz-update { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; background: var(--tz-surface); border: 1px solid var(--tz-border); }
.tz-update img:not(.tz-icon) { width: 72px; height: 96px; border-radius: 8px; object-fit: cover; }
.tz-update__title { font-size: 14px; font-weight: 700; }
.tz-update__chapters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tz-update__chapters a { display: inline-flex; gap: 6px; align-items: center; height: 26px; padding: 0 10px; border-radius: 8px; background: var(--tz-surface-2); border: 1px solid var(--tz-border); font-size: 11.5px; }
.tz-update__chapters a:hover { border-color: var(--tz-primary); }
.tz-update__time { font-size: 11px; color: var(--tz-subtle); white-space: nowrap; }
.tz-day { font-size: 13px; font-weight: 700; color: var(--tz-muted); margin: 18px 0 4px; }

/* news */
.tz-news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tz-news-card { position: relative; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--tz-surface); border: 1px solid var(--tz-border); }
.tz-news-card:hover { border-color: rgba(255, 143, 199, .5); }
.tz-news-card img:not(.tz-icon) { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tz-news-card__body { padding: 14px 16px 16px; }
.tz-news-card__cat { font-size: 11px; color: var(--tz-primary-text); font-weight: 700; text-transform: uppercase; }
.tz-news-card__title { font-size: 15px; line-height: 1.4; margin: 6px 0; }
.tz-news-card__excerpt { font-size: 12.5px; color: var(--tz-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.tz-news-card__meta { font-size: 11px; color: var(--tz-subtle); margin-top: 10px; }
.tz-news-card--lead { grid-column: span 2; }
.tz-article { max-width: 760px; }
.tz-article__cover { border-radius: 18px; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; margin: 16px 0 20px; }
.tz-article__meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--tz-subtle); font-size: 12px; }

/* collections */
.tz-coll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.tz-coll { position: relative; display: block; border-radius: 18px; overflow: hidden; background: var(--tz-surface); border: 1px solid var(--tz-border); padding: 16px; }
.tz-coll:hover { border-color: rgba(255, 143, 199, .5); color: var(--tz-text); }
.tz-coll__stack { display: flex; margin-bottom: 14px; height: 120px; }
.tz-coll__stack img:not(.tz-icon) { width: 86px; height: 120px; border-radius: 10px; object-fit: cover; border: 2px solid var(--tz-surface); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.tz-coll__stack img:not(.tz-icon) + img { margin-left: -30px; }
.tz-coll__title { font-size: 16px; font-weight: 700; }
.tz-coll__meta { font-size: 12px; color: var(--tz-muted); margin-top: 4px; }

/* author */
.tz-author-hero { display: flex; gap: 20px; align-items: center; padding: 24px; border-radius: 18px; background: linear-gradient(135deg, rgba(73, 52, 79, .8), rgba(13, 24, 37, .9)); border: 1px solid var(--tz-border); margin-bottom: 18px; }
[data-theme="light"] .tz-author-hero { background: linear-gradient(135deg, #fbe6f2, #fff); }
.tz-author-hero img:not(.tz-icon) { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 3px solid var(--tz-primary); }
.tz-author-hero h1 { font-size: 28px; }
.tz-author-hero p { color: var(--tz-muted); margin: 6px 0 0; }
.tz-author-hero__stats { display: flex; gap: 24px; margin-top: 12px; }
.tz-author-hero__stats b { display: block; font-size: 18px; }
.tz-author-hero__stats span { font-size: 11.5px; color: var(--tz-muted); }

/* fanart */
.tz-masonry { columns: 4 220px; column-gap: 14px; }
.tz-fanart { break-inside: avoid; margin-bottom: 14px; position: relative; border-radius: 14px; overflow: hidden; background: var(--tz-surface); border: 1px solid var(--tz-border); display: block; }
.tz-fanart img:not(.tz-icon) { width: 100%; }
.tz-fanart__info { padding: 10px 12px; }
.tz-fanart__title { font-size: 13px; font-weight: 700; }
.tz-fanart__by { font-size: 11px; color: var(--tz-muted); display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.tz-fanart__by img:not(.tz-icon) { width: 18px; height: 18px; border-radius: 50%; }

/* FAQ / contact */
.tz-faq-search { max-width: 520px; margin: 0 auto 24px; }
.tz-faq details { background: var(--tz-surface); border: 1px solid var(--tz-border); border-radius: 14px; padding: 0; margin-bottom: 10px; overflow: hidden; }
.tz-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 10px; padding: 16px 18px; cursor: pointer; font-weight: 500; font-size: 14px; }
.tz-faq summary::after { content: "+"; color: var(--tz-primary); font-size: 20px; line-height: 1; }
.tz-faq details[open] summary::after { content: "–"; }
.tz-faq details > div { padding: 0 18px 16px; color: var(--tz-muted); font-size: 13px; line-height: 1.7; }
.tz-contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tz-contact-list li { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--tz-surface-2); border: 1px solid var(--tz-border); font-size: 13px; }
.tz-contact-list b { display: block; }
.tz-contact-list span { color: var(--tz-muted); font-size: 12px; }

/* comments full page */
.tz-comment-form { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.tz-comment-form img:not(.tz-icon) { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.tz-comment-form form, .comment-respond { flex: 1; }
.comment-respond .comment-reply-title { font-size: 14px; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.comment-respond .comment-reply-title small a { font-size: 11px; color: var(--tz-primary-text); }
.comment-respond textarea { width: 100%; min-height: 90px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--tz-input-border); background: var(--tz-input); color: var(--tz-text); font-size: 13px; resize: vertical; }
.comment-respond textarea:focus { outline: 0; border: 2px solid var(--tz-primary); }
.comment-respond .form-submit { margin: 10px 0 0; display: flex; justify-content: flex-end; }
.comment-respond .comment-notes, .comment-respond .logged-in-as { font-size: 11px; color: var(--tz-subtle); margin-bottom: 8px; }
.tz-comment-list { display: flex; flex-direction: column; gap: 10px; }
.tz-comment-list .tz-comment { padding: 12px 14px 12px 12px; gap: 12px; }
.tz-comment-list .tz-comment__avatar { width: 42px; height: 42px; }
.tz-comment-list .tz-comment__meta { font-size: 12.5px; }
.tz-comment-list .tz-comment__time, .tz-comment-list .tz-comment__chapter { font-size: 11px; }
.tz-comment-list .tz-comment__text { font-size: 13px; }
.tz-comment-list .tz-comment__actions, .tz-comment-list .tz-comment__like, .tz-comment-list .tz-comment__reply { font-size: 11.5px; }
.tz-comment-list .tz-comment__level { font-size: 10px; }

/* profile (public) */
.tz-member-hero { position: relative; border-radius: 18px; overflow: hidden; background: var(--tz-surface); border: 1px solid var(--tz-border); margin-bottom: 18px; }
.tz-member-hero__cover { height: 160px; background: linear-gradient(135deg, #49344f, #123456) center / cover; }
.tz-member-hero__body { display: flex; gap: 18px; align-items: flex-end; padding: 0 22px 18px; margin-top: -46px; flex-wrap: wrap; }
.tz-member-hero__body img:not(.tz-icon) { width: 100px; height: 100px; border-radius: 50%; border: 4px solid var(--tz-surface); object-fit: cover; }
.tz-member-hero__name { font-size: 22px; font-weight: 700; }
.tz-member-hero__stats { display: flex; gap: 22px; margin-left: auto; text-align: center; }
.tz-member-hero__stats b { display: block; font-size: 18px; }
.tz-member-hero__stats span { font-size: 11.5px; color: var(--tz-muted); }

/* ---------- 19. Responsive ---------- */
@media (max-width: 1100px) {
	.tz-detail-quote { display: none; }
}
@media (max-width: 960px) {
	.tz-filter__grid, .tz-filter__grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
	.tz-reader-page { grid-template-columns: minmax(0, 1fr) 272px; }
	.tz-reader-page > .tz-rside--left { display: none; }
}

@media (max-width: 1023px) {
	:root { --tz-gutter: 20px; }
	.tz-header__inner { padding-inline: 20px; gap: 16px; }
	.tz-nav__list { gap: 16px; }
	.tz-search__form { width: 170px; }
	.tz-home__body { grid-template-columns: minmax(0, 1fr); }
	.tz-home__side { display: grid; grid-template-columns: repeat(2, 1fr); }
	.tz-join, .tz-support, .tz-box, .tz-news-box { height: auto; min-height: 108px; }
	.tz-join { min-height: 200px; }
	.tz-explore { grid-template-columns: minmax(0, 1fr); }
	.tz-explore__side { padding-top: 0; display: grid; grid-template-columns: 1fr 1fr; }
	.tz-grid--explore { --cols: 4; }
	.tz-detail { grid-template-columns: minmax(0, 1fr); padding: 0 20px; }
	.tz-detail-hero__inner { grid-template-columns: 180px minmax(0, 1fr); padding: 30px 20px 14px; }
	.tz-detail-cover { width: 180px; height: 260px; }
	.tz-rating-box { grid-column: 2; grid-row: auto; margin: 0 0 10px; }
	.tz-detail__side { display: grid; grid-template-columns: 1fr 1fr; }
	.tz-reader-page { grid-template-columns: minmax(0, 1fr); padding-inline: 16px; }
	.tz-reader-page > .tz-rside--right { display: grid; grid-template-columns: 1fr 1fr; }
	.tz-reader-page > .tz-rside--right .tz-settings { display: none; }
	.tz-account { grid-template-columns: minmax(0, 1fr); }
	.tz-account__nav { position: static; }
	.tz-two-col { grid-template-columns: minmax(0, 1fr); }
	.tz-auth { grid-template-columns: minmax(0, 1fr); }
	.tz-auth__art { display: none; }
}

/* Tablet ≈ 768 */
@media (max-width: 860px) {
	.tz-nav { display: none; }
	.tz-header__inner .tz-menu-toggle { display: grid; }
	.tz-grid--6 { --cols: 4; }
	.tz-grid--5 { --cols: 4; }
	.tz-grid--5 > :nth-child(n+5) { display: none; }
	.tz-hero__quote { display: none; }
	.tz-related { grid-template-columns: repeat(3, 1fr); }
	.tz-related > :nth-child(n+4) { display: none; }
	.tz-comments-row { grid-template-columns: minmax(0, 1fr); }
	.tz-chrow { grid-template-columns: 75px minmax(0, 1fr) 90px 60px 60px; }
	.tz-chrow__read { display: none; }
}
.tz-menu-toggle { display: none; }

/* ---------- Mobile 390 ---------- */
@media (max-width: 767px) {
	:root { --tz-gutter: 16px; --tz-header-h: 52px; }
	body { font-size: 13px; padding-bottom: calc(var(--tz-tabbar-h) + env(safe-area-inset-bottom)); }
	.tz-header { display: none; }
	.tz-appbar {
		position: sticky; top: 0; z-index: 50;
		display: flex; align-items: center; gap: 6px;
		height: 52px; padding: 0 12px 0 10px;
		background: var(--tz-bg);
	}
	.admin-bar .tz-appbar { top: 46px; }
	.tz-appbar.is-scrolled { border-bottom: 1px solid var(--tz-border); }
	.tz-appbar__menu { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--tz-text); }
	.tz-appbar .tz-logo { margin-left: 6px; }
	.tz-appbar__actions { margin-left: auto; display: flex; gap: 6px; align-items: center; }
	.tz-appbar__btn { width: 34px; height: 34px; border-radius: 17px; display: grid; place-items: center; position: relative; color: var(--tz-text); }
	.tz-appbar__btn--fill { background: var(--tz-surface); }
	.tz-appbar__avatar img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--tz-primary); object-fit: cover; }
	.tz-appbar__login { --h: 30px; font-size: 11px; }
	.tz-msearch { position: fixed; inset: 0; z-index: 95; background: var(--tz-bg); padding: 10px 12px; display: none; flex-direction: column; }
	.tz-msearch.is-open { display: flex; }
	.tz-msearch .tz-search__form { width: 100%; height: 42px; }
	.tz-msearch .tz-suggest { position: static; width: 100%; max-height: none; box-shadow: none; margin-top: 10px; border: 0; background: transparent; }
	.tz-msearch__head { display: flex; gap: 10px; align-items: center; }
	.tz-msearch__head .tz-search { flex: 1; }

	.tz-tabbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		display: grid; grid-template-columns: repeat(5, 1fr);
		height: calc(var(--tz-tabbar-h) + env(safe-area-inset-bottom));
		padding-bottom: env(safe-area-inset-bottom);
		background: rgba(11, 22, 34, .97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
		border-top: 1px solid var(--tz-border);
		transition: transform .25s;
	}
	[data-theme="light"] .tz-tabbar { background: rgba(255, 255, 255, .96); }
	.tz-tabbar a {
		display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; padding-top: 9px;
		font-size: 10px; font-weight: 500; color: var(--tz-subtle);
	}
	.tz-tabbar a.is-active { color: var(--tz-primary); font-weight: 700; }
	.tz-tabbar .tz-mask { --s: 22px; }

	.tz-dropdown { position: fixed; top: 56px; left: 12px; right: 12px; min-width: 0; width: auto; }

	/* home mobile */
	.tz-hero { height: auto; margin: 12px var(--tz-gutter) 0; overflow: visible; background: transparent; }
	.tz-hero__viewport { border-radius: 18px; overflow: hidden; border: 1px solid var(--tz-border); }
	.tz-hero__slide { height: 212px; }
	.tz-hero__bg { left: -60px; width: calc(100% + 120px); }
	.tz-hero__slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #2b4fd8; mix-blend-mode: color; opacity: .7; pointer-events: none; }
	.tz-hero__shade { width: 100%; max-width: none; opacity: 1; z-index: 1; background: linear-gradient(90deg, rgba(7, 11, 34, .92) 0%, rgba(10, 16, 51, .4) 60%, rgba(10, 16, 51, 0) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(7, 17, 28, .85) 100%); }
	.tz-hero__inner { position: relative; z-index: 2; padding: 17px 17px 0; }
	.tz-hero__content { gap: 4px; width: 100%; }
	.tz-hero__label { height: 22px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .25); }
	.tz-hero__titleart { display: none; }
	.tz-hero__title { display: block !important; font-size: 40px; line-height: 48px; margin-top: -2px; text-shadow: 0 0 12px rgba(115, 178, 255, .9); }
	.tz-hero__tagline { font-size: 12px; line-height: 14px; color: #dfe5f0; font-weight: 400; text-transform: none; }
	.tz-hero__tagline .tz-hero__chap { display: inline; }
	.tz-hero__desc { display: none; }
	.tz-hero__actions { position: absolute; left: 17px; top: 155px; gap: 8px; }
	.tz-hero__actions .tz-btn--primary { --h: 38px; width: 138px; font-size: 14px; border-radius: 12px; box-shadow: var(--tz-glow); }
	.tz-hero__actions .tz-btn--outline { display: none; }
	.tz-hero__save { display: grid !important; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .5); }
	.tz-hero__pager { display: none; }
	.tz-hero__cover-art { display: none; }
	.tz-hero__dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
	.tz-hero__dots button { width: 6px; height: 6px; border-radius: 3px; background: var(--tz-track); transition: width .2s, background .2s; }
	.tz-hero__dots button[aria-current="true"] { width: 22px; background: var(--tz-primary); }

	.tz-genres { height: auto; margin: 16px calc(-1 * var(--tz-gutter)) 0; padding: 0 var(--tz-gutter); gap: 8px; background: transparent; border: 0; border-radius: 0; }
	.tz-genres__item { flex: none; flex-direction: row; gap: 6px; height: 32px; padding: 0 14px; border-radius: 18px; background: var(--tz-surface); border: 1px solid var(--tz-border); font-size: 12px; font-weight: 500; }
	.tz-genres__item { padding: 0 14px 0 5px; color: var(--tz-text); }
	.tz-genres .tz-gico { width: 24px; height: 24px; border-radius: 50%; }
	.tz-genres .tz-gico svg { width: 14px; height: 14px; }
	.tz-genres__item.is-active::after { display: none; }
	.tz-genres__item:hover .tz-gico { transform: none; }
	.tz-genres__item.is-active { background: var(--tz-purple); border-color: var(--tz-primary); font-weight: 700; }
	.tz-genres__item--more { display: none; }

	.tz-continue { display: block; margin-top: 20px; }
	.tz-continue__card { display: flex; gap: 12px; align-items: center; position: relative; padding: 7px 10px 7px 7px; border-radius: 14px; background: var(--tz-surface); border: 1px solid var(--tz-border); }
	.tz-continue__card img:not(.tz-icon) { width: 60px; height: 80px; border-radius: 8px; object-fit: cover; }
	.tz-continue__body { flex: 1; min-width: 0; }
	.tz-continue__title { font-size: 14px; font-weight: 700; }
	.tz-continue__chap { font-size: 11.5px; color: var(--tz-muted); margin-top: 3px; }
	.tz-continue .tz-progress { margin-top: 12px; }
	.tz-continue .tz-progress__bar { max-width: 150px; }
	.tz-continue .tz-btn { --h: 32px; width: 80px; font-size: 12px; border-radius: 10px; box-shadow: var(--tz-glow); position: relative; z-index: 2; }

	.tz-home__body { margin-top: 20px; }
	.tz-home__main > * + * { margin-top: 24px; }
	.tz-heading { margin-bottom: 10px; }
	.tz-heading__art { width: 20px; height: 20px; }
	.tz-heading__title, .tz-heading--sm .tz-heading__title { font-size: 16px; line-height: 20px; }
	.tz-viewall { font-size: 12px; }

	/* mobile cards: no box, shaded cover */
	.tz-scroller { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--tz-gutter); margin-inline: calc(-1 * var(--tz-gutter)); padding: 0 var(--tz-gutter) 4px; scrollbar-width: none; }
	.tz-scroller::-webkit-scrollbar { display: none; }
	.tz-scroller > .tz-card { flex: 0 0 126px; scroll-snap-align: start; }
	.tz-card { background: transparent; border: 0; border-radius: 0; overflow: visible; }
	.tz-card:hover { transform: none; box-shadow: none; }
	.tz-card__cover { border-radius: 10px; border: 1px solid var(--tz-border); --ar: 126 / 176 !important; }
	.tz-card__cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .55)); pointer-events: none; }
	.tz-card__badge { left: 5px; top: 5px; }
	.tz-card__badge .tz-badge { min-width: 0; height: 17px; padding: 0 7px; font-size: 9px; border-radius: 5px; }
	.tz-card__fav { opacity: 1; width: 24px; height: 24px; right: 6px; bottom: 6px; background: rgba(0, 0, 0, .45); color: #fff; }
	.tz-card__info { padding: 7px 0 0; gap: 4px; }
	.tz-card__title, .tz-card--compact .tz-card__title, .tz-card--explore .tz-card__title { font-size: 12.5px; line-height: 15px; font-weight: 500; font-stretch: 100%; -webkit-line-clamp: 1; min-height: 0; }
	.tz-card__genres, .tz-card--explore .tz-card__genres { font-size: 10.5px; line-height: 12px; font-stretch: 100%; white-space: nowrap; }
	.tz-card__stats { justify-content: flex-start; gap: 10px; color: var(--tz-muted); font-size: 10px; margin-top: 2px; }
	.tz-card--compact .tz-card__cover, .tz-card--tall .tz-card__cover, .tz-card--explore .tz-card__cover { --ar: 112 / 154 !important; }
	.tz-card--explore .tz-card__heart { display: none; }
	.tz-card--explore .tz-card__head { min-height: 0; }
	.tz-grid--6, .tz-grid--5, .tz-grid--explore { --cols: 3; gap: 14px 11px; }
	.tz-grid--5 > :nth-child(n+5), .tz-grid--6 > :nth-child(n) { display: flex; }
	.tz-grid--4 { --cols: 4; gap: 8px; }
	.tz-card--mini .tz-card__cover { --ar: 72 / 96 !important; }
	.tz-card--mini .tz-card__title { font-size: 10px; }
	.tz-card--mini .tz-card__genres { font-size: 9px; }
	.tz-card--mini .tz-card__stats { font-size: 9px; }

	.tz-promo { height: 118px; border-radius: 14px; }
	.tz-promo__copy { left: 18px; top: 12px; width: 180px; }
	.tz-promo__title { font-size: 24px; line-height: 27px; width: 168px; }
	.tz-promo__text, .tz-promo__note { display: none; }
	.tz-promo .tz-btn { --h: 27px; width: auto; margin-top: 8px; padding: 0 14px; font-size: 11px; border-radius: 999px; }

	.tz-home__side { display: block; }
	.tz-home__side > :not(.tz-box--rank) { display: none; }
	.tz-box--rank { background: transparent; border: 0; padding: 0; }
	.tz-box--rank .tz-tabs-mini { display: none; }
	.tz-box--rank .tz-rank-list { background: var(--tz-surface); border: 1px solid var(--tz-border); border-radius: 16px; padding: 11px 13px 11px 11px; gap: 0; }
	.tz-box--rank .tz-rank-item { height: 51px; gap: 10px; border-bottom: 0; position: relative; }
	.tz-box--rank .tz-rank-item + .tz-rank-item::before { content: ""; position: absolute; left: 34px; right: 0; top: 0; height: 1px; background: var(--tz-border); }
	.tz-box--rank .tz-rank-item__pos { width: 24px; height: 24px; font-size: 12px; background: #3a4558; color: var(--tz-text); }
	.tz-box--rank .tz-rank-item:nth-child(1) .tz-rank-item__pos { background: #ffb4d8; color: var(--tz-ink); }
	.tz-box--rank .tz-rank-item:nth-child(2) .tz-rank-item__pos { background: #c9cfdb; color: var(--tz-ink); }
	.tz-box--rank .tz-rank-item:nth-child(3) .tz-rank-item__pos { background: #f8c3a0; color: var(--tz-ink); }
	.tz-box--rank .tz-rank-item__thumb { width: 38px; height: 46px; border-radius: 6px; }
	.tz-box--rank .tz-rank-item__title { font-size: 13px; }
	.tz-box--rank .tz-rank-item__views { font-size: 10.5px; display: flex; gap: 10px; }
	.tz-box--rank .tz-rank-item__trend { display: inline-flex !important; }
	.tz-box--rank .tz-box__head .tz-heading__title { font-size: 16px; }


	.tz-footer { margin-top: 28px; background: #0a0f1a; border-top: 1px solid var(--tz-border); }
	[data-theme="light"] .tz-footer { background: var(--tz-surface); }
	.tz-footer__inner { flex-direction: column; gap: 0; padding: 24px 16px 28px; text-align: center; min-height: 0; }
	.tz-footer__brand { width: auto; display: flex; flex-direction: column; align-items: center; }
	.tz-footer__brand .tz-logo { align-items: center; }
	.tz-footer__brand .tz-logo__name { font-size: 22px; }
	.tz-footer__brand .tz-logo__tag { font-size: 12px; margin-top: 8px; }
	.tz-footer__links { justify-content: center; font-size: 12px; margin-top: 16px; }
	.tz-footer__links li + li::before { content: ""; width: 1px; height: 11px; background: var(--tz-border); align-self: center; }
	.tz-social { margin-top: 16px; gap: 14px; }
	.tz-social a { width: 33.6px; height: 33.6px; border-width: 1px; }
	.tz-social img { width: 19.6px; height: 19.6px; }
	.tz-footer__right { margin: 18px 0 0; align-items: center; }
	.tz-footer__slogan { font-size: 12.5px; }
	.tz-footer__copy { color: var(--tz-subtle); margin-top: 4px; }

	/* other pages mobile */
	.tz-pagehero { height: 150px; }
	.tz-pagehero__inner { padding: 16px; }
	.tz-pagehero__title { font-size: 36px; }
	.tz-pagehero__desc { font-size: 12px; }
	.tz-explore { padding-inline: 16px; }
	.tz-filter { display: none; }
	.tz-explore__side { display: none; }
	.tz-filter-fab { display: inline-flex !important; }
	.tz-listhead__tools .tz-sort .tz-select { width: 130px; }
	.tz-sheet-filter .tz-filter { display: block; border: 0; background: transparent; padding: 0; }
	.tz-sheet-filter .tz-filter__head { display: none; }
	.tz-sheet-filter .tz-filter__body { padding: 0; background: transparent; }
	.tz-sheet-filter .tz-filter__grid, .tz-sheet-filter .tz-filter__grid--2 { grid-template-columns: 1fr 1fr; gap: 12px; }
	.tz-sheet-filter .tz-filter__foot { margin: 20px 0 0; }
	.tz-sheet-filter .tz-filter__count { display: none; }

	.tz-detail-hero { min-height: 0; }
	.tz-detail-hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 16px 10px; }
	.tz-detail-cover { width: 150px; height: 214px; }
	.tz-detail-title { font-size: 34px; margin-top: 12px; }
	.tz-detail-genres { justify-content: center; }
	.tz-detail-info { grid-template-columns: 1fr 1fr; text-align: left; width: 100%; gap: 8px; }
	.tz-detail-info__row, .tz-detail-info__row.is-right { grid-template-columns: 16px 64px 1fr; }
	.tz-detail-actions { width: 100%; }
	.tz-detail-actions .tz-btn--read { flex: 1; width: auto; --h: 40px; }
	.tz-detail-actions .tz-btn--dark { width: 44px; --h: 40px; padding: 0; }
	.tz-detail-actions .tz-btn--dark span:not(.tz-mask) { display: none; }
	.tz-rating-box { order: -1; flex-direction: row; width: auto; height: 36px; padding: 0 14px; gap: 10px; margin: 8px 0; }
	.tz-rating-box .tz-stars { display: none; }
	.tz-rating-box__score { font-size: 16px; }
	.tz-synopsis { text-align: left; width: 100%; font-size: 11.5px; line-height: 1.55; padding-right: 10px; padding-bottom: 24px; }
	.tz-statsbar { width: 100%; grid-template-columns: repeat(2, 1fr); height: auto; }
	.tz-statsbar__item { padding: 10px; }
	.tz-statsbar__item:nth-child(3)::before { display: none; }
	.tz-detail { padding: 0 16px; }
	.tz-tab { min-width: 0 !important; font-size: 12px; }
	.tz-intro { grid-template-columns: minmax(0, 1fr); }
	.tz-intro__art { display: none; }
	.tz-intro__text { font-size: 13px; }
	.tz-quote-box { font-size: 12px; padding-bottom: 24px; }
	.tz-chapters__tools { margin-left: 0; width: 100%; flex-wrap: wrap; }
	.tz-chapters__search { flex: 1; }
	.tz-panel__head { flex-wrap: wrap; }
	.tz-chrow { grid-template-columns: 70px minmax(0, 1fr) 70px; height: 40px; font-size: 12px; }
	.tz-chrow__views, .tz-chrow__status, .tz-chrow__read { display: none; }
	.tz-chrow__time { font-size: 10.5px; }
	.tz-chrow__cta { display: none; }
	.tz-chlist-more { width: 100%; height: 36px; font-size: 12px; }
	.tz-comment__text { font-size: 12px; }
	.tz-comment__meta, .tz-comment__actions, .tz-comment__like, .tz-comment__reply { font-size: 11px; }
	.tz-related { grid-template-columns: repeat(2, 1fr); }
	.tz-related > :nth-child(n+4) { display: block; }
	.tz-detail__side { grid-template-columns: minmax(0, 1fr); }
	.tz-quick-info li, .tz-genre-rank__title, .tz-rec__title { font-size: 12px; }

	.tz-reader-page { padding: 0; display: block; }
	.tz-reader-page .tz-breadcrumb, .tz-rside { display: none !important; }
	.tz-rtoolbar { position: sticky; top: 52px; z-index: 30; margin: 0; padding: 8px 12px; height: auto; background: var(--tz-glass); backdrop-filter: blur(8px); gap: 8px; }
	.tz-rtoolbar__back span, .tz-rtoolbar__prev span, .tz-rtoolbar__next span, .tz-rtools-wrap { display: none; }
	.tz-chselect { flex: 1; }
	.tz-chselect select { width: 100%; }
	.tz-rbody { border-radius: 0; border-inline: 0; padding: 0; }
	.tz-rfoot { grid-template-columns: 44px minmax(0, 1fr) 44px; padding: 12px; gap: 12px; }
	.tz-rfoot .tz-rtoolbar__btn span { display: none; }
	.tz-mreader-bar { display: flex !important; }
	.tz-rpagebadge { display: block; }
	.tz-totop { bottom: calc(var(--tz-tabbar-h) + 16px); right: 14px; }

	.tz-account__menu { display: flex; overflow-x: auto; gap: 4px; padding: 6px; scrollbar-width: none; }
	.tz-account__menu li { flex: none; }
	.tz-account__menu a { padding: 8px 12px; font-size: 12px; white-space: nowrap; }
	.tz-profile-card { display: none; }
	.tz-form-grid { grid-template-columns: minmax(0, 1fr); }
	.tz-lib-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.tz-ranktable thead, .tz-ranktable .tz-hide-sm { display: none; }
	.tz-update { grid-template-columns: 56px minmax(0, 1fr); }
	.tz-update img:not(.tz-icon) { width: 56px; height: 76px; }
	.tz-update__time { grid-column: 2; }
	.tz-news-card--lead { grid-column: auto; }
	.tz-author-hero { flex-direction: column; text-align: center; }
	.tz-author-hero__stats { justify-content: center; }
	.tz-masonry { columns: 2; column-gap: 10px; }
	.tz-otp input { width: 46px; height: 52px; }
	.tz-cookie { flex-direction: column; align-items: stretch; bottom: calc(var(--tz-tabbar-h) + 10px); }
	.tz-toasts { bottom: calc(var(--tz-tabbar-h) + 16px); }
	.tz-error-page__code { font-size: 96px; }

	/* modal → bottom sheet */
	.tz-modal { margin: auto 0 0; max-width: 100vw; }
	.tz-modal__box { border-radius: 22px 22px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
	.tz-modal__box::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--tz-track); margin: -6px auto 14px; }
	.tz-modal[open] .tz-modal__box { animation: tz-sheet .22s ease-out; }
	@keyframes tz-sheet { from { transform: translateY(100%); } }
}
.tz-filter-fab { display: none; }
.tz-mreader-bar { display: none; }
.tz-hero__save { display: none !important; }
.tz-rank-item__trend { display: none !important; }

@media (max-width: 380px) {
	.tz-grid--6, .tz-grid--5, .tz-grid--explore { gap: 12px 8px; }
	.tz-hero__title { font-size: 34px; }
}

/* print */
@media print {
	.tz-header, .tz-appbar, .tz-tabbar, .tz-footer, .tz-cookie, .tz-totop { display: none !important; }
	body { background: #fff; color: #000; }
}

/* ---------- 20. Late additions ---------- */
.tz-hero__chap { display: none; }
@media (max-width: 767px) {
	.tz-hero__tagline { text-transform: lowercase; }
	.tz-hero__tagline::first-letter { text-transform: uppercase; }
	.tz-hero__chap { display: inline; text-transform: none; }
	.tz-grid[data-scroller="1"] { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--tz-gutter); margin-inline: calc(-1 * var(--tz-gutter)); padding: 0 var(--tz-gutter) 4px; scrollbar-width: none; }
	.tz-grid[data-scroller="1"]::-webkit-scrollbar { display: none; }
	.tz-grid[data-scroller="1"] > .tz-card { flex: 0 0 126px; scroll-snap-align: start; display: flex !important; }
	.tz-box--rank .tz-viewall { display: inline-flex !important; }
}
.tz-detail-crumb { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.tz-rtoolbar .tz-mreader-bar { margin-left: auto; }

/* ---------- 21. Page hero extras, search, ranking, account, auth ---------- */
.tz-pagehero__sub { font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 6px; }
.tz-pagehero__quote {
	position: absolute; right: 40px; top: 50%; transform: translateY(-50%) rotate(-6deg);
	width: 150px; margin: 0; font-family: var(--tz-font-script); font-size: 15px; line-height: 1.3; color: #fff; text-align: right;
	text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.tz-pagehero--search { height: auto; min-height: 236px; }
.tz-pagehero--search .tz-pagehero__inner { height: auto; padding-bottom: 22px; }
.tz-pagehero--search .tz-pagehero__bg { object-position: center top; }
.tz-pagehero--search::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7, 17, 28, 0) 55%, var(--tz-bg) 100%); }
.tz-pagehero--search .tz-pagehero__inner { z-index: 1; }
.tz-bigsearch {
	display: flex; align-items: center; gap: 12px; max-width: 740px; height: 46px; margin-top: 12px;
	padding: 0 6px 0 16px; border-radius: 12px; border: 1px solid var(--tz-primary);
	background: rgba(11, 22, 34, .85); backdrop-filter: blur(6px);
}
.tz-bigsearch input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: 0; color: #fff; font-size: 12.5px; }
.tz-bigsearch input::placeholder { color: var(--tz-muted); }
.tz-bigsearch .tz-btn { --h: 34px; width: 140px; font-size: 12px; border-radius: 10px; }
.tz-popular-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; font-size: 10.5px; color: #dfe5f0; }
.tz-popular-tags .tz-chip { height: 22px; border-radius: 999px; background: rgba(13, 24, 37, .8); color: #dfe5f0; font-size: 10px; }

.tz-period-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; margin-top: 10px; border-radius: 12px; background: var(--tz-surface); border: 1px solid var(--tz-border); }
.tz-period-tabs a { display: grid; place-items: center; height: 32px; border-radius: 9px; font-size: 12px; color: var(--tz-text); }
.tz-period-tabs a.is-active { background: var(--tz-primary); color: var(--tz-ink); font-weight: 700; box-shadow: var(--tz-glow); }
.tz-genres--rank { justify-content: flex-start; }
.tz-heading__note { font-size: 10.5px; color: var(--tz-muted); margin-left: 8px; }
.tz-top3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
.tz-top3__item {
	position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 10px 10px;
	border-radius: 14px; border: 1px solid var(--tz-border);
	background: linear-gradient(180deg, rgba(73, 52, 79, .55), var(--tz-surface) 55%);
}
.tz-top3__item--1 { border-color: rgba(255, 200, 107, .7); box-shadow: 0 0 24px rgba(255, 200, 107, .15); }
.tz-top3__item--2 { border-color: rgba(145, 217, 255, .6); }
.tz-top3__item--3 { border-color: rgba(255, 143, 199, .6); }
.tz-top3__medal {
	position: absolute; left: 50%; top: -14px; transform: translateX(-50%);
	width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
	font-size: 17px; font-weight: 800; font-variant-numeric: lining-nums; color: #3a2400;
	background: radial-gradient(circle at 35% 30%, #ffe6a8, #f3b23c 70%); box-shadow: 0 4px 12px rgba(243, 178, 60, .45);
}
.tz-top3__item--2 .tz-top3__medal { background: radial-gradient(circle at 35% 30%, #e6f6ff, #7cbfe6 70%); color: #0b2a44; box-shadow: 0 4px 12px rgba(124, 191, 230, .4); }
.tz-top3__item--3 .tz-top3__medal { background: radial-gradient(circle at 35% 30%, #ffe0d0, #e7895f 70%); color: #3b1405; box-shadow: 0 4px 12px rgba(231, 137, 95, .4); }
.tz-top3__head { display: flex; gap: 10px; }
.tz-top3__cover { width: 88px; height: 124px; border-radius: 8px; object-fit: cover; flex: none; }
.tz-top3__info { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.tz-top3__title { font-size: 13.5px; line-height: 1.3; }
.tz-top3__genres { display: flex; flex-wrap: wrap; gap: 4px; }
.tz-top3__genres .tz-chip { height: 19px; font-size: 9px; padding: 0 6px; }
.tz-top3__stats { display: flex; gap: 10px; }
.tz-top3__desc { font-size: 10px; line-height: 1.5; color: var(--tz-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tz-trend--pill { align-self: flex-start; padding: 2px 8px; border-radius: 6px; background: var(--tz-surface-2); border: 1px solid var(--tz-border); font-size: 10px; }
.tz-ranktable__comic span { font-weight: 500; }

/* account hero */
.tz-acchero { height: 206px; }
.tz-acchero--profile { height: 214px; }
.tz-acchero__hello { font-family: var(--tz-font-script); font-size: 22px; color: #fff; margin: 4px 0 -6px; }
.tz-acchero .tz-pagehero__title { font-size: 48px; }
.tz-acchero__user { display: flex; align-items: flex-end; gap: 16px; height: 100%; padding-bottom: 6px; }
.tz-acchero__avatar img { width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--tz-primary); object-fit: cover; box-shadow: 0 0 24px rgba(255, 143, 199, .35); }
.tz-acchero__name { font-size: 22px; color: #fff; display: flex; align-items: center; gap: 6px; }
.tz-acchero__level { display: flex; gap: 6px; margin: 6px 0 4px; }
.tz-acchero__level .tz-badge { height: 20px; font-size: 10px; }
.tz-acchero__bio { font-size: 11.5px; color: #dfe5f0; margin: 0; max-width: 460px; }
.tz-acchero__edit { margin-left: auto; margin-bottom: 8px; --h: 32px; }
.tz-acc-tabs .tz-account__menu { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; }
.tz-acc-tabs .tz-account__menu li { flex: 1 0 auto; }
.tz-acc-tabs .tz-account__menu a { justify-content: center; white-space: nowrap; }
.tz-acc-body { margin-top: 0; grid-template-columns: minmax(0, 1fr) 280px; }
.tz-profile-card__quote { margin: 12px 0 0; padding: 10px; border-radius: 10px; background: var(--tz-surface-2); border: 1px dashed var(--tz-border-2); font-family: var(--tz-font-script); font-size: 14px; line-height: 1.35; color: var(--tz-text-2); }
.tz-acc-body .tz-profile-card { display: block; }
.tz-stat--icon { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 10px; }
.tz-stat--icon b { font-size: 15px; }
.tz-stat--icon span:not(.tz-stat__ico) { font-size: 10.5px; grid-column: 2; }
.tz-stat__ico { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; }
.tz-minibadges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; }
.tz-minibadges div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tz-minibadges .tz-gico { width: 44px; height: 44px; border-radius: 12px; }
.tz-minibadges small { font-size: 9px; color: var(--tz-muted); line-height: 1.2; }
.tz-minibadges .is-locked { opacity: .4; filter: grayscale(1); }
.tz-lib-grid--continue { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.tz-lib-grid--continue .tz-card__info { gap: 5px; }
.tz-levelring { --p: 50; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--tz-primary) calc(var(--p) * 1%), var(--tz-track) 0); position: relative; flex: none; }
.tz-levelring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--tz-surface); }
.tz-levelring b { position: relative; font-size: 18px; }
.tz-linked { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tz-linked__item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--tz-surface-2); border: 1px solid var(--tz-border); font-size: 12.5px; }
.tz-linked__item .tz-btn, .tz-linked__ok { margin-left: auto; }
.tz-linked__ok { color: var(--tz-success); font-size: 11px; }
.tz-linked__ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; color: #fff; background: #ea4335; }
.tz-linked__ico--facebook { background: #1877f2; }
.tz-linked__ico--discord { background: #5865f2; }
.tz-profile-form .tz-opt button { font-size: 12px; }

/* auth extras */
.tz-auth { position: relative; }
.tz-auth__card { background: rgba(13, 24, 37, .92); border: 1px solid var(--tz-border-2); border-radius: 18px; padding: 26px 24px 22px; box-shadow: var(--tz-shadow); }
[data-theme="light"] .tz-auth__card { background: var(--tz-surface); }
.tz-auth__brand { display: flex; justify-content: center; margin-bottom: 18px; }
.tz-auth__brand .tz-logo { align-items: center; }
.tz-auth__title { text-align: center; font-family: var(--tz-font-display); font-size: 30px; }
.tz-auth__sub { text-align: center; font-size: 12.5px; }
.tz-auth__icon { margin-inline: auto; }
.tz-auth__perks { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; font-size: 10.5px; color: #dfe5f0; text-align: center; }
.tz-auth__perks span { display: block; font-size: 18px; margin-bottom: 4px; }
.tz-auth__community { display: flex; gap: 14px; align-items: flex-start; margin-top: 14px; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(73, 52, 79, .85), rgba(13, 24, 37, .9)); border: 1px solid var(--tz-border-2); font-size: 12px; color: var(--tz-muted); }
.tz-auth__community span { font-size: 26px; }
.tz-auth__community b { color: var(--tz-primary-text); font-size: 13px; }
.tz-auth__community p { margin: 4px 0 0; }
.tz-social-login__discord { background: #5865f2 !important; border-color: #5865f2 !important; color: #fff !important; }
.tz-steps { max-width: 220px; margin-inline: auto; }

@media (max-width: 1023px) {
	.tz-top3 { grid-template-columns: minmax(0, 1fr); }
	.tz-acc-body { grid-template-columns: minmax(0, 1fr); }
	.tz-linked { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.tz-pagehero__quote { display: none; }
	.tz-pagehero--search { height: auto; padding-bottom: 14px; }
	.tz-bigsearch .tz-btn { width: auto; padding: 0 14px; }
	.tz-acchero, .tz-acchero--profile { height: auto; min-height: 170px; }
	.tz-acchero .tz-pagehero__title { font-size: 34px; }
	.tz-acchero__user { flex-wrap: wrap; align-items: center; padding-top: 30px; }
	.tz-acchero__edit { margin-left: 0; }
	.tz-period-tabs a { font-size: 11px; }
	.tz-auth { display: block; }
	.tz-auth__form { padding: 16px; }
	.tz-auth__card { padding: 20px 16px; }
	.tz-auth__perks { grid-template-columns: repeat(2, 1fr); }
	.tz-acc-body .tz-profile-card { display: none; }
}

.tz-detail-head { grid-column: 2; grid-row: 1; }
.tz-detail__side .tz-panel__title { font-size: 14px; white-space: nowrap; }
@media (max-width: 1023px) { .tz-detail-head { grid-column: 2; } .tz-rating-box { grid-column: 2; grid-row: 2; margin: 0 0 10px; } }
@media (max-width: 767px) { .tz-rating-box { margin: 8px 0; } }
.tz-ranktable { border-spacing: 0 3px; font-size: 11px; }
.tz-ranktable td { padding: 3px 10px; }
.tz-ranktable__comic img:not(.tz-icon) { width: 30px; height: 22px; border-radius: 4px; }

/* ---------- 22. Auth page — composited over the Figma artwork (42:868) ---------- */
.tz-auth { position: relative; display: block; max-width: 1180px; margin-inline: auto; aspect-ratio: 1400 / 1892; min-height: 0; overflow: hidden; }
.tz-auth__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.tz-auth__quote { position: absolute; left: 3.7%; top: 51%; width: 46%; z-index: 2; color: #fff; }
.tz-auth__quote h2 { font-family: var(--tz-font-display); font-size: clamp(30px, 4.3vw, 50px); line-height: 1.12; text-shadow: 0 0 14px rgba(115, 178, 255, .85); }
.tz-auth__quote p { font-size: 13px; line-height: 1.6; color: #dfe5f0; margin: 14px 0 0; }
.tz-auth__perks { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 22px; font-size: 10.5px; line-height: 1.35; color: #dfe5f0; text-align: center; }
.tz-auth__perks li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 6px; }
.tz-auth__perks li + li { border-left: 1px solid rgba(255, 255, 255, .15); }
.tz-auth__perks .tz-mask { color: var(--tz-primary); }
.tz-auth__card {
	position: absolute; z-index: 2; left: 57.1%; top: 7.4%; width: 40.4%; height: 59%;
	display: flex; flex-direction: column; justify-content: center;
	padding: 0 3%; border-radius: 18px; background: #0b1622; border: 1px solid #22314a;
	box-shadow: none;
}
.tz-auth__card form { margin: 0; }
.tz-auth__card .tz-field { margin-bottom: 14px; }
.tz-auth__card .tz-input { min-height: 44px; }
.tz-auth__community {
	position: absolute; z-index: 2; left: 57.1%; top: 67.4%; width: 40.4%; height: 12.3%;
	display: flex; align-items: center; gap: 14px; padding: 0 18px;
	border-radius: 16px; background: linear-gradient(135deg, #2b1d38, #141c2c); border: 1px solid #3a2a4c; color: var(--tz-muted); font-size: 11px;
}
.tz-auth__community:hover { border-color: var(--tz-primary); color: var(--tz-muted); }
.tz-auth__community b { display: block; color: var(--tz-primary-text); font-size: 13px; margin-bottom: 6px; }
.tz-auth__community small { font-size: 10.5px; line-height: 1.5; display: block; }
.tz-auth__crown { width: 46px; height: 40px; flex: none; background: radial-gradient(circle at 50% 60%, rgba(255, 143, 199, .55), transparent 70%); border-radius: 50%; }
.tz-auth__crown::before { content: ""; display: block; width: 24px; height: 24px; margin: 8px auto; background: var(--tz-primary); -webkit-mask: var(--tz-crown) center / contain no-repeat; mask: var(--tz-crown) center / contain no-repeat; --tz-crown: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.56 3.27a.5.5 0 0 1 .88 0l2.95 5.6a1 1 0 0 0 1.52.29l4.27-3.66a.5.5 0 0 1 .8.52l-2.83 10.25a1 1 0 0 1-.96.73H5.81a1 1 0 0 1-.96-.73L2.02 6.02a.5.5 0 0 1 .8-.52l4.27 3.66a1 1 0 0 0 1.52-.3z'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E"); }
.tz-auth__community > .tz-icon { margin-left: auto; }
@media (max-width: 900px) {
	.tz-auth { aspect-ratio: auto; display: flex; flex-direction: column; gap: 14px; padding: 24px 16px; }
	.tz-auth__bg { opacity: .35; filter: blur(2px); }
	.tz-auth__quote { display: none; }
	.tz-auth__card, .tz-auth__community { position: relative; left: auto; top: auto; width: 100%; max-width: 460px; height: auto; margin-inline: auto; padding: 24px 18px; }
	.tz-auth__community { padding: 16px; }
}
.tz-auth__card .tz-social-login { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.tz-auth__card .tz-social-login a { height: 40px; }

/* ---------- 23. Line glyphs (tz_svg / tz_icon_tile) — thay emoji & ảnh PNG ---------- */
.tz-svg { display: inline-block; flex: none; vertical-align: -.18em; }
.tz-svg--hot { color: #ff7a59; }
.tz-svg--love, .tz-svg--accent { color: var(--tz-primary); }
.tz-svg--muted { color: var(--tz-muted); }
.tz-gico.tz-heading__art { width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; color: var(--tz-primary); }
.tz-gico.tz-heading__art svg { width: 20px; height: 20px; }
.tz-gico--sm { width: 28px; height: 28px; border-radius: 8px; }
.tz-gico--xl { width: 76px; height: 76px; border-radius: 22px; }
.tz-empty__art { font-size: 0; }
.tz-empty__art .tz-gico--xl { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent), 0 10px 30px color-mix(in srgb, var(--c) 18%, transparent); }
.tz-auth__icon, .tz-success__icon { font-size: 0; }
.tz-auth__icon { color: var(--tz-primary); }
.tz-success__icon { color: var(--tz-success); }
.tz-badge-card__icon { font-size: 0; background: none; }
.tz-badge-card__icon .tz-gico { width: 60px; height: 60px; border-radius: 50%; }
.tz-contact-list .tz-gico { width: 40px; height: 40px; border-radius: 12px; }
.tz-notify__item .tz-gico { margin-top: 1px; }
.tz-chrow__read { color: var(--tz-success); }
.tz-rate button { display: grid; place-items: center; }
.tz-rate button.is-on svg { fill: currentColor; }
.tz-toast b { display: grid; place-items: center; }
.tz-linked__ok { display: inline-flex; align-items: center; gap: 4px; }
.tz-trend-item .tz-svg, .tz-suggest__meta .tz-svg { color: var(--tz-muted); }
.tz-suggest__meta .tz-svg { color: var(--tz-star, #ffc86b); fill: currentColor; vertical-align: -.1em; }
@media (max-width: 767px) {
	.tz-gico.tz-heading__art svg { width: 18px; height: 18px; }
}

/* ---------- 24. Comic detail v2: one container, readable type, flat lists ---------- */
.tz-intro--solo { grid-template-columns: minmax(0, 1fr); }
.tz-detail-quote { display: none; }

@media (min-width: 768px) {
	/* Hero */
	.tz-detail-hero { min-height: 0; }
	.tz-detail-hero__shade {
		background:
			linear-gradient(90deg, rgba(7, 17, 28, .92) 0%, rgba(7, 17, 28, .7) 45%, rgba(7, 17, 28, .45) 100%),
			linear-gradient(180deg, rgba(7, 17, 28, 0) 55%, var(--tz-bg) 100%);
	}
	.tz-detail-cover {
		border-radius: 12px; border: 1px solid rgba(255, 255, 255, .08);
		box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .9);
	}
	.tz-detail-title { font-size: clamp(34px, 3.4vw, 46px); line-height: 1.12; margin: 0 0 6px; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
	.tz-detail-alt { font-size: 14px; color: var(--tz-muted); margin: 0 0 10px; }
	.tz-detail-genres { gap: 8px; margin-bottom: 18px; }
	.tz-detail-genres .tz-chip { height: 26px; padding: 0 12px; font-size: 12px; }
	.tz-detail-info { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 10px 32px; font-size: 13px; margin-bottom: 20px; max-width: 640px; }
	.tz-detail-info__row { grid-template-columns: 18px 76px minmax(0, 1fr); min-height: 18px; }
	.tz-detail-info__row.is-right { grid-template-columns: 18px 112px minmax(0, 1fr); min-height: 18px; }
	.tz-detail-info__label { color: var(--tz-muted); }
	.tz-detail-info__value { font-weight: 500; }
	.tz-detail-actions { gap: 10px; flex-wrap: wrap; }
	.tz-detail-actions .tz-btn { --h: 44px; border-radius: 10px; font-size: 14px; gap: 8px; }
	.tz-detail-actions .tz-btn--read { width: auto; padding: 0 26px; box-shadow: none; }
	.tz-detail-actions .tz-btn--dark { width: auto; padding: 0 18px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
	.tz-detail-actions .tz-btn--dark:hover { background: rgba(255, 255, 255, .1); }

	.tz-synopsis {
		margin-top: 20px; padding: 14px 16px 36px; min-height: 0;
		background: rgba(13, 24, 37, .72); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px;
		font-size: 13.5px; line-height: 1.65; color: #d7deea;
	}
	.tz-synopsis p { -webkit-line-clamp: 3; }
	.tz-synopsis__more { right: 16px; bottom: 10px; font-size: 12.5px; font-weight: 600; }
	.tz-statsbar {
		height: auto; margin-top: 12px; padding: 14px 0;
		background: rgba(13, 24, 37, .72); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px;
	}
	.tz-statsbar__item { gap: 12px; padding: 0 18px; }
	.tz-statsbar__item + .tz-statsbar__item::before { top: 4px; bottom: 4px; }
	.tz-statsbar__value { font-size: 15px; font-weight: 700; line-height: 1.25; }
	.tz-statsbar__label { font-size: 12px; color: var(--tz-muted); max-width: none; margin-top: 2px; }

	.tz-rating-box {
		width: 140px; height: auto; padding: 14px 12px 12px; gap: 4px; border-radius: 12px;
		background: rgba(13, 24, 37, .78); border-color: rgba(255, 255, 255, .1);
	}
	.tz-rating-box__score { font-size: 30px; line-height: 1.1; gap: 8px; }
	.tz-rating-box__count { font-size: 12px; color: var(--tz-muted); }

	/* Body */
	.tz-detail__main { gap: 16px; }
	.tz-detail__side { gap: 16px; }
	.tz-tabs { justify-content: flex-start; gap: 28px; border-bottom: 1px solid var(--tz-border); }
	.tz-tab, .tz-tab[aria-selected="true"] {
		position: relative; height: 48px; min-width: 0; padding: 0 2px; gap: 8px;
		border: 0; border-radius: 0; background: none; font-size: 14px; color: var(--tz-muted);
	}
	.tz-tab:hover { color: var(--tz-text); }
	.tz-tab[aria-selected="true"] { color: var(--tz-text); font-weight: 600; }
	.tz-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--tz-primary); }
	.tz-tab[aria-selected="true"] .tz-mask { color: var(--tz-primary); }

	.tz-panel { padding: 20px 22px; border-radius: 14px; }
	.tz-panel__head { min-height: 32px; margin-bottom: 14px; }
	.tz-panel__title { font-size: 17px; gap: 10px; white-space: nowrap; }
	.tz-detail .tz-viewall { font-size: 12.5px; }
	.tz-intro { grid-template-columns: minmax(0, 1fr) 180px; gap: 20px; }
	.tz-intro--solo { grid-template-columns: minmax(0, 1fr); }
	.tz-intro__text { font-size: 14px; line-height: 1.75; max-width: 72ch; }
	.tz-intro__text p { margin: 0 0 12px; }
	.tz-intro__art { width: 180px; height: auto; aspect-ratio: 27 / 38; margin-top: 0; }
	.tz-quote-box { max-width: none; padding: 14px 16px 30px; font-size: 13.5px; }
	.tz-quote-box cite { font-size: 12px; right: 16px; bottom: 10px; }

	/* Chapter list: flat rows with one hairline between them */
	.tz-chapters__search { width: 200px; }
	.tz-chapters__search input { height: 36px; border-radius: 10px; font-size: 13px; padding-left: 32px; }
	.tz-chapters__search img { top: 12px; left: 12px; }
	.tz-chapters__tools .tz-select { width: 130px; height: 36px; min-height: 36px; border-radius: 10px; font-size: 13px; }
	.tz-chapters__tools .tz-btn { --h: 36px; border-radius: 10px; font-size: 13px; padding: 0 14px; box-shadow: none; }
	.tz-detail .tz-chlist { gap: 0; }
	.tz-detail .tz-chlist li + li { border-top: 1px solid var(--tz-border); }
	.tz-detail .tz-chrow {
		grid-template-columns: 112px minmax(0, 1fr) 128px 84px 22px 88px;
		height: 48px; padding: 0 12px; border: 0; border-radius: 8px; background: none;
		font-size: 13.5px; color: var(--tz-text-2, var(--tz-muted));
		transition: background .15s;
	}
	.tz-detail .tz-chrow:hover { background: var(--tz-surface-2); color: var(--tz-text); }
	.tz-detail .tz-chrow__num { font-weight: 600; }
	.tz-detail .tz-chrow__name { gap: 10px; }
	.tz-detail .tz-chrow__new { height: 18px; padding: 0 7px; border-radius: 5px; font-size: 10px; background: color-mix(in srgb, var(--tz-success) 18%, transparent); color: var(--tz-success); }
	.tz-detail .tz-chrow__time, .tz-detail .tz-chrow__views { font-size: 12.5px; gap: 6px; }
	.tz-detail .tz-chrow__status { font-size: 12px; }
	.tz-detail .tz-chrow__cta { width: auto; height: auto; margin: 0; background: none; white-space: nowrap; color: var(--tz-primary-text); font-size: 12.5px; font-weight: 600; justify-content: flex-end; }
	.tz-chlist-more { width: 100%; height: 44px; margin-top: 14px; border-radius: 10px; font-size: 13.5px; font-weight: 600; background: transparent; border-color: color-mix(in srgb, var(--tz-primary) 55%, transparent); }
	.tz-chlist-more:hover { background: color-mix(in srgb, var(--tz-primary) 10%, transparent); }

	/* Comments preview */
	.tz-comment { padding: 12px; gap: 12px; border-radius: 12px; }
	.tz-comment__meta { font-size: 12.5px; }
	.tz-comment__level, .tz-comment__time, .tz-comment__chapter { font-size: 11px; }
	.tz-comment__text { font-size: 13.5px; }
	.tz-comment__actions, .tz-comment__like, .tz-comment__reply { font-size: 12px; }
	.tz-detail .tz-suggest__empty { padding: 18px 0 6px; font-size: 13.5px; }

	/* Related: portrait covers */
	.tz-related { gap: 14px; }
	.tz-related__card { border-radius: 10px; background: none; border: 0; overflow: visible; }
	.tz-related__card img:not(.tz-icon) { height: auto; aspect-ratio: 27 / 38; border-radius: 10px; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
	.tz-related__card:hover img:not(.tz-icon) { transform: translateY(-3px); }
	.tz-related__card .tz-related__body { padding: 10px 2px 0; }
	.tz-related__title { font-size: 13.5px; font-weight: 600; }
	.tz-related__genres { font-size: 12px; margin: 4px 0; }
	.tz-related__stats { font-size: 12px; }

	/* Sidebar */
	.tz-detail__side .tz-panel { padding: 18px; }
	.tz-detail__side .tz-panel__title { font-size: 15px; }
	.tz-quick-info { gap: 0; }
	.tz-quick-info li { grid-template-columns: 24px 110px minmax(0, 1fr); height: 40px; padding: 0 2px; background: none; border: 0; border-radius: 0; font-size: 13px; }
	.tz-quick-info li + li { border-top: 1px solid var(--tz-border); }
	.tz-quick-info__value { font-weight: 500; }
	.tz-genre-rank { gap: 4px; }
	.tz-genre-rank li a { grid-template-columns: 26px 44px minmax(0, 1fr) auto; height: 64px; padding: 0 6px; gap: 0 10px; background: none; border: 0; border-radius: 10px; transition: background .15s; }
	.tz-genre-rank li a:hover { background: var(--tz-surface-2); }
	.tz-genre-rank__pos { width: auto; height: auto; border: 0; font-size: 15px; font-weight: 600; color: var(--tz-muted); }
	.tz-genre-rank li:first-child .tz-genre-rank__pos { color: var(--tz-primary-text); }
	.tz-genre-rank img:not(.tz-icon) { width: 44px; height: 60px; border-radius: 6px; }
	.tz-genre-rank__title { font-size: 13.5px; font-weight: 600; }
	.tz-genre-rank__views { font-size: 12px; }
	.tz-genre-rank__score { font-size: 12.5px; font-weight: 600; }
	.tz-rec-list { gap: 4px; }
	.tz-rec { height: auto; padding: 8px 6px; gap: 12px; background: none; border: 0; border-radius: 10px; transition: background .15s; }
	.tz-rec:hover { background: var(--tz-surface-2); }
	.tz-rec img:not(.tz-icon) { width: 44px; height: 60px; border-radius: 6px; }
	.tz-rec__title { font-size: 13.5px; font-weight: 600; max-width: 170px; }
	.tz-rec__genres { font-size: 12px; margin: 3px 0; }
	.tz-rec__stats { font-size: 12px; }
	.tz-rec__fav { margin-right: 6px; }
	.tz-side-promo--detail { height: 110px; border-radius: 14px; }
	.tz-side-promo--detail .tz-side-promo__title { font-size: 15px; }
}

@media (min-width: 1024px) {
	/* One container for hero + body, aligned with the rest of the site (.tz-container). */
	.tz-detail-hero__inner {
		grid-template-columns: 220px minmax(0, 1fr); gap: 0 36px;
		max-width: var(--tz-container); padding: 44px var(--tz-gutter) 36px;
	}
	.tz-detail-cover { width: 220px; height: auto; aspect-ratio: 27 / 38; align-self: start; }
	.tz-detail-head { grid-column: 2; grid-row: 1; }
	.tz-detail-title, .tz-detail-alt, .tz-detail-genres { padding-right: 168px; }
	.tz-rating-box { position: absolute; top: 44px; right: var(--tz-gutter); margin: 0; grid-column: auto; grid-row: auto; }
	.tz-detail {
		grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; justify-content: stretch;
		max-width: var(--tz-container); margin: 8px auto 0; padding: 0 var(--tz-gutter);
	}
}
@media (min-width: 1024px) and (max-width: 1279px) {
	.tz-detail { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
	.tz-chapters__search { width: 150px; }
	.tz-chapters__tools .tz-select { width: 112px; }
	.tz-detail .tz-chrow { grid-template-columns: 96px minmax(0, 1fr) 112px 64px 76px; }
	.tz-detail .tz-chrow__read { display: none; }
}

@media (max-width: 767px) {
	/* Detail v2 (mobile) */
	.tz-detail-hero__inner { position: relative; }
	.tz-rating-box { position: absolute; top: 20px; right: 16px; order: 0; margin: 0; height: 34px; padding: 0 12px; border-radius: 10px; background: rgba(13, 24, 37, .78); }
	.tz-rating-box__count { display: none; }
	.tz-detail-info__row, .tz-detail-info__row.is-right { grid-template-columns: 16px max-content minmax(0, 1fr); column-gap: 6px; }
	.tz-tabs { justify-content: flex-start; gap: 22px; border-bottom: 1px solid var(--tz-border); margin-inline: -16px; padding-inline: 16px; }
	.tz-tab, .tz-tab[aria-selected="true"] { flex: none; position: relative; height: 44px; min-width: 0; padding: 0; gap: 6px; border: 0; border-radius: 0; background: none; font-size: 13.5px; color: var(--tz-muted); }
	.tz-tab[aria-selected="true"] { color: var(--tz-text); font-weight: 600; }
	.tz-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--tz-primary); }
	.tz-chrow { grid-template-columns: 76px minmax(0, 1fr) auto; column-gap: 10px; }
	.tz-chrow__time { white-space: nowrap; }
}

/* Comic detail panels (hash tabs) */
.tz-detail__panel:not(.tz-panel) { display: flex; flex-direction: column; gap: 16px; }
.tz-detail__panel[hidden] { display: none !important; }

/* Breathing room between the page banner and the listing (filter box was touching the banner). */
.tz-explore { margin-top: 16px; }
.tz-filter__toggle { font-size: 12.5px; }

/* Listing pages (Khám phá, thể loại, tìm kiếm, BXH…): same container as header-aligned content and detail page. */
@media (min-width: 1024px) {
	.tz-pagehero__inner { max-width: var(--tz-container); padding-inline: var(--tz-gutter); }
	.tz-explore { grid-template-columns: minmax(0, 1fr) 300px; gap: 16px 24px; max-width: var(--tz-container); padding-inline: var(--tz-gutter); margin-top: 24px; }
	.tz-explore__side { padding-top: 0; gap: 16px; }
}

/* Sidebar: Từ khóa thịnh hành + Top xu hướng */
.tz-explore__side .tz-side-box { padding: 18px; border-radius: 14px; }
.tz-explore__side .tz-side-box .tz-heading { padding: 0; margin-bottom: 12px; }
.tz-explore__side .tz-side-box .tz-heading__title { font-size: 15px; }
.tz-explore__side .tz-side-box .tz-viewall { font-size: 12px; }
.tz-kwlist, .tz-toplist { gap: 2px; padding: 0; counter-reset: none; }
.tz-kwlist .tz-trend-item, .tz-toplist .tz-trend-item {
	gap: 12px; height: auto; padding: 8px 8px; margin: 0 -8px; border-radius: 10px;
	color: var(--tz-text); transition: background .15s;
}
.tz-kwlist .tz-trend-item:hover, .tz-toplist .tz-trend-item:hover { background: var(--tz-surface-2); color: var(--tz-text); }
.tz-kwlist .tz-trend-item__pos, .tz-toplist .tz-trend-item__pos {
	width: 20px; height: auto; border: 0; border-radius: 0; background: none !important; color: var(--tz-muted) !important;
	font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: center;
}
.tz-kwlist li:nth-child(-n+3) .tz-trend-item__pos, .tz-toplist li:nth-child(-n+3) .tz-trend-item__pos { color: var(--tz-primary-text) !important; }
.tz-kwlist .tz-trend-item__title { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 500; }
.tz-kwlist li:nth-child(-n+3) .tz-trend-item__title { font-weight: 700; }
.tz-kwlist .tz-trend-item__meta { flex: none; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--tz-primary) 12%, transparent); color: var(--tz-primary-text); }
.tz-kwlist .tz-trend-item:hover .tz-trend-item__title, .tz-toplist .tz-trend-item:hover .tz-trend-item__title { color: var(--tz-primary-text); }
.tz-toplist .tz-trend-item img:not(.tz-icon) { width: 44px; height: 60px; border-radius: 6px; }
.tz-toplist__body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.tz-toplist .tz-trend-item__title { font-size: 13.5px; font-weight: 600; }
.tz-toplist .tz-trend-item__meta { font-size: 12px; }
.tz-toplist__score { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tz-toplist .tz-toplist__score .tz-svg { color: var(--tz-star); fill: currentColor; }

/* ---------- 25. Reader v2: immersive single column ---------- */
.tz-reader-v2 { display: block; max-width: none; margin: 0; padding: 0 0 40px; }
.tz-reader-v2 .tz-reader { max-width: 840px; margin: 0 auto; padding: 0 16px; }

/* Sticky top bar */
.tz-rhead {
	position: sticky; top: var(--tz-header-h); z-index: 45;
	background: color-mix(in srgb, var(--tz-bg) 86%, transparent);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--tz-border);
	transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}
.tz-rhead__inner {
	display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px;
	max-width: var(--tz-container); height: 60px; margin: 0 auto; padding: 0 var(--tz-gutter);
}
.tz-rhead__comic { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--tz-text); }
.tz-rhead__comic:hover { color: var(--tz-text); }
.tz-rhead__back { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; flex: none; transition: background .15s; }
.tz-rhead__comic:hover .tz-rhead__back { background: var(--tz-surface-2); }
.tz-rhead__cover { flex: none; width: 30px; height: 42px; border-radius: 5px; overflow: hidden; background: var(--tz-surface-2); }
.tz-rhead__cover img { width: 100%; height: 100%; object-fit: cover; }
.tz-rhead__text { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.tz-rhead__text b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-rhead__text small { font-size: 12px; color: var(--tz-muted); }
.tz-rhead__nav { display: flex; align-items: center; gap: 8px; }
.tz-rhead .tz-chselect select { width: 240px; height: 38px; border-radius: 10px; font-size: 13px; padding-left: 14px; }
.tz-rhead__tools { display: flex; justify-content: flex-end; gap: 4px; }
.tz-rbtn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	height: 38px; min-width: 38px; padding: 0 12px; border-radius: 10px;
	background: var(--tz-surface-2); border: 1px solid var(--tz-border); color: var(--tz-text);
	font-size: 13px; font-weight: 600; transition: background .15s, border-color .15s, color .15s;
}
.tz-rbtn:hover { border-color: color-mix(in srgb, var(--tz-primary) 60%, transparent); color: var(--tz-text); }
.tz-rbtn--primary { background: var(--tz-primary); border-color: var(--tz-primary); color: var(--tz-ink); }
.tz-rbtn--primary:hover { background: var(--tz-primary-hover, var(--tz-primary)); color: var(--tz-ink); }
.tz-rbtn--icon { padding: 0; width: 38px; background: transparent; border-color: transparent; color: var(--tz-muted); }
.tz-rbtn--icon:hover { background: var(--tz-surface-2); border-color: transparent; color: var(--tz-text); }
.tz-rbtn--icon[aria-pressed="true"], .tz-rbtn--icon.is-on { color: var(--tz-primary); }
.tz-rbtn--icon[aria-pressed="true"] svg, .tz-rbtn--icon.is-on svg { fill: currentColor; }
.tz-rbtn.is-disabled { opacity: .35; pointer-events: none; }
.tz-rbtn__badge {
	position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
	display: grid; place-items: center; font-size: 9.5px; font-weight: 700; background: var(--tz-primary); color: var(--tz-ink);
}

/* Auto-hide while reading */
body.tz-immersed .tz-header, body.tz-immersed .tz-appbar { transform: translateY(-110%); }
body.tz-immersed .tz-tabbar { transform: translateY(110%); }
body.tz-immersed .tz-rhead { transform: translateY(calc(-100% - var(--tz-header-h))); }
.tz-header, .tz-appbar, .tz-tabbar { transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.tz-rbar-top { z-index: 60; }

/* Chapter intro */
.tz-rintro { padding: 28px 0 20px; text-align: center; }
.tz-rintro .tz-breadcrumb { justify-content: center; margin: 0 0 10px; }
.tz-rintro__title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.tz-rintro__meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; font-size: 13px; color: var(--tz-muted); }
.tz-rintro__meta a { color: var(--tz-primary-text); font-weight: 600; }

/* Pages */
.tz-reader-v2 .tz-rbody { background: none; border: 0; border-radius: 0; padding: 0; }
.tz-reader-v2 .tz-rpages { background: transparent; border-radius: 6px; overflow: hidden; }
.tz-reader-v2 .tz-rpages img { cursor: pointer; }
.tz-reader-v2 .tz-rpages[data-mode="page"] img, .tz-reader-v2 .tz-rpages[data-mode="horizontal"] img { cursor: default; }
.tz-chapter-sep { margin: 32px 0; padding: 14px; border-radius: 12px; text-align: center; font-weight: 700; background: var(--tz-surface); border: 1px solid var(--tz-border); }

/* End-of-chapter card */
.tz-rend {
	margin: 36px 0 20px; padding: 28px 24px 22px; border-radius: 16px; text-align: center;
	background: var(--tz-surface); border: 1px solid var(--tz-border);
}
.tz-rend__eyebrow { margin: 0; font-size: 13px; color: var(--tz-muted); }
.tz-rend__title { margin: 4px 0 20px; font-size: 20px; font-weight: 700; }
.tz-rend__nav { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; max-width: 560px; margin: 0 auto; }
.tz-rend__nav .tz-btn { --h: 56px; border-radius: 12px; font-size: 14px; gap: 8px; }
.tz-rend__prev { padding: 0 18px; }
.tz-rend__prev.is-disabled { opacity: .35; pointer-events: none; }
.tz-rend__next { justify-content: space-between; padding: 0 20px; text-align: left; box-shadow: none; }
.tz-rend__next span { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.tz-rend__next small { font-size: 11.5px; font-weight: 500; opacity: .75; }
.tz-rend__next b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-rend__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--tz-border); }
.tz-rend__actions > * { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--tz-muted); transition: color .15s; }
.tz-rend__actions > *:hover, .tz-rend__actions [aria-pressed="true"] { color: var(--tz-primary-text); }
.tz-rcomments { margin-top: 16px; padding: 20px 22px; border-radius: 16px; }

/* Settings: right-side drawer on tablet/desktop */
@media (min-width: 768px) {
	#tz-reader-sheet {
		margin: 0 0 0 auto; width: 380px; max-width: 100vw; height: 100dvh; max-height: 100dvh;
	}
	#tz-reader-sheet .tz-modal__box { height: 100%; overflow-y: auto; border-radius: 18px 0 0 18px; border-right: 0; padding: 22px 22px 28px; }
	#tz-reader-sheet[open] .tz-modal__box { animation: tz-drawer .28s cubic-bezier(.16, 1, .3, 1); }
	@keyframes tz-drawer { from { transform: translateX(100%); } }
}

@media (max-width: 1023px) {
	.tz-rhead__inner { grid-template-columns: minmax(0, 1fr) auto; }
	.tz-rhead__nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; padding-bottom: 10px; }
	.tz-rhead__inner { height: auto; padding-top: 10px; row-gap: 10px; }
}
@media (max-width: 767px) {
	.tz-rhead { top: var(--tz-header-h); }
	.tz-rhead__inner { padding: 8px 12px 0; gap: 8px; }
	.tz-rhead__cover, .tz-rhead__fs { display: none; }
	.tz-rhead__back { width: 28px; }
	.tz-rhead__nav { padding-bottom: 8px; }
	.tz-rhead .tz-chselect { flex: 1; min-width: 0; }
	.tz-rhead .tz-chselect select { width: 100%; }
	.tz-rhead__nav .tz-rbtn--primary span { display: none; }
	.tz-reader-v2 .tz-reader { padding: 0; }
	.tz-rintro { padding: 18px 16px 14px; }
	.tz-reader-v2 .tz-rpages { border-radius: 0; }
	.tz-rend { margin: 24px 12px 16px; padding: 22px 16px 18px; }
	.tz-rend__nav { grid-template-columns: minmax(0, 1fr); }
	.tz-rend__prev { order: 2; }
	.tz-rcomments { margin: 0 12px; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.tz-rhead, .tz-header, .tz-appbar, .tz-tabbar { transition: none; }
}

/* ---------- 26. Reader v3: chapter hero, floating dock, chapter drawer, recommendations ---------- */
html { overflow-x: clip; }

/* Chapter hero: full-bleed blurred cover, content in the reading column */
.tz-rhero { position: relative; margin: 0 calc(50% - 50vw) 28px; padding: 26px 0 30px; overflow: hidden; isolation: isolate; }
.tz-rhero__bg {
	position: absolute; inset: -40px; z-index: -2; background: center 30% / cover no-repeat;
	filter: blur(42px) saturate(1.35) brightness(.55); transform: scale(1.1);
}
.tz-rhero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, color-mix(in srgb, var(--tz-bg) 35%, transparent) 0%, color-mix(in srgb, var(--tz-bg) 55%, transparent) 55%, var(--tz-bg) 100%);
}
.tz-rhero__inner { max-width: 840px; margin: 0 auto; padding: 0 16px; }
.tz-rhero .tz-breadcrumb { margin: 0 0 18px; }
.tz-rhero__row { display: flex; gap: 22px; align-items: flex-end; }
.tz-rhero__cover {
	flex: none; width: 120px; aspect-ratio: 27 / 38; border-radius: 12px; overflow: hidden;
	box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .1);
	transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
.tz-rhero__cover:hover { transform: translateY(-3px); }
.tz-rhero__cover img { width: 100%; height: 100%; object-fit: cover; }
.tz-rhero__body { min-width: 0; padding-bottom: 2px; }
.tz-rhero__comic { display: inline-block; font-size: 14px; font-weight: 600; color: var(--tz-primary-text); margin-bottom: 4px; }
.tz-rhero__title { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; line-height: 1.2; letter-spacing: -.015em; color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .4); }
.tz-rhero__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 16px; font-size: 13px; color: #d6deea; }
.tz-rhero__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.tz-rhero__meta .tz-svg { opacity: .75; }
.tz-rhero__rating { font-weight: 700; color: #fff; }
.tz-rhero__rating .tz-svg { color: var(--tz-star); fill: currentColor; opacity: 1; }
.tz-rhero__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tz-rhero__actions .tz-btn { --h: 40px; padding: 0 16px; gap: 8px; font-size: 13px; border-radius: 10px; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(6px); }
.tz-rhero__actions .tz-btn:hover { background: rgba(255, 255, 255, .14); }
.tz-rhero__actions .tz-btn.is-active, .tz-rhero__actions .tz-btn[aria-pressed="true"] { border-color: var(--tz-primary); color: var(--tz-primary); }
[data-theme="light"] .tz-rhero__title { color: var(--tz-text); text-shadow: none; }
[data-theme="light"] .tz-rhero__meta { color: var(--tz-muted); }
[data-theme="light"] .tz-rhero__rating { color: var(--tz-text); }
[data-theme="light"] .tz-rhero__actions .tz-btn { background: var(--tz-surface); border-color: var(--tz-border); color: var(--tz-text); }
[data-theme="light"] .tz-rhero__bg { filter: blur(42px) saturate(1.2) brightness(1.1); opacity: .5; }

/* Page column polish */
.tz-reader-v2 .tz-rpages { border-radius: 10px; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9); }

/* Floating dock (desktop) */
.tz-rdock {
	position: fixed; z-index: 40; top: 50%; left: calc(50% + 420px + 20px); transform: translateY(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px;
	border-radius: 999px; background: color-mix(in srgb, var(--tz-surface) 88%, transparent);
	border: 1px solid var(--tz-border); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8);
	transition: opacity .3s, transform .3s cubic-bezier(.16, 1, .3, 1);
}
body.tz-immersed .tz-rdock { opacity: .35; }
.tz-rdock:hover { opacity: 1 !important; }
.tz-rdock__ring { position: relative; width: 44px; height: 44px; display: grid; place-items: center; }
.tz-rdock__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.tz-rdock__ring circle { fill: none; stroke: var(--tz-track); stroke-width: 3; }
.tz-rdock__ring .tz-rdock__fill { stroke: var(--tz-primary); stroke-linecap: round; stroke-dasharray: calc(var(--tz-rp, 0) * 1) 100; transition: stroke-dasharray .3s; }
.tz-rdock__ring b { position: relative; font-size: 10.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tz-rdock__page { font-size: 11px; color: var(--tz-muted); font-variant-numeric: tabular-nums; }
.tz-rdock__sep { width: 20px; height: 1px; margin: 6px 0; background: var(--tz-border); }
.tz-rdock > button, .tz-rdock > a {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	color: var(--tz-muted); transition: background .15s, color .15s;
}
.tz-rdock > button:hover, .tz-rdock > a:hover { background: var(--tz-surface-2); color: var(--tz-text); }
.tz-rdock [aria-pressed="true"], .tz-rdock .is-on { color: var(--tz-primary); }
.tz-rdock [aria-pressed="true"] svg, .tz-rdock .is-on svg { fill: currentColor; }
.tz-reader-v2 ~ .tz-totop, body:has(.tz-rdock) .tz-totop { display: none; }
body:has(.tz-rdock) .tz-rpagebadge { display: none; }
@media (max-width: 1399px) { .tz-rdock { left: auto; right: 20px; } }
@media (max-width: 1023px) {
	.tz-rdock { display: none; }
	body:has(.tz-rdock) .tz-totop { display: flex; }
	body:has(.tz-rdock) .tz-rpagebadge { display: block; }
}

/* Chapter drawer (left) */
.tz-chd { margin: 0 auto 0 0; width: 380px; max-width: 100vw; height: 100dvh; max-height: 100dvh; }
.tz-chd .tz-modal__box { height: 100%; display: flex; flex-direction: column; border-radius: 0 18px 18px 0; border-left: 0; padding: 22px 0 0; }
.tz-chd[open] .tz-modal__box { animation: tz-drawer-l .28s cubic-bezier(.16, 1, .3, 1); }
@keyframes tz-drawer-l { from { transform: translateX(-100%); } }
.tz-chd .tz-modal__head { padding: 0 22px; align-items: flex-start; }
.tz-chd__sub { margin: 4px 0 0; font-size: 12.5px; color: var(--tz-muted); }
.tz-chd__search { position: relative; display: block; margin: 4px 22px 12px; color: var(--tz-muted); }
.tz-chd__search .tz-svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); }
.tz-chd__search input { width: 100%; height: 40px; padding: 0 12px 0 36px; border-radius: 10px; border: 1px solid var(--tz-border); background: var(--tz-input, var(--tz-surface-2)); color: var(--tz-text); font-size: 13.5px; }
.tz-chd__search input:focus { outline: 0; border-color: var(--tz-primary); }
.tz-chd__list { list-style: none; margin: 0; padding: 0 12px 24px; overflow-y: auto; flex: 1; }
.tz-chd__list a {
	display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 10px;
	min-height: 48px; padding: 0 12px; border-radius: 10px; color: var(--tz-text); font-size: 13.5px; transition: background .15s;
}
.tz-chd__list a:hover { background: var(--tz-surface-2); color: var(--tz-text); }
.tz-chd__list a.is-current { background: color-mix(in srgb, var(--tz-primary) 14%, transparent); box-shadow: inset 3px 0 0 var(--tz-primary); }
.tz-chd__num { font-weight: 700; }
.tz-chd__name { color: var(--tz-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-chd__time { font-size: 11.5px; color: var(--tz-subtle, var(--tz-muted)); white-space: nowrap; }
.tz-chd__list a.is-current .tz-chd__time { color: var(--tz-primary-text); font-weight: 600; }
.tz-chd__list a.is-read .tz-chd__num { color: var(--tz-muted); font-weight: 500; }
.tz-chd__empty { padding: 20px 22px; color: var(--tz-muted); font-size: 13.5px; }

/* Recommendations */
.tz-rlike { margin: 28px 0 8px; }
.tz-rlike__title { font-size: 17px; font-weight: 700; margin: 0 0 14px; }
.tz-rlike__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.tz-rlike__item { display: block; min-width: 0; color: var(--tz-text); }
.tz-rlike__item:hover { color: var(--tz-text); }
.tz-rlike__cover { display: block; aspect-ratio: 27 / 38; border-radius: 10px; overflow: hidden; background: var(--tz-surface-2); }
.tz-rlike__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.tz-rlike__item:hover .tz-rlike__cover img { transform: scale(1.05); }
.tz-rlike__name { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .15s; }
.tz-rlike__item:hover .tz-rlike__name { color: var(--tz-primary-text); }
.tz-rlike__meta { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 12px; font-weight: 600; }
.tz-rlike__meta .tz-svg { color: var(--tz-star); fill: currentColor; }

@media (max-width: 767px) {
	.tz-rhero { margin-bottom: 18px; padding: 16px 0 22px; }
	.tz-rhero__row { gap: 14px; align-items: flex-start; }
	.tz-rhero__cover { width: 84px; border-radius: 10px; }
	.tz-rhero__title { font-size: 21px; }
	.tz-rhero__meta { gap: 4px 12px; font-size: 12px; margin: 8px 0 12px; }
	.tz-rhero__actions .tz-btn { --h: 36px; padding: 0 12px; font-size: 12.5px; }
	.tz-rlike { margin: 22px 12px 8px; }
	.tz-rlike__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px; }
	.tz-rlike__item { flex: 0 0 118px; scroll-snap-align: start; }
	.tz-chd { margin: auto 0 0; width: 100%; height: 85dvh; }
	.tz-chd .tz-modal__box { border-radius: 22px 22px 0 0; border-left: 1px solid var(--tz-border); padding-top: 18px; }
	.tz-chd[open] .tz-modal__box { animation: tz-sheet .22s ease-out; }
	.tz-chd__list a { grid-template-columns: 88px minmax(0, 1fr); }
	.tz-chd__time { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.tz-rhero__cover, .tz-rlike__cover img, .tz-rdock { transition: none; }
	.tz-chd[open] .tz-modal__box { animation: none; }
}

/* ---------- 27. Reader v4: two columns (pages + sticky sidebar) ---------- */
.tz-reader-v4 {
	display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start;
	max-width: var(--tz-container); margin: 0 auto; padding: 24px var(--tz-gutter) 48px;
}
.tz-reader-v4 .tz-reader { min-width: 0; }

/* Chapter header */
.tz-rtitle { margin-bottom: 16px; }
.tz-rtitle .tz-breadcrumb { margin: 0 0 12px; }
.tz-rtitle__h { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; line-height: 1.25; letter-spacing: -.015em; }
.tz-rtitle__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 8px 0 0; font-size: 13px; color: var(--tz-muted); }
.tz-rtitle__meta > * + *::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 10px 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.tz-rtitle__meta a { color: var(--tz-primary-text); font-weight: 600; }

/* Toolbar pill */
.tz-rbar {
	position: sticky; top: calc(var(--tz-header-h) + 10px); z-index: 30;
	display: flex; align-items: center; gap: 6px; margin-bottom: 16px; padding: 6px;
	border-radius: 14px; border: 1px solid var(--tz-border);
	background: color-mix(in srgb, var(--tz-surface) 90%, transparent);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	box-shadow: 0 14px 30px -20px rgba(0, 0, 0, .8);
	transition: transform .3s cubic-bezier(.16, 1, .3, 1), opacity .3s;
}
body.tz-immersed .tz-rbar { transform: translateY(calc(-100% - var(--tz-header-h) - 24px)); opacity: 0; }
.tz-rbar .tz-chselect { flex: 0 1 380px; min-width: 0; }
.tz-rbar .tz-chselect select { width: 100%; height: 38px; border-radius: 10px; font-size: 13.5px; font-weight: 600; padding-left: 14px; background-color: var(--tz-surface-2); border-color: var(--tz-border); }
.tz-rbar .tz-rbtn { height: 38px; border-radius: 10px; }
.tz-rbar .tz-rtoolbar__prev, .tz-rbar .tz-rtoolbar__next { padding: 0 14px; }
.tz-rbar__sep { flex: 1; }
.tz-rbar__chapters { display: none; }

/* Pages */
.tz-reader-v4 .tz-rbody { background: none; border: 0; padding: 0; border-radius: 0; }
.tz-reader-v4 .tz-rpages { background: #000; border-radius: 12px; overflow: hidden; border: 1px solid var(--tz-border); }
.tz-reader-v4 .tz-rpages img { cursor: pointer; }
.tz-reader-v4 .tz-rpages[data-mode="page"] img, .tz-reader-v4 .tz-rpages[data-mode="horizontal"] img { cursor: default; }
body[data-reader-theme="light"] .tz-reader-v4 .tz-rpages { background: #fff; }
body[data-reader-theme="sepia"] .tz-reader-v4 .tz-rpages { background: #f1e7d0; }

/* End-of-chapter navigation */
.tz-rnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.tz-rnav__btn {
	display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 18px; border-radius: 14px;
	background: var(--tz-surface); border: 1px solid var(--tz-border); color: var(--tz-text);
	transition: border-color .2s, transform .2s, background .2s;
}
.tz-rnav__btn:hover { border-color: color-mix(in srgb, var(--tz-primary) 60%, transparent); color: var(--tz-text); transform: translateY(-1px); }
.tz-rnav__btn span { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.tz-rnav__btn small { font-size: 12px; color: var(--tz-muted); }
.tz-rnav__btn b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-rnav__btn--next { justify-content: space-between; text-align: right; background: var(--tz-primary); border-color: var(--tz-primary); color: var(--tz-ink); }
.tz-rnav__btn--next span { flex: 1; align-items: flex-end; text-align: right; }
.tz-rnav__btn--next small { color: color-mix(in srgb, var(--tz-ink) 70%, transparent); }
.tz-rnav__btn--next:hover { background: var(--tz-primary-hover, var(--tz-primary)); color: var(--tz-ink); }
.tz-rnav__btn.is-disabled { opacity: .45; }
.tz-rnav__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 28px; margin: 18px 0 28px; }
.tz-rnav__links > * { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--tz-muted); transition: color .15s; }
.tz-rnav__links > *:hover, .tz-rnav__links [aria-pressed="true"] { color: var(--tz-primary-text); }
.tz-reader-v4 .tz-rcomments { padding: 22px 24px; border-radius: 14px; }

/* Sidebar */
.tz-rsb { position: sticky; top: calc(var(--tz-header-h) + 16px); display: flex; flex-direction: column; gap: 16px; }
.tz-rsb__card, .tz-rsb__box { background: var(--tz-surface); border: 1px solid var(--tz-border); border-radius: 14px; }
.tz-rsb__card { display: flex; gap: 14px; padding: 14px; }
.tz-rsb__cover { flex: none; width: 84px; aspect-ratio: 27 / 38; border-radius: 8px; overflow: hidden; }
.tz-rsb__cover img { width: 100%; height: 100%; object-fit: cover; }
.tz-rsb__info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tz-rsb__title { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--tz-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tz-rsb__title:hover { color: var(--tz-primary-text); }
.tz-rsb__meta { margin: 0; font-size: 12px; color: var(--tz-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-rsb__rating { display: flex; align-items: center; gap: 5px; margin: 0; font-size: 12px; color: var(--tz-muted); }
.tz-rsb__rating .tz-svg { color: var(--tz-star); fill: currentColor; }
.tz-rsb__rating b { color: var(--tz-text); margin-right: 6px; }
.tz-rsb__follow { --h: 34px; margin-top: auto; align-self: flex-start; padding: 0 14px; font-size: 12.5px; border-radius: 9px; gap: 6px; }
.tz-rsb__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 16px 16px 10px; }
.tz-rsb__head h2 { font-size: 15px; font-weight: 700; }
.tz-rsb__head span { font-size: 12px; color: var(--tz-muted); }
.tz-rsb__chapters .tz-chd__search { margin: 0 16px 8px; }
.tz-rsb__chapters .tz-chd__search input { height: 36px; font-size: 13px; }
.tz-rsb__chapters .tz-chd__list { max-height: min(360px, 42vh); padding: 0 8px 10px; overflow-y: auto; scrollbar-width: thin; }
.tz-rsb__chapters .tz-chd__list a { grid-template-columns: 92px minmax(0, 1fr); min-height: 40px; font-size: 13px; padding: 0 10px; }
.tz-rsb__like { list-style: none; margin: 0; padding: 0 8px 10px; }
.tz-rsb__like a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; color: var(--tz-text); transition: background .15s; }
.tz-rsb__like a:hover { background: var(--tz-surface-2); color: var(--tz-text); }
.tz-rsb__like img { flex: none; width: 44px; height: 60px; border-radius: 6px; object-fit: cover; }
.tz-rsb__like span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tz-rsb__like b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-rsb__like small { font-size: 12px; color: var(--tz-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tz-rsb__like em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 12px; font-weight: 600; }
.tz-rsb__like em .tz-svg { color: var(--tz-star); fill: currentColor; }

@media (max-width: 1023px) {
	.tz-reader-v4 { grid-template-columns: minmax(0, 1fr); padding-top: 18px; }
	.tz-rsb { display: none; }
	.tz-rbar__chapters { display: inline-flex; }
}
@media (max-width: 767px) {
	.tz-reader-v4 { padding: 14px 0 32px; }
	.tz-rtitle { padding: 0 16px; }
	.tz-rbar { top: var(--tz-header-h); margin: 0 0 12px; border-radius: 0; border-inline: 0; padding: 6px 10px; }
	.tz-rbar .tz-rtoolbar__prev span, .tz-rbar .tz-rtoolbar__next span, .tz-rbar__fs { display: none; }
	.tz-rbar .tz-rtoolbar__prev, .tz-rbar .tz-rtoolbar__next { padding: 0; width: 38px; }
	.tz-rbar__sep { display: none; }
	.tz-rbar .tz-chselect { flex: 1 1 auto; }
	.tz-rbar .tz-chselect select { font-size: 13px; padding-left: 10px; }
	.tz-rbar .tz-rbtn--icon { width: 34px; min-width: 34px; }
	.tz-reader-v4 .tz-rpages { border-radius: 0; border-inline: 0; }
	.tz-rnav { grid-template-columns: minmax(0, 1fr); margin: 20px 12px 0; }
	.tz-rnav__btn--next { order: -1; }
	.tz-rnav__links { margin: 16px 12px 20px; gap: 6px 18px; }
	.tz-reader-v4 .tz-rcomments { margin: 0 12px; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.tz-rbar, .tz-rnav__btn { transition: none; }
}

/* Reader settings as an anchored popover (desktop) */
#tz-reader-sheet.is-pop {
	position: fixed; inset: auto; top: var(--pop-top, 120px); right: var(--pop-right, 16px); left: auto;
	z-index: 70; margin: 0; width: 360px; height: auto; max-height: calc(100vh - var(--pop-top, 120px) - 16px);
}
#tz-reader-sheet.is-pop .tz-modal__box {
	height: auto; max-height: inherit; overflow-y: auto; border-radius: 16px; border: 1px solid var(--tz-border-2, var(--tz-border));
	padding: 18px 18px 20px; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .75);
}
#tz-reader-sheet.is-pop .tz-modal__box::before { display: none; }
#tz-reader-sheet.is-pop[open] .tz-modal__box { animation: tz-pop-down .18s cubic-bezier(.16, 1, .3, 1); transform-origin: top right; }
#tz-reader-sheet.is-pop::after {
	content: ""; position: absolute; top: -6px; right: 14px; width: 12px; height: 12px; transform: rotate(45deg);
	background: var(--tz-surface); border-left: 1px solid var(--tz-border-2, var(--tz-border)); border-top: 1px solid var(--tz-border-2, var(--tz-border));
}
@keyframes tz-pop-down { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { #tz-reader-sheet.is-pop[open] .tz-modal__box { animation: none; } }
#tz-reader-sheet.is-pop .tz-modal__box:focus { outline: 0; }

/* Reader settings v2: grouped, explained */
.tz-settings--v2 { font-size: 13px; }
.tz-settings--v2 .tz-settings__intro { margin: -6px 0 4px; font-size: 12.5px; color: var(--tz-muted); }
.tz-settings--v2 .tz-settings__sec {
	margin: 20px 0 10px; padding-top: 16px; border-top: 1px solid var(--tz-border);
	font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--tz-primary-text);
}
.tz-settings--v2 .tz-settings__intro + .tz-settings__sec { border-top: 0; padding-top: 4px; }
.tz-settings--v2 .tz-settings__label { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--tz-text); }
.tz-settings--v2 .tz-settings__label output { font-size: 12.5px; font-weight: 700; color: var(--tz-primary-text); font-variant-numeric: tabular-nums; }
.tz-settings--v2 .tz-settings__group { margin-top: 16px; }
.tz-settings--v2 .tz-settings__range { gap: 0; }
.tz-settings--v2 .tz-settings__range .tz-range { width: 100%; }
.tz-settings__ends { display: flex; justify-content: space-between; margin: 4px 0 0; font-size: 11px; color: var(--tz-subtle, var(--tz-muted)); }
.tz-settings__hint { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: var(--tz-muted); }
.tz-settings__hint--mode { padding: 8px 10px; border-radius: 8px; background: var(--tz-surface-2); }
.tz-settings--v2 .tz-opt button { height: 38px; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: var(--tz-text); }
.tz-settings--v2 .tz-opt button[aria-pressed="true"] { color: var(--tz-primary-text); }
.tz-swatch { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(127, 127, 127, .45); flex: none; }
.tz-flip { transform: scaleX(-1); }
.tz-settings--v2 .tz-settings__switch { align-items: flex-start; gap: 16px; margin-top: 14px; cursor: pointer; }
.tz-settings--v2 .tz-settings__switch > span:first-child { display: flex; flex-direction: column; gap: 3px; }
.tz-settings--v2 .tz-settings__switch b { font-size: 13px; font-weight: 600; }
.tz-settings--v2 .tz-settings__switch small { font-size: 12px; line-height: 1.45; color: var(--tz-muted); }
.tz-settings--v2 .tz-settings__switch .tz-toggle { margin-top: 2px; flex: none; }
.tz-settings__sub { margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--tz-surface-2); }
.tz-settings__keys ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tz-settings__keys li { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 10px; font-size: 12px; color: var(--tz-muted); }
.tz-settings__keys kbd {
	display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 6px; margin-right: 4px;
	border-radius: 6px; border: 1px solid var(--tz-border-2, var(--tz-border)); border-bottom-width: 2px;
	background: var(--tz-surface-2); color: var(--tz-text); font: 600 11px/1 var(--tz-font);
}
.tz-settings--v2 .tz-settings__reset { height: 38px; font-size: 13px; border-radius: 10px; background: transparent; border-color: var(--tz-border); color: var(--tz-muted); }
.tz-settings--v2 .tz-settings__reset:hover { border-color: var(--tz-primary); color: var(--tz-primary-text); }
#tz-reader-sheet.is-pop { width: 380px; }
@media (max-width: 1023px) { .tz-settings__keys { display: none; } }
.tz-linked__unlink { margin-left: 10px; font-size: 11.5px; color: var(--tz-muted); text-decoration: underline; }
.tz-linked__unlink:hover { color: var(--tz-danger); }
.tz-linked__off { margin-left: auto; font-size: 11.5px; color: var(--tz-subtle, var(--tz-muted)); }

/* ---------- 28. Auth pages v2: illustration panel + centred form ---------- */
.tz-authx {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: stretch;
	max-width: var(--tz-container); min-height: calc(100vh - var(--tz-header-h)); margin: 0 auto; padding: 28px var(--tz-gutter) 40px;
}
.tz-authx__art {
	position: relative; overflow: hidden; border-radius: 24px; min-height: 560px;
	background: #0b1622; box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9);
}
.tz-authx__art img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 20%; }
.tz-authx__art::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(7, 17, 28, 0) 38%, rgba(7, 17, 28, .7) 62%, rgba(7, 17, 28, .96) 100%);
}
.tz-authx__copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 0 28px 30px; color: #fff; }
.tz-authx__copy h2 { font-family: var(--tz-font-display); font-size: clamp(34px, 3.4vw, 48px); font-weight: 700; line-height: 1.08; text-shadow: 0 2px 24px rgba(115, 178, 255, .45); }
.tz-authx__copy p { max-width: 440px; margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: #d6deea; }
.tz-authx__perks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; }
.tz-authx__perks li {
	display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border-radius: 999px;
	font-size: 12px; white-space: nowrap; color: #eef2f8; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px);
}
.tz-authx__perks .tz-svg { color: var(--tz-primary); }

.tz-authx__main { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; }
.tz-authx .tz-authx__card {
	position: relative; left: auto; top: auto; width: 100%; max-width: 440px; height: auto;
	display: block; padding: 32px 32px 26px; border-radius: 22px;
	background: var(--tz-surface); border: 1px solid var(--tz-border); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .8);
}
.tz-authx .tz-auth__brand { margin-bottom: 20px; }
.tz-authx .tz-auth__title { font-size: 30px; line-height: 1.2; margin-bottom: 8px; }
.tz-authx .tz-auth__sub { font-size: 13.5px; line-height: 1.55; margin-bottom: 24px; }
.tz-authx .tz-field { margin-bottom: 16px; }
.tz-authx .tz-label { font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.tz-authx .tz-input { min-height: 46px; border-radius: 12px; font-size: 14px; }
.tz-authx .tz-auth__row { font-size: 13px; margin: -2px 0 20px; }
.tz-authx .tz-btn--block, .tz-authx form .tz-btn--primary { --h: 48px; border-radius: 12px; font-size: 15px; }
.tz-authx .tz-auth__or { margin: 22px 0 14px; font-size: 12.5px; }
.tz-authx .tz-social-login { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tz-authx .tz-social-login a { height: 44px; border-radius: 12px; font-size: 13px; font-weight: 600; background: var(--tz-surface-2); }
.tz-authx .tz-auth__foot { margin-top: 22px; font-size: 13.5px; }
.tz-authx__community {
	display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 12px;
	font-size: 13px; color: var(--tz-muted); border: 1px solid var(--tz-border); transition: border-color .2s, color .2s;
}
.tz-authx__community:hover { border-color: #5865f2; color: var(--tz-text); }
.tz-authx__community > .tz-icon:first-child { width: 16px; height: 16px; padding: 4px; box-sizing: content-box; border-radius: 6px; background: #5865f2; }

@media (max-width: 1023px) {
	.tz-authx { grid-template-columns: minmax(0, 1fr); padding-top: 20px; min-height: 0; }
	.tz-authx__art { display: none; }
}
@media (max-width: 767px) {
	.tz-authx { padding: 16px 16px 32px; }
	.tz-authx .tz-authx__card { padding: 24px 18px 20px; border-radius: 18px; }
	.tz-authx .tz-auth__title { font-size: 26px; }
	.tz-authx .tz-social-login { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 29. BXH Top 3: podium (2 · 1 · 3) ---------- */
.tz-pod {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: clamp(16px, 4vw, 48px);
	margin: 8px 0 0; padding: 46px clamp(0px, 2vw, 24px) 8px;
}
.tz-pod__item {
	--c: #d9e1ec; --c2: #8e9bb0; --ink: #1b2333;
	position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; color: var(--tz-text);
}
.tz-pod__item:hover { color: var(--tz-text); }
.tz-pod__item--1 { --c: #ffd86b; --c2: #e7a52c; --ink: #3a2400; }
.tz-pod__item--3 { --c: #f6b48c; --c2: #cc7448; --ink: #3b1405; }
.tz-pod__crown { position: absolute; top: -32px; z-index: 3; color: #ffc93c; filter: drop-shadow(0 2px 8px rgba(255, 190, 40, .55)); animation: tz-crown 3s ease-in-out infinite; }
@keyframes tz-crown { 50% { transform: translateY(-3px); } }
.tz-pod__cover {
	position: relative; display: block; width: 100%; min-width: 0; aspect-ratio: 3 / 4; border-radius: 14px; overflow: visible;
	background: linear-gradient(160deg, var(--c), var(--c2));
	box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .9), 0 0 24px -8px color-mix(in srgb, var(--c) 55%, transparent);
	transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
.tz-pod__item--1 .tz-pod__cover { transform: translateY(-10px); }
.tz-pod__item:hover .tz-pod__cover { transform: translateY(-4px); }
.tz-pod__item--1:hover .tz-pod__cover { transform: translateY(-14px); }
.tz-pod__cover img { position: absolute; inset: 3px; display: block; width: calc(100% - 6px); height: calc(100% - 6px); max-width: none; object-fit: cover; border-radius: 11px; }
.tz-pod__num {
	position: absolute; left: 50%; bottom: -15px; transform: translateX(-50%);
	display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
	font-size: 14px; font-weight: 800; font-variant-numeric: lining-nums; color: var(--ink);
	background: radial-gradient(circle at 35% 30%, #fff 0%, var(--c) 45%, var(--c2) 100%);
	border: 2px solid var(--tz-bg); box-shadow: 0 4px 12px rgba(0, 0, 0, .45);
}
.tz-pod__item--1 .tz-pod__num { width: 34px; height: 34px; bottom: -17px; font-size: 15px; }
.tz-pod__title { display: block; width: 100%; margin-top: 24px; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.tz-pod__item--1 .tz-pod__title { margin-top: 14px; font-size: 15px; }
.tz-pod__item:hover .tz-pod__title { color: var(--tz-primary-text); }
.tz-pod__views { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 12.5px; color: var(--tz-muted); }

@media (max-width: 767px) {
	.tz-pod { padding: 44px 0 8px; gap: 10px; }
	.tz-pod__crown { top: -28px; }
	.tz-pod__title { font-size: 13px; }
	.tz-pod__views { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.tz-pod__crown { animation: none; }
	.tz-pod__cover { transition: none; }
}
