/* Gerçek site katmanı: taslak stilleri 1920x1080 sabit kare için yazıldı; burada pencereye uyarlanır.
   En son yüklenir. Sayfaya özgü kural yok; onlar p-*.css'te. */

/* Yazı tipleri. Başlık Poppins (logoyla aynı, marka dosyaları; OFL), sitenin kendisinden gelir.
   Inter artık /y/font altında barındırılıyor (dik 400/500/600). Bazı makinelerde yalnız
   eğik Inter kurulu; tarayıcı 'Inter' adıyla onu seçip bütün metni eğik çiziyordu (aynı adla
   @font-face tanımlamak da yetmiyor, yüklenemeyince yine kurulu dosyaya dönüyor). Bu yüzden metin
   ayrı bir adla ('VR Inter') yalnız dik yerel kesimlere bakar, bulamazsa system-ui'a düşer. */
@font-face { font-family: 'Poppins'; src: url('/y/font/Poppins-500.ttf') format('truetype'); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/y/font/Poppins-600.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/y/font/Poppins-700.ttf') format('truetype'); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'VR Inter'; src: url('/y/font/Inter-Regular.ttf') format('truetype'); font-weight: 100 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'VR Inter'; src: url('/y/font/Inter-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'VR Inter'; src: url('/y/font/Inter-SemiBold.ttf') format('truetype'); font-weight: 600 900; font-style: normal; font-display: swap; }
:root { --text: 'VR Inter', system-ui, sans-serif; --display: 'Poppins', 'VR Inter', system-ui, sans-serif; }
.app[class] { --text: 'VR Inter', system-ui, sans-serif; }

html, body { background: var(--ink); }
body { min-height: 100dvh; }

/* Taslağın sabit 1080 yüksekliği ve overflow:hidden'ı gerçek sayfada kaydırmayı ve yapışkan öğeleri bozar. */
.scr { min-height: 100dvh; overflow: clip; }
.scr.mob { min-height: 100dvh; }

/* Kabuk yer tutucusu düzende yok sayılır: başlık ve alt sekmeler doğrudan .scr'nin çocuğu gibi davranır. */
.kb-yer { display: contents; }

/* Mobilde alt sekmeler ekranın altına yapışır; içerik altında kalmasın. */
.scr.mob .kb-sekme { position: sticky; bottom: 0; padding-bottom: env(safe-area-inset-bottom); height: calc(64px + env(safe-area-inset-bottom)); }

/* Steam avatarı yuvarlak içinde. */
.kb-av img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }

/* Veri gelene kadar kabuğun sağı boş kalır; zıplamasın. */
.kb-son { min-width: 44px; }

/* Yükleniyor ve boş durumlar */
.y-bos { display: grid; place-items: center; gap: 12px; min-height: 240px; padding: 32px; text-align: center; color: var(--fg-2); }
.y-bos b { color: var(--fg); font-size: 18px; }
.y-bos p { margin: 0; max-width: 46ch; }
.y-iskelet { border-radius: 16px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.08), rgba(255,255,255,.04)); background-size: 200% 100%; animation: y-isk 1.4s linear infinite; }
@keyframes y-isk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .y-iskelet { animation: none; } }

/* Ekran okuyucuya özel */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.an-av { overflow: hidden; }
.an-av img { width: 100%; height: 100%; object-fit: cover; }
.y-not { margin: 0; color: var(--fg-2); font-size: 15px; line-height: 1.5; max-width: 72ch; }
:where(.scr) :focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

