/* Anton, latin-ext */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fontok/anton-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Anton, latin */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fontok/anton-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter, latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fontok/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter, latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fontok/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter, latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fontok/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter, latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fontok/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter, latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fontok/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter, latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fontok/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Honnan tudjuk? — the channel's colours (csatorna/csatorna_kep.html): night violet, violet, cyan, amber. */
:root {
  --bg: #07060f;
  --bg2: #0d0b1a;
  --card: #120f22;
  --card2: #181430;
  --line: rgba(196, 181, 253, .13);
  --text: #ece9f6;
  --muted: #a49cb8;
  --faint: #6f6887;
  --violet: #7c3aed;
  --violet-l: #a78bfa;
  --violet-ll: #c4b5fd;
  --cyan: #06b6d4;
  --warm: #f59e0b;
  --a1: var(--violet);
  --a2: var(--cyan);
  --radius: 14px;
  --wide: 1120px;
  --read: 740px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
/* A faint starfield behind everything. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 72% 9%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 38% 64%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 86% 52%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 22% 86%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1px 1px at 58% 33%, rgba(255,255,255,.3), transparent 60%),
    radial-gradient(1px 1px at 93% 88%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1200px 700px at 50% -10%, rgba(124, 58, 237, .16), transparent 70%);
  background-size: 520px 520px, 610px 610px, 470px 470px, 690px 690px, 560px 560px, 430px 430px, 750px 750px, 100% 100%;
}

a { color: var(--violet-ll); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--violet-l); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: min(var(--wide), 100% - 32px); margin-inline: auto; }
.read { width: min(var(--read), 100% - 32px); margin-inline: auto; }

.display {
  font-family: Anton, Impact, "Arial Narrow Bold", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.02;
  margin: 0;
}
.kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--violet-l);
  margin: 0 0 14px;
}
.muted { color: var(--muted); }
h2 { font-size: 26px; line-height: 1.25; margin: 0 0 18px; letter-spacing: -.01em; }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; }

/* ── header ─────────────────────────────────────────────────────────── */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 6, 15, .78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 22px; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; margin-right: auto; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span { font-family: Anton, Impact, sans-serif; font-size: 21px; letter-spacing: .03em; text-transform: uppercase; }
.top nav { display: flex; align-items: center; gap: 20px; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); }

