:root {
    --lsk-lab-bg: #121923;
    --lsk-lab-panel: rgba(17, 24, 35, 0.62);
    --lsk-lab-panel-strong: rgba(13, 19, 28, 0.72);
    --lsk-lab-surface: rgba(255, 255, 255, 0.08);
    --lsk-lab-surface-strong: rgba(255, 255, 255, 0.14);
    --lsk-lab-text: #f8fafc;
    --lsk-lab-muted: #9fb1c7;
    --lsk-lab-accent: #00b4ff;
    --lsk-lab-accent-strong: #0092db;
    --lsk-lab-border: rgba(255, 255, 255, 0.09);
    --lsk-lab-shadow: 0 18px 48px rgba(5, 10, 18, 0.18);
    --lsk-lab-radius: 18px;
    --lsk-lab-transition: 220ms ease;
    --lsk-lab-inspector-width: clamp(176px, 15vw, 204px);
    --lsk-lab-overlay-gap: 14px;
    --lsk-lab-toolbar-top: 16px;
    --lsk-lab-toolbar-btn-size: 42px;
    --lsk-lab-toolbar-gap: 7px;
    --lsk-lab-material-panel-top: calc(var(--lsk-lab-toolbar-top) + (var(--lsk-lab-toolbar-btn-size) * 2) + var(--lsk-lab-toolbar-gap) + 8px);
}

.lsk-lab-wrapper {
    margin: 0 auto;
    position: relative;
}

.lsk-lab-shell {
    position: relative;
    display: block;
}

.lsk-lab-shell.is-inspector-collapsed {
    display: block;
}

.lsk-lab-stage {
    min-width: 0;
    position: relative;
}

.lsk-lab-shell:fullscreen,
.lsk-lab-shell:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    max-width: none;
    margin: 0;
    padding: 0;
    background: #0d131c;
    display: block;
}

.lsk-lab-shell:fullscreen.is-inspector-collapsed,
.lsk-lab-shell:-webkit-full-screen.is-inspector-collapsed {
    display: block;
}

.lsk-lab-shell:fullscreen .lsk-lab-stage,
.lsk-lab-shell:-webkit-full-screen .lsk-lab-stage {
    height: 100vh;
}

.lsk-lab-shell:fullscreen .lsk-lab-viewer,
.lsk-lab-shell:-webkit-full-screen .lsk-lab-viewer {
    height: 100vh !important;
    min-height: 100vh;
    border-radius: 0;
}

.lsk-lab-shell:fullscreen .lsk-lab-configurator,
.lsk-lab-shell:-webkit-full-screen .lsk-lab-configurator {
    top: var(--lsk-lab-material-panel-top);
    right: 16px;
    height: auto;
    max-height: calc(100vh - 140px);
    border-radius: 16px;
}

.lsk-lab-shell:fullscreen .lsk-lab-configurator-body,
.lsk-lab-shell:-webkit-full-screen .lsk-lab-configurator-body {
    max-height: calc(100vh - 164px);
}

.lsk-lab-viewer {
    position: relative;
    overflow: hidden;
    border-radius: var(--lsk-lab-radius);
    box-shadow: var(--lsk-lab-shadow);
    background:
        radial-gradient(circle at top left, rgba(0, 180, 255, 0.12), transparent 34%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 24%),
        linear-gradient(180deg, #1a2433 0%, #0d131c 100%);
    touch-action: pan-y pinch-zoom;
    isolation: isolate;
}

.lsk-lab-viewer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 10, 16, 0.18) 0%, transparent 26%, transparent 72%, rgba(6, 10, 16, 0.28) 100%);
    pointer-events: none;
    z-index: 2;
}

.lsk-lab-watermark {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: min(46%, 420px);
    filter: none;
    mix-blend-mode: normal;
}

.lsk-lab-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
    z-index: 0;
}

.lsk-lab-canvas:active {
    cursor: grabbing;
}

.lsk-lab-view-meta {
    position: absolute;
    left: 18px;
    top: 18px;
    z-index: 8;
    max-width: min(380px, calc(100% - 110px));
    padding: 10px 12px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(12, 18, 28, 0.44), rgba(17, 23, 34, 0.24));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 22px rgba(5, 10, 18, 0.08);
}

.lsk-lab-shell:not(:fullscreen):not(:-webkit-full-screen) .lsk-lab-view-meta,
.lsk-lab-shell:not(:fullscreen):not(:-webkit-full-screen) .lsk-lab-toolbar,
.lsk-lab-shell:not(:fullscreen):not(:-webkit-full-screen) .lsk-lab-tour-nav {
    opacity: 0.02;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
    filter: saturate(0.82);
}

