:root {
    --vg-gold: #c9a227;
    --vg-gold-dark: #a8861a;
    --vg-gold-soft: #f3ead4;
    --vg-ink: #1c1917;
    --vg-muted: #78716c;
    --vg-bg: #faf8f4;
    --vg-card: #ffffff;
    --vg-radius: 16px;
    --vg-radius-sm: 12px;
    --vg-shadow: 0 8px 32px rgba(28, 25, 23, 0.08);
    --vg-safe-bottom: env(safe-area-inset-bottom, 0px);
    --font-serif: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
    max-width: 100%;
}

body.vg-body {
    margin: 0;
    font-family: var(--font-sans);
    background: var(--vg-bg);
    color: var(--vg-ink);
    line-height: 1.5;
    min-height: 100dvh;
    overflow-x: clip;
    overscroll-behavior-x: none;
    max-width: 100%;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* —— Home —— */
.vg-home-header {
    padding: max(1.25rem, env(safe-area-inset-top)) 1.25rem 1rem;
    text-align: center;
}

.vg-logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

.vg-logo span { color: var(--vg-gold-dark); }

.vg-home-tagline {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    color: var(--vg-muted);
}

.vg-list {
    padding: 0 1rem 2rem;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.vg-place-card {
    background: var(--vg-card);
    border-radius: var(--vg-radius);
    overflow: hidden;
    box-shadow: var(--vg-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vg-place-card:active { transform: scale(0.98); }

.vg-place-card__img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
    background: var(--vg-gold-soft);
}

.vg-place-card__body { padding: 1rem 1.15rem 1.15rem; }

.vg-place-card__title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.vg-place-card__meta {
    font-size: 0.8rem;
    color: var(--vg-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.vg-place-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* —— Tour detail hero —— */
.vg-tour {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: calc(2rem + var(--vg-safe-bottom));
    overflow-x: clip;
}

.vg-hero {
    position: relative;
    height: min(52vh, 380px);
    background: #2a2520;
}

.vg-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vg-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 40%, rgba(0,0,0,0.15) 100%);
    pointer-events: none;
}

.vg-hero__nav {
    position: absolute;
    top: max(0.75rem, env(safe-area-inset-top));
    left: 0;
    right: 0;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.vg-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.92);
    color: var(--vg-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
}

.vg-icon-btn svg { width: 20px; height: 20px; }

.vg-hero__actions { display: flex; gap: 0.5rem; }

.vg-sheet {
    margin-top: -28px;
    position: relative;
    z-index: 1;
    background: var(--vg-bg);
    border-radius: 28px 28px 0 0;
    padding: 1.5rem 1.25rem 0;
}

.vg-tour-title {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.vg-tour-sub {
    margin: 0.4rem 0 0;
    font-size: 0.85rem;
    color: var(--vg-muted);
}

.vg-tour-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.vg-tour-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    flex-shrink: 0;
    justify-content: flex-end;
}

.vg-map-pill {
    flex-shrink: 0;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: var(--vg-gold-soft);
    color: var(--vg-gold-dark);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(201, 162, 39, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.2;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.vg-map-pill:active {
    transform: scale(0.97);
}

.vg-map-pill.is-active {
    background: var(--vg-gold);
    color: #1c1917;
    border-color: var(--vg-gold-dark);
}

.vg-map-pill--route {
    background: var(--vg-card);
    color: var(--vg-ink);
    border-color: rgba(28, 25, 23, 0.12);
}

.vg-detail-map-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s ease,
                margin 0.35s ease;
}

.vg-detail-map-panel.is-open {
    max-height: 320px;
    opacity: 1;
    margin: 0 0 1.25rem;
}

.vg-detail-map-panel .vg-map {
    height: 280px;
}

body.vg-lightbox-open {
    overflow: hidden;
}

.vg-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
}

.vg-lightbox[hidden] {
    display: none !important;
}

.vg-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 25, 23, 0.55);
    backdrop-filter: blur(4px);
}

.vg-lightbox__sheet {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    background: var(--vg-card);
    border-radius: var(--vg-radius) var(--vg-radius) 0 0;
    padding: 1.25rem 1.25rem max(1.25rem, env(safe-area-inset-bottom));
    box-shadow: 0 -12px 40px rgba(28, 25, 23, 0.2);
    animation: vg-sheet-up 0.35s ease;
}

@keyframes vg-sheet-up {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.vg-lightbox__close {
    position: absolute;
    top: 0.65rem;
    right: 0.85rem;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--vg-muted);
    cursor: pointer;
    padding: 0.25rem;
}

.vg-lightbox__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 2rem 0.35rem 0;
    line-height: 1.3;
}

