:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --bg-elevated: rgba(18, 18, 22, .42);
  --bg-card: #121216;
  --bg-input: #101014;
  --bg-soft: rgba(255, 255, 255, .06);
  --bg-hover: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #f4f4f5;
  --muted: #9a9aa3;
  --faint: #6d6d76;
  --accent: #d7b07a;
  --accent-strong: #e8c49a;
  --accent-ink: #1a140c;
  --accent-rgb: 215, 176, 122;
  --gold: var(--accent);
  --danger: #e37575;
  --success: #7dcb9a;
  --overlay: rgba(0, 0, 0, .55);
  --radius: 10px;
  --radius-sm: 8px;
  --header-h: 56px;
  --watch-player-h: 0px;
  --rail-w: 220px;
  --rail-mini: 72px;
  --shadow: 0 12px 40px rgba(0, 0, 0, .28);
  --font: Inter, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, monospace;
  --glass: rgba(16, 16, 20, .4);
  --glass-blur: blur(20px) saturate(1.3);
  --header-bg: linear-gradient(180deg, rgba(11,11,13,.55), rgba(11,11,13,.28) 70%, rgba(11,11,13,0));
  --rail-bg: rgba(11, 11, 13, .58);
  --chip-bg: rgba(255,255,255,.04);
  --watch-chip: #272727;
  --watch-chip-hover: #3f3f3f;
  --watch-text: #f1f1f1;
  --watch-desc-base: #1a120c;
  --watch-desc-tint: rgba(var(--accent-rgb), .30);
  --watch-desc-hover: linear-gradient(0deg, var(--watch-desc-tint), var(--watch-desc-tint)), var(--watch-desc-base);
  --video-card-hover: color-mix(in srgb, rgb(var(--accent-rgb)) 22%, #1f1f1f);
  --glow-a: rgba(59,155,255,.16);
  --glow-b: rgba(var(--accent-rgb), .1);
}

body[data-accent="red"] {
  --accent: #ff0000;
  --accent-strong: #ff3d3d;
  --accent-ink: #ffffff;
  --accent-rgb: 255, 0, 0;
  /* Keep Gold-style atmosphere (cool + soft warm glow) — not a red wash */
  --glow-a: rgba(59, 155, 255, .16);
  --glow-b: rgba(215, 176, 122, .1);
  --watch-desc-base: #1a120c;
  --watch-desc-tint: rgba(255, 0, 0, .18);
  --watch-desc-hover: linear-gradient(0deg, var(--watch-desc-tint), var(--watch-desc-tint)), var(--watch-desc-base);
  --video-card-hover: color-mix(in srgb, rgb(255, 0, 0) 10%, #1f1f1f);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; max-width: 100%; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; color-scheme: dark; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  overflow-x: hidden;
  transition: background-color .2s ease, color .2s ease;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 46% at 12% -8%, var(--glow-a), transparent 56%),
    radial-gradient(ellipse 60% 40% at 92% 8%, var(--glow-b), transparent 50%),
    radial-gradient(ellipse 50% 36% at 50% 100%, rgba(255,255,255,.04), transparent 60%);
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, p { margin: 0; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 80;
  background: var(--accent); color: #111; padding: .5rem .8rem; border-radius: 6px;
}
.skip-link:focus { left: 12px; }

.app {
  min-height: 100vh;
  padding-top: var(--header-h);
  padding-left: var(--rail-w);
}
body.is-rail-mini { --rail-w: var(--rail-mini); }
.app.is-bare { padding: 0; }
@media (min-width: 861px) {
  body.is-rail-ready .app { transition: padding-left .2s ease; }
  body.is-rail-ready .header { transition: left .2s ease; }
  body.is-rail-ready .rail { transition: width .2s ease; }
}

.header {
  position: fixed; top: 0; left: var(--rail-w); right: 0; height: var(--header-h);
  z-index: 40; display: flex; align-items: center; gap: 12px;
  padding: 0 20px;
  background: var(--header-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
body.is-header-solid .header {
  background: var(--bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.is-header-solid .header .search-form {
  background: var(--bg-input);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.brand {
  display: flex; align-items: center; gap: 8px; flex: 0 0 auto;
  font-weight: 760; letter-spacing: .18em; font-size: 15px;
}
.brand-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px rgba(var(--accent-rgb), .7);
}
.brand-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 148px;
  object-fit: contain;
}
.brand-logo-light { display: none; }
body.is-light .has-logo .brand-logo-dark:not(:only-of-type) { display: none; }
body.is-light .brand-logo-light { display: block; }
.rail-brand .brand-logo { height: 32px; max-width: 168px; }
.auth-logo .brand-logo { height: 34px; max-width: 180px; }
.brand-mark-logo { display: flex; justify-content: center; }
.brand-mark-logo .brand-logo { height: 42px; max-width: 220px; margin: 0 auto; }
.search-form {
  flex: 1; max-width: 520px; margin: 0 auto;
  display: flex; align-items: center; gap: 0;
  background: var(--glass); border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.search-form input {
  flex: 1; border: 0; background: transparent; padding: 8px 16px; outline: none; min-width: 0;
}
.search-form button {
  width: 42px; height: 36px; display: grid; place-items: center; color: var(--muted);
}
.search-form button:hover { color: var(--text); }
.header-actions {
  display: flex; align-items: center; gap: 10px;
  margin-left: auto; flex: 0 0 auto;
}
.theme-toggle .icon-moon { display: none; }
body.is-light .theme-toggle .icon-sun { display: none; }
body.is-light .theme-toggle .icon-moon { display: block; }
body[data-theme-mode="dark"] .theme-toggle,
body[data-theme-mode="light"] .theme-toggle,
body[data-theme-mode="dark"] .user-theme,
body[data-theme-mode="light"] .user-theme { display: none !important; }
.user-theme .icon-sun { display: none; }
body.is-light .user-theme .icon-moon { display: none; }
body.is-light .user-theme .icon-sun { display: block; }
.header-actions .btn,
.header-actions .text-btn {
  flex-shrink: 0;
  white-space: nowrap;
  height: 36px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.header-actions .pro-cta {
  min-width: 72px;
  padding: 0 18px;
  border: 0;
  font-size: 15px;
  font-weight: 650;
}
.header-actions .theme-toggle,
.header-actions .guest-account-btn {
  min-width: 36px;
  background: transparent;
  color: var(--muted);
}
.header-actions .theme-toggle .icon,
.header-actions .guest-account-btn .icon {
  width: 22px;
  height: 22px;
}
.guest-account { display: block; }
.icon-btn, .text-btn {
  min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; color: var(--muted);
}
.icon-btn:hover, .text-btn:hover { color: var(--text); background: var(--bg-soft); }
.avatar-btn { padding: 0; overflow: hidden; }
.avatar-btn img, .avatar-fallback {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
}
.notify-menu { position: relative; }
.notify-bell { position: relative; }
.notify-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #3ea6ff;
  color: #0b0b0d;
  font-size: 10px;
  font-weight: 750;
  line-height: 16px;
  text-align: center;
}
.notify-badge[hidden] { display: none !important; }
.notify-pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  width: min(360px, calc(100vw - 24px));
  padding: 0 0 8px;
  border-radius: 16px;
  background: #141418;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  overflow: hidden;
}
.notify-pop[hidden] { display: none !important; }
.notify-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 16px 12px;
  font-size: 18px;
}
.notify-head-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  border: 1.5px solid #3ea6ff;
  color: #3ea6ff;
  font-size: 12px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
}
.notify-empty {
  margin: 0;
  padding: 28px 20px 32px;
  text-align: center;
  color: var(--text);
  font-size: 16px;
}
.notify-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text);
}
.notify-item img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #111;
  flex: 0 0 auto;
}
.notify-item span { min-width: 0; display: grid; gap: 4px; }
.notify-item strong { font-size: 14px; font-weight: 550; line-height: 1.35; }
.notify-item small { color: var(--muted); font-size: 12px; }
.notify-item.is-unread { background: rgba(62, 166, 255, .08); }
.notify-item:hover { background: var(--bg-hover); }
.notify-all {
  display: block;
  padding: 10px 16px 6px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.notify-all:hover { color: var(--text); }
.notify-page { display: grid; gap: 0; max-width: 720px; }
.notify-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.notify-row img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.notify-row span { display: grid; gap: 4px; min-width: 0; }
.notify-row strong { font-size: 15px; font-weight: 550; }
.notify-row small { color: var(--muted); font-size: 13px; }
body.is-light .notify-pop { background: var(--bg-card); border-color: var(--line); box-shadow: var(--shadow); }
body.is-light .notify-item.is-unread { background: rgba(62, 166, 255, .1); }

.user-menu { position: relative; }
.user-pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  width: min(300px, calc(100vw - 24px));
  padding: 8px 0 10px;
  border-radius: 18px;
  background: #1b1b1f;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}
.user-pop[hidden] { display: none !important; }
.user-pop-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.user-pop-head img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: #111;
}
.user-pop-head strong { display: block; font-size: 16px; color: var(--text); }
.user-pop-head small { color: var(--muted); font-size: 13px; }
.user-pop a,
.user-pop .user-theme,
.user-pop .user-switch button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 11px 18px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}
.user-pop a .icon,
.user-pop .user-theme .icon,
.user-pop .user-switch button .icon {
  width: 20px;
  height: 20px;
  color: var(--muted);
}
.user-pop a:hover,
.user-pop .user-theme:hover,
.user-pop .user-switch button:hover { background: var(--bg-hover); }
.user-pop .user-switch { margin: 0; }
.user-theme span { flex: 1; }
.user-theme i,
[data-theme-switch] {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #3ea6ff;
  position: relative;
  display: inline-block;
  flex: 0 0 38px;
}
.user-theme i::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
}
body.is-light .user-theme i { background: #9a9aa3; }
body.is-light .user-theme i::after { right: auto; left: 3px; }
body.is-light {
  color-scheme: light;
  --bg: #f7f8fa;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-input: #ffffff;
  --bg-soft: rgba(15, 15, 15, .05);
  --bg-hover: rgba(15, 15, 15, .07);
  --line: rgba(15, 15, 15, .1);
  --line-strong: rgba(15, 15, 15, .16);
  --text: #0f0f0f;
  --muted: #606060;
  --faint: #8a8a8a;
  --glass: #ffffff;
  --glass-blur: none;
  --header-bg: rgba(247, 248, 250, .92);
  --rail-bg: #ffffff;
  --chip-bg: rgba(15, 15, 15, .05);
  --watch-chip: #f2f2f2;
  --watch-chip-hover: #e8e8e8;
  --watch-text: #0f0f0f;
  --watch-desc-base: #f2efe9;
  --watch-desc-tint: rgba(var(--accent-rgb), .14);
  --watch-desc-hover: linear-gradient(0deg, var(--watch-desc-tint), var(--watch-desc-tint)), var(--watch-desc-base);
  --video-card-hover: color-mix(in srgb, rgb(var(--accent-rgb)) 10%, #f4f4f5);
  --glow-a: rgba(59, 155, 255, .08);
  --glow-b: rgba(var(--accent-rgb), .1);
  --shadow: 0 1px 2px rgba(15, 15, 15, .04), 0 12px 32px rgba(15, 15, 15, .06);
  --overlay: rgba(15, 15, 15, .45);
  background: var(--bg);
  color: var(--text);
}
body.is-light[data-accent="red"] {
  --watch-desc-base: #f2efe9;
  --watch-desc-tint: rgba(255, 0, 0, .1);
  --watch-desc-hover: linear-gradient(0deg, var(--watch-desc-tint), var(--watch-desc-tint)), var(--watch-desc-base);
  --video-card-hover: color-mix(in srgb, rgb(255, 0, 0) 8%, #f4f4f5);
  --glow-a: rgba(59, 155, 255, .08);
  --glow-b: rgba(215, 176, 122, .1);
}

/* Red palette — keep YouTube chip/button surfaces like Gold; red only on brand accents */
body[data-accent="red"] .btn-primary,
body[data-accent="red"] .pro-chip,
body[data-accent="red"] .people-row-arrow,
body[data-accent="red"] .related-chips-arrow,
body[data-accent="red"] .brand-dot,
body[data-accent="red"] .join-verify-mark {
  color: #fff;
}
body[data-accent="red"] .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
body[data-accent="red"] .btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}
/* Mirror Gold active buttons with a red tint */
body[data-accent="red"] .btn.active {
  background: #2a1414;
  border-color: #4a2222;
  color: var(--accent-strong);
}
body.is-light[data-accent="red"] .btn.active {
  background: color-mix(in srgb, rgb(var(--accent-rgb)) 12%, #fff);
  border-color: color-mix(in srgb, rgb(var(--accent-rgb)) 32%, transparent);
  color: #c40000;
}
body[data-accent="red"] .section-head a:hover,
body[data-accent="red"] .join-perk a,
body[data-accent="red"] .join-faq a {
  color: var(--accent-strong);
}
/* Chips match Gold / YouTube: light selected, dark unselected */
body[data-accent="red"] .chip.is-on,
body[data-accent="red"] .chip.active,
body[data-accent="red"] .related-chip.is-on {
  background: #f1f1f1;
  border-color: #f1f1f1;
  color: #0f0f0f;
}
body.is-light[data-accent="red"] .chip.is-on,
body.is-light[data-accent="red"] .chip.active,
body.is-light[data-accent="red"] .related-chip.is-on {
  background: #0f0f0f;
  border-color: #0f0f0f;
  color: #fff;
}
html:has(body.is-light) { color-scheme: light; }
body.is-light::before { opacity: .22; }
body.is-light .header {
  color: var(--text);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}
body.is-light .search-form {
  background: #fff;
  border-color: var(--line-strong);
  box-shadow: 0 1px 2px rgba(15, 15, 15, .04);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.is-light .search-form:focus-within {
  border-color: rgba(var(--accent-rgb), .55);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .12);
}
body.is-light .header-actions .theme-toggle,
body.is-light .header-actions .guest-account-btn,
body.is-light .icon-btn,
body.is-light .text-btn,
body.is-light .menu-toggle {
  color: var(--muted);
}
body.is-light .header-actions .theme-toggle:hover,
body.is-light .header-actions .guest-account-btn:hover,
body.is-light .icon-btn:hover,
body.is-light .text-btn:hover,
body.is-light .menu-toggle:hover {
  color: var(--text);
  background: var(--bg-soft);
}
body.is-light .btn {
  background: #fff;
  border-color: var(--line-strong);
  box-shadow: 0 1px 2px rgba(15, 15, 15, .04);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.is-light .btn:hover {
  border-color: rgba(15, 15, 15, .22);
  background: #fafafa;
}
body.is-light .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 1px 2px rgba(var(--accent-rgb), .25);
}
body.is-light .btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}
body.is-light .btn-ghost {
  background: transparent;
  box-shadow: none;
}
body.is-light .btn.active {
  background: color-mix(in srgb, rgb(var(--accent-rgb)) 14%, #fff);
  border-color: color-mix(in srgb, rgb(var(--accent-rgb)) 35%, transparent);
  color: color-mix(in srgb, rgb(var(--accent-rgb)) 70%, #18181b);
}
body.is-light .btn-danger {
  border-color: rgba(180, 35, 24, .22);
  color: #b42318;
}
body.is-light .input,
body.is-light textarea,
body.is-light select,
body.is-light .sort-form select {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 1px 2px rgba(15, 15, 15, .03);
}
body.is-light .input:focus,
body.is-light textarea:focus,
body.is-light select:focus {
  border-color: rgba(var(--accent-rgb), .55);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .12);
}
body.is-light .empty,
body.is-light .modal-card,
body.is-light .auth-card,
body.is-light .footer {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.is-light .footer {
  box-shadow: none;
  border-top: 1px solid var(--line);
}
body.is-light .user-pop {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
  box-shadow: 0 12px 40px rgba(15, 15, 15, .12);
}
body.is-light .user-pop-head {
  border-bottom-color: var(--line);
}
body.is-light .user-pop-head img {
  background: var(--bg-soft);
  box-shadow: 0 0 0 1px var(--line);
}
body.is-light .notify-pop {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 12px 40px rgba(15, 15, 15, .12);
}
body.is-light .notify-item.is-unread { background: rgba(62, 166, 255, .1); }
body.is-light .rail {
  background: var(--rail-bg);
  border-right: 1px solid var(--line);
  box-shadow: 1px 0 0 rgba(255, 255, 255, .8);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.is-light .rail-brand,
body.is-light .rail-brand:hover { color: var(--text); }
body.is-light .rail-nav a,
body.is-light .rail-account a { color: var(--muted); }
body.is-light .rail-nav a:hover,
body.is-light .rail-account a:hover { color: var(--text); background: var(--bg-hover); }
body.is-light .rail-nav a.active,
body.is-light .rail-account a.active {
  color: var(--text);
  background: var(--watch-chip);
  font-weight: 650;
}
body.is-light .rail-legal,
body.is-light .rail-legal a,
body.is-light .rail-legal span { color: var(--faint); }
body.is-light .section-head a { color: var(--muted); }
body.is-light .section-head a:hover { color: var(--text); }
body.is-light .card-copy .creator,
body.is-light .card-stats,
body.is-light .person-label,
body.is-light .studio-label { color: var(--muted); }
body.is-light .cat-card,
body.is-light .creator-tile,
body.is-light .glass-panel {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(15, 15, 15, .04);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.is-light .cat-card:hover,
body.is-light .creator-tile:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 24px rgba(15, 15, 15, .08);
}
body.is-light .pagination > a,
body.is-light .pagination > span {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
}
body.is-light .pagination > a:hover,
body.is-light .pagination > .current {
  background: var(--watch-chip);
  border-color: var(--line-strong);
  color: var(--text);
}
body.is-light .people-row-arrow,
body.is-light .related-chips-arrow {
  box-shadow: 0 4px 14px rgba(15, 15, 15, .16);
}
body.is-light .join-perk,
body.is-light .join-offer,
body.is-light .join-faq details,
body.is-light .join-verify {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(15, 15, 15, .04);
}
body.is-light .thumb {
  background: #ececef;
  box-shadow: 0 0 0 1px rgba(15, 15, 15, .06);
}
body.is-light .video-card:hover .card-copy h3,
body.is-light .video-card:active .card-copy h3 {
  color: var(--text);
}
.menu-toggle { display: inline-flex; flex: 0 0 auto; }
@media (min-width: 861px) {
  body:not(.is-rail-mini) .header .brand { display: none; }
}

.rail {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--rail-w);
  z-index: 45; padding: 20px 16px 18px;
  display: flex; flex-direction: column;
  overflow-x: hidden; overflow-y: auto;
  background: var(--rail-bg);
  border-right: 1px solid var(--line);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  scrollbar-width: thin;
}
.rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 22px;
}
.rail-brand {
  display: flex; align-items: center; gap: 8px;
  min-width: 0; flex: 1;
  height: auto; min-height: 0; margin: 0; padding: 4px 12px;
  color: var(--text); font-size: 22px; font-weight: 730; letter-spacing: -.04em;
  text-transform: lowercase; line-height: 1;
}
.rail-brand:hover { background: none; color: var(--text); }
.rail-close { display: none; flex: 0 0 auto; }
.rail-nav,
.rail-account {
  display: flex; flex-direction: column; gap: 2px;
}
.rail-nav a,
.rail-account a {
  width: 100%; height: 42px; border-radius: 999px; color: var(--muted);
  display: flex; align-items: center; justify-content: flex-start; gap: 14px;
  padding: 0 14px; margin: 0;
  font-size: 15px; font-weight: 450; white-space: nowrap;
}
.rail-nav a span,
.rail-account a span { display: inline; }
.rail-nav a:hover,
.rail-account a:hover { color: var(--text); background: var(--bg-hover); }
.rail-nav a.active,
.rail-account a.active { color: var(--text); background: var(--watch-chip); }
.rail-account { display: none; }
.rail-legal {
  margin-top: auto; padding: 28px 12px 4px;
  display: flex; flex-wrap: wrap; gap: 2px 10px;
  color: var(--faint); font-size: 10px; letter-spacing: .04em;
  text-transform: uppercase; line-height: 1.7;
}
.rail-legal a,
.rail-legal span {
  width: auto; height: auto; padding: 0; margin: 0;
  color: var(--faint); font-size: 10px; font-weight: 550;
  border-radius: 0; background: none;
}
.rail-legal a:hover { color: var(--text); background: none; }
body.is-rail-mini .rail { padding: 16px 8px 12px; }
body.is-rail-mini .rail-head { margin-bottom: 8px; }
body.is-rail-mini .rail-brand {
  justify-content: center; padding: 8px 0 16px; margin-bottom: 0;
}
body.is-rail-mini .rail-brand:not(.has-logo) span:last-child { display: none; }
body.is-rail-mini .rail-brand.has-logo .brand-logo { height: 26px; max-width: 40px; }
body.is-rail-mini .rail-nav a,
body.is-rail-mini .rail-account a {
  width: 56px; height: auto; min-height: 58px; margin: 0 auto;
  flex-direction: column; justify-content: center; gap: 4px;
  padding: 8px 2px; border-radius: 12px;
  font-size: 10px; font-weight: 600; line-height: 1.15; text-align: center;
}
body.is-rail-mini .rail-nav a span,
body.is-rail-mini .rail-account a span {
  display: none;
}
body.is-rail-mini .rail-legal { display: none; }
.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon.icon-fill { fill: currentColor; stroke: none; }

.page { width: calc(100% - 60px); margin: 0 auto; padding: 8px 0 48px; }
.page.is-watch {
  width: calc(100% - 60px);
}
body.is-rail-mini .page {
  width: calc(100% - 60px);
  max-width: none;
}
body.is-rail-mini .page.page-narrow {
  width: min(720px, calc(100% - 60px));
  max-width: 720px;
}
body.is-rail-mini .page.page-pro {
  width: min(1120px, calc(100% - 60px));
  max-width: 1120px;
}
body.is-rail-mini .page.page-join {
  width: min(1100px, calc(100% - 60px));
  max-width: 1100px;
}
body.is-rail-mini .page.is-legal {
  width: min(720px, calc(100% - 60px));
  max-width: 720px;
}
.site-ad {
  width: calc(100% - 60px);
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  overflow: auto;
}
body.is-rail-mini .site-ad {
  width: calc(100% - 60px);
  max-width: none;
}
.site-ad-header { margin-top: 8px; }
.site-ad-footer { margin: 8px auto 0; }
.site-ad-watch { width: 100%; margin: 0 0 16px; }
.page-narrow { width: min(720px, calc(100% - 60px)); }
.page-legal { width: calc(100% - 60px); }
.page-join { width: min(1100px, calc(100% - 60px)); }
.legal-layout {
  display: block;
  width: 100%;
}
.legal-nav { display: none; }
.legal-main { min-width: 0; width: 100%; }
.legal-doc { color: var(--text); max-width: 920px; }
.legal-updated { color: var(--muted); font-size: 13px; margin: 0 0 20px; }
.legal-doc h2 {
  margin: 28px 0 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.legal-doc h4 {
  margin: 16px 0 8px;
  font-size: 15px;
  font-weight: 650;
}
.legal-doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
}
.legal-doc th,
.legal-doc td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
}
.legal-doc p { margin: 0 0 12px; line-height: 1.65; color: var(--muted); }
.legal-doc ul, .legal-doc ol {
  margin: 0 0 16px;
  padding-left: 1.2em;
  color: var(--muted);
  line-height: 1.65;
}
.legal-doc li { margin: 0 0 6px; }
.legal-doc strong { color: var(--text); font-weight: 700; }
.legal-doc a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }
.legal-form {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.legal-form h2 { font-size: 18px; margin: 0 0 8px; }
.legal-after-form { margin-top: 32px; }
.legal-links { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-links h2 { font-size: 15px; margin: 0 0 12px; color: var(--muted); font-weight: 650; }
.legal-links div { display: flex; flex-wrap: wrap; gap: 8px; }
.legal-links a {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--text);
  font-size: 13px;
}
.legal-links a:hover { border-color: var(--accent); color: var(--accent); }

.page-guide { width: calc(100% - 60px); }

@media (min-width: 961px) {
  .legal-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    width: 100%;
  }
  .legal-nav {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 16px);
    max-height: calc(100vh - var(--header-h) - 32px);
    overflow: auto;
    scrollbar-width: thin;
  }
  .legal-nav-panel {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .legal-nav-link {
    position: relative;
    display: block;
    padding: 12px 18px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 550;
    line-height: 1.35;
    text-decoration: none;
    border: 0;
    background: transparent;
  }
  .legal-nav-link:hover {
    color: var(--text);
    background: var(--bg-hover);
  }
  .legal-nav-link.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, .06);
  }
  .legal-nav-link.is-active::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 0;
    bottom: 8px;
    width: 3px;
    border-radius: 3px 0 0 3px;
    background: var(--accent);
  }
  body.is-light .legal-nav-link.is-active {
    background: rgba(24, 24, 27, .06);
  }
  .legal-nav-rule {
    height: 1px;
    margin: 6px 14px;
    background: var(--line);
  }
  .page-legal .legal-links { display: none; }
  .page-legal.page-guide { width: calc(100% - 60px); }
  .page-legal.page-guide .legal-doc { max-width: none; }
}