.lsk-lab-shell:not(:fullscreen):not(:-webkit-full-screen) .lsk-lab-view-meta {
    transform: scale(0.2);
    transform-origin: top left;
}

.lsk-lab-shell:not(:fullscreen):not(:-webkit-full-screen) .lsk-lab-toolbar {
    transform: scale(0.2);
    transform-origin: top right;
}

.lsk-lab-shell:not(:fullscreen):not(:-webkit-full-screen) .lsk-lab-tour-nav {
    transform: translateX(-50%) scale(0.2);
    transform-origin: bottom center;
}

.lsk-lab-shell:not(:fullscreen):not(:-webkit-full-screen):hover .lsk-lab-view-meta,
.lsk-lab-shell:not(:fullscreen):not(:-webkit-full-screen):hover .lsk-lab-toolbar,
.lsk-lab-shell:not(:fullscreen):not(:-webkit-full-screen):hover .lsk-lab-tour-nav,
.lsk-lab-shell:not(:fullscreen):not(:-webkit-full-screen):focus-within .lsk-lab-view-meta,
.lsk-lab-shell:not(:fullscreen):not(:-webkit-full-screen):focus-within .lsk-lab-toolbar,
.lsk-lab-shell:not(:fullscreen):not(:-webkit-full-screen):focus-within .lsk-lab-tour-nav {
    opacity: 1;
    pointer-events: auto;
    filter: none;
}

.lsk-lab-shell:not(:fullscreen):not(:-webkit-full-screen):hover .lsk-lab-view-meta,
.lsk-lab-shell:not(:fullscreen):not(:-webkit-full-screen):focus-within .lsk-lab-view-meta,
.lsk-lab-shell:not(:fullscreen):not(:-webkit-full-screen):hover .lsk-lab-toolbar,
.lsk-lab-shell:not(:fullscreen):not(:-webkit-full-screen):focus-within .lsk-lab-toolbar {
    transform: scale(1);
}

.lsk-lab-shell:not(:fullscreen):not(:-webkit-full-screen):hover .lsk-lab-tour-nav,
.lsk-lab-shell:not(:fullscreen):not(:-webkit-full-screen):focus-within .lsk-lab-tour-nav {
    transform: translateX(-50%) scale(1);
}

.lsk-lab-view-badge,
.lsk-lab-panel-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(236, 244, 250, 0.86);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.lsk-lab-view-title {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(17px, 2.4vw, 23px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.18);
}

.lsk-lab-loading,
.lsk-lab-error {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    z-index: 12;
}

.lsk-lab-loading-content,
.lsk-lab-error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    padding: 32px;
}

.lsk-lab-spinner {
    position: relative;
    width: 86px;
    height: 86px;
}

.lsk-lab-spinner-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #101720;
    animation: lsk-lab-spin 1.4s linear infinite;
}

.lsk-lab-spinner-ring:nth-child(2) {
    inset: 8px;
    border-top-color: var(--lsk-lab-accent);
    animation-duration: 1.8s;
}

.lsk-lab-spinner-ring:nth-child(3) {
    inset: 16px;
    border-top-color: #6dd5ff;
    animation-duration: 2.2s;
}

.lsk-lab-spinner-icon {
    position: absolute;
    inset: 28px;
    color: #101720;
}

.lsk-lab-spinner-icon svg {
    width: 100%;
    height: 100%;
}

.lsk-lab-loading-text,
.lsk-lab-error-message {
    font-size: 15px;
    color: #101720;
}

.lsk-lab-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: min(220px, 70vw);
}

.lsk-lab-progress-bar {
    height: 6px;
    background: rgba(148, 163, 184, 0.3);
    border-radius: 999px;
    overflow: hidden;
}

.lsk-lab-progress-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #0b1320, var(--lsk-lab-accent));
    transition: width 140ms linear;
}

.lsk-lab-progress-percent {
    font-size: 13px;
    font-weight: 600;
    color: var(--lsk-lab-accent-strong);
}

.lsk-lab-error-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fee2e2;
    color: #b91c1c;
    font-weight: 800;
    font-size: 24px;
}

.lsk-lab-btn,
.lsk-lab-toolbar-btn,
.lsk-lab-tour-btn,
.lsk-lab-tour-exit {
    border: 0;
    cursor: pointer;
    transition: transform var(--lsk-lab-transition), background var(--lsk-lab-transition), opacity var(--lsk-lab-transition), border-color var(--lsk-lab-transition);
}

