/* ============================================================= */
/*  VIEWER-V5 STYLES (Captures.studio + Vincent Woo tarzi minimal) */
/* ============================================================= */

*{margin:0;padding:0;box-sizing:border-box}

/* fadeStartup: tum sayfa yumusak fade-in (adnfamily proto35 pattern) */
@keyframes pageStartupFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
body {
    animation: pageStartupFade 0.8s ease-out;
}

/* UI overlay'in yumusak girisi */
.ui-overlay {
    animation: pageStartupFade 1.2s ease-out 0.3s backwards;
}

html, body {
    width: 100%; height: 100%;
    overflow: hidden;
    background: #0a0a0a;
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
    color: #fff;
}

pc-app {
    width: 100%; height: 100%;
    display: block;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
    outline: none;
}

/* ============================================================= */
/*  YUKLEME EKRANI                                                */
/* ============================================================= */

#loading {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.6s ease;
}

#loading.hide {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

.loading-title {
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 6px;
    margin-bottom: 24px;
}

.loading-bar {
    width: 240px;
    height: 2px;
    background: rgba(255,255,255,0.12);
    border-radius: 1px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-fill {
    height: 100%;
    width: 0%;
    background: #fff;
    transition: width 0.3s ease;
}

.loading-pct {
    margin-top: 16px;
    color: #888;
    font-size: 11px;
    letter-spacing: 3px;
    font-family: 'SF Mono', Consolas, monospace;
}


/* ============================================================= */
/*  UI BUTONLARI                                                  */
/* ============================================================= */

.ui-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 50;
}

.ui-overlay > * {
    pointer-events: auto;
}

.ui-btn {
    background: rgba(10, 10, 10, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ui-btn:hover {
    background: rgba(10, 10, 10, 0.75);
    border-color: rgba(255, 255, 255, 0.35);
}

.ui-btn:active {
    transform: scale(0.95);
}

.ui-btn-circle {
    position: absolute;
    width: 44px; height: 44px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pozisyonlar */
#btn-info {
    top: 20px; left: 20px;
    font-style: italic; font-family: Georgia, serif;
}

#btn-reset { top: 20px; right: 20px; font-size: 20px; }
#btn-share { top: 20px; right: 72px; font-size: 18px; }

/* Kalite/Performans pill butonu */
#btn-vr {
    position: absolute;
    top: 20px; right: 220px;
    height: 44px; padding: 0 16px; border-radius: 22px;
    font-size: 13px; letter-spacing: 1px;
    display: flex; align-items: center; white-space: nowrap;
}
#btn-vr.active { background: rgba(103, 58, 183, 0.9); border-color: rgba(103,58,183,1); color: #fff; }
body.touch-device #btn-vr { font-size: 12px; padding: 0 12px; right: 200px; }

#btn-quality svg, #btn-vr svg { width: 16px; height: 16px; margin-right: 6px; flex: 0 0 auto; }
/* Tray daire butonlarindaki cizgi-ikon SVG'leri (tam ekran / noktalar / ekran goruntusu) */
.ui-btn-circle svg { width: 22px; height: 22px; display: block; }
#btn-quality {
    position: absolute;
    top: 20px; right: 124px;
    height: 44px;
    padding: 0 16px;
    border-radius: 22px;
    font-size: 13px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
#btn-quality.perf {
    background: rgba(255, 165, 0, 0.85);
    border-color: rgba(255, 165, 0, 1);
    color: #000;
}
/* Mobil: kalite butonu DAIRESEL ikon (metin gizli) -> ust bar sismez, ortadaki baslikla cakismaz.
   Perf modunda gene turuncu dolgu (#btn-quality.perf) ile mod belli olur. */
body.touch-device #btn-quality {
    width: 44px; height: 44px; padding: 0; right: 124px; border-radius: 50%;
    justify-content: center; font-size: 12px;
}
body.touch-device #btn-quality span { display: none; }
body.touch-device #btn-quality svg { margin-right: 0; width: 20px; height: 20px; }

/* Vignette overlay (CSS radial - GPU render pass YOK, guvenli + ucuz) */
.vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 40;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(ellipse at center,
        rgba(0,0,0,0) 55%,
        rgba(0,0,0,0.55) 100%);
}