/* Klipler: başlığın sağı (kimin klipleri + yükle) */
.y-kl-sag { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.y-kl-sag .kl-sec { width: auto; min-width: 280px; }
.y-kapi { border-radius: 24px; background: var(--ink-2); border: 1px solid var(--line); }
.y-isk-kart { aspect-ratio: 16 / 10; list-style: none; }

/* Pencereler */
.y-dlg { padding: 0; border: 1px solid var(--cizgi); border-radius: 24px; background: var(--ink-2); color: var(--fg); max-width: min(1400px, calc(100vw - 48px)); max-height: calc(100dvh - 48px); overflow: hidden; }
.y-dlg::backdrop { background: rgba(5, 4, 8, 0.78); backdrop-filter: blur(6px); }
.y-dlg[open] { animation: y-dlg-ac 240ms var(--ease); }
@keyframes y-dlg-ac { from { opacity: 0; translate: 0 12px; scale: 0.985; } }
@media (prefers-reduced-motion: reduce) { .y-dlg[open] { animation: none; } }
.y-dlg-bas { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.y-dlg-bas h2 { margin: 0; font: 600 26px/1.15 var(--display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.y-x { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--fg); cursor: pointer; }
.y-x:hover { background: rgba(255, 255, 255, 0.1); }
.y-x:disabled { opacity: 0.4; cursor: default; }
.y-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* İzleme penceresi */
.y-gor { width: min(1400px, calc(100vw - 48px)); }
.y-gor-ic { display: grid; grid-template-columns: minmax(0, 1fr) 380px; height: min(760px, calc(100dvh - 50px)); }
.y-oynatici { background: #000; display: grid; place-items: center; min-height: 0; }
.y-oynatici video { width: 100%; height: 100%; max-height: 100%; object-fit: contain; display: block; }
.y-gor-yan { display: flex; flex-direction: column; gap: 16px; padding: 24px; min-height: 0; border-left: 1px solid var(--line); }
.y-gor-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--fg-2); font-size: 15px; }
.y-gor-alt a, .y-yorumlar a { color: var(--fg); font-weight: 600; text-decoration: none; }
.y-gor-alt a:hover, .y-yorumlar a:hover { text-decoration: underline; }
.y-gor-alt i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); }
.y-gor-alt .an-av, .y-yorumlar .an-av { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: rgba(255, 255, 255, 0.1); font-size: 11px; font-weight: 600; flex: none; }
.y-gor-dgm { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.y-begen { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--cizgi); background: rgba(255, 255, 255, 0.05); color: var(--fg); font: 600 15px/1 var(--text); cursor: pointer; font-variant-numeric: tabular-nums; transition: background 160ms var(--ease), border-color 160ms var(--ease); }
.y-begen svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; transition: scale 200ms var(--ease); }
.y-begen:hover { background: rgba(255, 255, 255, 0.1); }
.y-begen.on { background: rgba(229, 32, 45, 0.16); border-color: rgba(229, 32, 45, 0.6); }
.y-begen.on svg { fill: var(--red-hi); stroke: var(--red-hi); scale: 1.12; }
.y-begen:active svg { scale: 0.9; }
.y-tehlike { color: var(--red-hi); }
.y-gor-h3 { margin: 4px 0 0; font: 600 17px/1 var(--display); display: flex; align-items: baseline; gap: 8px; }
.y-gor-h3 small { font: 500 14px/1 var(--text); color: var(--fg-3); }
.y-yorumlar { flex: 1; min-height: 80px; overflow: auto; overscroll-behavior: contain; margin: 0 -8px; padding: 0 8px; }
.y-yorumlar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.y-yorumlar li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.y-yorumlar li p { margin: 0; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.y-yorumlar li p small { color: var(--fg-3); font-size: 13px; }
.y-yorumlar .y-x { width: 28px; height: 28px; border-radius: 8px; opacity: 0.6; }
.y-yorumlar .y-x svg { width: 14px; height: 14px; }
.y-yform { display: flex; gap: 8px; }
.y-yform input, .y-alan input, .y-alan select { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--cizgi); background: rgba(255, 255, 255, 0.04); color: var(--fg); font: 400 15px/1 var(--text); }
.y-yform input:focus, .y-alan input:focus, .y-alan select:focus { outline: none; border-color: rgba(255, 255, 255, 0.4); }
.y-alan select option { background: var(--ink-2); }