.vg-lightbox__sub {
    font-size: 0.85rem;
    color: var(--vg-muted);
    margin: 0 0 1rem;
}

.vg-lightbox__hint {
    font-size: 0.8rem;
    color: var(--vg-muted);
    margin: 0.75rem 0 0;
    min-height: 1.2em;
}

.vg-pretour-cta {
    margin-top: 1rem;
    text-align: center;
}

.vg-pretour-btn {
    display: inline-block;
    max-width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(201, 162, 39, 0.45);
    border-radius: 999px;
    background: #fff;
    color: var(--vg-gold-dark);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 2px 10px rgba(28, 25, 23, 0.06);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.vg-pretour-btn:hover {
    background: var(--vg-gold-soft);
    border-color: var(--vg-gold);
}

.vg-lightbox__sheet--pretour {
    max-height: min(85vh, 640px);
    overflow-y: auto;
}

.vg-pretour-body {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--vg-ink);
    white-space: pre-line;
}

.vg-directions-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vg-directions-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(28, 25, 23, 0.1);
    border-radius: var(--vg-radius-sm);
    background: var(--vg-bg);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--vg-ink);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.vg-directions-item:active {
    background: var(--vg-gold-soft);
    border-color: rgba(201, 162, 39, 0.45);
}

@media (min-width: 520px) {
    .vg-lightbox {
        align-items: center;
    }

    .vg-lightbox__sheet {
        border-radius: var(--vg-radius);
        margin-bottom: 0;
    }
}

.vg-directions-item__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: var(--vg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.vg-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin: 1.25rem 0;
    padding: 0;
    list-style: none;
}

.vg-stats li {
    flex: 1 1 4.5rem;
    min-width: 4.5rem;
    max-width: 5.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    color: var(--vg-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.vg-stats strong {
    font-size: 1rem;
    color: var(--vg-ink);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

.vg-stats svg { width: 22px; height: 22px; color: var(--vg-gold-dark); }

.vg-offer {
    border: 1.5px solid var(--vg-gold);
    border-radius: var(--vg-radius);
    padding: 1.15rem 1.2rem;
    background: var(--vg-card);
    margin-bottom: 1.75rem;
}

.vg-offer__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.vg-offer__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--vg-muted);
    margin: 0;
}

.vg-offer__name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0.15rem 0 0;
}

.vg-offer__price {
    text-align: right;
}

.vg-offer__price del {
    display: block;
    font-size: 0.75rem;
    color: var(--vg-muted);
}

.vg-offer__price em {
    font-style: normal;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ea580c;
}

.vg-offer__price small {
    display: block;
    font-size: 0.65rem;
    color: #ea580c;
}

.vg-offer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.82rem;
    color: var(--vg-ink);
}

.vg-offer li {
    padding: 0.35rem 0 0.35rem 1.5rem;
    position: relative;
}

.vg-offer li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--vg-gold-dark);
    font-weight: 700;
}

.vg-section-title {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--vg-muted);
    margin: 0 0 0.85rem;
}

.vg-section-title span { font-weight: 400; }

/* Horizontal carousel — negatif margin yok (mobilde tüm sayfa sağa kayıyordu) */
.vg-carousel {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 1.25rem 1.5rem;
    padding-inline: max(1.35rem, env(safe-area-inset-left, 0px)) max(1.25rem, env(safe-area-inset-right, 0px));
    scroll-padding-inline: max(1.35rem, env(safe-area-inset-left, 0px)) 1.25rem;
    scrollbar-width: none;
}

.vg-carousel::-webkit-scrollbar { display: none; }

.vg-carousel--last { padding-bottom: 2.5rem; }

.vg-content-page .vg-content-place {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--vg-muted);
    margin: 0 0 0.35rem;
}

.vg-content-desc {
    margin: 0.75rem 0;
    color: var(--vg-ink);
}

.vg-content-info {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: var(--vg-muted);
}

.vg-content-page .vg-audio-panel {
    margin: 1rem 0 1.25rem;
}

.vg-content-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

.vg-content-gallery img {
    border-radius: var(--vg-radius-sm);
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
}

.vg-stop-card {
    flex: 0 0 42%;
    max-width: 168px;
    scroll-snap-align: start;
    background: var(--vg-card);
    border-radius: var(--vg-radius-sm);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(28, 25, 23, 0.06);
}

