/* ==========================================================
   MOVERA TV — Yasal sayfalar (/gizlilik/, /cerezler/) ve 404
   Önek: .yl-
   ========================================================== */

/* ---------- Yer tutucu ---------- */
mark.ph { background: var(--yellow); color: var(--ink); padding: .05em .35em; font-weight: 700; font-style: normal; letter-spacing: .02em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.sec--paper mark.ph, .on-paper mark.ph { box-shadow: inset 0 0 0 1px rgba(10, 10, 11, .35); }
.phero__meta mark.ph { letter-spacing: .06em; }

/* ---------- Taslak uyarısı ---------- */
.yl-draft { display: flex; align-items: flex-start; gap: 16px; max-width: 760px; margin-top: clamp(22px, 2.6vw, 32px); padding: 16px 20px; background: var(--yellow); color: var(--ink); font-weight: 600; line-height: 1.45; box-shadow: 6px 6px 0 rgba(236, 232, 74, .25); }
.yl-draft b { flex: none; font: 700 12px/1.6 var(--f-sans); letter-spacing: .14em; padding: 2px 8px; background: var(--ink); color: var(--yellow); }

/* ---------- Kısaca ---------- */
.yl-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); margin-bottom: clamp(48px, 6vw, 88px); }
.yl-sum li { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 20px 0; }
.yl-sum li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.yl-sum b { font-family: var(--f-display); font-weight: var(--w-display); font-style: var(--i-display); font-size: calc(clamp(1.05rem, 1.5vw, 1.4rem) * var(--ds)); line-height: 1; }
.yl-sum span { font-size: .96rem; color: rgba(10, 10, 11, .7); }

/* ---------- Metin düzeni ---------- */
.yl-layout { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.yl-side { position: sticky; top: 96px; }
.yl-tocbox summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; font: 700 12px/1 var(--f-sans); letter-spacing: .14em; color: var(--olive); }
.yl-tocbox summary::-webkit-details-marker { display: none; }
.yl-tocbox summary::after { content: "+"; font: 500 18px/1 var(--f-sans); transition: transform .4s var(--ease); }
.yl-tocbox[open] summary::after { transform: rotate(45deg); }
.yl-toc a { position: relative; padding-right: 14px; color: rgba(10, 10, 11, .66); }
.yl-toc a::before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .35s var(--ease); }
.yl-toc a:hover { color: var(--ink); }
.yl-toc a.is-on { color: var(--ink); padding-left: 10px; }
.yl-toc a.is-on::before { transform: scale(1); left: -4px; }
.yl-side__note { margin-top: 22px; font-size: .92rem; color: rgba(10, 10, 11, .66); }
.yl-side__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--olive); }

.yl-prose { max-width: 50em; }
.yl-prose > h2:first-child { margin-top: 0; }
.yl-prose h2 { padding-top: 22px; border-top: 2px solid var(--ink); }
.yl-prose h3 { color: var(--ink); }
.yl-prose .facts { font-size: .98rem; line-height: 1.55; }
.yl-prose .facts dd { font-weight: 500; }
.yl-prose .facts dt { opacity: .8; }
.yl-prose dd a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--olive); }
.yl-recv > div { grid-template-columns: minmax(130px, 1fr) minmax(0, 2.4fr); }
.yl-recv dt { color: var(--olive); opacity: 1 !important; }
.yl-alpha { list-style: none !important; padding-left: 0 !important; border-top: 1px solid var(--line); }
.yl-alpha li { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0 !important; }
.yl-alpha b { color: var(--olive); }

/* ---------- Çerezler: sıfır tablosu ---------- */
.yl-zero b { font-size: calc(clamp(2.6rem, 5.4vw, 5rem) * var(--ds)); }
.yl-zero > div:last-child b { color: var(--olive); }
.yl-asof { margin-top: 22px; font-size: .95rem; max-width: 46em; }
.yl-brief + .yl-store { padding-top: clamp(24px, 3vw, 48px); }

