/* ============================================================
   Patibul hikayeler (pbs-*): avatar şeridi + tam ekran görüntüleyici
   Tek aksan --pb-accent, gölge yerine saydam katmanlar, 44px hedefler.
   ============================================================ */
.pbs-strip-wrap { position: relative; margin: 0 0 18px; }
.pbs-strip { display: flex; gap: 14px; overflow-x: auto; padding: 6px 4px 8px; margin: 0; list-style: none; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; min-height: 104px; }
.pbs-strip::-webkit-scrollbar { display: none; }
.pbs-user { flex: 0 0 auto; width: 84px; display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; scroll-snap-align: start; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.pbs-ring { width: 74px; height: 74px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, var(--pb-accent, #ea4e1b), #ffb28f, var(--pb-accent, #ea4e1b)); transition: transform .18s cubic-bezier(.2,.8,.2,1); }
.pbs-user:hover .pbs-ring, .pbs-user:focus-visible .pbs-ring { transform: scale(1.04); }
.pbs-user:active .pbs-ring { transform: scale(.96); }
.pbs-user.is-seen .pbs-ring { background: #d9d9de; }
.pbs-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2.5px solid #fff; display: block; background: #f5f5f7; }
.pbs-name { font-size: 12px; line-height: 1.2; color: #1d1d1f; max-width: 84px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: none; }
.pbs-user.is-seen .pbs-name { color: #86868b; }
.pbs-user:focus-visible { outline: none; }
.pbs-user:focus-visible .pbs-ring { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pb-accent, #ea4e1b); }
.pbs-scroll { position: absolute; top: 34px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e5e5ea; background: rgba(255,255,255,.96); color: #1d1d1f; display: none; align-items: center; justify-content: center; cursor: pointer; z-index: 3; font-size: 14px; }
.pbs-scroll.is-visible { display: inline-flex; }
.pbs-scroll:hover { background: #fff; }
.pbs-scroll-prev { left: -8px; }
.pbs-scroll-next { right: -8px; }
.pbs-scroll i { position: static !important; transform: none !important; margin: 0 !important; color: inherit !important; }
@media (max-width: 991px) { .pbs-scroll { display: none !important; } .pbs-strip { gap: 10px; } .pbs-user { width: 72px; } .pbs-ring { width: 64px; height: 64px; } }

/* ── Görüntüleyici ─────────────────────────────────────────── */
.pbs-viewer { position: fixed; inset: 0; z-index: 2147483000; display: none; align-items: center; justify-content: center; background: #0a0a0b; color: #fff; -webkit-tap-highlight-color: transparent; }
.pbs-viewer.is-open { display: flex; }
.pbs-viewer * { box-sizing: border-box; }
.pbs-viewer i { margin: 0 !important; position: static !important; transform: none !important; }
.pbs-ambient { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(48px) saturate(1.2) brightness(.45); opacity: .9; transition: background-image .3s; pointer-events: none; }
.pbs-stage { position: relative; height: min(92vh, 92dvh, 920px); aspect-ratio: 9 / 16; max-width: calc(100vw - 32px); border-radius: 20px; overflow: hidden; background: #141416; box-shadow: 0 0 0 1px rgba(255,255,255,.06); isolation: isolate; }
.pbs-media { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: cover !important; object-position: center; aspect-ratio: auto !important; display: block; margin: 0 !important; border-radius: 0 !important; background: #141416; }
.pbs-media[hidden] { display: none; }
.pbs-scrim-top, .pbs-scrim-bottom { position: absolute; left: 0; right: 0; pointer-events: none; }
.pbs-scrim-top { top: 0; height: 140px; background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,0)); }
.pbs-scrim-bottom { bottom: 0; height: 46%; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.78)); }
.pbs-progress { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; z-index: 4; }
.pbs-progress span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.32); overflow: hidden; }
.pbs-progress span i { display: block; height: 100%; width: 0; background: #fff; border-radius: 3px; }
.pbs-head { position: absolute; top: 22px; left: 12px; right: 12px; display: flex; align-items: center; gap: 10px; z-index: 4; }
.pbs-head img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.85); background: #333; flex: 0 0 36px; }
.pbs-head-text { min-width: 0; flex: 1; line-height: 1.2; }
.pbs-head-name { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: none; }
.pbs-head-sub { display: block; font-size: 12px; color: rgba(255,255,255,.72); }
.pbs-icon { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .15s, transform .12s cubic-bezier(.2,.8,.2,1); flex: 0 0 40px; }
.pbs-icon:hover { background: rgba(255,255,255,.26); }
.pbs-icon:active { transform: scale(.92); }
.pbs-icon:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pbs-icon[hidden] { display: none; }
.pbs-tap { position: absolute; top: 0; bottom: 0; z-index: 3; cursor: pointer; }
.pbs-tap-prev { left: 0; width: 34%; }
.pbs-tap-next { right: 0; width: 66%; }
.pbs-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 16px calc(16px + env(safe-area-inset-bottom)); z-index: 4; display: flex; flex-direction: column; gap: 10px; }
.pbs-title { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 600; letter-spacing: -.1px; text-shadow: 0 1px 2px rgba(0,0,0,.4); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-transform: none; color: #fff; }
.pbs-stats { display: flex; gap: 14px; font-size: 12px; color: rgba(255,255,255,.78); font-variant-numeric: tabular-nums; }
.pbs-stats span { display: inline-flex; align-items: center; gap: 5px; }
.pbs-actions { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }
.pbs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 0; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, transform .12s cubic-bezier(.2,.8,.2,1); white-space: nowrap; text-transform: none; }
.pbs-btn:active { transform: scale(.97); }
.pbs-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pbs-btn-primary { background: var(--pb-accent, #ea4e1b); color: #fff; }
.pbs-btn-primary:hover { background: #ff6a3a; color: #fff; }
.pbs-btn-glass { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 0 16px; }
.pbs-btn-glass:hover { background: rgba(255,255,255,.3); color: #fff; }
.pbs-btn-glass i { font-size: 17px; }
.pbs-btn.is-disabled { opacity: .45; pointer-events: none; }
.pbs-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 20px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .15s, opacity .15s; }
.pbs-nav:hover { background: rgba(255,255,255,.26); }
.pbs-nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pbs-nav[disabled] { opacity: .25; cursor: default; }
.pbs-nav-prev { left: calc(50% - min(46vh, 46dvh, 460px) * 9 / 16 - 72px); }
.pbs-nav-next { right: calc(50% - min(46vh, 46dvh, 460px) * 9 / 16 - 72px); }
.pbs-close { position: absolute; top: 18px; right: 18px; z-index: 6; }
.pbs-loading { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; z-index: 2; pointer-events: none; }
.pbs-viewer.is-loading .pbs-loading { display: flex; }
.pbs-loading span { width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; animation: pbs-spin .8s linear infinite; }
@keyframes pbs-spin { to { transform: rotate(360deg); } }
.pbs-paused .pbs-progress { opacity: .85; }
.pbs-hint { position: absolute; bottom: calc(50% - min(46vh, 46dvh, 460px) - 36px); left: 0; right: 0; text-align: center; font-size: 12px; color: rgba(255,255,255,.5); z-index: 2; pointer-events: none; }
.pbs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.pbs-open { overflow: hidden; }

@media (max-width: 767px) {
    .pbs-stage { height: 100vh; height: 100dvh; width: 100vw; max-width: none; aspect-ratio: auto; border-radius: 0; }
    .pbs-ambient, .pbs-nav, .pbs-hint { display: none; }
    .pbs-progress { top: calc(8px + env(safe-area-inset-top)); }
    .pbs-head { top: calc(20px + env(safe-area-inset-top)); }
    .pbs-close { top: calc(20px + env(safe-area-inset-top)); right: 12px; }
    .pbs-actions { grid-template-columns: 1fr auto auto; }
    .pbs-btn-glass span { display: none; }
    .pbs-btn-glass { width: 46px; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .pbs-viewer *, .pbs-ring { transition: none !important; }
    .pbs-loading span { animation-duration: 1.6s; }
}

/* Tema'nın mobil img{height:auto} kurallarına karşı yüksek öncelikli medya boyutu */
.pbs-viewer .pbs-stage img.pbs-media, .pbs-viewer .pbs-stage video.pbs-media { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; }
