:root { 
    --accent: #14b8a6; 
    --bg: #0f0f0f; 
    --card: linear-gradient(145deg, #1a1a1a, #131313);
    --border: rgba(255, 255, 255, 0.06);
}

body { 
    background: var(--bg); 
    color: white; 
    font-family: -apple-system, sans-serif; 
    margin: 0; 
    padding: 20px; 
    padding-top: 40px; 
    -webkit-tap-highlight-color: transparent; 
}

.logo { 
    font-size: 44px; 
    font-weight: 900; 
    font-style: italic; 
    letter-spacing: -2px; 
}

.card { 
    background: var(--card); 
    border: 1px solid var(--border); 
    border-radius: 24px; 
    padding: 20px; 
    margin-bottom: 12px;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); 
    transition: transform 0.2s;
    cursor: pointer;
}

.card:active { 
    transform: scale(0.97); 
}

.btn-main { 
    background: var(--accent); 
    color: black; 
    border: none;
    border-radius: 18px; 
    padding: 14px 24px; 
    font-weight: 900;
    text-transform: uppercase; 
    font-size: 11px; 
    font-style: italic;
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.2);
    cursor: pointer;
}

.btn-danger { 
    background: #222; 
    color: #f43f5e; 
    border: 1px solid rgba(244, 63, 94, 0.2); 
    box-shadow: none;
}

.btn-warn { 
    background: #222; 
    color: #eab308; 
    border: 1px solid rgba(234, 179, 8, 0.2); 
    box-shadow: none;
}

.bottom-sheet {
    position: fixed; 
    bottom: -120%; 
    left: 0; 
    right: 0; 
    background: #161616; 
    border-top: 1px solid var(--border);
    border-radius: 30px 30px 0 0; 
    padding: 25px; 
    padding-bottom: 40px;
    transition: 0.4s cubic-bezier(0, 0.5, 0.5, 1); 
    z-index: 1000;
    max-height: 85vh;
    overflow-y: auto;
}

.bottom-sheet.open { 
    bottom: 0; 
}

.overlay { 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.8); 
    backdrop-filter: blur(5px); 
    display: none; 
    z-index: 900; 
}

.overlay.open { 
    display: block; 
}

input, textarea { 
    width: 100%; 
    background: #080808; 
    border: 1px solid var(--border);
    border-radius: 16px; 
    padding: 18px; 
    color: white; 
    margin-bottom: 12px; 
    box-sizing: border-box; 
    outline: none; 
    font-size: 12px; 
    font-weight: bold;
    font-family: inherit;
}

textarea {
    resize: vertical;
    min-height: 100px;
    font-family: monospace;
    font-size: 10px;
}

input:focus, textarea:focus { 
    border-color: var(--accent); 
}

.stat-box { 
    background: #080808; 
    border: 1px solid var(--border); 
    border-radius: 14px; 
    padding: 12px; 
    text-align: center; 
}

.stat-label { 
    font-size: 8px; 
    color: #666; 
    font-weight: 900; 
    text-transform: uppercase; 
    margin-bottom: 4px; 
}

.stat-val { 
    font-size: 14px; 
    font-weight: 900; 
    color: var(--accent); 
}

pre { 
    background: #000; 
    padding: 15px; 
    border-radius: 12px; 
    font-size: 10px; 
    color: var(--accent); 
    overflow-x: auto; 
    margin-top: 15px; 
    border: 1px solid var(--border); 
    white-space: pre-wrap;
    word-wrap: break-word;
}