.panorama-experience {
    margin: 0 auto 4rem;
    max-width: 1240px;
    padding: 0 1rem;
    text-align: left;
}

.panorama-intro {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 24px;
    box-shadow: 0 28px 60px rgba(68, 44, 21, 0.14);
    margin-bottom: 1.5rem;
    overflow: hidden;
    padding: 1.5rem;
    position: relative;
}

.panorama-intro::before {
    background: linear-gradient(90deg, rgba(185, 141, 79, 0.24), rgba(185, 141, 79, 0));
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.panorama-intro-kicker,
.panorama-gallery-label {
    color: #b98d4f;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
}

.panorama-intro h3,
.panorama-current-title {
    color: #2a1f16;
    font-family: "Playfair Display", serif;
    margin: 0;
}

.panorama-intro h3 {
    font-size: clamp(1.85rem, 4vw, 3rem);
    line-height: 1.1;
    max-width: 14ch;
}

.panorama-intro p,
.panorama-gallery-hint {
    color: #5f5245;
    margin: 1rem 0 0;
}

.panorama-viewer-card,
.panorama-gallery-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    box-shadow: 0 28px 60px rgba(68, 44, 21, 0.14);
    overflow: hidden;
}

.panorama-viewer-card {
    margin-bottom: 1.5rem;
    position: relative;
}

.panorama-surface {
    aspect-ratio: 16 / 9;
    background: #1c1b19;
    min-height: 55vh;
    width: 100%;
}

.panorama-status {
    align-items: center;
    background: rgba(42, 31, 22, 0.8);
    border-radius: 999px;
    bottom: 1rem;
    color: #fff8ef;
    display: inline-flex;
    font-size: 0.92rem;
    font-weight: 600;
    gap: 0.5rem;
    left: 1rem;
    max-width: calc(100% - 2rem);
    padding: 0.85rem 1.1rem;
    position: absolute;
    z-index: 2;
}

.panorama-status[data-tone="error"] {
    background: rgba(108, 32, 18, 0.92);
}

.panorama-gallery-card {
    padding: 1.25rem;
}

.panorama-gallery-head {
    align-items: end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.panorama-current-title {
    font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.panorama-gallery-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.panorama-thumb {
    background: #f7f2eb;
    border: 1px solid transparent;
    border-radius: 18px;
    color: #2a1f16;
    cursor: pointer;
    display: grid;
    gap: 0.75rem;
    padding: 0.75rem;
    text-align: left;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.panorama-thumb:hover {
    border-color: rgba(185, 141, 79, 0.42);
    box-shadow: 0 12px 30px rgba(68, 44, 21, 0.1);
    transform: translateY(-2px);
}

.panorama-thumb:focus-visible {
    outline: 2px solid #b98d4f;
    outline-offset: 3px;
}

.panorama-thumb.is-active {
    background: #fffaf3;
    border-color: rgba(185, 141, 79, 0.9);
    box-shadow: inset 0 0 0 1px rgba(185, 141, 79, 0.15);
}

.panorama-thumb img {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    display: block;
    object-fit: cover;
    width: 100%;
}

.panorama-thumb span {
    font-size: 0.95rem;
    font-weight: 600;
}

@media (max-width: 720px) {
    .panorama-experience {
        padding: 0 0.75rem;
    }

    .panorama-intro,
    .panorama-gallery-card {
        padding: 1rem;
    }

    .panorama-gallery-head {
        align-items: start;
        flex-direction: column;
    }

    .panorama-surface {
        aspect-ratio: 4 / 5;
        min-height: 50vh;
    }
}