/* ── buttons ────────────────────────────────────────────────────────── */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, .03);
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { color: #fff; border-color: var(--violet-l); background: rgba(167, 139, 250, .1); }
.btn.primary {
  background: var(--violet);
  border-color: var(--violet);
  box-shadow: 0 0 28px rgba(124, 58, 237, .45);
}
.btn.primary:hover { background: #8b4cf6; }
.btn svg { width: 18px; height: 18px; flex: none; }
.top .btn { padding: 8px 15px; font-size: 14px; }

/* ── hero ───────────────────────────────────────────────────────────── */
/* Like the YouTube banner: three glowing threads run in from the left edge and meet in a star, the text starts there. */
.hero { position: relative; padding: 88px 0 84px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 300px 1fr; align-items: center; }
.hero .threads {
  --gutter: calc((100vw - min(var(--wide), 100vw - 32px)) / 2);
  margin-left: calc(-1 * var(--gutter));
  width: calc(100% + var(--gutter));
  height: 360px;
  pointer-events: none;
}
.hero .inner { position: relative; }
.hero h1 { font-size: clamp(54px, 9vw, 116px); text-shadow: 0 0 34px rgba(124, 58, 237, .65); }
.hero .lead { font-size: clamp(19px, 2.2vw, 25px); font-weight: 600; color: var(--violet-ll); margin: 14px 0 18px; }
.hero p.about { max-width: 600px; color: var(--muted); margin: 0 0 30px; }

.series-hero { position: relative; padding: 84px 0 64px; border-bottom: 1px solid var(--line); }
.series-hero h1 { font-size: clamp(46px, 7.5vw, 96px); text-shadow: 0 0 30px rgba(124, 58, 237, .5); }
.series-hero p { max-width: 640px; color: var(--muted); font-size: 18px; margin: 16px 0 26px; }

/* progress through the 100 episodes */
.progress { max-width: 520px; margin: 0 0 28px; }
.progress .bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.progress .bar i { display: block; height: 100%; min-width: 8px; border-radius: 99px;
  background: linear-gradient(90deg, var(--violet), var(--cyan)); box-shadow: 0 0 14px rgba(6, 182, 212, .5); }
.progress small { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }

/* ── sections ───────────────────────────────────────────────────────── */
section.block { padding: 64px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

.intro-text { max-width: 680px; color: var(--muted); margin: 0 0 22px; }

/* latest episode */
.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 34px; align-items: center; }
.feature h3 { font-size: 28px; line-height: 1.2; margin: 6px 0 12px; }
.feature p { color: var(--muted); margin: 0 0 22px; }

.cover { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--card); aspect-ratio: 16 / 9; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.cover:hover img { transform: scale(1.025); }
.cover .play { position: absolute; inset: auto 14px 14px auto; display: flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 11px; border-radius: 999px; background: rgba(7, 6, 15, .82); color: #fff; font-size: 14px; font-weight: 700; }
.cover .play svg { width: 16px; height: 16px; }

/* method cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 14px;
  background: rgba(124, 58, 237, .16); color: var(--violet-ll); }
.card .icon svg { width: 21px; height: 21px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* the ten seasons as tiles */
.seasons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.season-tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; text-decoration: none;
  color: #fff; border: 1px solid var(--line); background: var(--card); }
.season-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: opacity .2s, transform .35s; }
.season-tile::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(7, 6, 15, .92)), linear-gradient(135deg, color-mix(in srgb, var(--a1) 35%, transparent), transparent 60%); }
.season-tile:hover img { opacity: .85; transform: scale(1.04); }
.season-tile .label { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 10px; line-height: 1.25; }
.season-tile b { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--a1); filter: brightness(1.5); }
.season-tile em { font-style: normal; font-weight: 700; font-size: 14px; }
.season-tile .count { position: absolute; z-index: 1; top: 9px; right: 10px; font-size: 12px; font-weight: 700; padding: 2px 8px;
  border-radius: 99px; background: rgba(7, 6, 15, .7); color: var(--muted); }

/* ── series page: season blocks ─────────────────────────────────────── */
.season-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 0 0; }
.season-nav a { min-width: 40px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); text-align: center;
  color: var(--muted); text-decoration: none; font-weight: 700; font-size: 14px; }
.season-nav a:hover { color: #fff; border-color: var(--violet-l); }

.season { padding: 46px 0 10px; scroll-margin-top: 70px; }
.season-banner { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 190px;
  display: flex; align-items: flex-end; padding: 26px; margin-bottom: 14px; background: var(--card); }
.season-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.season-banner::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 6, 15, .92) 0%, rgba(7, 6, 15, .55) 55%, rgba(7, 6, 15, .15)),
              linear-gradient(0deg, color-mix(in srgb, var(--a1) 30%, transparent), transparent 70%); }
.season-banner div { position: relative; z-index: 1; }
.season-banner .kicker { color: var(--a2); filter: brightness(1.3); margin-bottom: 8px; }
.season-banner h2 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 4vw, 44px);
  letter-spacing: .01em; line-height: 1.05; margin: 0 0 6px; }
.season-banner p { margin: 0; color: var(--text); opacity: .85; }

.eps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ep { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 12px;
  border: 1px solid transparent; }
