* {
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}

body {
    background-color: #08080a;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 10px;
}

.nd-container {
    background: #141619;
    width: 100%;
    max-width: 390px;
    padding: 15px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.9), inset 0 1px 2px rgba(255,255,255,0.1);
    border: 3px solid #22252a;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Renk Sınıfları */
.cyan { color: #00ffff; }
.magenta { color: #ff00ff; }
.green { color: #00ff00; }
.white { color: #ffffff; }

/* Üst ve Alt Bilgi Barları */
.top-bar, .bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #004422;
    font-size: 13px;
    font-weight: bold;
}

.info-block {
    display: flex;
    gap: 4px;
    align-items: center;
}

.label {
    color: #888;
    font-size: 11px;
}

/* Canvas Alanı */
.canvas-wrapper {
    background-color: #000;
    border: 2px solid #005522;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 20px rgba(0,255,100,0.08);
}

canvas {
    background-color: #000;
    display: block;
}

/* Kontrol Düğmeleri */
.controls {
    display: flex;
    justify-content: space-between;
    background-color: #1a1d21;
    padding: 8px 12px;
    border-radius: 8px;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: bold;
    color: #aaa;
}

.btn {
    background: linear-gradient(145deg, #333, #111);
    color: #00ff00;
    border: 1px solid #005522;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

.btn.active {
    background: #005522;
    color: #fff;
    box-shadow: 0 0 8px rgba(0,255,0,0.4);
}

.btn:active {
    transform: translateY(1px);
}