/* ---------- Çerezler: anahtar tablosu ---------- */
.yl-keys { border-top: 2px solid var(--ink); }
.yl-keys__head, .yl-keys__row { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(110px, .8fr) minmax(0, 2.6fr) minmax(110px, 1fr) minmax(100px, .7fr); gap: 12px 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.yl-keys__head { padding: 14px 0; font: 700 12px/1.3 var(--f-sans); letter-spacing: .14em; color: var(--olive); }
.yl-keys__row { transition: background .3s, padding .4s var(--ease); }
.yl-keys__row:hover { background: rgba(10, 10, 11, .04); padding-inline: 10px; }
.yl-keys__k { font-family: var(--f-display); font-weight: var(--w-display); font-style: var(--i-display); font-size: calc(clamp(1.05rem, 1.5vw, 1.35rem) * var(--ds)); line-height: 1; overflow-wrap: anywhere; }
.yl-keys__s { font: 600 13px/1.3 var(--f-sans); letter-spacing: .04em; color: rgba(10, 10, 11, .7); }
.yl-keys__row > span:nth-child(3) { color: rgba(10, 10, 11, .78); }
.yl-keys__row > span:nth-child(4) { font-weight: 600; font-size: .95rem; }

/* ---------- Çerezler: canlı panel ---------- */
.yl-live-sec { overflow: hidden; overflow: clip; isolation: isolate; }
.yl-live__rings { position: absolute; z-index: -1; width: min(820px, 110vw); left: -26%; top: 50%; translate: 0 -50%; opacity: .16; }
.yl-live__rings g { transform-origin: 500px 500px; animation: spin 100s linear infinite reverse; }
.yl-live { position: relative; padding: clamp(22px, 2.6vw, 34px); background: var(--ink-3); border: 1px solid var(--line); border-radius: 4px; }
.yl-live__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--white); font: 700 12px/1 var(--f-sans); letter-spacing: .14em; }
.yl-live__count { font-family: var(--f-display); font-weight: var(--w-display); font-style: var(--i-display); font-size: calc(1.6rem * var(--ds)); line-height: .8; color: var(--yellow); font-variant-numeric: tabular-nums; }
.yl-live__list { min-height: 120px; }
.yl-live__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); animation: pop .45s var(--ease) both; }
.yl-live__list li.is-gone { animation: ylOut .45s var(--ease) both; }
@keyframes ylOut { to { opacity: 0; transform: translateX(24px); } }
.yl-live__key { font-weight: 700; overflow-wrap: anywhere; }
.yl-live__store { font: 600 11px/1.2 var(--f-sans); letter-spacing: .12em; color: var(--mute); text-align: right; }
.yl-live__val { grid-column: 1 / -1; font-size: .9rem; color: rgba(255, 255, 255, .62); overflow-wrap: anywhere; }
.yl-live__empty { display: block !important; color: rgba(255, 255, 255, .62); }
.yl-live__nojs { padding: 13px 0; color: rgba(255, 255, 255, .7); font-size: .95rem; }
.yl-live__btn { margin-top: 22px; width: 100%; white-space: normal; text-align: left; justify-content: space-between; line-height: 1.3; }
.yl-live__btn[disabled] { opacity: .45; pointer-events: none; }
.yl-live__msg { min-height: 1.5em; margin-top: 14px; font-weight: 600; color: var(--yellow); }

/* ---------- Çerezler: üçüncü taraflar, yönetim ---------- */
.yl-third__list > div { grid-template-columns: minmax(130px, 1fr) minmax(0, 3fr); }
.yl-third__list dd { font-weight: 500; line-height: 1.6; }
.yl-third__more { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; color: rgba(10, 10, 11, .7); }
.yl-third__more .link { color: var(--ink); }
.yl-third__more .link:hover { color: var(--olive); }
.yl-third__note { margin-top: 30px; }
.yl-manage .acc > div p { color: rgba(255, 255, 255, .86); }
.yl-manage__more { margin-top: 26px; color: rgba(255, 255, 255, .7); }
.yl-manage__more a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--yellow); }

/* ---------- 404 ---------- */
.yl-404 { min-height: 100vh; min-height: 100svh; justify-content: center; }
.yl-404__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.yl-404__k { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(16px, 2vw, 24px); font: 600 12.5px/1.3 var(--f-sans); letter-spacing: .14em; color: var(--yellow); }
.yl-404__title { max-width: 9em; }
.yl-404__path { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 18px; font: 600 12.5px/1.4 var(--f-sans); letter-spacing: .14em; color: rgba(255, 255, 255, .6); }
.yl-404__path[hidden] { display: none; }
.yl-404__path b { font-weight: 600; letter-spacing: .02em; color: var(--white); text-decoration: line-through; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.yl-404__links { margin-top: clamp(26px, 3.4vw, 44px); border-top: 2px solid var(--white); max-width: 640px; }
.yl-404__links a { position: relative; display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto; align-items: baseline; gap: 6px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); isolation: isolate; transition: color .35s, padding .45s var(--ease); }
.yl-404__links a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--yellow); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.yl-404__links a:hover, .yl-404__links a:focus-visible { color: var(--ink); padding-inline: 14px; }
.yl-404__links a:hover::before, .yl-404__links a:focus-visible::before { transform: none; }
.yl-404__lt { font-family: var(--f-display); font-weight: var(--w-display); font-style: var(--i-display); font-size: calc(clamp(1.2rem, 1.9vw, 1.7rem) * var(--ds)); line-height: 1; }
.yl-404__links small { font-size: .95rem; opacity: .7; }
.yl-404__links .arr { font-size: 1.2rem; }
.yl-404__links a:hover .arr { transform: translateX(5px); }

