.cve,
.cve * {
    box-sizing: border-box;
}

.cve {
    --cve-ivory: #f4f0e7;
    --cve-warm: #c6a56f;
    --cve-ink: #111310;
    --cve-glass: rgba(16, 17, 15, 0.72);
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    height: 100svh;
    min-height: 620px;
    margin-left: -50vw;
    overflow: hidden;
    isolation: isolate;
    color: var(--cve-ivory);
    background: #111;
    font-family: Questrial, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.4;
}

.cve:fullscreen,
.cve.cve--fullscreen,
.cve.cve--pseudo-fullscreen {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
}

.cve.cve--pseudo-fullscreen {
    position: fixed !important;
    z-index: 2147483000 !important;
    inset: 0 !important;
    left: 0 !important;
    max-width: none !important;
    margin: 0 !important;
}

html.cve-page-lock,
html.cve-page-lock body {
    overflow: hidden !important;
}

.cve__canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.cve__canvas.is-dragging {
    cursor: grabbing;
}

.cve__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(7, 8, 7, 0.64) 0%, transparent 22%, transparent 65%, rgba(5, 6, 5, 0.70) 100%),
        linear-gradient(90deg, rgba(5, 6, 5, 0.24), transparent 25%, transparent 75%, rgba(5, 6, 5, 0.20));
}

.cve__topbar {
    position: absolute;
    z-index: 8;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 28px 32px;
    pointer-events: none;
}

.cve__brand {
    display: flex;
    flex-direction: column;
    gap: 1px;
    letter-spacing: 0.24em;
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
}

.cve__brand-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    letter-spacing: 0.27em;
}

.cve__brand-sub {
    color: rgba(244, 240, 231, 0.68);
    font-size: 8px;
    letter-spacing: 0.31em;
}

.cve__controls {
    display: flex;
    gap: 9px;
    pointer-events: auto;
}

.cve__control {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    color: #fff;
    background: rgba(10, 11, 10, 0.34);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.cve__control:hover,
.cve--gyro .cve__control--gyro {
    border-color: var(--cve-warm);
    background: rgba(198, 165, 111, 0.22);
    transform: translateY(-1px);
}

.cve__control span {
    font-size: 19px;
    line-height: 1;
}

.cve__scene-meta {
    position: absolute;
    z-index: 5;
    left: 32px;
    bottom: 102px;
    max-width: 430px;
    pointer-events: none;
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.52);
}

