:root {
  color-scheme: dark;
  --bg: #09070d;
  --surface: #121017;
  --surface-2: #1a1420;
  --text: #fff9ec;
  --muted: #b6adbd;
  --line: rgba(243, 190, 75, 0.17);
  --accent: #b52be8;
  --accent-dark: #79209d;
  --gold: #f3be4b;
  --gold-soft: #ffe3a0;
  --blue: #d694ff;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.56);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 85% 8%, rgba(158, 31, 204, .12), transparent 26rem),
    radial-gradient(circle at 8% 48%, rgba(211, 144, 30, .08), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid rgba(243, 190, 75, 0.86); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 7, 13, 0.88);
  backdrop-filter: blur(20px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; text-decoration: none; }
.brand-logo { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 0 14px rgba(205, 47, 255, .25)); }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.12em;
  background: #0d0e12;
}
.brand-mark span { color: var(--accent); }
.brand-name, .footer-brand { font-size: 14px; font-weight: 900; letter-spacing: 0.14em; }
.brand-name b { color: var(--accent); font-weight: 900; }
.nav { display: flex; gap: 34px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 650; }
.nav a:hover { color: var(--text); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.language-picker select {
  min-height: 40px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #120d17;
  color: var(--text);
  cursor: pointer;
}
.account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  text-decoration: none;
}
.account-button:hover { background: rgba(255, 255, 255, 0.1); }
.mobile-menu-button { display: none; width: 40px; height: 40px; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: #120d17; cursor: pointer; }
.mobile-menu-button span { display: block; width: 100%; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--gold-soft); transition: transform .2s ease, opacity .2s ease; }
.mobile-menu-button.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-button.open span:nth-child(2) { opacity: 0; }
.mobile-menu-button.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

main { display: flex; flex-direction: column; }

.brand-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 2048 / 682;
  min-height: 250px;
  max-height: 520px;
  border-bottom: 1px solid rgba(243, 190, 75, .22);
  background: #08060a;
}
.brand-stage img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.brand-stage-glow { position: absolute; inset: 0; box-shadow: inset 0 -80px 100px rgba(9,7,13,.72), inset 0 0 70px rgba(238,174,55,.08); pointer-events: none; }

