/**
 * @file guard_sketch3d.css
 * @brief Styles der interaktiven 3D-Skizze des RM Guard (gleiche Skizze wie in der Guard-Weboberfläche).
 *        Skript: guard_sketch3d.js, Kamerablick-Overlay: osd_draw.js.
 */
.sketch-wrap {
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.45);
    padding: 10px;
}

.sketch-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.sketch-head h3 {
    margin: 0;
    font-size: 0.95rem;
    color: #00e5ff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sketch-views {
    display: flex;
    gap: 6px;
}

.view-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #94a3b8;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.view-sep {
    width: 1px;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.15);
    margin: 2px 2px;
}

.view-btn.active {
    border-color: #00e5ff;
    color: #00e5ff;
}

.sketch-canvas {
    position: relative;
    height: min(62vh, 460px);
    border-radius: 10px;
    overflow: hidden;
    background: radial-gradient(ellipse at 60% 40%, #0f1a2a 0%, #05070c 70%);
}

.sketch-canvas canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
    touch-action: none;
}

.sketch-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sketch-labels {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sketch-label {
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(0, 229, 255, 0.5);
    background: rgba(0, 0, 0, 0.6);
    color: #e2e8f0;
    font: 600 11px ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    letter-spacing: 0.03em;
}

.sketch-label.is-muted {
    border-color: rgba(148, 163, 184, 0.35);
    color: #94a3b8;
}

.sketch-fallback {
    padding: 60px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
}

.sketch-hint {
    margin-top: 6px;
    text-align: center;
    font-size: 0.74rem;
    color: #64748b;
}