.guide-lead { font-size: 15px; }
.guide-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.guide-toc a {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.guide-toc a:hover { color: var(--text); border-color: var(--accent); }
.guide-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 8px 0 0;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: middle;
}
.guide-badge.is-ok {
  background: rgba(125, 203, 154, .18);
  color: var(--success);
  border: 1px solid rgba(125, 203, 154, .4);
}
.guide-badge.is-bad {
  background: rgba(227, 117, 117, .16);
  color: var(--danger);
  border: 1px solid rgba(227, 117, 117, .4);
}
.guide-step { margin: 8px 0 8px; }
.guide-step[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.guide-step h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 10px;
  font-size: 18px;
  letter-spacing: -.01em;
  text-transform: none;
}
.guide-num {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}
.legal-doc figure { margin: 16px 0; }
.guide-shots {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 16px 0 8px;
}
.guide-shots img {
  width: min(100%, 340px);
  height: auto;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.guide-compare img {
  width: min(100%, 320px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.guide-shots figcaption {
  flex: 1 0 100%;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 4px 0 0;
}
@media (max-width: 640px) {
  .page-guide { width: calc(100% - 12px); }
  .guide-shots img { width: min(100%, 100%); }
}

.join-page { padding: 12px 0 24px; }
.join-hero {
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 28px;
  margin: 12px 0 56px;
}
.join-hero.has-mosaic {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 380px) minmax(0, 1fr);
}
.join-hero-copy {
  text-align: center;
  max-width: 420px;
}
.join-kicker {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.join-hero-copy h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 760;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 14px;
}
.join-lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 22px;
}
.join-cta {
  min-height: 44px;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.join-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
  width: 100%;
  max-width: 280px;
  justify-items: center;
}
.join-mosaic-spacer { min-height: 1px; }
.join-shot {
  width: 100%;
  max-width: 132px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-card);
}
.join-shot-0 { transform: rotate(-8deg) translateY(10px); }
.join-shot-1 { transform: rotate(6deg) translateY(-6px); }
.join-shot-2 { transform: rotate(5deg) translateY(18px); }
.join-shot-3 { transform: rotate(-6deg) translateY(4px); }
.join-perks {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 640px;
  margin: 0 auto 64px;
}
.join-perk {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  align-items: center;
}
.join-perk.is-flip {
  grid-template-columns: 1fr 88px;
  text-align: right;
}
.join-perk.is-flip .join-perk-ico { order: 2; }
.join-perk h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.join-perk p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.join-perk a,
.join-faq a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.join-perk-ico,
.join-offer-ico,
.join-verify-mark {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--accent);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.join-perk-ico .icon,
.join-offer-ico .icon { width: 34px; height: 34px; }
.join-offer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 4px auto;
  padding: 14px 22px;
  max-width: 420px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb),.18), rgba(var(--accent-rgb),.08));
  border: 1px solid rgba(var(--accent-rgb),.35);
}
.join-offer-ico {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.join-offer-ico .icon { width: 22px; height: 22px; }
.join-offer strong {
  display: block;
  font-size: 22px;
  letter-spacing: -.02em;
}
.join-offer span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.join-faces-wrap {
  text-align: center;
  margin: 0 0 64px;
}
.join-faces-wrap h2,
.join-faq h2,
.join-verify h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 760;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.join-sub {
  color: var(--muted);
  margin: 0 auto 22px;
  max-width: 520px;
}
.join-faces {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px 12px;
}
.join-face {
  color: var(--text);
  min-width: 0;
}
.join-face img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  margin-bottom: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.join-face span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.join-face:hover span { color: var(--accent-strong); }
.join-more { margin: 28px 0 0; }
.join-more .btn { min-width: 120px; }
.join-faq {
  max-width: 560px;
  margin: 0 auto 56px;
  text-align: center;
}
.join-faq details {
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.join-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.join-faq summary::-webkit-details-marker { display: none; }
.join-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}
.join-faq details[open] summary::after { content: "–"; }
.join-faq details p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
}
.join-verify {
  text-align: center;
  padding: 12px 0 8px;
}
.join-verify-mark {
  margin: 0 auto 18px;
  width: 72px;
  height: 72px;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.join-verify-mark .icon { width: 36px; height: 36px; }
.join-verify p {
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 22px;
  line-height: 1.55;
}
@media (max-width: 900px) {
  .join-hero.has-mosaic { grid-template-columns: 1fr; }
  .join-mosaic { display: none; }
  .join-faces { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .join-perk,
  .join-perk.is-flip {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .join-perk.is-flip .join-perk-ico { order: 0; }
  .join-offer { flex-direction: column; border-radius: 20px; text-align: center; }
  .join-faces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.hero-row, .people-row, .studio-row {
  display: flex; gap: 16px; overflow-x: auto; padding: 6px 2px 14px;
  scrollbar-width: none;
}
.hero-row::-webkit-scrollbar,
.people-row::-webkit-scrollbar, .studio-row::-webkit-scrollbar { display: none; }

.people-row-wrap {
  position: relative;
  margin: 0 0 4px;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
}
.people-row-wrap .people-row {
  align-items: flex-start;
  gap: 8px;
  padding: 14px 2px 16px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
}
.people-row-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .4);
  place-items: center;
  cursor: pointer;
}
.people-row-arrow .icon { width: 18px; height: 18px; }
.people-row-arrow.is-prev { left: 0; }
.people-row-arrow.is-prev .icon { transform: rotate(180deg); }
.people-row-arrow.is-next { right: 0; }
.people-row-arrow:hover { background: var(--accent-strong); }
.people-row-arrow[hidden] { display: none !important; }
.people-row-wrap.is-overflow .people-row-arrow { display: grid; }
.people-row-wrap.is-overflow .people-row {
  mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent);
}
.people-row-wrap.is-overflow.is-at-start .people-row {
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 36px), transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 36px), transparent);
}
.people-row-wrap.is-overflow.is-at-end .people-row {
  mask-image: linear-gradient(90deg, transparent, #000 36px, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 100%);
}
.people-row-wrap.is-overflow.is-at-start .people-row-arrow.is-prev,
.people-row-wrap.is-overflow.is-at-end .people-row-arrow.is-next {
  display: none !important;
}
@media (max-width: 1100px) {
  .people-row-wrap .people-row-arrow { display: none !important; }
  .people-row-wrap.is-overflow .people-row {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.chip-row-wrap {
  position: relative;
  margin: 0 0 12px;
  max-width: 100%;
  min-width: 0;
}
.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0 4px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip-row-wrap.is-overflow .related-chips-arrow { display: grid; }
.chip-row-wrap.is-overflow .chip-row {
  mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}
.chip-row-wrap.is-overflow.is-at-start .chip-row {
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent);
}
.chip-row-wrap.is-overflow.is-at-end .chip-row {
  mask-image: linear-gradient(90deg, transparent, #000 28px, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 100%);
}
.chip-row-wrap.is-overflow.is-at-start .related-chips-arrow.is-prev,
.chip-row-wrap.is-overflow.is-at-end .related-chips-arrow.is-next {
  display: none !important;
}
@media (max-width: 1100px) {
  .chip-row-wrap .related-chips-arrow { display: none !important; }
  .chip-row-wrap.is-overflow .chip-row {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #e4e4e7;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.chip:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .22);
}
.chip.active,
.chip.is-on {
  background: #f1f1f1;
  color: #0f0f0f;
  border-color: #f1f1f1;
}
body.is-light .chip {
  background: rgba(24, 24, 27, .04);
  border-color: rgba(24, 24, 27, .12);
  color: var(--muted);
}
body.is-light .chip:hover {
  color: var(--text);
  background: rgba(24, 24, 27, .08);
  border-color: rgba(24, 24, 27, .18);
}
body.is-light .chip.active,
body.is-light .chip.is-on {
  background: #0f0f0f;
  color: #fff;
  border-color: #0f0f0f;
}

.chip.country-chip {
  gap: 8px;
  min-height: 34px;
  height: 34px;
  padding: 3px 14px 3px 3px;
  font-weight: 500;
  line-height: 1;
}
.chip.country-chip img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 28px;
  display: block;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.chip.country-chip span {
  display: block;
  padding-right: 2px;
}
.chip.country-chip.is-on img {
  box-shadow: inset 0 0 0 1px rgba(15, 15, 15, .12);
}
.country-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 34px;
  height: 34px;
  padding: 3px 14px 3px 3px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #e4e4e7;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.country-chip img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 28px;
  display: block;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.country-chip:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .22);
  text-decoration: none;
}
body.is-light .country-chip {
  background: rgba(24, 24, 27, .04);
  border-color: rgba(24, 24, 27, .12);
  color: var(--muted);
}
body.is-light .country-chip:hover {
  color: var(--text);
  background: rgba(24, 24, 27, .08);
  border-color: rgba(24, 24, 27, .18);
}
.channel-country {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
}
.watch-desc-meta .country-chip,
.watch-desc-sheet-tags .country-chip {
  min-height: 34px;
  height: 34px;
  font-size: 13px;
}

.person {
  position: relative;
  z-index: 0;
  flex: 0 0 78px;
  width: 78px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}
.person img, .person .avatar-fallback {
  display: block;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin: 0 auto 5px;
  object-fit: cover;
  background: var(--bg-soft);
  border: 1px solid #2a2a30;
  transform: scale(1);
  transform-origin: center center;
  transition:
    transform .22s cubic-bezier(.2, .8, .2, 1),
    filter .22s ease;
  will-change: transform;
}
.person .person-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  max-width: 100%;
  min-width: 0;
  transition: opacity .18s ease, color .18s ease;
}
.person .person-name {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.person:hover { color: var(--text); }
@media (hover: hover) and (pointer: fine) {
  .people-row .person:hover {
    z-index: 5;
    color: transparent;
  }
  .people-row .person:hover img,
  .people-row .person:hover .avatar-fallback {
    transform: scale(1.28);
    filter: brightness(1.06);
  }
  .people-row .person:hover .person-label {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .person img, .person .avatar-fallback,
  .person .person-label {
    transition: none;
  }
}

.studio {
  flex: 0 0 auto; display: flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 6px; border-radius: 999px; background: var(--glass);
  border: 1px solid var(--line); color: var(--text); font-size: 15px; white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.studio img, .studio .avatar-fallback {
  width: 28px; height: 28px; border-radius: 8px; object-fit: cover;
}
.studio .verified, .studio .icon.verified { width: 16px; height: 16px; }
.studio:hover { border-color: #3a3a42; }

.section { margin: 8px 0 28px; }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 16px;
  margin-bottom: 12px;
}
.section-head h2 { font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.section-head a { color: var(--muted); font-size: 13px; }
.section-head a:hover { color: var(--accent-strong); }
.section-head a.section-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.section-head a.section-more .icon {
  width: 14px;
  height: 14px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 14px;
  margin-bottom: 8px;
}
.featured-stack .video-grid { margin-top: 18px; }
.featured-grid .card-copy h3 { font-size: 16px; }
.is-home-featured-mobile { display: none !important; }
.recommend-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 12px;
}
.video-card { min-width: 0; position: relative; border-radius: 12px; }
.thumb {
  position: relative; display: block; aspect-ratio: 16 / 9;
  border-radius: 12px; overflow: hidden; background: #161618;
}
.thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}
.video-grid .video-card,
.featured-grid .video-card,
.recommend-grid .video-card,
.featured-stack .video-card,
.related-col .video-card {
  transition: background-color .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
  border-radius: 12px;
}
.video-grid .video-card:hover,
.video-grid .video-card:active,
.featured-grid .video-card:hover,
.featured-grid .video-card:active,
.recommend-grid .video-card:hover,
.recommend-grid .video-card:active,
.featured-stack .video-card:hover,
.featured-stack .video-card:active {
  z-index: 4;
  background: var(--video-card-hover);
  box-shadow: 0 0 0 8px var(--video-card-hover);
}
.related-col .video-card:hover,
.related-col .video-card:active {
  z-index: 2;
  background: var(--video-card-hover);
  box-shadow: 0 0 0 6px var(--video-card-hover);
}
@media (hover: hover) and (pointer: fine) {
  .video-grid .video-card:hover,
  .featured-grid .video-card:hover,
  .recommend-grid .video-card:hover,
  .featured-stack .video-card:hover {
    box-shadow: 0 0 0 10px var(--video-card-hover);
  }
  .video-grid .video-card:hover .thumb img,
  .featured-grid .video-card:hover .thumb img,
  .recommend-grid .video-card:hover .thumb img,
  .featured-stack .video-card:hover .thumb img {
    transform: scale(1.02);
    filter: brightness(1.04);
  }
}
.badge {
  position: absolute; right: 6px; top: 6px;
  background: rgba(0,0,0,.45); color: #fff; font-size: 11px; font-weight: 600;
  padding: 2px 6px; border-radius: 4px; letter-spacing: .02em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.pro-chip {
  position: absolute; left: 6px; top: 6px;
  background: var(--accent); color: var(--accent-ink); font-size: 10px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 4px;
}
.card-meta { display: flex; gap: 12px; margin-top: 12px; min-width: 0; align-items: flex-start; }
.card-avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  margin-top: 2px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-soft);
}
.card-avatar img,
.card-meta .avatar-fallback {
  width: 36px;
  height: 36px;
  max-width: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.card-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.card-copy h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-copy h3 a { color: inherit; }
.card-copy h3 a:hover { color: var(--text); }
.card-copy .creator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-copy .creator:hover { color: var(--text); }
.card-copy .creator .verified,
.card-copy .creator .icon.verified {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}
.card-stats {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.profile-hero { display: flex; gap: 22px; align-items: flex-start; padding: 18px 0 8px; }
.profile-avatar, .profile-avatar img, .profile-avatar .avatar-fallback {
  width: 92px; height: 92px; border-radius: 50%; object-fit: cover; background: var(--bg-soft);
}
.profile-avatar.studio, .profile-avatar.studio img, .profile-avatar.studio .avatar-fallback { border-radius: 24px; }
.profile-kicker { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.profile-copy h1 { font-size: 28px; font-weight: 680; letter-spacing: -.03em; display: flex; align-items: center; gap: 8px; }
.profile-copy .stats { color: var(--muted); margin: 6px 0 10px; }
.profile-copy .bio { max-width: 720px; color: #c6c6cc; line-height: 1.55; }
.profile-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.verified {
  width: 18px; height: 18px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
}
.icon.verified { width: 18px; height: 18px; fill: none; stroke: none; }
.icon.verified .verified-bg { fill: #00aef3; }
.icon.verified .verified-check {
  fill: none;
  stroke: #fff;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.channel-identity h1 .verified,
.channel-identity h1 .icon.verified {
  width: 28px;
  height: 28px;
  margin-left: 6px;
}
.studio-page .channel-identity h1 .verified,
.studio-page .channel-identity h1 .icon.verified {
  width: 32px;
  height: 32px;
}
.people-row .person .person-label,
.studio-row .studio {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.people-row .person .person-label {
  display: flex;
  max-width: 100%;
  min-width: 0;
  justify-content: center;
}
.people-row .person .verified,
.people-row .person .icon.verified,
.studio-row .studio .verified,
.studio-row .studio .icon.verified {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.glass-panel {
  background: rgba(16, 16, 20, .42);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}

.channel-page { position: relative; overflow-x: clip; max-width: 100%; }
.channel-hero {
  --channel-glass: rgba(12, 12, 16, .48);
  --channel-glass-edge: rgba(255, 255, 255, .12);
  position: relative;
  overflow: visible;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  padding: 28px 28px 24px;
  margin: 8px 0 20px;
  border-radius: 28px;
  border: 1px solid var(--channel-glass-edge);
  background:
    linear-gradient(145deg, rgba(255,255,255,.07) 0%, transparent 42%),
    var(--channel-glass);
  box-shadow:
    0 1px 0 rgba(255,255,255,.06) inset,
    0 22px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(28px) saturate(1.45);
  -webkit-backdrop-filter: blur(28px) saturate(1.45);
  isolation: isolate;
}
.channel-fx {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}
.channel-head,
.channel-bio,
.channel-links {
  position: relative;
  z-index: 1;
}
.channel-wash {
  position: absolute;
  pointer-events: none;
  background-image: var(--wash);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.channel-wash--dp {
  inset: -42% -18% auto -8%;
  width: 72%;
  height: 150%;
  filter: blur(54px) saturate(1.65) brightness(1.05);
  opacity: .55;
  transform: scale(1.08);
  mask-image: radial-gradient(ellipse 70% 65% at 28% 35%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 28% 35%, #000 20%, transparent 78%);
}
.channel-wash--cover {
  inset: -20% -10% -30%;
  filter: blur(48px) saturate(1.35);
  opacity: .28;
  mask-image: linear-gradient(115deg, transparent 18%, #000 48%, transparent 92%);
  -webkit-mask-image: linear-gradient(115deg, transparent 18%, #000 48%, transparent 92%);
}
.channel-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,12,.18) 0%, rgba(8,8,12,.55) 100%),
    radial-gradient(ellipse 80% 70% at 18% 20%, transparent 0%, rgba(8,8,12,.35) 70%);
  pointer-events: none;
}
.channel-glow {
  position: absolute;
  inset: auto auto -45% -12%;
  width: 55%;
  height: 90%;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 68%);
  pointer-events: none;
  mix-blend-mode: soft-light;
}
.channel-head {
  display: flex;
  align-items: center;
  gap: 26px;
}
.channel-logo {
  position: relative;
  flex: 0 0 auto;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  padding: 3px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.55), rgba(255,255,255,.08) 40%, rgba(255,255,255,.2));
  box-shadow:
    0 0 0 1px rgba(255,255,255,.1),
    0 16px 40px rgba(0,0,0,.35);
}
.channel-logo::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  background: inherit;
  background-image: none;
  background-color: transparent;
  box-shadow: 0 0 48px rgba(255, 200, 140, .18);
  opacity: .7;
  z-index: -1;
  filter: blur(12px);
  pointer-events: none;
}
.channel-logo img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  background: rgba(8, 8, 12, .55);
  border: 0;
}
.channel-hero.is-studio .channel-logo,
.channel-hero.is-studio .channel-logo img {
  border-radius: 28px;
}
.channel-identity {
  min-width: 0;
  flex: 1;
}
.channel-identity-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
}
.channel-identity-copy { min-width: 0; flex: 1; }
.channel-identity h1 {
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 720;
  letter-spacing: -.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  text-shadow: 0 1px 18px rgba(0,0,0,.35);
}
.channel-kicker {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.channel-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  margin: 10px 0 0;
  font-size: 14px;
}
.channel-stats span + span::before {
  content: "·";
  margin-right: 10px;
  color: var(--faint);
}
.channel-stats strong { color: #f2f2f5; font-weight: 600; margin-right: 4px; }
.channel-tools {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 0 0 auto;
  padding-top: 4px;
}
.channel-tools .btn { min-width: 104px; }
.circle-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; color: var(--text);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.circle-btn:hover, .circle-btn.active {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.28);
}
.circle-btn .follow-check { display: none; }
.circle-btn.active .follow-plus { display: none; }
.circle-btn.active .follow-check { display: block; }
.channel-more { position: relative; z-index: 6; }
.channel-menu.glass-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40;
  min-width: 188px; padding: 8px; border-radius: 14px;
  display: grid; gap: 2px;
  background: rgba(18, 18, 22, .92);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
}
.channel-menu[hidden] { display: none !important; }
.channel-menu a, .channel-menu button {
  width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; color: #e8e8ee;
}
.channel-menu a:hover, .channel-menu button:hover { background: rgba(255,255,255,.1); }
.channel-bio {
  max-width: 780px;
  color: #c8c8d0;
  margin: 0;
  line-height: 1.6;
  font-size: 15px;
}
.channel-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.channel-socials { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.social-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; border: 0;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.16),
    0 10px 22px rgba(0,0,0,.25);
  transition: transform .18s ease, filter .18s ease;
}
.social-btn .icon,
.social-btn svg {
  width: 20px; height: 20px;
  display: block;
  stroke: #fff;
}
.social-btn .icon-fill {
  fill: #fff !important;
  stroke: none;
}
.social-site { background: #3a3a42; }
.social-twitter, .social-tiktok { background: #000; }
.social-facebook { background: #1877f2; }
.social-instagram { background: radial-gradient(circle at 30% 110%, #fccc63, #fbad50 20%, #e95950 40%, #cd486b 60%, #8a3ab9); }
.social-youtube { background: #ff0000; }
.social-reddit { background: #ff4500; }
.social-fansly { background: #2799f6; }
.social-onlyfans { background: #00aff0; }
.social-telegram { background: #229ed9; }
.social-pornhub { background: #ff9900; }
.social-xhamster { background: #f60; }
.social-xvideos { background: #c00; }
.social-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

.social-links-editor {
  display: grid;
  gap: 10px;
}
.social-links-rows {
  display: grid;
  gap: 8px;
}
.social-link-row {
  display: grid;
  grid-template-columns: minmax(120px, 160px) minmax(0, 1fr) 40px;
  gap: 8px;
  align-items: center;
}
.social-link-remove {
  min-width: 40px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
}
.social-link-add {
  justify-self: start;
}
@media (max-width: 640px) {
  .social-link-row {
    grid-template-columns: 1fr 40px;
  }
  .social-link-row select {
    grid-column: 1 / -1;
  }
}

.channel-page .chip-row-wrap { margin: 0 0 24px; }
.channel-page .chip-row { padding: 8px 0 12px; }
.studio-page .people-row,
.creator-page .studio-row { padding-top: 4px; }
.channel-page .toolbar h2 { font-size: 16px; color: var(--muted); font-weight: 550; }
.channel-page .sort-form select,
.channel-page .empty {
  background: rgba(16,16,20,.42);
  border-color: rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}
.creator-tile strong { display: inline-flex; align-items: center; gap: 6px; }
.studio-index .creator-tile {
  background: rgba(16,16,20,.42);
  border-color: rgba(255,255,255,.08);
}
body.is-light .glass-panel {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(24,24,27,.04), 0 10px 28px rgba(24,24,27,.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.is-light .channel-hero {
  --channel-glass: rgba(255, 255, 255, .62);
  --channel-glass-edge: rgba(24, 24, 27, .1);
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 18px 48px rgba(24,24,27,.1);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
}
body.is-light .channel-wash--dp { opacity: .42; filter: blur(52px) saturate(1.45); }
body.is-light .channel-wash--cover { opacity: .2; }
body.is-light .channel-veil {
  background:
    linear-gradient(180deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,.72) 100%),
    radial-gradient(ellipse 80% 70% at 18% 20%, transparent 0%, rgba(255,255,255,.4) 70%);
}
body.is-light .channel-stats strong { color: var(--text); }
body.is-light .channel-bio { color: #52525b; }
body.is-light .channel-logo {
  background: linear-gradient(145deg, #fff, rgba(24,24,27,.08));
  box-shadow: 0 0 0 1px rgba(24,24,27,.08), 0 14px 32px rgba(24,24,27,.12);
}
body.is-light .circle-btn {
  background: rgba(255,255,255,.72);
  border-color: rgba(24,24,27,.12);
  color: var(--text);
}
body.is-light .studio-index .creator-tile,
body.is-light .creator-tile,
body.is-light .cat-card {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(24,24,27,.04);
}
body.is-light .cat-card:hover,
body.is-light .creator-tile:hover {
  border-color: var(--line-strong);
  background: #fff;
}
body.is-light .channel-page .sort-form select,
body.is-light .channel-page .empty {
  background: var(--bg-card);
  border-color: var(--line);
  backdrop-filter: none;
}

.breadcrumbs { color: var(--muted); font-size: 13px; margin: 8px 0 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--text); }

.toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin: 4px 0 16px; flex-wrap: wrap;
}
.toolbar h1 { font-size: 28px; letter-spacing: -.03em; }
.sort-form select, .input, textarea, select {
  background: var(--glass); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; outline: none; width: 100%;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.sort-form select { width: auto; }
.input:focus, textarea:focus, select:focus, .search-form:focus-within {
  border-color: #3d3d46;
}
textarea { min-height: 120px; resize: vertical; }

.watch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 402px);
  gap: 16px;
  align-items: start;
  max-width: 100%;
}
body.is-rail-mini .watch {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 12px;
}
.player-shell {
  background-color: #000;
  background-image: var(--player-poster, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.player-shell .player-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}
.player-shell .fluid_video_wrapper {
  width: 100%;
}
.player-error {
  margin: 0; padding: 10px 12px; background: #2a1616; color: #f0b4b4; font-size: 13px;
}
.player-extra {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 8px 10px; background: rgba(12,12,14,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.player-extra button {
  color: #ddd; border: 1px solid #2a2a30; border-radius: 999px; padding: 6px 10px; font-size: 12px;
}
.player-extra button:hover { color: #fff; border-color: #444; }
.speed-menu { display: flex; gap: 6px; }
.poster-fallback {
  aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 24px;
  background: #111; color: var(--muted);
}

.watch-mobile-line,
.watch-comments-peek { display: none; }
.watch-hold-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 12px 0 4px; padding: 14px 16px;
  border-radius: 16px;
  background: rgba(227,117,117,.12);
  border: 1px solid rgba(227,117,117,.22);
  color: var(--text);
}
.watch-hold-banner strong { display: block; margin-bottom: 4px; color: #f0b4b4; }
.watch-hold-banner p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.watch-hold-banner .btn { flex: 0 0 auto; }
body.is-light .watch-hold-banner { background: rgba(180,35,24,.06); border-color: rgba(180,35,24,.12); }
body.is-light .watch-hold-banner strong { color: #b42318; }
@media (max-width: 720px) {
  .watch-hold-banner { flex-direction: column; align-items: flex-start; }
}
.watch-title { font-size: 20px; margin: 14px 0 10px; letter-spacing: -.02em; font-weight: 700; line-height: 1.3; }
.watch-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 12px;
}
.watch-owner { display: flex; align-items: center; gap: 12px; min-width: 0; }
.watch-owner img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--bg-soft);
}
.watch-owner-copy { min-width: 0; }
.watch-owner-copy h3 {
  display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 650;
}
.watch-owner-copy h3 .verified { width: 14px; height: 14px; }
.watch-owner-copy p, .watch-more-link {
  color: var(--muted); font-size: 13px; background: none; border: 0; padding: 0;
  cursor: pointer; font-weight: 500;
}
.watch-more-link:hover { color: var(--text); }
.watch-sub {
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #f1f1f1;
  color: #0f0f0f;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.watch-sub:hover {
  background: #e5e5e5;
  filter: none;
  border-color: transparent;
}
.watch-sub:active {
  background: #d9d9d9;
}
.watch-sub.active {
  background: var(--watch-chip);
  color: var(--watch-text);
  border-color: transparent;
}
.watch-sub.active:hover {
  background: var(--watch-chip-hover);
}
body.is-light .watch-sub {
  background: #0f0f0f;
  color: #ffffff;
}
body.is-light .watch-sub:hover {
  background: #272727;
}
body.is-light .watch-sub:active {
  background: #3f3f3f;
}
body.is-light .watch-sub.active {
  background: #f2f2f2;
  color: #0f0f0f;
}
body.is-light .watch-sub.active:hover {
  background: #e5e5e5;
}
.watch-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.watch-tip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}
.watch-tip span { color: var(--muted); font-size: 13px; font-weight: 650; }
.watch-tip .btn { min-height: 32px; padding: 0 10px; background: var(--watch-chip); }
.watch-delete { display: inline-flex; margin: 0; }
.watch-tools .btn { background: var(--watch-chip); border-color: var(--watch-chip); }
.watch-tools .btn:hover { background: var(--watch-chip-hover); border-color: var(--watch-chip-hover); }
.watch-tools .btn.active { background: var(--watch-chip-hover); border-color: var(--watch-chip-hover); color: var(--text); }
.watch-tools .btn.active .icon { fill: currentColor; }
.watch-tools .icon { width: 18px; height: 18px; }
.watch-react {
  display: flex; overflow: hidden; border-radius: 999px; background: var(--watch-chip);
}
.watch-react .btn {
  border: 0; border-radius: 0; margin: 0;
}
.watch-react .btn + .btn { border-left: 1px solid var(--line-strong); }
.watch-desc {
  position: relative;
  display: block; width: 100%; text-align: left;
  margin: 0 0 18px; padding: 12px 14px;
  border: 0; border-radius: 14px;
  background: var(--watch-chip);
  color: var(--watch-text);
  line-height: 1.55;
  cursor: pointer;
  overflow: hidden;
  transition: background .2s ease;
}
.watch-desc:hover:not(:disabled),
.watch-desc.is-open {
  background: var(--watch-desc-hover);
}
.watch-desc.is-short { cursor: default; }
.watch-desc.is-short:hover { background: var(--watch-desc-hover); }
.watch-desc:hover:not(:disabled) .watch-desc-meta a,
.watch-desc.is-open .watch-desc-meta a {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}
body.is-light .watch-desc:hover:not(:disabled) .watch-desc-meta a,
body.is-light .watch-desc.is-open .watch-desc-meta a {
  background: rgba(24, 24, 27, .05);
  border-color: rgba(24, 24, 27, .14);
}
.watch-desc-meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 650;
  font-size: 15px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.watch-desc-meta::-webkit-scrollbar { display: none; }
.watch-desc-meta > span {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
}
.watch-desc-meta a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #e4e4e7;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.watch-desc-meta a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .22);
  text-decoration: none;
}
body.is-light .watch-desc-meta a {
  background: rgba(24, 24, 27, .04);
  border-color: rgba(24, 24, 27, .12);
  color: var(--muted);
}
body.is-light .watch-desc-meta a:hover {
  color: var(--text);
  background: rgba(24, 24, 27, .08);
  border-color: rgba(24, 24, 27, .18);
}
.watch-desc-snip {
  overflow: hidden;
  max-height: calc(1.55em * 2);
  color: var(--watch-text);
  font-size: 14px;
  line-height: 1.55;
}
.watch-desc-snip::before {
  content: "";
  float: right;
  width: 0;
  height: calc(1.55em * 1);
}
.watch-desc-body {
  display: block;
  min-width: 0;
  opacity: .88;
}
.watch-desc.is-open .watch-desc-snip {
  display: flex;
  flex-direction: column;
  max-height: none;
  overflow: visible;
}
.watch-desc.is-open .watch-desc-snip::before { display: none; }
.watch-desc.is-open .watch-desc-body { order: 1; }
.watch-uploader { margin: 10px 0 0; color: var(--watch-text); opacity: .7; font-size: 13px; }
.watch-uploader a { color: var(--watch-text); font-weight: 600; opacity: 1; }
.watch-desc-more {
  float: right;
  clear: right;
  margin: 0 0 0 6px;
  font-weight: 650;
  font-size: 14px;
  line-height: 1.55;
  white-space: nowrap;
  color: var(--watch-text);
  opacity: 1;
}
.watch-desc-more[hidden] { display: none !important; }
.watch-desc.is-open .watch-desc-more {
  order: 2;
  float: none;
  clear: none;
  display: inline-block;
  align-self: flex-start;
  margin: 8px 0 0;
}
.watch-cast { margin: 8px 0 24px; }
.watch-cast h2 { font-size: 18px; margin: 0 0 14px; }
.watch-cast-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px 24px;
}
.watch-cast-card {
  display: flex; align-items: center; gap: 14px;
}
.watch-cast-card img {
  width: 88px; height: 88px; border-radius: 16px; object-fit: cover; background: var(--bg-soft);
}
.watch-cast-card h3 {
  display: flex; align-items: center; gap: 6px;
  font-size: 16px; margin: 0 0 8px;
}
.watch-cast-card .watch-sub { min-height: 32px; padding: 0 14px; font-size: 13px; }
.watch-cast-modal { width: min(520px, 100%); padding: 8px 8px 12px; }
.watch-cast-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 8px 6px;
}
.watch-cast-modal-head h2 { margin: 0; font-size: 18px; }
.watch-cast-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 8px; border-radius: 12px;
}
.watch-cast-row img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
}
.watch-cast-row h3 { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.watch-cast-row p { color: var(--muted); font-size: 13px; }
.watch-cast-row .grow { flex: 1; min-width: 0; }
.comments-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.comments-head h2 { font-size: 18px; margin: 0; }
.comment-form { display: flex; gap: 12px; margin: 0 0 20px; }
.comment-form img, .comment img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 40px;
}
.comment-form div { flex: 1; display: grid; gap: 8px; }
.comment-form textarea { min-height: 44px; }
.comment-form .btn { justify-self: end; }
.related-col h2 { font-size: 16px; margin-bottom: 12px; }
.related-chips-wrap {
  position: relative;
  margin: 0 0 14px;
  max-width: 100%;
  min-width: 0;
}
.related-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0 4px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
}
.related-chips::-webkit-scrollbar { display: none; }
.related-chips-arrow {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--bg-card, #121216);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
  transform: translateY(-50%);
  place-items: center;
  cursor: pointer;
}
.related-chips-arrow .icon { width: 18px; height: 18px; }
.related-chips-arrow.is-prev {
  left: 0;
}
.related-chips-arrow.is-prev .icon { transform: rotate(180deg); }
.related-chips-arrow.is-next { right: 0; }
.related-chips-arrow:hover { background: var(--watch-chip-hover, #3f3f3f); }
.related-chips-arrow[hidden] { display: none !important; }
.related-chips-wrap.is-overflow .related-chips-arrow { display: grid; }
.related-chips-wrap.is-overflow .related-chips {
  mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}
.related-chips-wrap.is-overflow.is-at-start .related-chips {
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent);
}
.related-chips-wrap.is-overflow.is-at-end .related-chips {
  mask-image: linear-gradient(90deg, transparent, #000 28px, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 100%);
}
.related-chips-wrap.is-overflow.is-at-start .related-chips-arrow.is-prev,
.related-chips-wrap.is-overflow.is-at-end .related-chips-arrow.is-next {
  display: none !important;
}
@media (max-width: 1100px) {
  .related-chips-arrow { display: none !important; }
  .related-chips-wrap.is-overflow .related-chips {
    mask-image: none;
    -webkit-mask-image: none;
  }
}
.related-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #e4e4e7;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.related-chip:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .22);
}
.related-chip.is-on {
  background: #f1f1f1;
  color: #0f0f0f;
  border-color: #f1f1f1;
}
body.is-light .related-chip {
  background: rgba(24, 24, 27, .04);
  border-color: rgba(24, 24, 27, .12);
  color: var(--muted);
}
body.is-light .related-chip:hover {
  color: var(--text);
  background: rgba(24, 24, 27, .08);
  border-color: rgba(24, 24, 27, .18);
}
body.is-light .related-chip.is-on {
  background: #0f0f0f;
  color: #fff;
  border-color: #0f0f0f;
}
body.is-light .related-chips-arrow {
  background: #fff;
  box-shadow: 0 2px 8px rgba(24, 24, 27, .16);
}
.related-empty {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.related-infinite {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  margin: 8px 0 4px;
  color: var(--muted);
  font-size: 13px;
}
.related-infinite[hidden] { display: none !important; }
.related-col .related-grid { grid-template-columns: 1fr; gap: 16px 12px; }
.related-col .related-grid[hidden] { display: none !important; }
.watch-recommend-bottom { /* desktop-only block; hidden when related chips stack */ }

@media (max-width: 1100px) {
  .watch-recommend-bottom {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (min-width: 1101px) {
  .related-col .related-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .related-col .video-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }
  .related-col .thumb {
    flex: 0 0 168px;
    width: 168px;
    max-width: 168px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
  }
  .related-col .card-meta {
    display: block;
    margin-top: 0;
    flex: 1;
    min-width: 0;
  }
  .related-col .card-meta > a { display: none; }
  .related-col .card-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .related-col .card-copy h3 {
    font-size: 14px;
    line-height: 1.3;
  }
  .related-col .card-copy .creator { margin-bottom: 0; }
  .related-col .card-stats { margin-top: 0; }
  .related-col .video-card:hover .thumb img { transform: none; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--glass); color: var(--text); font-weight: 600;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn:hover { border-color: #3c3c44; }
.btn-primary {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { background: transparent; }
.btn.active { background: #2a241c; border-color: #4a3d2a; color: var(--accent-strong); }
.btn.watch-sub {
  background: #f1f1f1;
  border-color: transparent;
  color: #0f0f0f;
}
.btn.watch-sub:hover { background: #e5e5e5; border-color: transparent; color: #0f0f0f; }
.btn.watch-sub.active {
  background: var(--watch-chip);
  border-color: transparent;
  color: var(--watch-text);
}
.btn.watch-sub.active:hover { background: var(--watch-chip-hover); color: var(--watch-text); }
body.is-light .btn.watch-sub {
  background: #0f0f0f;
  color: #ffffff;
}
body.is-light .btn.watch-sub:hover { background: #272727; color: #ffffff; }
body.is-light .btn.watch-sub.active {
  background: #f2f2f2;
  color: #0f0f0f;
}
body.is-light .btn.watch-sub.active:hover { background: #e5e5e5; color: #0f0f0f; }
.btn-danger { color: var(--danger); border-color: #4a2a2a; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin: 24px 0 8px; }
.pagination > a,
.pagination > span {
  box-sizing: border-box;
  min-width: 40px; height: 40px; padding: 0 12px;
  display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--line); color: var(--muted);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  line-height: 1;
  white-space: nowrap;
}
.pagination > a[rel="prev"],
.pagination > a[rel="next"] {
  min-width: 72px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.pagination .pag-arrow { display: none; }
.pagination > a[rel="prev"] .pag-arrow { transform: rotate(180deg); }
.pagination > a:hover,
.pagination > .current { color: var(--text); background: rgba(255,255,255,.1); }
body.is-light .pagination > a:hover,
body.is-light .pagination > .current { background: var(--bg-hover); }
@media (max-width: 720px) {
  .pagination {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 6px;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pagination::-webkit-scrollbar { display: none; }
  .pagination > a,
  .pagination > span {
    flex: 0 0 auto;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    font-size: 13px;
  }
  .pagination > a[rel="prev"],
  .pagination > a[rel="next"] {
    width: 36px;
    min-width: 36px;
    padding: 0;
  }
  .pagination > a[rel="prev"] span,
  .pagination > a[rel="next"] span { display: none; }
  .pagination .pag-arrow {
    display: block;
    width: 16px;
    height: 16px;
  }
}

.form-stack { display: grid; gap: 12px; }
.form-stack label, .field { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.form-stack h2 { font-size: 16px; color: var(--text); margin-top: 8px; }
.form-stack .check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}
.form-stack .check-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}
.legal-form .form-stack { max-width: 520px; }
.hint { color: var(--faint); font-weight: 400; }
.auth-body { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card {
  width: min(460px, 100%); background: var(--glass); border: 1px solid var(--line);
  border-radius: 18px; padding: 28px; box-shadow: var(--shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.install-card { width: min(560px, 100%); }
.brand-mark { letter-spacing: .22em; font-weight: 760; color: var(--accent); margin-bottom: 8px; }
.auth-card h1 { font-size: 26px; margin-bottom: 8px; }
.muted { color: var(--muted); }
.alert { padding: 10px 12px; border-radius: 10px; margin: 10px 0; }
.alert-error { background: #2a1616; color: #f0b4b4; }
.alert-success { background: #16241c; color: #b8e0c6; }
.alert-info { background: #1b1d24; color: #d4d4da; }
body.is-light .alert-error { background: #fde8e8; color: #9b2c2c; }
body.is-light .alert-success { background: #e7f6ec; color: #276749; }
body.is-light .alert-info { background: #eef0f3; color: #3f3f46; }
.impersonate-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 16px;
  background: #2a1c12;
  color: #f3d2a8;
  border-bottom: 1px solid rgba(var(--accent-rgb),.28);
  font-size: 13px;
}
.impersonate-bar form { margin: 0; }
.impersonate-bar .btn { min-height: 30px; padding: 0 12px; font-size: 12px; }
body.is-light .impersonate-bar { background: #fff4e5; color: #7a4e11; border-bottom-color: #f0d2a0; }
.site-announcements {
  --ann-pad: clamp(12px, 2.2vw, 18px);
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 4px 0 14px;
}
.site-announce {
  --ann-fg: #e8edf5;
  --ann-muted: rgba(232, 237, 245, .78);
  --ann-line: rgba(255, 255, 255, .12);
  --ann-soft: rgba(255, 255, 255, .1);
  --ann-cta-bg: #fff;
  --ann-cta-fg: #111827;
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ann-line);
  border-radius: 16px;
  color: var(--ann-fg);
  font-size: 14px;
  line-height: 1.5;
  isolation: isolate;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .28);
}
.site-announce::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: currentColor;
  opacity: .35;
  pointer-events: none;
}
.site-announce-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px 16px;
  box-sizing: border-box;
  width: 100%;
  padding: var(--ann-pad) calc(var(--ann-pad) + 2px) var(--ann-pad) calc(var(--ann-pad) + 6px);
}
.site-announce-main {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 12px 14px;
}
.site-announce-badge {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ann-soft);
  color: inherit;
}
.site-announce-badge .icon { width: 20px; height: 20px; }
.site-announce-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 3px;
}
.site-announce-title {
  margin: 0;
  font-size: clamp(14px, 1.7vw, 15.5px);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.35;
  color: inherit;
}
.site-announce-text {
  margin: 0;
  max-width: 54rem;
  color: var(--ann-muted);
  font-size: 13.5px;
  font-weight: 450;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.site-announce-text:only-child {
  color: inherit;
  font-size: clamp(14px, 1.7vw, 15px);
  font-weight: 550;
}
.site-announce-text p { margin: 0; display: inline; }
.site-announce-text a,
.site-announce-link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-announce-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 2px;
  white-space: nowrap;
}
.site-announce-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ann-cta-bg);
  color: var(--ann-cta-fg);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, filter .15s ease;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .05);
}
.site-announce-cta:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}
.site-announce-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  opacity: .72;
  cursor: pointer;
  transition: opacity .15s ease, background .15s ease;
}
.site-announce-close:hover {
  opacity: 1;
  background: var(--ann-soft);
}
.site-announce-close .icon { width: 16px; height: 16px; }
.site-announce.is-info {
  --ann-fg: #dce6f5;
  --ann-muted: rgba(220, 230, 245, .78);
  --ann-line: rgba(120, 160, 210, .28);
  --ann-soft: rgba(255, 255, 255, .08);
  --ann-cta-bg: #e8f0fb;
  --ann-cta-fg: #1d3558;
  background: linear-gradient(135deg, #1b2433 0%, #243247 58%, #2a3850 100%);
}
.site-announce.is-success {
  --ann-fg: #d7f0e1;
  --ann-muted: rgba(215, 240, 225, .78);
  --ann-line: rgba(125, 203, 154, .3);
  --ann-soft: rgba(255, 255, 255, .08);
  --ann-cta-bg: #e8f8ee;
  --ann-cta-fg: #174a2e;
  background: linear-gradient(135deg, #15241c 0%, #1a3324 60%, #214032 100%);
}
.site-announce.is-warn {
  --ann-fg: #ffe6c2;
  --ann-muted: rgba(255, 230, 194, .8);
  --ann-line: rgba(var(--accent-rgb), .35);
  --ann-soft: rgba(255, 255, 255, .08);
  --ann-cta-bg: #fff1dc;
  --ann-cta-fg: #6b3f0a;
  background: linear-gradient(135deg, #2b1d12 0%, #3a2714 58%, #453018 100%);
}
.site-announce.is-danger {
  --ann-fg: #ffd5d9;
  --ann-muted: rgba(255, 213, 217, .8);
  --ann-line: rgba(227, 117, 117, .35);
  --ann-soft: rgba(255, 255, 255, .08);
  --ann-cta-bg: #ffe8ea;
  --ann-cta-fg: #8b1e2b;
  background: linear-gradient(135deg, #2f1417 0%, #3a1618 58%, #4a1c22 100%);
}
.site-announce.is-promo {
  --ann-fg: #f7e7c8;
  --ann-muted: rgba(247, 231, 200, .82);
  --ann-line: rgba(var(--accent-rgb), .4);
  --ann-soft: rgba(255, 255, 255, .08);
  --ann-cta-bg: #1a140c;
  --ann-cta-fg: #f6e2c2;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(var(--accent-rgb), .22), transparent 55%),
    linear-gradient(135deg, #241c13 0%, #332616 55%, #3d2c18 100%);
}
.site-announce.is-telegram {
  --ann-fg: #fff;
  --ann-muted: rgba(255, 255, 255, .88);
  --ann-line: rgba(255, 255, 255, .2);
  --ann-soft: rgba(255, 255, 255, .16);
  --ann-cta-bg: #fff;
  --ann-cta-fg: #0f6fa8;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 255, 255, .18), transparent 50%),
    linear-gradient(135deg, #1784cb 0%, #229ed9 52%, #2bb0f0 100%);
  box-shadow: 0 12px 24px -10px rgba(15, 110, 168, .45);
}
body.is-light .site-announce { box-shadow: 0 10px 22px -10px rgba(24, 24, 27, .16); }
body.is-light .site-announce.is-info {
  --ann-fg: #1a2f4d;
  --ann-muted: #405875;
  --ann-line: #b7c9e2;
  --ann-soft: rgba(26, 47, 77, .08);
  --ann-cta-bg: #1a2f4d;
  --ann-cta-fg: #fff;
  background: linear-gradient(135deg, #eaf1fb, #dce8f7);
}
body.is-light .site-announce.is-success {
  --ann-fg: #174a2e;
  --ann-muted: #2f6a46;
  --ann-line: #a8d4b8;
  --ann-soft: rgba(23, 74, 46, .08);
  --ann-cta-bg: #174a2e;
  --ann-cta-fg: #fff;
  background: linear-gradient(135deg, #e8f7ee, #d5efdf);
}
body.is-light .site-announce.is-warn {
  --ann-fg: #6b3f0a;
  --ann-muted: #8a5a1d;
  --ann-line: #e2c08a;
  --ann-soft: rgba(107, 63, 10, .08);
  --ann-cta-bg: #6b3f0a;
  --ann-cta-fg: #fff8ea;
  background: linear-gradient(135deg, #fff4e4, #ffe4b8);
}
body.is-light .site-announce.is-danger {
  --ann-fg: #8b1e2b;
  --ann-muted: #a53a46;
  --ann-line: #efb0b8;
  --ann-soft: rgba(139, 30, 43, .08);
  --ann-cta-bg: #8b1e2b;
  --ann-cta-fg: #fff;
  background: linear-gradient(135deg, #fff0f1, #ffe0e3);
}
body.is-light .site-announce.is-promo {
  --ann-fg: #6b4a16;
  --ann-muted: #84612b;
  --ann-line: #e5c089;
  --ann-soft: rgba(107, 74, 22, .08);
  --ann-cta-bg: #6b4a16;
  --ann-cta-fg: #fff8ea;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(var(--accent-rgb), .28), transparent 55%),
    linear-gradient(135deg, #fff7e8, #ffe9c4);
}
body.is-light .site-announce.is-telegram {
  --ann-fg: #fff;
  --ann-muted: rgba(255, 255, 255, .9);
  --ann-line: #1486c8;
  --ann-soft: rgba(255, 255, 255, .18);
  --ann-cta-bg: #fff;
  --ann-cta-fg: #0f6fa8;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 255, 255, .2), transparent 50%),
    linear-gradient(135deg, #1a90d8, #229ed9 50%, #2aabee);
}
@media (max-width: 860px) {
  .site-announcements {
    width: 100%;
    margin: 2px 0 12px;
    gap: 8px;
  }
  .site-announce { border-radius: 14px; }
  .site-announce-inner {
    align-items: flex-start;
    gap: 10px;
    padding: 12px 44px 12px 14px;
  }
  .site-announce-main {
    align-items: flex-start;
    gap: 10px;
  }
  .site-announce-badge {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }
  .site-announce-close {
    position: absolute;
    top: 10px;
    right: 10px;
  }
  .site-announce-cta {
    min-height: 36px;
    padding: 0 14px;
  }
}
@media (max-width: 560px) {
  .site-announce-inner {
    flex-wrap: wrap;
    padding-bottom: 12px;
  }
  .site-announce-main { flex: 1 1 100%; }
  .site-announce-cta,
  .site-announce-link {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
    margin-left: 48px;
    max-width: calc(100% - 48px);
  }
}
.community-warn {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px;
  margin: 10px 0;
  border-radius: 12px;
  background: #2a1c12;
  color: #f3d2a8;
  border: 1px solid rgba(var(--accent-rgb),.28);
}
.community-warn p { margin: 6px 0 0; }
.community-warn a { color: inherit; text-decoration: underline; }
.pro-cta { padding: 0 12px; min-height: 34px; }
.pro-pill {
  display: inline-flex; align-items: center; min-height: 28px;
  padding: 0 8px; border-radius: 999px;
  background: rgba(var(--accent-rgb),.18); color: var(--accent-strong);
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.pro-page {
  --pro-pad: clamp(16px, 3vw, 28px);
  display: grid;
  gap: clamp(28px, 5vw, 52px);
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}
.page-pro { width: min(1120px, calc(100% - 60px)); }
.pro-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr);
  gap: clamp(18px, 3.5vw, 36px);
  align-items: stretch;
  padding: var(--pro-pad);
  border-radius: 28px;
  border: 1px solid rgba(var(--accent-rgb),.18);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(var(--accent-rgb),.16), transparent 55%),
    linear-gradient(165deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  overflow: hidden;
}
.pro-banner-main {
  display: grid;
  gap: 12px;
  align-content: center;
  min-width: 0;
}
.pro-eyebrow {
  margin: 0;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pro-title {
  margin: 0;
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 780;
  letter-spacing: -.05em;
  line-height: .95;
  color: var(--text);
}
.pro-tagline {
  margin: 0;
  font-size: clamp(16px, 2.4vw, 20px);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--text);
}
.pro-lead {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 40ch;
}
.pro-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.pro-banner-actions .btn {
  min-height: 44px;
  padding-inline: 18px;
}
.pro-highlight {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px 16px;
  border-radius: 20px;
  border: 1px solid rgba(var(--accent-rgb),.24);
  background: rgba(11,11,13,.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.pro-highlight-kicker {
  margin: 0;
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pro-highlight-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.pro-highlight-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 550;
}
.pro-highlight-ico {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(var(--accent-rgb),.12);
  color: var(--accent-strong);
  flex: 0 0 auto;
}
.pro-highlight-ico .icon { width: 15px; height: 15px; }
.pro-highlight-note {
  margin: 2px 0 0;
  color: var(--faint);
  font-size: 12px;
}
.pro-section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}
.pro-section-head h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -.03em;
}
.pro-section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.5;
}
.pro-benefits { scroll-margin-top: calc(var(--header-h) + 12px); }
.pro-section-head.is-benefits {
  margin-bottom: 18px;
}
.pro-perk-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(var(--pro-count, 5), minmax(0, 1fr));
  gap: 12px;
}
.pro-perk {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.pro-perk:hover {
  border-color: rgba(var(--accent-rgb),.35);
  background: rgba(var(--accent-rgb),.06);
  transform: translateY(-2px);
}
.pro-perk.is-highlight {
  border-color: rgba(var(--accent-rgb),.45);
  background: linear-gradient(180deg, rgba(var(--accent-rgb),.14), rgba(255,255,255,.03));
}
.pro-perk-ico {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  background: rgba(var(--accent-rgb),.1);
  color: var(--accent-strong);
  border: 1px solid rgba(var(--accent-rgb),.16);
}
.pro-perk-ico .icon {
  width: 14px;
  height: 27px;
  display: block;
}
.pro-perk strong {
  display: block;
  font-size: 13.5px;
  letter-spacing: -.015em;
  line-height: 1.25;
}
.pro-perk span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.pro-checkout {
  padding: var(--pro-pad);
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.pro-plans, .pro-active, .pro-methods { display: grid; gap: 14px; }
.pro-active {
  padding: 20px;
  border: 1px solid rgba(var(--accent-rgb),.24);
  border-radius: 18px;
  background: rgba(var(--accent-rgb),.08);
}
.pro-checkout > .pro-active {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.pro-active .btn { justify-self: start; }
.pro-active.is-wait .btn { justify-self: start; margin-top: 4px; }
.pro-guest-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}
.pro-guest-note a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pro-submit {
  width: 100%;
  min-height: 50px;
  font-weight: 700;
  font-size: 15px;
}
.pro-mobile-bar { display: none; }
.pro-hero { margin: 8px 0 0; }
.pro-hero h1 { margin: 0 0 8px; font-size: 42px; letter-spacing: -.04em; }
.pro-hero p { margin: 0; color: var(--muted); max-width: 42ch; }
.pro-kicker { color: var(--gold); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px; }
.pro-perks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pro-perks li { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--glass, rgba(255,255,255,.03)); }
.pro-perks strong { display: block; }
.pro-perks span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
body.is-light .pro-banner {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(var(--accent-rgb),.2), transparent 55%),
    #fff;
  border-color: rgba(24,24,27,.08);
}
body.is-light .pro-highlight { background: rgba(255,255,255,.85); }
body.is-light .pro-checkout,
body.is-light .pro-perk { background: rgba(24,24,27,.03); }
@media (max-width: 1100px) {
  .page-pro { width: min(1120px, calc(100% - 60px)); }
  .pro-perk-grid {
    grid-template-columns: repeat(var(--pro-count, 5), minmax(168px, 1fr));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .pro-perk {
    scroll-snap-align: start;
    min-width: 168px;
  }
}
@media (max-width: 860px) {
  .page-pro { width: min(920px, calc(100% - 12px)); }
  .pro-banner {
    grid-template-columns: 1fr;
    border-radius: 22px;
    gap: 16px;
  }
  .pro-perk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
  }
  .pro-perk {
    min-width: 0;
    grid-template-columns: auto 1fr;
    grid-template-rows: none;
    gap: 12px;
    padding: 16px;
  }
  .pro-perk:hover { transform: none; }
}
@media (max-width: 640px) {
  .page-pro { width: calc(100% - 12px); }
  .pro-page {
    gap: 22px;
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  .pro-banner {
    padding: 18px 16px;
    border-radius: 18px;
  }
  .pro-title { font-size: clamp(36px, 12vw, 48px); }
  .pro-tagline { font-size: 16px; }
  .pro-lead { font-size: 14px; }
  .pro-banner-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .pro-banner-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .pro-highlight-list {
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
  }
  .pro-highlight-note { display: none; }
  .pro-checkout {
    padding: 16px;
    border-radius: 18px;
  }
  .pro-section-head h2 { font-size: 22px; }
  .pro-perk-grid {
    grid-template-columns: 1fr;
  }
  .pro-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: grid;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, transparent, rgba(11,11,13,.92) 28%, rgba(11,11,13,.98));
    pointer-events: none;
  }
  .pro-mobile-bar .btn {
    pointer-events: auto;
    width: 100%;
    min-height: 48px;
    justify-content: center;
    font-weight: 700;
  }
  .pro-page.is-checkout-visible .pro-mobile-bar { display: none; }
  body.is-light .pro-mobile-bar {
    background: linear-gradient(180deg, transparent, rgba(244,245,247,.92) 28%, rgba(244,245,247,.98));
  }
}
.dash-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(125,203,154,.14);
  color: #7dcb9a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  width: max-content;
}
.dash-status.is-pending { background: rgba(var(--accent-rgb),.14); color: var(--accent-strong); }
.pro-methods { border: 0; padding: 0; margin: 0; }
.pro-methods legend { font-weight: 700; margin-bottom: 8px; }
.dash-card .pro-methods legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pro-plan-grid,
.pro-method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pro-plan-grid.is-tiers {
  grid-template-columns: 1fr;
  gap: 10px;
}
.pro-plan-card,
.pro-method-card {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.pro-plan-grid.is-tiers .pro-plan-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 14px;
  min-height: 72px;
  padding: 14px 16px;
}
.pro-plan-grid.is-tiers .pro-plan-card.has-badge { padding-top: 18px; }
.pro-plan-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.pro-plan-card.has-badge { padding-top: 22px; }
.pro-plan-card:hover,
.pro-method-card:hover { border-color: rgba(var(--accent-rgb),.35); }
.pro-plan-card input,
.pro-method-card input { position: absolute; opacity: 0; pointer-events: none; }
.pro-plan-card em {
  position: absolute;
  top: -8px;
  left: 14px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pro-plan-card strong,
.pro-method-card strong { font-size: 15px; }
.pro-method-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pro-currency {
  flex: 0 0 auto;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
}
.pro-method-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.pro-method-amounts b { font-size: 13px; }
.pro-plan-card b { font-size: 22px; letter-spacing: -.03em; white-space: nowrap; }
.pro-method-card b { font-size: 16px; letter-spacing: -.02em; }
.pro-method-card b i { font-style: normal; color: var(--muted); font-size: 12px; font-weight: 500; }
.pro-plan-card small,
.pro-method-card small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.pro-method-card:only-child { grid-column: 1 / -1; }
.pro-pay-note { margin: 0; color: var(--muted); font-size: 13px; }
.pro-plan-card:has(input:checked),
.pro-plan-card.is-checked,
.pro-method-card:has(input:checked) {
  border-color: rgba(var(--accent-rgb),.55);
  background: rgba(var(--accent-rgb),.1);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb),.18);
}

.upi-box { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; margin: 16px 0; }
.upi-qr { width: 240px; height: 240px; border-radius: 12px; background: #fff; padding: 8px; }

.binance-pay {
  margin: 18px 0 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  display: grid;
  gap: 14px;
}
.binance-pay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.binance-pay-head strong { font-size: 16px; letter-spacing: -.02em; }
.binance-pay-head span { color: var(--accent); font-weight: 700; }
.binance-pay-steps {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  display: grid;
  gap: 4px;
}
.binance-pay-grid { display: grid; gap: 10px; }
.binance-pay-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,.22);
}
.binance-pay-row.is-memo {
  border-color: rgba(var(--accent-rgb),.4);
  background: rgba(var(--accent-rgb),.08);
}
.binance-pay-row span { color: var(--muted); font-size: 12px; font-weight: 650; }
.binance-pay-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}
.binance-copy { min-height: 34px; padding: 0 12px; font-size: 12px; }
.binance-pay-warn {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(232,196,154,.28);
  background: rgba(232,196,154,.08);
}
.binance-pay-warn strong {
  display: block;
  margin-bottom: 4px;
  color: #e8c49a;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.binance-pay-warn p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.pay-switch {
  margin: 28px 0 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
}
.pay-switch h2 { margin: 0 0 6px; font-size: 15px; }
.pay-switch-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.pay-actions { margin: 14px 0; }
.pay-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}
.pay-cancel-form { display: inline; margin: 0; }
.pay-cancel-form .text-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}
.pay-cancel-form .text-btn:hover { color: var(--text); }
@media (max-width: 640px) {
  .binance-pay-row { grid-template-columns: 1fr; gap: 6px; }
  .binance-copy { justify-self: start; }
}

.pro-plan { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.pro-plan b { display: block; margin: 4px 0; }
.pro-gate { position: relative; min-height: 220px; background: #111; }
.pro-gate img { width: 100%; height: 100%; object-fit: cover; opacity: .35; display: block; aspect-ratio: 16/9; }
.pro-gate-card {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  padding: 24px; gap: 8px;
}
.pro-gate-card h2 { margin: 0; font-size: 22px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.report-legal { display: grid; gap: 10px; }
body.is-light .community-warn { background: #fff4e5; color: #7a4e11; border-color: #f0d2a0; }
.empty {
  padding: 48px 16px; text-align: center; color: var(--muted);
  border: 1px dashed var(--line); border-radius: 16px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.page.is-legal { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - var(--header-h) - 80px); }
.legal-page {
  width: min(720px, 100%);
  margin: 28px auto 48px;
  padding: 0 8px;
}
.legal-page.is-panel { margin: 0 auto; padding: 0; }
.legal-card {
  position: relative;
  overflow: hidden;
  padding: 40px 36px 32px;
  border-radius: 28px;
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  text-align: left;
}
.legal-card::before {
  content: "";
  position: absolute;
  inset: auto -20% 55% -20%;
  height: 220px;
  background: radial-gradient(circle at 50% 0, rgba(227,117,117,.18), transparent 68%);
  pointer-events: none;
}
.legal-mark {
  position: relative;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  border-radius: 18px;
  background: rgba(227,117,117,.12);
  color: #f0b4b4;
  border: 1px solid rgba(227,117,117,.22);
}
.legal-mark .icon { width: 26px; height: 26px; }
.legal-kicker {
  position: relative;
  margin: 0 0 8px;
  color: #f0b4b4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.legal-card h1 {
  position: relative;
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--text);
}
.legal-lead {
  position: relative;
  margin: 0 0 22px;
  max-width: 38em;
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}
.legal-facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}
.legal-facts div {
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.legal-facts dt {
  margin: 0 0 4px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.legal-facts dd {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}
.legal-copy {
  position: relative;
  margin: 0 0 24px;
  max-width: 42em;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.legal-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.legal-actions .btn { min-height: 40px; padding: 0 16px; }
body.is-light .legal-card::before { background: radial-gradient(circle at 50% 0, rgba(227,117,117,.1), transparent 68%); }
body.is-light .legal-mark { background: rgba(227,117,117,.08); color: #b42318; border-color: rgba(180,35,24,.12); }
body.is-light .legal-kicker { color: #b42318; }
@media (max-width: 720px) {
  .legal-card { padding: 28px 20px 22px; border-radius: 22px; }
  .legal-card h1 { font-size: 26px; }
  .legal-lead { font-size: 15px; }
  .legal-facts { grid-template-columns: 1fr; }
}

.footer {
  width: 100%;
  margin-top: 32px;
  padding: 28px 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  background: var(--glass);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(12rem, 1.4fr) repeat(auto-fit, minmax(9rem, 1fr));
  gap: 28px 24px;
  align-items: start;
}
.footer-grid { display: contents; }
.footer-brand p {
  margin: 0;
  line-height: 1.55;
  max-width: 36em;
}
.footer-col { min-width: 0; }
.footer strong,
.footer-head {
  color: var(--text);
  display: block;
  margin: 0 0 10px;
  font-weight: 650;
  font-size: 13px;
}
.footer-head { cursor: default; }
.footer-col nav { display: grid; }
.footer a { display: block; padding: 4px 0; color: inherit; }
.footer a:hover { color: var(--text); }
.legal {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.age-gate {
  --age-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --age-sans: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 32px);
  overflow: auto;
  font-family: var(--age-sans);
  background: #070709;
}
.age-gate-fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.age-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: .55;
  animation: age-drift 14s ease-in-out infinite alternate;
}
.age-orb-a {
  width: min(52vw, 520px);
  height: min(52vw, 520px);
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .45), transparent 70%);
}
.age-orb-b {
  width: min(44vw, 440px);
  height: min(44vw, 440px);
  right: -10%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(70, 120, 220, .28), transparent 68%);
  animation-delay: -4s;
}
.age-orb-c {
  width: min(36vw, 360px);
  height: min(36vw, 360px);
  left: 38%;
  top: 42%;
  background: radial-gradient(circle, rgba(255, 255, 255, .08), transparent 70%);
  animation-delay: -7s;
}
.age-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 9, .35) 0%, rgba(7, 7, 9, .72) 100%),
    radial-gradient(ellipse 80% 60% at 50% 0%, transparent, rgba(7, 7, 9, .55));
}
@keyframes age-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(3%, -4%, 0) scale(1.08); }
}
.age-card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  text-align: center;
  padding: clamp(28px, 5vw, 40px) clamp(22px, 4vw, 36px) 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, .1) 0%, transparent 42%),
    rgba(14, 14, 18, .62);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .08) inset,
    0 28px 80px rgba(0, 0, 0, .55);
  backdrop-filter: blur(28px) saturate(1.35);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
  animation: age-rise .55s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes age-rise {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.age-badge {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .04)),
    rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow:
    0 0 0 6px rgba(var(--accent-rgb), .12),
    0 16px 40px rgba(0, 0, 0, .35);
  animation: age-badge-in .7s .12s cubic-bezier(.22, 1, .36, 1) both;
}
.age-badge span {
  font-family: var(--age-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--accent-strong);
  line-height: 1;
}
@keyframes age-badge-in {
  from { opacity: 0; transform: scale(.86); }
  to { opacity: 1; transform: scale(1); }
}
.age-brand {
  margin: 0 0 10px;
  font-family: var(--age-display);
  font-size: clamp(28px, 5vw, 34px);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1.1;
}
.age-brand-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.age-brand-logo .brand-logo {
  height: 44px;
  max-width: 220px;
  margin: 0 auto;
}
.age-card h1 {
  margin: 0 0 12px;
  font-family: var(--age-sans);
  font-size: clamp(15px, 2.4vw, 17px);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.age-lead {
  margin: 0 0 22px;
  color: #b8b8c0;
  font-size: 15px;
  line-height: 1.55;
}
.age-lead strong { color: #f0f0f4; font-weight: 650; }
.age-actions {
  display: grid;
  gap: 12px;
  justify-items: stretch;
}
.age-enter {
  width: 100%;
  min-height: 50px;
  border-radius: 999px;
  font-family: var(--age-sans);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.01em;
  box-shadow: 0 12px 28px rgba(var(--accent-rgb), .28);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.age-enter:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(var(--accent-rgb), .36);
}
.age-enter[aria-busy="true"] {
  opacity: .72;
  pointer-events: none;
}
.age-leave {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .03);
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.age-leave:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .18);
}
.age-legal {
  margin: 18px 0 0;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.5;
}
.age-legal a {
  color: #c9c9d2;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.age-legal a:hover { color: var(--accent-strong); }
body.is-light .age-gate { background: #e8eaef; }
body.is-light .age-orb-a { opacity: .35; }
body.is-light .age-orb-b { opacity: .28; }
body.is-light .age-veil {
  background:
    linear-gradient(180deg, rgba(244, 245, 247, .2) 0%, rgba(244, 245, 247, .78) 100%),
    radial-gradient(ellipse 80% 60% at 50% 0%, transparent, rgba(244, 245, 247, .45));
}
body.is-light .age-card {
  border-color: rgba(24, 24, 27, .1);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, .9) 0%, transparent 48%),
    rgba(255, 255, 255, .72);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .9) inset,
    0 24px 60px rgba(24, 24, 27, .12);
}
body.is-light .age-badge {
  background: linear-gradient(145deg, #fff, rgba(24, 24, 27, .04));
  border-color: rgba(24, 24, 27, .1);
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .1), 0 14px 32px rgba(24, 24, 27, .1);
}
body.is-light .age-brand { color: var(--text); }
body.is-light .age-card h1 { color: #71717a; }
body.is-light .age-lead { color: #52525b; }
body.is-light .age-lead strong { color: #18181b; }
body.is-light .age-leave {
  color: #52525b;
  border-color: rgba(24, 24, 27, .12);
  background: rgba(255, 255, 255, .7);
}
body.is-light .age-leave:hover {
  color: #18181b;
  background: #fff;
  border-color: rgba(24, 24, 27, .2);
}
body.is-light .age-legal { color: #a1a1aa; }
body.is-light .age-legal a { color: #3f3f46; }

/* Compact for embed iframes / short viewports */
@media (max-height: 420px) {
  .age-gate { padding: 8px; }
  .age-orb { display: none; }
  .age-card {
    padding: 16px 14px;
    border-radius: 16px;
    max-height: calc(100vh - 16px);
    overflow: auto;
    animation: none;
  }
  .age-badge { width: 48px; height: 48px; margin-bottom: 10px; animation: none; }
  .age-badge span { font-size: 15px; }
  .age-brand { font-size: 22px; margin-bottom: 4px; }
  .age-brand-logo .brand-logo { height: 28px; }
  .age-card h1 { font-size: 12px; margin-bottom: 6px; letter-spacing: .1em; }
  .age-lead { font-size: 12px; line-height: 1.35; margin-bottom: 12px; }
  .age-legal { display: none; }
  .age-enter { min-height: 42px; font-size: 13px; }
  .age-leave { min-height: 34px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .age-orb,
  .age-card,
  .age-badge { animation: none; }
}

.comments { margin-top: 24px; }
.comment {
  display: flex;
  gap: 12px;
  padding: 12px;
  margin: 0 -12px;
  border: 0;
  border-radius: 14px;
  border-bottom: none;
  transition: background .18s ease;
}
.comment + .comment { margin-top: 2px; }
.comment:hover,
.comment:focus-within {
  background: var(--bg-hover);
}
.comment strong { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.comment strong .verified,
.comment strong .icon.verified { width: 14px; height: 14px; }
.comment time { color: var(--faint); font-size: 12px; font-weight: 400; margin-left: 8px; }

.modal {
  position: fixed; inset: 0; background: var(--overlay);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none; place-items: center; z-index: 70; padding: 16px;
}
.modal.open { display: grid; }
.modal[hidden] { display: none !important; }
.modal-card {
  width: min(440px, 100%); background: var(--glass); border: 1px solid var(--line);
  border-radius: 16px; padding: 20px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.share-modal {
  position: relative;
  width: min(520px, 100%);
  display: grid;
  gap: 14px;
}
.share-modal h2 { margin: 0; font-size: 20px; }
.share-modal-lead,
.share-modal-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.share-field {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.share-field input,
.share-field textarea {
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-input);
  color: var(--text);
  font: inherit;
  font-weight: 400;
  font-size: 13px;
  resize: vertical;
}
.share-field textarea {
  min-height: 96px;
  font-family: var(--mono);
  line-height: 1.4;
}
.share-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.share-row input { flex: 1; min-width: 0; }
.share-row-embed { margin-top: 8px; flex-wrap: wrap; }

.page.is-embed {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100%;
  background: #000;
}
body.is-upload:has(.is-embed),
body.is-upload:has(.is-embed) .app {
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  background: #000;
}
html:has(.is-embed) {
  height: 100%;
  background: #000;
}
.embed-page {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  background: #000;
  overflow: hidden;
}
.embed-player {
  width: 100%;
  height: 100%;
  min-height: 180px;
  aspect-ratio: auto;
  border-radius: 0;
  background: #000;
}
.embed-player .fluid_video_wrapper,
.embed-player video {
  width: 100% !important;
  height: 100% !important;
}
.embed-brand {
  position: absolute;
  right: 10px;
  top: 10px;
  bottom: auto;
  z-index: 20;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .62);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: auto;
}
.embed-brand:hover { background: rgba(0, 0, 0, .78); color: #fff; }
.download-gate-modal {
  position: relative;
  width: min(440px, 100%);
  padding: 28px 24px 22px;
  border-radius: 22px;
  border: 1px solid rgba(var(--accent-rgb),.22);
  background:
    linear-gradient(165deg, rgba(var(--accent-rgb),.12), rgba(18,18,22,.96) 38%),
    var(--bg-card);
  box-shadow: 0 28px 70px rgba(0,0,0,.45);
}
.download-gate-close {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--muted);
}
.download-gate-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb),.16);
  color: var(--accent-strong);
  border: 1px solid rgba(var(--accent-rgb),.28);
}
.download-gate-mark .icon { width: 22px; height: 22px; }
.download-gate-modal h2 {
  margin: 0 0 8px;
  font-size: clamp(20px, 4vw, 24px);
  letter-spacing: -.03em;
  line-height: 1.2;
  padding-right: 28px;
}
.download-gate-lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.download-gate-perks {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}
.download-gate-perks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 550;
  color: var(--text);
}
.download-gate-perk-ico {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(var(--accent-rgb),.14);
  color: var(--accent-strong);
  flex: 0 0 auto;
}
.download-gate-perk-ico .icon { width: 12px; height: 12px; }
.download-gate-plans {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
.download-gate-plan {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  transition: border-color .15s ease, background .15s ease;
}
.download-gate-plan:hover {
  border-color: rgba(var(--accent-rgb),.4);
  background: rgba(var(--accent-rgb),.08);
}
.download-gate-plan.is-best {
  border-color: rgba(var(--accent-rgb),.55);
  background: rgba(var(--accent-rgb),.1);
}
.download-gate-plan strong {
  display: block;
  font-size: 14px;
}
.download-gate-plan small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}
.download-gate-plan b {
  font-size: 16px;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.download-gate-plan em {
  position: absolute;
  top: -8px;
  right: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.download-gate-cta {
  width: 100%;
  min-height: 46px;
  justify-content: center;
  font-weight: 700;
}
.download-gate-actions {
  display: grid;
  gap: 10px;
}
.download-gate-actions .btn {
  width: 100%;
  min-height: 44px;
  justify-content: center;
}
.download-gate-foot {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.download-gate-foot a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.is-light .download-gate-modal {
  background: linear-gradient(165deg, rgba(var(--accent-rgb),.14), #fff 42%);
  box-shadow: 0 24px 50px rgba(24,24,27,.12);
}
body.is-modal { overflow: hidden; }
@media (max-width: 560px) {
  .download-gate-modal { padding: 24px 16px 18px; border-radius: 18px; }
  .download-gate-perks { grid-template-columns: 1fr; }
  .download-gate-plan { padding: 12px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.category-grid, .creator-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.cat-card, .creator-tile {
  background: var(--glass); border: 1px solid var(--line); border-radius: 14px; padding: 16px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.cat-card:hover, .creator-tile:hover { border-color: #35353d; }
.cat-card h3 { margin-bottom: 6px; }
.creator-tile { display: flex; gap: 12px; align-items: center; }
.creator-tile img, .creator-tile .avatar-fallback {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--bg-soft);
}

@media (max-width: 1400px) {
  .video-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  /* Merge featured + overflow into one 2-col flow so 3 items don’t leave a blank cell. */
  .featured-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 14px;
  }
  .featured-stack .featured-grid,
  .featured-stack .video-grid {
    display: contents;
  }
  .is-home-featured-desktop { display: none !important; }
  .video-card.is-home-featured-mobile { display: block !important; }
  .watch { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .watch > * { min-width: 0; max-width: 100%; }
  .watch-recommend-bottom { display: none !important; }
  .related-col {
    margin-top: 0;
    padding-top: 0;
    overflow: visible;
  }
  .page.is-watch,
  .page.is-watch .watch,
  .page.is-watch .related-col {
    overflow: visible;
  }
  .page.is-watch .related-chips-wrap {
    margin: 0 0 12px;
    padding: 8px 0 10px;
  }
  body.is-watch .header {
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--line);
    box-shadow: none;
  }
  body.is-watch .header .search-form {
    background: var(--bg-input);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .page.is-watch .player-shell.is-stuck {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 32;
    width: auto;
    max-width: none;
    margin: 0;
    border-radius: 0;
    background: #000;
    box-shadow: 0 10px 18px -14px rgba(0, 0, 0, .7);
  }
  .page.is-watch .related-chips-wrap.is-stuck {
    position: fixed;
    top: calc(var(--header-h) + var(--watch-player-h, 0px));
    left: 0;
    right: 0;
    z-index: 31;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 8px max(12px, env(safe-area-inset-left)) 10px max(12px, env(safe-area-inset-right));
    background: var(--bg);
    box-shadow: 0 8px 16px -12px rgba(0, 0, 0, .55);
  }
  body.is-light .page.is-watch .related-chips-wrap.is-stuck {
    box-shadow: 0 8px 16px -12px rgba(24, 24, 27, .18);
  }
  [data-player-pin],
  [data-related-chips-pin] {
    display: block;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    pointer-events: none;
    visibility: hidden;
  }
  .related-col .related-grid,
  .recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

  /* Watch related list on stacked watch layout */
  body.is-mobile-watch-chips .page.is-watch .related-col .related-grid,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    grid-template-columns: none;
  }
  body.is-mobile-watch-chips .page.is-watch .related-col .video-card,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .video-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
  }
  body.is-mobile-watch-chips .page.is-watch .related-col .thumb,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .thumb {
    flex: 0 0 42%;
    width: 42%;
    max-width: 200px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
  }
  body.is-mobile-watch-chips .page.is-watch .related-col .thumb img,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .thumb img {
    transform: none !important;
    filter: none !important;
  }
  body.is-mobile-watch-chips .page.is-watch .related-col .card-meta,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .card-meta {
    display: block;
    margin-top: 0;
    padding: 0;
    flex: 1;
    min-width: 0;
  }
  body.is-mobile-watch-chips .page.is-watch .related-col .card-meta > a,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .card-meta > a {
    display: none;
  }
  body.is-mobile-watch-chips .page.is-watch .related-col .card-copy,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .card-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  body.is-mobile-watch-chips .page.is-watch .related-col .card-copy h3,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .card-copy h3 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }
  body.is-mobile-watch-chips .page.is-watch .related-col .card-copy .creator,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .card-copy .creator,
  body.is-mobile-watch-chips .page.is-watch .related-col .card-stats,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .card-stats {
    display: block;
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    color: var(--muted);
  }
  body.is-mobile-watch-chips .page.is-watch .related-col .card-copy .creator::after,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .card-copy .creator::after {
    content: none;
  }
}
@media (max-width: 860px) {
  .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid, .creator-grid { grid-template-columns: 1fr 1fr; }
  .header {
    left: 0;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
    gap: 8px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .header .brand { min-width: 0; }
  .header .search-form { min-width: 0; flex: 1 1 auto; }
  .header-actions {
    flex: 0 0 auto;
    min-width: 0;
    overflow: visible;
  }
  .user-pop,
  .notify-pop {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    right: max(12px, env(safe-area-inset-right));
    left: auto;
    max-height: calc(100vh - var(--header-h) - 24px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .user-pop {
    width: min(300px, calc(100vw - 24px));
  }
  .notify-pop {
    width: min(360px, calc(100vw - 24px));
  }
  .app { padding-left: 0; }
  .footer { padding-left: 12px; padding-right: 12px; }
  .rail {
    z-index: 50; width: min(280px, 86vw); padding: 12px 14px 18px;
    padding-top: max(12px, env(safe-area-inset-top));
    transform: translateX(-110%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .2s ease, visibility 0s linear .2s;
    background: var(--rail-bg); border-right: 1px solid var(--line);
  }
  .rail.open {
    transform: none;
    visibility: visible;
    pointer-events: auto;
    transition: transform .2s ease, visibility 0s;
  }
  .rail-head {
    margin: 0 0 14px;
    padding: 4px 2px 12px;
    border-bottom: 1px solid var(--line);
  }
  .rail-brand {
    display: flex;
    padding: 4px 6px;
    font-size: 20px;
  }
  .rail-close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .rail-nav a, .rail-account a,
  body.is-rail-mini .rail-nav a,
  body.is-rail-mini .rail-account a {
    width: 100%; height: 42px; min-height: 0; margin: 0;
    flex-direction: row; justify-content: flex-start; gap: 12px;
    padding: 0 14px; border-radius: 999px;
    font-size: 15px; font-weight: 450; text-align: left;
  }
  .rail-nav a span, .rail-account a span,
  body.is-rail-mini .rail-nav a span,
  body.is-rail-mini .rail-account a span { display: inline; max-width: none; }
  .rail-account {
    display: flex; margin-top: 12px; padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.06);
  }
  .rail-legal { display: flex; }
  .search-form { max-width: none; }
}
@media (max-width: 720px) {
  .pro-perks { grid-template-columns: 1fr; }
  .pro-method-grid { grid-template-columns: 1fr; }
  .footer {
    margin-top: 20px;
    padding: 20px 16px calc(22px + env(safe-area-inset-bottom, 0px));
  }
  .footer-top,
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-brand {
    grid-column: auto;
    padding-bottom: 16px;
  }
  .footer-brand strong {
    font-size: 16px;
    letter-spacing: -.02em;
  }
  .footer-brand p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .footer-col { border-top: 1px solid var(--line); }
  .footer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    min-height: 48px;
    padding: 0 2px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
  }
  .footer-head::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: .45;
    transition: transform .18s ease;
  }
  .footer-col input:checked + .footer-head::after {
    transform: rotate(-135deg);
    margin-top: 4px;
  }
  .footer-col nav {
    display: none;
    gap: 0;
    padding: 0 2px 12px;
  }
  .footer-col input:checked ~ nav { display: grid; }
  .footer-col nav a {
    padding: 9px 0;
    font-size: 14px;
  }
  .legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 4px;
    padding-top: 16px;
    line-height: 1.45;
  }
}
@media (max-width: 640px) {
  .video-grid, .featured-grid, .recommend-grid,
  .related-col .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 8px; }
  .featured-stack {
    grid-template-columns: 1fr 1fr;
    gap: 14px 8px;
  }

  /* YouTube-style mobile feed (home/browse/etc). Watch related/recommend stay grid. */
  body.is-mobile-feed .page:not(.is-watch) .video-grid,
  body.is-mobile-feed .page:not(.is-watch) .featured-grid,
  body.is-mobile-feed .page:not(.is-watch) .featured-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px 0;
    width: calc(100% + 12px);
    max-width: none;
    margin-left: -6px;
    margin-right: -6px;
    box-sizing: border-box;
  }
  body.is-mobile-feed .page:not(.is-watch) .featured-stack .featured-grid,
  body.is-mobile-feed .page:not(.is-watch) .featured-stack .video-grid {
    display: contents;
  }
  body.is-mobile-feed .page:not(.is-watch) .video-card,
  body.is-mobile-feed .page:not(.is-watch) .featured-stack .video-card {
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
  }
  body.is-mobile-feed .page:not(.is-watch) .video-card .thumb {
    border-radius: 0;
    background: #0a0a0c;
  }
  body.is-mobile-feed .page:not(.is-watch) .video-card .thumb img {
    transform: none !important;
    filter: none !important;
  }
  body.is-mobile-feed .page:not(.is-watch) .video-card .badge {
    top: auto;
    right: 8px;
    bottom: 8px;
    background: rgba(0, 0, 0, .82);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-size: 12px;
    font-weight: 650;
    padding: 3px 6px;
    border-radius: 4px;
  }
  body.is-mobile-feed .page:not(.is-watch) .video-card .pro-chip {
    top: 8px;
    left: 8px;
  }
  body.is-mobile-feed .page:not(.is-watch) .video-card .card-meta {
    margin-top: 10px;
    padding: 0 12px 2px;
    gap: 12px;
    align-items: flex-start;
  }
  body.is-mobile-feed .page:not(.is-watch) .video-card .card-avatar,
  body.is-mobile-feed .page:not(.is-watch) .video-card .card-avatar img,
  body.is-mobile-feed .page:not(.is-watch) .video-card .card-meta .avatar-fallback {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  body.is-mobile-feed .page:not(.is-watch) .video-card .card-copy {
    display: block;
    min-width: 0;
  }
  body.is-mobile-feed .page:not(.is-watch) .video-card .card-copy h3 {
    display: -webkit-box;
    margin: 0 0 2px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body.is-mobile-feed .page:not(.is-watch) .video-card .card-copy .creator,
  body.is-mobile-feed .page:not(.is-watch) .video-card .card-copy .card-stats {
    display: inline;
    font-size: 12px;
    line-height: 1.35;
    color: var(--muted);
    white-space: normal;
  }
  body.is-mobile-feed .page:not(.is-watch) .video-card .card-copy .creator {
    max-width: none;
    overflow: visible;
    text-overflow: unset;
  }
  body.is-mobile-feed .page:not(.is-watch) .video-card .card-copy .creator:has(+ .card-stats)::after {
    content: " · ";
    color: var(--muted);
    font-weight: 400;
  }
  body.is-mobile-feed .page:not(.is-watch) .video-card .card-copy .creator .verified,
  body.is-mobile-feed .page:not(.is-watch) .video-card .card-copy .creator .icon.verified {
    width: 12px;
    height: 12px;
    vertical-align: -1px;
    display: inline-block;
  }
  body.is-mobile-feed .page:not(.is-watch) .section-head {
    padding: 0 6px;
  }

  .page { width: calc(100% - 12px); }
  .page-legal,
  .page-join,
  .page-guide { width: calc(100% - 12px); }
  .profile-hero { flex-direction: column; }
  .profile-copy h1, .toolbar h1 { font-size: 24px; }
  .channel-page .breadcrumbs { display: none; }
  .channel-hero {
    padding: 24px 14px 20px;
    gap: 16px;
    align-items: center;
    text-align: center;
    border-radius: 22px;
  }
  .channel-wash--dp {
    inset: -36% -30% auto;
    width: 100%;
    opacity: .48;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 15%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 15%, transparent 75%);
  }
  .channel-head {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
  }
  .channel-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .channel-identity-top {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
  }
  .channel-identity-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .channel-identity h1 {
    justify-content: center;
    text-align: center;
    font-size: 28px;
  }
  .channel-kicker { text-align: center; }
  .channel-stats { justify-content: center; }
  .channel-tools { justify-content: center; padding-top: 0; }
  .channel-bio { text-align: center; max-width: 100%; }
  .channel-links,
  .channel-socials {
    justify-content: center;
    width: 100%;
  }
  .channel-logo { width: 112px; height: 112px; }
  .channel-hero.is-studio .channel-logo,
  .channel-hero.is-studio .channel-logo img { border-radius: 24px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .header { gap: 8px; }
  .brand {
    display: flex;
    font-size: 13px;
    letter-spacing: .12em;
  }
  .header-actions { gap: 4px; }
}
@media (max-width: 720px) {
  .community-warn { flex-direction: column; }
  .page.is-watch {
    width: 100%;
    max-width: 100%;
    padding: 0 0 40px;
    margin: 0;
    overflow: visible;
    box-sizing: border-box;
  }
  .page.is-watch .watch {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0 12px;
    box-sizing: border-box;
    overflow: visible;
    gap: 8px;
  }
  .page.is-watch .related-col {
    overflow: visible;
  }
  .page.is-watch .related-chips-wrap {
    width: calc(100% + 24px);
    max-width: none;
    margin: 0 -12px 12px;
    padding: 8px 12px 10px;
  }
  .page.is-watch .related-chips-wrap.is-stuck {
    width: 100%;
    margin: 0;
    padding: 8px max(12px, env(safe-area-inset-left)) 10px max(12px, env(safe-area-inset-right));
    box-shadow: 0 10px 18px -14px rgba(0, 0, 0, .6);
  }
  body.is-light .page.is-watch .related-chips-wrap.is-stuck {
    box-shadow: 0 10px 18px -14px rgba(24, 24, 27, .2);
  }
  .page.is-watch .watch > * {
    min-width: 0;
    max-width: 100%;
  }
  .page.is-watch .section,
  .page.is-watch .recommend-grid,
  .page.is-watch .related-col,
  .page.is-watch .video-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .page.is-watch .player-shell {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 8px;
    border-radius: 8px;
    box-sizing: border-box;
  }
  .page.is-watch .player-extra { display: none; }
  .watch-title {
    font-size: 17px;
    margin: 8px 0 6px;
    word-break: break-word;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    padding: 2px 0 4px;
  }
  .watch-title:active { opacity: .82; }
  .watch-mobile-line {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    margin: 0 0 12px; color: var(--muted); font-size: 13px;
    max-width: 100%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .watch-mobile-line a, .watch-mobile-line button {
    color: var(--muted); background: none; border: 0; padding: 0; font: inherit;
  }
  .watch-mobile-line a { color: var(--text); font-weight: 600; }
  .watch-mobile-line button { font-weight: 650; color: var(--text); }
  .watch-head {
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 14px;
    max-width: 100%;
    min-width: 0;
  }
  .watch-owner { gap: 10px; flex: 0 0 auto; }
  .watch-owner img { width: 36px; height: 36px; }
  .watch-owner-copy { display: none; }
  .watch-sub { min-height: 34px; padding: 0 14px; flex: 0 0 auto; }
  .watch-tools {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 2px;
    margin-left: auto;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-end;
  }
  .watch-tools::-webkit-scrollbar { display: none; }
  .watch-tools .btn {
    min-width: 40px; min-height: 40px; padding: 0;
    flex: 0 0 auto;
    background: transparent; border: 0; color: var(--text);
  }
  .watch-tools .btn:hover { background: var(--bg-soft); color: var(--text); }
  .watch-tools .btn.active { color: var(--text); }
  .watch-tools .btn span:not(.sr-only) { display: none; }
  .watch-tools .icon { width: 22px; height: 22px; color: inherit; }
  .watch-react { background: transparent; flex: 0 0 auto; }
  .watch-react .btn + .btn { border: 0; }
  .watch-desc { display: none; margin-bottom: 12px; }
  .watch-desc.is-open { display: block; }
  .related-chips {
    max-width: 100%;
  }
  .recommend-grid,
  .related-col .related-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 8px;
  }
  .recommend-grid .video-card,
  .related-col .video-card {
    min-width: 0;
    max-width: 100%;
  }

  /* Mobile watch related list (thumb left) — Admin → Video → Mobile watch chips */
  body.is-mobile-watch-chips .page.is-watch .related-col .related-grid,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    grid-template-columns: none;
    width: 100%;
    max-width: 100%;
  }
  body.is-mobile-watch-chips .page.is-watch .related-col .video-card,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .video-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
  }
  body.is-mobile-watch-chips .page.is-watch .related-col .thumb,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .thumb {
    flex: 0 0 42%;
    width: 42%;
    max-width: 180px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
  }
  body.is-mobile-watch-chips .page.is-watch .related-col .thumb img,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .thumb img {
    transform: none !important;
    filter: none !important;
  }
  body.is-mobile-watch-chips .page.is-watch .related-col .badge,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .badge {
    top: 6px;
    right: 6px;
    bottom: auto;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font-size: 11px;
    padding: 2px 5px;
  }
  body.is-mobile-watch-chips .page.is-watch .related-col .card-meta,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .card-meta {
    display: block;
    margin-top: 0;
    padding: 0;
    flex: 1;
    min-width: 0;
  }
  body.is-mobile-watch-chips .page.is-watch .related-col .card-meta > a,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .card-meta > a {
    display: none;
  }
  body.is-mobile-watch-chips .page.is-watch .related-col .card-copy,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .card-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  body.is-mobile-watch-chips .page.is-watch .related-col .card-copy h3,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .card-copy h3 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }
  body.is-mobile-watch-chips .page.is-watch .related-col .card-copy .creator,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .card-copy .creator,
  body.is-mobile-watch-chips .page.is-watch .related-col .card-stats,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .card-stats {
    display: block;
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    color: var(--muted);
  }
  body.is-mobile-watch-chips .page.is-watch .related-col .card-copy .creator::after,
  body.is-mobile-watch-chips .page.is-watch .recommend-grid .card-copy .creator::after {
    content: none;
  }

  .page.is-watch .site-ad-watch { margin-bottom: 10px; }
  .page.is-watch .watch-comments + .watch-recommend-bottom,
  .page.is-watch .watch-recommend-bottom { display: none !important; margin: 0 !important; padding: 0 !important; height: 0 !important; overflow: hidden !important; }
  .watch-comments { margin-bottom: 0; }
  .page.is-watch .watch-ambient {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-left: -12px;
    margin-right: -12px;
    padding: 4px 12px 8px;
  }
  .page.is-watch .watch-ambient::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: -8%;
    right: -8%;
    top: -24px;
    height: 100%;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(11, 11, 13, .12) 0%, rgba(11, 11, 13, .5) 55%, var(--bg) 100%),
      var(--watch-ambient, none) center top / cover no-repeat;
    filter: blur(40px) saturate(1.5);
    opacity: .8;
    transform: scale(1.08);
    mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 100%);
  }
  .page.is-watch .watch-ambient:not([style])::before { display: none; }
  .page.is-watch .watch-ambient > * { position: relative; z-index: 1; }
  body.is-light .page.is-watch .watch-ambient::before {
    opacity: .42;
    background:
      linear-gradient(180deg, rgba(247, 248, 250, .08) 0%, rgba(247, 248, 250, .62) 48%, var(--bg) 100%),
      var(--watch-ambient, none) center top / cover no-repeat;
  }
  .watch-comments-peek {
    display: block; width: 100%; text-align: left;
    padding: 12px 14px; margin: 0;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
    color: var(--watch-text);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(18px) saturate(1.25);
    -webkit-backdrop-filter: blur(18px) saturate(1.25);
    transition: background .2s ease;
  }
  body.is-light .watch-comments-peek {
    background: rgba(255, 255, 255, .62);
    border-color: rgba(15, 15, 15, .08);
  }
  .related-col {
    margin-top: 0;
    padding-top: 0;
    overflow: visible;
  }
  .watch-comments-peek:hover {
    background: var(--watch-chip-hover);
  }
  .watch-comments-peek-head {
    display: flex; align-items: center; gap: 8px; width: 100%;
    margin: 0; padding: 0; border: 0; background: none;
    color: inherit; font-size: 15px; text-align: left; cursor: pointer;
  }
  .watch-comments-peek-head span { color: var(--muted); font-weight: 500; }
  .watch-comments-peek-head i {
    width: 8px; height: 8px; margin-left: auto; margin-right: 4px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    background: none;
  }
  .watch-comment-inline {
    display: flex; align-items: center; gap: 10px;
    margin-top: 12px; color: inherit; text-decoration: none;
  }
  .watch-comment-inline img {
    width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: 0 0 32px;
    background: var(--bg-soft);
  }
  .watch-comment-inline input,
  .watch-comment-inline span {
    flex: 1; min-width: 0; height: 36px; margin: 0;
    display: flex; align-items: center;
    padding: 0 14px; border: 0; border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: var(--muted); font-size: 14px; font-weight: 400;
  }
  .watch-comment-inline input {
    color: var(--text); outline: none;
  }
  .watch-comment-inline input::placeholder { color: var(--muted); }
  .watch-comment-inline input:focus {
    background: rgba(255, 255, 255, .12);
  }
  body.is-light .watch-comment-inline input,
  body.is-light .watch-comment-inline span {
    background: rgba(15, 15, 15, .06);
  }
  body.is-light .watch-comment-inline input:focus {
    background: rgba(15, 15, 15, .1);
  }
  .watch-comments .comments { display: none; }
  .watch-comments.is-open .watch-comments-peek { display: none; }
  .watch-comments.is-open .comments { display: block; }
  .related-col h2 { margin-top: 8px; }
  .watch-desc-sheet {
    position: fixed; inset: 0; z-index: 80;
    display: flex; align-items: flex-end; justify-content: center;
    background: rgba(0, 0, 0, .72);
  }
  .watch-desc-sheet[hidden] { display: none; }
  .watch-desc-sheet-panel {
    width: 100%; max-height: 86vh;
    background: var(--watch-desc-hover);
    color: var(--watch-text);
    border-radius: 18px 18px 0 0;
    padding: 6px 14px calc(18px + env(safe-area-inset-bottom, 0px));
    overflow: auto;
    isolation: isolate;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, .45);
  }
  body.is-light .watch-desc-sheet-panel {
    background: var(--watch-desc-hover);
    color: var(--watch-text);
  }
  .watch-desc-sheet-panel header {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 48px;
  }
  .watch-desc-sheet-panel header h2 { margin: 0; font-size: 20px; font-weight: 700; }
  .watch-desc-sheet-title {
    margin: 4px 0 14px; font-size: 18px; line-height: 1.35; font-weight: 700;
  }
  .watch-desc-sheet-owner {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 14px; font-weight: 600; color: inherit;
  }
  .watch-desc-sheet-owner img {
    width: 28px; height: 28px; border-radius: 50%; object-fit: cover;
  }
  .watch-desc-stats {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
    margin-bottom: 12px;
  }
  .watch-desc-stats div {
    display: grid; place-items: center; gap: 4px;
    min-height: 72px; padding: 12px 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .1);
    color: inherit;
    text-align: center;
  }
  .watch-desc-stats strong {
    font-size: clamp(15px, 4.2vw, 18px);
    font-weight: 750;
    letter-spacing: -.02em;
    line-height: 1.15;
    word-break: break-word;
  }
  .watch-desc-stats span { color: rgba(255,255,255,.62); font-size: 13px; }
  body.is-light .watch-desc-stats div { background: rgba(24, 24, 27, .08); }
  body.is-light .watch-desc-stats span { color: var(--muted); }
  .watch-desc-sheet-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin: 0 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .watch-desc-sheet-tags::-webkit-scrollbar { display: none; }
  .watch-desc-sheet-tags a {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #e4e4e7;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
  }
  .watch-desc-sheet-tags a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .22);
  }
  body.is-light .watch-desc-sheet-tags a {
    background: rgba(24, 24, 27, .04);
    border-color: rgba(24, 24, 27, .12);
    color: var(--muted);
  }
  body.is-light .watch-desc-sheet-tags a:hover {
    color: var(--text);
    background: rgba(24, 24, 27, .08);
    border-color: rgba(24, 24, 27, .18);
  }
  .watch-desc-sheet-body {
    position: relative;
    padding: 14px 14px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
    color: inherit;
    line-height: 1.55;
    font-size: 15px;
  }
  body.is-light .watch-desc-sheet-body {
    background: rgba(24, 24, 27, .06);
  }
  .watch-desc-sheet-body.is-empty {
    padding: 14px;
  }
  .watch-desc-sheet-copy {
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 11.2em;
    white-space: pre-wrap;
    word-break: break-word;
  }
  .watch-desc-sheet-body.is-open .watch-desc-sheet-copy {
    display: block;
    max-height: none;
    overflow: visible;
    -webkit-line-clamp: unset;
  }
  .watch-desc-sheet-more {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin-top: 12px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: .01em;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .watch-desc-sheet-more:hover,
  .watch-desc-sheet-more:active {
    background: rgba(255, 255, 255, .12);
    color: #fff;
  }
  body.is-light .watch-desc-sheet-more {
    border-color: rgba(24, 24, 27, .22);
    background: rgba(24, 24, 27, .04);
    color: #18181b;
  }
  body.is-light .watch-desc-sheet-more:hover,
  body.is-light .watch-desc-sheet-more:active {
    background: rgba(24, 24, 27, .08);
    color: #18181b;
  }
  .watch-desc-sheet-body.is-short .watch-desc-sheet-more { display: none; }
  .watch-desc-sheet-more[hidden] { display: none; }
  .watch-desc-sheet-empty {
    margin: 0;
    color: rgba(255,255,255,.62);
  }
  body.is-light .watch-desc-sheet-empty { color: var(--muted); }
  .watch-desc-sheet-uploader {
    margin: 12px 0 0;
    color: rgba(255,255,255,.62);
    font-size: 13px;
  }
  .watch-desc-sheet-uploader a {
    color: inherit;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  body.is-light .watch-desc-sheet-uploader { color: var(--muted); }
  body.is-light .watch-desc-sheet-uploader a { color: var(--text); }
  body.is-sheet { overflow: hidden; }
  body.is-light .watch-desc-sheet { background: rgba(24, 24, 27, .42); }
  body.is-light .watch-desc-sheet-panel { box-shadow: 0 -12px 32px rgba(24, 24, 27, .12); }
}
@media (min-width: 721px) {
  .watch-desc-sheet { display: none !important; }
}

.story-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.story-row::-webkit-scrollbar { display: none; }
.story-ring {
  flex: 0 0 72px;
  width: 72px;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  text-align: center;
  cursor: pointer;
  padding: 0;
  scroll-snap-align: start;
}
.story-ring span:last-child {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.story-avatar {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 6px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #f5c16c, #e07a9a 55%, #7c6cff);
}
.story-avatar img, .story-ring.is-add .story-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg);
  border: 2px solid var(--bg);
}
.story-ring:not(.is-new) .story-avatar { background: #3a3a44; }
.story-ring.is-add .story-avatar { color: var(--text); }
.story-viewer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 220;
  display: grid;
  grid-template-columns: 48px minmax(0, 420px) 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  background: #000;
  touch-action: manipulation;
}
.story-viewer[hidden] { display: none; }
html.is-story, body.is-story {
  overflow: hidden;
  overscroll-behavior: none;
}
.story-stage {
  position: relative;
  width: min(100%, 420px);
  min-height: 70vh;
  aspect-ratio: 9 / 16;
  max-height: min(86vh, 760px);
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  display: grid;
  align-content: end;
  padding: 16px;
}
.story-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  background: #111;
}
.story-photo:not([src]), .story-photo[src=""], .story-photo.is-empty { display: none; }
.story-clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  z-index: 1;
}
.story-clip[hidden] { display: none; }
.story-stage.is-clip .story-photo {
  object-fit: contain;
  background: transparent;
  z-index: 2;
  pointer-events: none;
}
.story-bars {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 4px;
  z-index: 5;
}
.story-bars i { flex: 1; height: 3px; border-radius: 99px; background: rgba(255,255,255,.28); overflow: hidden; }
.story-bars i em { display: block; height: 100%; width: 0; background: #fff; }
.story-user {
  position: absolute;
  top: 20px;
  left: 14px;
  right: 58px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  color: #fff;
  font-size: 13px;
  min-width: 0;
}
.story-user strong, .story-user small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.story-user img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.story-caption, .story-video { position: relative; z-index: 5; color: #fff; }
.story-caption { margin: 0 0 10px; font-size: 16px; text-shadow: 0 1px 8px #000; }
.story-video[hidden] { display: none !important; }
.story-viewer-close {
  position: absolute;
  top: 16px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  z-index: 6;
}
.story-nav {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
}
.story-nav.is-prev { transform: scaleX(-1); }
.story-hit {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  border: 0;
  padding: 0;
  background: none;
}
.story-hit.is-prev { left: 0; width: 28%; }
.story-hit.is-next { right: 0; width: 72%; }
.interact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin: 16px 0 24px;
}
.interact-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--glass);
}
.interact-kicker {
  margin: 0 0 6px;
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.interact-card h3 { margin: 0 0 12px; font-size: 17px; }
.interact-options { display: grid; gap: 8px; }
.interact-option {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  color: var(--text);
  text-align: left;
  overflow: hidden;
}
.interact-option i {
  position: absolute;
  inset: 0 auto 0 0;
  background: rgba(var(--accent-rgb),.18);
  z-index: 0;
}
.interact-option span, .interact-option b { position: relative; z-index: 1; }
.interact-option.is-mine { border-color: rgba(var(--accent-rgb),.5); }
.interact-option.is-right { border-color: rgba(110,231,168,.45); }
.interact-meta, .interact-score { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.quiz-form fieldset { border: 0; padding: 0 0 12px; margin: 0 0 10px; }
.quiz-form legend { margin-bottom: 8px; font-weight: 650; }
@media (max-width: 860px) {
  .story-row {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 2px max(12px, env(safe-area-inset-right, 0px)) 14px max(12px, env(safe-area-inset-left, 0px));
    gap: 12px;
  }
  .story-ring { flex: 0 0 66px; width: 66px; font-size: 10px; }
  .story-avatar { width: 56px; height: 56px; }
  .story-avatar img, .story-ring.is-add .story-avatar { width: 52px; height: 52px; }
  .story-viewer {
    display: block;
    padding: 0;
    gap: 0;
    background: #000;
  }
  .story-nav:not(.story-hit) { display: none; }
  .story-stage {
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: none;
    aspect-ratio: auto;
    border-radius: 0;
    padding: max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(20px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  }
  .story-bars {
    top: max(10px, env(safe-area-inset-top, 0px));
    left: max(10px, env(safe-area-inset-left, 0px));
    right: max(10px, env(safe-area-inset-right, 0px));
  }
  .story-user {
    top: calc(max(10px, env(safe-area-inset-top, 0px)) + 14px);
    left: max(14px, env(safe-area-inset-left, 0px));
  }
  .story-viewer-close {
    top: calc(max(10px, env(safe-area-inset-top, 0px)) + 8px);
    right: max(10px, env(safe-area-inset-right, 0px));
  }
  .story-stage.is-clip-only .story-clip { object-fit: cover; }
}

/* —— Error pages (404 / 500) —— */
.error-page {
  width: min(1180px, 100%);
  margin: 0 auto 64px;
  padding: 0 20px;
  display: grid;
  gap: 48px;
}
.page.page-404,
.page.page-500 {
  min-height: calc(100vh - var(--header-h) - 48px);
}
.error-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(52vh, 460px);
  padding: 48px 0 8px;
  isolation: isolate;
}
.error-hero::before {
  content: "";
  position: absolute;
  inset: 8% -8% auto;
  height: 70%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 18% 40%, rgba(var(--accent-rgb), .16), transparent 70%),
    radial-gradient(ellipse 45% 60% at 88% 20%, rgba(255, 255, 255, .05), transparent 65%);
}
.error-code {
  position: absolute;
  left: -2%;
  top: 4%;
  margin: 0;
  font-size: clamp(120px, 22vw, 240px);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: .82;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--accent-rgb), .35);
  opacity: .9;
  pointer-events: none;
  user-select: none;
  animation: error-code-in .7s ease both;
}
.error-page-500 .error-code {
  -webkit-text-stroke: 1px rgba(227, 117, 117, .4);
}
.error-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  display: grid;
  gap: 14px;
  animation: error-copy-in .55s ease .08s both;
}
.error-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.error-page-500 .error-kicker { color: #e37575; }
.error-copy h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 720;
  letter-spacing: -.035em;
  line-height: 1.08;
  color: var(--text);
}
.error-lead {
  margin: 0;
  max-width: 40ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.error-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  width: min(100%, 440px);
  margin-top: 4px;
}
.error-search .input {
  min-height: 42px;
  border-radius: 12px;
  background: var(--bg-input);
  border: 1px solid var(--line-strong);
  padding: 0 14px;
}
.error-search .input:focus {
  outline: none;
  border-color: rgba(var(--accent-rgb), .55);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .14);
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}
.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 2px;
  padding-top: 4px;
}
.error-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.error-links a:hover {
  color: var(--text);
  border-bottom-color: rgba(var(--accent-rgb), .55);
}
.error-more {
  animation: error-copy-in .55s ease .18s both;
}
.error-more .section-head {
  margin-bottom: 16px;
}
@keyframes error-code-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: .9; transform: none; }
}
@keyframes error-copy-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .error-code,
  .error-copy,
  .error-more { animation: none; }
}
body.is-light .error-hero::before {
  background:
    radial-gradient(ellipse 55% 70% at 18% 40%, rgba(var(--accent-rgb), .12), transparent 70%),
    radial-gradient(ellipse 45% 60% at 88% 20%, rgba(0, 0, 0, .04), transparent 65%);
}
body.is-light .error-code {
  -webkit-text-stroke: 1px rgba(var(--accent-rgb), .28);
}
@media (max-width: 720px) {
  .error-page { padding: 0 12px; gap: 36px; margin-bottom: 40px; }
  .error-hero {
    min-height: 0;
    padding: 28px 0 0;
  }
  .error-code {
    position: relative;
    left: 0;
    top: 0;
    font-size: clamp(88px, 28vw, 140px);
    margin-bottom: -8px;
  }
  .error-search {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .error-actions { flex-direction: column; }
  .error-actions .btn { width: 100%; justify-content: center; }
}

