/* Layout: Sabah Raporu's night-blue world. A glass "Keşfet" deck on top (same controls as the phone),
   then the archive like the old Notion page: category tiles → periods → fold-open film cards.
   Data: the Notion "Filmler ve Diziler" table (live through the Notion connector), with a built-in copy until it answers. */
:root {
  --night: #14213A; --dusk: #2A3F66; --glow: #8FD0FF; --ink: #EAF1FF; --muted: #9DB2D7;
  --line: rgba(160, 196, 255, .16); --card: rgba(255, 255, 255, .055); --card-hi: rgba(255, 255, 255, .09);
  --amber: #FFC983; --warn: #FFB4A8;
  --f-display: "Gloock", "Iowan Old Style", Georgia, serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-data: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --r: 14px; color-scheme: dark;
}
@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
* { box-sizing: border-box; }
html { background: var(--night); }
body {
  margin: 0; min-height: 100%;
  background: radial-gradient(120% 60% at 50% -10%, rgba(143, 208, 255, .16), transparent 60%),
              linear-gradient(180deg, var(--night) 0%, var(--dusk) 100%) fixed;
  background-color: var(--night); color: var(--ink); font: 15px/1.5 var(--f-body);
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 20px 56px;
}
.wrap { max-width: 860px; margin: 0 auto; display: grid; gap: 28px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 2px; border-radius: 8px; }
a { color: var(--glow); text-decoration: none; } a:hover { text-decoration: underline; }