.hero {
  position: relative;
  order: 1;
  min-height: clamp(540px, calc(100vh - 150px), 720px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  touch-action: pan-y;
  scroll-margin-top: 74px;
}
.hero-art { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: opacity .25s ease; }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 5, 11, 0.98) 0%, rgba(8, 5, 11, 0.84) 34%, rgba(8, 5, 11, 0.12) 70%, rgba(8, 5, 11, 0.38) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 38%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 74% 42%, rgba(181,43,232,.08), transparent 24rem);
}
.hero-copy { width: min(760px, 88vw); padding: clamp(96px, 14vh, 144px) 0 94px 4vw; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 820px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6vw, 92px); font-weight: 500; line-height: .96; letter-spacing: -.055em; text-wrap: balance; }
.hero h1 #heroTitleMain { color: var(--text); text-shadow: 0 16px 50px rgba(0,0,0,.58); }
.hero.theme-solo-leveling #heroTitleMain { font-family: Impact, "Arial Narrow", sans-serif; letter-spacing: .015em; color: #eaf5ff; text-shadow: 0 0 16px rgba(79,151,255,.8), 0 4px 0 #16294e, 0 18px 48px #000; }
.hero.theme-hunter-x-hunter #heroTitleMain { font-family: Impact, "Arial Black", sans-serif; letter-spacing: .035em; color: #f7f0bf; -webkit-text-stroke: 1px #173e26; text-shadow: 3px 3px 0 #267947, 6px 6px 0 #b33131, 0 18px 45px #000; }
.hero-project-button { position: absolute; z-index: 4; top: 50%; display: grid; place-items: center; width: 46px; height: 64px; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.24); border-radius: 12px; background: rgba(5,6,9,.62); color: #fff; font-size: 34px; cursor: pointer; backdrop-filter: blur(8px); }
.hero-project-button:hover { border-color: var(--gold); background: rgba(8,8,12,.88); }
.hero-project-button.previous { left: 16px; }
.hero-project-button.next { right: 16px; }
.hero-project-progress { position: absolute; z-index: 4; right: clamp(74px, 6vw, 110px); bottom: 28px; display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.78); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.hero-project-dots { display: flex; gap: 7px; }
.hero-project-dots button { width: 22px; height: 4px; padding: 0; border: 0; border-radius: 9px; background: rgba(255,255,255,.32); cursor: pointer; }
.hero-project-dots button.active { width: 38px; background: var(--gold); }
.hero-subtitle { margin: 18px 0 0; color: var(--gold-soft); font-size: clamp(13px, 1.25vw, 17px); font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.hero-lead { max-width: 570px; margin: 22px 0 0; color: #c6c1ca; font-size: clamp(16px, 1.25vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; scroll-margin: 110px 0; }
.primary-button, .ghost-button, .small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.primary-button { min-height: 52px; padding: 0 22px; border: 1px solid var(--gold); background: linear-gradient(135deg, #ffe18c, #c9871d); color: #1a0e03; box-shadow: 0 10px 30px rgba(218, 151, 31, .2); }
.primary-button:hover { background: linear-gradient(135deg, #ffedb2, #e2a52e); }
.ghost-button { min-height: 52px; padding: 0 22px; border: 1px solid var(--line); background: rgba(9,10,13,.42); }
.ghost-button:hover { background: rgba(255,255,255,.09); }
.projects-section, .episodes-section, .community-section, .support-section { padding: 96px 6vw; }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 36px; }
.section-heading h2, .community-copy h2 { margin: 0; font-size: clamp(34px, 4.4vw, 66px); line-height: 1; letter-spacing: -.04em; }
.section-heading > p { max-width: 470px; margin: 0; color: var(--muted); }
.section-link { display: inline-flex; align-items: center; min-height: 42px; color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.section-link:hover { color: var(--text); }
.projects-section { order: 3; overflow-anchor: none; border-bottom: 1px solid var(--line); background: linear-gradient(150deg, #110c15, #09070d 70%); }
.projects-carousel { position: relative; }
.projects-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overflow-anchor: none;
}
.projects-grid::-webkit-scrollbar { display: none; }
.project-card.theme-solo-leveling .project-card-copy strong { font-family: Impact, "Arial Narrow", sans-serif; letter-spacing: .025em; color: #dbeeff; text-shadow: 0 0 12px rgba(72,137,255,.65); }
.project-card.theme-hunter-x-hunter .project-card-copy strong { font-family: Impact, "Arial Black", sans-serif; letter-spacing: .035em; color: #f5e9a8; text-shadow: 2px 2px 0 #285c39; }
.project-carousel-button {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0 0 4px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: rgba(9,7,13,.88);
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
  color: var(--text);
  font-size: 32px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  backdrop-filter: blur(12px);
}
.project-carousel-button:hover { border-color: var(--gold); background: rgba(27,18,31,.96); }
.project-carousel-button:disabled { opacity: .25; cursor: default; }
.project-carousel-button[hidden] { display: none; }
.project-carousel-button.previous { left: 14px; }
.project-carousel-button.next { right: 14px; }
.project-card {
  position: relative;
  min-height: clamp(300px, 34vw, 460px);
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,8,11,.9), rgba(7,8,11,.15) 75%), linear-gradient(0deg, rgba(7,8,11,.84), transparent 60%); }
.project-card:hover, .project-card.active { border-color: rgba(255,255,255,.32); }
.project-card.active { box-shadow: inset 0 0 0 1px var(--gold), 0 20px 60px rgba(93, 23, 121, .16); }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-card-copy { position: absolute; z-index: 2; inset: auto 24px 24px; }
.project-card-copy small { display: block; margin-bottom: 5px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.project-card-copy strong { display: block; font-size: clamp(24px, 3vw, 42px); line-height: 1; }
.project-card-copy span { display: block; margin-top: 10px; color: #c7c8cc; font-size: 14px; }
.episodes-section { order: 2; padding: 32px 4vw 58px; scroll-margin-top: 74px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #0c0a10, #09070d); }
.episodes-section[hidden] { display: none; }
.episodes-section .section-heading { margin-bottom: 18px; }
.episodes-section .section-heading h2 { font-size: clamp(25px, 2.2vw, 34px); letter-spacing: -.025em; }
.episodes-section .eyebrow { margin-bottom: 5px; }
.episodes-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, calc((100vw - 11vw - 48px) / 4));
  grid-template-columns: none;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 20px;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(243,190,75,.32) transparent;
}
.episode-card {
  position: relative;
  min-height: 0;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform .25s ease;
}
.episode-card:hover { transform: translateY(-4px); }
.episode-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); border-radius: 11px; filter: saturate(.78) contrast(1.08); transition: border-color .25s ease, filter .25s ease; }
.episode-card:hover img { border-color: rgba(243,190,75,.48); filter: saturate(1) contrast(1.04); box-shadow: 0 18px 42px rgba(0,0,0,.3); }
.episode-card::after { content: ""; position: absolute; inset: 0 0 auto; aspect-ratio: 16 / 9; border-radius: 11px; pointer-events: none; background: linear-gradient(0deg, rgba(7,6,10,.5), transparent 58%); }
.episode-number { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 5px 9px; border-radius: 7px; background: rgba(9,10,13,.8); font-size: 12px; font-weight: 800; }
.episode-rating { position: absolute; z-index: 2; top: 12px; right: 12px; padding: 5px 9px; border-radius: 7px; background: rgba(9,7,13,.86); color: var(--gold-soft); font-size: 12px; font-weight: 800; }
.episode-play { position: absolute; z-index: 2; top: 50%; left: 16px; display: grid; place-items: center; width: 42px; height: 42px; transform: translateY(-76%); border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: rgba(7,6,10,.62); font-size: 14px; }
.episode-info { position: relative; z-index: 2; display: block; padding: 12px 2px 3px; }
.episode-info h3 { margin: 0; font-size: 17px; }
.episode-info p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }

.community-section { order: 4; display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; align-items: start; border-top: 1px solid var(--line); background: linear-gradient(145deg, #160d1d, #09070d 70%); }
.community-copy p:last-child { max-width: 520px; margin-top: 24px; color: var(--muted); font-size: 18px; }
.socials { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.social-card { display: flex; justify-content: space-between; align-items: center; min-height: 104px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.035); text-decoration: none; }
.social-card:only-child { grid-column: 1 / -1; }
.social-card:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.07); }
.social-card strong { display: block; font-size: 17px; }
.social-card span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.social-card b { color: var(--gold); font-size: 22px; }

.support-section { order: 5; display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; align-items: start; border-top: 1px solid var(--line); background: radial-gradient(circle at 78% 20%, rgba(181,43,232,.14), transparent 24rem), #0b080e; }
.support-section[hidden] { display: none; }
.support-copy h2 { margin: 0; font-size: clamp(34px, 4.4vw, 66px); line-height: 1; letter-spacing: -.04em; }
.support-copy > p:last-child { max-width: 540px; margin-top: 24px; color: var(--muted); font-size: 18px; }
.donations { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.donation-card { display: flex; justify-content: space-between; align-items: center; min-height: 118px; padding: 24px; border: 1px solid rgba(243,190,75,.2); border-radius: 14px; background: linear-gradient(145deg, rgba(243,190,75,.08), rgba(181,43,232,.07)); text-decoration: none; }
.donation-card:hover { border-color: rgba(243,190,75,.55); transform: translateY(-2px); }
.donation-card strong, .donation-card span { display: block; }
.donation-card strong { font-size: 18px; color: var(--gold-soft); }
.donation-card span span { margin-top: 4px; color: var(--muted); font-size: 13px; }
.donation-card b { color: var(--gold); font-size: 22px; }
.donation-card:only-child { grid-column: 1 / -1; }

.site-footer { display: grid; grid-template-columns: .8fr 1.35fr 1fr 1fr; gap: 32px; align-items: start; padding: 38px 6vw; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; background: #08060a; }
.site-footer p { margin: 0; }
.footer-identity { display: flex; align-items: center; gap: 10px; color: var(--text); }
.footer-identity img { width: 44px; height: 44px; object-fit: contain; }
.footer-contacts { display: grid; gap: 10px; }
.footer-contacts[hidden], .footer-contacts div[hidden] { display: none; }
.footer-contacts div { display: grid; gap: 2px; }
.footer-contacts span { color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-contacts a { color: var(--text); font-size: 16px; font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 18px; }
.footer-links a:hover { color: var(--text); }

dialog { color: var(--text); }
dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(10px); }
.watch-dialog { width: min(1480px, 96vw); height: min(900px, 94vh); padding: 0; border: 1px solid var(--line); border-radius: 22px; background: #0b0c10; box-shadow: var(--shadow); overflow: hidden; }
.watch-shell { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(340px, .72fr); height: 100%; }
.close-button { position: absolute; z-index: 5; top: 14px; right: 14px; }
.icon-button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: rgba(9,10,13,.78); font-size: 25px; cursor: pointer; }
.watch-main { min-width: 0; overflow-y: auto; border-right: 1px solid var(--line); }
.player-frame { position: relative; aspect-ratio: 16 / 9; background: #050609; }
.player-frame iframe { width: 100%; height: 100%; border: 0; }
.player-placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(0deg, rgba(5,6,9,.72), rgba(5,6,9,.3)), url('/assets/hero.webp') center/cover; text-align: center; }
.placeholder-copy { max-width: 440px; padding: 28px; }
.placeholder-copy span { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(0,0,0,.35); font-size: 22px; }
.placeholder-copy h3 { margin: 0; font-size: 24px; }
.placeholder-copy p { margin: 10px 0 0; color: #c6c7cc; }
.watch-meta { display: flex; justify-content: space-between; gap: 32px; align-items: end; padding: 28px 30px 40px; }
.watch-copy { min-width: 0; }
.watch-meta h2 { margin: 0; font-size: clamp(28px, 3vw, 44px); line-height: 1; }
.watch-meta p:last-child { max-width: 650px; margin: 14px 0 0; color: var(--muted); }
.episode-navigation { display: flex; gap: 8px; flex-shrink: 0; }
.small-button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); background: rgba(255,255,255,.05); font-size: 13px; }
.small-button:hover { background: rgba(255,255,255,.1); }
.small-button.accent { border-color: var(--accent); background: linear-gradient(135deg, #c23ef0, #78209d); }
.small-button:disabled { opacity: .35; cursor: not-allowed; }
.rating-panel { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px; align-items: center; padding: 26px 30px 34px; border-top: 1px solid var(--line); }
.rating-summary .eyebrow { margin-bottom: 8px; }
.rating-summary h3 { margin: 0; font-size: 42px; line-height: 1; }
.rating-summary h3 small { color: var(--muted); font-size: 17px; font-weight: 500; }
.rating-summary > p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.rating-prompt { margin: 0 0 10px; font-size: 14px; font-weight: 750; }
.rating-scale { display: grid; grid-template-columns: repeat(10, minmax(34px, 1fr)); gap: 6px; }
.rating-button { min-height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.04); color: #d5d6da; cursor: pointer; font-weight: 750; }
.rating-button:hover { border-color: var(--accent); color: white; }
.rating-button.active { border-color: var(--gold); background: linear-gradient(135deg, #d99a29, #8d4d10); color: white; }
.rating-button:disabled { opacity: .55; cursor: wait; }
.rating-hint { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.watch-sidebar { min-width: 0; overflow-y: auto; }
.sidebar-heading, .comments-heading { display: flex; justify-content: space-between; align-items: center; padding: 22px; }
.sidebar-heading h3, .comments-heading h3 { margin: 0; font-size: 18px; }
.sidebar-heading span, .comments-heading span { color: var(--muted); font-size: 13px; }
.episode-list { display: grid; gap: 5px; padding: 0 12px 20px; }
.episode-list-button { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 12px; border: 1px solid transparent; border-radius: 10px; background: transparent; text-align: left; cursor: pointer; }
.episode-list-button:hover, .episode-list-button.active { border-color: var(--line); background: rgba(255,255,255,.05); }
.episode-list-button.active { box-shadow: inset 3px 0 var(--accent); }
.episode-list-button b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; background: #1b1d24; color: var(--muted); font-size: 13px; }
.episode-list-button strong { display: block; font-size: 14px; }
.episode-list-button small { color: var(--muted); }
.comments { border-top: 1px solid var(--line); }
.comment-form { padding: 0 22px 18px; }
.comment-label { display: block; margin: 12px 0 6px; color: #c7c8cc; font-size: 12px; font-weight: 750; }
.comment-input, .comment-form textarea, .captcha-input { width: 100%; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #121319; color: var(--text); }
.comment-form textarea { resize: vertical; }
.comment-form textarea:disabled { opacity: .5; }
.captcha-box { display: grid; grid-template-columns: 1fr 76px 38px; gap: 8px; align-items: center; margin-top: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 11px; background: #0d0e12; }
.captcha-box > div { display: grid; }
.captcha-label { color: var(--muted); font-size: 11px; }
.captcha-box strong { font-size: 17px; letter-spacing: .04em; }
.captcha-input { min-height: 42px; padding: 8px; text-align: center; }
.captcha-refresh { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.05); color: var(--text); cursor: pointer; font-size: 19px; }
.comment-policy { margin: 11px 0 0; color: var(--muted); font-size: 11px; }
.comment-policy a { color: #d8d9dc; }
.comment-submit { width: 100%; }
.form-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 10px; }
.form-row span { color: var(--muted); font-size: 12px; }
.comment-list { display: grid; gap: 1px; }
.comment { padding: 16px 22px; border-top: 1px solid rgba(255,255,255,.065); }
.comment-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.comment-author { display: flex; gap: 10px; align-items: center; }
.avatar { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #262936; color: var(--blue); font-weight: 800; }
.comment time { color: var(--muted); font-size: 12px; }
.comment p { margin: 10px 0 0; color: #d8d8db; white-space: pre-wrap; overflow-wrap: anywhere; }
.delete-comment { padding: 4px 8px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; }
.delete-comment:hover { color: var(--accent); }
.empty-comments { padding: 26px 22px; border-top: 1px solid var(--line); color: var(--muted); }

.auth-dialog { width: min(460px, 92vw); padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: #111217; box-shadow: var(--shadow); }
.auth-close { position: absolute; top: 15px; right: 15px; }
.auth-head { display: flex; gap: 14px; align-items: center; padding-right: 44px; }
.auth-head h2 { margin: 0; font-size: 28px; }
.auth-head .eyebrow { margin-bottom: 5px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 26px 0 20px; padding: 4px; border-radius: 11px; background: #090a0d; }
.auth-tab { padding: 10px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.auth-tab.active { background: #22242c; }
.auth-form { display: grid; gap: 15px; }
.auth-form label { display: grid; gap: 7px; color: #c8c9ce; font-size: 13px; font-weight: 650; }
.auth-form input { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: #0b0c10; color: var(--text); }
.form-error { min-height: 20px; margin: 0; color: #ff6f82; font-size: 13px; }
.full-button { width: 100%; }
.legal-note { margin: 0; color: var(--muted); font-size: 12px; text-align: center; }
.legal-note a { color: #d6d7da; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translate(-50%, 150%); max-width: min(460px, 90vw); padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: #22242c; box-shadow: var(--shadow); transition: transform .25s ease; }
.toast.visible { transform: translate(-50%, 0); }
.cookie-banner { position: fixed; z-index: 80; left: 24px; right: 24px; bottom: 24px; display: flex; justify-content: space-between; gap: 28px; align-items: center; max-width: 820px; margin: 0 auto; padding: 18px 20px; border: 1px solid rgba(255,255,255,.17); border-radius: 16px; background: rgba(20,21,27,.96); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { font-size: 15px; }
.cookie-banner p { margin: 4px 0; color: #c4c5ca; font-size: 13px; }
.cookie-banner a { color: var(--muted); font-size: 12px; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

.legal-page { width: min(760px, 88vw); margin: 0 auto; padding: 70px 0 100px; }
.legal-header { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; min-height: 72px; padding: 0 4vw; border-bottom: 1px solid var(--line); background: rgba(9,7,13,.9); backdrop-filter: blur(18px); }
.legal-page h1 { margin: 12px 0 34px; font-size: clamp(38px, 6vw, 66px); line-height: 1; letter-spacing: -.04em; }
.legal-page h2 { margin-top: 36px; font-size: 22px; }
.legal-page p, .legal-page li { color: #c3c4c9; }
.legal-page .legal-intro { font-size: 18px; color: #ded7e2; }
.legal-page section { padding-bottom: 8px; border-bottom: 1px solid rgba(243,190,75,.09); }
.legal-page section:last-child { border-bottom: 0; }
.legal-page section a { color: var(--gold-soft); }
.legal-page code { padding: 2px 5px; border-radius: 5px; background: #1b1d24; color: #ececf0; }
.back-link { text-decoration: none; color: var(--muted); }
.back-link:hover { color: var(--text); }
.legal-table-wrap { overflow-x: auto; margin: 28px 0; border: 1px solid var(--line); border-radius: 12px; }
.legal-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.legal-table th, .legal-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { background: #15161c; color: var(--text); font-size: 13px; }
.legal-table td { color: #c3c4c9; font-size: 14px; }
.legal-table tbody tr:last-child td { border-bottom: 0; }

.about-page { display: block; width: min(1180px, 92vw); margin: 0 auto; padding: 34px 0 100px; }
.about-page > .back-link { display: inline-flex; margin: 0 0 24px; }
.about-hero {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(243,190,75,.2);
  border-radius: 24px;
  background: #08060a;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.about-hero > img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(8,5,11,.97) 0%, rgba(8,5,11,.82) 43%, rgba(8,5,11,.18) 78%), linear-gradient(0deg, rgba(8,5,11,.74), transparent 58%); }
.about-hero-copy { width: min(700px, 78%); padding: clamp(72px, 10vw, 118px) clamp(28px, 6vw, 74px); }
.about-hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 7vw, 90px); font-weight: 500; line-height: .96; letter-spacing: -.055em; text-wrap: balance; }
.about-hero-copy > p:last-child { max-width: 630px; margin: 26px 0 0; color: #d0c8d4; font-size: clamp(17px, 1.7vw, 22px); }
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 72px clamp(4px, 4vw, 48px) 54px; }
.about-intro p { margin: 0; color: #d2ccd6; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.7; }
.about-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.about-values article { min-height: 330px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(181,43,232,.08), rgba(255,255,255,.025)); }
.about-values article:nth-child(3) { border-color: rgba(243,190,75,.25); background: linear-gradient(145deg, rgba(243,190,75,.09), rgba(181,43,232,.06)); }
.about-values h2 { margin: 0; color: var(--gold-soft); font-size: clamp(23px, 2.2vw, 31px); line-height: 1.08; letter-spacing: -.025em; }
.about-values p { margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.about-closing { margin-top: 72px; padding: clamp(34px, 6vw, 76px); border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(circle at 82% 18%, rgba(181,43,232,.2), transparent 22rem), #100b14; }
.about-closing h2 { max-width: 850px; margin: 0; font-size: clamp(36px, 5vw, 70px); line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.about-closing > p:not(.eyebrow) { max-width: 760px; margin: 24px 0 0; color: #c7c0cb; font-size: 18px; }
.about-closing .primary-button { width: max-content; margin-top: 30px; }
.about-footer { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 30px 6vw; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; background: #08060a; }
.about-footer img { width: 42px; height: 42px; object-fit: contain; }
.about-footer p { max-width: 760px; margin: 0; }

@media (max-width: 1120px) {
  .project-card { min-height: 320px; }
  .episodes-grid { grid-template-columns: none; grid-auto-columns: minmax(250px, 42vw); }
  .watch-dialog { height: 96vh; }
  .watch-shell { grid-template-columns: 1fr; overflow-y: auto; }
  .watch-main, .watch-sidebar { overflow: visible; border-right: 0; }
  .watch-sidebar { border-top: 1px solid var(--line); }
  .about-values { grid-template-columns: 1fr; }
  .about-values article { min-height: 0; }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 64px; padding: 0 14px; }
  .nav { display: none; position: fixed; z-index: 19; top: 64px; left: 0; right: 0; padding: 12px 14px 18px; border-bottom: 1px solid var(--line); background: rgba(9,7,13,.98); box-shadow: 0 22px 50px rgba(0,0,0,.5); }
  .nav.open { display: grid; gap: 4px; }
  .nav a { min-height: 46px; padding: 12px 14px; border-radius: 10px; font-size: 15px; }
  .nav a:hover { background: rgba(255,255,255,.06); }
  .brand { gap: 7px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-name { font-size: 11px; letter-spacing: .08em; }
  .header-actions { gap: 6px; }
  .mobile-menu-button { display: block; flex-shrink: 0; }
  .language-picker select { width: 66px; min-height: 36px; padding: 0 8px; font-size: 12px; }
  .account-button { min-width: 0; padding: 8px 10px; font-size: 12px; }
  .hero { min-height: 680px; }
  .hero-art { object-position: 67% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(6,7,10,.96), rgba(6,7,10,.48)), linear-gradient(0deg, var(--bg) 0%, transparent 42%); }
  .hero-copy { width: auto; padding: 88px 20px 110px; }
  .hero h1 { max-width: 640px; font-size: clamp(42px, 12vw, 68px); }
  .hero-subtitle { font-size: 12px; letter-spacing: .12em; }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: grid; }
  .hero-actions > * { width: 100%; }
  .projects-section, .episodes-section, .community-section, .support-section { padding: 72px 20px; }
  .project-card { min-height: 300px; }
  .project-carousel-button { width: 38px; height: 38px; font-size: 28px; }
  .project-carousel-button.previous { left: 10px; }
  .project-carousel-button.next { right: 10px; }
  .episodes-section { padding: 26px 16px 46px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .section-link { margin-top: 10px; }
  .episodes-grid { grid-template-columns: none; grid-auto-columns: minmax(238px, 78vw); gap: 12px; }
  .episode-card { min-height: 0; }
  .episode-card img { height: auto; }
  .community-section { grid-template-columns: 1fr; gap: 38px; }
  .support-section { grid-template-columns: 1fr; gap: 38px; }
  .donations { grid-template-columns: 1fr; }
  .donation-card:only-child { grid-column: auto; }
  .socials { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: 20px; padding: 32px 20px; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
  .legal-header { min-height: 64px; padding: 0 14px; }
  .about-page { width: min(100% - 28px, 720px); padding: 20px 0 70px; }
  .about-page > .back-link { margin-bottom: 16px; }
  .about-hero { min-height: 520px; border-radius: 18px; }
  .about-hero > img { object-position: 67% center; }
  .about-hero-shade { background: linear-gradient(90deg, rgba(8,5,11,.96), rgba(8,5,11,.54)), linear-gradient(0deg, rgba(8,5,11,.9), transparent 60%); }
  .about-hero-copy { width: 100%; padding: 68px 24px 48px; }
  .about-hero h1 { font-size: clamp(45px, 14vw, 68px); }
  .about-hero-copy > p:last-child { font-size: 17px; }
  .about-intro { grid-template-columns: 1fr; gap: 24px; padding: 48px 8px 38px; }
  .about-intro p { font-size: 17px; }
  .about-values { gap: 12px; }
  .about-values article { padding: 24px; }
  .about-closing { margin-top: 48px; padding: 34px 24px; }
  .about-closing > p:not(.eyebrow) { font-size: 16px; }
  .about-closing .primary-button { width: 100%; }
  .about-footer { align-items: flex-start; text-align: left; }
  .watch-dialog { width: 100vw; height: 100dvh; max-width: none; max-height: none; border: 0; border-radius: 0; }
  .watch-meta { display: block; padding: 23px 18px 30px; }
  .rating-panel { grid-template-columns: 1fr; gap: 18px; padding: 24px 18px 30px; }
  .rating-scale { grid-template-columns: repeat(5, 1fr); }
  .episode-navigation { margin-top: 24px; }
  .episode-navigation button { flex: 1; }
  .close-button { top: 9px; right: 9px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; display: grid; gap: 14px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-banner button { width: 100%; }
}

@media (max-width: 440px) {
  .brand-name { display: none; }
  .account-button { display: none; }
  .episodes-grid { grid-template-columns: none; grid-auto-columns: minmax(232px, 84vw); }
  .episode-card { min-height: 0; }
  .episode-card img { height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