.lsk-lab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    background: var(--lsk-lab-accent);
    color: #03111b;
    font-weight: 700;
}

.lsk-lab-btn:hover,
.lsk-lab-toolbar-btn:hover,
.lsk-lab-tour-btn:hover,
.lsk-lab-tour-exit:hover {
    transform: translateY(-1px);
}

.lsk-lab-hotspots-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 6;
}

.lsk-lab-hotspot {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
    border: 0;
    background: transparent;
    padding: 0;
    color: #fff;
}

.lsk-lab-hotspot-marker {
    position: relative;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(0, 180, 255, 0.24), rgba(9, 18, 31, 0.92));
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(6, 10, 18, 0.4);
    transform: scale(var(--hotspot-scale, 1));
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.lsk-lab-hotspot.is-active .lsk-lab-hotspot-marker {
    box-shadow: 0 0 0 6px rgba(0, 180, 255, 0.14), 0 10px 25px rgba(6, 10, 18, 0.4);
}

.lsk-lab-hotspot-number {
    position: relative;
    z-index: 1;
    font-variant-numeric: tabular-nums;
}

.lsk-lab-hotspot-pulse {
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(0, 180, 255, 0.55);
    border-radius: 50%;
    animation: lsk-lab-pulse 1.8s ease-out infinite;
}

.lsk-lab-hotspot-label {
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(10, 15, 24, 0.34);
    backdrop-filter: blur(8px);
    border: 0;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: none;
}

.lsk-lab-toolbar {
    position: absolute;
    right: 16px;
    top: var(--lsk-lab-toolbar-top);
    display: flex;
    flex-direction: column;
    gap: var(--lsk-lab-toolbar-gap);
    z-index: 8;
}

.lsk-lab-toolbar-btn[data-action="fullscreen"] {
    margin-top: 0;
    transition: margin-top var(--lsk-lab-transition), transform var(--lsk-lab-transition), background var(--lsk-lab-transition), opacity var(--lsk-lab-transition), border-color var(--lsk-lab-transition);
}

.lsk-lab-shell.has-materials-open .lsk-lab-toolbar-btn[data-action="fullscreen"] {
    margin-top: calc(var(--lsk-lab-materials-open-offset, 0px) + 8px);
}

.lsk-lab-toolbar-btn {
    min-width: 42px;
    height: 42px;
    border-radius: 12px;
    padding: 0 10px;
    background: rgba(13, 19, 28, 0.62);
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-weight: 600;
    font-size: 11px;
    box-shadow: 0 8px 18px rgba(4, 8, 14, 0.16);
}

.lsk-lab-info-panel,
.lsk-lab-configurator {
    position: absolute;
    z-index: 9;
    color: var(--lsk-lab-text);
    background: linear-gradient(180deg, rgba(14, 20, 30, 0.74), rgba(18, 25, 36, 0.58));
    backdrop-filter: blur(14px);
    border: 1px solid var(--lsk-lab-border);
    box-shadow: 0 16px 32px rgba(5, 10, 18, 0.16);
}

.lsk-lab-info-panel {
    left: 18px;
    bottom: 18px;
    width: min(360px, calc(100% - 36px));
    border-radius: 15px;
    padding: 14px 14px 13px;
}

.lsk-lab-configurator {
    position: absolute;
    top: var(--lsk-lab-material-panel-top);
    right: 16px;
    width: var(--lsk-lab-inspector-width);
    min-width: 0;
    max-height: calc(100% - 140px);
    border-radius: 14px;
    padding: 10px 12px;
    overflow: hidden;
    transition: transform var(--lsk-lab-transition), opacity var(--lsk-lab-transition), width var(--lsk-lab-transition), padding var(--lsk-lab-transition), margin var(--lsk-lab-transition);
}

.lsk-lab-configurator.is-collapsed {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    width: 0;
    max-width: 0;
    padding: 0;
    border-width: 0;
    overflow: hidden;
    transform: translateX(16px) scale(0.98);
}

.lsk-lab-shell.is-inspector-collapsed .lsk-lab-configurator {
    width: 0;
    max-width: 0;
    padding-left: 0;
    padding-right: 0;
    border-width: 0;
    right: 16px;
}

.lsk-lab-info-close,
.lsk-lab-configurator-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
}

.lsk-lab-config-panel {
    display: none;
}

.lsk-lab-config-panel.is-active {
    display: block;
}

