/* Şehir Portalı — ortak görüntüleyici (fotoğraf, video, 360°).
   Sahne üstten ve alttan eşit boşlukla yerleşir; görsel ekranın tam ortasında açılır. */
html.sp-lb-lock{overflow:hidden!important}
html.sp-lb-lock body{padding-right:var(--sp-lb-sbw,0px)}
html body .sp-lb{--lb-y:96px;--lb-x:76px;--lb-accent:var(--sp-primary,#a91e34);position:fixed!important;inset:0!important;z-index:2147483000!important;display:block;margin:0!important;padding:0!important;color:#fff;font-family:inherit;opacity:0;transition:opacity .22s ease;-webkit-tap-highlight-color:transparent}
html body .sp-lb[hidden]{display:none!important}
html body .sp-lb.is-open{opacity:1}
html body .sp-lb.is-single{--lb-y:72px}
.sp-lb-backdrop{position:absolute;inset:0;background:radial-gradient(120% 90% at 50% 50%,rgba(16,20,28,.94),rgba(4,6,10,.97));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.sp-lb-stage{position:absolute;inset:var(--lb-y) var(--lb-x);display:flex;align-items:center;justify-content:center;overflow:hidden}
.sp-lb-stage.is-loading::after{content:"";position:absolute;left:50%;top:50%;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;border:3px solid rgba(255,255,255,.2);border-top-color:#fff;animation:sp-lb-spin .8s linear infinite}
@keyframes sp-lb-spin{to{transform:rotate(360deg)}}
html body .sp-lb .sp-lb-fig{position:relative;display:block;margin:0!important;padding:0;max-width:100%;max-height:100%;opacity:0;transform:scale(.985);transition:opacity .25s ease,transform .25s ease;cursor:zoom-in}
html body .sp-lb .sp-lb-fig.is-in{opacity:1;transform:none}
html body .sp-lb .sp-lb-media{display:block!important;max-width:calc(100vw - var(--lb-x)*2)!important;max-height:calc(100vh - var(--lb-y)*2)!important;max-height:calc(100dvh - var(--lb-y)*2)!important;width:auto!important;height:auto!important;margin:0!important;object-fit:contain;border-radius:10px;box-shadow:0 24px 70px rgba(0,0,0,.55);background:transparent;user-select:none;-webkit-user-drag:none}
html body .sp-lb .sp-lb-wm{position:absolute!important;display:block!important;height:auto!important;max-width:none!important;margin:0!important;pointer-events:none;filter:drop-shadow(0 1px 3px rgba(0,0,0,.35))}
html body .sp-lb .sp-lb-stage.is-zoomed .sp-lb-fig{transform:scale(2.2);cursor:zoom-out;transition:transform .2s ease}
html body .sp-lb video.sp-lb-media{width:100%!important;height:100%!important;background:#000}
.sp-lb-frame{width:min(100%,calc((100vh - var(--lb-y)*2)*16/9));aspect-ratio:16/9;height:auto;max-height:100%;border:0;border-radius:10px;background:#000;box-shadow:0 24px 70px rgba(0,0,0,.55)}
.sp-lb-360{position:relative;width:100%;height:100%;border-radius:12px;overflow:hidden;background:#05070b;box-shadow:0 24px 70px rgba(0,0,0,.55)}
/* Üst şerit */
.sp-lb-top{position:absolute;left:0;right:0;top:0;height:var(--lb-y);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 18px;box-sizing:border-box;pointer-events:none}
.sp-lb-top>*{pointer-events:auto}
.sp-lb-count{font-size:13px;font-weight:800;letter-spacing:.04em;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.1);font-variant-numeric:tabular-nums}
.sp-lb-count:empty{visibility:hidden}
.sp-lb-tools{display:flex;align-items:center;gap:6px}
html body .sp-lb .sp-lb-btn{display:inline-grid!important;place-items:center;width:40px!important;height:40px!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:999px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;box-shadow:none!important;cursor:pointer;text-decoration:none!important;line-height:1!important;transition:background .15s ease,transform .15s ease,border-color .15s ease}
html body .sp-lb .sp-lb-btn[hidden]{display:none!important}
html body .sp-lb .sp-lb-btn:hover{background:rgba(255,255,255,.2)!important;border-color:rgba(255,255,255,.32)!important}
html body .sp-lb .sp-lb-btn:focus-visible{outline:2px solid #fff!important;outline-offset:2px}
html body .sp-lb .sp-lb-btn.is-close{background:var(--lb-accent)!important;border-color:transparent!important}
html body .sp-lb .sp-lb-btn.is-on{background:#fff!important;color:#111!important}
.sp-lb-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sp-lb-btn svg .f{fill:currentColor;stroke:none}
/* Önceki / sonraki: sahnenin dışındaki eşit yan boşluklarda */
html body .sp-lb .sp-lb-nav{position:absolute!important;top:50%!important;width:52px!important;height:52px!important;transform:translateY(-50%);background:rgba(255,255,255,.1)!important;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:3}
html body .sp-lb .sp-lb-nav.is-prev{left:12px!important}
html body .sp-lb .sp-lb-nav.is-next{right:12px!important}
html body .sp-lb .sp-lb-nav:hover{transform:translateY(-50%) scale(1.06)}
.sp-lb-nav svg{width:26px;height:26px}
html body .sp-lb.is-single .sp-lb-nav{display:none!important}
/* Alt şerit: açıklama + küçük resimler */
.sp-lb-bottom{position:absolute;left:0;right:0;bottom:0;height:var(--lb-y);display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;padding:0 18px 12px;box-sizing:border-box;pointer-events:none}
.sp-lb-bottom>*{pointer-events:auto}
.sp-lb-caption{max-width:min(900px,100%);display:flex;align-items:baseline;justify-content:center;gap:4px 10px;flex-wrap:nowrap;font-size:13px;line-height:1.35;text-align:center;overflow:hidden;white-space:nowrap}
.sp-lb-caption[hidden]{display:none}
.sp-lb-caption strong{font-weight:800;overflow:hidden;text-overflow:ellipsis}
.sp-lb-caption span{color:rgba(255,255,255,.72);overflow:hidden;text-overflow:ellipsis}
.sp-lb-caption em{font-style:normal;font-size:11px;color:rgba(255,255,255,.55)}
.sp-lb-caption :empty{display:none}
.sp-lb-thumbs{display:flex;gap:6px;max-width:min(920px,100%);overflow-x:auto;overflow-y:hidden;padding:3px;scrollbar-width:none}
.sp-lb-thumbs::-webkit-scrollbar{display:none}
.sp-lb-thumbs:empty{display:none}
html body .sp-lb .sp-lb-thumb{position:relative;flex:0 0 auto;width:62px;height:44px;margin:0;padding:0;border:0;border-radius:8px;overflow:hidden;background:#222;opacity:.5;cursor:pointer;box-shadow:none;transition:opacity .15s ease,transform .15s ease,box-shadow .15s ease;display:grid;place-items:center;color:#fff}
html body .sp-lb .sp-lb-thumb:hover{opacity:.85}
html body .sp-lb .sp-lb-thumb.is-active{opacity:1;box-shadow:0 0 0 2px #fff;transform:translateY(-1px)}
html body .sp-lb .sp-lb-thumb img{display:block;width:100%!important;height:100%!important;object-fit:cover;margin:0}
.sp-lb-thumb b{position:absolute;right:3px;bottom:3px;padding:1px 4px;border-radius:4px;background:rgba(8,71,145,.94);font-size:8px;line-height:1.3}
.sp-lb-bar{position:absolute;left:0;right:0;top:0;height:3px;background:transparent;pointer-events:none}
.sp-lb-bar i{display:block;height:100%;width:0;background:var(--lb-accent)}
.sp-lb-toast{position:absolute;left:50%;bottom:calc(var(--lb-y) + 10px);transform:translate(-50%,8px);padding:8px 14px;border-radius:999px;background:#fff;color:#111;font-size:12px;font-weight:700;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease}
.sp-lb-toast.is-on{opacity:1;transform:translate(-50%,0)}
.sp-lb:fullscreen{--lb-y:72px}
/* 360° görüntüleyici */
html body .sp360-viewer{position:relative!important;width:100%;height:100%;background:#05070b;overflow:hidden}
.sp360-viewer canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}
.sp360-viewer canvas:active{cursor:grabbing}
.sp360-loading{position:absolute;inset:0;display:none;place-items:center;color:rgba(255,255,255,.8);font-size:13px;font-weight:700;pointer-events:none}
.sp360-viewer.is-loading .sp360-loading{display:grid}
html body .sp360-source-video{position:absolute!important;left:0!important;top:0!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
html body .sp360-native-fallback{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain;opacity:1!important;pointer-events:auto!important;background:#000!important;z-index:2!important}
html body .sp360-hint{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);z-index:4;width:auto!important;max-width:calc(100% - 24px);white-space:nowrap;padding:7px 12px;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;font-size:12px;font-weight:700;pointer-events:none;transition:opacity .4s ease}
.sp360-hint.is-hidden{opacity:0}
.sp360-controls{position:absolute;left:10px;right:10px;bottom:10px;z-index:6;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.sp360-controls[hidden]{display:none}
html body .sp360-controls button{min-height:34px;padding:7px 11px;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:rgba(0,0,0,.62);color:#fff;font-weight:800;font-size:12px;cursor:pointer}
.sp360-seek{flex:1 1 180px;min-width:110px;accent-color:#fff}
.sp360-time{font-size:11px;font-weight:800;color:#fff;white-space:nowrap;text-shadow:0 1px 4px rgba(0,0,0,.8)}
.sp360-viewer:has(.sp360-controls) .sp360-hint{bottom:58px}
.sp360-error{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:7;width:min(88%,520px);padding:14px 16px;border:1px solid rgba(255,255,255,.22);border-radius:12px;background:rgba(7,12,22,.88);color:#fff;text-align:center;font-size:13px;font-weight:700;line-height:1.5}
@media (max-width:760px){
 html body .sp-lb{--lb-y:84px;--lb-x:0px}
 html body .sp-lb.is-single{--lb-y:64px}
 .sp-lb-top{padding:0 10px}
 .sp-lb-tools{gap:4px}
 html body .sp-lb .sp-lb-btn{width:36px!important;height:36px!important}
 html body .sp-lb [data-lb="full"]{display:none!important}
 html body .sp-lb .sp-lb-nav{width:40px!important;height:40px!important;background:rgba(0,0,0,.45)!important}
 html body .sp-lb .sp-lb-nav.is-prev{left:6px!important}
 html body .sp-lb .sp-lb-nav.is-next{right:6px!important}
 html body .sp-lb.is-360 .sp-lb-nav{top:auto!important;bottom:calc(var(--lb-y) + 10px)!important;transform:none}
 html body .sp-lb .sp-lb-media{border-radius:0}
 .sp-lb-360{border-radius:0}
 .sp-lb-bottom{padding:0 10px 10px}
 .sp-lb-caption{font-size:12px}
 .sp-lb-caption span{display:none}
 html body .sp-lb .sp-lb-thumb{width:48px;height:36px}
}
@media (prefers-reduced-motion:reduce){html body .sp-lb,html body .sp-lb *{transition:none!important;animation:none!important}}