.cve__eyebrow,
.cve__counter {
    display: block;
    color: rgba(244, 240, 231, 0.70);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.cve__scene-title {
    margin: 7px 0 9px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 49px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.03;
}

.cve__counter {
    color: var(--cve-warm);
    letter-spacing: 0.16em;
}

.cve__dock {
    position: absolute;
    z-index: 12;
    left: 50%;
    bottom: 26px;
    width: min(510px, calc(100% - 64px));
    transform: translateX(-50%);
}

.cve__dock-toggle {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 2px;
    color: #fff;
    background: var(--cve-glass);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    font: inherit;
    font-size: 12px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    cursor: pointer;
}

.cve__dock-toggle > span:last-child {
    color: var(--cve-warm);
    font-size: 16px;
    transition: transform 220ms ease;
}

.cve--dock-open .cve__dock-toggle > span:last-child {
    transform: rotate(180deg);
}

.cve__scene-list {
    position: absolute;
    right: 0;
    bottom: 58px;
    left: 0;
    max-height: min(55vh, 410px);
    padding: 8px;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 2px;
    opacity: 0;
    visibility: hidden;
    background: rgba(14, 15, 13, 0.91);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    transform: translateY(10px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.cve--dock-open .cve__scene-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cve__scene-button {
    display: grid;
    width: 100%;
    grid-template-columns: 38px 1fr;
    align-items: center;
    padding: 13px 14px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease;
}

.cve__scene-button:last-child {
    border-bottom: 0;
}

.cve__scene-button span {
    color: rgba(198, 165, 111, 0.74);
    font-size: 9px;
    letter-spacing: 0.15em;
}

.cve__scene-button strong {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.cve__scene-button:hover,
.cve__scene-button.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.055);
}

.cve__scene-button.is-active strong::after {
    content: " · ora";
    color: var(--cve-warm);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cve__hotspots {
    position: absolute;
    inset: 0;
    z-index: 6;
    overflow: hidden;
    pointer-events: none;
}

.cve__hotspot {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    border: 0;
    opacity: 0;
    color: #fff;
    background: transparent;
    pointer-events: none;
    cursor: pointer;
    transform-origin: 0 0;
    transition: opacity 180ms ease;
}

.cve__hotspot.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.cve__hotspot--scene {
    display: grid;
    width: 56px;
    height: 56px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    background: rgba(17, 19, 16, 0.68);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    translate: -28px -28px;
}

.cve__hotspot--scene .cve__hotspot-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
}

.cve__hotspot-symbol {
    position: relative;
    z-index: 2;
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    font-size: 24px;
    font-weight: 200;
    line-height: 1;
}

.cve__hotspot--info {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 50%;
    background: rgba(17, 19, 16, 0.64);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    translate: -23px -23px;
}

.cve__hotspot-pulse {
    position: relative;
    display: block;
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: var(--cve-warm);
    box-shadow: 0 0 0 5px rgba(198, 165, 111, 0.16);
}

.cve__hotspot-pulse::before {
    content: "";
    position: absolute;
    inset: -6px;
    border: 1px solid rgba(198, 165, 111, 0.65);
    border-radius: 50%;
    animation: cve-pulse 2.3s ease-out infinite;
}

@keyframes cve-pulse {
    0% { opacity: 0.95; transform: scale(0.55); }
    75%, 100% { opacity: 0; transform: scale(1.8); }
}

.cve__hotspot-label {
    position: absolute;
    top: 50%;
    left: 66px;
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 2px;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    background: rgba(17, 19, 16, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    white-space: nowrap;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    translate: 0 -50%;
    transition: max-width 220ms ease, opacity 180ms ease;
}

.cve__hotspot--scene:hover .cve__hotspot-label {
    max-width: 220px;
    opacity: 1;
}

.cve__hotspot-plus {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 20px;
    font-weight: 300;
}

.cve__info {
    position: absolute;
    z-index: 15;
    right: 28px;
    bottom: 28px;
    width: min(390px, calc(100% - 56px));
    padding: 31px 30px 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    opacity: 0;
    visibility: hidden;
    background: rgba(19, 20, 17, 0.90);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    transform: translateY(16px);
    transition: opacity 230ms ease, transform 230ms ease, visibility 230ms ease;
}

.cve--info-open .cve__info {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cve__info-close {
    position: absolute;
    top: 11px;
    right: 13px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
    font-size: 25px;
    font-weight: 200;
    cursor: pointer;
}

.cve__info-kicker {
    color: var(--cve-warm);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.cve__info-title {
    margin: 9px 0 12px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
}

.cve__info-text {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.65;
}

.cve__info-link {
    display: inline-flex;
    gap: 16px;
    align-items: center;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(198, 165, 111, 0.65);
    color: #fff !important;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-decoration: none !important;
    text-transform: uppercase;
}

.cve__info-link span {
    color: var(--cve-warm);
    font-size: 15px;
}

.cve__hint {
    position: absolute;
    z-index: 7;
    top: 50%;
    left: 50%;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 999px;
    opacity: 0;
    background: rgba(12, 13, 12, 0.60);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none;
    transform: translate(-50%, -30%);
    transition: opacity 380ms ease, transform 380ms ease;
}

.cve__hint.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.cve__hint-icon {
    color: var(--cve-warm);
    font-size: 18px;
}

.cve__loader {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    background: #121310;
    transition: opacity 260ms ease, visibility 260ms ease;
}

.cve--loading .cve__loader {
    opacity: 1;
    visibility: visible;
}

.cve__loader-mark {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-style: italic;
}

.cve__loader-line {
    display: block;
    width: 130px;
    height: 1px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
}

.cve__loader-line span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--cve-warm);
    transition: width 260ms ease;
}

.cve__intro {
    position: absolute;
    inset: 0;
    z-index: 24;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px;
    background:
        linear-gradient(90deg, rgba(9, 10, 9, 0.86), rgba(9, 10, 9, 0.48) 52%, rgba(9, 10, 9, 0.30)),
        linear-gradient(0deg, rgba(8, 9, 8, 0.35), transparent);
    transition: opacity 800ms cubic-bezier(.2,.7,.2,1), visibility 800ms ease;
}

.cve--started .cve__intro {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cve__intro-inner {
    width: min(760px, 100%);
    text-align: center;
}

.cve__intro-kicker {
    display: block;
    margin-bottom: 25px;
    color: var(--cve-warm);
    font-size: 10px;
    letter-spacing: 0.26em;
}

.cve__intro h1 {
    max-width: 760px;
    margin: 0 auto 19px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(43px, 7vw, 82px);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.cve__intro p {
    margin: 0 0 33px;
    color: rgba(244, 240, 231, 0.73);
    font-size: clamp(13px, 1.7vw, 17px);
    letter-spacing: 0.04em;
}

.cve__enter {
    display: inline-flex;
    min-width: 265px;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    padding: 0 21px 0 25px;
    border: 1px solid rgba(244, 240, 231, 0.56);
    color: #fff;
    background: rgba(19, 20, 17, 0.26);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font: inherit;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.cve__enter:hover {
    border-color: var(--cve-warm);
    background: rgba(198, 165, 111, 0.16);
    transform: translateY(-2px);
}

.cve__enter-arrow {
    color: var(--cve-warm);
    font-size: 18px;
}

.cve__intro-note {
    display: block;
    margin-top: 18px;
    color: rgba(244, 240, 231, 0.44);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.cve--error .cve__loader {
    opacity: 1;
    visibility: visible;
    color: #fff;
}

@media (max-width: 767px) {
    .cve {
        height: 100vh;
        height: 100svh;
        min-height: 570px;
    }

    .cve__topbar {
        padding: 20px;
    }

    .cve__brand-name {
        font-size: 17px;
    }

    .cve__control {
        width: 39px;
        height: 39px;
    }

    .cve__scene-meta {
        left: 20px;
        bottom: 91px;
        max-width: calc(100% - 40px);
    }

    .cve__scene-title {
        margin-top: 5px;
        font-size: 31px;
    }

    .cve__dock {
        bottom: 18px;
        width: calc(100% - 40px);
    }

    .cve__dock-toggle {
        min-height: 48px;
        padding: 0 16px;
        font-size: 10px;
    }

    .cve__intro {
        padding: 30px 22px;
    }

    .cve__intro h1 {
        font-size: clamp(41px, 13vw, 61px);
    }

    .cve__enter {
        min-width: min(280px, 100%);
    }

    .cve__hotspot--scene .cve__hotspot-label {
        display: none;
    }

    .cve__hotspot--scene {
        width: 52px;
        height: 52px;
        padding: 0;
        translate: -26px -26px;
    }

    .cve__info {
        right: 20px;
        bottom: 20px;
        width: calc(100% - 40px);
        padding: 28px 24px 24px;
    }

    .cve--info-open .cve__scene-meta,
    .cve--info-open .cve__dock {
        opacity: 0;
        pointer-events: none;
    }
}

@media (max-height: 680px) and (min-width: 768px) {
    .cve {
        min-height: 560px;
    }

    .cve__scene-meta {
        bottom: 90px;
    }

    .cve__dock {
        bottom: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cve *,
    .cve *::before,
    .cve *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