.ep .num { font-family: Anton, Impact, sans-serif; font-size: 22px; color: var(--faint); text-align: right; }
.ep .t { font-weight: 600; }
.ep .t small { display: block; font-weight: 400; color: var(--faint); font-size: 14px; }
.ep .state { font-size: 13px; font-weight: 700; color: var(--faint); white-space: nowrap; }
.ep.out { background: var(--card); border-color: var(--line); grid-template-columns: 52px 128px 1fr auto; }
.ep.out .num { color: var(--a1); filter: brightness(1.45); }
.ep.out .thumb { border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; }
.ep.out a.t { color: var(--text); text-decoration: none; }
.ep.out a.t:hover { color: #fff; text-decoration: underline; }
.ep.out .state { color: var(--cyan); }
.ep.next .state { color: var(--warm); }

/* ── episode page ───────────────────────────────────────────────────── */
.crumbs { font-size: 14px; color: var(--faint); padding-top: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.ep-head { padding: 22px 0 26px; }
.ep-head h1 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 10px; }
.ep-head .meta { color: var(--muted); font-size: 15px; }
.ep-hero { margin-bottom: 22px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.toc a { font-size: 14px; font-weight: 600; padding: 6px 13px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; }
.toc a:hover { color: #fff; border-color: var(--violet-l); }

.prose { font-size: 17.5px; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--violet-l); }
.part { padding: 34px 0 6px; scroll-margin-top: 70px; }
.part > h2 { display: flex; align-items: center; gap: 10px; }
.part > h2::before { content: ""; width: 4px; height: 22px; border-radius: 4px; background: linear-gradient(var(--violet), var(--cyan)); }

.chapters { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.chapters li { border-top: 1px solid var(--line); }
.chapters li:first-child { border-top: 0; }
.chapters a { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 10px 16px; color: var(--text); text-decoration: none; }
.chapters a:hover { background: rgba(167, 139, 250, .08); }
.chapters time { color: var(--violet-l); font-variant-numeric: tabular-nums; font-weight: 600; }

.fix { border: 1px solid rgba(245, 158, 11, .35); background: rgba(245, 158, 11, .06); border-radius: var(--radius); padding: 18px 20px 6px; }
.small-print { font-size: 15.5px; color: var(--muted); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 46px 0 10px; }
.pager a, .pager span { display: block; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; color: var(--text); background: var(--card); }
.pager a:hover { border-color: var(--violet-l); }
.pager small { display: block; color: var(--faint); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.pager .next { text-align: right; }
.pager span { color: var(--faint); background: transparent; }

.note { margin: 40px 0 0; padding: 18px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); color: var(--muted); font-size: 15.5px; }

/* ── footer ─────────────────────────────────────────────────────────── */
footer { margin-top: 80px; border-top: 1px solid var(--line); padding: 34px 0 46px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; }
footer a { color: var(--muted); }

/* ── 404 ────────────────────────────────────────────────────────────── */
.lost { padding: 120px 0; text-align: center; }
.lost h1 { font-size: clamp(60px, 12vw, 140px); text-shadow: 0 0 34px rgba(124, 58, 237, .6); }
.lost p { color: var(--muted); margin: 10px 0 28px; }
.lost .btns { justify-content: center; }

/* ── narrow screens ─────────────────────────────────────────────────── */
/* ── Tudásmorzsák (specials) ───────────────────────────────────────── */
.morzsak { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.morzsa { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; }
.morzsa img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.morzsa .body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.morzsa .kicker { color: var(--warm); margin: 0; }
.morzsa h3 { font-size: 21px; line-height: 1.25; margin: 0; }
.morzsa p { margin: 0; color: var(--muted); font-size: 15.5px; }
.morzsa .state { font-size: 13px; font-weight: 700; color: var(--faint); }
.morzsa .btns { margin-top: auto; padding-top: 6px; }

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .seasons { grid-template-columns: repeat(3, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 22px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .threads { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .top nav a:not(.btn) { display: none; }
  .hero { padding: 64px 0 60px; }
  .cards { grid-template-columns: 1fr; }
  .morzsak { grid-template-columns: 1fr; }
  .seasons { grid-template-columns: repeat(2, 1fr); }
  .ep, .ep.out { grid-template-columns: 34px 1fr; gap: 4px 12px; }
  .ep .num { font-size: 18px; grid-row: span 2; align-self: start; padding-top: 2px; }
  .ep.out .thumb { display: none; }
  .ep .state { grid-column: 2; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { text-align: left; }
  .chapters a { grid-template-columns: 58px 1fr; padding: 10px 12px; }
  section.block { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ── animation library (/animaciok/) ───────────────────────────────── */
.anim-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 28px 0 0; }
.anim-tools input { flex: 1 1 260px; max-width: 460px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); font: inherit; font-size: 16px; }
.anim-tools input::placeholder { color: var(--faint); }
.anim-tools input:focus { outline: 2px solid var(--violet-l); outline-offset: 2px; }
.anim-group { padding: 44px 0 4px; scroll-margin-top: 70px; }
.anim-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.anim-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; }
.anim-card .poster { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.anim-card .poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.anim-card .poster:hover img { transform: scale(1.03); }
.anim-card .poster .play { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(124, 58, 237, .88); color: #fff; box-shadow: 0 0 18px rgba(124, 58, 237, .5); }
.anim-card .poster .play svg { width: 16px; height: 16px; }
.anim-card .body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; }
.anim-card h3 { font-size: 17px; margin: 0; }
.anim-card h3 a { color: var(--text); text-decoration: none; }
.anim-card h3 a:hover { color: #fff; text-decoration: underline; }
.anim-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.anim-card .where { font-size: 13.5px; font-weight: 600; }
.anim-card .where a { color: var(--violet-l); }
.no-poster { display: grid; place-items: center; height: 100%; padding: 12px; text-align: center; color: var(--muted); font-weight: 700;
  background: radial-gradient(circle at 70% 30%, rgba(124, 58, 237, .25), transparent 60%), var(--card2); }

/* the citation line, with a copy button */
.cite { display: flex; align-items: flex-start; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--faint); line-height: 1.45; }
.cite span { flex: 1; }
.cite .copy:not(.btn) { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px;
  border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.cite .copy:not(.btn):hover { color: #fff; border-color: var(--violet-l); }
.cite .copy:not(.btn) svg { width: 15px; height: 15px; }
.cite .copy.kesz { color: var(--cyan); border-color: var(--cyan); }
.cite.big { align-items: center; gap: 14px; margin: 0 0 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255, 255, 255, .025); font-size: 15px; color: var(--text); }
.cite.big .btn { flex: none; padding: 9px 15px; font-size: 14px; }
button.btn { font-family: inherit; cursor: pointer; }
.btn[disabled] { opacity: .75; cursor: progress; }

/* small animation cards: an episode's page, the home page */
.anim-minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.read .anim-minis { grid-template-columns: repeat(3, 1fr); }
.anim-mini { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; text-decoration: none; color: var(--text); }
.anim-mini img, .anim-mini .no-poster { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.anim-mini .t { padding: 9px 11px 0; font-size: 14px; font-weight: 600; line-height: 1.3; }
.anim-mini small { padding: 3px 11px 10px; color: var(--faint); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.anim-mini:hover { border-color: var(--violet-l); color: #fff; }

/* an animation's page */
.anim-read { width: min(980px, 100% - 32px); margin-inline: auto; }
.anim-read .prose, .anim-read .part { max-width: var(--read); }
.anim-player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #000; margin-bottom: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.anim-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.anim-player:fullscreen { border: 0; border-radius: 0; }
.anim-player.tele { position: fixed; inset: 0; z-index: 100; margin: 0; border: 0; border-radius: 0; aspect-ratio: auto; }
html.tele-nyitva { overflow: hidden; }
.hint { color: var(--faint); font-size: 14px; margin: 0 0 20px; }
#ment-info { margin: 12px 0 0; }
#ment-info.rossz { color: var(--warm); }
.uses { margin: 0; padding-left: 20px; }
.uses li { margin: 6px 0; }
.uses li::marker { color: var(--violet-l); }
.license-box { border: 1px solid rgba(6, 182, 212, .3); background: rgba(6, 182, 212, .05); border-radius: var(--radius); padding: 18px 20px 4px; }
.license-box p { margin: 0 0 12px; }
.license-box .cite-label { font-weight: 700; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.mentes-keret { position: fixed; left: -4000px; top: 0; width: 640px; height: 360px; border: 0; }

/* the episode's video behind a facade (youtube-nocookie.com only after a click) */
.facade a { display: block; height: 100%; }
.facade .play { inset: 50% auto auto 50%; transform: translate(-50%, -50%); padding: 14px 24px 14px 19px; font-size: 16px;
  background: rgba(124, 58, 237, .9); box-shadow: 0 0 34px rgba(124, 58, 237, .55); }
.facade .play svg { width: 20px; height: 20px; }
.facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.facade.betoltve { background: #000; }
.facade-note { color: var(--faint); font-size: 13.5px; margin: -10px 0 24px; }
.facade-note a { color: var(--muted); }

/* the spoken text */
.transcript h3 { font-size: 19px; margin: 28px 0 10px; }
.transcript .ts { font-size: 12.5px; font-weight: 700; color: var(--violet-l); text-decoration: none; font-variant-numeric: tabular-nums;
  margin-right: 5px; padding: 1px 6px; border-radius: 6px; background: rgba(167, 139, 250, .1); vertical-align: 1px; }
.transcript .ts:hover { background: rgba(167, 139, 250, .25); color: #fff; }

@media (max-width: 960px) {
  .anim-grid { grid-template-columns: repeat(2, 1fr); }
  .anim-minis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  /* the library on a phone: two columns of small cards; the description and the citation are on each animation's page */
  .anim-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .anim-card .body { padding: 10px 11px 12px; gap: 4px; }
  .anim-card h3 { font-size: 14.5px; line-height: 1.3; }
  .anim-card .body > p:not(.where), .anim-card .cite { display: none; }
  .anim-card .where { font-size: 12.5px; }
  .anim-card .poster .play { width: 28px; height: 28px; right: 6px; bottom: 6px; }
  .anim-card .poster .play svg { width: 13px; height: 13px; }
  .read .anim-minis { grid-template-columns: repeat(2, 1fr); }
  .cite.big { flex-direction: column; align-items: stretch; }
  .cite.big .btn { justify-content: center; }
  .facade .play { inset: auto 10px 10px auto; transform: none; padding: 9px 15px 9px 12px; font-size: 14px; }   /* off the cover's title */
}

/* ── the contact form (/kapcsolat/) ────────────────────────────────── */
.urlap { display: grid; gap: 20px; margin-top: 30px; }
.temak { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.temak legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 15px; }
.tema { position: relative; display: block; cursor: pointer; }
.tema input { position: absolute; top: 16px; left: 15px; width: 18px; height: 18px; margin: 0; opacity: 0; }
.tema span { display: block; height: 100%; padding: 13px 14px 13px 42px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); transition: border-color .15s, background .15s; }
.tema span::before { content: ""; position: absolute; top: 16px; left: 15px; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--faint); box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.tema b { display: block; font-size: 15.5px; line-height: 1.35; }
.tema small { display: block; margin-top: 3px; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.tema:hover span { border-color: rgba(167, 139, 250, .45); }
.tema input:checked + span { border-color: var(--violet-l); background: rgba(124, 58, 237, .14); }
.tema input:checked + span::before { border-color: var(--violet-l); box-shadow: inset 0 0 0 3px var(--card), inset 0 0 0 9px var(--violet-l); }
.tema input:focus-visible + span { outline: 2px solid var(--violet-l); outline-offset: 3px; }
.mezok { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mezo { display: grid; gap: 7px; align-content: start; font-weight: 700; font-size: 15px; }
.mezo em { font-style: normal; font-weight: 400; color: var(--faint); font-size: 13.5px; }
.mezo small { font-weight: 400; color: var(--faint); font-size: 13.5px; }
.mezo input, .mezo textarea { width: 100%; padding: 12px 15px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); font: inherit; font-weight: 400; font-size: 16px; line-height: 1.5; }
.mezo textarea { min-height: 170px; resize: vertical; }
.mezo input::placeholder, .mezo textarea::placeholder { color: var(--faint); }
.mezo input:focus, .mezo textarea:focus { outline: 2px solid var(--violet-l); outline-offset: 1px; border-color: transparent; }
.mezo input:user-invalid, .mezo textarea:user-invalid { border-color: var(--warm); }
.csapda { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.urlap .small-print { margin: 0; }
.urlap .btn svg { width: 17px; height: 17px; }
.urlap-allapot { margin: 0; padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(6, 182, 212, .4);
  background: rgba(6, 182, 212, .07); font-weight: 600; }
.urlap-allapot.rossz { border-color: rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .07); color: #fcd34d; font-weight: 500; }
.urlap-allapot:empty { display: none; }
@media (max-width: 760px) {
  .temak { grid-template-columns: 1fr; }
  .mezok { grid-template-columns: 1fr; }
}

/* ── phones: the menu, larger tap targets, the spoken text behind a button ─ */
.menu { display: none; }
.menu > summary { list-style: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--text); cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary svg { width: 22px; height: 22px; }
.menu > summary .x, .menu[open] > summary .b { display: none; }
.menu[open] > summary .x { display: block; }
.menu[open] > summary { border-color: var(--violet-l); background: rgba(167, 139, 250, .12); }
.top .menu .panel { position: absolute; left: 0; right: 0; top: 100%; display: grid; gap: 0; padding: 4px 16px 16px;
  background: rgba(7, 6, 15, .97); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(0, 0, 0, .55); }
.top .menu .panel a { display: block; padding: 14px 4px; font-size: 18px; font-weight: 700; color: var(--text);
  text-decoration: none; border-bottom: 1px solid var(--line); }
.top .menu .panel a:last-child { border-bottom: 0; }
.top .menu .panel a[aria-current] { color: var(--violet-ll); }

.szoveg-doboz > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); font-weight: 700; }
.szoveg-doboz > summary::-webkit-details-marker { display: none; }
.szoveg-doboz > summary::before { content: "▸"; color: var(--violet-l); display: inline-block; transition: transform .2s; }
.szoveg-doboz[open] > summary::before { transform: rotate(90deg); }
.szoveg-doboz > summary:hover { border-color: var(--violet-l); }
.szoveg-doboz > summary small { color: var(--faint); font-weight: 500; font-size: 14px; }
.szoveg-doboz .zar, .szoveg-doboz[open] .nyit { display: none; }
.szoveg-doboz[open] .zar { display: inline; }
.szoveg-doboz[open] > summary { margin-bottom: 6px; }

footer a { display: inline-block; padding: 7px 0; }
.hint .ujj { display: none; }
@media (hover: none) { .hint .eger { display: none; } .hint .ujj { display: inline; } }
.crumbs a { display: inline-block; padding: 8px 0; }
.section-head > a { display: inline-block; padding: 8px 0; }
.season-tile em { overflow-wrap: anywhere; hyphens: auto; }

.brand span { white-space: nowrap; }
.prose { overflow-wrap: break-word; }

@media (max-width: 640px) {
  .menu { display: block; }
  .top .wrap { gap: 10px; }
  .top .btn.yt { width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 12px; }
  .top .btn.yt span { display: none; }
  .top .btn.yt svg { width: 22px; height: 22px; }
  .kicker { letter-spacing: .15em; }
  .crumbs { padding-top: 18px; }
  .toc a { padding: 9px 14px; }
  .season-tile b { font-size: 11.5px; }
  .ep.out.next .state { display: none; }        /* the release time is in the line above already */
  footer .wrap { flex-direction: column; gap: 6px; }
}
@media (max-width: 400px) {
  .brand span { font-size: 18px; }
  .season-tile em { font-size: 13px; }
  .season-tile .label { left: 10px; right: 10px; }
}

[hidden] { display: none !important; }