.top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.top h1 { font: 400 clamp(30px, 6vw, 44px)/1.05 var(--f-display); margin: 0; letter-spacing: .3px; }
.top .meta { color: var(--muted); font-size: 13px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.live { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.live[data-s="on"] i { background: #7FE3B0; box-shadow: 0 0 8px #7FE3B0; }
.live[data-s="load"] i { background: var(--glow); animation: pulse 1s ease-in-out infinite; }
.live[data-s="off"] i { background: var(--warn); }
@keyframes pulse { 50% { opacity: .3; } }
.linkbtn { border: 0; background: none; color: var(--glow); cursor: pointer; padding: 0; font-size: 13px; }
.banner { border: 1px solid rgba(255,180,168,.35); background: rgba(255,180,168,.07); color: #FFD9D2; border-radius: 12px; padding: 10px 12px; font-size: 13px; }

.deck { border: 1px solid var(--line); border-radius: 20px; padding: 14px;
        background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
        backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
        box-shadow: 0 10px 40px rgba(4, 10, 25, .35); display: grid; gap: 12px; }
.deck-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.deck-head h2 { margin: 0; font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.row { display: flex; gap: 8px; align-items: stretch; min-width: 0; }
.col { display: grid; gap: 6px; flex: 0 0 auto; }
.tool { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line);
        background: transparent; cursor: pointer; font-size: 13px; color: var(--muted); white-space: nowrap; }
.tool svg { width: 16px; height: 16px; }
.tool[aria-pressed="true"] { background: var(--card-hi); color: var(--ink); border-color: rgba(143,208,255,.45); }
.seg { display: inline-grid; grid-auto-flow: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg button { border: 0; background: transparent; padding: 7px 11px; font-size: 13px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--card-hi); color: var(--ink); }
.go { flex: 1 1 auto; min-width: 0; border: 0; border-radius: 12px; cursor: pointer; font-weight: 700; font-size: 15px;
      color: var(--night); background: linear-gradient(180deg, #BDE6FF, var(--glow)); display: flex; align-items: center;
      justify-content: center; gap: 8px; box-shadow: 0 6px 24px rgba(143,208,255,.25); }
.go svg { width: 18px; height: 18px; }
.go:active { transform: translateY(1px); }
.search { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px;
          padding: 0 12px; background: rgba(10, 20, 40, .35); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; padding: 10px 0; }
.search input::placeholder { color: var(--muted); }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chip { border: 1px solid var(--line); border-radius: 99px; padding: 5px 11px; font-size: 13px; color: var(--muted); background: transparent; cursor: pointer; white-space: nowrap; }
.chip[aria-pressed="true"] { color: var(--night); background: var(--glow); border-color: var(--glow); font-weight: 600; }
.note { color: var(--muted); font-size: 13px; margin: 0; }

.cards { display: grid; gap: 10px; }
.fcard { position: relative; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); padding: 12px 14px;
         cursor: pointer; display: grid; gap: 5px; text-align: left; width: 100%; isolation: isolate; }
.fcard:hover { background: var(--card-hi); }
.fcard .t { display: flex; align-items: baseline; gap: 10px; justify-content: space-between; }
.fcard .name { font: 400 19px/1.2 var(--f-display); min-width: 0; text-wrap: balance; }
.imdb { font: 500 12px/1 var(--f-data); color: var(--amber); white-space: nowrap; border: 1px solid rgba(255,201,131,.35); border-radius: 6px; padding: 4px 6px; }
.mineScore { font: 500 12px/1 var(--f-data); color: var(--glow); white-space: nowrap; border: 1px solid rgba(143,208,255,.4); border-radius: 6px; padding: 4px 6px; }
.sub { color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.sub .dot::before { content: "·"; margin-right: 10px; opacity: .6; }
.plot { font-size: 14px; color: #D6E2FA; }
.fcard.lit { border-color: transparent; background: transparent; }
.fcard.lit::before, .fcard.lit::after {
  content: ""; position: absolute; inset: -1.5px; border-radius: calc(var(--r) + 1.5px); z-index: -1; pointer-events: none;
  background: conic-gradient(from var(--spin), transparent 0deg, transparent 210deg, rgba(143,208,255,.15) 260deg,
              rgba(143,208,255,.85) 330deg, #FFFFFF 352deg, transparent 360deg);
  animation: spin 3.2s linear infinite;
}
/* paint order inside the card: glow (-2) < ring (-1) < fill (-1, later in the DOM) < text */
.fcard.lit::after { inset: -6px; border-radius: calc(var(--r) + 6px); filter: blur(10px); opacity: .7; z-index: -2; }
.fcard.lit .bgfill { position: absolute; inset: 0; border-radius: var(--r); background: linear-gradient(180deg, #1A2A49, #1F3257); z-index: -1; }
@keyframes spin { to { --spin: 360deg; } }
@media (prefers-reduced-motion: reduce) { .fcard.lit::before, .fcard.lit::after, .live i { animation: none; --spin: 300deg; } }
.more { justify-self: start; border: 1px solid var(--line); background: transparent; border-radius: 10px; padding: 8px 14px; color: var(--glow); cursor: pointer; font-weight: 600; }

.sect-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sect-h h2 { margin: 0; font: 400 26px/1.1 var(--f-display); }
.sect-h p { margin: 0; color: var(--muted); font-size: 13px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.tile { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--card); cursor: pointer; text-align: left; padding: 0; display: grid; }
.tile[aria-pressed="true"] { border-color: rgba(143,208,255,.6); box-shadow: 0 0 0 1px rgba(143,208,255,.35), 0 10px 30px rgba(4,10,25,.4); }
.cover { height: 84px; position: relative; overflow: hidden; }
.cover canvas { width: 100%; height: 100%; display: block; }
.tile .tb { padding: 10px 14px 13px; display: grid; gap: 3px; }
.tile .tn { font: 400 19px/1.15 var(--f-display); }
.tile .tc { color: var(--muted); font-size: 13px; }
.cat { display: grid; gap: 20px; }
.period h3 { margin: 0 0 8px; font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--glow); display: flex; align-items: center; gap: 10px; }
.period h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.period h3 span { color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 500; }
.toggle { border-bottom: 1px solid var(--line); }
.toggle summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 11px 2px; }
.toggle summary::-webkit-details-marker { display: none; }
.toggle .tri { width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); transition: transform .2s; margin-left: 2px; }
.toggle[open] .tri { transform: rotate(45deg); }
.toggle .nm { min-width: 0; }
.toggle .nm b { font: 400 17px/1.25 var(--f-display); }
.toggle .nm small { color: var(--muted); margin-left: 8px; font-size: 13px; white-space: nowrap; }
.rank { display: flex; gap: 6px; align-items: center; }
.review { padding: 4px 4px 18px 30px; display: grid; gap: 14px; max-width: 72ch; min-width: 0; }
.review section { display: grid; gap: 4px; }
.review h4 { margin: 0; font: 600 12px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.review p { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; border: 1px solid var(--line); border-radius: 99px; padding: 3px 9px; color: #CFE0FF; }
.tag.g { border-color: rgba(143,208,255,.45); color: var(--glow); }
.mine { border-left: 2px solid var(--glow); padding-left: 10px; color: #DCE8FF; font-style: italic; }
.links { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; }
/* the review text from Notion */
.doc { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.doc h5 { margin: 10px 0 0; font: 400 18px/1.25 var(--f-display); }
.doc h6 { margin: 8px 0 0; font: 600 13px/1.3 var(--f-body); color: var(--glow); letter-spacing: .02em; }
.doc p, .doc li { margin: 0; color: #D9E5FB; }
.doc ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; width: 100%; }
.doc blockquote { margin: 0; padding-left: 10px; border-left: 2px solid var(--line); color: var(--muted); }
.loading { color: var(--muted); font-size: 13px; }
/* the "Detaylar…" fold under the short facts */
.detay { border-top: 1px solid var(--line); }
.detay > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 12px 0 4px; color: var(--glow); font-weight: 600; font-size: 14px; }
.detay > summary::-webkit-details-marker { display: none; }
.detay > summary .tri { width: 8px; height: 8px; border-right: 2px solid var(--glow); border-bottom: 2px solid var(--glow); transform: rotate(-45deg); transition: transform .2s; }
.detay[open] > summary .tri { transform: rotate(45deg); }
.detay[open] > summary .lbl::after { content: ""; }
.detay:not([open]) > summary .lbl::after { content: "…"; }
.detay > .doc { border-top: 0; padding-top: 6px; }
.doc li .sub2 { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.doc .preview { color: var(--amber); font-size: 12px; border: 1px dashed rgba(255,201,131,.4); border-radius: 8px; padding: 6px 9px; }
.doc .spoil { color: var(--amber); font-size: 12px; letter-spacing: .02em; }
.doc .tags { margin-top: 2px; }
/* rating, favourite and ordering controls */
.ctl { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: rgba(10, 20, 40, .3); gap: 6px; }
.ctlRow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.rate { display: flex; align-items: center; gap: 8px; flex: 1 1 200px; min-width: 0; font-size: 13px; color: var(--muted); }
.rate input { flex: 1; min-width: 80px; accent-color: var(--glow); }
.rate .rv { font: 500 14px/1 var(--f-data); color: var(--glow); min-width: 2.4em; text-align: right; }
.mini { border: 1px solid rgba(143,208,255,.45); background: var(--card-hi); color: var(--ink); border-radius: 9px; padding: 6px 11px; cursor: pointer; font-size: 13px; font-weight: 600; }
.mini.ghost { background: transparent; color: var(--muted); border-color: var(--line); font-weight: 500; }
.favBtn { border: 1px solid rgba(255,201,131,.4); background: transparent; color: var(--amber); border-radius: 9px; padding: 6px 11px; cursor: pointer; font-size: 13px; }
.favBtn[aria-pressed="true"] { background: rgba(255,201,131,.14); }
.mini:disabled, .favBtn:disabled, .rate input:disabled { opacity: .45; cursor: default; }
.ctlMsg { margin: 0; font-size: 12px; color: var(--muted); min-height: 1em; }
.ctlHint { font-size: 12px; color: var(--muted); }
.ctlNotes { display: grid; gap: 10px; margin-top: 8px; }
.ctlNotes label { display: grid; gap: 4px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ctlNotes textarea { width: 100%; min-width: 0; resize: vertical; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: inherit; font-family: inherit; font-size: 14px; line-height: 1.5; padding: 8px 10px; text-transform: none; letter-spacing: normal; }
.ctlNotes textarea:focus { outline: 1px solid currentColor; outline-offset: 1px; }
.star { color: var(--amber); }
.tileWrap { display: grid; gap: 4px; }
.favTile .cover { display: grid; place-items: center; background: linear-gradient(135deg, #3A2E1B, #24324F); }
.favArt { font-size: 40px; color: var(--amber); text-shadow: 0 0 18px rgba(255,201,131,.5); }
.mover { display: inline-flex; gap: 4px; justify-content: center; }
.mover button { border: 1px solid var(--line); background: var(--card); color: var(--glow); border-radius: 8px; width: 34px; height: 26px; cursor: pointer; font-size: 11px; }
.chipWrap { display: inline-flex; align-items: center; gap: 4px; }
.guide summary .nm b { color: var(--glow); }
/* subtopic groups inside a category */
.topicChips { flex-wrap: wrap; overflow: visible; }
.chip .cnt, .topic .cnt { font: 500 11px/1 var(--f-data); color: var(--muted); }
.topic { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.03); }
.topic > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 14px 16px; }
.topic > summary::-webkit-details-marker { display: none; }
.topic > summary .tri { width: 10px; height: 10px; border-right: 2px solid var(--glow); border-bottom: 2px solid var(--glow); transform: rotate(-45deg); transition: transform .2s; margin-left: 2px; }
.topic[open] > summary .tri { transform: rotate(45deg); }
.topic .tt { font: 400 21px/1.15 var(--f-display); }
.topicBody { padding: 0 16px 14px; display: grid; gap: 16px; }
@media (max-width: 480px) { .topicBody { padding: 0 10px 12px; } .topic > summary { padding: 12px; } }
.foot { color: var(--muted); font-size: 12px; text-align: center; }

/* ---- Arşiv gezgini: Studio Macaco "projects" layout (strip · rail · own scroll pane, Syncopate + Roboto Mono,
   per-card accent that floods the strip) with OpenState rows for the films. Genre (left) → topic cards (right) →
   period slider that follows the scroll + fold-open film rows → basic facts → "Detaylar" fold. */
.mx { --accent: #ffffff; --line: rgba(255,255,255,.14); --ink: #0a0a0a; --wht: #fff; --dim: rgba(255,255,255,.55);
  --f-wide: "Syncopate", "Arial Black", sans-serif; --f-mono: "Roboto Mono", "JetBrains Mono", ui-monospace, monospace;
  interpolate-size: allow-keywords;
  position: relative; background: var(--ink); color: var(--wht); font-family: var(--f-mono); border: 1px solid var(--line);
  display: grid; grid-template-columns: clamp(250px, 21vw, 420px) minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr);
  grid-template-areas: "nav nav" "strip strip" "rail scroll"; overflow: clip;
  width: 100%; height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); border: 0; }
/* full page: the navigator is the page */
html, body { background: #0a0a0a; }
[hidden] { display: none !important; }
body { padding: 0; }
.wrap { max-width: none; display: block; }
.banner { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 20; max-width: min(520px, calc(100vw - 32px));
  border-radius: 0; background: #0a0a0a; border-color: rgba(255,180,168,.55); font: 12px/1.5 "Roboto Mono", ui-monospace, monospace; cursor: pointer; }
.mx-nav { grid-area: nav; display: flex; align-items: center; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap;
  padding: clamp(12px, 1.2vw, 20px) clamp(14px, 2vw, 32px); border-bottom: 1px solid var(--line); }
.mx-brand { font: 700 clamp(15px, 1.3vw, 22px)/1 var(--f-wide); letter-spacing: .02em; text-transform: uppercase; color: #FEFF00; }
.mx-meta { display: flex; align-items: center; gap: 10px clamp(12px, 1.4vw, 22px); flex-wrap: wrap; font-size: clamp(10.5px, .7vw, 13px); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.mx-meta .mx-seg { flex: none; }
.mx-link { border: 0; background: none; padding: 0; color: var(--wht); font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; text-decoration: none; }
.mx-link:hover { color: #FEFF00; text-decoration: none; }
/* NotionDB link + connection state (owner only): reload-tick when connected, reload-! when not; a press reconnects */
.mx-ndb { display: inline-flex; align-items: center; gap: 8px; }
.mx-sync { width: 26px; height: 26px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line); background: transparent; cursor: pointer; color: rgba(255,255,255,.5); }
.mx-sync svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.mx-sync .ok, .mx-sync .bad { display: none; }
.mx-sync[data-s="on"] { color: #6FCF97; }
.mx-sync[data-s="on"] .ok { display: inline; }
.mx-sync[data-s="off"] { color: #F07167; }
.mx-sync[data-s="off"] .bad { display: inline; }
.mx-sync[data-s="load"] .arr { transform-origin: 8px 8px; animation: mxSpin 1.1s linear infinite; }
.mx-sync:hover { border-color: currentColor; }
@keyframes mxSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mx-sync[data-s="load"] .arr { animation: none; } }
/* the page's own music: play / pause, independent of Spotify */
.mx-music { display: inline-flex; align-items: center; gap: 10px; }
.mx-play { width: 26px; height: 26px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line); background: transparent; color: var(--wht); cursor: pointer; }
.mx-play svg { width: 10px; height: 10px; }
.mx-play .i-pause { display: none; }
.mx-play[aria-pressed="true"] { background: var(--wht); color: var(--ink); border-color: var(--wht); }
.mx-play[aria-pressed="true"] .i-play { display: none; }
.mx-play[aria-pressed="true"] .i-pause { display: block; }
.mx-play:hover:not(:disabled) { border-color: #FEFF00; }
.mx-play:disabled { opacity: .35; cursor: default; }
.mx button { font-family: var(--f-mono); color: inherit; }
.mx :focus-visible { outline: 1px solid var(--wht); outline-offset: 2px; border-radius: 0; }
.mx-strip { grid-area: strip; display: flex; align-items: center; gap: clamp(10px, 1.4vw, 22px); padding: 9px clamp(14px, 2vw, 28px);
  border-bottom: 1px solid var(--line); transition: background .25s, color .25s; }
.mx.mx--accent .mx-strip { background: var(--accent); color: #050505; }
.mx-stars { letter-spacing: .3em; font-size: 15px; flex: none; }
.mx-ready { font-size: clamp(12px, .78vw, 15px); letter-spacing: .1em; flex: none; max-width: 38ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-rule { flex: 1 1 auto; height: 1px; min-width: 24px; background: currentColor; opacity: .35; }
.mx-rule.short { flex: 0 0 clamp(24px, 4vw, 80px); }
.mx-desc { flex: 0 1 auto; max-width: 52ch; margin: 0; padding: 6px 12px; border: 1px solid var(--line); font-size: clamp(10.5px, .68vw, 13px); line-height: 1.4; letter-spacing: .03em; }
.mx.mx--accent .mx-desc { border-color: rgba(0,0,0,.28); }
.mx-randGrp { flex: none; display: grid; gap: 6px; }
/* DONE / WILL: which of the owner's lists are shown (both = both); neon hex marks, a split-colour jolt when switched */
.mx-lists { display: flex; gap: 6px; }
.mx-lists[hidden] { display: none; }
.mx-ls { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 4px 8px; border: 1px solid currentColor; background: transparent;
  cursor: pointer; font: 500 10px/1 var(--f-mono); letter-spacing: .2em; opacity: .5; transition: opacity .2s, background .2s, color .2s; }
.mx-ls svg { width: 20px; height: 20px; overflow: visible; fill: none; stroke: currentColor; stroke-linecap: square; stroke-linejoin: miter; }
.mx-ls .fr { stroke-width: 1.4; stroke-dasharray: 4 2.2; }
.mx-ls .gl { stroke-width: 2.4; }
.mx-ls .tk { stroke-width: 1.2; opacity: .7; }
.mx-ls:hover { opacity: .85; }
.mx-ls[aria-pressed="true"] { opacity: 1; background: var(--wht); color: var(--ink); }
.mx-ls[aria-pressed="true"] .fr { stroke-dasharray: none; }
.mx.mx--accent .mx-ls[aria-pressed="true"] { background: #050505; color: var(--accent); }
/* the jolt: a split-colour glitch on a control when it is pressed (DONE / WILL, Rastgele, Film / Dizi, Rastgele / Tür, genres) */
.mx .jolt { animation: mxJoltT .32s steps(1) 1; }
.mx .jolt svg { animation: mxJolt .32s steps(1) 1; }
@keyframes mxJoltT { 0% { transform: translate(-2px, 0); text-shadow: 2px 0 0 #FF2BD6, -2px 0 0 #2BF0FF; } 33% { transform: translate(2px, -1px); text-shadow: -2px 0 0 #FF2BD6, 2px 0 0 #2BF0FF; }
  66% { transform: translate(-1px, 1px); text-shadow: 1px 0 0 #FEFF00; } 100% { transform: none; text-shadow: none; } }
@keyframes mxJolt { 0% { transform: translate(-2px, 0); filter: drop-shadow(2px 0 0 #FF2BD6) drop-shadow(-2px 0 0 #2BF0FF); } 33% { transform: translate(2px, -1px); filter: drop-shadow(-2px 0 0 #FF2BD6) drop-shadow(2px 0 0 #2BF0FF); }
  66% { transform: translate(-1px, 1px); filter: drop-shadow(1px 0 0 #FEFF00); } 100% { transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) { .mx .jolt, .mx .jolt svg { animation: none; } }
.mx-row .will { display: inline-block; margin-left: 10px; font-size: 10px; letter-spacing: .14em; padding: 2px 6px; border: 1px dashed currentColor; color: var(--accent); vertical-align: 2px; }
.mx-opts { display: flex; gap: 6px; }
.mx-seg { display: inline-flex; flex: 1; border: 1px solid currentColor; }
.mx-seg button { flex: 1; border: 0; background: transparent; padding: 4px 8px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; opacity: .6; }
.mx-seg button + button { border-left: 1px solid currentColor; }
.mx-seg button:hover { opacity: 1; }
.mx-seg button[aria-pressed="true"] { background: var(--wht); color: var(--ink); opacity: 1; }
.mx.mx--accent .mx-seg button[aria-pressed="true"] { background: #050505; color: var(--accent); }
.mx-search { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.5); margin: -6px 0 24px; padding: 4px 0 6px; }
.mx-search:focus-within { border-bottom-color: var(--wht); }
.mx-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--wht); padding: 4px 0; font: 13px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.mx-search input::placeholder { color: rgba(255,255,255,.35); text-transform: none; letter-spacing: .04em; }
.mx-search input::-webkit-search-cancel-button { display: none; }
.mx-search button { border: 0; background: none; padding: 2px 4px; font-size: 12px; cursor: pointer; color: rgba(255,255,255,.6); }
.mx-search button:hover { color: var(--wht); }
.mx-qhead:has(.mx-fpanel) { position: static; }
.mx-qhead { position: sticky; top: 0; z-index: 3; background: var(--ink); padding: clamp(14px, 2vw, 22px) 0 10px; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mx-qhead .mx-title { margin: 0; font-size: clamp(20px, 4cqw, 36px); }
.mx-qhead span { font-size: 11px; letter-spacing: .12em; color: rgba(255,255,255,.55); text-transform: uppercase; }
/* multi search: chips of the conditions in force (✕ removes one) and the panel to pick several at once */
.mx-search #mxQf { display: inline-grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 1px solid transparent; }
.mx-search #mxQf svg { width: 14px; height: 14px; }
.mx-search #mxQf[aria-pressed="true"] { color: var(--ink); background: var(--wht); }
.mx-qchips { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mx-qnote { flex-basis: 100%; margin: 0; max-width: 92ch; font-size: 11px; line-height: 1.55; letter-spacing: .02em; color: rgba(255,255,255,.6); }
.mx .mx-qc { border: 1px solid var(--wht); background: var(--wht); color: var(--ink); font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; cursor: pointer; }
.mx .mx-qc b { font-weight: 400; margin-left: 4px; }
.mx .mx-qc:hover { background: transparent; color: var(--wht); }
.mx-qor, .mx-qand { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.mx-qand { color: rgba(255,255,255,.8); font-size: 13px; }
.mx-qrest { font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: .06em; }
.mx-fpanel { flex-basis: 100%; display: grid; gap: 8px; padding-top: 4px; }
.mx .mx-ft { flex-basis: 100%; display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); background: transparent; color: rgba(255,255,255,.8); font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 11px 12px; cursor: pointer; }
.mx .mx-ft[aria-expanded="true"] { border-color: rgba(255,255,255,.6); color: var(--wht); }
.mx .mx-ft b { font-weight: 400; font-size: 14px; }
.mx-frow { display: grid; grid-template-columns: 9ch minmax(0, 1fr); gap: 10px; align-items: start; }
.mx-fh { font-size: 10px; letter-spacing: .14em; color: rgba(255,255,255,.45); text-transform: uppercase; padding-top: 5px; }
button.mx-fh { border: 0; background: none; padding: 5px 0 0; margin: 0; font-family: inherit; text-align: left; cursor: pointer; color: rgba(255,255,255,.75); }
button.mx-fh:hover, button.mx-fh:focus-visible { color: var(--wht); text-decoration: underline; text-underline-offset: 3px; }
button.mx-fh b { font-weight: 400; }
.mx-fnow { font: 500 10.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 0; color: rgba(255,255,255,.45); }
.mx-fnow--on { padding: 5px 8px; background: var(--wht); color: var(--ink); }
.mx-fopts { display: flex; flex-wrap: wrap; gap: 5px; }
.mx-fo { border: 1px solid var(--line); background: transparent; color: rgba(255,255,255,.7); font: 500 10.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; cursor: pointer; }
.mx-fo:hover { border-color: rgba(255,255,255,.6); color: var(--wht); }
.mx-fo[aria-pressed="true"] { background: var(--wht); color: var(--ink); border-color: var(--wht); }
@media (max-width: 759px) { .mx-frow { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.mx-row .where { display: block; margin-top: 3px; font-size: 10px; letter-spacing: .12em; color: rgba(255,255,255,.45); }
.mx-rand { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 1px solid currentColor; background: transparent; padding: 7px 12px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.mx-rand svg { width: 15px; height: 15px; }
.mx-rand:hover { background: var(--wht); color: var(--ink); }
.mx.mx--accent .mx-rand:hover { background: #050505; color: var(--accent); }

.mx-rail { grid-area: rail; position: relative; min-height: 0; padding: clamp(16px, 2vw, 24px) clamp(14px, 1.6vw, 20px); border-right: 1px solid var(--line); overflow: hidden; }
.mx-filters { position: relative; z-index: 2; max-width: calc(100% - clamp(56px, 6vw, 84px)); }
.mx-select { display: block; font-size: clamp(11px, .7vw, 13px); letter-spacing: .12em; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.mx-gl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(8px, 1.1vh, 13px); }
.mx-gl button { display: inline-flex; align-items: baseline; gap: 11px; border: 0; background: none; padding: 0; cursor: pointer; text-align: left;
  font-size: clamp(12px, .8vw, 15.5px); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); transition: color .2s; }
.mx-gl .box { width: 11px; height: 11px; flex: none; border: 1px solid rgba(255,255,255,.5); translate: 0 1px; transition: background .2s, border-color .2s; }
.mx-gl { overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; padding-right: 4px; }
.mx-gl::-webkit-scrollbar { display: none; }
.mx-gl.over { -webkit-mask-image: linear-gradient(#000 calc(100% - 38px), rgba(0,0,0,.35)); mask-image: linear-gradient(#000 calc(100% - 38px), rgba(0,0,0,.35)); }
.mx-gl li { transition: opacity .5s; }
.mx-gl button.z { opacity: .35; }
.mx-gl li.cut { animation: mxGlitch .42s steps(1) 1, mxFade .9s .42s forwards; }
.mx-gl li.cut button { animation: mxShift .42s steps(1) 1; }
.mx-gl li.cut.still, .mx-gl li.cut.still button { animation: none; }
.mx-gl li.cut.still { opacity: .22; }
@keyframes mxGlitch { 0% { clip-path: inset(0 0 55% 0); } 20% { clip-path: inset(40% 0 20% 0); } 40% { clip-path: inset(10% 0 60% 0); }
  60% { clip-path: inset(65% 0 0 0); } 80% { clip-path: inset(0 0 25% 0); } 100% { clip-path: none; } }
@keyframes mxShift { 0% { transform: translateX(-3px); text-shadow: 2px 0 #FF2BD6, -2px 0 #2BF0FF; } 20% { transform: translateX(3px); text-shadow: -2px 0 #FF2BD6, 2px 0 #2BF0FF; }
  40% { transform: translateX(-1px); } 60% { transform: translateX(2px); text-shadow: 1px 0 #FEFF00; } 80% { transform: translateX(-2px); } 100% { transform: none; text-shadow: none; } }
@keyframes mxFade { from { opacity: 1; } to { opacity: .22; } }
@media (prefers-reduced-motion: reduce) { .mx-gl li.cut, .mx-gl li.cut button { animation: none; opacity: .22; } }
.mx-gl .c { font-size: 10px; letter-spacing: .04em; color: rgba(255,255,255,.4); }
.mx-gl button:hover, .mx-gl button[aria-pressed="true"] { color: var(--wht); }
.mx-gl button[aria-pressed="true"] .box { background: var(--wht); border-color: var(--wht); }
.mx-native { display: none; }
.mx-native select { width: 100%; max-width: 340px; padding: 11px 40px 11px 14px; border: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--wht);
  font: 13px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.mx-native option { color: #000; }
.mx-word { position: absolute; top: 0; bottom: 0; right: clamp(4px, .6vw, 12px); z-index: 0; margin: 0; display: flex; align-items: center; justify-content: center;
  writing-mode: vertical-rl; transform: rotate(180deg); font: 700 clamp(40px, min(9vh, calc((100dvh - 230px) / var(--chars, 5) / 1.08)), 96px)/.82 var(--f-wide); letter-spacing: .01em; color: var(--wht); pointer-events: none; }
.mx-term { position: absolute; left: clamp(14px, 1.6vw, 20px); bottom: clamp(16px, 2vw, 24px); z-index: 2; font-size: clamp(10px, .62vw, 12px); line-height: 1.55; color: rgba(255,255,255,.42); white-space: pre; }
.mx-term i { display: inline-block; width: .62em; height: 1em; margin-left: 3px; vertical-align: -.12em; background: currentColor; animation: mxCaret 1s steps(1) infinite; }
@keyframes mxCaret { 50% { opacity: 0; } }

.mx-scroll { grid-area: scroll; min-height: 0; overflow-y: auto; overscroll-behavior: contain; container-type: inline-size; padding: 0 clamp(16px, 2.4vw, 36px) clamp(40px, 6vh, 80px); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.mx-top { padding: clamp(14px, 2vw, 24px) 0 14px; font-size: clamp(11px, .7vw, 13px); letter-spacing: .12em; color: rgba(255,255,255,.55); text-transform: uppercase; }
.mx-top b { color: var(--wht); font-weight: 500; }
/* reordering (owner) and the watch-order guide inside a topic */
.mx-acts { display: flex; flex-wrap: wrap; column-gap: 8px; }
.mx-mv { display: inline-flex; gap: 4px; flex: none; }
.mx-mv button { border: 1px solid rgba(255,255,255,.4); background: transparent; color: var(--wht); width: 24px; height: 22px; padding: 0; font-size: 9px; line-height: 1; cursor: pointer; }
.mx-mv button:hover:not(:disabled) { background: var(--wht); color: var(--ink); }
.mx-mv button:disabled { opacity: .25; cursor: default; }
.mx-gl li.mv { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mx-gl .mx-mv { gap: 3px; }
.mx-gl .mx-mv button { display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 1px solid rgba(255,255,255,.4); color: var(--wht); font-size: 8px; letter-spacing: 0; }
.mx-guide .doc ul { counter-reset: wo; list-style: none; padding-left: 0; }
.mx-guide .doc li { counter-increment: wo; position: relative; padding-left: 2.6em; }
.mx-guide .doc li::before { content: counter(wo, decimal-leading-zero); position: absolute; left: 0; top: 0; width: auto; height: auto; background: none; border: 0; border-radius: 0; color: var(--accent); font: 500 .86em/inherit var(--f-mono); letter-spacing: .06em; opacity: .9; }
.mx-card .mx-mv { margin-top: 10px; }
.mx-card .mx-mv button { width: 34px; height: 26px; }
.mx-guide { margin-top: 18px; border-bottom: 1px solid var(--line); }
.mx-guide > summary { padding: 12px 0; font-size: clamp(11px, .7vw, 13px); letter-spacing: .14em; text-transform: uppercase; }
.mx-guide .doc { padding-bottom: 16px; max-width: 78ch; }
/* topic cards */
.mx-track { display: grid; grid-template-columns: 1fr; column-gap: clamp(16px, 1.6vw, 30px); row-gap: clamp(26px, 3vw, 48px); }
@container (min-width: 560px) { .mx-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 1150px) { .mx-track { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mx-card__link { display: grid; width: 100%; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; color: inherit; }
.mx-card__meta { display: flex; justify-content: space-between; gap: 12px; padding: 0 2px 8px; font-size: clamp(10.5px, .68vw, 13px); letter-spacing: .12em; color: rgba(255,255,255,.7); text-transform: uppercase; }
.mx-card__media { position: relative; aspect-ratio: 16 / 7; overflow: hidden; border: 1px solid var(--line); display: grid; place-items: center;
  background: radial-gradient(120% 100% at 30% 0%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 2px, transparent 2px 8px), #0c0c0c; transition: border-color .25s; }
.mx-card__media::after { content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
  background: radial-gradient(circle, rgba(255,255,255,.5) 0 .6px, transparent .8px) 0 0 / 4px 4px; }
.mx-card__ph { font: 700 clamp(30px, 6cqw, 58px)/1 var(--f-wide); letter-spacing: .08em; color: rgba(255,255,255,.13); transition: color .25s; }
.mx-card__code { position: absolute; top: 10px; left: 12px; font-size: 10px; letter-spacing: .2em; color: color-mix(in srgb, var(--accent) 80%, white); }
.mx-card__films { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.mx-card__films span { font-size: 9.5px; letter-spacing: .08em; padding: 2px 5px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.14); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-card__title { margin: clamp(12px, 1.4vw, 18px) 0 8px; font: 700 clamp(20px, 3.4cqw, 34px)/.98 var(--f-wide); text-transform: uppercase; overflow-wrap: anywhere; transition: color .25s; }
.mx-card__ex { margin: 0 0 8px; font-size: clamp(12px, .8vw, 15px); line-height: 1.45; color: rgba(255,255,255,.88); }
.mx-card__arrow { justify-self: end; font-size: 15px; line-height: 1; transition: transform .25s, color .25s; }
.mx-card__link:hover .mx-card__title, .mx-card__link:focus-visible .mx-card__title { color: var(--accent); }
.mx-card__link:hover .mx-card__arrow { color: var(--accent); transform: translate(4px, -4px); }
.mx-card__link:hover .mx-card__media { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.mx-card__link:hover .mx-card__ph { color: color-mix(in srgb, var(--accent) 45%, transparent); }

/* topic view: sticky head with the period slider */
.mx-head { position: sticky; top: 0; z-index: 3; background: var(--ink); padding: clamp(12px, 1.8vw, 20px) 0 0; border-bottom: 1px solid var(--line); }
.mx-crumb { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: clamp(11px, .7vw, 13px); letter-spacing: .12em; color: rgba(255,255,255,.55); text-transform: uppercase; }
.mx-back { border: 1px solid var(--line); background: transparent; padding: 5px 10px; font-size: 11px; letter-spacing: .12em; cursor: pointer; text-transform: uppercase; }
.mx-back:hover { background: var(--wht); color: var(--ink); }
.mx-title { margin: 10px 0 12px; font: 700 clamp(24px, 5cqw, 46px)/.95 var(--f-wide); text-transform: uppercase; overflow-wrap: anywhere; }
.mx-per { position: relative; overflow: hidden; height: clamp(44px, 3vw, 58px); border-top: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.mx-per__track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.22,.9,.24,1); }
.mx-per__it { flex: 0 0 33.3333%; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: none; cursor: pointer;
  font-size: clamp(13px, .85vw, 16px); letter-spacing: .12em; color: rgba(255,255,255,.38); text-transform: uppercase; white-space: nowrap; transition: color .3s; }
.mx-per__it small { font-size: 10px; color: rgba(255,255,255,.35); letter-spacing: .04em; }
.mx-per__it:disabled { cursor: default; opacity: .35; }
.mx-per__it::before, .mx-per__it::after { opacity: 0; transition: opacity .3s, translate .3s; color: var(--accent); }
.mx-per__it::before { content: "<"; translate: 6px 0; } .mx-per__it::after { content: ">"; translate: -6px 0; }
.mx-per__it[aria-selected="true"] { color: var(--wht); }
.mx-per__it[aria-selected="true"]::before, .mx-per__it[aria-selected="true"]::after { opacity: 1; translate: 0 0; }
.mx-per__it[aria-selected="true"] small { color: var(--wht); }
/* film rows (OpenState list) */
.mx-period { scroll-margin-top: var(--headH, 150px); }
.mx-ph { display: flex; align-items: center; gap: 12px; margin: 26px 0 6px; font: 500 clamp(11px, .7vw, 13px)/1 var(--f-mono); letter-spacing: .14em; color: rgba(255,255,255,.55); text-transform: uppercase; }
.mx-ph i { flex: 1; height: 1px; background: var(--line); }
.mx-film { position: relative; }
.mx-film::details-content { block-size: 0; overflow: hidden; transition: block-size .4s cubic-bezier(.22,.9,.24,1), content-visibility .4s allow-discrete; }
.mx-film[open]::details-content { block-size: auto; }
.mx-row { list-style: none; position: relative; cursor: pointer; display: grid; grid-template-columns: 2.4ch minmax(0, 1fr) auto; align-items: center;
  column-gap: clamp(16px, 9cqw, 140px); padding: clamp(11px, .8vw, 15px) 12px clamp(10px, .75vw, 14px); font-size: clamp(13px, .88vw, 16.5px); line-height: 1.25; letter-spacing: .03em; text-transform: uppercase;
  transition: column-gap .45s cubic-bezier(.22,.9,.24,1), background-color .2s; }
.mx-row::-webkit-details-marker { display: none; }
.mx-row::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.mx-row .bar { position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--accent); z-index: 1; transition: width .7s cubic-bezier(.22,.9,.24,1); }
.mx-row:hover { background: rgba(255,255,255,.07); }
.mx-row .no { color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; }
.mx-row .nm { min-width: 0; overflow-wrap: anywhere; text-transform: none; display: flex; align-items: center; gap: clamp(12px, 1vw, 18px); }
.mx-row .nt { min-width: 0; flex: 1; }
/* covers (tools/kapak.py sprite sheets): a 2:3 box, the initial underneath until the poster paints over it */
.cv { position: relative; flex: none; display: grid; place-items: center; width: clamp(30px, 2.1vw, 40px); aspect-ratio: 2 / 3; overflow: hidden;
  background-color: rgba(255,255,255,.06); background-repeat: no-repeat; outline: 1px solid rgba(255,255,255,.14); outline-offset: -1px; }
.cv i { font-style: normal; font-size: 11px; letter-spacing: 0; color: rgba(255,255,255,.35); }
.cv.on i { visibility: hidden; }
.cv.on { background-color: #111; }
.mx-row:hover .cv.on, .mx-film[open] > .mx-row .cv.on { outline-color: var(--accent); }
.mx-sub .mx-row .cv { width: clamp(26px, 1.8vw, 34px); }
.mx-lead { display: grid; grid-template-columns: clamp(120px, 11vw, 190px) minmax(0, 1fr); gap: 16px clamp(18px, 1.6vw, 28px); align-items: start; }
.mx-leadin { display: grid; gap: 16px; min-width: 0; }
.cv-l { width: 100%; box-shadow: 0 14px 36px rgba(0,0,0,.45); }
.cv-l i { font-size: clamp(28px, 3vw, 48px); }
.mx-row .nm .st { color: var(--accent); }
.mx-row .end { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-variant-numeric: tabular-nums; font-size: clamp(12px, .82vw, 15px); }
.mx-row .end .sc { color: rgba(255,255,255,.6); }
.mx-row .ico { width: 12px; height: 12px; border-radius: 2px; background: var(--wht); display: grid; place-items: center; }
.mx-row .ico svg { width: 8px; height: 8px; }
.mx-row .cl { display: none; font-size: 11.5px; letter-spacing: .12em; }
.mx-film[open] > .mx-row { column-gap: 14px; }
.mx-film[open] > .mx-row .no { color: var(--wht); }
.mx-film[open] > .mx-row .bar { width: 100%; }
.mx-film[open] > .mx-row .op { display: none; }
.mx-film[open] > .mx-row .cl { display: inline; }
.mx-film.ping > .mx-row { animation: mxPing 1.8s ease-out 1; }
@keyframes mxPing { 0%, 35% { background: color-mix(in srgb, var(--accent) 28%, transparent); } 100% { background: transparent; } }
.mx-body { padding: 14px 12px 24px calc(2.4ch + 26px); display: grid; gap: 16px; border-bottom: 1px solid var(--line); font-size: clamp(13px, .85vw, 15.5px); line-height: 1.6; color: rgba(255,255,255,.88); max-width: 96ch; }
.mx-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px 18px; margin: 0; }
.mx-facts dt { font-size: 10px; letter-spacing: .14em; color: rgba(255,255,255,.45); text-transform: uppercase; }
.mx-facts dd { margin: 2px 0 0; color: var(--wht); }
.mx-sec h5 { margin: 0 0 4px; font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .14em; color: rgba(255,255,255,.45); text-transform: uppercase; }
.mx-sec p { margin: 0; }
.mx-trn { font-size: .8em; color: rgba(255,255,255,.45); letter-spacing: .04em; }
.mx-sec .mine { border-left: 1px solid var(--accent); padding-left: 10px; font-style: italic; color: var(--wht); }
.mx-notes .mine + .mine { margin-top: 8px; }
.mx-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mx-tags span { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line); padding: 3px 7px; color: rgba(255,255,255,.75); }
.mx-tags span.g { border-color: var(--wht); color: var(--wht); }
.mx .ctl { border: 1px solid var(--line); border-radius: 0; background: transparent; padding: 10px 12px; display: grid; }
.mx .rate { color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.mx .rate input { accent-color: var(--wht); }
.mx .rate .rv { font: 500 13px/1 var(--f-mono); color: var(--wht); }
.mx .mini, .mx .favBtn { border-radius: 0; font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: 8px 11px; }
.mx .mini { background: var(--wht); color: var(--ink); border-color: var(--wht); }
.mx .mini.ghost { background: transparent; color: rgba(255,255,255,.65); border-color: var(--line); }
.mx .favBtn { color: var(--wht); border-color: var(--line); }
.mx .favBtn[aria-pressed="true"] { background: var(--wht); color: var(--ink); }
.mx .ctlMsg { color: rgba(255,255,255,.5); font-size: 11px; }
.mx-det { border-top: 1px solid var(--line); }
.mx-det::details-content { block-size: 0; overflow: hidden; transition: block-size .4s cubic-bezier(.22,.9,.24,1), content-visibility .4s allow-discrete; }
.mx-det[open]::details-content { block-size: auto; }
.mx-det > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0 6px;
  font: 700 13px/1 var(--f-wide); letter-spacing: .06em; text-transform: uppercase; }
.mx-det > summary::-webkit-details-marker { display: none; }
.mx-det > summary .pm { font: 400 18px/1 var(--f-mono); transition: rotate .3s; }
.mx-det[open] > summary .pm { rotate: 45deg; }
.mx-det > summary:hover { color: var(--accent); }
/* the Notion review, in the section's own type */
.mx .doc { border-top: 0; padding-top: 6px; gap: 9px; font: clamp(13px, .85vw, 15.5px)/1.65 var(--f-mono); }
.mx .doc h5 { margin: 14px 0 0; font: 700 13px/1.3 var(--f-wide); letter-spacing: .04em; text-transform: uppercase; color: var(--wht); }
.mx .doc h6 { margin: 8px 0 0; font: 700 12px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.mx .doc p, .mx .doc li { color: rgba(255,255,255,.86); }
.mx .doc strong { color: var(--wht); }
.mx .doc hr { border-top-color: var(--line); }
.mx .doc blockquote { border-left-color: var(--accent); color: rgba(255,255,255,.6); }
.mx .doc li .sub2 { color: rgba(255,255,255,.55); font-size: 12.5px; }
.mx .doc .tag { border-radius: 0; border-color: var(--line); color: rgba(255,255,255,.8); }
.mx .doc .spoil, .mx .doc .preview { color: var(--accent); border-radius: 0; }
/* the review's own marks (they replace the emoji in Notion's text): 1.5px line, square ends, accent colour */
.doc .ic { width: 1.05em; height: 1.05em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; vertical-align: -.16em; }
.doc .ic .f { fill: currentColor; stroke: none; }
.doc h5.mk { display: flex; align-items: center; gap: .6em; }
.doc h5.mk .ic { color: var(--accent); width: 1.15em; height: 1.15em; }
.doc li.mk { list-style: none; position: relative; }
.doc li.mk > .ic:first-child { position: absolute; left: -1.45em; top: .3em; width: .95em; height: .95em; color: var(--accent); }
.doc li.mk.minus > .ic:first-child { color: rgba(255,255,255,.5); }
.doc p.mk { display: flex; gap: .55em; align-items: baseline; }
.doc p.mk > .ic { color: var(--accent); align-self: center; }
.doc .spoil .ic { margin-right: .5em; }
.mx .links a, .mx .doc a { color: var(--accent); }
.mx .loading { color: rgba(255,255,255,.55); font-size: 12px; }
/* "⇢ Bağlantılı İçerikler": a title already in the archive is a link to its record; hovering it springs up its card
   (21st.dev link-preview: scale + tilt in, follows the pointer sideways) */
.mx .doc .rel { all: unset; display: inline; cursor: pointer; color: var(--wht); text-decoration: underline dotted color-mix(in srgb, var(--accent) 80%, transparent);
  text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .2s; }
.mx .doc .rel:hover, .mx .doc .rel:focus-visible, .mx .doc .rel.hot { color: var(--accent); text-decoration-style: solid; }
.mx .doc .rel:focus-visible { outline: 1px solid var(--wht); outline-offset: 3px; }
.mx .doc .rel strong { color: inherit; }
.mx .doc .rel .rel-ic { width: .78em; height: .78em; margin-left: .32em; vertical-align: .04em; color: var(--accent); }
.rel-pv { position: fixed; left: 0; top: 0; z-index: 40; width: min(340px, calc(100vw - 16px)); pointer-events: none; perspective: 900px; font-family: var(--f-mono); }
.rel-pv__card { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 10px; background: #0d0d0d; color: var(--wht);
  border: 1px solid color-mix(in srgb, var(--accent) 55%, rgba(255,255,255,.18)); box-shadow: 0 26px 60px rgba(0,0,0,.65), 0 0 0 1px rgba(0,0,0,.7);
  transform-origin: 50% 100%; opacity: 0; transform: translate3d(var(--dx, 0px), 16px, 0) scale(.6) rotateX(22deg);
  transition: opacity .16s ease-out, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.rel-pv[data-side="bottom"] .rel-pv__card { transform-origin: 50% 0; transform: translate3d(var(--dx, 0px), -16px, 0) scale(.6) rotateX(-22deg); }
.rel-pv.on .rel-pv__card { opacity: 1; transform: translate3d(var(--dx, 0px), 0, 0) scale(1) rotateX(0deg); }
.rel-pv .cv { width: 100%; box-shadow: none; }
.rel-pv .cv i { font-size: 30px; }
.rel-pv__txt { display: grid; gap: 5px; align-content: start; min-width: 0; }
.rel-pv__path { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.rel-pv__name { font: 700 12.5px/1.2 var(--f-wide); letter-spacing: .03em; overflow-wrap: anywhere; }
.rel-pv__meta { font-size: 11px; letter-spacing: .06em; color: rgba(255,255,255,.65); font-variant-numeric: tabular-nums; }
.rel-pv__ls { justify-self: start; font-size: 9.5px; letter-spacing: .16em; padding: 2px 6px; border: 1px solid var(--accent); color: var(--accent); }
.rel-pv__ls[data-ls="w"] { border-style: dashed; }
.rel-pv__txt p { margin: 0; font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,.78); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rel-pv__go { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 480px) { .rel-pv__card { grid-template-columns: 84px minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .rel-pv__card, .rel-pv[data-side="bottom"] .rel-pv__card, .rel-pv.on .rel-pv__card { transform: none; transition: opacity .12s; } }
/* series tree: a series row opens onto its films / seasons, each a full row of its own */
.mx-kids { border-top: 1px solid var(--line); padding-top: 10px; }
.mx-sub { margin-left: -6px; border-left: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.mx-sub .mx-row { font-size: clamp(12.5px, .82vw, 15.5px); padding-left: 10px; }
.mx-sub .mx-body { padding-left: 18px; }
.mx-row .kids { display: inline-block; margin-left: 10px; font-size: 10px; letter-spacing: .12em; padding: 2px 6px; border: 1px solid var(--line); color: rgba(255,255,255,.7); vertical-align: 2px; }
.mx-row .wait { display: inline-block; margin-left: 10px; font-size: 10px; letter-spacing: .12em; color: var(--accent); }
/* add a record (owner only): the button under the genres, the form in the right pane */
.mx-addbtn { margin-top: 14px; border: 1px solid rgba(255,255,255,.5); background: transparent; padding: 7px 12px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; color: var(--wht); }
.mx-addbtn:hover, .mx-addbtn[aria-pressed="true"] { background: var(--wht); color: var(--ink); }
.mx-form { display: grid; gap: 18px; max-width: 62ch; padding: 18px 0 40px; }
.mx-form label, .mx-form fieldset { display: grid; gap: 6px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); border: 0; margin: 0; padding: 0; }
.mx-form input { border: 0; border-bottom: 1px solid rgba(255,255,255,.4); background: transparent; color: var(--wht); font: 14px var(--f-mono); padding: 6px 0; outline: 0; text-transform: none; letter-spacing: .02em; }
.mx-form input:focus { border-bottom-color: var(--wht); }
.mx-form .mx-seg { flex: none; width: max-content; max-width: 100%; flex-wrap: wrap; }
.mx-form .chipsel { display: flex; flex-wrap: wrap; gap: 6px; }
.mx-form .chipsel button { border: 1px solid var(--line); background: transparent; padding: 5px 9px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; color: rgba(255,255,255,.7); }
.mx-form .chipsel button[aria-pressed="true"] { background: var(--wht); color: var(--ink); border-color: var(--wht); }
.mx-form .hint { margin: 0; font-size: 12px; letter-spacing: .02em; text-transform: none; color: rgba(255,255,255,.55); line-height: 1.5; }
.mx-form .go2 { justify-self: start; border: 1px solid var(--wht); background: var(--wht); color: var(--ink); padding: 9px 16px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.mx-form .go2:disabled { opacity: .4; cursor: default; }
.mx-form .msg { margin: 0; font-size: 12px; text-transform: none; letter-spacing: .02em; color: var(--accent); min-height: 1.2em; }
.mx-empty { padding: 30px 0; color: rgba(255,255,255,.55); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 759px) {
  .mx { height: auto; min-height: 100dvh; overflow: clip; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; grid-template-areas: "nav" "strip" "rail" "scroll"; }
  .mx-meta { gap: 8px 12px; }
  .mx-desc, .mx-rule, .mx-stars { display: none; }
  .mx-ready { flex: 1 1 auto; min-width: 0; }
  .mx-strip { justify-content: space-between; }
  .mx-rail { border-right: 0; overflow: visible; padding-bottom: 6px; display: grid; gap: 12px; }
  .mx-word { position: static; writing-mode: horizontal-tb; transform: none; justify-content: flex-start; font-size: clamp(40px, 15vw, 92px); line-height: .9; }
  .mx-filters { max-width: none; }
  .mx-word { order: -1; font-size: min(15vw, calc((100vw - 64px) / var(--chars, 5) / 1.12)); }
  .mx-per__it { font-size: 11.5px; letter-spacing: .05em; gap: 5px; }
  .mx-gl, .mx-term { display: none; }
  .mx-native { display: block; }
  .mx-scroll { overflow: visible; padding-inline: 14px; }
  .mx-head { top: env(safe-area-inset-top, 0px); }
  .mx-row { padding-inline: 4px; }
  .mx-body { padding: 12px 4px 22px; }
  .mx-lead { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .mx-per__track, .mx-row, .mx-row .bar, .mx-film::details-content, .mx-det::details-content { transition: none; }
  .mx-term i, .mx-film.ping > .mx-row { animation: none; }
}
@media (max-width: 480px) {
  .tool span, .seg button { font-size: 12px; } .seg button { padding: 7px 8px; } .tool { padding: 7px 8px; }
  .review { padding-left: 4px; }
}