.vg-stop-card__img-wrap {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--vg-gold-soft);
}

.vg-listen-tick {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    z-index: 3;
    pointer-events: none;
}

.vg-listen-tick svg {
    width: 13px;
    height: 13px;
}

.vg-listen-tick--strip {
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
}

.vg-listen-tick--strip svg {
    width: 11px;
    height: 11px;
}

.vg-strip-item__img {
    position: relative;
}

.vg-stop-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vg-stop-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.12);
}

.vg-stop-card__play span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--vg-gold);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.45);
}

.vg-stop-card__play svg { width: 22px; height: 22px; margin-left: 3px; }

.vg-stop-card__label {
    padding: 0.65rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

/* —— Tour player (single-page, stop switching) —— */
.vg-player-page {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100dvh;
    background: var(--vg-bg);
    padding-bottom: calc(7.5rem + var(--vg-safe-bottom));
}

.vg-player-hero {
    position: relative;
    height: min(38vh, 320px);
    background: #2a2520;
}

.vg-player-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vg-player-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 35%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
}

.vg-player-hero__caption {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0 1rem;
    text-align: center;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.92);
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    z-index: 2;
}

.vg-player-hero__nav {
    position: absolute;
    top: max(0.65rem, env(safe-area-inset-top));
    left: 0;
    right: 0;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    z-index: 3;
}

.vg-icon-btn--glass {
    background: rgba(255,255,255,0.88);
}

.vg-icon-btn--gold {
    background: var(--vg-gold);
    color: #1c1917;
}

.vg-player-main {
    padding: 1.15rem 1.25rem 0;
}

.vg-lang-bar--left { justify-content: flex-start; padding: 0 0 0.5rem; }