.yl-404__mark { display: flex; align-items: center; justify-content: center; gap: clamp(4px, 1vw, 14px); font-family: var(--f-display); font-weight: var(--w-display); font-style: var(--i-display); font-size: calc(clamp(5rem, 13vw, 13rem) * var(--ds)); line-height: .8; }
.yl-404__four { color: transparent; -webkit-text-stroke: 2px var(--yellow); }
.yl-404__compass { position: relative; flex: none; width: .78em; aspect-ratio: 1; }
.yl-404__rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.yl-404__rings circle { stroke-width: 3; }
.yl-404__rings g { transform-origin: 500px 500px; animation: spin 40s linear infinite; }
.js .yl-404__rings circle { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js.is-loaded .yl-404__rings circle { animation: draw 1.8s var(--ease) forwards; animation-delay: calc(var(--intro) + .3s + var(--k) * 30ms); }
.yl-404__needle { position: absolute; left: 50%; top: 50%; width: 4px; height: 42%; margin-left: -2px; transform-origin: 50% 0; rotate: var(--a, 200deg); }
.yl-404__needle b { position: absolute; inset: 0; background: linear-gradient(180deg, var(--white) 0 30%, var(--yellow) 30%); clip-path: polygon(50% 100%, 100% 0, 0 0); }
.yl-404__needle::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(236, 232, 74, .6); animation: ylBeacon 2s ease-out infinite; }
@keyframes ylBeacon { to { box-shadow: 0 0 0 18px rgba(236, 232, 74, 0); } }
.yl-404__hub { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--ink); border: 3px solid var(--yellow); }

/* ---------- Duyarlı ---------- */
@media (max-width: 1080px) {
  .yl-keys__head { display: none; }
  .yl-keys__row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
  .yl-keys__row > span:nth-child(3) { grid-column: 1 / -1; }
  .yl-keys__row > span:nth-child(4) { grid-column: 1; }
  .yl-keys__row > span:nth-child(5) { grid-column: 2; grid-row: 1; justify-self: end; }
  .yl-keys__row > span:nth-child(2) { grid-column: 1; grid-row: 2; }
  .yl-keys__row > span:nth-child(4)::before { content: "SÜRE · "; font: 700 11.5px/1 var(--f-sans); letter-spacing: .14em; color: var(--olive); }
  html:lang(en) .yl-keys__row > span:nth-child(4)::before { content: "DURATION · "; }
}
@media (max-width: 900px) {
  .yl-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yl-sum li:nth-child(3) { padding-left: 0; border-left: 0; }
  .yl-sum li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .yl-layout { grid-template-columns: 1fr; }
  .yl-side { position: static; }
  .yl-toc a.is-on { padding-left: 0; }
  .yl-toc a.is-on::before { display: none; }
  .yl-404 { justify-content: flex-end; }
  .yl-404__grid { grid-template-columns: 1fr; }
  .yl-404__mark { order: -1; justify-content: flex-start; font-size: calc(clamp(3.4rem, 18vw, 6rem) * var(--ds)); }
}
@media (max-width: 560px) {
  .yl-sum { grid-template-columns: 1fr; }
  .yl-sum li, .yl-sum li + li { padding-left: 0; border-left: 0; }
  .yl-sum li + li { border-top: 1px solid var(--line); }
  .yl-draft { flex-direction: column; gap: 10px; }
  .yl-recv > div, .yl-third__list > div { grid-template-columns: 1fr; }
  .yl-404__links a { grid-template-columns: minmax(0, 1fr) auto; }
  .yl-404__links small { grid-column: 1; grid-row: 2; }
  .yl-404__links .arr { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .yl-404__needle::after { animation: none; }
  .yl-live__list li { animation: none; }
}