/* Tur markasi / baslik (top-center, sik) */
.tour-brand {
    position: fixed;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 45;
    pointer-events: none;
    text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}
.tour-brand-title {
    font-size: 19px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #fff;
}
.tour-brand-sub {
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.7);
    margin-top: 3px;
}
body.touch-device .tour-brand-title { font-size: 15px; letter-spacing: 2px; }
/* Mobil: baslik SOL (info) ile SAG buton kumesi (kalite/paylas/sifirla) ARASINDAKI banda sigar,
   tasarsa ... ile kisalir (eskiden ortada olup VR/kalite pill'lerinin ARKASINDA kaliyordu). */
body.touch-device .tour-brand {
    left: 64px; right: 176px; transform: none; max-width: none; text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.touch-device .tour-brand-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ACIK TEMA (body.light-theme) - UI chrome'u aydinlatir */
body.light-theme .ui-btn {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(0, 0, 0, 0.15);
    color: #111;
}
body.light-theme .ui-btn:hover { background: rgba(255, 255, 255, 0.92); }
body.light-theme .nav-mode { background: rgba(255,255,255,0.7); border-color: rgba(0,0,0,0.12); }
body.light-theme .nav-mode-btn { color: #111; }
body.light-theme .nav-mode-btn.active { background: rgba(0,0,0,0.8); color: #fff; }
body.light-theme .panel { background: rgba(250, 250, 252, 0.92); border-color: rgba(0,0,0,0.1); color: #111; }
body.light-theme .panel-title { color: #111; }
body.light-theme .panel-body { color: #333; }
body.light-theme .panel-body strong { color: #000; }
body.light-theme .panel-close { color: #111; }
body.light-theme .tour-brand-title { color: #fff; }
body.light-theme .hotspots-list-item { background: rgba(0,0,0,0.05); }
body.light-theme .hotspots-list-item:hover { background: rgba(0,0,0,0.12); }

/* Viewpoint bar (numarali kamera acilari + oto-tur) */
.viewpoint-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: 7px 12px;
    z-index: 48;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: calc(100vw - 32px);
}
.viewpoint-bar .vp-nums {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
}
.viewpoint-bar .vp-nums::-webkit-scrollbar { display: none; }
.vp-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.vp-nav { font-size: 22px; line-height: 1; opacity: 0.8; padding: 0 4px; }
.vp-nav:hover { opacity: 1; }
.vp-num {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex: 0 0 auto;
    transition: background 0.15s, transform 0.15s;
}
.vp-num:hover { background: rgba(255, 255, 255, 0.25); }
.vp-num.active { background: #fff; color: #000; font-weight: 600; }
/* Gorsel viewpoint kartlari (sahne thumbnail + baslik) */
.vp-card {
    position: relative;
    flex: 0 0 auto;
    width: 132px; height: 62px;
    border-radius: 9px;
    border: 2px solid transparent;
    background: #222 center/cover no-repeat;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.15s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.vp-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.5); }
.vp-card.active { border-color: #fff; }
.vp-card-noimg::after {
    content: attr(data-num);
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700; color: rgba(255,255,255,0.7);
    background: linear-gradient(135deg, #3a3f4b, #23262e);
}
.vp-card-label {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 10px 8px 5px;
    font-size: 11px; font-weight: 600; color: #fff;
    text-align: left; line-height: 1.15;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 10%, rgba(0,0,0,0) 100%);
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    z-index: 1;
}
.vp-play {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    border-radius: 18px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.vp-play.playing { background: rgba(255, 165, 0, 0.9); }
body.touch-device .viewpoint-bar .vp-play span { display: none; }
body.touch-device .vp-card { width: 100px; height: 52px; }
body.touch-device .vp-card-label { font-size: 10px; padding: 8px 6px 4px; }
/* Mobil: viewpoint bari joystigin SAGINA al (sol joystik + alt-sag tray ile cakismasin) */
body.touch-device .viewpoint-bar {
    bottom: 16px;
    left: 150px;
    right: 10px;
    transform: none;
    max-width: none;
    padding: 5px 8px;
    gap: 5px;
    justify-content: flex-start;
}
/* Mobil: yardimci butonlari (tema/tam ekran/hotspot/ekran goruntusu) UST-SAGA tasi */
body.touch-device .ui-tray { top: 128px; bottom: auto; right: 12px; }
body.touch-device .ui-tray-0 { top: 128px; }
body.touch-device .ui-tray-1 { top: 180px; }
body.touch-device .ui-tray-2 { top: 232px; }
body.touch-device .ui-tray-3 { top: 284px; }
body.touch-device .ui-tray-4 { top: 336px; }
body.touch-device .ui-tray-5 { top: 388px; }
body.light-theme .viewpoint-bar { background: rgba(255,255,255,0.7); border-color: rgba(0,0,0,0.12); }
body.light-theme .vp-btn { color: #111; }
body.light-theme .vp-num { background: rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.15); color: #111; }
body.light-theme .vp-num.active { background: #111; color: #fff; }
body.light-theme .vp-play { background: rgba(0,0,0,0.85); color: #fff; }

/* Klavye ipuclari overlay (Splatica tarzi) */
.keyhints {
    position: fixed;
    left: 20px; bottom: 64px;
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 14px 12px;
    z-index: 47;
    backdrop-filter: blur(8px);
    font-size: 11px;
    color: rgba(255,255,255,0.85);
}
.keyhints .kh-row { display: flex; align-items: center; gap: 5px; margin-bottom: 5px; }
.keyhints .kh-row:last-child { margin-bottom: 0; }
.kh-key {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 22px; height: 22px; padding: 0 5px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 5px;
    font-size: 11px; font-weight: 600;
    box-shadow: 0 1px 0 rgba(0,0,0,0.4);
}
.kh-lbl { opacity: 0.7; margin-left: 3px; }
.kh-mouse { opacity: 0.75; margin-top: 2px; }
.keyhints-close {
    position: absolute; top: 4px; right: 6px;
    background: transparent; border: none; color: rgba(255,255,255,0.5);
    font-size: 15px; cursor: pointer; line-height: 1;
}
.keyhints-close:hover { color: #fff; }
body.touch-device .keyhints { display: none !important; }
body.light-theme .keyhints { background: rgba(255,255,255,0.65); border-color: rgba(0,0,0,0.12); color: #222; }
body.light-theme .kh-key { background: rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.2); box-shadow: 0 1px 0 rgba(0,0,0,0.1); }

/* Pusula (compass) - sag ust, butonlarin altinda */
.compass {
    position: fixed;
    top: 76px; right: 20px;
    width: 60px; height: 60px;
    z-index: 46;
    pointer-events: none;
}
.compass svg { display: block; }
body.touch-device .compass { width: 48px; height: 48px; top: 72px; }

/* Galeri modal */
.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 300;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.gallery-modal.show { display: flex; }
.gallery-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 92vw;
    padding: 60px 0 12px;
    min-height: 0;
}
#gallery-img {
    max-width: 88vw;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.6);
}
.gallery-caption {
    color: #eee;
    font-size: 14px;
    margin-top: 14px;
    text-align: center;
    max-width: 80vw;
    letter-spacing: 0.5px;
}
.gallery-close {
    position: absolute;
    top: 18px; right: 22px;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff; font-size: 26px; line-height: 1;
    border-radius: 50%; cursor: pointer;
}
.gallery-close:hover { background: rgba(255,255,255,0.2); }
.gallery-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 52px; height: 52px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff; font-size: 30px; line-height: 1;
    border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.gallery-nav:hover { background: rgba(255,255,255,0.2); }
.gallery-prev { left: 20px; }
.gallery-next { right: 20px; }
.gallery-thumbs {
    display: flex; gap: 8px;
    padding: 12px;
    overflow-x: auto;
    max-width: 96vw;
}
.gallery-thumbs img {
    width: 64px; height: 44px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: opacity 0.15s;
    flex: 0 0 auto;
}
.gallery-thumbs img:hover { opacity: 0.85; }
.gallery-thumbs img.active { opacity: 1; border-color: #fff; }
.gallery-counter {
    position: absolute;
    top: 24px; left: 24px;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-family: 'SF Mono', Consolas, monospace;
}
body.touch-device .gallery-nav { width: 42px; height: 42px; font-size: 24px; }

/* Gezinme modu (pedestrian/orbit/plan) - sol ust, info altinda */
.nav-mode {
    position: absolute;
    top: 76px; left: 20px;
    display: flex;
    gap: 6px;
    background: rgba(10, 10, 10, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 4px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.nav-mode-btn {
    width: 38px; height: 38px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.nav-mode-btn:hover { background: rgba(255, 255, 255, 0.12); }
.nav-mode-btn.active { background: rgba(255, 255, 255, 0.9); color: #111; }
.nav-mode-btn svg { width: 22px; height: 22px; display: block; }

/* Sag alt buton tray */
.ui-tray { right: 20px; }
.ui-tray-0 { bottom: 20px; }
.ui-tray-1 { bottom: 70px; }
.ui-tray-2 { bottom: 120px; }
.ui-tray-3 { bottom: 170px; }
.ui-tray-4 { bottom: 220px; }
.ui-tray-5 { bottom: 270px; }
.ui-btn.muted { opacity: 0.5; }


/* ============================================================= */
/*  JOYSTICK (sadece mobile/tablet)                               */
/* ============================================================= */

.joystick {
    position: absolute;
    left: 22px; bottom: 32px;
    width: 124px; height: 124px;
    background: rgba(0, 0, 0, 0.22);
    border: 2px solid rgba(255, 255, 255, 0.30);
    border-radius: 50%;
    display: none;
    transition: background 0.2s;
}

.joystick.active {
    background: rgba(0, 0, 0, 0.40);
}

.joystick-thumb {
    position: absolute;
    left: 50%; top: 50%;
    width: 50px; height: 50px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out;
    will-change: transform;
}

/* Mobile/tablet detect: touchstart event listener var ise body class koy */
body.touch-device .joystick {
    display: block;
}


/* ============================================================= */
/*  PANELS                                                        */
/* ============================================================= */

.panel {
    position: fixed;
    background: rgba(14, 17, 21, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    padding: 18px 22px;
    color: #fff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    display: none;
    opacity: 0;
    transition: opacity 0.25s;
    max-width: 320px;
    pointer-events: auto;
}

.panel.show {
    display: block;
    opacity: 1;
}

.panel-title {
    color: #fff;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
    opacity: 0.85;
}

.panel-close {
    position: absolute;
    top: 12px; right: 12px;
    width: 24px; height: 24px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
}

.panel-close:hover { opacity: 1; }

.panel-body {
    color: #ddd;
    font-size: 13px;
    line-height: 1.5;
}

.panel-body strong {
    color: #fff;
}

/* Specific panels */
.info-panel {
    top: 74px; left: 20px;
    width: 260px;
}

.hotspots-panel {
    bottom: 74px; right: 74px;
    width: 240px;
    max-height: 60vh;
    overflow-y: auto;
}

.hotspots-list-item {
    padding: 10px 12px;
    margin-bottom: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.15s;
}

.hotspots-list-item:hover {
    background: rgba(255, 255, 255, 0.15);
}


/* ============================================================= */
/*  FPS GOSTERGESI                                                */
/* ============================================================= */

.fps-indicator {
    position: absolute;
    left: 22px; bottom: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    font-family: 'SF Mono', 'JetBrains Mono', Consolas, monospace;
    letter-spacing: 1px;
    pointer-events: none;
}

body.touch-device .fps-indicator {
    /* Mobile: joystick ile cakismasin */
    bottom: 170px;
}

.fps-indicator.warn { color: #FFA500; }
.fps-indicator.bad { color: #FF6B6B; }


/* ============================================================= */
/*  DESKTOP INFO                                                  */
/* ============================================================= */

.desktop-info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    letter-spacing: 2px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    pointer-events: none;
    white-space: nowrap;
}

body.touch-device .desktop-info {
    display: none;
}


/* ============================================================= */
/*  TOAST                                                         */
/* ============================================================= */

.toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(16, 20, 24, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
    z-index: 200;
    backdrop-filter: blur(8px);
}

.toast.show { opacity: 1; }
.toast.success { background: rgba(76, 175, 80, 0.95); }
.toast.warn { background: rgba(255, 152, 0, 0.95); }
.toast.error { background: rgba(239, 83, 80, 0.95); }


/* ============================================================= */
/*  ANNOTATION HOTSPOT (Vincent style)                            */
/* ============================================================= */

.pc-annotation {
    display: none;
    position: absolute;
    background-color: rgba(14, 17, 21, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    max-width: 260px;
    word-wrap: break-word;
    line-height: 1.5;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    pointer-events: auto;
    z-index: 80;
    backdrop-filter: blur(12px);
}

.pc-annotation-title {
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
    letter-spacing: 0.5px;
}

.pc-annotation-hotspot {
    position: absolute;
    width: 30px;
    height: 30px;
    opacity: 0;
    cursor: pointer;
    transform: translate(-50%, -50%);
    z-index: 70;
}

body.hide-annotations .pc-annotation-hotspot,
body.hide-annotations .pc-annotation {
    display: none !important;
}

/* ============================================================= */
/*  KARSILAMA / KULLANIM EKRANI (welcome)                        */
/* ============================================================= */
#welcome-screen {
    position: fixed; inset: 0; z-index: 900;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.82) 100%);
    backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
    opacity: 1; transition: opacity 0.4s ease;
    color: #fff; text-align: center; padding: 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.welcome-inner { max-width: 640px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.welcome-brand { margin-bottom: 26px; }
.welcome-sub { font-size: 15px; letter-spacing: 2px; opacity: 0.8; font-weight: 300; margin-bottom: 4px; }
.welcome-title { font-size: clamp(30px, 6vw, 52px); font-weight: 700; letter-spacing: 1px; line-height: 1.05; text-shadow: 0 2px 20px rgba(0,0,0,0.6); }
.welcome-start {
    background: rgba(255,255,255,0.06); color: #fff;
    border: 1.5px solid rgba(255,255,255,0.7); border-radius: 40px;
    padding: 15px 44px; font-size: 18px; font-weight: 600; letter-spacing: 1px;
    cursor: pointer; transition: all 0.2s ease; margin-bottom: 40px;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.welcome-start:hover { background: #fff; color: #111; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.4); }
.welcome-controls { opacity: 0.92; }
.welcome-move-lbl { font-size: 14px; letter-spacing: 4px; font-weight: 600; opacity: 0.7; margin-bottom: 16px; }
.welcome-keys { display: flex; align-items: center; justify-content: center; gap: 22px; }
.wk-group { display: flex; flex-direction: column; gap: 7px; align-items: center; }
.wk-row { display: flex; gap: 7px; justify-content: center; }
.wk {
    width: 44px; height: 44px; border-radius: 10px;
    border: 1.5px solid rgba(255,255,255,0.55); display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 600; background: rgba(255,255,255,0.04);
}
.wk-or { font-size: 14px; opacity: 0.6; letter-spacing: 1px; }
.welcome-hint { margin-top: 22px; font-size: 13px; opacity: 0.65; letter-spacing: 0.5px; }
.welcome-touch-guide { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin: 0 auto; width: fit-content; }
.wtg-item { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.wtg-ic { font-size: 22px; width: 34px; text-align: center; }
/* desktop/mobil ayrimi */
.welcome-mobileonly { display: none; }
#welcome-screen.welcome-mobile .welcome-desktop { display: none; }
#welcome-screen.welcome-mobile .welcome-mobileonly { display: block; }

/* ============================================================= */
/*  VIEWPOINT TASARIMLARI (cards / circles / carousel)           */
/* ============================================================= */

/* --- DAIRELER: yuvarlak thumbnail satiri + AYNI boyut yuvarlak Oynat + ustte SABIT aktif-etiket --- */
.viewpoint-bar.vp-style-circles { background: transparent; border: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0 6px; gap: 9px; overflow: visible; }
.vp-style-circles .vp-nums { gap: 10px; align-items: center; padding: 8px 2px; overflow-x: auto; overflow-y: visible; }
.vp-style-circles .vp-card {
    /* HEPSI AYNI BOYUT: yuvarlak, gorsel cover ile TAM dolu */
    width: 52px; height: 52px; border-radius: 50%; flex: 0 0 auto;
    border: 2px solid rgba(255,255,255,0.55);
    background-color: #333; background-size: cover; background-position: center; background-repeat: no-repeat;
    box-shadow: 0 3px 12px rgba(0,0,0,0.5);
    overflow: hidden; position: relative;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.vp-style-circles .vp-card.active { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.4), 0 3px 12px rgba(0,0,0,0.5); }
.vp-style-circles .vp-card:hover { transform: scale(1.12); border-color: #fff; }        /* hafif buyume (eski 1.4 tasip cakisiyordu) */
.vp-style-circles .vp-card-label { display: none !important; }                           /* hover-pill KALDIRILDI ("G" sorunu) */
.vp-style-circles .vp-card-noimg { background: linear-gradient(135deg,#3a3f4b,#23262e); }
.vp-style-circles .vp-card-noimg::after { border-radius: 50%; display: flex; align-items: center; justify-content: center; }
/* Oynat: thumbnail'lerle AYNI yuvarlak boyut, SADECE ikon (orantisizlik + "ustunde durma" giderildi) */
.vp-style-circles .vp-play {
    width: 52px; height: 52px; border-radius: 50%; padding: 0; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center; font-size: 17px;
    background: rgba(255,255,255,0.92); color: #111; border: 2px solid rgba(255,255,255,0.55);
    box-shadow: 0 3px 12px rgba(0,0,0,0.5);
}
.vp-style-circles .vp-play span { display: none; }                                       /* "Oynat" yazisi yok, sadece uctun ikonu */
.vp-style-circles .vp-play.playing { background: rgba(255,165,0,0.95); color: #111; }
.vp-style-circles #vp-prev, .vp-style-circles #vp-next { display: none; }                /* thumbnail'e dokun = navigasyon */
/* Aktif viewpoint adi: HER ZAMAN gorunur, bar'in ustunde ortali (mobilde takilmaz, kesilmez) */
.vp-style-circles .vp-active-label {
    position: absolute; bottom: calc(100% + 3px); left: 50%; transform: translateX(-50%);
    max-width: 78vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    background: rgba(255,255,255,0.96); color: #111; padding: 4px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 600; box-shadow: 0 3px 12px rgba(0,0,0,0.4);
    pointer-events: none;
}
/* Mobil: circles kartlari YUVARLAK kalir (genel "body.touch-device .vp-card{width:100px}" cards-override'i circles'a sizmasin) */
body.touch-device .vp-style-circles .vp-card { width: 52px; height: 52px; }
/* Mobil: dar barda thumbnail satiri KAYAR, Oynat sagda sabit kalir -> Oynat kartlarin ustune BINMEZ */
body.touch-device .vp-style-circles .vp-nums { flex: 1 1 0; min-width: 0; }

/* --- CAROUSEL: tek buyuk kart + prev/next ok + nokta gostergeleri + etiket --- */
.viewpoint-bar.vp-style-carousel {
    background: transparent; border: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    flex-direction: column; gap: 8px; padding: 0; bottom: 24px;
}
.vp-carousel-stage { position: relative; width: 300px; max-width: 78vw; }
.vp-carousel-card {
    width: 100%; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden;
    background: #222 center/cover no-repeat; cursor: pointer; position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.15);
}
.vp-carousel-card .vp-cc-label {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 14px 12px; color: #fff;
    font-size: 17px; font-weight: 700; text-align: center; letter-spacing: 0.5px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}
.vp-carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
    background: rgba(20,20,22,0.7); border: 1px solid rgba(255,255,255,0.25); color: #fff; font-size: 22px;
    cursor: pointer; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px);
    transition: background 0.15s; z-index: 2;
}
.vp-carousel-arrow:hover { background: rgba(40,40,44,0.9); }
.vp-carousel-prev { left: -60px; } .vp-carousel-next { right: -60px; }
.vp-carousel-dots { display: flex; gap: 8px; justify-content: center; align-items: center; }
.vp-carousel-count { color: #fff; font-size: 12px; opacity: 0.8; margin-right: 8px; letter-spacing: 1px; }
.vp-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; transition: all 0.15s; border: none; padding: 0; }
.vp-dot.active { background: #fff; transform: scale(1.3); }
.vp-style-carousel .vp-play { position: absolute; bottom: 0; right: -60px; }
body.touch-device .viewpoint-bar.vp-style-carousel { left: 50%; right: auto; transform: translateX(-50%); bottom: 16px; }
body.touch-device .vp-carousel-prev { left: 6px; } body.touch-device .vp-carousel-next { right: 6px; }
body.touch-device .vp-carousel-stage { width: 220px; }