.vg-player-title {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.vg-player-sub {
    margin: 0 0 1.1rem;
    font-size: 0.8rem;
    color: var(--vg-muted);
}

.vg-audio-panel { margin-bottom: 1.25rem; }

.vg-offer .vg-audio-panel {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.vg-transport--standalone {
    justify-content: center;
    gap: 1.25rem;
}

.vg-progress {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.vg-progress__time {
    font-size: 0.65rem;
    color: var(--vg-muted);
    font-variant-numeric: tabular-nums;
    min-width: 2.2rem;
}

.vg-progress__track {
    flex: 1;
    height: 4px;
    background: #e7e5e4;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.vg-progress__fill {
    height: 100%;
    background: var(--vg-ink);
    border-radius: 4px;
    width: 0;
}

.vg-progress__thumb {
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    background: var(--vg-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.vg-transport {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.vg-transport__btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--vg-ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.vg-transport__btn svg { width: 22px; height: 22px; }

.vg-transport__btn span {
    font-size: 0.55rem;
    font-weight: 700;
    margin-top: -2px;
}

.vg-transport__play {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: var(--vg-gold);
    color: #1c1917;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.25rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

.vg-transport__play svg { width: 28px; height: 28px; margin-left: 3px; }

.vg-audio-extra {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.vg-audio-extra .vg-auto-advance {
    margin-left: auto;
}

.vg-audio-extra--standalone {
    justify-content: flex-start;
}

.vg-stop-card__meta {
    font-size: 0.7rem;
    color: var(--vg-muted);
    margin: 0.15rem 0.5rem 0.5rem;
    line-height: 1.3;
}

.vg-audio-extra__btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--vg-muted);
    cursor: pointer;
}

.vg-audio-extra__btn svg { width: 22px; height: 22px; }

.vg-speed {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--vg-ink);
}

.vg-speed button {
    width: 28px;
    height: 28px;
    border: 1px solid #e7e5e4;
    border-radius: 6px;
    background: var(--vg-card);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.vg-auto-advance {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.7rem;
    border-radius: 8px;
    border: 1px solid var(--vg-gold-soft);
    background: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--vg-muted);
    cursor: pointer;
}

.vg-auto-advance.is-on {
    background: var(--vg-gold-soft);
    color: var(--vg-gold-dark);
    border-color: rgba(201, 162, 39, 0.4);
}

.vg-map-wrap {
    margin: 0 0 1rem;
    border-radius: var(--vg-radius);
    overflow: hidden;
    box-shadow: var(--vg-shadow);
}

.vg-map {
    height: 220px;
    width: 100%;
    z-index: 1;
}

.vg-map-marker {
    background: transparent;
    border: none;
}

.vg-map-marker span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #1c1917;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.vg-map-marker.is-active span {
    background: var(--vg-gold);
    color: #1c1917;
    font-size: 0.85rem;
    border-width: 3px;
}

.vg-section-title--stops {
    padding: 0 0 0.5rem;
}

.vg-stops-strip {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding: 0.75rem 1rem calc(0.75rem + var(--vg-safe-bottom));
    background: linear-gradient(180deg, transparent, var(--vg-bg) 12%, var(--vg-bg) 100%);
    scrollbar-width: none;
    z-index: 50;
    -webkit-overflow-scrolling: touch;
}

.vg-stops-strip::-webkit-scrollbar { display: none; }

.vg-strip-item {
    flex: 0 0 72px;
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    scroll-snap-align: center;
}

.vg-strip-item__img {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
}

.vg-strip-item.is-active .vg-strip-item__img {
    border-color: var(--vg-gold);
    transform: scale(1.05);
}

.vg-strip-item__img img,
.vg-strip-item__img .vg-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    font-size: 1.25rem;
}

.vg-strip-item__num {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

#player-audio { display: none; }

.vg-lang-bar {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem 0;
}

.vg-lang-bar a {
    padding: 0.35rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 6px;
    color: var(--vg-muted);
}

.vg-lang-bar a.is-active {
    background: var(--vg-gold-soft);
    color: var(--vg-gold-dark);
}

/* Tur detayı — yalnızca yuvarlak bayraklar */
.cece-lang-picker {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cece-lang-picker__flag {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(28, 25, 23, 0.12);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cece-lang-picker__flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cece-lang-picker__flag.is-active {
    border-color: var(--vg-gold);
    box-shadow: 0 0 0 1px var(--vg-gold-soft);
}

.vg-placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--vg-gold-soft), #e7dcc4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vg-gold-dark);
    font-size: 2rem;
}

/* —— Üyelik / giriş —— */
.vg-auth {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1.25rem calc(1.5rem + var(--vg-safe-bottom));
}

.vg-auth__card {
    width: 100%;
    max-width: 400px;
    background: var(--vg-card);
    border-radius: var(--vg-radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--vg-shadow);
}

.vg-auth__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.vg-auth__lead {
    margin: 0 0 1.25rem;
    font-size: 0.9rem;
    color: var(--vg-muted);
    line-height: 1.45;
}

.vg-auth__form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.vg-auth__field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--vg-muted);
}

.vg-auth__field input {
    font: inherit;
    font-weight: 400;
    color: var(--vg-ink);
    padding: 0.65rem 0.75rem;
    border: 1px solid #e7e5e4;
    border-radius: 10px;
    background: var(--vg-bg);
}

.vg-auth__check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--vg-muted);
}

.vg-auth__submit {
    margin-top: 0.25rem;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 12px;
    background: var(--vg-gold);
    color: #1c1917;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}

.vg-auth__errors {
    margin: 0;
    padding: 0.65rem 0.75rem;
    background: #fef2f2;
    border-radius: 8px;
    color: #b91c1c;
    font-size: 0.85rem;
    list-style: none;
}

.vg-auth__footer {
    margin: 1rem 0 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--vg-muted);
}

.vg-auth__footer a {
    color: var(--vg-gold-dark);
    font-weight: 600;
}

.vg-member-gate {
    padding: 1rem;
    border-radius: var(--vg-radius-sm);
    background: var(--vg-gold-soft);
    border: 1px solid rgba(201, 162, 39, 0.35);
    text-align: center;
}

.vg-member-gate__text {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    color: var(--vg-ink);
}

.vg-member-gate__btn {
    display: inline-block;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: var(--vg-gold);
    color: #1c1917;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
}

.vg-hero__login,
.vg-hero__user {
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--vg-ink);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-family: inherit;
}

.vg-hero__logout {
    margin: 0;
    padding: 0;
}

/* Üye menüsü (paylaş butonunun sağında) */
.vg-hero__actions {
    align-items: center;
}

.vg-member-menu {
    position: relative;
}

.vg-member-menu__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--vg-ink);
    font-size: 0.75rem;
    font-weight: 600;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-family: inherit;
}

.vg-member-menu__chevron {
    width: 0.85rem;
    height: 0.85rem;
    transition: transform 0.2s ease;
}

.vg-member-menu.is-open .vg-member-menu__chevron {
    transform: rotate(180deg);
}