/* Yükleme penceresi */
.y-yukle { width: min(620px, calc(100vw - 32px)); }
.y-yuk-ic { display: grid; gap: 18px; padding: 24px; max-height: calc(100dvh - 50px); overflow: auto; }
.y-birak { position: relative; display: grid; place-items: center; gap: 12px; min-height: 200px; padding: 20px; border: 1.5px dashed rgba(255, 255, 255, 0.22); border-radius: 18px; background: rgba(255, 255, 255, 0.025); text-align: center; cursor: pointer; transition: border-color 160ms var(--ease), background 160ms var(--ease); }
.y-birak:hover, .y-birak.ust { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.05); }
.y-birak:focus-within { border-color: var(--fg); }
.y-birak.var { border-style: solid; }
.y-birak video { width: 100%; max-height: 240px; border-radius: 12px; background: #000; }
.y-birak-y { display: grid; gap: 6px; }
.y-birak-y b { font: 600 17px/1.3 var(--display); overflow-wrap: anywhere; }
.y-birak-y small { color: var(--fg-3); font-size: 14px; }
.y-alan { display: grid; gap: 8px; }
.y-alan > span { font-size: 14px; color: var(--fg-2); }
.y-ilerleme { display: grid; gap: 8px; }
.y-cubuk { display: block; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.y-cubuk i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); transition: transform 200ms linear; }
.y-ilerleme small { color: var(--fg-2); font-size: 14px; font-variant-numeric: tabular-nums; }
.y-hata { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(229, 32, 45, 0.12); color: #ffb3b6; font-size: 15px; }
.y-yuk-alt { display: flex; justify-content: flex-end; }

/* Maçlardan anlar */
/* Anlar kutusuz: maçlar ince çizgiyle ayrılır (taslak kuralı: iç içe kart yok). */
.y-anlar { display: grid; gap: 0; }
.y-mac { border-top: 1px solid var(--line); padding: 8px 0 14px; }
.y-mac-bas { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0 6px; }
.y-mac-skor { display: grid; gap: 4px; }
.y-mac-skor b { font: 600 20px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.y-mac-skor small { display: flex; align-items: center; gap: 8px; color: var(--fg-3); font-size: 14px; }
.y-mac-skor i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); }
.y-an-liste { list-style: none; margin: 0; padding: 0; }
.y-an-liste li { display: grid; grid-template-columns: 96px minmax(0, 1fr) 90px auto; align-items: center; gap: 16px; padding: 10px 0; }
.y-an-liste li + li { border-top: 1px solid rgba(255, 255, 255, 0.04); }
.y-an-tur { justify-self: start; padding: 6px 10px; border-radius: 8px; font: 600 13px/1 var(--text); background: rgba(255, 255, 255, 0.08); white-space: nowrap; }
.y-an-tur.ace { background: var(--red); color: #fff; }
.y-an-tur.k4 { background: rgba(229, 32, 45, 0.22); color: #ffb3b6; }
.y-an-tur.k3 { background: rgba(255, 255, 255, 0.1); }
.y-an-tur.clutch { background: #fff; color: var(--ink); }
.y-an-ne { font-size: 15px; color: var(--fg-2); }
.y-an-ne b { color: var(--fg); }
.y-an-raunt { font-size: 14px; color: var(--fg-3); font-variant-numeric: tabular-nums; }

/* Kısa bildirim */
.y-tost { position: fixed; left: 50%; bottom: 32px; translate: -50% 0; z-index: 50; pointer-events: none; }
.mob .y-tost { bottom: calc(84px + env(safe-area-inset-bottom)); }
.y-tost-i { display: block; padding: 12px 18px; border-radius: 14px; background: #f6f4f8; color: #0a090d; font: 600 15px/1.3 var(--text); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); animation: y-tost 220ms var(--ease); max-width: calc(100vw - 32px); overflow-wrap: anywhere; }
.y-tost-i.kotu { background: var(--red); color: #fff; }
@keyframes y-tost { from { opacity: 0; translate: 0 8px; } }

/* Mobil */
.mob .y-kl-sag { flex-wrap: wrap; margin-bottom: 0; }
.mob .y-kl-sag .kl-sec { flex: 1 1 100%; min-width: 0; }
.mob .y-kl-sag .btn { flex: 1; }
.mob .kl-buyuk .pf-kl-g { min-height: 300px; border-radius: 22px; }
.mob .kl-b-y { left: 18px; right: 18px; bottom: 18px; } .mob .kl-b-y b { font-size: 28px; }
.mob .kl-buyuk .pf-oynat { width: 72px; height: 72px; }
.mob .kl-izgara { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.mob .kl-sira a { grid-template-columns: 28px 112px minmax(0, 1fr); gap: 12px; }
.mob .kl-no { font-size: 30px; }
.mob .kl-s-y b { font-size: 16px; }
.mob .an-bas { flex-wrap: wrap; gap: 12px; }
.mob .y-mac-bas { flex-wrap: wrap; padding: 14px 0 4px; }
.mob .y-an-liste li { grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px; padding: 12px 0; }
.mob .y-an-raunt { grid-column: 2; }
.mob .y-an-liste li > span:last-child:not(:empty) { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .y-dlg { max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
  .y-gor-ic { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); height: 100dvh; }
  .y-oynatici video { max-height: 42dvh; }
  .y-gor-yan { border-left: 0; padding: 16px; }
  .y-yuk-ic { max-height: 100dvh; }
}
