/* Lurox — "Makara" interface (film + dizi): modern streaming-app layout.
   Fixed icon sidebar, sticky search bar, rounded hero card with a muted background trailer,
   horizontal rows, right trend panel. Colours come from Tema Ayarları (--accent, --accent-2, --bg, --panel). */

html:root {
	--text: #f2f3f7;
	--muted: #a0a5b5;
	--dim: #6c7182;
	--line: rgba(255, 255, 255, .07);
	--line-2: rgba(255, 255, 255, .13);
	--s1: var(--panel);
	--s2: color-mix(in srgb, var(--panel) 88%, #fff);
	--s3: color-mix(in srgb, var(--panel) 78%, #fff);
	--grad: linear-gradient(135deg, var(--accent), var(--accent-2));
	--glow: 0 12px 34px -12px rgba(var(--accent-rgb), .75);
	--shadow: 0 24px 60px -24px rgba(0, 0, 0, .9);
	--gold: #f5c518;
	--r-lg: 24px;
	--r: 14px;
	--r-sm: 10px;
	--side-w: 84px;
	--side-wx: 240px;
	--top-h: 76px;
	--panel-w: 330px;
	--pad: clamp(16px, 2.4vw, 34px);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-display: "Sora", "Inter", system-ui, sans-serif;
	--ease: cubic-bezier(.2, .8, .2, 1);
}

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(900px 520px at 12% -8%, rgba(var(--accent-rgb), .13), transparent 70%), radial-gradient(800px 600px at 105% 10%, rgba(var(--accent-2-rgb), .07), transparent 70%); }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(var(--accent-rgb), .45); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 10px; left: 10px; width: auto; height: auto; clip: auto; z-index: 999; padding: 10px 16px; background: var(--accent); color: #fff; border-radius: 10px; }
.ikon { width: 1.15em; height: 1.15em; flex: none; }
[hidden] { display: none !important; }
body.locked { overflow: hidden; }
.reklam { display: flex; justify-content: center; margin: 0 0 24px; }
kbd { font: 600 11px/1 var(--font); padding: 4px 7px; border-radius: 6px; background: var(--s2); border: 1px solid var(--line-2); color: var(--muted); }
.mk-muted { color: var(--muted); }
.mk-center { text-align: center; margin-top: 18px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--s3); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

/* ========== Buttons ========== */
.mk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; box-shadow: var(--glow); transition: transform .2s var(--ease), filter .2s, box-shadow .2s; }
.mk-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.mk-btn .ikon { width: 18px; height: 18px; }
.mk-btn-lg { height: 52px; padding: 0 28px; font-size: 15px; border-radius: 14px; }
.mk-btn-glass { background: rgba(255, 255, 255, .12); box-shadow: none; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .14); }
.mk-btn-glass:hover { background: rgba(255, 255, 255, .2); }
.mk-btn-ghost { background: var(--s1); border: 1px solid var(--line-2); box-shadow: none; }
.mk-btn-ghost:hover { background: var(--s2); }
.mk-icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--s1); border: 1px solid var(--line); color: var(--text); flex: none; transition: background .2s, transform .2s, color .2s; }
.mk-icon-btn:hover { background: var(--s2); }
.mk-icon-btn .ikon { width: 19px; height: 19px; }
.mk-icon-lg { width: 52px; height: 52px; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-round .i-on, .btn-round.on .i-off { display: none; }
.btn-round.on .i-on { display: inline; }
.btn-round.on { background: var(--grad); border-color: transparent; color: #fff; }
.mk-more { margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--accent); }

/* ========== Logo ========== */
.mk-logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.mk-logo.is-img img { max-height: 40px; width: auto; }
.mk-mark { position: relative; width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 13px; background: var(--grad); box-shadow: var(--glow); }
.mk-mark svg { width: 22px; height: 22px; margin-left: 2px; }
.mk-mark-tri { fill: #fff; stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; }
.mk-logo-t { font: 800 21px/1 var(--font-display); letter-spacing: -.03em; white-space: nowrap; }
.mk-logo-t b { margin-left: 5px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-anim-always .mk-mark, .mk-anim-session .mk-mark { animation: mkMark .9s var(--ease) both; }
.mk-anim-always .mk-mark-tri, .mk-anim-session .mk-mark-tri { stroke-dasharray: 60; animation: mkDraw 1.2s ease .25s both; }
.mk-anim-always .mk-logo-t, .mk-anim-session .mk-logo-t { animation: mkFadeX .7s var(--ease) .45s both; }
html.logo-seen .mk-anim-session .mk-mark, html.logo-seen .mk-anim-session .mk-mark-tri, html.logo-seen .mk-anim-session .mk-logo-t { animation: none; }
.mk-anim-hover:hover .mk-mark { animation: mkMark .7s var(--ease); }
.mk-logo:hover .mk-mark::after { opacity: 1; }
.mk-mark::after { content: ""; position: absolute; inset: -4px; border-radius: 16px; border: 2px solid rgba(var(--accent-rgb), .5); opacity: 0; transition: opacity .3s; }
@keyframes mkMark { 0% { transform: scale(.4) rotate(-25deg); opacity: 0; } 60% { transform: scale(1.08) rotate(4deg); opacity: 1; } 100% { transform: none; } }
@keyframes mkDraw { 0% { stroke-dashoffset: 60; fill: transparent; } 70% { stroke-dashoffset: 0; fill: transparent; } 100% { stroke-dashoffset: 0; fill: #fff; } }
@keyframes mkFadeX { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

/* ========== App shell: sidebar ========== */
.mk-side { position: fixed; z-index: 80; left: 0; top: 0; bottom: 0; width: var(--side-w); display: flex; flex-direction: column; gap: 18px; padding: 18px 14px; background: color-mix(in srgb, var(--bg) 82%, #000); border-right: 1px solid var(--line); overflow: hidden; transition: width .35s var(--ease), box-shadow .35s; }
body.mk-side-expand .mk-side:hover { width: var(--side-wx); box-shadow: 30px 0 60px -20px rgba(0, 0, 0, .8); }
.mk-side-top { height: 48px; display: flex; align-items: center; padding-left: 7px; }
.mk-side .mk-logo-t { opacity: 0; transition: opacity .25s; }
body.mk-side-expand .mk-side:hover .mk-logo-t { opacity: 1; }
.mk-side-nav, .mk-side-bottom { display: grid; gap: 4px; }
.mk-side-bottom { margin-top: auto; }
.mk-side-nav a, .mk-side-bottom a { position: relative; display: flex; align-items: center; gap: 16px; height: 50px; padding: 0 17px; border-radius: 14px; color: var(--muted); font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: background .2s, color .2s; }
.mk-side-nav a .ikon, .mk-side-bottom a .ikon { width: 22px; height: 22px; }
.mk-side-nav a span, .mk-side-bottom a span { opacity: 0; transition: opacity .2s; }
body.mk-side-expand .mk-side:hover a span { opacity: 1; }
.mk-side-nav a:hover, .mk-side-bottom a:hover { background: var(--s1); color: var(--text); }
.mk-side-nav a.on { background: rgba(var(--accent-rgb), .14); color: #fff; }
.mk-side-nav a.on .ikon { color: var(--accent); }
.mk-side-nav a.on::before { content: ""; position: absolute; left: -14px; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0; background: var(--grad); }
.mk-side-sep { display: block; height: 1px; margin: 10px 12px; background: var(--line); }
.mk-side a[data-tip]::after { content: none; }

.mk-app { min-height: 100vh; }
.mk-main { margin-left: var(--side-w); min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }

/* Top bar */
.mk-notice { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px var(--pad); background: rgba(var(--accent-rgb), .14); color: #fff; font-size: 13.5px; font-weight: 600; }
.mk-notice .ikon { color: var(--accent); }
.mk-top { position: sticky; top: 0; z-index: 70; display: flex; align-items: center; gap: 16px; height: var(--top-h); padding: 0 var(--pad); background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.mk-top.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); }
.mk-top-logo { display: none; }
.mk-search { position: relative; flex: 1; max-width: 640px; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 12px 0 18px; border-radius: 99px; background: var(--s1); border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s, background .2s; }
.mk-search > .ikon { width: 19px; height: 19px; color: var(--muted); }
.mk-search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-size: 14.5px; }
.mk-search input::placeholder { color: var(--dim); }
.mk-search input::-webkit-search-cancel-button { display: none; }
.mk-search:focus-within { border-color: rgba(var(--accent-rgb), .7); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .15); background: var(--s2); }
.mk-search:focus-within kbd { display: none; }
.mk-search-res { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 5; max-height: 70vh; overflow-y: auto; padding: 8px; border-radius: 20px; background: var(--s1); border: 1px solid var(--line-2); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s var(--ease); }
.mk-search-res.open { opacity: 1; visibility: visible; transform: none; }
.mk-search-res a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; }
.mk-search-res a:hover, .mk-search-res a.sel { background: var(--s2); }
.mk-search-res img { width: 42px; height: 63px; object-fit: cover; border-radius: 8px; flex: none; background: var(--s2); }
.mk-search-res b { display: block; font-size: 14.5px; font-weight: 600; }
.mk-search-res small { font-size: 12.5px; color: var(--muted); }
.mk-search-res .mk-sr-all { justify-content: center; font-size: 13.5px; font-weight: 700; color: var(--accent); }
.mk-search-res .mk-sr-none { padding: 18px; text-align: center; color: var(--muted); margin: 0; }
.mk-top-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.mk-search-m { display: none; }
.mk-acct { position: relative; }
.mk-acct-btn { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 12px 0 5px; border-radius: 99px; background: var(--s1); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.mk-acct-btn .ikon { width: 16px; height: 16px; color: var(--muted); }
.mk-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--c, var(--accent)); color: #fff; font-weight: 800; font-size: 14px; flex: none; }
.dd { position: absolute; z-index: 90; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); }
[data-dd].open > .dd { opacity: 1; visibility: visible; transform: none; }
.mk-menu { right: 0; top: calc(100% + 10px); width: 240px; padding: 8px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.mk-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 500; }
.mk-menu a .ikon { width: 18px; height: 18px; color: var(--muted); }
.mk-menu a:hover { background: var(--s2); }

.mk-content { flex: 1; padding: 6px var(--pad) 30px; min-width: 0; }

/* ========== Home layout ========== */
.mk-home.has-panel { display: grid; grid-template-columns: minmax(0, 1fr) var(--panel-w); gap: 30px; align-items: start; }
.mk-home-main { min-width: 0; }

/* Hero card */
.mk-hero { position: relative; height: clamp(440px, 58vh, 620px); margin-bottom: 38px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; background: #000; box-shadow: var(--shadow); }
.mk-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.mk-slide.on { opacity: 1; visibility: visible; }
.mk-slide-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.mk-slide-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 10s linear; }
.mk-slide.on .mk-slide-bg img { transform: scale(1); }
.mk-slide-video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.mk-slide-video.ready { opacity: 1; }
.mk-slide-video iframe { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; border: 0; transform: translate(-50%, -50%) scale(1.36); }
.mk-slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--bg-rgb), .96) 0%, rgba(var(--bg-rgb), .72) 34%, rgba(var(--bg-rgb), .1) 66%, transparent), linear-gradient(0deg, rgba(var(--bg-rgb), .9), transparent 42%); }
.mk-slide-in { position: absolute; left: clamp(22px, 4vw, 52px); bottom: clamp(26px, 4.4vw, 54px); max-width: min(560px, 62%); }
.mk-slide.on .mk-slide-in > * { animation: mkUp .8s var(--ease) both; }
.mk-slide.on .mk-slide-in > *:nth-child(2) { animation-delay: .08s; }
.mk-slide.on .mk-slide-in > *:nth-child(3) { animation-delay: .16s; }
.mk-slide.on .mk-slide-in > *:nth-child(4) { animation-delay: .24s; }
.mk-slide.on .mk-slide-in > *:nth-child(5) { animation-delay: .32s; }
@keyframes mkUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.mk-kick { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; background: rgba(var(--accent-rgb), .18); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.mk-kick .ikon { width: 15px; height: 15px; color: var(--accent); }
.mk-slide-t { margin: 16px 0 14px; font-size: clamp(32px, 4vw, 58px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.mk-slide-logo { max-height: clamp(70px, 10vw, 130px); max-width: min(440px, 100%); width: auto; object-fit: contain; object-position: left bottom; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .6)); }
.mk-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.mk-chips span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 8px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 12.5px; font-weight: 600; color: #fff; }
.mk-chips .mk-chip-imdb { background: var(--gold); color: #111; font-weight: 800; }
.mk-chips .mk-chip-imdb b { font-size: 10.5px; letter-spacing: .04em; }
.mk-chips .mk-chip-line { background: transparent; border: 1px solid rgba(255, 255, 255, .35); }
.mk-slide-p { margin: 16px 0 0; max-width: 520px; color: rgba(255, 255, 255, .8); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.mk-thumbs { position: absolute; right: 22px; bottom: 22px; z-index: 3; display: flex; gap: 10px; }
.mk-thumbs button { position: relative; width: 108px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 2px solid transparent; opacity: .55; transition: opacity .25s, border-color .25s, transform .25s; box-shadow: 0 10px 24px -10px #000; }
.mk-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.mk-thumbs button:hover { opacity: .9; transform: translateY(-3px); }
.mk-thumbs button.on { opacity: 1; border-color: #fff; }
.mk-thumbs button i { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.mk-thumbs button.on i { animation: mkFill var(--dur, 9s) linear forwards; }
.mk-hero.paused .mk-thumbs button.on i, .mk-hero.has-video .mk-thumbs button.on i { animation-play-state: paused; }
.mk-hero.no-auto .mk-thumbs button.on i { animation: none; transform: none; }
@keyframes mkFill { to { transform: none; } }
.mk-hero-sound { position: absolute; top: 20px; right: 20px; z-index: 3; background: rgba(0, 0, 0, .45); border-color: rgba(255, 255, 255, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mk-hero-sound .s-on, .mk-hero-sound[aria-pressed="true"] .s-off { display: none; }
.mk-hero-sound[aria-pressed="true"] .s-on { display: inline; }

/* Rows */
.mk-row { margin-bottom: 38px; min-width: 0; }
.mk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.mk-head h2 { font-size: 21px; font-weight: 700; }
.mk-head-t p { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.mk-head-r { display: flex; align-items: center; gap: 8px; }
.mk-all { display: inline-flex; align-items: center; gap: 2px; margin-right: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.mk-all .ikon { width: 16px; height: 16px; }
.mk-all:hover { color: var(--accent); }
.mk-arrow { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--s1); border: 1px solid var(--line); transition: background .2s, opacity .2s; }
.mk-arrow:hover { background: var(--s2); }
.mk-arrow:disabled { opacity: .3; cursor: default; }
.mk-arrow .ikon { width: 18px; height: 18px; }
.mk-track { display: grid; grid-auto-flow: column; grid-auto-columns: var(--cw, 178px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 4px 10px; margin: -4px -4px 0; cursor: grab; }
.mk-track::-webkit-scrollbar { display: none; }
.mk-track > * { scroll-snap-align: start; min-width: 0; }
.mk-row-wide .mk-track { --cw: 300px; }
.mk-row-top .mk-track { --cw: 214px; gap: 14px; }

/* Poster card */
.mk-card { position: relative; min-width: 0; }
.mk-card-a { display: block; }
.mk-card-img { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: var(--r); overflow: hidden; background: var(--s1); box-shadow: 0 14px 30px -18px #000; transition: transform .35s var(--ease), box-shadow .35s; }
.mk-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mk-card:hover .mk-card-img { transform: translateY(-5px); box-shadow: 0 22px 40px -18px #000, 0 0 0 2px rgba(var(--accent-rgb), .6); }
.mk-card:hover .mk-card-img img { transform: scale(1.06); }
.mk-tags { position: absolute; left: 8px; top: 8px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.mk-tags i { padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 700 10.5px/1.3 var(--font); font-style: normal; letter-spacing: .03em; text-transform: uppercase; color: #fff; }
.mk-tags i.t-acc { background: var(--grad); }
.mk-score { position: absolute; left: 8px; bottom: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 7px; background: rgba(0, 0, 0, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12px; font-weight: 700; }
.mk-score .ikon { width: 12px; height: 12px; color: var(--gold); }
.mk-card-hover { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .15) 60%); opacity: 0; transition: opacity .3s; }
.mk-card:hover .mk-card-hover { opacity: 1; }
.mk-play { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: var(--glow); transform: scale(.7); transition: transform .3s var(--ease); }
.mk-play .ikon { width: 20px; height: 20px; margin-left: 3px; }
.mk-card:hover .mk-play, .mk-wide:hover .mk-play { transform: scale(1); }
.mk-card-meta { position: absolute; left: 10px; right: 10px; bottom: 36px; font-size: 11.5px; font-weight: 600; color: rgba(255, 255, 255, .85); text-align: center; }
.mk-card-t { display: block; margin-top: 11px; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-card:hover .mk-card-t, .mk-wide:hover .mk-card-t { color: var(--accent); }
.mk-card-s { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-quick { position: absolute; top: 8px; right: 8px; z-index: 3; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; opacity: 0; transform: scale(.8); transition: .25s var(--ease); }
.mk-quick .ikon { width: 16px; height: 16px; }
.mk-card:hover .mk-quick, .mk-quick.on, .mk-quick:focus-visible { opacity: 1; transform: none; }
.mk-quick:hover { background: var(--accent); }
.mk-rank { position: absolute; top: 8px; right: 8px; z-index: 2; padding: 3px 9px; border-radius: 8px; background: var(--grad); font: 800 12.5px/1.4 var(--font-display); }
.has-rank .mk-quick { top: 40px; }
.mk-row-top .mk-card { padding-left: 44px; }
.mk-row-top .mk-rank { top: auto; right: auto; left: -50px; bottom: -6px; padding: 0; background: none; font: 800 112px/1 var(--font-display); letter-spacing: -.08em; color: var(--bg); -webkit-text-stroke: 2px rgba(255, 255, 255, .55); z-index: 0; }
.mk-row-top .mk-card-img { overflow: visible; }
.mk-row-top .mk-card-img img, .mk-row-top .mk-card-hover { border-radius: var(--r); }
.mk-row-top .mk-card-img { background: none; box-shadow: none; }
.mk-row-top .mk-card-img img { position: relative; z-index: 1; box-shadow: 0 14px 30px -18px #000; }
.mk-row-top .mk-card-hover, .mk-row-top .mk-tags, .mk-row-top .mk-score, .mk-row-top .wcard-bar { z-index: 2; }
.mk-row-top .mk-card:hover .mk-rank { -webkit-text-stroke-color: var(--accent); }
.mk-row-top .mk-card:hover .mk-card-img { transform: none; box-shadow: none; }
.mk-row-top .mk-card:hover .mk-card-img img { transform: translateY(-5px); }

/* Landscape card */
.mk-wide { display: block; min-width: 0; }
.mk-wide-img { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--s1); }
.mk-wide-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mk-wide-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 55%); }
.mk-wide .mk-play { position: relative; z-index: 2; opacity: 0; transition: opacity .3s, transform .3s var(--ease); }
.mk-wide:hover .mk-play { opacity: 1; }
.mk-wide:hover .mk-wide-img img { transform: scale(1.05); }
.mk-wide-l { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 3px 8px; border-radius: 6px; background: var(--grad); font-size: 11px; font-weight: 700; }
.wcard-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 4px; background: rgba(255, 255, 255, .22); display: none; }
.wcard-bar i { display: block; height: 100%; width: var(--p, 0%); background: var(--grad); }
.wcard-bar.has { display: block; }
.cw-item { position: relative; min-width: 0; }
.wcard-rm { position: absolute; right: 8px; top: 8px; z-index: 4; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .7); color: #fff; opacity: 0; transition: opacity .2s; }
.wcard-rm .ikon { width: 13px; height: 13px; }
.cw-item:hover .wcard-rm, .cw-item:focus-within .wcard-rm { opacity: 1; }

/* Genre tiles */
.mk-genres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mk-genre { position: relative; aspect-ratio: 16 / 8; border-radius: var(--r); overflow: hidden; isolation: isolate; background: linear-gradient(135deg, var(--g1), var(--g2)); }
.mk-genre img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .4; mix-blend-mode: luminosity; transition: transform .6s var(--ease), opacity .3s; }
.mk-genre::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, color-mix(in srgb, var(--g1) 70%, transparent), transparent 70%); }
.mk-genre span { position: absolute; left: 16px; bottom: 13px; display: grid; }
.mk-genre b { font: 700 18px/1.2 var(--font-display); text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.mk-genre small { font-size: 12px; color: rgba(255, 255, 255, .75); }
.mk-genre:hover img { transform: scale(1.08); opacity: .6; }

/* Collections */
.mk-coll { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--s1); }
.mk-coll img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mk-coll::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .1) 65%); }
.mk-coll span { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; display: grid; gap: 2px; }
.mk-coll small { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.mk-coll small .ikon { width: 13px; height: 13px; }
.mk-coll b { font: 700 16.5px/1.25 var(--font-display); }
.mk-coll:hover img { transform: scale(1.06); }
.mk-colls { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.mk-row .mk-track .mk-coll { width: 100%; }
.mk-row .mk-track:has(.mk-coll) { --cw: 300px; }

/* About */
.mk-about { padding: 26px 28px; border-radius: 20px; background: var(--s1); border: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.mk-about h2 { margin-bottom: 10px; font-size: 19px; color: var(--text); }
.mk-about a { color: var(--accent); }
.mk-about p:last-child { margin: 0; }

/* Right panel */
.mk-panel { position: sticky; top: calc(var(--top-h) + 10px); display: grid; gap: 18px; }
.mk-box { padding: 16px; border-radius: 20px; background: var(--s1); border: 1px solid var(--line); }
.mk-box-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.mk-box-h h3 { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 700; }
.mk-box-h h3 .ikon { width: 18px; height: 18px; color: var(--accent); }
.mk-box-h a { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.mk-box-h a:hover { color: var(--accent); }
.mk-trend { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mk-trend a { display: grid; grid-template-columns: 26px 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 7px; border-radius: 14px; transition: background .2s; }
.mk-trend a:hover { background: var(--s2); }
.mk-trend-n { font: 800 20px/1 var(--font-display); color: var(--dim); text-align: center; }
.mk-trend li:nth-child(-n+3) .mk-trend-n { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-trend img { width: 42px; height: 63px; object-fit: cover; border-radius: 8px; }
.mk-trend-t { display: grid; min-width: 0; }
.mk-trend-t b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-trend-t small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-trend-s { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; }
.mk-trend-s .ikon { width: 12px; height: 12px; color: var(--gold); }
.mk-random-card { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; border-radius: 20px; text-align: left; background: linear-gradient(135deg, rgba(var(--accent-rgb), .26), rgba(var(--accent-2-rgb), .1)); border: 1px solid rgba(var(--accent-rgb), .3); transition: transform .25s var(--ease), border-color .25s; }
.mk-random-card:hover { transform: translateY(-2px); border-color: rgba(var(--accent-rgb), .6); }
.mk-random-card > span:nth-child(2) { flex: 1; display: grid; }
.mk-random-card b { font: 700 15.5px var(--font-display); }
.mk-random-card small { font-size: 12.5px; color: var(--muted); }
.mk-random-card > .ikon { width: 18px; height: 18px; color: var(--accent); }
.mk-random-i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--grad); box-shadow: var(--glow); }
.mk-random-i .ikon { width: 22px; height: 22px; }
.mk-random-card.spin .mk-random-i .ikon { animation: mkSpin .6s linear infinite; }
@keyframes mkSpin { to { transform: rotate(360deg); } }
.mk-chipset { display: flex; flex-wrap: wrap; gap: 7px; }
.mk-chipset a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: var(--s2); font-size: 13px; font-weight: 600; transition: background .2s, color .2s; }
.mk-chipset a small { font-size: 11px; color: var(--muted); }
.mk-chipset a:hover { background: rgba(var(--accent-rgb), .2); color: #fff; }
.mk-soon { display: grid; gap: 10px; }
.mk-soon a { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px; }
.mk-soon img { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.mk-soon span { display: grid; min-width: 0; }
.mk-soon b { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-soon small { font-size: 12px; color: var(--accent); }

/* ========== Film page ========== */
.mk-film-hero { position: relative; margin-bottom: 30px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; box-shadow: var(--shadow); }
.mk-film-bg { position: absolute; inset: 0; z-index: -2; }
.mk-film-bg img { width: 100%; height: 100%; object-fit: cover; animation: mkZoom 14s ease-out both; }
@keyframes mkZoom { from { transform: scale(1.12); } to { transform: none; } }
.mk-film-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--bg-rgb), .97) 0%, rgba(var(--bg-rgb), .82) 45%, rgba(var(--bg-rgb), .55) 100%), linear-gradient(0deg, rgba(var(--bg-rgb), .85), transparent 50%); }
.mk-film-in { display: grid; grid-template-columns: 230px minmax(0, 1fr) 200px; gap: clamp(22px, 3vw, 40px); align-items: end; min-height: 480px; padding: clamp(22px, 3.4vw, 44px); }
.mk-film-poster { position: relative; align-self: center; }
.mk-film-poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 60px -20px #000, 0 0 0 1px rgba(255, 255, 255, .08); animation: mkUp .8s var(--ease) both; }
.mk-poster-tr { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 99px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .18); font-size: 13px; font-weight: 700; white-space: nowrap; transition: background .2s; }
.mk-poster-tr .ikon { width: 14px; height: 14px; }
.mk-poster-tr:hover { background: var(--accent); }
.mk-film-info { min-width: 0; }
.mk-film-info > * { animation: mkUp .8s var(--ease) both; }
.mk-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 14px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.mk-crumbs .ikon { width: 13px; height: 13px; opacity: .6; }
.mk-crumbs a:hover { color: #fff; }
.mk-film-t { font-size: clamp(30px, 3.6vw, 52px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; }
.mk-film-logo { max-height: 120px; max-width: min(460px, 100%); width: auto; object-fit: contain; object-position: left; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .6)); }
.mk-film-o { margin: 8px 0 0; font-size: 15px; color: rgba(255, 255, 255, .6); }
.mk-film-info .mk-chips { margin-top: 16px; }
.mk-genre-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mk-genre-links a { padding: 5px 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .2); font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .85); transition: .2s; }
.mk-genre-links a:hover { border-color: var(--accent); color: #fff; background: rgba(var(--accent-rgb), .2); }
.mk-plot { margin-top: 16px; max-width: 720px; color: rgba(255, 255, 255, .82); font-size: 15px; }
[data-more] .seo-body { max-height: 4.8em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 50%, transparent); mask-image: linear-gradient(#000 50%, transparent); }
[data-more].open .seo-body, [data-more].short .seo-body { max-height: none; -webkit-mask-image: none; mask-image: none; }
[data-more].short [data-more-btn] { display: none; }
.seo-body p { margin: 0 0 .6em; }
.seo-body p:last-child { margin: 0; }
.mk-film-dir { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.mk-film-dir a { color: #fff; font-weight: 600; }
.mk-film-dir a:hover { color: var(--accent); }
.mk-rating { align-self: end; display: grid; justify-items: center; gap: 8px; padding: 18px 14px; border-radius: 20px; text-align: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.mk-rating small { font-size: 12px; color: var(--muted); }
.mk-rating b[data-rate-mine] { font-size: 12.5px; font-weight: 600; }
.ring { position: relative; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 4; }
.ring-fg { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.ring b { position: relative; font: 800 22px var(--font-display); }
.stars { display: flex; gap: 0; }
.stars button { padding: 1px; color: rgba(255, 255, 255, .2); transition: color .15s, transform .15s; }
.stars button .ikon { width: 15px; height: 15px; }
.stars button.on, .stars button.hov { color: var(--gold); }
.stars:hover button.on:not(.hov) { color: rgba(255, 255, 255, .2); }
.stars button:hover { transform: scale(1.25); }

.mk-film-body { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 30px; align-items: start; }
.mk-film-main { min-width: 0; }
.mk-film-side { position: sticky; top: calc(var(--top-h) + 10px); display: grid; gap: 18px; }
.mk-side-list { display: grid; gap: 4px; }
.mk-side-list a { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; gap: 12px; padding: 7px; border-radius: 14px; transition: background .2s; }
.mk-side-list a:hover { background: var(--s2); }
.mk-side-list img { width: 54px; height: 81px; object-fit: cover; border-radius: 9px; }
.mk-side-list span { display: grid; min-width: 0; }
.mk-side-list b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-side-list small { font-size: 12px; color: var(--muted); }
.mk-side-list em { display: inline-flex; align-items: center; gap: 3px; margin-top: 3px; font-style: normal; font-size: 12px; font-weight: 700; }
.mk-side-list em .ikon { width: 12px; height: 12px; color: var(--gold); }

/* Player */
.mk-player-sec { margin-bottom: 38px; scroll-margin-top: 96px; }
.mk-player { position: relative; z-index: 2; border-radius: var(--r-lg); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.player-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.player-screen iframe, .player-screen video, .player-screen .html-src { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; background: #000; }
.player-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: transform 6s ease; }
.mk-player:hover .player-poster { transform: scale(1.04); }
.player-play { position: absolute; z-index: 2; inset: 0; margin: auto; width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: 0 0 0 12px rgba(var(--accent-rgb), .18), var(--glow); animation: mkPulse 2.4s infinite; transition: transform .25s var(--ease); }
.player-play:hover { transform: scale(1.07); }
.player-play .ikon { width: 34px; height: 34px; margin-left: 5px; }
@keyframes mkPulse { 0%, 100% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), .2), var(--glow); } 50% { box-shadow: 0 0 0 22px rgba(var(--accent-rgb), .06), var(--glow); } }
.player-cap { position: absolute; z-index: 2; left: 20px; bottom: 18px; display: grid; gap: 1px; padding: 10px 14px; border-radius: 14px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.player-cap b { font: 700 15px var(--font-display); }
.player-cap span { font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.player.playing .player-play, .player.playing .player-cap, .player.playing .player-poster { display: none; }
.mk-player-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.mk-srcs { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-src { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px 0 12px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; transition: background .2s, border-color .2s; }
.mk-src span { display: grid; line-height: 1.2; text-align: left; }
.mk-src small { font-size: 11px; font-weight: 500; color: var(--muted); }
.mk-src:hover { border-color: rgba(var(--accent-rgb), .6); }
.mk-src.on { background: var(--grad); border-color: transparent; box-shadow: var(--glow); }
.mk-src.on small { color: rgba(255, 255, 255, .85); }
.bayrak { border-radius: 3px; flex: none; }
.mk-srcs-none { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.mk-tools { display: flex; gap: 8px; }
.mk-tool { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 12px; background: var(--s1); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--muted); transition: .2s; }
.mk-tool:hover, .mk-tool[aria-pressed="true"] { color: #fff; background: var(--s2); }
.mk-tool .ikon { width: 17px; height: 17px; }
.mk-note { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(var(--accent-rgb), .1); font-size: 13.5px; color: var(--muted); }
.cinema-dim { position: fixed; inset: 0; z-index: 75; background: rgba(0, 0, 0, .93); opacity: 0; pointer-events: none; transition: opacity .5s; }
body.cinema .cinema-dim { opacity: 1; pointer-events: auto; }
body.cinema .mk-player-sec { position: relative; z-index: 76; }
.next-up { position: absolute; z-index: 5; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line-2); }

/* Cast */
.mk-cast { --cw: 118px; }
.mk-person { display: grid; justify-items: center; gap: 2px; text-align: center; min-width: 0; }
.mk-person-img { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; margin-bottom: 8px; background: var(--s1); border: 2px solid var(--line-2); transition: border-color .25s, transform .25s var(--ease); }
.mk-person-img img { width: 100%; height: 100%; object-fit: cover; }
.mk-person-img .sil { width: 100%; height: 100%; display: grid; place-items: center; background: var(--c); color: #fff; font: 800 30px var(--font-display); }
.mk-person:hover .mk-person-img { border-color: var(--accent); transform: translateY(-3px); }
.mk-person b { font-size: 13.5px; font-weight: 600; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-person small { font-size: 12px; color: var(--muted); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Facts */
.mk-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.mk-facts > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); }
.mk-facts-i { grid-row: span 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(var(--accent-rgb), .14); color: var(--accent); }
.mk-facts-i .ikon { width: 19px; height: 19px; }
.mk-facts dt { font-size: 12px; color: var(--muted); }
.mk-facts dd { margin: 0; font-size: 14px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mk-facts dd a:hover { color: var(--accent); }

/* Comments */
.mk-cm-form { display: grid; gap: 12px; margin-bottom: 22px; padding: 16px; border-radius: 20px; background: var(--s1); border: 1px solid var(--line); }
.mk-cm-form textarea, .mk-cm-form input[type=text], .mk-cm-form input[type=email], .mk-cm-form input[type=url] { width: 100%; padding: 12px 14px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line-2); outline: 0; font-size: 14px; }
.mk-cm-form textarea:focus, .mk-cm-form input:focus { border-color: var(--accent); }
.mk-cm-form p { margin: 0; }
.mk-cm-form label { font-size: 12.5px; color: var(--muted); }
.mk-cm-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--accent); width: 16px; height: 16px; }
.mk-cm-login { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; margin-bottom: 18px; border-radius: 20px; background: var(--s1); }
.mk-cm-list, .mk-cm-list .children { list-style: none; margin: 0; padding: 0; }
.mk-cm-list .children { padding-left: clamp(16px, 4vw, 52px); }
.mk-cm { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mk-cm-b { flex: 1; min-width: 0; }
.mk-cm-top { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.mk-cm-top b { font-size: 14px; }
.mk-cm-top time { font-size: 12px; color: var(--dim); }
.cm-text { position: relative; font-size: 14.5px; color: rgba(255, 255, 255, .85); }
.cm-text p { margin: 0 0 .5em; }
.cm-text.is-spoiler > *:not(.spoiler-btn) { filter: blur(6px); user-select: none; }
.cm-text.is-spoiler.show > * { filter: none; user-select: auto; }
.spoiler-btn { position: absolute; inset: 0; font-size: 12.5px; font-weight: 700; color: var(--accent); }
.cm-text.show .spoiler-btn { display: none; }
.mk-cm-r a { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.mk-cm-r a:hover { color: var(--accent); }
.comment-reply-title small a { font-size: 12px; color: var(--accent); }

/* ========== Listings ========== */
.mk-ptitle { display: flex; align-items: center; gap: 16px; margin: 14px 0 22px; }
.mk-ptitle-i { width: 54px; height: 54px; display: grid; place-items: center; flex: none; border-radius: 17px; background: var(--grad); box-shadow: var(--glow); }
.mk-ptitle-i .ikon { width: 25px; height: 25px; }
.mk-ptitle h1 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.mk-count { padding: 3px 11px; border-radius: 99px; background: var(--s2); font: 600 13px var(--font); color: var(--muted); letter-spacing: 0; }
.mk-ptitle p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.mk-term-hero img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin-top: 10px; border: 3px solid var(--line-2); }
.mk-term-hero.is-col img { width: 100%; height: auto; aspect-ratio: 21 / 6; border-radius: var(--r-lg); border: 0; }
.mk-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 26px; }
.mk-filters-i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--s1); color: var(--accent); }
.mk-filters-i .ikon { width: 18px; height: 18px; }
.mk-pill { position: relative; display: inline-flex; align-items: center; height: 40px; border-radius: 99px; background: var(--s1); border: 1px solid var(--line-2); transition: border-color .2s, background .2s; }
.mk-pill:hover { border-color: rgba(var(--accent-rgb), .55); }
.mk-pill.on { background: rgba(var(--accent-rgb), .16); border-color: rgba(var(--accent-rgb), .6); }
.mk-pill select { appearance: none; -webkit-appearance: none; height: 100%; max-width: 210px; padding: 0 36px 0 16px; background: none; border: 0; outline: 0; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.mk-pill select option { background: var(--panel); color: var(--text); }
.mk-pill .ikon { position: absolute; right: 13px; width: 15px; height: 15px; color: var(--muted); pointer-events: none; }
.mk-pill-sort { margin-left: auto; }
.mk-clear { display: inline-flex; align-items: center; gap: 5px; padding: 0 10px; font-size: 13px; font-weight: 600; color: var(--accent); }
.mk-clear .ikon { width: 14px; height: 14px; }
.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 28px 18px; }
.mk-wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px 18px; }
.mk-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 38px 0 10px; }
.mk-pager .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; background: var(--s1); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.mk-pager .page-numbers .ikon { width: 17px; height: 17px; }
.mk-pager a.page-numbers:hover { border-color: var(--accent); }
.mk-pager .page-numbers.current { background: var(--grad); border-color: transparent; box-shadow: var(--glow); }
.mk-empty { display: grid; justify-items: center; gap: 10px; max-width: 480px; margin: 40px auto; padding: 36px 24px; text-align: center; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); }
.mk-empty > .ikon { width: 64px; height: 64px; padding: 16px; border-radius: 20px; background: rgba(var(--accent-rgb), .14); color: var(--accent); }
.mk-empty h2 { font-size: 21px; }
.mk-empty p { margin: 0; color: var(--muted); }
.mk-empty .mk-btn { margin-top: 8px; }
.mk-segs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; margin-bottom: 24px; border-radius: 99px; background: var(--s1); border: 1px solid var(--line); }
.mk-segs a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--muted); transition: .2s; }
.mk-segs a .ikon { width: 16px; height: 16px; }
.mk-segs a:hover { color: #fff; }
.mk-segs a.on { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.mk-search-terms { margin: 0 0 6px; }
.mk-search-terms small { color: var(--accent); font-size: 11px; font-weight: 700; }

/* Trend ranks */
.mk-ranks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mk-ranks li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto auto 70px; align-items: center; gap: 18px; padding: 10px 18px 10px 10px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
.mk-ranks li:hover { border-color: rgba(var(--accent-rgb), .5); transform: translateX(3px); }
.mk-ranks-n { font: 800 30px/1 var(--font-display); text-align: center; color: var(--dim); }
.mk-ranks li.is-top .mk-ranks-n { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-ranks-main { display: flex; align-items: center; gap: 16px; min-width: 0; }
.mk-ranks-main img { width: 132px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; flex: none; }
.mk-ranks-main span { display: grid; min-width: 0; }
.mk-ranks-main b { font: 700 16.5px var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-ranks-main small { font-size: 12.5px; color: var(--muted); }
.mk-ranks-main:hover b { color: var(--accent); }
.mk-ranks-ch { padding: 4px 9px; border-radius: 8px; background: var(--s2); font-size: 12px; font-weight: 700; color: var(--muted); }
.mk-ranks-ch.up { color: #34d399; background: rgba(52, 211, 153, .12); }
.mk-ranks-ch.down { color: #fb7185; background: rgba(251, 113, 133, .12); }
.mk-ranks-ch.new { color: var(--gold); background: rgba(245, 197, 24, .12); }
.spark { width: 64px; height: 22px; }
.spark .l { fill: none; stroke: var(--muted); stroke-width: 1.6; }
.spark .a { fill: rgba(255, 255, 255, .05); }
.spark.up .l { stroke: #34d399; }
.spark.up .a { fill: rgba(52, 211, 153, .12); }
.spark.down .l { stroke: #fb7185; }
.spark.flat path { stroke: var(--line-2); fill: none; }
.mk-ranks-v { display: grid; font: 700 15px var(--font-display); text-align: right; }
.mk-ranks-v small { font: 500 11px var(--font); color: var(--muted); }
.mk-ranks-s { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; font-weight: 700; }
.mk-ranks-s .ikon { width: 14px; height: 14px; color: var(--gold); }

/* Keşfet picker */
.mk-picker { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; padding: clamp(20px, 3vw, 34px); margin-bottom: 34px; border-radius: var(--r-lg); background: radial-gradient(600px 300px at 0% 0%, rgba(var(--accent-rgb), .22), transparent 70%), var(--s1); border: 1px solid var(--line); }
.mk-picker-l { display: grid; gap: 12px; align-content: start; }
.mk-picker-l .mk-kick { justify-self: start; }
.mk-picker h1 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
.mk-picker p { margin: 0; color: var(--muted); }
.mk-picker .mk-btn { justify-self: start; }
.mk-moods { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 6px 0; }
.mk-moods label { cursor: pointer; }
.mk-moods input { position: absolute; opacity: 0; }
.mk-moods span { display: grid; gap: 1px; padding: 11px 13px; border-radius: 14px; background: var(--s2); border: 1px solid var(--line); transition: .2s; }
.mk-moods b { font-size: 14px; font-weight: 600; }
.mk-moods small { font-size: 12px; color: var(--muted); }
.mk-moods label:hover span { border-color: var(--line-2); }
.mk-moods input:checked + span { background: rgba(var(--accent-rgb), .18); border-color: var(--accent); }
.mk-moods input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn.spinning .ikon, .mk-btn.spinning .ikon { animation: mkSpin .6s linear infinite; }
.pick-card { position: relative; display: block; min-height: 300px; border-radius: 20px; overflow: hidden; isolation: isolate; }
.pick-card.flip { animation: mkUp .6s var(--ease); }
.pick-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pick-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--bg-rgb), .97), rgba(var(--bg-rgb), .45)); }
.pick-body { display: flex; gap: 16px; align-items: flex-end; height: 100%; min-height: 300px; padding: 20px; }
.pick-poster { width: 112px; border-radius: 12px; flex: none; box-shadow: 0 16px 30px -12px #000; }
.pick-info { display: grid; gap: 7px; }
.pick-t { font: 800 22px/1.15 var(--font-display); }
.pick-m { font-size: 13px; font-weight: 600; color: var(--gold); }
.pick-x { font-size: 13.5px; color: rgba(255, 255, 255, .8); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pick-info .btn { justify-self: start; height: 36px; padding: 0 14px; border-radius: 10px; background: var(--grad); font-size: 13px; }

/* 404, prose */
.mk-404 { display: grid; justify-items: center; gap: 10px; padding: clamp(30px, 6vw, 70px) 0 40px; text-align: center; }
.mk-404-n { font: 800 clamp(100px, 16vw, 190px)/1 var(--font-display); letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 20px 50px rgba(var(--accent-rgb), .35)); }
.mk-404 h1 { font-size: clamp(24px, 3vw, 34px); }
.mk-404 p { color: var(--muted); }
.mk-404 .mk-actions { justify-content: center; margin-top: 6px; }
.mk-prose { max-width: 860px; margin: 18px auto 30px; padding: clamp(20px, 3vw, 36px); border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); font-size: 15.5px; line-height: 1.75; }
.mk-prose h1 { margin-bottom: 18px; font-size: clamp(26px, 3vw, 36px); }
.mk-prose a { color: var(--accent); text-decoration: underline; }
.mk-post { padding: 14px 0; border-bottom: 1px solid var(--line); }
.mk-post h2 { font-size: 19px; margin-bottom: 4px; }
.mk-post p { margin: 0; color: var(--muted); }

/* ========== Footer ========== */
.mk-foot { margin: 20px var(--pad) 0; padding-top: 30px; border-top: 1px solid var(--line); }
.mk-foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; padding-bottom: 26px; }
.mk-foot-brand { display: grid; gap: 12px; max-width: 460px; }
.mk-foot-brand p { margin: 0; font-size: 13.5px; color: var(--muted); }
.mk-social { display: flex; gap: 8px; }
.mk-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--s1); border: 1px solid var(--line); transition: .2s; }
.mk-social a:hover { background: var(--grad); border-color: transparent; }
.mk-social .ikon { width: 16px; height: 16px; }
.mk-foot-genres { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; max-width: 560px; }
.mk-foot-genres a { padding: 6px 13px; border-radius: 99px; background: var(--s1); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--muted); transition: .2s; }
.mk-foot-genres a:hover { color: #fff; border-color: rgba(var(--accent-rgb), .55); }
.mk-foot-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 18px 0 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.mk-foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.mk-foot-links a:hover { color: #fff; }
.mk-foot-bar small { color: var(--dim); }
.mk-foot-bar .mk-icon-btn { margin-left: auto; width: 40px; height: 40px; }
.mk-tabbar { display: none; }

/* ========== Shared overlays (spotlight search, modals, auth, report, trailer, toast) ========== */
.btn { --h: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 18px; border-radius: 12px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.btn-sm { --h: 34px; padding: 0 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:disabled { opacity: .6; }
.btn-glass { background: var(--s2); border: 1px solid var(--line-2); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { padding: 7px 13px; border-radius: 99px; background: var(--s2); font-size: 13px; font-weight: 600; transition: .2s; }
.chip:hover { background: rgba(var(--accent-rgb), .2); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line-2); outline: 0; font-size: 14.5px; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .14); }
.modal, .spot { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.open, .spot.open { visibility: visible; }
.modal-bg, .spot-bg { position: absolute; inset: 0; background: rgba(4, 5, 9, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s; }
.modal.open .modal-bg, .spot.open .spot-bg { opacity: 1; }
.modal-box { position: relative; width: min(440px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 28px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line-2); box-shadow: var(--shadow); opacity: 0; transform: translateY(16px) scale(.98); transition: .3s var(--ease); }
.modal.open .modal-box { opacity: 1; transform: none; }
.modal-x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--s2); }
.modal-x:hover { background: var(--s3); }
.modal-x .ikon { width: 18px; height: 18px; }
.modal-title { margin-bottom: 18px; font-size: 21px; }
.modal-video .modal-box { width: min(1100px, 100%); padding: 0; background: #000; overflow: hidden; }
.modal-video .modal-x { background: rgba(0, 0, 0, .6); color: #fff; }
.video-frame { aspect-ratio: 16 / 9; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.auth-box { text-align: center; }
.auth-art { display: grid; place-items: center; margin: 0 auto 14px; }
.auth-logo .mk-mark { width: 58px; height: 58px; border-radius: 18px; animation: mkMark .9s var(--ease) both; }
.auth-logo .mk-mark svg { width: 30px; height: 30px; }
.auth-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 99px; background: var(--s2); }
.auth-tabs button { padding: 8px 18px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--muted); }
.auth-tabs button.on { background: var(--grad); color: #fff; }
.auth-form { text-align: left; }
.auth-lead { font-size: 14px; color: var(--muted); text-align: center; }
.auth-form .check { margin-bottom: 16px; }
.auth-forgot { display: block; text-align: center; margin-top: 14px; font-size: 13px; color: var(--muted); }
.auth-msg { margin: 12px 0 0; font-size: 13px; text-align: center; min-height: 1em; }
.auth-msg.err { color: #fb7185; }
.auth-msg.ok { color: #34d399; }
.radio-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.radio-chips input { position: absolute; opacity: 0; }
.radio-chips span { display: inline-block; padding: 8px 14px; border-radius: 99px; background: var(--s2); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; cursor: pointer; }
.radio-chips input:checked + span { background: rgba(var(--accent-rgb), .2); border-color: var(--accent); }
.spot { place-items: start center; padding-top: min(12vh, 120px); }
.spot-box { position: relative; width: min(680px, 100%); border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line-2); box-shadow: var(--shadow); overflow: hidden; opacity: 0; transform: translateY(-12px); transition: .3s var(--ease); }
.spot.open .spot-box { opacity: 1; transform: none; }
.spot-form { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.spot-form > .ikon { width: 22px; height: 22px; color: var(--accent); }
.spot-form input { flex: 1; min-width: 0; height: 64px; background: none; border: 0; outline: 0; font-size: 17px; }
.spot-form input::-webkit-search-cancel-button { display: none; }
.spot-form kbd { cursor: pointer; }
.spot-res { max-height: 56vh; overflow-y: auto; padding: 8px; }
.spot-res:empty { display: none; }
.spot-item { display: flex; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 14px; }
.spot-item img { width: 42px; height: 63px; object-fit: cover; border-radius: 8px; flex: none; }
.spot-item b { display: block; font-size: 15px; font-weight: 600; }
.spot-item small { color: var(--muted); font-size: 12.5px; }
.spot-item .spot-type { margin-left: auto; padding: 3px 8px; border-radius: 6px; background: var(--s2); font-size: 11px; font-weight: 700; color: var(--muted); }
.spot-item.sel, .spot-item:hover { background: var(--s2); }
.spot-all { display: block; padding: 12px; border-radius: 12px; text-align: center; font-size: 13.5px; font-weight: 700; color: var(--accent); }
.spot-all.sel, .spot-all:hover { background: var(--s2); }
.spot-none { padding: 24px 16px; text-align: center; color: var(--muted); }
.spot-empty { padding: 16px 18px 18px; }
.spot-res:not(:empty) + .spot-empty { display: none; }
.spot-h { margin: 4px 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.spot-recent { margin-bottom: 16px; }
.spot-tip { margin: 16px 0 0; font-size: 12.5px; color: var(--dim); }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 28px; transform: translate(-50%, 30px); padding: 12px 20px; border-radius: 99px; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; box-shadow: var(--glow); opacity: 0; pointer-events: none; transition: .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ========== WordPress admin bar ========== */
body.admin-bar .mk-side { top: 32px; }
body.admin-bar .mk-top { top: 32px; }
@media (max-width: 782px) { body.admin-bar .mk-side { top: 46px; } body.admin-bar .mk-top { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .mk-top { top: 0; } }

/* ========== Responsive ========== */
@media (max-width: 1280px) {
	.mk-home.has-panel { grid-template-columns: minmax(0, 1fr); }
	.mk-panel { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
	.mk-film-body { grid-template-columns: minmax(0, 1fr); }
	.mk-film-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
	.mk-film-in { grid-template-columns: 200px minmax(0, 1fr); }
	.mk-rating { grid-column: 2; justify-self: start; grid-template-columns: auto auto; justify-items: start; align-items: center; text-align: left; column-gap: 16px; }
	.mk-rating .ring { grid-row: span 3; }
	.mk-genres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	:root { --side-w: 0px; --top-h: 64px; }
	.mk-side { display: none; }
	.mk-main { margin-left: 0; }
	.mk-top { gap: 10px; }
	.mk-top-logo { display: block; }
	.mk-top-logo .mk-mark { width: 36px; height: 36px; border-radius: 11px; }
	.mk-top-logo .mk-logo-t { font-size: 18px; }
	.mk-search { display: none; }
	.mk-search-m { display: inline-grid; }
	.mk-acct-n, .mk-acct-btn > .ikon, .mk-login span, .mk-reg { display: none; }
	.mk-login { width: 44px; padding: 0; }
	.mk-acct-btn { padding: 0; border: 0; background: none; height: auto; }
	.mk-hero { height: auto; min-height: 520px; }
	.mk-slide-in { max-width: none; right: 20px; bottom: 96px; }
	.mk-slide::after { background: linear-gradient(0deg, rgba(var(--bg-rgb), .98) 10%, rgba(var(--bg-rgb), .55) 55%, rgba(var(--bg-rgb), .15)); }
	.mk-thumbs { left: 20px; right: 20px; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
	.mk-thumbs button { width: 84px; flex: none; }
	.mk-film-in { grid-template-columns: 1fr; min-height: 0; }
	.mk-film-poster { width: 170px; }
	.mk-rating { grid-column: auto; }
	.mk-film-side, .mk-panel { grid-template-columns: minmax(0, 1fr); }
	.mk-genres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mk-picker { grid-template-columns: minmax(0, 1fr); }
	.mk-ranks li { grid-template-columns: 40px minmax(0, 1fr) 56px; padding-right: 12px; }
	.mk-ranks-ch, .mk-ranks-spark, .mk-ranks-v { display: none; }
	.mk-ranks-main img { width: 96px; }
	.mk-pill-sort { margin-left: 0; }
	body.has-tabbar { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	body.has-tabbar .mk-tabbar { position: fixed; z-index: 85; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px; border-radius: 22px; background: color-mix(in srgb, var(--panel) 85%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
	.mk-tabbar a { display: grid; justify-items: center; gap: 2px; padding: 7px 0; border-radius: 16px; font-size: 10.5px; font-weight: 600; color: var(--muted); }
	.mk-tabbar a .ikon { width: 21px; height: 21px; }
	.mk-tabbar a.on { background: rgba(var(--accent-rgb), .16); color: #fff; }
	.mk-tabbar a.on .ikon { color: var(--accent); }
	body.has-tabbar .toast { bottom: calc(90px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
	body { font-size: 14.5px; }
	.mk-hero { min-height: 560px; border-radius: 20px; }
	.mk-slide-t { font-size: 30px; }
	.mk-slide-p { -webkit-line-clamp: 2; font-size: 14px; }
	.mk-btn-lg { height: 48px; padding: 0 20px; }
	.mk-track { --cw: 138px; gap: 12px; }
	.mk-row-wide .mk-track, .mk-row .mk-track:has(.mk-coll) { --cw: 250px; }
	.mk-row-top .mk-track { --cw: 168px; }
	.mk-row-top .mk-card { padding-left: 34px; }
	.mk-row-top .mk-rank { left: -40px; font-size: 88px; }
	.mk-grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 22px 12px; }
	.mk-head h2 { font-size: 18px; }
	.mk-head .mk-arrow { display: none; }
	.mk-film-hero { border-radius: 20px; }
	.mk-film-poster { width: 140px; }
	.mk-film-info .mk-actions .mk-btn-glass { display: none; }
	.mk-facts { grid-template-columns: minmax(0, 1fr); }
	.mk-player, .mk-film-hero, .mk-hero { margin-left: calc(var(--pad) * -1 + 8px); margin-right: calc(var(--pad) * -1 + 8px); }
	.mk-tool span { display: none; }
	.mk-src { height: 42px; }
	.mk-ptitle-i { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Fixes: collapsed sidebar logo, hero thumbnails as a vertical strip, sticky offsets under the admin bar */
.mk-side .mk-logo-t { max-width: 0; overflow: hidden; }
body.mk-side-expand .mk-side:hover .mk-logo-t { max-width: 160px; }
@media (min-width: 901px) {
	.mk-thumbs { top: 50%; bottom: auto; right: 20px; transform: translateY(-50%); flex-direction: column; max-height: calc(100% - 40px); overflow-y: auto; scrollbar-width: none; }
	.mk-thumbs::-webkit-scrollbar { display: none; }
	.mk-thumbs button { width: 112px; flex: none; }
	.mk-slide-in { max-width: min(560px, calc(100% - 200px)); }
}
body.admin-bar .mk-panel, body.admin-bar .mk-film-side { top: calc(var(--top-h) + 42px); }
@media (min-width: 901px) { .mk-hero-sound { right: 150px; } }
@media (max-width: 600px) { .mk-slide .mk-actions .mk-btn-glass { display: none; } }

/* Top 10 row: the big number sits fully to the left of the poster, never under it */
.mk-row-top .mk-track { grid-auto-columns: max-content; --pw: 168px; gap: 10px; }
.mk-row-top .mk-card { width: calc(var(--pw) + 70px); padding-left: 70px; }
.mk-row-top .mk-card.rank-2 { width: calc(var(--pw) + 128px); padding-left: 128px; }
.mk-row-top .mk-rank { top: auto; left: auto; right: calc(100% + 6px); bottom: -2px; z-index: 1; padding: 0; background: none; font: 800 112px/.8 var(--font-display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .5); transition: -webkit-text-stroke-color .3s, color .3s; }
.mk-row-top .mk-card:hover .mk-rank { color: rgba(var(--accent-rgb), .18); -webkit-text-stroke-color: var(--accent); }
.mk-row-top .mk-card-img { overflow: visible; }
@media (max-width: 600px) {
	.mk-row-top .mk-track { --pw: 132px; }
	.mk-row-top .mk-card { width: calc(var(--pw) + 54px); padding-left: 54px; }
	.mk-row-top .mk-card.rank-2 { width: calc(var(--pw) + 98px); padding-left: 98px; }
	.mk-row-top .mk-rank { font-size: 86px; left: auto; }
}
.mk-row-top .has-rank .mk-quick { top: 8px; }

/* ========== Series: seasons + episodes ========== */
.season-panel { display: none; }
.season-panel.on { display: grid; animation: mkFade .35s var(--ease); }
@keyframes mkFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mk-seasons { margin-bottom: 38px; scroll-margin-top: 96px; }
.mk-seasons-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.mk-seasons-h h2 { margin: 0; font: 700 21px/1.2 var(--font-display); }
.mk-next-ep { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.mk-next-ep .ikon { width: 15px; height: 15px; color: var(--accent); }
.mk-next-ep b { color: var(--text); }
.mk-season-tabs { display: flex; gap: 6px; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 5px; border-radius: 999px; background: var(--s1); border: 1px solid var(--line); }
.mk-season-tabs::-webkit-scrollbar { display: none; }
.mk-season-tab { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; transition: background .2s, color .2s; }
.mk-season-tab small { font-size: 11px; font-weight: 600; color: var(--dim); }
.mk-season-tab:hover { color: var(--text); }
.mk-season-tab.on { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.mk-season-tab.on small { color: rgba(255, 255, 255, .8); }
.mk-eps { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 12px; }
.mk-ep { position: relative; display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); transition: border-color .2s, background .2s, transform .3s var(--ease); }
.mk-ep:hover { border-color: var(--line-2); background: var(--s2); transform: translateY(-2px); }
.mk-ep.is-current { border-color: rgba(var(--accent-rgb), .7); background: rgba(var(--accent-rgb), .1); }
.mk-ep-img { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; background: var(--s2); }
.mk-ep-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-ep-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 60%); }
.mk-ep-img .mk-play { position: relative; z-index: 1; width: 40px; height: 40px; opacity: 0; transition: opacity .25s, transform .3s var(--ease); }
.mk-ep:hover .mk-ep-img .mk-play, .mk-ep.is-current .mk-ep-img .mk-play { opacity: 1; transform: scale(1); }
.mk-ep-n { position: absolute; left: 8px; bottom: 4px; z-index: 1; font: 800 22px/1 var(--font-display); color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.mk-ep-img .wcard-bar { z-index: 2; }
.mk-ep-b { display: grid; gap: 3px; min-width: 0; }
.mk-ep-b b { font-size: 14.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-ep-b small { font-size: 12px; color: var(--dim); }
.mk-ep-x { font-size: 12.5px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mk-ep-b em { justify-self: start; margin-top: 3px; padding: 2px 8px; border-radius: 6px; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.mk-ep-now { background: var(--grad); color: #fff; }
.mk-ep-new { background: rgba(var(--accent-rgb), .16); color: var(--accent); }
.mk-notice { margin-bottom: 30px; font-size: 14px; color: var(--muted); }

/* Compact list beside the episode player. */
.mk-seasons.is-compact { position: sticky; top: calc(var(--top-h) + 16px); margin: 0; }
.mk-seasons.is-compact .mk-seasons-h { flex-direction: column; align-items: stretch; gap: 10px; }
.mk-seasons.is-compact .mk-seasons-h h2 { font-size: 16px; }
.mk-seasons.is-compact .season-panel.on { max-height: min(70vh, 640px); overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.mk-seasons.is-compact .mk-eps { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.mk-seasons.is-compact .mk-ep { grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 6px; background: transparent; border-color: transparent; }
.mk-seasons.is-compact .mk-ep:hover { background: var(--s2); transform: none; }
.mk-seasons.is-compact .mk-ep.is-current { background: rgba(var(--accent-rgb), .12); border-color: rgba(var(--accent-rgb), .5); }
.mk-seasons.is-compact .mk-ep-n { font-size: 16px; }
.mk-seasons.is-compact .mk-ep-b b { font-size: 13px; }

/* ========== Episode page ========== */
.mk-ep-page { padding-top: 4px; }
.mk-ep-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: -12px 0 18px; padding: 18px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); }
.mk-ep-head > div { flex: 1; min-width: 220px; }
.mk-ep-poster img { width: 72px; height: 108px; border-radius: var(--r-sm); object-fit: cover; box-shadow: var(--shadow); }
.mk-ep-series { font-size: 13px; font-weight: 700; color: var(--accent); }
.mk-ep-series:hover { text-decoration: underline; }
.mk-ep-head h1 { margin: 2px 0 10px; font: 700 clamp(20px, 2.3vw, 28px)/1.2 var(--font-display); }
.mk-ep-head h1 span { color: var(--muted); font-weight: 600; }
.mk-ep-head .mk-chips { margin: 0; }
.mk-ep-head .btn-round .i-on, .mk-ep-head .btn-round.on .i-off { display: none; }
.mk-ep-head .btn-round.on .i-on { display: block; }
.mk-ep-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; margin-bottom: 28px; }
.mk-ep-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); font-size: 14px; font-weight: 700; transition: border-color .2s, background .2s; }
.mk-ep-nav a:hover { border-color: rgba(var(--accent-rgb), .6); background: var(--s2); }
.mk-ep-nav small { display: block; font-size: 11px; font-weight: 600; color: var(--dim); }
.mk-ep-nav .ikon { width: 18px; height: 18px; flex: none; color: var(--accent); }
.mk-ep-nav .mk-ep-nx { justify-content: flex-end; text-align: right; }
.mk-ep-nav .mk-ep-all { justify-content: center; }
.mk-ep-text { margin-bottom: 30px; color: var(--muted); }
.mk-ep-text p { margin: 0 0 10px; }

@media (max-width: 900px) {
	.mk-seasons.is-compact { position: static; margin-top: 10px; }
	.mk-ep { grid-template-columns: 130px minmax(0, 1fr); }
	.mk-ep-nav { grid-template-columns: 1fr 1fr; }
	.mk-ep-nav .mk-ep-all { display: none; }
}
@media (max-width: 600px) {
	.mk-ep { grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 8px; }
	.mk-ep-x { display: none; }
	.mk-ep-head { margin-top: 0; }
}
.mk-film-side, .mk-seasons, .mk-seasons-h, .mk-seasons-h > div { min-width: 0; }
.mk-seasons.is-compact { width: 100%; overflow: hidden; }
.mk-seasons.is-compact .mk-season-tabs { width: 100%; }