.vg-member-menu__panel {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    min-width: 11.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    padding: 0.35rem 0;
    z-index: 30;
}

.vg-member-menu__item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--vg-ink);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.vg-member-menu__item:hover,
.vg-member-menu__item:focus-visible {
    background: #f5f0e8;
}

.vg-member-menu__item--danger {
    color: #b91c1c;
}

.vg-member-menu__divider {
    height: 1px;
    background: #e7e0d4;
    margin: 0.25rem 0;
}

.vg-member-menu__logout {
    margin: 0;
    padding: 0;
}

/* Hesabım paneli */
.vg-account {
    max-width: 480px;
    margin: 0 auto;
    padding: 1rem 1rem 3rem;
}

.vg-account__top {
    margin-bottom: 1rem;
}

.vg-account__back {
    font-size: 0.8rem;
    color: var(--vg-muted);
    text-decoration: none;
}

.vg-account__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.35rem 0 0;
}

.vg-account__alert {
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.vg-account__alert--ok {
    background: #ecfdf5;
    color: #065f46;
}

.vg-account__nav {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    margin-bottom: 1.25rem;
    -webkit-overflow-scrolling: touch;
}

.vg-account__nav-link {
    flex-shrink: 0;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--vg-muted);
    background: #f0ebe3;
}

.vg-account__nav-link.is-active {
    background: var(--vg-ink);
    color: #fff;
}

.vg-account-panel {
    background: #fff;
    border-radius: 16px;
    padding: 1.1rem 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.vg-account-panel__welcome {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.vg-account-panel__meta,
.vg-account-panel__lead {
    font-size: 0.85rem;
    color: var(--vg-muted);
    margin: 0 0 0.75rem;
}

.vg-account-panel__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.vg-account-panel__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.vg-account-panel__subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
}

.vg-account-panel__link,
.vg-account-panel__back {
    font-size: 0.8rem;
    color: var(--vg-accent, #b45309);
    text-decoration: none;
    font-weight: 600;
}

.vg-account-panel__empty {
    font-size: 0.88rem;
    color: var(--vg-muted);
    line-height: 1.5;
    margin: 0 0 1rem;
}

.vg-account-panel__cta {
    display: inline-block;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: var(--vg-ink);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.5rem;
}

.vg-account-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.vg-account-stat {
    text-align: center;
    padding: 0.65rem 0.25rem;
    background: #faf8f4;
    border-radius: 12px;
}

.vg-account-stat__value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.vg-account-stat__label {
    display: block;
    font-size: 0.65rem;
    color: var(--vg-muted);
    margin-top: 0.2rem;
    line-height: 1.2;
}

.vg-account-tour-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vg-account-tour-list__item + .vg-account-tour-list__item {
    margin-top: 0.65rem;
}

.vg-account-tour-card {
    display: flex;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.vg-account-tour-card__img {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.vg-account-tour-card__body {
    flex: 1;
    min-width: 0;
}

.vg-account-tour-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.2rem;
}

.vg-account-tour-card__meta {
    font-size: 0.75rem;
    color: var(--vg-muted);
    margin: 0 0 0.35rem;
}

.vg-account-tour-card__link {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--vg-accent, #b45309);
}

.vg-account-progress {
    height: 4px;
    background: #e7e0d4;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.vg-account-progress__bar {
    height: 100%;
    background: linear-gradient(90deg, #d97706, #f59e0b);
    border-radius: 4px;
}

.vg-account-tour-head {
    display: flex;
    gap: 0.85rem;
}

.vg-account-tour-head__img {
    width: 5rem;
    height: 5rem;
    border-radius: 12px;
    object-fit: cover;
}

.vg-account-stop-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vg-account-stop-list__item {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f0ebe3;
    font-size: 0.85rem;
}

.vg-account-stop-list__title {
    font-weight: 500;
}

.vg-account-stop-list__time {
    color: var(--vg-muted);
    font-size: 0.75rem;
    white-space: nowrap;
}

.vg-account-form .is-readonly {
    opacity: 0.75;
    background: #f5f0e8;
}

.vg-account-form__hint {
    display: block;
    font-size: 0.72rem;
    color: var(--vg-muted);
    margin-top: 0.25rem;
}

.vg-auth__submit--secondary {
    background: #fff;
    color: var(--vg-ink);
    border: 2px solid var(--vg-ink);
}

@media (min-width: 481px) {
    .vg-home-header, .vg-list, .vg-player-page { max-width: 480px; }
}
