:root {
    color-scheme: dark;
    --special-bg-a: #041525;
    --special-bg-b: #081d33;
    --special-panel: color-mix(in srgb, var(--theme-surface, #0f1d30) 76%, rgba(4, 12, 22, 0.82) 24%);
    --special-border: color-mix(in srgb, rgba(115, 206, 255, 0.52) 54%, var(--theme-border, #2b3d54) 46%);
    --special-text: #eef7ff;
    --special-muted: color-mix(in srgb, var(--theme-muted, #a8c3da) 78%, #ffffff 22%);
    --special-accent: #5fd6ff;
    --special-accent-2: #ffd76e;
    --special-good: #7ce7c6;
    --special-shadow: 0 28px 96px rgba(0, 6, 18, 0.48);
}

.special3d-dropzone {
    position: fixed;
    inset: 0;
    z-index: 26;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    pointer-events: none;
    background:
        radial-gradient(circle at center, rgba(97, 214, 255, 0.16), transparent 34%),
        radial-gradient(circle at center, rgba(8, 18, 31, 0.52), rgba(4, 8, 16, 0.82));
}

.special3d-dropzone-shell {
    width: min(920px, calc(100vw - 56px));
    padding: 28px 30px;
    border-radius: 30px;
    border: 1px solid rgba(126, 221, 255, 0.34);
    background:
        linear-gradient(160deg, rgba(12, 24, 40, 0.92), rgba(8, 16, 28, 0.88)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(126, 221, 255, 0.12) inset;
    backdrop-filter: blur(24px) saturate(1.08);
    -webkit-backdrop-filter: blur(24px) saturate(1.08);
}

.special3d-dropzone-kicker {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(95, 214, 255, 0.12);
    border: 1px solid rgba(95, 214, 255, 0.28);
    color: #dff8ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.special3d-dropzone-shell h2 {
    margin: 14px 0 10px;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.05;
}

.special3d-dropzone-shell p {
    margin: 0;
    max-width: 760px;
    color: rgba(230, 241, 248, 0.84);
    line-height: 1.7;
}

.special3d-dropzone-targets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.special3d-dropzone-target-card {
    min-width: 0;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.special3d-dropzone-target-card span {
    display: block;
    color: rgba(215, 231, 242, 0.72);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.special3d-dropzone-target-card strong {
    display: block;
    margin-top: 8px;
    color: #f3fbff;
    font-size: 15px;
    font-family: "JetBrains Mono", monospace;
    word-break: break-all;
}

.special3d-wrist {
    position: fixed;
    left: 22px;
    bottom: 24px;
    z-index: 15;
    width: min(420px, calc(100vw - 44px));
    pointer-events: none;
    transition:
        left 180ms ease,
        right 180ms ease,
        bottom 180ms ease,
        width 180ms ease,
        opacity 180ms ease,
        transform 180ms ease;
}

.special3d-wrist-shell {
    position: relative;
    padding: 18px 18px 16px;
    border-radius: 28px;
    border: 1px solid rgba(108, 220, 255, 0.24);
    background:
        radial-gradient(circle at top left, rgba(95, 214, 255, 0.18), transparent 34%),
        radial-gradient(circle at bottom right, rgba(255, 215, 110, 0.1), transparent 30%),
        linear-gradient(168deg, rgba(11, 21, 36, 0.9), rgba(8, 14, 26, 0.88));
    box-shadow:
        0 28px 72px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    backdrop-filter: blur(24px) saturate(1.08);
    -webkit-backdrop-filter: blur(24px) saturate(1.08);
    transform-origin: left bottom;
    transform: perspective(1400px) rotateY(10deg) rotateX(8deg);
    transition:
        transform 180ms ease,
        opacity 180ms ease,
        padding 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.special3d-wrist-shell::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 22px;
    border: 1px solid rgba(122, 226, 255, 0.09);
    pointer-events: none;
}

.special3d-wrist-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.special3d-wrist-title {
    margin-top: 8px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.special3d-wrist-strip {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.special3d-wrist-pulse {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #7aeaff;
    box-shadow: 0 0 0 8px rgba(122, 234, 255, 0.12), 0 0 18px rgba(122, 234, 255, 0.36);
    animation: special3dPulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

.special3d-wrist-subtitle {
    min-width: 0;
    color: rgba(229, 240, 246, 0.82);
    font-size: 12px;
    line-height: 1.55;
}

.special3d-wrist-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.special3d-wrist-card {
    min-width: 0;
    padding: 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.special3d-wrist-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: rgba(211, 229, 242, 0.76);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.special3d-wrist-card-head strong {
    max-width: 48%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #f7fcff;
    font-size: 11px;
}

.special3d-wrist-card-title {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}

.special3d-wrist-card-sub,
.special3d-wrist-logline {
    margin-top: 6px;
    color: rgba(213, 229, 242, 0.74);
    font-size: 12px;
    line-height: 1.55;
    word-break: break-word;
}

.special3d-wrist-card-sub {
    font-family: "JetBrains Mono", monospace;
}

.special3d-wrist-preview {
    margin: 10px 0 0;
    min-height: 92px;
    max-height: 120px;
    overflow: auto;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(7, 14, 24, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(233, 244, 255, 0.9);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    line-height: 1.6;
    white-space: pre-wrap;
}

.special3d-wrist-flow {
    margin-top: 14px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.special3d-wrist-flow-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: rgba(213, 229, 242, 0.78);
}

.special3d-wrist-flow-head strong {
    text-align: right;
    color: #f5fbff;
    font-size: 12px;
}

.special3d-wrist-flow-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.special3d-flow-chip {
    min-width: 0;
    padding: 10px 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

.special3d-flow-chip.is-active {
    background: linear-gradient(180deg, rgba(95, 214, 255, 0.16), rgba(95, 214, 255, 0.06));
    border-color: rgba(95, 214, 255, 0.28);
    box-shadow: 0 12px 24px rgba(95, 214, 255, 0.12);
}

.special3d-flow-chip-index {
    color: rgba(255, 255, 255, 0.56);
    font-size: 10px;
    font-family: "JetBrains Mono", monospace;
}

.special3d-flow-chip-label {
    color: rgba(239, 247, 255, 0.92);
    font-size: 11px;
    font-weight: 700;
}

.special3d-wrist-actions {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.special3d-wrist-actions .ghost-btn.compact {
    min-width: 0;
    padding-inline: 8px;
    font-size: 11px;
}

.special3d-wrist-actions .ghost-btn[disabled] {
    opacity: 0.42;
    cursor: not-allowed;
    transform: none;
}

.special3d-wrist .ghost-btn,
.special3d-wrist .special3d-wrist-preview {
    pointer-events: auto;
}

.explorer3d-summary {
    align-items: flex-start !important;
}

.explorer3d-summary-actions,
.explorer3d-preview-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.explorer3d-item-grid {
    perspective: 1400px;
    transform-style: preserve-3d;
}

.explorer3d-folder-item {
    transform: translateZ(var(--folder-depth, 0px)) rotateY(-10deg);
    transform-style: preserve-3d;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.explorer3d-folder-item:hover {
    transform: translateY(-2px) translateZ(calc(var(--folder-depth, 0px) + 8px)) rotateY(-6deg);
}

.explorer3d-item-card {
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(var(--card-depth, 0px)) rotateY(var(--card-tilt, 0deg));
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.explorer3d-item-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.explorer3d-item-card:hover,
.explorer3d-item-card.is-selected {
    transform: translateY(-4px) translateZ(calc(var(--card-depth, 0px) + 12px)) rotateY(calc(var(--card-tilt, 0deg) * 0.45));
}

.explorer3d-preview-card {
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.22);
}

.special3d-dropzone-shell strong,
.special3d-wrist-shell strong,
.special3d-wrist-shell code,
.special3d-wrist-shell pre {
    text-shadow: 0 0 18px rgba(122, 234, 255, 0.08);
}

@media (max-width: 980px) {
    .special3d-dropzone-targets,
    .special3d-wrist-grid,
    .special3d-wrist-actions {
        grid-template-columns: 1fr;
    }

    .special3d-wrist-flow-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .special3d-wrist-shell {
        transform: none;
    }
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body.special3d-page {
    background:
        radial-gradient(circle at 12% 16%, rgba(92, 214, 255, 0.18), transparent 26%),
        radial-gradient(circle at 84% 18%, rgba(255, 215, 110, 0.11), transparent 24%),
        radial-gradient(circle at 50% 78%, rgba(89, 145, 255, 0.12), transparent 28%),
        linear-gradient(180deg, var(--special-bg-a), var(--special-bg-b));
    color: var(--special-text);
    font-family: "Noto Sans SC", "Segoe UI", Arial, sans-serif;
}

.special3d-ime-sink {
    position: fixed;
    left: -9999px;
    top: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.special3d-root,
.special3d-render-host,
.special3d-css-host {
    position: fixed;
    inset: 0;
}

.special3d-render-host {
    z-index: 0;
}

.special3d-css-host {
    z-index: 1;
}

.special3d-render-host canvas,
.special3d-css-host > div {
    position: absolute;
    inset: 0;
}

.special3d-css-host {
    pointer-events: none;
}

.special3d-css-host > div {
    pointer-events: none;
}

.special3d-vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at center, transparent 44%, rgba(0, 0, 0, 0.18) 70%, rgba(0, 0, 0, 0.52) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.48));
    z-index: 2;
}

.special3d-crosshair {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    margin-top: -10px;
    z-index: 6;
    pointer-events: none;
}

.special3d-crosshair::before,
.special3d-crosshair::after {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 14px rgba(255, 210, 87, 0.44);
}

.special3d-crosshair::before {
    left: 9px;
    top: 2px;
    width: 2px;
    height: 16px;
}

.special3d-crosshair::after {
    left: 2px;
    top: 9px;
    width: 16px;
    height: 2px;
}

.special3d-native-aim-ring {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%) scale(0.86);
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 0 0 10px rgba(99, 215, 255, 0.09),
        0 0 28px rgba(99, 215, 255, 0.24),
        inset 0 0 18px rgba(255, 255, 255, 0.1);
    opacity: 0;
    z-index: 8;
    pointer-events: none;
    transition:
        opacity 120ms ease,
        transform 120ms ease,
        border-color 120ms ease,
        box-shadow 120ms ease;
}

.special3d-native-aim-ring.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.special3d-native-aim-ring.is-hotspot {
    width: 34px;
    height: 34px;
    transform: translate(-50%, -50%) scale(1.02);
}

.special3d-native-aim-ring.screen-ai {
    box-shadow:
        0 0 0 10px rgba(99, 215, 255, 0.11),
        0 0 28px rgba(99, 215, 255, 0.3),
        inset 0 0 18px rgba(99, 215, 255, 0.08);
}

.special3d-native-aim-ring.screen-explorer {
    box-shadow:
        0 0 0 10px rgba(255, 210, 87, 0.11),
        0 0 28px rgba(255, 210, 87, 0.28),
        inset 0 0 18px rgba(255, 210, 87, 0.08);
}

.special3d-native-aim-ring.screen-editor {
    box-shadow:
        0 0 0 10px rgba(154, 168, 255, 0.11),
        0 0 28px rgba(154, 168, 255, 0.28),
        inset 0 0 18px rgba(154, 168, 255, 0.08);
}

.special3d-native-aim-ring.screen-docker {
    box-shadow:
        0 0 0 10px rgba(99, 215, 255, 0.11),
        0 0 28px rgba(99, 215, 255, 0.28),
        inset 0 0 18px rgba(124, 231, 198, 0.08);
}

.special3d-native-aim-ring.screen-collab {
    box-shadow:
        0 0 0 10px rgba(124, 231, 198, 0.11),
        0 0 28px rgba(124, 231, 198, 0.28),
        inset 0 0 18px rgba(124, 231, 198, 0.08);
}

.special3d-focus-badge {
    position: fixed;
    left: 50%;
    top: calc(50% + 34px);
    min-width: 188px;
    max-width: min(420px, calc(100vw - 36px));
    padding: 10px 12px 11px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(10, 16, 24, 0.82), rgba(7, 11, 18, 0.74)),
        radial-gradient(circle at top left, rgba(99, 215, 255, 0.14), transparent 30%);
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.24),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    backdrop-filter: blur(16px) saturate(1.05);
    -webkit-backdrop-filter: blur(16px) saturate(1.05);
    transform: translateX(-50%) translateY(4px) scale(0.98);
    opacity: 0;
    z-index: 8;
    pointer-events: none;
    transition:
        opacity 140ms ease,
        transform 140ms ease,
        border-color 140ms ease,
        box-shadow 140ms ease;
}

.special3d-focus-badge.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.special3d-focus-badge.is-hotspot {
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 28px rgba(99, 215, 255, 0.12);
}

.special3d-focus-badge-kicker {
    color: rgba(226, 238, 246, 0.72);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.special3d-focus-badge-title {
    margin-top: 4px;
    color: #f6fbff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.special3d-focus-badge-meta {
    margin-top: 4px;
    color: rgba(223, 235, 244, 0.8);
    font-size: 12px;
    line-height: 1.45;
}

.special3d-focus-badge-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.special3d-focus-badge-chip {
    padding: 5px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(242, 248, 252, 0.88);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.special3d-focus-badge.screen-ai {
    border-color: rgba(99, 215, 255, 0.28);
    background:
        linear-gradient(180deg, rgba(10, 17, 24, 0.82), rgba(7, 11, 18, 0.74)),
        radial-gradient(circle at top left, rgba(99, 215, 255, 0.18), transparent 32%);
}

.special3d-focus-badge.screen-explorer {
    border-color: rgba(255, 210, 87, 0.28);
    background:
        linear-gradient(180deg, rgba(15, 17, 22, 0.82), rgba(10, 12, 18, 0.74)),
        radial-gradient(circle at top left, rgba(255, 210, 87, 0.18), transparent 32%);
}

.special3d-focus-badge.screen-editor {
    border-color: rgba(154, 168, 255, 0.28);
    background:
        linear-gradient(180deg, rgba(13, 16, 24, 0.82), rgba(8, 10, 18, 0.74)),
        radial-gradient(circle at top left, rgba(154, 168, 255, 0.18), transparent 32%);
}

.special3d-focus-badge.screen-docker {
    border-color: rgba(99, 215, 255, 0.28);
    background:
        linear-gradient(180deg, rgba(9, 17, 22, 0.82), rgba(7, 12, 18, 0.74)),
        radial-gradient(circle at top left, rgba(124, 231, 198, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(99, 215, 255, 0.16), transparent 30%);
}

.special3d-focus-badge.screen-collab {
    border-color: rgba(124, 231, 198, 0.28);
    background:
        linear-gradient(180deg, rgba(9, 17, 21, 0.82), rgba(7, 12, 18, 0.74)),
        radial-gradient(circle at top left, rgba(124, 231, 198, 0.18), transparent 32%);
}

.hidden {
    display: none !important;
}

.card,
.special3d-console,
.special3d-portal .portal-shell,
.special3d-overlay .overlay-shell,
.special3d-hud,
.special3d-prompt {
    backdrop-filter: blur(18px) saturate(1.08);
    -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.primary-btn,
.ghost-btn {
    border-radius: 14px;
    border: 1px solid var(--special-border);
    padding: 10px 16px;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.primary-btn:hover,
.ghost-btn:hover {
    transform: translateY(-1px);
}

.primary-btn {
    color: #fff7ed;
    background: linear-gradient(135deg, rgba(255, 124, 92, 0.92), rgba(255, 210, 87, 0.88));
    box-shadow: 0 12px 32px rgba(255, 124, 92, 0.22);
}

.ghost-btn {
    color: var(--special-text);
    background: rgba(14, 20, 28, 0.48);
}

.compact {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
}

.icon-only {
    width: 36px;
    min-width: 36px;
    padding: 0;
    font-size: 20px;
    line-height: 1;
}

.slim {
    width: 100%;
}

.eyebrow {
    color: var(--special-accent-2);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.special3d-intro {
    position: fixed;
    left: 28px;
    top: 28px;
    width: min(520px, calc(100vw - 56px));
    padding: 22px 24px;
    z-index: 18;
    border: 1px solid var(--special-border);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(18, 24, 32, 0.9), rgba(10, 14, 20, 0.82));
    box-shadow: var(--special-shadow);
    pointer-events: auto;
}

.special3d-intro h1 {
    margin: 10px 0 12px;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.08;
}

.special3d-intro-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.special3d-intro-close {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.special3d-intro p {
    margin: 0;
    color: var(--special-muted);
    line-height: 1.7;
    font-size: 14px;
}

.special3d-intro-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.special3d-hud {
    position: fixed;
    top: 22px;
    right: 24px;
    z-index: 12;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    pointer-events: none;
    transition:
        top 180ms ease,
        right 180ms ease,
        left 180ms ease,
        opacity 180ms ease,
        transform 180ms ease;
}

.hud-left,
.hud-right {
    display: flex;
    gap: 10px;
}

.hud-chip {
    min-width: 160px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid var(--special-border);
    background: rgba(10, 16, 22, 0.72);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    transition:
        min-width 180ms ease,
        padding 180ms ease,
        opacity 180ms ease,
        transform 180ms ease;
}

.hud-chip span {
    display: block;
    font-size: 11px;
    color: var(--special-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hud-chip strong {
    display: block;
    margin-top: 5px;
    font-size: 15px;
}

.special3d-prompt {
    position: fixed;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    z-index: 11;
    min-width: min(540px, calc(100vw - 40px));
    max-width: calc(100vw - 40px);
    padding: 12px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 210, 87, 0.34);
    background: rgba(11, 16, 22, 0.78);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
    text-align: center;
    pointer-events: none;
    transition:
        left 180ms ease,
        right 180ms ease,
        top 180ms ease,
        bottom 180ms ease,
        width 180ms ease,
        max-width 180ms ease,
        opacity 180ms ease,
        transform 180ms ease,
        padding 180ms ease;
}

.prompt-title {
    color: var(--special-accent-2);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.prompt-text {
    margin-top: 5px;
    color: var(--special-text);
    font-size: 14px;
}

.special3d-prompt-actions {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    pointer-events: auto;
}

.special3d-prompt-actions .compact.is-active {
    border-color: rgba(255, 210, 87, 0.54);
    box-shadow: 0 0 0 1px rgba(255, 210, 87, 0.26) inset, 0 14px 32px rgba(255, 124, 92, 0.18);
}

.special3d-input-dock {
    position: fixed;
    left: 50%;
    bottom: 104px;
    transform: translateX(-50%);
    z-index: 14;
    width: min(760px, calc(100vw - 36px));
    pointer-events: auto;
    transition:
        bottom 180ms ease,
        width 180ms ease,
        opacity 180ms ease,
        transform 180ms ease;
}

.special3d-input-dock-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid color-mix(in srgb, var(--special-border) 56%, rgba(121, 243, 220, 0.44) 44%);
    background:
        radial-gradient(circle at top left, rgba(121, 243, 220, 0.16), transparent 32%),
        radial-gradient(circle at top right, rgba(99, 215, 255, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(10, 18, 26, 0.94), rgba(8, 12, 20, 0.9));
    box-shadow:
        0 24px 56px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(121, 243, 220, 0.12) inset;
    transition:
        padding 180ms ease,
        border-radius 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.special3d-input-dock-copy {
    min-width: 0;
}

.special3d-input-dock-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(121, 243, 220, 0.12);
    border: 1px solid rgba(121, 243, 220, 0.24);
    color: #e6fff7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 0 0 1px rgba(121, 243, 220, 0.08) inset;
}

.special3d-input-dock-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #79f3dc;
    box-shadow: 0 0 0 8px rgba(121, 243, 220, 0.14), 0 0 16px rgba(121, 243, 220, 0.44);
    animation: special3dPulse 1.4s ease-in-out infinite;
}

.special3d-input-dock-meta {
    margin-top: 8px;
    color: rgba(230, 240, 248, 0.84);
    font-size: 13px;
    line-height: 1.55;
}

.special3d-input-dock-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.special3d-input-dock-count {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(228, 239, 247, 0.82);
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
}

@keyframes special3dPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.72;
    }
}

.special3d-console {
    position: fixed;
    left: 24px;
    bottom: 24px;
    width: min(460px, calc(100vw - 48px));
    z-index: 13;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid color-mix(in srgb, var(--special-border) 66%, rgba(99, 215, 255, 0.34) 34%);
    background:
        radial-gradient(circle at top left, rgba(99, 215, 255, 0.16), transparent 34%),
        radial-gradient(circle at top right, rgba(255, 124, 92, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(12, 19, 28, 0.92), rgba(8, 13, 20, 0.86));
    box-shadow: var(--special-shadow);
    pointer-events: auto;
    transition:
        left 180ms ease,
        bottom 180ms ease,
        width 180ms ease,
        opacity 180ms ease,
        transform 180ms ease;
}

.special3d-hud .ghost-btn,
.special3d-prompt .primary-btn,
.special3d-prompt .ghost-btn {
    pointer-events: auto;
}

.special3d-page.special3d-overlay-screen-focus .special3d-hud {
    top: 14px;
    right: 16px;
    opacity: 0.92;
}

.special3d-page.special3d-overlay-screen-focus .hud-chip {
    min-width: 132px;
    padding: 8px 10px;
}

.special3d-page.special3d-overlay-screen-focus .hud-chip span {
    font-size: 10px;
}

.special3d-page.special3d-overlay-screen-focus .hud-chip strong {
    margin-top: 4px;
    font-size: 13px;
}

.special3d-page.special3d-overlay-screen-focus .hud-right .ghost-btn.compact {
    padding: 7px 10px;
    border-radius: 11px;
    font-size: 12px;
}

.special3d-page.special3d-overlay-screen-focus .special3d-prompt {
    left: auto;
    right: 18px;
    bottom: 20px;
    transform: none;
    width: min(360px, calc(100vw - 36px));
    min-width: 0;
    max-width: min(360px, calc(100vw - 36px));
    padding: 11px 12px;
    text-align: left;
    border-color: rgba(255, 210, 87, 0.26);
    background: rgba(11, 16, 22, 0.68);
}

.special3d-page.special3d-overlay-screen-focus.special3d-overlay-side-right .special3d-prompt {
    right: auto;
    left: 18px;
}

.special3d-page.special3d-overlay-screen-focus .special3d-prompt-actions {
    justify-content: flex-start;
    gap: 8px;
}

.special3d-page.special3d-overlay-screen-focus .prompt-title {
    font-size: 11px;
}

.special3d-page.special3d-overlay-screen-focus .prompt-text {
    font-size: 13px;
    line-height: 1.5;
}

.special3d-page.special3d-overlay-screen-focus .special3d-wrist {
    opacity: 0.9;
}

.special3d-page.special3d-overlay-screen-focus.special3d-overlay-side-left .special3d-wrist {
    left: auto;
    right: 20px;
}

.special3d-page.special3d-overlay-screen-focus.special3d-overlay-side-left .special3d-wrist-shell {
    transform-origin: right bottom;
    transform: perspective(1400px) rotateY(-10deg) rotateX(8deg);
}

.special3d-page.special3d-overlay-near-screen .special3d-wrist,
.special3d-page.special3d-overlay-compose .special3d-wrist,
.special3d-page.special3d-overlay-surface .special3d-wrist,
.special3d-wrist.is-compact {
    width: min(310px, calc(100vw - 32px));
}

.special3d-page.special3d-overlay-near-screen .special3d-wrist-shell,
.special3d-page.special3d-overlay-compose .special3d-wrist-shell,
.special3d-page.special3d-overlay-surface .special3d-wrist-shell,
.special3d-wrist.is-compact .special3d-wrist-shell {
    padding: 14px 14px 12px;
    opacity: 0.78;
    transform: perspective(1400px) rotateY(8deg) rotateX(6deg) scale(0.86);
}

.special3d-page.special3d-overlay-side-left.special3d-overlay-near-screen .special3d-wrist-shell,
.special3d-page.special3d-overlay-side-left.special3d-overlay-compose .special3d-wrist-shell,
.special3d-page.special3d-overlay-side-left.special3d-overlay-surface .special3d-wrist-shell,
.special3d-overlay-side-left .special3d-wrist.is-compact .special3d-wrist-shell {
    transform-origin: right bottom;
    transform: perspective(1400px) rotateY(-8deg) rotateX(6deg) scale(0.86);
}

.special3d-page.special3d-overlay-near-screen .special3d-wrist-strip,
.special3d-page.special3d-overlay-compose .special3d-wrist-strip,
.special3d-page.special3d-overlay-surface .special3d-wrist-strip,
.special3d-page.special3d-overlay-near-screen .special3d-wrist-flow,
.special3d-page.special3d-overlay-compose .special3d-wrist-flow,
.special3d-page.special3d-overlay-surface .special3d-wrist-flow,
.special3d-page.special3d-overlay-near-screen .special3d-wrist-preview,
.special3d-page.special3d-overlay-compose .special3d-wrist-preview,
.special3d-page.special3d-overlay-surface .special3d-wrist-preview,
.special3d-wrist.is-compact .special3d-wrist-strip,
.special3d-wrist.is-compact .special3d-wrist-flow,
.special3d-wrist.is-compact .special3d-wrist-preview {
    display: none;
}

.special3d-page.special3d-overlay-near-screen .special3d-wrist-grid,
.special3d-page.special3d-overlay-compose .special3d-wrist-grid,
.special3d-page.special3d-overlay-surface .special3d-wrist-grid,
.special3d-wrist.is-compact .special3d-wrist-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
}

.special3d-page.special3d-overlay-near-screen .special3d-wrist-card,
.special3d-page.special3d-overlay-compose .special3d-wrist-card,
.special3d-page.special3d-overlay-surface .special3d-wrist-card,
.special3d-wrist.is-compact .special3d-wrist-card {
    padding: 10px 12px;
    border-radius: 16px;
}

.special3d-page.special3d-overlay-near-screen .special3d-wrist-card-title,
.special3d-page.special3d-overlay-compose .special3d-wrist-card-title,
.special3d-page.special3d-overlay-surface .special3d-wrist-card-title,
.special3d-wrist.is-compact .special3d-wrist-card-title {
    margin-top: 6px;
    font-size: 13px;
}

.special3d-page.special3d-overlay-near-screen .special3d-wrist-card-sub,
.special3d-page.special3d-overlay-compose .special3d-wrist-card-sub,
.special3d-page.special3d-overlay-surface .special3d-wrist-card-sub,
.special3d-page.special3d-overlay-near-screen .special3d-wrist-logline,
.special3d-page.special3d-overlay-compose .special3d-wrist-logline,
.special3d-page.special3d-overlay-surface .special3d-wrist-logline,
.special3d-wrist.is-compact .special3d-wrist-card-sub,
.special3d-wrist.is-compact .special3d-wrist-logline {
    margin-top: 4px;
    font-size: 11px;
}

.special3d-page.special3d-overlay-near-screen .special3d-wrist-actions,
.special3d-page.special3d-overlay-compose .special3d-wrist-actions,
.special3d-page.special3d-overlay-surface .special3d-wrist-actions,
.special3d-wrist.is-compact .special3d-wrist-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 10px;
}

.special3d-page.special3d-overlay-near-screen .special3d-input-dock,
.special3d-page.special3d-overlay-compose .special3d-input-dock,
.special3d-input-dock.is-compact {
    bottom: 22px;
    width: min(640px, calc(100vw - 28px));
}

.special3d-page.special3d-overlay-near-screen .special3d-input-dock-shell,
.special3d-page.special3d-overlay-compose .special3d-input-dock-shell,
.special3d-input-dock.is-compact .special3d-input-dock-shell {
    padding: 12px 14px;
    border-radius: 18px;
}

.console-hero {
    margin-top: 16px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(145deg, rgba(20, 30, 42, 0.9), rgba(10, 16, 24, 0.78)),
        radial-gradient(circle at top right, rgba(99, 215, 255, 0.14), transparent 32%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 18px 42px rgba(0, 0, 0, 0.24);
}

.console-hero h3 {
    margin: 10px 0 0;
    font-size: 28px;
    line-height: 1.05;
}

.console-hero p {
    margin: 10px 0 0;
    color: var(--special-muted);
    line-height: 1.7;
    font-size: 14px;
}

.console-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.console-kpi {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.console-kpi span {
    display: block;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--special-muted);
}

.console-kpi strong {
    display: block;
    margin-top: 8px;
    font-size: 18px;
}

.console-block-priority {
    margin-top: 16px;
    padding-top: 16px;
}

.special3d-portal,
.special3d-surface {
    position: fixed;
    inset: 0;
    z-index: 14;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.special3d-portal {
    z-index: 13;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 96px 34px 74px;
    background:
        linear-gradient(180deg, rgba(6, 9, 14, 0.02), rgba(4, 7, 10, 0.12));
    pointer-events: auto;
}

.portal-shell,
.surface-shell {
    pointer-events: auto;
}

.portal-shell {
    width: min(940px, calc(100vw - 92px));
    height: min(74vh, calc(100vh - 176px));
    border-radius: 28px;
    border: 1px solid color-mix(in srgb, var(--special-border) 74%, rgba(80, 182, 255, 0.34) 26%);
    background:
        linear-gradient(180deg, rgba(16, 23, 32, 0.84), rgba(8, 13, 20, 0.78)),
        radial-gradient(circle at top left, rgba(80, 182, 255, 0.12), transparent 34%),
        radial-gradient(circle at top right, rgba(255, 124, 92, 0.1), transparent 28%);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: perspective(1600px) rotateX(1.4deg) rotateY(-4deg);
    transform-origin: right center;
}

.surface-shell {
    width: min(1520px, calc(100vw - 36px));
    height: min(92vh, calc(100vh - 36px));
    border-radius: 26px;
    border: 1px solid var(--special-border);
    background:
        linear-gradient(180deg, rgba(14, 20, 28, 0.94), rgba(8, 13, 20, 0.9)),
        radial-gradient(circle at top right, rgba(255, 124, 92, 0.12), transparent 30%);
    box-shadow: 0 32px 110px rgba(0, 0, 0, 0.42);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.portal-head,
.surface-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.portal-title,
.surface-title {
    margin-top: 6px;
    font-size: 28px;
    font-weight: 800;
}

.portal-actions,
.surface-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.portal-sub,
.surface-sub {
    margin: 0;
    color: var(--special-muted);
    line-height: 1.65;
    font-size: 14px;
}

.portal-body,
.surface-body {
    flex: 1;
    min-height: 0;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 9, 14, 0.86);
}

.portal-body {
    border-radius: 24px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 16px 42px rgba(0, 0, 0, 0.22);
}

.special3d-portal-host,
.special3d-screen-frame-slot {
    width: 100%;
    height: 100%;
}

.special3d-portal-host {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.special3d-portal-host iframe,
.special3d-screen-frame-slot iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
}

.console-head,
.overlay-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.console-head h2 {
    margin: 8px 0 0;
    font-size: 22px;
}

.console-desc,
.overlay-sub {
    margin: 12px 0 0;
    color: var(--special-muted);
    line-height: 1.65;
    font-size: 14px;
}

.console-block {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.console-block-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--special-accent-2);
    text-transform: uppercase;
}

.console-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.console-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.04);
    font-size: 13px;
}

.console-list li span:first-child {
    font-family: "JetBrains Mono", monospace;
    color: var(--special-good);
}

.console-actions,
.console-links {
    margin-top: 10px;
    display: grid;
    gap: 10px;
}

.console-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.console-actions-grid .primary-btn,
.console-actions-grid .ghost-btn {
    min-height: 48px;
}

.special3d-overlay {
    position: fixed;
    inset: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(4, 8, 12, 0.58);
}

.overlay-shell {
    width: min(1460px, calc(100vw - 32px));
    height: min(90vh, 980px);
    border-radius: 26px;
    border: 1px solid var(--special-border);
    background: linear-gradient(180deg, rgba(14, 20, 28, 0.92), rgba(9, 14, 20, 0.86));
    box-shadow: 0 28px 120px rgba(0, 0, 0, 0.55);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.special3d-portal.is-ai-screen .portal-shell,
.special3d-surface.is-ai-screen .surface-shell,
.special3d-overlay.is-ai-screen .overlay-shell {
    border-color: color-mix(in srgb, var(--special-border) 58%, rgba(99, 215, 255, 0.46) 42%);
    background:
        radial-gradient(circle at top left, rgba(99, 215, 255, 0.12), transparent 34%),
        radial-gradient(circle at top right, rgba(111, 226, 255, 0.1), transparent 26%),
        linear-gradient(180deg, rgba(12, 20, 30, 0.94), rgba(8, 12, 20, 0.9));
}

.special3d-portal.is-collab-screen .portal-shell,
.special3d-surface.is-collab-screen .surface-shell,
.special3d-overlay.is-collab-screen .overlay-shell {
    border-color: color-mix(in srgb, var(--special-border) 58%, rgba(124, 231, 198, 0.44) 42%);
}

.special3d-portal.is-explorer-screen .portal-shell,
.special3d-surface.is-explorer-screen .surface-shell,
.special3d-overlay.is-explorer-screen .overlay-shell {
    border-color: color-mix(in srgb, var(--special-border) 56%, rgba(255, 210, 87, 0.48) 44%);
    background:
        radial-gradient(circle at top left, rgba(255, 210, 87, 0.1), transparent 32%),
        radial-gradient(circle at top right, rgba(80, 182, 255, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(16, 18, 30, 0.94), rgba(9, 12, 20, 0.9));
}

.special3d-portal.is-editor-screen .portal-shell,
.special3d-surface.is-editor-screen .surface-shell,
.special3d-overlay.is-editor-screen .overlay-shell {
    border-color: color-mix(in srgb, var(--special-border) 56%, rgba(154, 168, 255, 0.48) 44%);
    background:
        radial-gradient(circle at top left, rgba(154, 168, 255, 0.11), transparent 32%),
        radial-gradient(circle at top right, rgba(99, 215, 255, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(15, 18, 32, 0.94), rgba(9, 12, 20, 0.9));
}

.special3d-portal.is-docker-screen .portal-shell,
.special3d-surface.is-docker-screen .surface-shell,
.special3d-overlay.is-docker-screen .overlay-shell {
    border-color: color-mix(in srgb, var(--special-border) 56%, rgba(99, 215, 255, 0.5) 44%);
    background:
        radial-gradient(circle at top left, rgba(99, 215, 255, 0.12), transparent 32%),
        radial-gradient(circle at top right, rgba(124, 231, 198, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(12, 20, 30, 0.94), rgba(8, 14, 20, 0.9));
}

.overlay-title {
    margin-top: 6px;
    font-size: 28px;
    font-weight: 800;
}

.overlay-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.overlay-body {
    flex: 1;
    min-height: 0;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 8, 12, 0.82);
}

.special3d-screen-dom {
    width: 1440px;
    height: 810px;
    border-radius: 34px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(180deg, rgba(20, 26, 36, 0.96), rgba(10, 14, 20, 0.96));
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    pointer-events: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    position: relative;
}

.special3d-screen-dom.is-screen-ai {
    border-color: rgba(99, 215, 255, 0.28);
    box-shadow:
        0 30px 74px rgba(0, 0, 0, 0.52),
        0 0 0 1px rgba(99, 215, 255, 0.1) inset,
        0 0 42px rgba(99, 215, 255, 0.16);
}

.special3d-screen-dom.is-screen-collab {
    border-color: rgba(124, 231, 198, 0.28);
    box-shadow:
        0 30px 74px rgba(0, 0, 0, 0.52),
        0 0 0 1px rgba(124, 231, 198, 0.1) inset,
        0 0 42px rgba(124, 231, 198, 0.16);
}

.special3d-screen-dom.is-screen-editor {
    border-color: rgba(154, 168, 255, 0.3);
    box-shadow:
        0 30px 74px rgba(0, 0, 0, 0.52),
        0 0 0 1px rgba(154, 168, 255, 0.12) inset,
        0 0 44px rgba(154, 168, 255, 0.18);
}

.special3d-screen-dom.is-screen-docker {
    border-color: rgba(99, 215, 255, 0.28);
    box-shadow:
        0 30px 74px rgba(0, 0, 0, 0.52),
        0 0 0 1px rgba(99, 215, 255, 0.1) inset,
        0 0 44px rgba(99, 215, 255, 0.16);
}

.special3d-native-hotspot {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transition:
        transform 120ms ease,
        border-color 120ms ease,
        background 120ms ease,
        box-shadow 120ms ease,
        outline-color 120ms ease,
        filter 120ms ease;
}

.special3d-native-hotspot.is-aimed {
    outline: 2px solid rgba(255, 255, 255, 0.18);
    outline-offset: 2px;
    filter: brightness(1.05) saturate(1.04);
}

.special3d-native-hotspot:disabled {
    cursor: default;
}

.special3d-ai-native-screen {
    background:
        radial-gradient(circle at top left, rgba(99, 215, 255, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(255, 124, 92, 0.1), transparent 24%),
        linear-gradient(160deg, rgba(12, 22, 34, 0.98), rgba(7, 12, 20, 0.98));
}

.special3d-ai-native-screen.is-crosshair-active {
    border-color: rgba(99, 215, 255, 0.72);
    box-shadow:
        0 30px 88px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(99, 215, 255, 0.2) inset,
        0 0 56px rgba(99, 215, 255, 0.24);
}

.ai3d-shell {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    height: 100%;
    padding: 28px;
    color: #f4fbff;
}

.ai3d-aim-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 8px rgba(99, 215, 255, 0.12), 0 0 24px rgba(99, 215, 255, 0.32);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transform-origin: center center;
    transition: opacity 120ms ease, transform 120ms ease;
    pointer-events: none;
}

.ai3d-aim-dot.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.ai3d-topbar,
.ai3d-status-row,
.ai3d-config,
.ai3d-chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.ai3d-title {
    margin-top: 8px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ai3d-toolbar,
.ai3d-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ai3d-btn,
.ai3d-chip,
.ai3d-quick,
.ai3d-session-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #eff7fb;
    border-radius: 16px;
    transition: transform 120ms ease, border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

.ai3d-btn,
.ai3d-chip,
.ai3d-quick {
    padding: 10px 14px;
    font: inherit;
    font-weight: 700;
}

.ai3d-btn.is-primary {
    background: linear-gradient(135deg, rgba(99, 215, 255, 0.22), rgba(121, 243, 220, 0.16));
    border-color: rgba(99, 215, 255, 0.34);
}

.ai3d-hotspot.is-aimed,
.ai3d-hotspot:hover {
    transform: translateY(-1px) scale(1.01);
    border-color: rgba(99, 215, 255, 0.7);
    background: rgba(99, 215, 255, 0.12);
    box-shadow: 0 0 0 1px rgba(99, 215, 255, 0.18) inset, 0 10px 30px rgba(99, 215, 255, 0.12);
}

.ai3d-hotspot.is-pressed {
    transform: scale(0.985);
}

.ai3d-status-row {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.ai3d-status-pill {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(236, 245, 251, 0.84);
    font-size: 13px;
    line-height: 1.3;
}

.ai3d-status-pill[data-tone="working"] {
    border-color: rgba(255, 210, 87, 0.32);
    color: #fff1bf;
}

.ai3d-status-pill[data-tone="success"] {
    border-color: rgba(124, 231, 198, 0.34);
    color: #d5fff2;
}

.ai3d-status-pill[data-tone="error"] {
    border-color: rgba(255, 124, 92, 0.34);
    color: #ffd0c5;
}

.ai3d-main {
    min-height: 0;
    flex: 1;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 16px;
}

.ai3d-side,
.ai3d-body {
    min-height: 0;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.ai3d-side.is-aimed-zone,
.ai3d-body.is-aimed-zone {
    border-color: rgba(99, 215, 255, 0.34);
    background: rgba(99, 215, 255, 0.06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 0 1px rgba(99, 215, 255, 0.08);
}

.ai3d-side {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai3d-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ai3d-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(234, 244, 250, 0.76);
}

.ai3d-section-meta,
.ai3d-config-label,
.ai3d-message-role {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
}

.ai3d-session-list,
.ai3d-message-list {
    min-height: 0;
    overflow: auto;
    padding-right: 6px;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 215, 255, 0.52) rgba(255, 255, 255, 0.04);
}

.ai3d-session-list::-webkit-scrollbar,
.ai3d-message-list::-webkit-scrollbar {
    width: 10px;
}

.ai3d-session-list::-webkit-scrollbar-track,
.ai3d-message-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.ai3d-session-list::-webkit-scrollbar-thumb,
.ai3d-message-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(99, 215, 255, 0.64), rgba(121, 243, 220, 0.42));
    border-radius: 999px;
    border: 2px solid rgba(10, 16, 24, 0.18);
}

.ai3d-session-list {
    flex: 1;
}

.ai3d-session-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
    text-align: left;
    margin-bottom: 10px;
}

.ai3d-session-item.is-active {
    border-color: rgba(99, 215, 255, 0.56);
    background: rgba(99, 215, 255, 0.16);
}

.ai3d-session-title {
    font-size: 15px;
    font-weight: 700;
    color: #f4fbff;
}

.ai3d-session-time {
    font-size: 12px;
    color: rgba(222, 236, 246, 0.62);
}

.ai3d-config {
    align-items: flex-start;
    gap: 18px;
}

.ai3d-config-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.ai3d-chip {
    font-size: 12px;
    line-height: 1.2;
}

.ai3d-chip.is-active {
    border-color: rgba(121, 243, 220, 0.56);
    background: rgba(121, 243, 220, 0.14);
}

.ai3d-chat-head {
    align-items: flex-start;
}

.ai3d-chat-title {
    font-size: 20px;
    font-weight: 800;
}

.ai3d-chat-sub {
    margin-top: 6px;
    font-size: 13px;
    color: rgba(220, 234, 245, 0.72);
    line-height: 1.5;
}

.ai3d-message-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai3d-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: stretch;
}

.ai3d-composer-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 92px;
    padding: 14px 16px;
    text-align: left;
}

.ai3d-composer-box.is-focused {
    border-color: rgba(121, 243, 220, 0.58);
    background: rgba(121, 243, 220, 0.12);
    box-shadow:
        0 0 0 1px rgba(121, 243, 220, 0.22) inset,
        0 18px 40px rgba(121, 243, 220, 0.16),
        0 0 0 10px rgba(121, 243, 220, 0.05);
    animation: special3dComposerFocus 1.8s ease-in-out infinite;
}

.ai3d-composer-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(230, 241, 248, 0.62);
}

.ai3d-composer-value {
    width: 100%;
    max-height: 56px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.55;
    color: #f4fbff;
}

.ai3d-composer-value.is-empty {
    color: rgba(214, 228, 238, 0.52);
}

.ai3d-composer-meta {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(214, 228, 238, 0.58);
}

@keyframes special3dComposerFocus {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(121, 243, 220, 0.22) inset,
            0 18px 40px rgba(121, 243, 220, 0.16),
            0 0 0 10px rgba(121, 243, 220, 0.05);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(121, 243, 220, 0.32) inset,
            0 22px 46px rgba(121, 243, 220, 0.24),
            0 0 0 14px rgba(121, 243, 220, 0.08);
    }
}

.ai3d-message {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.ai3d-message.user {
    align-self: flex-end;
    width: min(72%, 100%);
    background: rgba(99, 215, 255, 0.12);
    border-color: rgba(99, 215, 255, 0.24);
}

.ai3d-message.assistant {
    align-self: flex-start;
    width: min(78%, 100%);
}

.ai3d-message-role {
    color: rgba(236, 245, 251, 0.66);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ai3d-message-body {
    margin-top: 8px;
    line-height: 1.6;
    font-size: 14px;
    color: #f4fbff;
}

.ai3d-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.ai3d-quick {
    min-height: 48px;
}

.ai3d-empty {
    padding: 18px;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    color: rgba(220, 234, 245, 0.68);
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
}

.special3d-collab-native-screen {
    background:
        radial-gradient(circle at top left, rgba(124, 231, 198, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(92, 200, 255, 0.12), transparent 24%),
        linear-gradient(160deg, rgba(10, 23, 28, 0.98), rgba(8, 14, 19, 0.98));
}

.special3d-collab-native-screen.is-crosshair-active {
    border-color: rgba(124, 231, 198, 0.72);
    box-shadow:
        0 30px 88px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(124, 231, 198, 0.2) inset,
        0 0 56px rgba(124, 231, 198, 0.24);
}

.collab3d-shell {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    height: 100%;
    padding: 28px;
    color: #f1fffb;
}

.collab3d-aim-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 8px rgba(124, 231, 198, 0.12), 0 0 24px rgba(124, 231, 198, 0.32);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transform-origin: center center;
    transition: opacity 120ms ease, transform 120ms ease;
    pointer-events: none;
}

.collab3d-aim-dot.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.collab3d-topbar,
.collab3d-status-row,
.collab3d-chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.collab3d-title {
    margin-top: 8px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.collab3d-toolbar,
.collab3d-chat-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.collab3d-btn,
.collab3d-chip,
.collab3d-room-item,
.collab3d-presence-item,
.collab3d-file-btn {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #effcf8;
    border-radius: 16px;
    transition: transform 120ms ease, border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

.collab3d-btn,
.collab3d-chip,
.collab3d-file-btn {
    padding: 10px 14px;
    font: inherit;
    font-weight: 700;
}

.collab3d-btn.is-primary {
    background: linear-gradient(135deg, rgba(124, 231, 198, 0.22), rgba(92, 200, 255, 0.16));
    border-color: rgba(124, 231, 198, 0.34);
}

.collab3d-hotspot.is-aimed,
.collab3d-hotspot:hover {
    transform: translateY(-1px) scale(1.01);
    border-color: rgba(124, 231, 198, 0.7);
    background: rgba(124, 231, 198, 0.12);
    box-shadow: 0 0 0 1px rgba(124, 231, 198, 0.18) inset, 0 10px 30px rgba(124, 231, 198, 0.12);
}

.collab3d-hotspot.is-pressed {
    transform: scale(0.985);
}

.collab3d-hotspot:disabled,
.collab3d-presence-item:disabled {
    opacity: 0.58;
    transform: none;
    box-shadow: none;
}

.collab3d-status-row {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.collab3d-status-pill {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(236, 252, 247, 0.84);
    font-size: 13px;
    line-height: 1.3;
}

.collab3d-status-pill[data-tone="working"] {
    border-color: rgba(255, 210, 87, 0.32);
    color: #fff1bf;
}

.collab3d-status-pill[data-tone="success"] {
    border-color: rgba(124, 231, 198, 0.34);
    color: #d6fff2;
}

.collab3d-status-pill[data-tone="error"] {
    border-color: rgba(255, 124, 92, 0.34);
    color: #ffd0c5;
}

.collab3d-main {
    min-height: 0;
    flex: 1;
    display: grid;
    grid-template-columns: 348px minmax(0, 1fr);
    gap: 16px;
}

.collab3d-side,
.collab3d-body {
    min-height: 0;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.collab3d-side.is-aimed-zone,
.collab3d-body.is-aimed-zone {
    border-color: rgba(124, 231, 198, 0.34);
    background: rgba(124, 231, 198, 0.06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 0 1px rgba(124, 231, 198, 0.08);
}

.collab3d-side {
    padding: 16px;
}

.collab3d-side-scroll,
.collab3d-body {
    min-height: 0;
    height: 100%;
}

.collab3d-side-scroll {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: auto;
    padding-right: 6px;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 231, 198, 0.52) rgba(255, 255, 255, 0.04);
}

.collab3d-message-list {
    min-height: 0;
    overflow: auto;
    padding-right: 6px;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 231, 198, 0.52) rgba(255, 255, 255, 0.04);
}

.collab3d-side-scroll::-webkit-scrollbar,
.collab3d-message-list::-webkit-scrollbar {
    width: 10px;
}

.collab3d-side-scroll::-webkit-scrollbar-track,
.collab3d-message-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.collab3d-side-scroll::-webkit-scrollbar-thumb,
.collab3d-message-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(124, 231, 198, 0.62), rgba(92, 200, 255, 0.42));
    border-radius: 999px;
    border: 2px solid rgba(9, 16, 20, 0.18);
}

.collab3d-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.collab3d-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(236, 250, 246, 0.76);
}

.collab3d-section-head.with-gap {
    margin-top: 8px;
}

.collab3d-section-meta,
.collab3d-room-key,
.collab3d-message-meta {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
}

.collab3d-room-list,
.collab3d-presence-list,
.collab3d-message-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.collab3d-room-item,
.collab3d-presence-item {
    width: 100%;
    padding: 12px 14px;
    text-align: left;
}

.collab3d-room-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.collab3d-room-item.is-active {
    border-color: rgba(124, 231, 198, 0.56);
    background: rgba(124, 231, 198, 0.16);
}

.collab3d-room-name {
    font-size: 15px;
    font-weight: 700;
    color: #f2fffb;
}

.collab3d-room-key {
    color: rgba(218, 241, 233, 0.62);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.collab3d-presence-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.collab3d-presence-item.is-self {
    opacity: 0.72;
}

.collab3d-presence-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.collab3d-presence-top strong {
    font-size: 15px;
    font-weight: 700;
    color: #f2fffb;
}

.collab3d-presence-pill {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.collab3d-presence-pill.online {
    background: rgba(124, 231, 198, 0.14);
    border-color: rgba(124, 231, 198, 0.3);
    color: #d7fff2;
}

.collab3d-presence-pill.away {
    background: rgba(255, 210, 87, 0.12);
    border-color: rgba(255, 210, 87, 0.3);
    color: #fff1bf;
}

.collab3d-presence-pill.offline {
    background: rgba(186, 203, 214, 0.1);
    border-color: rgba(186, 203, 214, 0.24);
    color: rgba(230, 241, 247, 0.84);
}

.collab3d-presence-sub,
.collab3d-chat-sub {
    color: rgba(218, 241, 233, 0.72);
    font-size: 13px;
    line-height: 1.55;
}

.collab3d-chat-head {
    align-items: flex-start;
}

.collab3d-chat-title {
    font-size: 20px;
    font-weight: 800;
}

.collab3d-chat-sub {
    margin-top: 6px;
}

.collab3d-chip {
    font-size: 12px;
    line-height: 1.2;
}

.collab3d-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: stretch;
}

.collab3d-composer-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 92px;
    padding: 14px 16px;
    text-align: left;
}

.collab3d-composer-box.is-focused {
    border-color: rgba(124, 231, 198, 0.58);
    background: rgba(124, 231, 198, 0.12);
    box-shadow:
        0 0 0 1px rgba(124, 231, 198, 0.22) inset,
        0 18px 40px rgba(124, 231, 198, 0.16),
        0 0 0 10px rgba(124, 231, 198, 0.05);
    animation: special3dCollabComposerFocus 1.8s ease-in-out infinite;
}

.collab3d-composer-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(230, 248, 240, 0.62);
}

.collab3d-composer-value {
    width: 100%;
    max-height: 56px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.55;
    color: #f2fffb;
}

.collab3d-composer-value.is-empty {
    color: rgba(214, 238, 226, 0.52);
}

.collab3d-composer-meta {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(214, 238, 226, 0.58);
}

@keyframes special3dCollabComposerFocus {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(124, 231, 198, 0.22) inset,
            0 18px 40px rgba(124, 231, 198, 0.16),
            0 0 0 10px rgba(124, 231, 198, 0.05);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(124, 231, 198, 0.32) inset,
            0 22px 46px rgba(124, 231, 198, 0.24),
            0 0 0 14px rgba(124, 231, 198, 0.08);
    }
}

.collab3d-message-list {
    flex: 1;
}

.collab3d-message {
    max-width: 82%;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.collab3d-message.mine {
    align-self: flex-end;
    background: rgba(124, 231, 198, 0.12);
    border-color: rgba(124, 231, 198, 0.24);
}

.collab3d-message.other {
    align-self: flex-start;
}

.collab3d-message-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: rgba(236, 252, 247, 0.66);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.collab3d-message-body {
    margin-top: 8px;
    line-height: 1.6;
    font-size: 14px;
    color: #f2fffb;
}

.collab3d-file-line {
    margin-top: 8px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    color: #f2fffb;
}

.collab3d-file-line span:nth-child(2) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.collab3d-file-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 5px 8px;
    border-radius: 10px;
    background: rgba(124, 231, 198, 0.14);
    border: 1px solid rgba(124, 231, 198, 0.24);
    color: #d7fff2;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.collab3d-file-btn {
    margin-top: 12px;
}

.collab3d-empty {
    padding: 18px;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    color: rgba(218, 241, 233, 0.68);
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
}

.special3d-screen-frame-slot {
    position: relative;
    flex: 1;
    min-width: 0;
    min-height: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 124, 92, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(12, 18, 28, 0.94), rgba(8, 12, 18, 0.96));
}

.special3d-screen-placeholder {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(8, 12, 18, 0.82), rgba(8, 12, 18, 0.92)),
        radial-gradient(circle at top, rgba(80, 182, 255, 0.12), transparent 34%);
}

.special3d-screen-placeholder-card {
    width: min(480px, 100%);
    padding: 22px 24px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.special3d-screen-placeholder-card strong {
    display: block;
    margin-top: 10px;
    font-size: 24px;
    font-weight: 800;
    color: #f8fbff;
}

.special3d-screen-placeholder-card p {
    margin: 12px 0 0;
    color: rgba(235, 242, 248, 0.76);
    line-height: 1.6;
    font-size: 14px;
}

.special3d-screen-dom.is-detached .special3d-screen-placeholder {
    display: flex;
}

.special3d-screen-dom.is-near {
    border-color: rgba(124, 231, 198, 0.62);
    box-shadow:
        0 24px 72px rgba(0, 0, 0, 0.46),
        0 0 0 1px rgba(124, 231, 198, 0.2) inset,
        0 0 34px rgba(124, 231, 198, 0.18);
    filter: saturate(1.06) brightness(1.03);
}

.special3d-css-host.interactive .special3d-screen-dom.is-active {
    pointer-events: auto;
    border-color: rgba(255, 210, 87, 0.72);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.52),
        0 0 0 1px rgba(255, 210, 87, 0.2) inset,
        0 0 42px rgba(80, 182, 255, 0.22);
    filter: saturate(1.04) brightness(1.02);
}

.special3d-css-host.interactive .special3d-screen-dom.is-active iframe {
    pointer-events: auto;
}

.special3d-status-board {
    width: 1360px;
    height: 765px;
    border-radius: 32px;
    padding: 30px;
    color: #f7fafc;
    background:
        radial-gradient(circle at top left, rgba(255, 124, 92, 0.22), transparent 28%),
        linear-gradient(145deg, rgba(20, 25, 36, 0.96), rgba(8, 12, 18, 0.96));
    border: 2px solid rgba(255, 210, 87, 0.14);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.52);
    display: flex;
    flex-direction: column;
    gap: 18px;
    pointer-events: none;
}

.special3d-status-board .status-card:nth-child(3) .status-value,
.special3d-status-board .status-card:nth-child(4) .status-value {
    color: #f4fbff;
}

.status-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.status-head h3 {
    margin: 8px 0 0;
    font-size: 38px;
}

.status-head p {
    margin: 8px 0 0;
    color: rgba(233, 242, 248, 0.78);
    font-size: 18px;
    line-height: 1.6;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.status-card {
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 210, 87, 0.86);
}

.status-value {
    margin-top: 8px;
    font-size: 24px;
    font-weight: 800;
}

.status-sub {
    margin-top: 8px;
    color: rgba(233, 242, 248, 0.72);
    font-size: 14px;
}

.special3d-screen-dom.is-screen-explorer {
    border-color: rgba(255, 210, 87, 0.28);
    box-shadow:
        0 30px 74px rgba(0, 0, 0, 0.52),
        0 0 0 1px rgba(255, 210, 87, 0.1) inset,
        0 0 42px rgba(255, 210, 87, 0.16);
}

.special3d-explorer-native-screen {
    background:
        radial-gradient(circle at top left, rgba(255, 210, 87, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(80, 182, 255, 0.12), transparent 24%),
        linear-gradient(160deg, rgba(22, 20, 34, 0.98), rgba(10, 13, 22, 0.98));
}

.special3d-explorer-native-screen.is-crosshair-active {
    border-color: rgba(255, 210, 87, 0.72);
    box-shadow:
        0 30px 88px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(255, 210, 87, 0.2) inset,
        0 0 56px rgba(255, 210, 87, 0.24);
}

.explorer3d-shell {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    height: 100%;
    padding: 28px;
    color: #fff9ee;
}

.explorer3d-aim-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 8px rgba(255, 210, 87, 0.12), 0 0 24px rgba(255, 210, 87, 0.32);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transform-origin: center center;
    transition: opacity 120ms ease, transform 120ms ease;
    pointer-events: none;
}

.explorer3d-aim-dot.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.explorer3d-topbar,
.explorer3d-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.explorer3d-title {
    margin-top: 8px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.explorer3d-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.explorer3d-btn,
.explorer3d-crumb,
.explorer3d-folder-item,
.explorer3d-item-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #fff9ee;
    border-radius: 16px;
    transition: transform 120ms ease, border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

.explorer3d-btn,
.explorer3d-crumb {
    padding: 10px 14px;
    font: inherit;
    font-weight: 700;
}

.explorer3d-btn.is-primary {
    background: linear-gradient(135deg, rgba(255, 210, 87, 0.22), rgba(80, 182, 255, 0.16));
    border-color: rgba(255, 210, 87, 0.34);
}

.explorer3d-hotspot.is-aimed,
.explorer3d-hotspot:hover {
    transform: translateY(-1px) scale(1.01);
    border-color: rgba(255, 210, 87, 0.72);
    background: rgba(255, 210, 87, 0.12);
    box-shadow: 0 0 0 1px rgba(255, 210, 87, 0.18) inset, 0 10px 30px rgba(255, 210, 87, 0.12);
}

.explorer3d-hotspot.is-pressed {
    transform: scale(0.985);
}

.explorer3d-status-row {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.explorer3d-status-pill {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 248, 232, 0.84);
    font-size: 13px;
    line-height: 1.3;
}

.explorer3d-status-pill[data-tone="working"] {
    border-color: rgba(255, 210, 87, 0.32);
    color: #fff1bf;
}

.explorer3d-status-pill[data-tone="success"] {
    border-color: rgba(124, 231, 198, 0.34);
    color: #ddfff4;
}

.explorer3d-status-pill[data-tone="error"] {
    border-color: rgba(255, 124, 92, 0.34);
    color: #ffd0c5;
}

.explorer3d-main {
    min-height: 0;
    flex: 1;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 16px;
}

.explorer3d-side,
.explorer3d-body {
    min-height: 0;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.explorer3d-side.is-aimed-zone,
.explorer3d-body.is-aimed-zone {
    border-color: rgba(255, 210, 87, 0.34);
    background: rgba(255, 210, 87, 0.06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 0 1px rgba(255, 210, 87, 0.08);
}

.explorer3d-side {
    padding: 16px;
}

.explorer3d-side-scroll,
.explorer3d-body-scroll {
    min-height: 0;
    height: 100%;
    overflow: auto;
    padding-right: 6px;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 210, 87, 0.52) rgba(255, 255, 255, 0.04);
}

.explorer3d-side-scroll {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.explorer3d-body {
    padding: 18px;
}

.explorer3d-body-scroll {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.explorer3d-side-scroll::-webkit-scrollbar,
.explorer3d-body-scroll::-webkit-scrollbar,
.explorer3d-preview-body::-webkit-scrollbar {
    width: 10px;
}

.explorer3d-side-scroll::-webkit-scrollbar-track,
.explorer3d-body-scroll::-webkit-scrollbar-track,
.explorer3d-preview-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.explorer3d-side-scroll::-webkit-scrollbar-thumb,
.explorer3d-body-scroll::-webkit-scrollbar-thumb,
.explorer3d-preview-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(255, 210, 87, 0.62), rgba(80, 182, 255, 0.42));
    border-radius: 999px;
    border: 2px solid rgba(12, 16, 24, 0.18);
}

.explorer3d-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 246, 226, 0.76);
}

.explorer3d-section-head.with-gap {
    margin-top: 8px;
}

.explorer3d-section-meta,
.explorer3d-item-meta,
.explorer3d-folder-meta,
.explorer3d-preview-sub {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
}

.explorer3d-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.explorer3d-crumb {
    line-height: 1.2;
}

.explorer3d-crumb-sep {
    color: rgba(255, 240, 204, 0.38);
    font-weight: 700;
}

.explorer3d-folder-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.explorer3d-folder-item {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 12px;
    align-items: center;
    padding: 13px 14px;
    text-align: left;
}

.explorer3d-folder-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255, 210, 87, 0.16);
    border: 1px solid rgba(255, 210, 87, 0.26);
    color: #fff3c8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.explorer3d-folder-name {
    min-width: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fffaf0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.explorer3d-folder-meta {
    grid-column: 2;
    color: rgba(255, 240, 204, 0.62);
}

.explorer3d-summary,
.explorer3d-preview-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(255, 210, 87, 0.08), transparent 26%),
        rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.explorer3d-summary {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
}

.explorer3d-summary-title {
    font-size: 22px;
    font-weight: 800;
    color: #fffaf0;
}

.explorer3d-summary-sub {
    margin-top: 8px;
    color: rgba(255, 240, 204, 0.76);
    font-size: 14px;
    line-height: 1.6;
}

.explorer3d-workflow-strip {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
    gap: 14px;
}

.explorer3d-shelf-card,
.explorer3d-handoff-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top right, rgba(255, 210, 87, 0.08), transparent 26%),
        rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.explorer3d-shelf-card {
    padding: 16px 18px;
}

.explorer3d-shelf-sub {
    margin-top: 6px;
    color: rgba(255, 240, 204, 0.68);
    font-size: 13px;
    line-height: 1.55;
}

.explorer3d-shelf {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.explorer3d-shelf-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-height: 128px;
    padding: 14px;
    text-align: left;
    transform-style: preserve-3d;
}

.explorer3d-shelf-item::before {
    content: "";
    position: absolute;
    inset: 12px 12px auto auto;
    width: calc(var(--shelf-depth, 16px));
    height: calc(var(--shelf-depth, 16px));
    border-radius: 12px;
    background: rgba(255, 210, 87, 0.08);
    transform: translate3d(8px, 8px, -1px);
    filter: blur(1px);
    pointer-events: none;
}

.explorer3d-shelf-item.is-selected {
    border-color: rgba(255, 210, 87, 0.58);
    background: rgba(255, 210, 87, 0.14);
    box-shadow:
        0 0 0 1px rgba(255, 210, 87, 0.16) inset,
        0 14px 32px rgba(255, 210, 87, 0.14);
}

.explorer3d-shelf-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 6px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.explorer3d-shelf-badge.folder {
    background: rgba(255, 210, 87, 0.18);
    border-color: rgba(255, 210, 87, 0.28);
    color: #fff3c8;
}

.explorer3d-shelf-badge.code {
    background: rgba(112, 179, 255, 0.18);
    border-color: rgba(112, 179, 255, 0.28);
    color: #d8e9ff;
}

.explorer3d-shelf-badge.config {
    background: rgba(188, 151, 255, 0.18);
    border-color: rgba(188, 151, 255, 0.28);
    color: #ede3ff;
}

.explorer3d-shelf-badge.doc {
    background: rgba(124, 231, 198, 0.16);
    border-color: rgba(124, 231, 198, 0.28);
    color: #dcfff3;
}

.explorer3d-shelf-badge.image {
    background: rgba(255, 124, 92, 0.16);
    border-color: rgba(255, 124, 92, 0.28);
    color: #ffe0d6;
}

.explorer3d-shelf-badge.archive,
.explorer3d-shelf-badge.file {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 248, 232, 0.86);
}

.explorer3d-shelf-name {
    min-width: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fffaf0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.explorer3d-shelf-meta {
    margin-top: auto;
    color: rgba(255, 240, 204, 0.66);
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    line-height: 1.45;
}

.explorer3d-handoff-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
}

.explorer3d-handoff-kicker {
    color: rgba(255, 210, 87, 0.86);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.explorer3d-handoff-title {
    font-size: 22px;
    font-weight: 800;
    color: #fffaf0;
    line-height: 1.32;
    overflow-wrap: anywhere;
}

.explorer3d-handoff-sub {
    color: rgba(255, 240, 204, 0.68);
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.explorer3d-handoff-copy {
    color: rgba(255, 245, 227, 0.86);
    font-size: 14px;
    line-height: 1.65;
}

.explorer3d-handoff-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 210, 87, 0.18);
    background: rgba(255, 210, 87, 0.1);
    color: rgba(255, 244, 220, 0.84);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.explorer3d-route-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 2px;
}

.explorer3d-route-card {
    min-width: 0;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 210, 87, 0.16);
    background: linear-gradient(160deg, rgba(255, 210, 87, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.explorer3d-route-label {
    display: block;
    color: rgba(255, 221, 148, 0.72);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.explorer3d-route-value {
    display: block;
    margin-top: 8px;
    color: #fffaf0;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.explorer3d-route-meta {
    display: block;
    margin-top: 6px;
    color: rgba(255, 240, 204, 0.62);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.explorer3d-route-lane {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.explorer3d-route-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 210, 87, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 244, 220, 0.68);
    transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.explorer3d-route-chip.is-active {
    border-color: rgba(255, 210, 87, 0.34);
    background: rgba(255, 210, 87, 0.14);
    color: #fff7df;
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(255, 210, 87, 0.12) inset, 0 12px 28px rgba(255, 210, 87, 0.08);
}

.explorer3d-route-chip-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(255, 210, 87, 0.18);
    font-size: 11px;
    font-weight: 800;
}

.explorer3d-route-chip-label {
    font-size: 12px;
    font-weight: 700;
}

.explorer3d-item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.explorer3d-item-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    min-height: 156px;
    padding: 15px 16px;
    text-align: left;
}

.explorer3d-item-card.is-selected {
    border-color: rgba(255, 210, 87, 0.58);
    background: rgba(255, 210, 87, 0.14);
    box-shadow:
        0 0 0 1px rgba(255, 210, 87, 0.16) inset,
        0 14px 38px rgba(255, 210, 87, 0.12);
}

.explorer3d-item-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 7px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.explorer3d-item-badge.folder {
    background: rgba(255, 210, 87, 0.18);
    border-color: rgba(255, 210, 87, 0.28);
    color: #fff3c8;
}

.explorer3d-item-badge.code {
    background: rgba(112, 179, 255, 0.18);
    border-color: rgba(112, 179, 255, 0.28);
    color: #d8e9ff;
}

.explorer3d-item-badge.config {
    background: rgba(188, 151, 255, 0.18);
    border-color: rgba(188, 151, 255, 0.28);
    color: #ede3ff;
}

.explorer3d-item-badge.doc {
    background: rgba(124, 231, 198, 0.16);
    border-color: rgba(124, 231, 198, 0.28);
    color: #dcfff3;
}

.explorer3d-item-badge.image {
    background: rgba(255, 124, 92, 0.16);
    border-color: rgba(255, 124, 92, 0.28);
    color: #ffe0d6;
}

.explorer3d-item-badge.archive,
.explorer3d-item-badge.file {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 248, 232, 0.86);
}

.explorer3d-item-name {
    min-width: 0;
    font-size: 16px;
    font-weight: 700;
    color: #fffaf0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.explorer3d-item-meta {
    color: rgba(255, 240, 204, 0.72);
}

.explorer3d-item-sub {
    margin-top: auto;
    color: rgba(255, 240, 204, 0.56);
    font-size: 12px;
    line-height: 1.45;
}

.explorer3d-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.explorer3d-preview-card {
    padding: 18px 20px;
}

.explorer3d-preview-card.empty,
.explorer3d-preview-card.loading {
    border-style: dashed;
}

.explorer3d-preview-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.explorer3d-preview-kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 210, 87, 0.86);
}

.explorer3d-preview-title {
    margin-top: 8px;
    font-size: 20px;
    font-weight: 800;
    color: #fffaf0;
}

.explorer3d-preview-sub {
    margin-top: 8px;
    color: rgba(255, 240, 204, 0.62);
    line-height: 1.5;
    word-break: break-all;
}

.explorer3d-preview-body {
    margin-top: 14px;
    color: rgba(255, 246, 226, 0.86);
    font-size: 14px;
    line-height: 1.7;
}

.explorer3d-preview-body.code {
    max-height: 280px;
    overflow: auto;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 11, 20, 0.56);
    font-family: "JetBrains Mono", monospace;
    white-space: normal;
}

.explorer3d-preview-image-wrap {
    margin-top: 16px;
    display: grid;
    place-items: center;
    min-height: 240px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
        rgba(7, 11, 20, 0.56);
    overflow: hidden;
}

.explorer3d-preview-image {
    display: block;
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
}

.explorer3d-empty {
    padding: 22px;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    color: rgba(255, 240, 204, 0.66);
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
}

.special3d-screen-dom.is-screen-editor {
    border-color: rgba(154, 168, 255, 0.3);
    box-shadow:
        0 30px 74px rgba(0, 0, 0, 0.52),
        0 0 0 1px rgba(154, 168, 255, 0.12) inset,
        0 0 44px rgba(154, 168, 255, 0.18);
}

.special3d-editor-native-screen {
    background:
        radial-gradient(circle at top left, rgba(154, 168, 255, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(99, 215, 255, 0.12), transparent 24%),
        linear-gradient(160deg, rgba(15, 20, 35, 0.98), rgba(9, 13, 22, 0.98));
}

.special3d-editor-native-screen.is-crosshair-active {
    border-color: rgba(154, 168, 255, 0.72);
    box-shadow:
        0 30px 88px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(154, 168, 255, 0.2) inset,
        0 0 56px rgba(154, 168, 255, 0.24);
}

.editor3d-shell,
.docker3d-shell {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    height: 100%;
    padding: 28px;
}

.editor3d-shell {
    color: #f4f3ff;
}

.editor3d-aim-dot,
.docker3d-aim-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transform-origin: center center;
    transition: opacity 120ms ease, transform 120ms ease;
    pointer-events: none;
}

.editor3d-aim-dot {
    box-shadow: 0 0 0 8px rgba(154, 168, 255, 0.12), 0 0 24px rgba(154, 168, 255, 0.32);
}

.docker3d-aim-dot {
    box-shadow: 0 0 0 8px rgba(99, 215, 255, 0.12), 0 0 24px rgba(99, 215, 255, 0.32);
}

.editor3d-aim-dot.visible,
.docker3d-aim-dot.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.editor3d-topbar,
.editor3d-status-row,
.editor3d-file-head,
.editor3d-preview-head,
.docker3d-topbar,
.docker3d-status-row,
.docker3d-task-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.editor3d-title,
.docker3d-title {
    margin-top: 8px;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.editor3d-toolbar,
.editor3d-file-actions,
.editor3d-preview-actions,
.docker3d-toolbar,
.docker3d-builder-actions,
.docker3d-task-actions,
.docker3d-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.editor3d-btn,
.editor3d-crumb,
.editor3d-entry,
.editor3d-tab,
.docker3d-btn,
.docker3d-chip,
.docker3d-task {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    transition: transform 120ms ease, border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

.editor3d-btn,
.editor3d-crumb,
.docker3d-btn,
.docker3d-chip {
    padding: 10px 14px;
    font: inherit;
    font-weight: 700;
}

.editor3d-btn,
.editor3d-crumb,
.editor3d-entry,
.editor3d-tab {
    color: #f4f3ff;
}

.docker3d-btn,
.docker3d-chip,
.docker3d-task {
    color: #eff7fb;
}

.editor3d-btn.is-primary {
    background: linear-gradient(135deg, rgba(154, 168, 255, 0.22), rgba(99, 215, 255, 0.16));
    border-color: rgba(154, 168, 255, 0.34);
}

.editor3d-btn:disabled,
.docker3d-btn:disabled,
.docker3d-chip:disabled {
    opacity: 0.42;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.editor3d-hotspot.is-aimed,
.editor3d-hotspot:hover {
    transform: translateY(-1px) scale(1.01);
    border-color: rgba(154, 168, 255, 0.72);
    background: rgba(154, 168, 255, 0.12);
    box-shadow: 0 0 0 1px rgba(154, 168, 255, 0.18) inset, 0 10px 30px rgba(154, 168, 255, 0.12);
}

.editor3d-hotspot.is-pressed {
    transform: scale(0.985);
}

.editor3d-status-row,
.docker3d-status-row {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.editor3d-status-pill,
.docker3d-status-pill {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    font-size: 13px;
    line-height: 1.3;
}

.editor3d-status-pill {
    color: rgba(238, 235, 255, 0.84);
}

.editor3d-status-pill[data-tone="working"] { border-color: rgba(255, 210, 87, 0.32); color: #fff1bf; }
.editor3d-status-pill[data-tone="success"] { border-color: rgba(124, 231, 198, 0.34); color: #ddfff4; }
.editor3d-status-pill[data-tone="error"] { border-color: rgba(255, 124, 92, 0.34); color: #ffd0c5; }

.editor3d-main,
.docker3d-main {
    min-height: 0;
    flex: 1;
    display: grid;
    grid-template-columns: 336px minmax(0, 1fr);
    gap: 16px;
}

.editor3d-side,
.editor3d-body,
.docker3d-side,
.docker3d-body {
    min-height: 0;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.editor3d-side.is-aimed-zone,
.editor3d-body.is-aimed-zone {
    border-color: rgba(154, 168, 255, 0.34);
    background: rgba(154, 168, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 1px rgba(154, 168, 255, 0.08);
}

.editor3d-side,
.docker3d-side {
    padding: 16px;
}

.editor3d-side-scroll,
.editor3d-body-scroll,
.docker3d-side-scroll {
    min-height: 0;
    height: 100%;
    overflow: auto;
    padding-right: 6px;
    overscroll-behavior: contain;
}

.editor3d-side-scroll,
.editor3d-body-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(154, 168, 255, 0.52) rgba(255, 255, 255, 0.04);
}

.editor3d-side-scroll::-webkit-scrollbar,
.editor3d-body-scroll::-webkit-scrollbar {
    width: 10px;
}

.editor3d-side-scroll::-webkit-scrollbar-track,
.editor3d-body-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
}

.editor3d-side-scroll::-webkit-scrollbar-thumb,
.editor3d-body-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(154, 168, 255, 0.62), rgba(99, 215, 255, 0.42));
    border-radius: 999px;
    border: 2px solid rgba(12, 16, 24, 0.18);
}

.editor3d-side-scroll,
.editor3d-body-scroll {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.editor3d-body {
    padding: 18px;
}

.editor3d-preview {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.editor3d-section-head,
.docker3d-section-head,
.docker3d-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.editor3d-section-head,
.docker3d-card-head {
    color: rgba(238, 235, 255, 0.76);
}

.editor3d-section-head.with-gap,
.docker3d-section-head.with-gap {
    margin-top: 8px;
}

.editor3d-section-meta,
.editor3d-file-meta,
.docker3d-section-meta {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
}

.editor3d-breadcrumbs,
.editor3d-tab-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.editor3d-crumb-sep {
    color: rgba(228, 224, 255, 0.38);
    font-weight: 700;
}

.editor3d-entry-list,
.docker3d-task-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.editor3d-entry,
.docker3d-task {
    width: 100%;
    text-align: left;
}

.editor3d-entry {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 12px;
    align-items: center;
    padding: 13px 14px;
}

.editor3d-entry.is-selected {
    border-color: rgba(154, 168, 255, 0.56);
    background: rgba(154, 168, 255, 0.16);
}

.editor3d-entry-badge,
.docker3d-task-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.editor3d-entry-badge.code { background: rgba(112, 179, 255, 0.18); border: 1px solid rgba(112, 179, 255, 0.28); color: #d8e9ff; }
.editor3d-entry-badge.config { background: rgba(188, 151, 255, 0.18); border: 1px solid rgba(188, 151, 255, 0.28); color: #ede3ff; }
.editor3d-entry-badge.doc { background: rgba(124, 231, 198, 0.16); border: 1px solid rgba(124, 231, 198, 0.28); color: #dcfff3; }
.editor3d-entry-badge.image { background: rgba(255, 124, 92, 0.16); border: 1px solid rgba(255, 124, 92, 0.28); color: #ffe0d6; }
.editor3d-entry-badge.folder,
.editor3d-entry-badge.file { background: rgba(154, 168, 255, 0.16); border: 1px solid rgba(154, 168, 255, 0.26); color: #f4f1ff; }

.editor3d-entry-name,
.docker3d-task-name,
.editor3d-file-title,
.editor3d-preview-title,
.docker3d-task-title {
    min-width: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.editor3d-entry-meta,
.docker3d-task-sub,
.editor3d-preview-sub,
.docker3d-task-meta,
.docker3d-summary-row code {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    line-height: 1.5;
}

.editor3d-entry-meta {
    grid-column: 2;
    color: rgba(228, 224, 255, 0.64);
}

.editor3d-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
}

.editor3d-tab-name {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.editor3d-tab.is-active {
    border-color: rgba(154, 168, 255, 0.58);
    background: rgba(154, 168, 255, 0.16);
}

.editor3d-tab-mark {
    color: rgba(255, 210, 87, 0.9);
}

.editor3d-tab-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 800;
    opacity: 0.92;
    flex-shrink: 0;
}

.editor3d-preview-card,
.docker3d-builder-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at top right, rgba(154, 168, 255, 0.08), transparent 26%), rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.editor3d-preview-card {
    padding: 18px 20px;
}

.editor3d-preview-card.text.is-focused {
    border-color: rgba(154, 168, 255, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 0 0 1px rgba(154, 168, 255, 0.12);
}

.editor3d-preview-kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(154, 168, 255, 0.92);
}

.editor3d-preview-body {
    margin-top: 14px;
    color: rgba(238, 235, 255, 0.9);
    font-size: 14px;
    line-height: 1.7;
}

.editor3d-preview-body.code,
.docker3d-log {
    overflow: auto;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 11, 20, 0.56);
    font-family: "JetBrains Mono", monospace;
    white-space: pre-wrap;
    word-break: break-word;
}

.editor3d-preview-body.code {
    max-height: 360px;
}

.editor3d-preview-image-wrap {
    margin-top: 16px;
    display: grid;
    place-items: center;
    min-height: 240px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 11, 20, 0.56);
    overflow: hidden;
}

.editor3d-preview-image {
    display: block;
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
}

.editor3d-file-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.editor3d-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(154, 168, 255, 0.18);
    background: rgba(154, 168, 255, 0.1);
    color: rgba(242, 238, 255, 0.92);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.editor3d-empty.small {
    padding: 12px 14px;
}

.editor3d-empty,
.docker3d-empty {
    padding: 18px;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    color: rgba(235, 239, 255, 0.68);
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
}

.special3d-screen-dom.is-screen-docker {
    border-color: rgba(99, 215, 255, 0.28);
    box-shadow:
        0 30px 74px rgba(0, 0, 0, 0.52),
        0 0 0 1px rgba(99, 215, 255, 0.1) inset,
        0 0 44px rgba(99, 215, 255, 0.16);
}

.special3d-docker-native-screen {
    background:
        radial-gradient(circle at top left, rgba(99, 215, 255, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(124, 231, 198, 0.12), transparent 24%),
        linear-gradient(160deg, rgba(10, 23, 31, 0.98), rgba(7, 13, 19, 0.98));
}

.special3d-docker-native-screen.is-crosshair-active {
    border-color: rgba(99, 215, 255, 0.72);
    box-shadow:
        0 30px 88px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(99, 215, 255, 0.2) inset,
        0 0 56px rgba(99, 215, 255, 0.24);
}

.docker3d-shell { color: #eff7fb; }
.docker3d-btn.is-primary { background: linear-gradient(135deg, rgba(99, 215, 255, 0.22), rgba(124, 231, 198, 0.16)); border-color: rgba(99, 215, 255, 0.34); }
.docker3d-hotspot.is-aimed,
.docker3d-hotspot:hover { transform: translateY(-1px) scale(1.01); border-color: rgba(99, 215, 255, 0.72); background: rgba(99, 215, 255, 0.12); box-shadow: 0 0 0 1px rgba(99, 215, 255, 0.18) inset, 0 10px 30px rgba(99, 215, 255, 0.12); }
.docker3d-hotspot.is-pressed { transform: scale(0.985); }
.docker3d-chip.is-active { border-color: rgba(99, 215, 255, 0.58); background: rgba(99, 215, 255, 0.16); box-shadow: 0 0 0 1px rgba(99, 215, 255, 0.14) inset; }
.docker3d-status-pill { color: rgba(236, 245, 251, 0.84); }
.docker3d-status-pill[data-tone="working"] { border-color: rgba(255, 210, 87, 0.32); color: #fff1bf; }
.docker3d-status-pill[data-tone="success"] { border-color: rgba(124, 231, 198, 0.34); color: #d5fff2; }
.docker3d-status-pill[data-tone="error"] { border-color: rgba(255, 124, 92, 0.34); color: #ffd0c5; }
.docker3d-side.is-aimed-zone,
.docker3d-body.is-aimed-zone { border-color: rgba(99, 215, 255, 0.34); background: rgba(99, 215, 255, 0.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 1px rgba(99, 215, 255, 0.08); }
.docker3d-side-scroll { display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; scrollbar-color: rgba(99, 215, 255, 0.52) rgba(255, 255, 255, 0.04); }
.docker3d-side-scroll::-webkit-scrollbar,
.docker3d-log::-webkit-scrollbar { width: 10px; }
.docker3d-side-scroll::-webkit-scrollbar-track,
.docker3d-log::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.04); border-radius: 999px; }
.docker3d-side-scroll::-webkit-scrollbar-thumb,
.docker3d-log::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(99, 215, 255, 0.62), rgba(124, 231, 198, 0.42)); border-radius: 999px; border: 2px solid rgba(9, 16, 20, 0.18); }
.docker3d-builder-card { padding: 18px 20px; }
.docker3d-builder-state {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(99, 215, 255, 0.1), rgba(124, 231, 198, 0.06));
    color: rgba(235, 246, 251, 0.88);
    font-size: 13px;
    line-height: 1.55;
}
.docker3d-builder-state[data-tone="success"] {
    border-color: rgba(124, 231, 198, 0.3);
    background: linear-gradient(135deg, rgba(124, 231, 198, 0.16), rgba(99, 215, 255, 0.08));
    color: #defff5;
}
.docker3d-summary-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 10px; color: rgba(236, 245, 251, 0.84); }
.docker3d-summary-row:first-of-type { margin-top: 14px; }
.docker3d-builder-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}
.docker3d-dockerfile-card {
    margin-top: 16px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(99, 215, 255, 0.12);
    background: linear-gradient(180deg, rgba(7, 13, 19, 0.58), rgba(11, 20, 30, 0.44));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.docker3d-dockerfile {
    margin: 12px 0 0;
    max-height: 224px;
    overflow: auto;
    padding: 14px 15px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 9, 14, 0.72);
    color: rgba(235, 247, 252, 0.94);
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 215, 255, 0.52) rgba(255, 255, 255, 0.04);
}
.docker3d-dockerfile::-webkit-scrollbar { width: 10px; }
.docker3d-dockerfile::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.04); border-radius: 999px; }
.docker3d-dockerfile::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(99, 215, 255, 0.62), rgba(124, 231, 198, 0.42)); border-radius: 999px; border: 2px solid rgba(9, 16, 20, 0.18); }
.docker3d-task { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; }
.docker3d-task.is-active { border-color: rgba(99, 215, 255, 0.58); background: rgba(99, 215, 255, 0.16); }
.docker3d-task-pill.running,
.docker3d-task-pill.building { background: rgba(124, 231, 198, 0.16); border: 1px solid rgba(124, 231, 198, 0.28); color: #dcfff3; }
.docker3d-task-pill.stopped,
.docker3d-task-pill.pending,
.docker3d-task-pill.unknown { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); color: rgba(236, 245, 251, 0.82); }
.docker3d-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.docker3d-runtime-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 14px;
}
.docker3d-runtime-card {
    min-height: 0;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(99, 215, 255, 0.12);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(99, 215, 255, 0.06));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.docker3d-runtime-label {
    color: rgba(197, 225, 236, 0.72);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.docker3d-runtime-label.with-gap {
    margin-top: 14px;
}
.docker3d-runtime-value {
    margin-top: 8px;
    color: #f4fbff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.docker3d-runtime-sub {
    margin-top: 8px;
    color: rgba(216, 235, 244, 0.78);
    font-size: 13px;
    line-height: 1.6;
}
.docker3d-runtime-code {
    display: block;
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 9, 14, 0.56);
    color: rgba(235, 247, 252, 0.9);
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.docker3d-flow-card {
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(99, 215, 255, 0.14);
    background:
        radial-gradient(circle at top right, rgba(99, 215, 255, 0.12), transparent 24%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(99, 215, 255, 0.05));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.docker3d-flow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.docker3d-flow-node {
    min-width: 0;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(99, 215, 255, 0.14);
    background: rgba(8, 16, 23, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.docker3d-flow-label {
    display: block;
    color: rgba(169, 223, 241, 0.72);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.docker3d-flow-value {
    display: block;
    margin-top: 8px;
    color: #f4fbff;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.docker3d-flow-meta {
    display: block;
    margin-top: 6px;
    color: rgba(214, 232, 243, 0.64);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.docker3d-flow-lane {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.docker3d-flow-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(99, 215, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(214, 232, 243, 0.68);
}

.docker3d-flow-chip.is-active {
    border-color: rgba(99, 215, 255, 0.34);
    background: rgba(99, 215, 255, 0.14);
    color: #eefaff;
    box-shadow: 0 0 0 1px rgba(99, 215, 255, 0.12) inset, 0 12px 28px rgba(99, 215, 255, 0.08);
}

.docker3d-flow-chip-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(99, 215, 255, 0.16);
    font-size: 11px;
    font-weight: 800;
}

.docker3d-flow-chip-label {
    font-size: 12px;
    font-weight: 700;
}

.docker3d-flow-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.docker3d-log-shell {
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(99, 215, 255, 0.12);
    background: linear-gradient(180deg, rgba(5, 10, 16, 0.54), rgba(12, 20, 27, 0.44));
}
.docker3d-log-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: rgba(221, 239, 247, 0.84);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.docker3d-log-tail {
    min-width: 0;
    color: rgba(166, 220, 238, 0.78);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.docker3d-task-meta { color: rgba(220, 234, 245, 0.72); line-height: 1.55; }
.docker3d-log { flex: 1; min-height: 0; margin: 0; color: rgba(238, 247, 252, 0.92); }

.editor3d-file-head > div:first-child,
.docker3d-task-head > div:first-child {
    min-width: 0;
    flex: 1;
}

.docker3d-summary-row > span:first-child {
    font-weight: 700;
    color: rgba(228, 241, 250, 0.72);
}

@media (max-width: 1180px) {
    .docker3d-builder-actions,
    .docker3d-runtime-grid,
    .docker3d-flow-grid,
    .explorer3d-route-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .special3d-intro,
    .special3d-console {
        width: calc(100vw - 28px);
        left: 14px;
    }

    .special3d-intro {
        top: 14px;
    }

    .special3d-console {
        bottom: 14px;
    }

    .special3d-hud {
        top: auto;
        right: 14px;
        left: 14px;
        bottom: 14px;
        justify-content: space-between;
    }

    .hud-left {
        flex: 1;
        min-width: 0;
    }

    .hud-right {
        flex-direction: column;
    }

    .overlay-shell {
        width: calc(100vw - 20px);
        height: calc(100vh - 20px);
        padding: 14px;
    }

    .surface-shell {
        width: calc(100vw - 16px);
        height: calc(100vh - 16px);
        padding: 14px;
        transform: none;
    }

    .portal-shell {
        width: calc(100vw - 28px);
        height: calc(100vh - 120px);
        padding: 14px;
        transform: none;
    }

    .status-grid {
        grid-template-columns: 1fr;
    }

    .console-actions-grid,
    .console-hero-stats {
        grid-template-columns: 1fr;
    }

    .ai3d-main,
    .explorer3d-main,
    .collab3d-main,
    .explorer3d-workflow-strip,
    .ai3d-quick-grid,
    .explorer3d-item-grid,
    .ai3d-composer,
    .collab3d-composer {
        grid-template-columns: 1fr;
    }
}

/* 3D Workspace permanent-mode overrides */
.special3d-explorer-native-screen .explorer3d-summary-actions,
.special3d-explorer-native-screen .explorer3d-preview-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.special3d-explorer-native-screen .explorer3d-item-grid {
    perspective: 1400px;
    transform-style: preserve-3d;
}

.special3d-explorer-native-screen .explorer3d-folder-item {
    transform: translateZ(var(--folder-depth, 0px)) rotateY(-10deg);
    transform-style: preserve-3d;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.special3d-explorer-native-screen .explorer3d-folder-item:hover {
    transform: translateY(-2px) translateZ(calc(var(--folder-depth, 0px) + 8px)) rotateY(-6deg);
}

.special3d-explorer-native-screen .explorer3d-item-card {
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(var(--card-depth, 0px)) rotateY(var(--card-tilt, 0deg));
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.special3d-explorer-native-screen .explorer3d-item-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.special3d-explorer-native-screen .explorer3d-item-card:hover,
.special3d-explorer-native-screen .explorer3d-item-card.is-selected {
    transform: translateY(-4px) translateZ(calc(var(--card-depth, 0px) + 12px)) rotateY(calc(var(--card-tilt, 0deg) * 0.45));
}