.lsk-lab-configurator-body {
    overflow: auto;
    max-height: min(220px, calc(100vh - 170px));
    padding-right: 2px;
}

.lsk-lab-config-card {
    padding: 10px 11px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.lsk-lab-config-card + .lsk-lab-config-card {
    margin-top: 8px;
}

.lsk-lab-config-card h4 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 14px;
}

.lsk-lab-config-card-label {
    margin: 0 0 8px;
    color: var(--lsk-lab-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.lsk-lab-config-stats {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lsk-lab-config-stats li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--lsk-lab-muted);
    font-size: 12px;
}

.lsk-lab-config-stats strong {
    color: #fff;
    font-size: 12px;
}

.lsk-lab-action-list {
    display: grid;
    gap: 8px;
}

.lsk-lab-action-btn,
.lsk-lab-annotation-item {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    cursor: pointer;
}

.lsk-lab-action-btn {
    min-height: 36px;
    text-align: left;
    padding: 0 12px;
    font-weight: 700;
    font-size: 12px;
}

.lsk-lab-annotation-list {
    display: grid;
    gap: 8px;
}

.lsk-lab-annotation-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 10px 11px;
    text-align: left;
}

.lsk-lab-annotation-item.is-active {
    border-color: rgba(0, 180, 255, 0.28);
    background: rgba(0, 180, 255, 0.12);
}

