/* Topaz theme for JAVCMS: midnight-navy glass panels with topaz-gold accents.
   Rebuilt from scratch (no package CSS reused). Dark is the default; light is a faithful light version.
   Tokens: --tz-*. Logical properties throughout so Arabic (RTL) mirrors automatically. */

/* ---------- 1. tokens ---------- */
:root,
[data-color-mode="dark"] {
  --tz-bg: #0d1118;
  --tz-bg-2: #0b1017;
  --tz-panel: #141b25;
  --tz-panel-2: #10161f;
  --tz-coll: #121923;
  --tz-coll-2: #0f151e;
  --tz-card: #171d27;
  --tz-card-body: #1b222d;
  --tz-card-body-2: #151b24;
  --tz-cell: #111821;
  --tz-field: #141b25;
  --tz-raise: #1b2330;
  --tz-raise-2: #222c3a;
  --tz-line: #232c39;
  --tz-line-2: #2c3746;
  --tz-line-3: #3a4656;
  --tz-text: #f4f5f7;
  --tz-text-2: #d7dce3;
  --tz-muted: #a3acb9;
  --tz-muted-2: #8f99a7;
  --tz-gold: #f3c669;
  --tz-gold-2: #e5a72f;
  --tz-gold-ink: #f3c669;
  --tz-gold-tint: rgba(243, 198, 105, .1);
  --tz-gold-tint-2: rgba(243, 198, 105, .16);
  --tz-gold-line: rgba(243, 198, 105, .38);
  --tz-on-gold: #171b21;
  --tz-grad-gold: linear-gradient(135deg, #f7d57f, #e5a72f);
  --tz-glass: rgba(9, 13, 19, .88);
  --tz-glass-2: rgba(12, 17, 24, .97);
  --tz-pop: #121923;
  --tz-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  --tz-shadow-sm: 0 9px 25px rgba(0, 0, 0, .22);
  --tz-focus: #f3c669;
  --tz-focus-ring: 0 0 0 3px rgba(243, 198, 105, .28);
  --tz-ok: #59c985;
  --tz-err: #f08a7b;
  --tz-warm: rgba(239, 103, 73, .11);
  --tz-cool: rgba(83, 151, 226, .12);
  --tz-glow: rgba(243, 198, 105, .1);
  --tz-foot: #0a0f16;
  --tz-skeleton: #1a2230;
  --tz-skeleton-2: #222c3b;
  --tz-scroll: #2c3746;
  --tz-logo-filter: brightness(0) invert(.95);
  --tui-accent: #e5a72f;
  --tui-accent-hover: #d4951f;
  --tui-surface: #171d27;
  --tui-text: #f4f5f7;
  --tui-muted: #a3acb9;
  --tui-border: #2c3746;
  --tui-focus: #f3c669;
  color-scheme: dark;
}
[data-color-mode="light"] {
  --tz-bg: #f4f5f7;
  --tz-bg-2: #eef0f3;
  --tz-panel: #ffffff;
  --tz-panel-2: #fbfbfc;
  --tz-coll: #ffffff;
  --tz-coll-2: #fbfbfc;
  --tz-card: #ffffff;
  --tz-card-body: #ffffff;
  --tz-card-body-2: #ffffff;
  --tz-cell: #f6f7f9;
  --tz-field: #ffffff;
  --tz-raise: #f1f3f6;
  --tz-raise-2: #e8ebf0;
  --tz-line: #e3e6eb;
  --tz-line-2: #d7dbe2;
  --tz-line-3: #c3c9d2;
  --tz-text: #141a23;
  --tz-text-2: #2b3340;
  --tz-muted: #5b6573;
  --tz-muted-2: #5f6977;
  --tz-gold: #f3c669;
  --tz-gold-2: #e5a72f;
  --tz-gold-ink: #7a5900;
  --tz-gold-tint: #fbf3df;
  --tz-gold-tint-2: #f7e8c2;
  --tz-gold-line: #d9b45c;
  --tz-on-gold: #171b21;
  --tz-glass: rgba(255, 255, 255, .9);
  --tz-glass-2: rgba(255, 255, 255, .98);
  --tz-pop: #ffffff;
  --tz-shadow: 0 16px 40px rgba(20, 26, 35, .09);
  --tz-shadow-sm: 0 6px 18px rgba(20, 26, 35, .07);
  --tz-focus: #7a5900;
  --tz-focus-ring: 0 0 0 3px rgba(122, 89, 0, .22);
  --tz-ok: #1f8a4c;
  --tz-err: #b42f1f;
  --tz-warm: rgba(239, 103, 73, .09);
  --tz-cool: rgba(83, 151, 226, .1);
  --tz-glow: rgba(243, 198, 105, .22);
  --tz-foot: #eef0f3;
  --tz-skeleton: #e6e9ee;
  --tz-skeleton-2: #f0f2f5;
  --tz-scroll: #c3c9d2;
  --tz-logo-filter: none;
  --tui-accent: #7a5900;
  --tui-accent-hover: #6a4d00;
  --tui-surface: #ffffff;
  --tui-text: #141a23;
  --tui-muted: #5b6573;
  --tui-border: #d7dbe2;
  --tui-focus: #7a5900;
  color-scheme: light;
}

/* areas that stay dark in both colour modes keep the light gold focus ring */
.tz-dhero, .tz-well { --tz-focus: #f3c669; }
@media (min-width: 768px) { .tz-hero { --tz-focus: #f3c669; } }

/* ---------- 2. base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--tz-bar-h) + 12px); scrollbar-color: var(--tz-scroll) transparent; }
:root { --tz-bar-h: 68px; --tz-gutter: 24px; --tz-max: 1380px; --tz-cols: 5; --tz-gap: 16px; --tz-gap-y: 18px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--tz-bg);
  color: var(--tz-text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Thai", "Noto Sans Devanagari", Tahoma, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[dir="rtl"] body { font-family: Rubik, Inter, system-ui, "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif; }
img, svg, video, iframe { max-width: 100%; }
img { display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--tz-focus); outline-offset: 2px; border-radius: 6px; }
.tz-i { display: inline-block; width: 18px; height: 18px; flex: none; vertical-align: middle; fill: currentColor; }
.tz-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tz-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.tz-skip { position: fixed; z-index: 400; inset-inline-start: 12px; top: 10px; padding: 10px 16px; border-radius: 10px; background: var(--tz-gold); color: var(--tz-on-gold); font-weight: 800; transform: translateY(-160%); transition: transform .18s; }
.tz-skip:focus-visible { transform: none; outline: 3px solid var(--tz-text); outline-offset: 2px; }
.tz-wrap { width: 100%; max-width: calc(var(--tz-max) + var(--tz-gutter) * 2); margin-inline: auto; padding-inline: var(--tz-gutter); }
.tz-main { display: block; min-height: 50vh; }
.tz-upper { text-transform: uppercase; letter-spacing: .4px; }
.tz-note { color: var(--tz-muted); font-size: 13px; }
.tz-note--center { text-align: center; padding: 14px 0 4px; }
.tz-eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--tz-gold-ink); font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.tz-eyebrow .tz-i { width: 16px; height: 16px; }
.tz-dir { transition: transform .2s; }
[dir="rtl"] .tz-dir { transform: scaleX(-1); }
::selection { background: rgba(243, 198, 105, .35); color: var(--tz-text); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--tz-scroll); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- 3. buttons ---------- */
.tz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 16px;
  border: 1px solid var(--tz-line-2); border-radius: 10px;
  background: var(--tz-raise); color: var(--tz-text);
  font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.tz-btn .tz-i { width: 18px; height: 18px; }
.tz-btn--sm { min-height: 40px; padding: 0 12px; font-size: 12px; }
.tz-btn--lg { min-height: 48px; padding: 0 22px; font-size: 14px; }
.tz-btn--block { display: flex; width: 100%; }
.tz-btn--gold { border-color: transparent; background-color: #f3c669; background-image: var(--tz-grad-gold); color: var(--tz-on-gold); box-shadow: 0 10px 26px rgba(229, 167, 47, .22); }
.tz-btn--line { border-color: var(--tz-line-2); background: transparent; color: var(--tz-text); }
.tz-btn--goldline { border-color: var(--tz-gold-line); background: var(--tz-gold-tint); color: var(--tz-gold-ink); }
.tz-btn--goldtext { border-color: var(--tz-line-2); background: transparent; color: var(--tz-gold-ink); font-weight: 600; }
.tz-btn--glass { border-color: rgba(255, 255, 255, .38); background: rgba(13, 17, 24, .55); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tz-btn:disabled { opacity: .55; cursor: default; }
.tz-ibtn {
  display: inline-grid; place-items: center; flex: none;
  width: 42px; height: 42px; padding: 0;
  border: 1px solid transparent; border-radius: 11px;
  background: transparent; color: var(--tz-text-2);
  transition: background .2s, border-color .2s, color .2s;
}
.tz-ibtn .tz-i { width: 21px; height: 21px; }
.tz-linkbtn { min-height: 40px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--tz-muted); font-size: 12px; font-weight: 700; }
@media (hover: hover) {
  .tz-btn:hover { border-color: var(--tz-gold-line); color: var(--tz-gold-ink); }
  .tz-btn--gold:hover { color: var(--tz-on-gold); filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(229, 167, 47, .3); }
  .tz-btn--goldline:hover { background: var(--tz-gold); border-color: var(--tz-gold); color: var(--tz-on-gold); }
  .tz-btn--glass:hover { border-color: var(--tz-gold); background: rgba(13, 17, 24, .78); color: #fff; }
  .tz-ibtn:hover { border-color: var(--tz-gold-line); background: var(--tz-gold-tint); color: var(--tz-gold-ink); }
  .tz-linkbtn:hover { background: var(--tz-gold-tint); color: var(--tz-gold-ink); }
}
.tz-btn--gold:focus-visible, .tz-btn--goldline:focus-visible { outline-color: var(--tz-focus); }

/* ---------- 4. header bar ---------- */
.tz-bar {
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid var(--tz-line);
  background: var(--tz-glass);
  box-shadow: 0 10px 36px rgba(0, 0, 0, .18);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transition: background .25s, box-shadow .25s;
}
.tz-bar.is-scrolled { background: var(--tz-glass-2); box-shadow: 0 12px 40px rgba(0, 0, 0, .32); }
[data-color-mode="light"] .tz-bar { box-shadow: 0 6px 24px rgba(20, 26, 35, .06); }
.tz-bar-in { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 1480px; height: var(--tz-bar-h); margin-inline: auto; padding-inline: var(--tz-gutter); }
.tz-menu-btn { color: var(--tz-text); }
.tz-burger { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.tz-burger path { transition: transform .25s, opacity .2s; transform-origin: 12px 12px; }
[aria-expanded="true"] > .tz-burger .tz-b1 { transform: translateY(5px) rotate(45deg); }
[aria-expanded="true"] > .tz-burger .tz-b2 { opacity: 0; }
[aria-expanded="true"] > .tz-burger .tz-b3 { transform: translateY(-5px) rotate(-45deg); }
.tz-brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 1 auto; min-width: 0; height: 46px; padding: 0 6px; border-radius: 12px; color: var(--tz-text); font-size: 18px; font-weight: 800; letter-spacing: -.35px; white-space: nowrap; }
.tz-tile { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--tz-grad-gold); box-shadow: 0 7px 20px rgba(243, 198, 105, .22); color: #171b21; }
.tz-tile .tz-i { width: 18px; height: 18px; margin-inline-start: 2px; }
[dir="rtl"] .tz-tile .tz-i { margin-inline-start: 0; margin-inline-end: 2px; }
.tz-tile--lg { width: 58px; height: 58px; border-radius: 17px; }
.tz-tile--lg .tz-i { width: 28px; height: 28px; }
.tz-logo { display: block; height: 40px; width: auto; max-width: 168px; object-fit: contain; filter: var(--tz-logo-filter); }
.tz-brand--logo { margin-inline-end: 6px; }
.tz-word { min-width: 0; overflow: hidden; text-overflow: ellipsis; unicode-bidi: plaintext; }
.tz-word-acc { color: var(--tz-gold-ink); font-weight: inherit; }
@media (min-width: 768px) { .tz-bar-in > .tz-search { flex-basis: 0; } }
@media (min-width: 1024px) { .tz-bar-in > .tz-brand .tz-word { max-width: 200px; } }
@media (min-width: 1440px) { .tz-bar-in > .tz-brand .tz-word { max-width: 340px; } }
.tz-bar-in > .tz-brand--logo { flex-shrink: 0; }
.tz-drawer-head .tz-logo { height: 36px; max-width: 190px; }
.tz-foot-brand .tz-logo { height: 46px; max-width: 220px; }
.tz-pills { display: flex; align-items: center; gap: 4px; flex: none; margin-inline-start: 8px; }
.tz-pill {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 13px;
  border: 1px solid transparent; border-radius: 10px; background: transparent;
  color: var(--tz-muted); font-size: 13px; font-weight: 650; white-space: nowrap; list-style: none; cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}
.tz-pill::-webkit-details-marker { display: none; }
.tz-pill .tz-i { width: 18px; height: 18px; }
.tz-pill .tz-caret { width: 16px; height: 16px; transition: transform .2s; }
.tz-pill[aria-current="page"], .tz-pill.is-on { background: var(--tz-gold-tint); border-color: var(--tz-gold-line); color: var(--tz-gold-ink); }
details[open] > .tz-pill { background: var(--tz-raise); color: var(--tz-text); }
details[open] > .tz-pill .tz-caret { transform: rotate(180deg); }
@media (hover: hover) {
  .tz-pill:hover { background: var(--tz-raise); color: var(--tz-text); }
  .tz-pill[aria-current="page"]:hover, .tz-pill.is-on:hover { background: var(--tz-gold-tint-2); color: var(--tz-gold-ink); }
}
.tz-tools { display: flex; align-items: center; gap: 8px; flex: none; margin-inline-start: auto; }
.tz-guestbtns { display: flex; align-items: center; gap: 8px; }
.tz-search-btn, .tz-acct-btn { display: none; }
.tz-langbtn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 11px;
  border: 1px solid var(--tz-line-2); border-radius: 10px; background: var(--tz-raise);
  color: var(--tz-text-2); font-size: 12px; font-weight: 800; letter-spacing: .5px; list-style: none; cursor: pointer;
}
.tz-langbtn::-webkit-details-marker { display: none; }
details[open] > .tz-langbtn { border-color: var(--tz-gold-line); color: var(--tz-gold-ink); }
@media (hover: hover) { .tz-langbtn:hover { border-color: var(--tz-gold-line); color: var(--tz-gold-ink); } }
.tz-mode { border-color: var(--tz-line-2); background: var(--tz-raise); color: var(--tz-text-2); }
.tz-sunmoon { width: 21px; height: 21px; overflow: visible; }
.tz-sunmoon .tz-core { fill: currentColor; transition: r .35s; }
.tz-sunmoon .tz-rays { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transform-origin: 12px 12px; transition: opacity .3s, transform .4s; }
#tz-moon-mask .tz-bite { transition: cx .4s, cy .4s; }
[data-color-mode="dark"] .tz-sunmoon .tz-core { r: 8px; }
[data-color-mode="dark"] .tz-sunmoon .tz-rays { opacity: 0; transform: rotate(-60deg) scale(.6); }
[data-color-mode="dark"] #tz-moon-mask .tz-bite { cx: 17px; cy: 7px; }
[data-color-mode="light"] .tz-sunmoon .tz-core { r: 5px; }
[data-color-mode="light"] #tz-moon-mask .tz-bite { cx: 26px; cy: -2px; }

/* ---------- 5. pop menus ---------- */
.tz-pop { position: relative; }
.tz-pop > summary { list-style: none; }
.tz-pop > summary::-webkit-details-marker { display: none; }
.tz-pop-panel {
  position: absolute; z-index: 80; top: calc(100% + 10px); inset-inline-start: 0;
  min-width: 240px; max-height: min(70vh, 520px); overflow-y: auto; padding: 8px;
  border: 1px solid var(--tz-line-2); border-radius: 14px;
  background: var(--tz-pop); box-shadow: 0 24px 60px rgba(0, 0, 0, .42);
}
[data-color-mode="light"] .tz-pop-panel { box-shadow: 0 18px 44px rgba(20, 26, 35, .14); }
.tz-pop-panel--end { inset-inline-start: auto; inset-inline-end: 0; }
.tz-pop-panel a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 42px; padding: 0 12px; border: 1px solid transparent; border-radius: 9px;
  color: var(--tz-text-2); font-size: 13px; font-weight: 600;
}
.tz-pop-panel a .tz-i { width: 18px; height: 18px; color: var(--tz-muted); }
.tz-pop-panel a > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.tz-pop-panel a small { color: var(--tz-muted); font-size: 11px; font-weight: 700; }
.tz-pop-panel a[aria-current] { border-color: var(--tz-gold-line); background: var(--tz-gold-tint); color: var(--tz-gold-ink); }
.tz-pop-panel a[aria-current] small, .tz-pop-panel a[aria-current] .tz-i { color: var(--tz-gold-ink); }
.tz-pop-panel a:focus-visible { outline-offset: -2px; }
@media (hover: hover) {
  .tz-pop-panel a:hover { background: var(--tz-raise); color: var(--tz-text); }
  .tz-pop-panel a[aria-current]:hover { background: var(--tz-gold-tint-2); color: var(--tz-gold-ink); }
}
.tz-cat-panel { min-width: 270px; }
.tz-lang-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; width: 340px; }
.tz-lang-panel a { min-height: 40px; }
.tz-member .tz-pop-panel a { justify-content: flex-start; }
.tz-member summary { cursor: pointer; }
.tz-member summary [data-tz-user-name] { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 6. search + suggestions ---------- */
.tz-search {
  position: relative; display: flex; align-items: center; flex: 1 1 420px; min-width: 200px; max-width: 420px; height: 42px; margin-inline: auto;
  border: 1px solid var(--tz-line-2); border-radius: 12px; background: var(--tz-field);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.tz-search:focus-within { border-color: var(--tz-gold-line); box-shadow: var(--tz-focus-ring); }
.tz-search-ico { width: 19px; height: 19px; margin-inline: 12px 4px; color: var(--tz-muted); }
.tz-search input {
  flex: 1; min-width: 0; height: 40px; padding: 0 6px; border: 0; outline: 0; background: transparent;
  color: var(--tz-text); font-size: 13px;
}
.tz-search input::placeholder { color: var(--tz-muted); opacity: 1; }
.tz-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.tz-search input:focus-visible { outline: none; box-shadow: inset 0 -2px 0 var(--tz-focus); }
.tz-search-go {
  display: grid; place-items: center; flex: none; width: 36px; height: 32px; margin-inline-end: 4px; padding: 0;
  border: 0; border-radius: 9px; background: var(--tz-gold-tint-2); color: var(--tz-gold-ink);
  transition: background .2s, color .2s;
}
.tz-search-go:focus-visible { outline-offset: 1px; }
@media (hover: hover) { .tz-search-go:hover { background: var(--tz-gold); color: var(--tz-on-gold); } }
.tz-suggest {
  position: absolute; z-index: 90; top: calc(100% + 10px); inset-inline: 0;
  overflow: hidden; border: 1px solid var(--tz-line-2); border-radius: 14px;
  background: var(--tz-pop); box-shadow: 0 24px 65px rgba(0, 0, 0, .5);
}
[data-color-mode="light"] .tz-suggest { box-shadow: 0 18px 44px rgba(20, 26, 35, .14); }
.tz-sug-status { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 64px; padding: 14px; color: var(--tz-muted); font-size: 12px; text-align: center; }
.tz-sug-status:empty { display: none; }
.tz-sug-list { max-height: min(408px, calc(100vh - 160px)); overflow-y: auto; overscroll-behavior: contain; }
.tz-sug-item { display: flex; align-items: center; gap: 11px; min-height: 64px; padding: 7px 10px; border-bottom: 1px solid var(--tz-line); color: var(--tz-text); }
.tz-sug-item[aria-selected="true"] { background: var(--tz-gold-tint); }
.tz-sug-item:focus-visible { outline-offset: -2px; }
@media (hover: hover) { .tz-sug-item:hover { background: var(--tz-gold-tint); } }
.tz-sug-thumb { position: relative; flex: 0 0 88px; width: 88px; height: 50px; overflow: hidden; border-radius: 8px; background: var(--tz-skeleton); }
.tz-sug-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tz-sug-txt { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.tz-sug-txt b { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 12px; font-weight: 700; line-height: 1.35; }
.tz-sug-item > .tz-i { width: 18px; height: 18px; color: var(--tz-muted); }
.tz-sug-all { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-top: 1px solid var(--tz-line); background: var(--tz-raise); color: var(--tz-gold-ink); font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.tz-sug-all:focus-visible { outline-offset: -2px; }
@media (hover: hover) { .tz-sug-all:hover { background: var(--tz-gold-tint); } }

/* ---------- 7. drawer ---------- */
.tz-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(2, 5, 9, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.tz-scrim.is-on { opacity: 1; }
.tz-drawer {
  position: fixed; z-index: 100; top: 0; bottom: 0; inset-inline-start: 0;
  display: flex; flex-direction: column; width: min(86vw, 310px); height: 100vh; height: 100dvh;
  border-inline-end: 1px solid var(--tz-line); background: linear-gradient(180deg, #0a1018, #080d14);
  box-shadow: 24px 0 70px rgba(0, 0, 0, .48);
  transform: translateX(-104%); visibility: hidden;
  transition: transform .3s cubic-bezier(.22, .7, .24, 1), visibility 0s .3s;
}
[dir="rtl"] .tz-drawer { transform: translateX(104%); box-shadow: -24px 0 70px rgba(0, 0, 0, .48); }
.tz-drawer.is-open { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.22, .7, .24, 1), visibility 0s; }
[data-color-mode="light"] .tz-drawer { background: linear-gradient(180deg, #ffffff, #f7f8fa); box-shadow: 18px 0 50px rgba(20, 26, 35, .16); }
.tz-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: none; height: 68px; padding: 0 14px 0 16px; border-bottom: 1px solid var(--tz-line); }
.tz-brand--sm { height: 44px; padding: 0 4px; font-size: 16px; }
.tz-brand--sm .tz-tile { width: 34px; height: 34px; }
.tz-drawer-x { border-color: var(--tz-line-2); background: var(--tz-raise); }
.tz-drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px 12px 22px; scrollbar-width: thin; }
.tz-dintro { position: relative; margin-bottom: 10px; padding: 15px 16px; overflow: hidden; border: 1px solid var(--tz-gold-line); border-radius: 13px; background: radial-gradient(circle at 100% 0, rgba(243, 198, 105, .16), transparent 46%), linear-gradient(135deg, var(--tz-raise), var(--tz-panel)); }
.tz-dintro strong { display: block; margin-top: 4px; color: var(--tz-text); font-size: 13px; }
.tz-dintro::after { content: ""; position: absolute; inset-inline-end: 10px; bottom: -14px; width: 64px; height: 64px; background: currentColor; color: rgba(243, 198, 105, .1); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.14v13.72a1 1 0 0 0 1.52.85l10.6-6.86a1 1 0 0 0 0-1.7L9.52 4.29A1 1 0 0 0 8 5.14z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.14v13.72a1 1 0 0 0 1.52.85l10.6-6.86a1 1 0 0 0 0-1.7L9.52 4.29A1 1 0 0 0 8 5.14z'/%3E%3C/svg%3E") center / contain no-repeat; transform: rotate(-8deg); }
.tz-spot { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 10px; border: 1px solid var(--tz-line); border-radius: 12px; background: var(--tz-raise); color: var(--tz-text); transition: border-color .2s, background .2s; }
.tz-spot-ico { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--tz-gold-tint); color: var(--tz-gold-ink); }
.tz-spot-txt { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.tz-spot-txt small { color: var(--tz-gold-ink); font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.tz-spot-txt b { font-size: 13px; }
.tz-spot > .tz-i { color: var(--tz-muted); }
@media (hover: hover) { .tz-spot:hover { border-color: var(--tz-gold-line); background: var(--tz-gold-tint); } }
.tz-dlabel { margin: 16px 6px 8px; color: var(--tz-muted-2); font-size: 10px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; }
.tz-tiles { display: grid; gap: 3px; }
.tz-tiles a, .tz-moderow {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 10px;
  border: 1px solid transparent; border-radius: 10px; background: transparent;
  color: var(--tz-text-2); font-size: 13px; font-weight: 650; text-align: start;
  transition: background .2s, border-color .2s, color .2s;
}
.tz-moderow { width: 100%; margin-top: 10px; }
.tz-tico { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--tz-raise-2); color: var(--tz-muted); }
.tz-tico .tz-i, .tz-tico .tz-sunmoon { width: 17px; height: 17px; }
.tz-tlbl { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tz-tcount { color: var(--tz-muted); font-size: 11px; font-weight: 700; }
.tz-tiles a[aria-current] { border-color: var(--tz-gold-line); background: linear-gradient(90deg, rgba(243, 198, 105, .16), rgba(243, 198, 105, .04)); color: var(--tz-gold-ink); }
.tz-tiles a[aria-current]::before { content: ""; position: absolute; top: 9px; bottom: 9px; inset-inline-start: -1px; width: 3px; border-radius: 0 4px 4px 0; background: var(--tz-gold); box-shadow: 0 0 12px rgba(243, 198, 105, .5); }
[dir="rtl"] .tz-tiles a[aria-current]::before { border-radius: 4px 0 0 4px; }
.tz-tiles a[aria-current] .tz-tico { background: var(--tz-gold-tint-2); color: var(--tz-gold-ink); }
.tz-tiles a[aria-current] .tz-tcount { color: var(--tz-gold-ink); }
[data-color-mode="light"] .tz-tiles a[aria-current] { background: var(--tz-gold-tint); }
@media (hover: hover) {
  .tz-tiles a:hover, .tz-moderow:hover { border-color: var(--tz-line-2); background: var(--tz-raise); color: var(--tz-text); }
  .tz-tiles a:hover .tz-tico, .tz-moderow:hover .tz-tico { background: var(--tz-gold-tint); color: var(--tz-gold-ink); }
}
.tz-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 14px; padding-top: 2px; border-top: 1px solid var(--tz-line); }
.tz-quick .tz-dlabel { grid-column: 1 / -1; margin-bottom: 4px; }
.tz-quick a { display: flex; min-width: 0; min-height: 62px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 7px 4px; border: 1px solid var(--tz-line); border-radius: 10px; background: var(--tz-raise); color: var(--tz-text-2); text-align: center; transition: border-color .2s, background .2s, color .2s; }
.tz-quick a .tz-i { color: var(--tz-gold-ink); }
.tz-quick a b { max-width: 100%; overflow: hidden; font-size: 11px; line-height: 1.2; text-overflow: ellipsis; }
.tz-quick a[aria-current] { border-color: var(--tz-gold-line); background: var(--tz-gold-tint); color: var(--tz-gold-ink); }
@media (hover: hover) { .tz-quick a:hover { border-color: var(--tz-gold-line); background: var(--tz-gold-tint); color: var(--tz-gold-ink); } }
.tz-dlangs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.tz-dlangs a { display: flex; align-items: center; min-height: 40px; padding: 0 10px; border: 1px solid var(--tz-line); border-radius: 9px; background: var(--tz-raise); color: var(--tz-text-2); font-size: 12px; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tz-dlangs a[aria-current] { border-color: var(--tz-gold-line); background: var(--tz-gold-tint); color: var(--tz-gold-ink); }
@media (hover: hover) { .tz-dlangs a:hover { border-color: var(--tz-gold-line); color: var(--tz-gold-ink); } }
.tz-dfoot { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding: 12px; border: 1px solid var(--tz-line); border-radius: 10px; background: var(--tz-raise); color: var(--tz-muted); font-size: 11px; font-weight: 600; }
.tz-adult-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--tz-ok); box-shadow: 0 0 10px rgba(89, 201, 133, .45); }
body.tz-lock { overflow: hidden; }

/* ---------- 8. hero slider ---------- */
.tz-hero {
  position: relative; width: calc(100% - 32px); max-width: 1840px; margin: 16px auto 0;
  overflow: hidden; border: 1px solid var(--tz-line); border-radius: 18px; background: #0b0f15;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .24);
}
.tz-hero-track { display: grid; }
.tz-slide { position: relative; grid-area: 1 / 1; height: clamp(400px, 40vw, 560px); opacity: 0; visibility: hidden; transition: opacity .65s ease, visibility 0s .65s; background: radial-gradient(circle at 76% 34%, rgba(243, 198, 105, .14), transparent 42%), radial-gradient(circle at 20% 80%, rgba(83, 151, 226, .12), transparent 46%), linear-gradient(135deg, #1a2230, #0b1017); }
.tz-slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity .65s ease, visibility 0s; }
.tz-slide-media { position: absolute; inset: 0; overflow: hidden; }
.tz-slide-bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); max-width: none; object-fit: cover; filter: blur(22px) saturate(1.1); opacity: .55; }
.tz-slide-img { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(64%, 980px); height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.035); transition: transform 6s ease; -webkit-mask-image: linear-gradient(to left, #000 62%, transparent); mask-image: linear-gradient(to left, #000 62%, transparent); }
[dir="rtl"] .tz-slide-img { -webkit-mask-image: linear-gradient(to right, #000 62%, transparent); mask-image: linear-gradient(to right, #000 62%, transparent); }
.tz-slide.is-active .tz-slide-img { transform: scale(1); }
.tz-slide-img[data-tz-failed], .tz-slide-bg[data-tz-failed] { opacity: 0; }
.tz-slide-shade { position: absolute; inset: 0; background: radial-gradient(circle at 72% 40%, transparent 0%, rgba(8, 11, 16, .16) 38%, rgba(8, 11, 16, .6) 75%), linear-gradient(90deg, rgba(7, 10, 15, .96) 0%, rgba(7, 10, 15, .74) 38%, rgba(7, 10, 15, .08) 72%), linear-gradient(0deg, rgba(10, 14, 20, .96) 0%, transparent 46%); }
[dir="rtl"] .tz-slide-shade { background: radial-gradient(circle at 28% 40%, transparent 0%, rgba(8, 11, 16, .16) 38%, rgba(8, 11, 16, .6) 75%), linear-gradient(-90deg, rgba(7, 10, 15, .96) 0%, rgba(7, 10, 15, .74) 38%, rgba(7, 10, 15, .08) 72%), linear-gradient(0deg, rgba(10, 14, 20, .96) 0%, transparent 46%); }
.tz-slide-body { position: absolute; z-index: 2; bottom: 17%; inset-inline-start: max(calc((100% - 1380px) / 2 + 32px), 84px); width: min(640px, 62%); color: #fff; }
.tz-badge { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px; padding: 7px 12px; border: 1px solid rgba(243, 198, 105, .45); border-radius: 999px; background: rgba(243, 198, 105, .12); box-shadow: inset 0 0 20px rgba(243, 198, 105, .06); color: #f3c669; font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.tz-badge .tz-i { width: 15px; height: 15px; }
.tz-slide-title { margin: 0 0 14px; font-size: clamp(28px, 3.1vw, 46px); font-weight: 800; line-height: 1.08; letter-spacing: -.6px; text-shadow: 0 3px 20px rgba(0, 0, 0, .55); }
.tz-slide-title a { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: #fff; border-radius: 6px; }
.tz-slide-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tz-slide-meta > span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; background: rgba(7, 10, 15, .45); color: rgba(255, 255, 255, .9); font-size: 13px; font-weight: 600; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tz-slide-meta .tz-i { width: 16px; height: 16px; color: #f3c669; }
.tz-slide-desc { display: -webkit-box; max-width: 560px; margin-top: 16px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: rgba(255, 255, 255, .82); font-size: 14px; line-height: 1.65; }
.tz-slide-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.tz-hero-arrow { position: absolute; z-index: 3; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; background: rgba(9, 12, 18, .58); color: #fff; transform: translateY(-50%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s, border-color .2s, transform .2s; }
.tz-hero-arrow .tz-i { width: 24px; height: 24px; }
.tz-hero-prev { inset-inline-start: 18px; }
.tz-hero-next { inset-inline-end: 18px; }
.tz-hero-arrow:focus-visible { outline-color: #f3c669; outline-offset: 3px; }
@media (hover: hover) { .tz-hero-arrow:hover { border-color: #f3c669; background: rgba(9, 12, 18, .82); transform: translateY(-50%) scale(1.06); } }
.tz-hero-dots { position: absolute; z-index: 3; bottom: 84px; inset-inline-end: max(5%, 32px); display: flex; gap: 2px; padding: 2px; border-radius: 999px; }
.tz-hero-dots button { position: relative; width: 26px; height: 32px; padding: 0; border: 0; background: transparent; color: #fff; }
.tz-hero-dots button::before { content: ""; position: absolute; top: 50%; inset-inline-start: 50%; width: 9px; height: 9px; border-radius: 10px; background: rgba(255, 255, 255, .55); transform: translate(-50%, -50%); transition: width .25s, background .25s; }
[dir="rtl"] .tz-hero-dots button::before { transform: translate(50%, -50%); }
.tz-hero-dots button[aria-current="true"] { width: 36px; }
.tz-hero-dots button[aria-current="true"]::before { width: 28px; background: #f3c669; }
.tz-hero-dots button:focus-visible { outline-color: #f3c669; outline-offset: 0; border-radius: 10px; }

/* ---------- 9. discovery bar ---------- */
.tz-disc {
  position: relative; z-index: 5; display: flex; width: calc(100% - 48px); max-width: 1320px; min-height: 104px;
  margin: -52px auto 28px; padding: 15px;
  border: 1px solid var(--tz-line-2); border-radius: 18px;
  background: #192130; background: linear-gradient(135deg, rgba(30, 37, 49, .97), rgba(17, 23, 32, .97));
  box-shadow: 0 22px 55px rgba(0, 0, 0, .38);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
[data-color-mode="light"] .tz-disc { background: #fff; box-shadow: 0 18px 44px rgba(20, 26, 35, .12); }
.tz-disc-intro { display: flex; flex: 0 0 210px; flex-direction: column; justify-content: center; padding: 0 22px; border-inline-end: 1px solid var(--tz-line-2); }
.tz-disc-intro h1 { margin-top: 5px; color: var(--tz-text); font-size: 20px; font-weight: 800; line-height: 1.25; }
.tz-disc-links { display: grid; flex: 1; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding-inline-start: 10px; }
.tz-disc-links a { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 10px 14px; border-radius: 12px; color: var(--tz-text); transition: background .2s, transform .2s; }
.tz-dico { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid var(--tz-gold-line); border-radius: 12px; background: var(--tz-gold-tint); color: var(--tz-gold-ink); }
.tz-dico .tz-i { width: 21px; height: 21px; }
.tz-dtxt { display: flex; min-width: 0; flex-direction: column; }
.tz-dtxt b { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 14px; line-height: 1.3; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.tz-dtxt small { display: -webkit-box; margin-top: 2px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: var(--tz-muted); font-size: 12px; line-height: 1.35; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.tz-disc-links a:focus-visible { outline-offset: -2px; }
@media (hover: hover) { .tz-disc-links a:hover { background: var(--tz-raise); transform: translateY(-2px); } }

/* ---------- 10. collections + segmented pager ---------- */
.tz-colls { padding-top: 6px; padding-bottom: 40px; }
.tz-coll {
  position: relative; margin: 0 0 30px; padding: 24px;
  border: 1px solid var(--tz-line); border-radius: 18px;
  background-color: var(--tz-coll);
  background-image: radial-gradient(circle at 100% 0, var(--tz-glow), transparent 330px), linear-gradient(145deg, var(--tz-coll), var(--tz-coll-2));
  box-shadow: 0 16px 42px rgba(0, 0, 0, .18);
  scroll-margin-top: calc(var(--tz-bar-h) + 10px);
}
[data-color-mode="light"] .tz-coll { box-shadow: var(--tz-shadow-sm); }
.tz-coll--warm { background-image: radial-gradient(circle at 100% 0, var(--tz-warm), transparent 330px), linear-gradient(145deg, var(--tz-coll), var(--tz-coll-2)); }
.tz-coll--cool { background-image: radial-gradient(circle at 100% 0, var(--tz-cool), transparent 330px), linear-gradient(145deg, var(--tz-coll), var(--tz-coll-2)); }
.tz-coll-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 62px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--tz-line); }
.tz-coll-title { display: flex; align-items: center; gap: 13px; min-width: 0; }
.tz-coll-title > div { min-width: 0; }
.tz-coll-ico { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border: 1px solid var(--tz-gold-line); border-radius: 12px; background: var(--tz-gold-tint); color: var(--tz-gold-ink); }
.tz-coll-ico .tz-i { width: 24px; height: 24px; }
.tz-coll-title h2 { color: var(--tz-text); font-size: 25px; font-weight: 800; letter-spacing: -.3px; }
.tz-coll-title p { margin-top: 4px; color: var(--tz-muted); font-size: 12px; }
.tz-seg { display: flex; flex: none; align-items: stretch; }
.tz-seg-all, .tz-seg-btn {
  display: inline-grid; place-items: center; height: 43px; margin: 0;
  border: 1px solid var(--tz-line-3); background: var(--tz-raise); color: var(--tz-text);
  transition: background .2s, border-color .2s, color .2s;
}
.tz-seg-all { min-width: 105px; padding: 0 18px; border-start-start-radius: 9px; border-end-start-radius: 9px; font-size: 13px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.tz-seg-all--solo { border-radius: 9px; }
.tz-seg-btn { width: 52px; padding: 0; border-inline-start: 0; }
.tz-seg-btn:last-child { border-start-end-radius: 9px; border-end-end-radius: 9px; }
.tz-seg-btn .tz-i { width: 24px; height: 24px; }
.tz-seg-btn:disabled { color: var(--tz-muted-2); background: var(--tz-cell); cursor: default; }
.tz-seg-all:focus-visible, .tz-seg-btn:focus-visible { position: relative; z-index: 1; outline-offset: -3px; border-radius: 9px; }
@media (hover: hover) { .tz-seg-btn:not(:disabled):hover, .tz-seg-all:hover { border-color: var(--tz-gold-line); background: var(--tz-gold-tint); color: var(--tz-gold-ink); } }

/* ---------- 11. grid + cards ---------- */
.tz-grid { display: grid; grid-template-columns: repeat(var(--tz-cols), minmax(0, 1fr)); gap: var(--tz-gap-y) var(--tz-gap); }
.tz-card { min-width: 0; }
.tz-card[hidden] { display: none !important; }
.tz-card-link {
  position: relative; display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--tz-line); border-radius: 13px; background: var(--tz-card);
  box-shadow: 0 9px 25px rgba(0, 0, 0, .2);
  transition: transform .22s, border-color .22s, box-shadow .22s;
  --tz-mx: 50%; --tz-my: 0%;
}
[data-color-mode="light"] .tz-card-link { box-shadow: 0 4px 14px rgba(20, 26, 35, .07); }
.tz-card-link:focus-visible { outline-offset: 3px; border-radius: 14px; }
.tz-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px 12px 0 0; background: linear-gradient(110deg, var(--tz-skeleton) 30%, var(--tz-skeleton-2) 50%, var(--tz-skeleton) 70%); background-size: 220% 100%; animation: tz-shimmer 1.6s linear infinite; }
.tz-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .35s, opacity .3s; }
.tz-cover--face img { object-position: center 25%; }
.tz-chip { position: absolute; z-index: 2; bottom: 8px; max-width: calc(50% - 12px); overflow: hidden; padding: 3px 7px; border-radius: 6px; background: rgba(8, 11, 16, .78); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tz-chip--code { top: 8px; bottom: auto; inset-inline-start: 8px; max-width: calc(100% - 16px); color: #f3c669; letter-spacing: .3px; }
.tz-chip--time { inset-inline-end: 8px; direction: ltr; }
.tz-play { position: absolute; z-index: 3; top: 50%; left: 50%; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .34); border-radius: 50%; background: rgba(8, 11, 16, .64); color: #fff; opacity: 0; transform: translate(-50%, -40%) scale(.8); transition: opacity .25s, transform .25s; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.tz-play .tz-i { width: 22px; height: 22px; margin-inline-start: 2px; }
[dir="rtl"] .tz-play .tz-i { margin-inline-start: 0; margin-inline-end: 2px; }
.tz-play--lg { width: 64px; height: 64px; opacity: .9; transform: translate(-50%, -50%); }
.tz-play--lg .tz-i { width: 30px; height: 30px; }
.tz-card-body { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 6px; padding: 11px 12px 10px; border-radius: 0 0 12px 12px; background: linear-gradient(180deg, var(--tz-card-body), var(--tz-card-body-2)); }
.tz-card-title { display: -webkit-box; min-height: 2.8em; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--tz-text); font-size: 13px; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
.tz-card-meta { display: flex; align-items: center; gap: 14px; min-width: 0; color: var(--tz-muted); font-size: 12px; }
.tz-card-meta > span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; white-space: nowrap; }
.tz-card-meta .tz-i { width: 15px; height: 15px; color: var(--tz-gold-ink); }
.tz-card-link::after { content: ""; position: absolute; inset: -1px; z-index: 4; border-radius: 13px; background: radial-gradient(220px circle at var(--tz-mx) var(--tz-my), rgba(243, 198, 105, .14), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
@media (hover: hover) {
  .tz-card-link:hover { border-color: var(--tz-gold-line); box-shadow: 0 15px 34px rgba(0, 0, 0, .42), 0 0 0 1px rgba(243, 198, 105, .08); transform: translateY(-5px); }
  [data-color-mode="light"] .tz-card-link:hover { box-shadow: 0 14px 30px rgba(20, 26, 35, .14); }
  .tz-card-link:hover .tz-cover img { transform: scale(1.035); }
  .tz-card-link:hover .tz-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .tz-card-link:hover::after { opacity: 1; }
  .tz-card-link:hover .tz-card-title { color: var(--tz-gold-ink); }
}
.tz-card-link:focus-visible .tz-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@keyframes tz-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* ---------- 12. home category chips ---------- */
.tz-catgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tz-catchip:last-child:nth-child(4n+1) { grid-column: 1 / -1; }
.tz-catchip:last-child:nth-child(4n+2) { grid-column: span 3; }
.tz-catchip:last-child:nth-child(4n+3) { grid-column: span 2; }
.tz-catchip { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border: 1px solid var(--tz-line); border-radius: 12px; background: var(--tz-cell); color: var(--tz-text); transition: border-color .2s, background .2s, transform .2s; }
.tz-catchip-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--tz-gold-tint); color: var(--tz-gold-ink); }
.tz-catchip-txt { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.tz-catchip-txt b { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 14px; line-height: 1.3; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.tz-catchip--all .tz-catchip-ico { background: var(--tz-grad-gold); color: var(--tz-on-gold); }
.tz-catchip-txt small { color: var(--tz-muted); font-size: 12px; }
.tz-catchip > .tz-i { color: var(--tz-muted); }
@media (hover: hover) { .tz-catchip:hover { border-color: var(--tz-gold-line); background: var(--tz-gold-tint); transform: translateY(-2px); } .tz-catchip:hover > .tz-i { color: var(--tz-gold-ink); } }

/* ---------- 13. list pages: callout, crumbs, chips, sort bar ---------- */
.tz-list { padding-top: 6px; padding-bottom: 48px; }
.tz-callout { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 140px; justify-content: flex-end; padding: 28px 0 22px; }
.tz-callout h1 { color: var(--tz-text); font-size: 31px; font-weight: 800; letter-spacing: -.45px; overflow-wrap: anywhere; }
.tz-callout p { color: var(--tz-muted); font-size: 13px; }
.tz-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-bottom: 10px; color: var(--tz-muted); font-size: 12px; }
.tz-crumbs a { display: inline-flex; align-items: center; min-height: 28px; padding: 0 2px; color: var(--tz-muted); border-radius: 6px; }
.tz-crumbs .tz-i { width: 15px; height: 15px; opacity: .7; }
.tz-crumbs [aria-current] { color: var(--tz-text-2); }
@media (hover: hover) { .tz-crumbs a:hover { color: var(--tz-gold-ink); } }
.tz-chipbar { display: flex; gap: 8px; margin: 0 0 14px; padding: 4px 2px; overflow-x: auto; scrollbar-width: none; }
.tz-chipbar::-webkit-scrollbar { display: none; }
.tz-chipnav { display: inline-flex; align-items: center; flex: none; min-height: 40px; padding: 0 16px; border: 1px solid var(--tz-line-2); border-radius: 8px; background: var(--tz-raise); color: var(--tz-text-2); font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap; }
.tz-chipnav[aria-current] { border-color: transparent; background: var(--tz-gold); color: var(--tz-on-gold); }
.tz-chipnav:focus-visible { outline-offset: -2px; box-shadow: inset 0 0 0 4px var(--tz-bg); }
@media (hover: hover) { .tz-chipnav:hover { border-color: var(--tz-gold-line); color: var(--tz-gold-ink); } .tz-chipnav[aria-current]:hover { color: var(--tz-on-gold); filter: brightness(1.05); } }
.tz-sortbar {
  position: sticky; z-index: 8; top: calc(var(--tz-bar-h) + 8px);
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 62px; margin: 0 0 24px; padding: 10px 12px;
  border: 1px solid var(--tz-line); border-radius: 14px; background: var(--tz-glass-2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .24); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
[data-color-mode="light"] .tz-sortbar { box-shadow: var(--tz-shadow-sm); }
.tz-sorts { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tz-sort-lbl { flex: none; padding-inline: 4px 2px; color: var(--tz-muted); font-size: 12px; font-weight: 700; }
.tz-sort { display: inline-flex; align-items: center; gap: 7px; flex: none; min-height: 42px; padding: 0 14px; border: 1px solid var(--tz-line-2); border-radius: 9px; background: var(--tz-raise); color: var(--tz-text-2); font-size: 12px; font-weight: 700; white-space: nowrap; }
.tz-sort .tz-i { width: 17px; height: 17px; color: var(--tz-muted); }
.tz-sort[aria-current] { border-color: var(--tz-gold-line); background: var(--tz-gold-tint-2); color: var(--tz-gold-ink); }
.tz-sort[aria-current] .tz-i { color: var(--tz-gold-ink); }
.tz-sort--reset { margin-inline-start: auto; }
.tz-sort:focus-visible { outline-offset: -2px; }
@media (hover: hover) { .tz-sort:hover { border-color: var(--tz-gold-line); color: var(--tz-text); } .tz-sort:hover .tz-i { color: var(--tz-gold-ink); } }
.tz-more { display: flex; justify-content: center; margin-top: 26px; }
.tz-bigsearch { display: flex; align-items: center; gap: 8px; max-width: 640px; margin: 0 0 22px; padding: 6px; border: 1px solid var(--tz-line-2); border-radius: 14px; background: var(--tz-field); }
.tz-bigsearch:focus-within { border-color: var(--tz-gold-line); box-shadow: var(--tz-focus-ring); }
.tz-bigsearch > .tz-i { margin-inline-start: 8px; color: var(--tz-muted); }
.tz-bigsearch .tz-input { flex: 1; min-width: 0; border: 0; background: transparent; box-shadow: none; }
.tz-bigsearch .tz-input:focus-visible { outline: none; box-shadow: inset 0 -2px 0 var(--tz-focus); }

/* ---------- 14. pager ---------- */
.tz-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; }
.tz-pg { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--tz-line-2); border-radius: 9px; background: var(--tz-panel); color: var(--tz-text-2); font-size: 13px; font-weight: 700; }
.tz-pg--cur { border-color: transparent; background: var(--tz-gold); color: var(--tz-on-gold); }
.tz-pg--gap { border-color: transparent; background: transparent; color: var(--tz-muted); }
.tz-pg .tz-i { width: 20px; height: 20px; }
@media (hover: hover) { a.tz-pg:hover { border-color: var(--tz-gold-line); background: var(--tz-gold-tint); color: var(--tz-gold-ink); } }

/* ---------- 15. empty state ---------- */
.tz-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 16px; border: 1px dashed var(--tz-line-2); border-radius: 14px; color: var(--tz-muted); text-align: center; }
.tz-empty--sm { padding: 24px 14px; }
.tz-empty-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--tz-gold-tint); color: var(--tz-gold-ink); }
.tz-empty-ico .tz-i { width: 28px; height: 28px; }

/* ---------- 16. panels, facts, chips, prose ---------- */
.tz-panel { position: relative; margin-bottom: 22px; padding: 26px; border: 1px solid var(--tz-line); border-radius: 17px; background-color: var(--tz-panel); background-image: linear-gradient(145deg, var(--tz-panel), var(--tz-panel-2)); box-shadow: 0 18px 45px rgba(0, 0, 0, .2); }
[data-color-mode="light"] .tz-panel { box-shadow: var(--tz-shadow-sm); }
.tz-panel-head { display: flex; flex-direction: column; gap: 5px; margin-bottom: 18px; }
.tz-panel-head--row { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.tz-panel-head h1, .tz-panel-head h2 { display: flex; align-items: center; gap: 8px; color: var(--tz-text); font-size: 22px; font-weight: 800; letter-spacing: -.2px; }
.tz-panel-head h2 .tz-i, .tz-panel-head h1 .tz-i { width: 22px; height: 22px; color: var(--tz-gold-ink); }
.tz-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--tz-line); border-radius: 12px; background: var(--tz-cell); }
.tz-fact { min-width: 0; padding: 14px 16px; box-shadow: 1px 0 0 var(--tz-line), 0 1px 0 var(--tz-line); }
[dir="rtl"] .tz-fact { box-shadow: -1px 0 0 var(--tz-line), 0 1px 0 var(--tz-line); }
.tz-fact:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.tz-fact:last-child:nth-child(3n+2) { grid-column: span 2; }
.tz-fact-k { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; color: var(--tz-muted); font-size: 11px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.tz-fact-k .tz-i { width: 15px; height: 15px; color: var(--tz-gold-ink); }
.tz-fact-v { display: block; color: var(--tz-text); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.tz-fact-code { color: var(--tz-gold-ink); font-weight: 800; letter-spacing: .4px; }
.tz-fact-links { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-block: -3px; }
.tz-fact-links a { display: inline-flex; align-items: center; min-height: 28px; color: var(--tz-text); border-bottom: 1px dashed var(--tz-line-3); border-radius: 2px; }
@media (hover: hover) { .tz-fact-links a:hover { color: var(--tz-gold-ink); border-bottom-color: var(--tz-gold-line); } }
.tz-chipsec { display: grid; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--tz-line); }
.tz-chiprow-k { display: block; margin-bottom: 8px; color: var(--tz-muted); font-size: 11px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.tz-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.tz-tagchip { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border: 1px solid var(--tz-gold-line); border-radius: 8px; background: var(--tz-gold-tint); color: var(--tz-gold-ink); font-size: 12px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
@media (hover: hover) { .tz-tagchip:hover { background: var(--tz-gold); border-color: var(--tz-gold); color: var(--tz-on-gold); } }
.tz-prose { color: var(--tz-text-2); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.tz-prose p + p { margin-top: 12px; }
.tz-prose img { max-width: 100%; height: auto; border-radius: 10px; }
.tz-prose a { color: var(--tz-gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.tz-server + .tz-server { margin-top: 18px; }
.tz-server h2, .tz-server h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; color: var(--tz-text-2); font-size: 14px; font-weight: 700; }
.tz-server .tz-i { color: var(--tz-gold-ink); }
.tz-eplist { display: flex; flex-wrap: wrap; gap: 8px; }
.tz-ep { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border: 1px solid var(--tz-line-2); border-radius: 9px; background: var(--tz-raise); color: var(--tz-text-2); font-size: 13px; font-weight: 650; }
.tz-ep .tz-i { width: 17px; height: 17px; }
.tz-ep.is-on { border-color: transparent; background: var(--tz-gold); color: var(--tz-on-gold); }
@media (hover: hover) { .tz-ep:hover { border-color: var(--tz-gold-line); color: var(--tz-gold-ink); } .tz-ep.is-on:hover { color: var(--tz-on-gold); } }
.tz-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.tz-stats > span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; background: rgba(6, 9, 14, .45); color: rgba(255, 255, 255, .9); font-size: 13px; font-weight: 600; }
.tz-stats .tz-i { width: 16px; height: 16px; color: #f3c669; }
.tz-stat-code { color: #f3c669 !important; font-weight: 800 !important; letter-spacing: .4px; }
.tz-profile { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 26px; align-items: start; }
.tz-profile-cover { overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--tz-line); border-radius: 14px; background: var(--tz-skeleton); }
.tz-profile-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.tz-profile-txt h1 { margin: 6px 0 14px; color: var(--tz-text); font-size: 28px; font-weight: 800; }
.tz-profile .tz-stats > span { border-color: var(--tz-line-2); background: var(--tz-raise); color: var(--tz-text-2); }
.tz-profile .tz-summary { margin-top: 12px; color: var(--tz-muted); }

/* ---------- 17. detail page ---------- */
.tz-dhero { position: relative; min-height: 560px; overflow: hidden; background: #0b0f15; }
.tz-dhero-bg { position: absolute; inset: 0; }
.tz-dhero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(3px) saturate(1.05); transform: scale(1.04); opacity: .5; }
.tz-dhero-bg img[data-tz-failed] { opacity: 0; }
.tz-dhero-shade { position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(243, 198, 105, .1), transparent 40%), linear-gradient(90deg, #0a0e14 0%, rgba(10, 14, 20, .9) 32%, rgba(10, 14, 20, .38) 75%), linear-gradient(0deg, var(--tz-bg) 0%, transparent 56%); }
[dir="rtl"] .tz-dhero-shade { background: radial-gradient(circle at 20% 20%, rgba(243, 198, 105, .1), transparent 40%), linear-gradient(-90deg, #0a0e14 0%, rgba(10, 14, 20, .9) 32%, rgba(10, 14, 20, .38) 75%), linear-gradient(0deg, var(--tz-bg) 0%, transparent 56%); }
.tz-dhero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 42px; align-items: center; min-height: 560px; padding-top: 48px; padding-bottom: 72px; }
.tz-poster { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(255, 255, 255, .16); border-radius: 17px; background: var(--tz-skeleton); box-shadow: 0 24px 65px rgba(0, 0, 0, .5); }
.tz-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.tz-poster:focus-visible { outline-color: #f3c669; outline-offset: 3px; border-radius: 18px; }
@media (hover: hover) { .tz-poster:hover img { transform: scale(1.03); } .tz-poster:hover .tz-play--lg { background: #f3c669; border-color: #f3c669; color: #171b21; } }
.tz-dhero-txt { min-width: 0; color: #fff; }
.tz-dhero-txt .tz-crumbs, .tz-dhero-txt .tz-crumbs a { color: rgba(255, 255, 255, .72); }
.tz-dhero-txt .tz-crumbs a:focus-visible { outline-color: #f3c669; }
@media (hover: hover) { .tz-dhero-txt .tz-crumbs a:hover { color: #f3c669; } }
.tz-dhero-txt .tz-eyebrow { color: #f3c669; }
.tz-dtitle { display: -webkit-box; max-width: 860px; margin: 10px 0 18px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; color: #fff; font-size: clamp(26px, 2.8vw, 42px); font-weight: 800; line-height: 1.12; letter-spacing: -.8px; overflow-wrap: anywhere; }
.tz-summary { display: -webkit-box; max-width: 680px; margin-top: 18px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: rgba(255, 255, 255, .78); font-size: 14px; line-height: 1.7; }
.tz-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 24px; }
.tz-actions .tz-btn--glass[aria-pressed="true"] { border-color: #f3c669; color: #f3c669; }
.tz-dbody { position: relative; z-index: 2; margin-top: -36px; padding-bottom: 56px; }

/* ---------- 18. watch page ---------- */
.tz-watch { padding: 26px 0 56px; background: radial-gradient(1200px 420px at 50% -10%, rgba(243, 198, 105, .06), transparent 70%), var(--tz-bg-2); }
.tz-well { position: relative; z-index: 2; padding: 9px; border: 1px solid var(--tz-line); border-radius: 17px; background: #05070a; box-shadow: 0 24px 70px rgba(0, 0, 0, .45); }
.tz-player { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 11px; background: #000; }
.tz-player > .MacPlayer, .tz-player > iframe, .tz-player > div { position: absolute; inset: 0; width: 100% !important; height: 100% !important; min-height: 0; }
.tz-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.tz-player iframe:focus-visible { outline: 3px solid var(--tz-focus); outline-offset: -3px; }
.tz-epnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
[data-color-mode="light"] .tz-well { box-shadow: 0 16px 40px rgba(20, 26, 35, .2); }
.tz-watch-grid { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; margin-top: 16px; }
.tz-infocard { min-width: 0; overflow: hidden; border: 1px solid var(--tz-line); border-radius: 17px; background: var(--tz-coll); box-shadow: 0 18px 48px rgba(0, 0, 0, .22); }
[data-color-mode="light"] .tz-infocard { box-shadow: var(--tz-shadow-sm); }
.tz-wh { padding: 23px 24px 18px; border-bottom: 1px solid var(--tz-line); }
.tz-wtitle { margin-top: 8px; color: var(--tz-text); font-size: 24px; font-weight: 750; line-height: 1.35; letter-spacing: -.25px; overflow-wrap: anywhere; }
.tz-wmeta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; color: var(--tz-muted); font-size: 12px; }
.tz-wmeta > span { display: inline-flex; align-items: center; gap: 5px; }
.tz-wmeta .tz-i { width: 16px; height: 16px; color: var(--tz-gold-ink); }
.tz-actbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 72px; padding: 10px 14px; border-bottom: 1px solid var(--tz-line); }
.tz-act { display: inline-flex; min-width: 64px; min-height: 52px; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 4px 8px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--tz-text-2); transition: background .2s, color .2s, border-color .2s; }
.tz-act .tz-i { width: 22px; height: 22px; }
.tz-act-lbl { color: var(--tz-muted); font-size: 11px; font-weight: 700; white-space: nowrap; }
.tz-act-gap { flex: 1; }
.tz-act.disabled, .tz-act[aria-pressed="true"] { color: var(--tz-gold-ink); }
.tz-act.disabled .tz-act-lbl, .tz-act[aria-pressed="true"] .tz-act-lbl { color: var(--tz-gold-ink); }
.tz-act:focus-visible { outline-offset: -2px; }
@media (hover: hover) { .tz-act:hover { border-color: var(--tz-gold-line); background: var(--tz-gold-tint); color: var(--tz-gold-ink); } .tz-act:hover .tz-act-lbl { color: var(--tz-gold-ink); } }
.tz-desc { padding: 12px 22px 14px; border-bottom: 1px solid var(--tz-line); }
.tz-desc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.tz-desc-head .tz-crumbs { margin: 0; }
.tz-desc-head .tz-crumbs a { color: var(--tz-gold-ink); font-weight: 650; }
.tz-desc-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--tz-muted); font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.tz-desc-btn .tz-i { transition: transform .25s; }
.tz-desc-btn[aria-expanded="true"] .tz-i { transform: rotate(180deg); }
@media (hover: hover) { .tz-desc-btn:hover { background: var(--tz-gold-tint); color: var(--tz-gold-ink); } }
.tz-desc-body { margin-top: 6px; padding: 12px 14px; border-radius: 11px; background: var(--tz-cell); color: var(--tz-text-2); font-size: 13px; line-height: 1.7; }
.tz-desc.is-clamped .tz-desc-body p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.tz-infotext { display: flex; align-items: center; gap: 16px; padding: 18px 22px 0; }
.tz-thumb { position: relative; flex: 0 0 150px; width: 150px; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 10px; background: var(--tz-skeleton); }
.tz-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tz-infotext-txt { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.tz-infotext-txt strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--tz-gold-ink); font-size: 16px; font-weight: 800; letter-spacing: .3px; }
.tz-infotext-txt small { color: var(--tz-muted); font-size: 12px; }
.tz-infocard > .tz-facts { margin: 18px 22px 0; }
.tz-infocard > .tz-chipsec { margin: 16px 22px 0; }
.tz-infocard > :last-child { margin-bottom: 22px; }
.tz-side { padding: 15px; border: 1px solid var(--tz-line); border-radius: 17px; background: var(--tz-coll); box-shadow: 0 18px 48px rgba(0, 0, 0, .2); }
[data-color-mode="light"] .tz-side { box-shadow: var(--tz-shadow-sm); }
.tz-side-h { display: flex; align-items: center; gap: 7px; margin: 3px 4px 12px; padding-bottom: 12px; border-bottom: 1px solid var(--tz-line); color: var(--tz-text); font-size: 15px; font-weight: 750; }
.tz-side-h .tz-i { width: 20px; height: 20px; color: var(--tz-gold-ink); }
.tz-rows { display: grid; gap: 6px; }
.tz-row { display: flex; align-items: center; gap: 11px; padding: 7px; border: 1px solid transparent; border-radius: 11px; color: var(--tz-text); transition: background .2s, border-color .2s; }
.tz-row:focus-visible { outline-offset: -2px; }
@media (hover: hover) { .tz-row:hover { border-color: var(--tz-gold-line); background: var(--tz-gold-tint); } .tz-row:hover b { color: var(--tz-gold-ink); } }
.tz-row-thumb { position: relative; flex: 0 0 124px; width: 124px; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 8px; background: var(--tz-skeleton); }
.tz-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tz-score { position: absolute; top: 6px; inset-inline-start: 6px; display: inline-flex; align-items: center; gap: 3px; min-height: 22px; padding: 0 7px; border: 1px solid rgba(243, 198, 105, .4); border-radius: 7px; background: rgba(9, 13, 19, .84); color: #f3c669; font-size: 11px; font-weight: 800; line-height: 1; }
.tz-score .tz-i { width: 12px; height: 12px; }
.tz-row-txt { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.tz-row-txt b { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 12px; font-weight: 650; line-height: 1.45; overflow-wrap: anywhere; }
.tz-row-txt small { display: inline-flex; align-items: center; gap: 5px; color: var(--tz-muted); font-size: 11px; }
.tz-row-txt small .tz-i { width: 13px; height: 13px; color: var(--tz-gold-ink); }
.tz-watch .tz-coll { margin-top: 26px; }

/* ---------- 19. comments, guestbook, messages ---------- */
.tz-comments .mac_comment { min-height: 60px; }
.tz-cform { display: grid; gap: 12px; }
.tz-cform-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.tz-cform-verify { display: flex; align-items: center; gap: 8px; margin-inline-end: auto; }
.tz-cform-verify .tz-input { width: 150px; }
.tz-cform-verify .mac_verify_img { height: 42px; width: auto; border-radius: 8px; border: 1px solid var(--tz-line-2); background: #fff; color: #171b21; cursor: pointer; }
.tz-cform-verify .mac_verify_img:focus-visible { outline-offset: 2px; }
.tz-input.tz-textarea { min-height: 120px; resize: vertical; padding: 12px 14px; line-height: 1.6; }
.tz-msgs { display: grid; gap: 10px; margin-top: 16px; }
.tz-msg { padding: 14px 16px; border: 1px solid var(--tz-line); border-radius: 12px; background: var(--tz-cell); }
.tz-msg-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 6px; }
.tz-msg-head strong { color: var(--tz-text); font-size: 13px; }
.tz-msg-head time { color: var(--tz-muted); font-size: 11px; }
.tz-msg p { color: var(--tz-text-2); font-size: 13px; overflow-wrap: anywhere; }
.tz-msg-reply { margin-top: 10px; padding: 10px 12px; border-inline-start: 3px solid var(--tz-gold); border-radius: 8px; background: var(--tz-gold-tint); color: var(--tz-text-2); font-size: 13px; }
.tz-msg-reply strong { color: var(--tz-gold-ink); }
.tz-msg-act { display: flex; gap: 4px; margin-top: 6px; }
.tz-cpages { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.tz-gb { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
.tz-gb .tz-panel { margin-bottom: 0; }

/* ---------- 20. inputs + account panel ---------- */
.tz-input {
  display: block; width: 100%; min-height: 46px; padding: 0 14px;
  border: 1px solid var(--tz-line-2); border-radius: 10px; background: var(--tz-field);
  color: var(--tz-text); font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.tz-input::placeholder { color: var(--tz-muted); opacity: 1; }
.tz-input:focus-visible { outline: none; border-color: var(--tz-focus); box-shadow: 0 0 0 1px var(--tz-focus), var(--tz-focus-ring); }
.tz-label { display: block; margin-bottom: 6px; color: var(--tz-text-2); font-size: 13px; font-weight: 700; }
.tz-auth.tz-main { position: relative; display: grid; place-items: start center; min-height: calc(100vh - var(--tz-bar-h)); padding: 70px 18px 70px; overflow: hidden; }
.tz-auth-bg { position: absolute; inset: 0; background: radial-gradient(700px 420px at 15% 10%, rgba(243, 198, 105, .1), transparent 70%), radial-gradient(800px 500px at 90% 90%, rgba(83, 151, 226, .1), transparent 70%), linear-gradient(90deg, rgba(7, 11, 17, .4), transparent); pointer-events: none; }
[data-color-mode="light"] .tz-auth-bg { background: radial-gradient(700px 420px at 15% 10%, rgba(243, 198, 105, .22), transparent 70%), radial-gradient(800px 500px at 90% 90%, rgba(83, 151, 226, .12), transparent 70%); }
.tz-acct { position: relative; z-index: 2; width: min(440px, 100%); overflow: hidden; border: 1px solid var(--tz-line-2); border-radius: 18px; background: var(--tz-glass-2); box-shadow: 0 30px 90px rgba(0, 0, 0, .48); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
[data-color-mode="light"] .tz-acct { background: #fff; box-shadow: 0 24px 60px rgba(20, 26, 35, .14); }
.tz-acct--modal { margin: 0 auto; padding: 20px; }
.tz-ribbon { position: absolute; z-index: 3; top: 18px; inset-inline-end: -38px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; width: 150px; padding: 5px 0; background: var(--tz-grad-gold); color: #171b21; font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; transform: rotate(45deg); box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
[dir="rtl"] .tz-ribbon { transform: rotate(-45deg); }
.tz-ribbon .tz-i { width: 13px; height: 13px; }
.tz-acct-head { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px 26px 10px; text-align: center; }
.tz-apptile { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 12px; border-radius: 17px; background: var(--tz-grad-gold); box-shadow: 0 13px 30px rgba(243, 198, 105, .22); color: #171b21; }
.tz-apptile .tz-i { width: 28px; height: 28px; }
.tz-acct-head h1, .tz-acct h2 { color: var(--tz-text); font-size: 26px; font-weight: 800; letter-spacing: -.3px; }
.tz-acct-head p { max-width: 300px; color: var(--tz-muted); font-size: 13px; line-height: 1.55; }
.tz-acct-tabs { display: flex; gap: 6px; margin: 8px 26px 0; padding: 4px; border: 1px solid var(--tz-line-2); border-radius: 11px; background: var(--tz-cell); }
.tz-acct-tabs a { flex: 1; display: grid; place-items: center; min-height: 40px; padding: 0 10px; border-radius: 8px; color: var(--tz-muted); font-size: 12px; font-weight: 700; text-align: center; }
.tz-acct-tabs a[aria-current] { background: var(--tz-gold-tint-2); color: var(--tz-gold-ink); }
.tz-acct-tabs a:focus-visible { outline-offset: -2px; }
@media (hover: hover) { .tz-acct-tabs a:hover { color: var(--tz-text); } .tz-acct-tabs a[aria-current]:hover { color: var(--tz-gold-ink); } }
.tz-acct-form { display: grid; gap: 14px; padding: 20px 26px 24px; }
.tz-field { position: relative; display: flex; align-items: center; }
.tz-field .tz-input { padding-inline-start: 44px; }
.tz-field-ico { position: absolute; inset-inline-start: 14px; top: 50%; display: grid; place-items: center; color: var(--tz-muted); transform: translateY(-50%); pointer-events: none; }
.tz-field-ico .tz-i { width: 19px; height: 19px; }
.tz-field .tz-input:focus-visible + .tz-eye, .tz-field:focus-within .tz-field-ico { color: var(--tz-gold-ink); }
.tz-eye { position: absolute; inset-inline-end: 4px; top: 50%; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--tz-muted); transform: translateY(-50%); }
.tz-field:has(.tz-eye) .tz-input { padding-inline-end: 48px; }
.tz-eye .tz-eye-off { display: none; }
.tz-eye[aria-pressed="true"] .tz-eye-on { display: none; }
.tz-eye[aria-pressed="true"] .tz-eye-off { display: inline-block; }
.tz-eye:focus-visible { outline-offset: -2px; }
@media (hover: hover) { .tz-eye:hover { color: var(--tz-gold-ink); } }
.tz-field--captcha .tz-input { padding-inline-end: 132px; }
.tz-captcha { position: absolute; inset-inline-end: 4px; top: 4px; bottom: 4px; display: grid; place-items: center; width: 120px; overflow: visible; border: 1px dashed var(--tz-line-3); border-radius: 8px; background: var(--tz-cell); color: var(--tz-muted); }
.tz-captcha .tz-i { width: 18px; height: 18px; }
.tz-captcha img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 7px; background: #fff; color: #171b21; cursor: pointer; }
.tz-captcha img:focus-visible { outline-offset: 2px; }
.tz-captcha--on { border-style: solid; }
.tz-field--send .tz-input { padding-inline-end: 8px; }
.tz-field--send .tz-btn { flex: none; margin-inline-start: 8px; }
.tz-acct-sep { height: 1px; margin: 4px 0; background: var(--tz-line); }
.tz-acct-foot { display: grid; gap: 12px; padding: 18px 26px 24px; border-top: 1px solid var(--tz-line); background: var(--tz-cell); text-align: center; }
.tz-acct-foot p { color: var(--tz-text-2); font-size: 13px; font-weight: 600; }
.tz-acct-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; font-size: 13px; }
.tz-acct-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--tz-gold-ink); }

/* ---------- 21. user centre ---------- */
.tz-uc { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 22px; align-items: start; padding-top: 28px; padding-bottom: 56px; }
.tz-uc-side { position: sticky; top: calc(var(--tz-bar-h) + 16px); display: grid; gap: 12px; }
.tz-uc-card { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--tz-gold-line); border-radius: 14px; background: radial-gradient(circle at 100% 0, rgba(243, 198, 105, .16), transparent 50%), linear-gradient(135deg, var(--tz-raise), var(--tz-panel)); }
.tz-uc-avatar { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; object-fit: cover; }
.tz-uc-avatar--empty { background: var(--tz-grad-gold); color: #171b21; font-size: 22px; font-weight: 800; }
.tz-uc-who { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.tz-uc-who strong { overflow: hidden; color: var(--tz-text); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.tz-uc-who small { color: var(--tz-muted); font-size: 12px; }
.tz-uc-badge { display: inline-flex; align-items: center; gap: 5px; width: max-content; max-width: 100%; padding: 2px 8px; border: 1px solid var(--tz-gold-line); border-radius: 999px; background: var(--tz-gold-tint); color: var(--tz-gold-ink); font-size: 11px; font-weight: 800; }
.tz-uc-badge .tz-i { width: 13px; height: 13px; }
.tz-uc-nav { display: grid; gap: 3px; padding: 8px; border: 1px solid var(--tz-line); border-radius: 14px; background: var(--tz-panel); }
.tz-uc-nav a { position: relative; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border: 1px solid transparent; border-radius: 10px; color: var(--tz-text-2); font-size: 13px; font-weight: 650; }
.tz-uc-nav a[aria-current] { border-color: var(--tz-gold-line); background: var(--tz-gold-tint); color: var(--tz-gold-ink); }
.tz-uc-nav a[aria-current] .tz-tico { background: var(--tz-gold-tint-2); color: var(--tz-gold-ink); }
.tz-uc-nav a:focus-visible { outline-offset: -2px; }
@media (hover: hover) { .tz-uc-nav a:hover { background: var(--tz-raise); color: var(--tz-text); } .tz-uc-nav a[aria-current]:hover { background: var(--tz-gold-tint-2); color: var(--tz-gold-ink); } }
.tz-uc-main { min-width: 0; }
.tz-uc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.tz-uc-stat { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--tz-line); border-radius: 14px; background: var(--tz-panel); }
.tz-uc-stat-k { display: flex; align-items: center; gap: 6px; color: var(--tz-muted); font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.tz-uc-stat-k .tz-i { width: 16px; height: 16px; color: var(--tz-gold-ink); }
.tz-uc-stat strong { overflow: hidden; color: var(--tz-text); font-size: 18px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.tz-uc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tz-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; overflow: hidden; border: 1px solid var(--tz-line); border-radius: 12px; background: var(--tz-cell); }
.tz-kv > div { min-width: 0; padding: 13px 16px; box-shadow: 1px 0 0 var(--tz-line), 0 1px 0 var(--tz-line); }
.tz-kv dt { margin-bottom: 4px; color: var(--tz-muted); font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.tz-kv dd { margin: 0; color: var(--tz-text); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.tz-form { display: grid; gap: 14px; max-width: 640px; }
.tz-form--narrow { max-width: 420px; margin: 16px auto 0; }
.tz-form-gap { margin-top: 22px; }
.tz-frow { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 8px 16px; }
.tz-frow .tz-label { margin: 0; }
.tz-frow--end { display: flex; justify-content: flex-end; gap: 10px; }
.tz-inline { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tz-inline .tz-input { flex: 1; min-width: 0; }
.tz-avatar-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
.tz-avatar-form label { cursor: pointer; }
.tz-avatar-form:focus-within label { outline: 2px solid var(--tz-focus); outline-offset: 2px; }
.tz-table-wrap { overflow-x: auto; border: 1px solid var(--tz-line); border-radius: 12px; }
.tz-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tz-table th, .tz-table td { padding: 12px 14px; border-bottom: 1px solid var(--tz-line); text-align: start; vertical-align: middle; }
.tz-table thead th { background: var(--tz-cell); color: var(--tz-muted); font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.tz-table tbody tr:last-child > * { border-bottom: 0; }
.tz-table a { color: var(--tz-text); font-weight: 600; }
@media (hover: hover) { .tz-table a:hover { color: var(--tz-gold-ink); } }
.tz-table th[scope="row"] { color: var(--tz-text); font-weight: 700; }
.tz-th-child { padding-inline-start: 30px !important; color: var(--tz-text-2) !important; }
.tz-td-check { width: 44px; }
.tz-td-check input { width: 18px; height: 18px; accent-color: var(--tz-gold-2); }
.tz-td-muted { color: var(--tz-muted); }
.tz-td-nowrap { white-space: nowrap; }
.tz-perms { display: flex; flex-wrap: wrap; gap: 6px; }
.tz-perm { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border: 1px solid var(--tz-gold-line); border-radius: 7px; background: var(--tz-gold-tint); color: var(--tz-gold-ink); font-size: 12px; font-weight: 700; }
.tz-perm.is-off { border-color: var(--tz-line-2); background: var(--tz-cell); color: var(--tz-muted); text-decoration: line-through; }
.tz-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.tz-plan { display: grid; gap: 8px; padding: 18px; border: 1px solid var(--tz-gold-line); border-radius: 14px; background: radial-gradient(circle at 100% 0, rgba(243, 198, 105, .14), transparent 50%), var(--tz-cell); }
.tz-plan h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; color: var(--tz-text); font-size: 17px; }
.tz-plan h2 .tz-i { color: var(--tz-gold-ink); }

/* ---------- 22. state pages ---------- */
.tz-state { padding-top: 40px; padding-bottom: 56px; }
.tz-state-card { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 640px; margin: 0 auto 30px; padding: 40px 28px; border: 1px solid var(--tz-line); border-radius: 18px; background: radial-gradient(circle at 50% 0, var(--tz-glow), transparent 60%), var(--tz-panel); box-shadow: var(--tz-shadow); text-align: center; }
.tz-state-card h1 { color: var(--tz-text); font-size: 26px; font-weight: 800; }
.tz-state-card > p { color: var(--tz-muted); font-size: 14px; }
.tz-state-big { color: transparent; background: var(--tz-grad-gold); -webkit-background-clip: text; background-clip: text; font-size: clamp(64px, 11vw, 110px); font-weight: 800; line-height: 1; letter-spacing: -3px; }
[data-color-mode="light"] .tz-state-big { background: linear-gradient(135deg, #b98412, #7a5900); -webkit-background-clip: text; background-clip: text; }
.tz-state-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--tz-gold-tint); color: var(--tz-gold-ink); }
.tz-state-ico .tz-i { width: 32px; height: 32px; }
.tz-state-ico--ok { background: rgba(89, 201, 133, .14); color: var(--tz-ok); }
.tz-state-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tz-state-card .tz-bigsearch { width: 100%; margin: 4px 0; }
.tz-state-card .tz-note a { color: var(--tz-gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.tz-copy { display: flex; gap: 8px; width: 100%; }
.tz-copy .tz-input { flex: 1; min-width: 0; }
.tz-standalone .tz-state { display: grid; place-items: center; min-height: 100vh; }
.tz-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-bottom: 20px; color: var(--tz-muted); font-size: 13px; }
.tz-links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--tz-text-2); }
.tz-maplist { display: grid; gap: 2px; counter-reset: tzmap; }
.tz-maplist li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; padding: 8px 12px; border-bottom: 1px solid var(--tz-line); counter-increment: tzmap; }
.tz-maplist li::before { content: counter(tzmap); color: var(--tz-gold-ink); font-size: 12px; font-weight: 800; }
.tz-maplist a { display: -webkit-box; min-width: 0; padding: 0; border-block: 6px solid transparent; scroll-margin-block: 12px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--tz-text); font-size: 13px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; border-radius: 4px; }
.tz-maplist-meta { display: inline-flex; gap: 10px; color: var(--tz-muted); font-size: 12px; white-space: nowrap; }
@media (max-width: 767px) { .tz-maplist li { grid-template-columns: 28px minmax(0, 1fr); padding: 8px 4px; } .tz-maplist-meta { grid-column: 2; } }
@media (hover: hover) { .tz-maplist a:hover { color: var(--tz-gold-ink); } }

/* ---------- 23. footer ---------- */
.tz-foot { position: relative; margin-top: 10px; overflow: hidden; border-top: 1px solid var(--tz-line); background: var(--tz-foot); color: var(--tz-text); }
.tz-foot-glow { position: absolute; top: -230px; left: 50%; width: 700px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(243, 198, 105, .1), transparent 68%); transform: translateX(-50%); pointer-events: none; }
[data-color-mode="light"] .tz-foot-glow { background: radial-gradient(circle, rgba(243, 198, 105, .22), transparent 68%); }
.tz-foot-main { position: relative; display: grid; grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(150px, 1fr)); gap: 48px; width: 100%; max-width: calc(var(--tz-max) + 60px); margin: 0 auto; padding: 60px 30px 44px; }
.tz-foot-brand .tz-brand { height: auto; padding: 4px; font-size: 21px; }
.tz-foot-brand .tz-tile { width: 40px; height: 40px; border-radius: 12px; }
.tz-foot-brand .tz-word { max-width: 280px; white-space: normal; line-height: 1.2; }
.tz-foot-brand p { margin: 16px 0 18px; max-width: 380px; color: var(--tz-muted); font-size: 13px; line-height: 1.75; }
.tz-foot-act { display: flex; align-items: center; gap: 8px; }
.tz-top { border-color: var(--tz-line-2); background: var(--tz-raise); }
.tz-foot-h { position: relative; margin: 4px 0 18px; padding-bottom: 12px; color: var(--tz-text); font-size: 13px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.tz-foot-h::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--tz-gold); }
.tz-foot-col ul { display: grid; gap: 2px; }
.tz-foot-col li a { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; color: var(--tz-muted); font-size: 13px; border-radius: 6px; transition: color .2s, transform .2s; }
.tz-foot-col li a .tz-i { width: 16px; height: 16px; }
.tz-foot-col > p { margin-bottom: 14px; color: var(--tz-muted); font-size: 13px; line-height: 1.7; }
@media (hover: hover) { .tz-foot-col li a:hover { color: var(--tz-gold-ink); transform: translateX(3px); } [dir="rtl"] .tz-foot-col li a:hover { transform: translateX(-3px); } }
.tz-foot-acc { display: grid; gap: 8px; }
.tz-foot-acc a { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 12px; border: 1px solid var(--tz-line-2); border-radius: 9px; background: var(--tz-raise); color: var(--tz-text-2); font-size: 13px; font-weight: 600; }
.tz-foot-acc a .tz-i { width: 18px; height: 18px; color: var(--tz-gold-ink); }
@media (hover: hover) { .tz-foot-acc a:hover { border-color: var(--tz-gold-line); color: var(--tz-gold-ink); } }
.tz-foot-bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; width: calc(100% - 60px); max-width: var(--tz-max); min-height: 64px; margin: 0 auto; padding: 14px 0; border-top: 1px solid var(--tz-line); color: var(--tz-muted); font-size: 12px; }
.tz-foot-adult { display: block; }
.tz-foot-adult .tz-adult-dot { margin-inline-end: 8px; vertical-align: 1px; }
.tz-foot-bottom a { color: var(--tz-gold-ink); }

/* ---------- 24. effects ---------- */
/* reveal: transform only, so content is never invisible (screenshots, keyboard focus, no-JS) */
[data-tz-reveal] { transition: transform .7s cubic-bezier(.22, .7, .24, 1), box-shadow .7s ease; }
.tz-js [data-tz-reveal].tz-pre { transform: translateY(26px) scale(.985); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .tz-js [data-tz-reveal].tz-pre { transform: none; }
  .tz-slide-img { transform: none !important; }
}

/* ---------- 25. responsive ---------- */
@media (max-width: 1399px) {
  .tz-pill--xl { display: none; }
}
@media (max-width: 1279px) {
  .tz-guestbtns .tz-reg span, .tz-guestbtns .tz-login span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .tz-guestbtns .tz-btn { width: 42px; padding: 0; }
  .tz-watch-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .tz-row-thumb { flex-basis: 106px; width: 106px; }
  .tz-foot-main { gap: 32px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .tz-disc-intro { flex-basis: 180px; padding: 0 18px; }
  .tz-disc-links a { gap: 9px; padding: 10px; }
  .tz-dico { flex-basis: 38px; width: 38px; height: 38px; }
}
@media (max-width: 1023px) {
  :root { --tz-bar-h: 62px; --tz-gutter: 16px; --tz-cols: 4; --tz-gap: 12px; --tz-gap-y: 14px; }
  .tz-pills { display: none; }
  .tz-search { max-width: none; margin-inline: 8px; }
  .tz-guestbtns { display: none; }
  .tz-member { display: none; }
  .tz-acct-btn { display: inline-grid; border-color: var(--tz-line-2); background: var(--tz-raise); }
  .tz-hero { width: calc(100% - 24px); margin-top: 12px; border-radius: 15px; }
  .tz-slide-body { width: min(640px, 78%); }
  .tz-disc { width: calc(100% - 32px); margin-top: -38px; padding: 10px; }
  .tz-disc-intro { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .tz-disc-links { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; }
  .tz-disc-links a { gap: 8px; padding: 8px; }
  .tz-dtxt small { display: none; }
  .tz-dtxt b { font-size: 13px; }
  .tz-dico { flex-basis: 36px; width: 36px; height: 36px; border-radius: 10px; }
  .tz-watch-grid { grid-template-columns: minmax(0, 1fr); }
  .tz-side { display: none; }
  .tz-dhero-in { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 28px; }
  .tz-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tz-fact:last-child:nth-child(3n+1), .tz-fact:last-child:nth-child(3n+2) { grid-column: auto; }
  .tz-fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .tz-catgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tz-catchip:last-child:nth-child(4n+1), .tz-catchip:last-child:nth-child(4n+2), .tz-catchip:last-child:nth-child(4n+3) { grid-column: auto; }
  .tz-catchip:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .tz-catchip:last-child:nth-child(3n+2) { grid-column: span 2; }
  .tz-catchip { gap: 10px; padding: 10px 12px; }
  .tz-catchip > .tz-i { display: none; }
  .tz-catchip-txt b { font-size: 13px; }
  .tz-uc { grid-template-columns: minmax(0, 1fr); }
  .tz-uc-side { position: static; }
  .tz-uc-nav { display: flex; overflow-x: auto; scrollbar-width: none; padding: 6px; }
  .tz-uc-nav::-webkit-scrollbar { display: none; }
  .tz-uc-nav a { flex: none; }
  .tz-gb { grid-template-columns: minmax(0, 1fr); }
  .tz-foot-main { grid-template-columns: 1.3fr 1fr 1fr; gap: 30px 24px; padding: 46px 24px 36px; }
  .tz-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  :root { --tz-bar-h: 58px; --tz-gutter: 12px; --tz-cols: 2; --tz-gap: 9px; --tz-gap-y: 12px; }
  body { font-size: 14px; }
  .tz-bar-in { gap: 4px; padding-inline: 8px; }
  .tz-menu-btn, .tz-search-btn, .tz-acct-btn { width: 42px; height: 42px; }
  .tz-brand { flex: 1 1 auto; height: 44px; gap: 8px; padding: 0 2px; font-size: 16px; }
  .tz-brand .tz-tile { width: 30px; height: 30px; border-radius: 9px; }
  .tz-brand .tz-tile .tz-i { width: 16px; height: 16px; }
  .tz-logo { height: 32px; max-width: min(150px, 42vw); }
  .tz-tools { display: none; }
  .tz-search-btn { display: inline-grid; border-color: var(--tz-line-2); background: var(--tz-raise); }
  .tz-search-btn[aria-expanded="true"] { border-color: var(--tz-gold-line); background: var(--tz-gold-tint); color: var(--tz-gold-ink); }
  .tz-search { display: none; position: absolute; z-index: 80; top: calc(100% + 8px); inset-inline: 10px; max-width: none; margin: 0; background: var(--tz-pop); box-shadow: 0 17px 48px rgba(0, 0, 0, .48); border-color: var(--tz-gold-line); }
  .tz-search.is-open { display: flex; }
  .tz-sug-list { max-height: calc(100vh - 200px); }
  .tz-sug-thumb { flex-basis: 80px; width: 80px; height: 45px; }
  .tz-hero { width: calc(100% - 16px); margin-top: 8px; border-radius: 13px; }
  .tz-slide { display: flex; flex-direction: column; height: auto; background: var(--tz-coll); }
  .tz-slide-media { position: relative; inset: auto; flex: none; aspect-ratio: 16 / 9; background: radial-gradient(circle at 76% 34%, rgba(243, 198, 105, .14), transparent 42%), linear-gradient(135deg, #1a2230, #0b1017); }
  .tz-slide-img { width: 100%; -webkit-mask-image: none; mask-image: none; }
  [dir="rtl"] .tz-slide-img { -webkit-mask-image: none; mask-image: none; }
  .tz-slide-shade { inset: 0 0 auto; height: auto; aspect-ratio: 16 / 9; background: linear-gradient(0deg, rgba(10, 14, 20, .55) 0%, transparent 50%); }
  [dir="rtl"] .tz-slide-shade { background: linear-gradient(0deg, rgba(10, 14, 20, .55) 0%, transparent 50%); }
  .tz-slide-body { position: relative; bottom: auto; inset-inline-start: auto; width: auto; padding: 14px 14px 16px; color: var(--tz-text); }
  .tz-badge { margin: 0 0 10px; padding: 5px 10px; border-color: var(--tz-gold-line); background: var(--tz-gold-tint); color: var(--tz-gold-ink); font-size: 10px; box-shadow: none; }
  .tz-slide-title { margin-bottom: 10px; font-size: 20px; text-shadow: none; }
  .tz-slide-title a { -webkit-line-clamp: 2; color: var(--tz-text); }
  .tz-slide-meta > span { padding: 4px 8px; border-color: var(--tz-line-2); background: var(--tz-raise); color: var(--tz-text-2); font-size: 12px; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tz-slide-meta .tz-i { color: var(--tz-gold-ink); }
  .tz-slide-desc { display: none; }
  .tz-slide-act { margin-top: 12px; gap: 8px; }
  .tz-slide-act .tz-btn { flex: 1; min-height: 44px; padding: 0 12px; font-size: 13px; }
  .tz-slide-act .tz-btn--glass { border-color: var(--tz-line-2); background: var(--tz-raise); color: var(--tz-text); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tz-hero-arrow { display: none; }
  .tz-hero-dots { top: calc((100vw - 16px) * 9 / 16 - 46px); bottom: auto; inset-inline-end: 6px; gap: 0; padding: 0 4px; background: rgba(9, 13, 19, .5); }
  .tz-hero-dots button, .tz-hero-dots button[aria-current="true"] { width: 40px; height: 40px; }
  .tz-crumbs a { min-height: 40px; min-width: 40px; justify-content: center; padding: 0 4px; }
  .tz-maplist a { min-height: 40px; border-block-width: 9px; }
  .tz-fact-links { margin-block: -4px -5px; }
  .tz-fact-links a { min-height: 40px; min-width: 40px; align-items: flex-start; justify-content: center; padding-top: 4px; border-bottom: 0; text-decoration: underline dashed var(--tz-line-3); text-decoration-thickness: 1px; text-underline-offset: 4px; }
  .tz-tagchip { min-height: 40px; }
  .tz-foot-col li a { min-height: 40px; }
  .tz-disc { width: calc(100% - 20px); min-height: 0; margin: 12px auto 18px; padding: 8px; border-radius: 14px; }
  .tz-disc-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .tz-disc-links a { min-height: 56px; padding: 8px; background: var(--tz-raise); }
  .tz-dico { flex-basis: 36px; width: 36px; height: 36px; border-radius: 10px; }
  .tz-dico .tz-i { width: 18px; height: 18px; }
  .tz-dtxt b { font-size: 12px; }
  .tz-coll { margin-bottom: 20px; padding: 13px 10px 14px; border-radius: 13px; }
  .tz-coll-head { gap: 8px; min-height: 50px; margin-bottom: 12px; padding: 0 2px 12px; }
  .tz-coll-ico { flex-basis: 38px; width: 38px; height: 38px; border-radius: 10px; }
  .tz-coll-ico .tz-i { width: 19px; height: 19px; }
  .tz-coll-title { gap: 9px; }
  .tz-coll-title h2 { font-size: 17px; line-height: 1.2; }
  .tz-coll-title p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 11px; line-height: 1.35; }
  .tz-seg-all { min-width: 0; height: 40px; padding: 0 9px; font-size: 11px; letter-spacing: .2px; }
  .tz-seg-btn { width: 40px; height: 40px; }
  .tz-seg-btn .tz-i { width: 21px; height: 21px; }
  .tz-card-body { padding: 8px 9px 8px; gap: 4px; }
  .tz-card-title { font-size: 12px; line-height: 1.38; }
  .tz-card-meta { gap: 9px; font-size: 11px; }
  .tz-chip { bottom: 6px; padding: 2px 6px; font-size: 10px; }
  .tz-chip--code { top: 6px; bottom: auto; inset-inline-start: 6px; max-width: calc(100% - 12px); }
  .tz-chip--time { inset-inline-end: 6px; }
  .tz-catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tz-catchip:last-child:nth-child(3n+1), .tz-catchip:last-child:nth-child(3n+2) { grid-column: auto; }
  .tz-catchip:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .tz-catchip { min-height: 56px; gap: 8px; padding: 8px 10px; }
  .tz-catchip-ico { width: 34px; height: 34px; }
  .tz-catchip > .tz-i { display: none; }
  .tz-catchip-txt b { font-size: 13px; }
  .tz-callout { min-height: 0; padding: 18px 2px 14px; }
  .tz-callout h1 { font-size: 23px; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .tz-sortbar { position: relative; top: auto; min-height: 0; margin-bottom: 16px; padding: 6px; overflow-x: auto; scrollbar-width: none; border-radius: 12px; }
  .tz-sortbar::-webkit-scrollbar { display: none; }
  .tz-sort-lbl { display: none; }
  .tz-sort { min-height: 40px; padding: 0 12px; }
  .tz-sort--reset { margin-inline-start: 6px; }
  .tz-panel { padding: 16px 14px; border-radius: 14px; margin-bottom: 14px; }
  .tz-panel-head h1, .tz-panel-head h2 { font-size: 19px; }
  .tz-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tz-fact { padding: 11px 12px; }
  .tz-fact-v { font-size: 13px; }
  .tz-dhero { min-height: 0; }
  .tz-dhero-in { display: block; min-height: 0; padding-top: 14px; padding-bottom: 50px; }
  .tz-poster { margin-bottom: 16px; border-radius: 13px; }
  .tz-dtitle { margin: 8px 0 12px; font-size: 22px; line-height: 1.18; letter-spacing: -.3px; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .tz-summary { -webkit-line-clamp: 2; font-size: 13px; }
  .tz-actions .tz-btn { flex: 1; }
  .tz-dbody { margin-top: -26px; }
  .tz-watch { padding: 8px 0 34px; }
  .tz-watch > .tz-wrap { padding-inline: 8px; }
  .tz-well { padding: 4px; border-radius: 11px; }
  .tz-player { border-radius: 7px; }
  .tz-watch-grid { margin-top: 10px; gap: 12px; }
  .tz-infocard { border-radius: 13px; }
  .tz-wh { padding: 15px 14px 13px; }
  .tz-wtitle { font-size: 17px; line-height: 1.35; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .tz-wmeta { gap: 6px 12px; font-size: 11px; }
  .tz-actbar { min-height: 0; gap: 2px; padding: 6px; }
  .tz-act { min-width: 0; flex: 1 1 0; padding: 4px 2px; }
  .tz-act-gap { display: none; }
  .tz-act-lbl { max-width: 100%; overflow: hidden; font-size: 10px; text-overflow: ellipsis; }
  .tz-desc { padding: 10px 12px 12px; }
  .tz-infotext { gap: 11px; padding: 14px 12px 0; }
  .tz-thumb { flex-basis: 112px; width: 112px; }
  .tz-infotext-txt strong { font-size: 14px; }
  .tz-infocard > .tz-facts { margin: 14px 12px 0; }
  .tz-infocard > .tz-chipsec { margin: 14px 12px 0; }
  .tz-infocard > :last-child { margin-bottom: 14px; }
  .tz-auth.tz-main { padding: 26px 10px 40px; }
  .tz-acct { border-radius: 14px; }
  .tz-acct-head { padding: 22px 18px 6px; }
  .tz-acct-head h1 { font-size: 22px; }
  .tz-apptile { width: 50px; height: 50px; border-radius: 14px; }
  .tz-acct-tabs { margin: 8px 16px 0; }
  .tz-acct-form { padding: 16px 16px 18px; }
  .tz-acct-foot { padding: 16px; }
  .tz-ribbon { top: 14px; inset-inline-end: -42px; font-size: 10px; }
  .tz-uc { padding-top: 16px; gap: 14px; }
  .tz-uc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tz-uc-stat { padding: 12px; }
  .tz-uc-stat strong { font-size: 16px; }
  .tz-kv { grid-template-columns: minmax(0, 1fr); }
  .tz-frow { grid-template-columns: minmax(0, 1fr); }
  .tz-frow--end .tz-btn { flex: 1; }
  .tz-profile { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tz-state { padding-top: 22px; }
  .tz-state-card { padding: 28px 16px; }
  .tz-copy { flex-direction: column; }
  .tz-foot-main { grid-template-columns: 1fr 1fr; gap: 28px 16px; padding: 38px 16px 28px; }
  .tz-foot-col:last-child { grid-column: 1 / -1; }
  .tz-foot-bottom { width: calc(100% - 32px); flex-direction: column; justify-content: center; text-align: center; }
  .tz-table thead { display: none; }
  .tz-table, .tz-table tbody, .tz-table tr, .tz-table td, .tz-table th { display: block; width: 100%; }
  .tz-table tr { padding: 8px 4px; border-bottom: 1px solid var(--tz-line); }
  .tz-table td, .tz-table th { padding: 4px 10px; border: 0; }
  .tz-td-check { width: auto; }
}
@media (hover: hover) and (max-width: 767px) { .tz-fact-links a:hover { text-decoration-color: var(--tz-gold-line); } }
@media (max-width: 559px) {
  .tz-actbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .tz-act { min-width: 0; }
}
@media (max-width: 400px) {
  .tz-coll-title p { display: none; }
  .tz-catchip { gap: 7px; padding: 8px; }
  .tz-catchip-ico { width: 30px; height: 30px; border-radius: 9px; }
  .tz-catchip-txt b { font-size: 12.5px; }
  .tz-word { max-width: 46vw; }
}
@media (max-width: 359px) {
  .tz-seg-all { display: none; }
  .tz-seg-btn:first-of-type { border-inline-start: 1px solid var(--tz-line-3); border-start-start-radius: 9px; border-end-start-radius: 9px; }
}
@media (min-width: 1600px) {
  :root { --tz-max: 1500px; }
}