.lsk-lab-annotation-number {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.lsk-lab-annotation-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.lsk-lab-annotation-title {
    color: #fff;
    font-weight: 700;
    font-size: 12px;
}

.lsk-lab-annotation-meta {
    color: var(--lsk-lab-muted);
    font-size: 11px;
}

.lsk-lab-empty-state {
    padding: 10px 0 2px;
    border-radius: 0;
    background: transparent;
    border: 0;
    color: var(--lsk-lab-muted);
    font-size: 11px;
    line-height: 1.45;
}

.lsk-lab-material-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.lsk-lab-info-icon {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8bdfff;
    margin-bottom: 10px;
}

.lsk-lab-info-title {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff;
}

.lsk-lab-info-description {
    color: var(--lsk-lab-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.lsk-lab-config-section {
    padding: 7px 0 6px;
    border-radius: 0;
    background: transparent;
    border: 0;
}

.lsk-lab-config-section + .lsk-lab-config-section {
    margin-top: 4px;
    padding-top: 7px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lsk-lab-material-grid .lsk-lab-config-section + .lsk-lab-config-section {
    margin-top: 0;
    padding-top: 7px;
    border-top: 0;
}

.lsk-lab-material-card-head {
    display: grid;
    gap: 0;
    margin-bottom: 6px;
}

.lsk-lab-config-label {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.lsk-lab-config-meta {
    margin: -2px 0 10px;
    color: rgba(223, 230, 241, 0.56);
    font-size: 11px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.lsk-lab-config-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.lsk-lab-config-color {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    cursor: pointer;
}

.lsk-lab-config-color.active {
    border-color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.16);
}

.lsk-lab-tour-nav {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(10, 15, 24, 0.62);
    color: #fff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 9;
}

.lsk-lab-tour-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lsk-lab-tour-nav.is-idle .lsk-lab-tour-controls,
.lsk-lab-tour-nav.is-idle .lsk-lab-tour-exit,
.lsk-lab-tour-nav.is-idle .lsk-lab-tour-indicator,
.lsk-lab-tour-nav.is-idle .lsk-lab-tour-prev,
.lsk-lab-tour-nav.is-idle .lsk-lab-tour-next {
    display: none;
}

.lsk-lab-tour-nav.is-active .lsk-lab-tour-start {
    display: none;
}

.lsk-lab-tour-btn,
.lsk-lab-tour-exit {
    min-height: 34px;
    padding: 0 11px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 11px;
}

.lsk-lab-tour-btn[disabled] {
    opacity: 0.45;
    cursor: default;
    transform: none;
}

.lsk-lab-tour-indicator {
    font-weight: 700;
    min-width: 58px;
    text-align: center;
}

.lsk-lab-hints {
    position: absolute;
    left: 50%;
    bottom: 78px;
    transform: translateX(-50%) translateY(16px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(10, 15, 24, 0.56);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--lsk-lab-transition), transform var(--lsk-lab-transition), visibility var(--lsk-lab-transition);
    z-index: 7;
}

.lsk-lab-hints.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.lsk-lab-hint {
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--lsk-lab-muted);
}

.lsk-lab-inline-error {
    padding: 16px 18px;
    border-radius: 16px;
    background: #fee2e2;
    color: #991b1b;
}

@keyframes lsk-lab-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes lsk-lab-pulse {
    0% { transform: scale(0.8); opacity: 0.75; }
    100% { transform: scale(1.35); opacity: 0; }
}

@media (max-width: 900px) {
    .lsk-lab-view-meta {
        max-width: calc(100% - 36px);
    }

    .lsk-lab-configurator-tabs {
        grid-template-columns: 1fr;
    }

    .lsk-lab-info-panel {
        width: calc(100% - 24px);
        left: 12px;
        bottom: 12px;
        top: auto;
    }

    .lsk-lab-configurator {
        position: absolute;
        right: 12px;
        left: auto;
        width: min(240px, calc(100vw - 24px));
        max-height: calc(100% - 148px);
        overflow: hidden;
        transform: none;
        opacity: 1;
    }

    .lsk-lab-configurator-body {
        max-height: min(200px, calc(100vh - 168px));
    }

    .lsk-lab-material-grid {
        grid-template-columns: 1fr;
    }

    .lsk-lab-configurator.is-collapsed {
        max-height: none;
        opacity: 0;
        transform: translateY(-8px);
    }

    .lsk-lab-tour-nav {
        width: calc(100% - 24px);
        justify-content: space-between;
    }

    .lsk-lab-hints {
        width: calc(100% - 24px);
        bottom: 72px;
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lsk-lab-spinner-ring,
    .lsk-lab-hotspot-pulse {
        animation: none;
    }
}

/* ---------------------------------------------------------------------------
   AR launcher
   The button stays hidden until ar.js confirms the device can actually do AR,
   so no visitor is ever offered a dead end. The overlays are appended to
   <body>, not to the viewer, so they survive fullscreen mode.
   --------------------------------------------------------------------------- */

.lsk-lab-ar-btn[hidden] {
    display: none;
}

.lsk-lab-ar-btn {
    background: var(--lsk-lab-accent);
    color: #04121c;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.lsk-lab-ar-btn:hover {
    background: var(--lsk-lab-accent-strong);
    color: var(--lsk-lab-text);
}

.lsk-ar-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(5, 10, 18, 0.72);
    backdrop-filter: blur(6px);
}

.lsk-ar-box {
    position: relative;
    width: min(360px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 26px 24px 24px;
    border-radius: var(--lsk-lab-radius);
    border: 1px solid var(--lsk-lab-border);
    background: linear-gradient(180deg, rgba(20, 28, 40, 0.98), rgba(13, 19, 28, 0.98));
    box-shadow: var(--lsk-lab-shadow);
    color: var(--lsk-lab-text);
    text-align: center;
    font-family: inherit;
}

.lsk-ar-box h3 {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.3;
    color: var(--lsk-lab-text);
}

.lsk-ar-box p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--lsk-lab-muted);
}

.lsk-ar-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    background: var(--lsk-lab-surface);
    color: var(--lsk-lab-text);
    transition: background var(--lsk-lab-transition);
}

.lsk-ar-close:hover {
    background: var(--lsk-lab-surface-strong);
}

.lsk-ar-hint-list {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    text-align: left;
}

.lsk-ar-hint-list li {
    position: relative;
    margin: 0 0 10px;
    padding-left: 26px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--lsk-lab-text);
}

.lsk-ar-hint-list li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lsk-lab-accent);
}

.lsk-ar-note {
    font-size: 13px !important;
    color: var(--lsk-lab-muted) !important;
}

.lsk-ar-start {
    display: block;
    width: 100%;
    min-height: 46px;
    margin-top: 4px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    background: var(--lsk-lab-accent);
    color: #04121c;
    transition: background var(--lsk-lab-transition);
}

.lsk-ar-start:hover {
    background: var(--lsk-lab-accent-strong);
    color: var(--lsk-lab-text);
}

.lsk-ar-qr-holder {
    margin: 0 auto 16px;
    width: 200px;
    max-width: 100%;
    padding: 12px;
    border-radius: 12px;
    background: #ffffff;
}

.lsk-ar-qr-holder svg {
    display: block;
    width: 100%;
    height: auto;
}

.lsk-ar-copy {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--lsk-lab-border);
    border-radius: 10px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.4;
    word-break: break-all;
    background: var(--lsk-lab-surface);
    color: var(--lsk-lab-muted);
    transition: background var(--lsk-lab-transition), color var(--lsk-lab-transition);
}

.lsk-ar-copy:hover {
    background: var(--lsk-lab-surface-strong);
    color: var(--lsk-lab-text);
}
