* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #000;
    color: #fff;
    font-family: 'Courier New', monospace;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

#game-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

#game-container canvas {
    display: block;
}

/* UI Overlay */
#ui-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 10;
}

#ui-overlay > * {
    pointer-events: auto;
}

/* Screens (centered flex containers) */
.screen {
    display: none;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    z-index: 20;
    gap: 12px;
}

.screen h1 {
    font-size: 2.5em;
    text-shadow: 0 0 20px rgba(0, 150, 255, 0.5);
    margin-bottom: 8px;
}

.screen h2 {
    font-size: 1.8em;
    color: #88ccff;
    margin-bottom: 8px;
}

.screen p, .screen .info-line {
    font-size: 1em;
    color: #aabbcc;
    margin: 4px 0;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #0066cc, #0044aa);
    color: #fff;
    border: 2px solid #4488cc;
    padding: 12px 32px;
    font-size: 1.1em;
    font-family: inherit;
    cursor: pointer;
    border-radius: 4px;
    margin: 4px;
    transition: all 0.2s;
}
.btn-primary:hover { background: linear-gradient(135deg, #0088ee, #0066cc); transform: scale(1.05); }

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #aaa;
    border: 1px solid #555;
    padding: 10px 24px;
    font-size: 1em;
    font-family: inherit;
    cursor: pointer;
    border-radius: 4px;
    margin: 4px;
    transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

.btn-accent {
    background: linear-gradient(135deg, #cc6600, #aa4400);
    color: #fff;
    border: 2px solid #ff8844;
    padding: 8px 20px;
    font-size: 0.9em;
    font-family: inherit;
    cursor: pointer;
    border-radius: 4px;
    margin: 4px;
    transition: all 0.2s;
}
.btn-accent:hover { background: linear-gradient(135deg, #ee8800, #cc6600); }

/* HUD */
#hud {
    display: none;
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 8px 16px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    font-size: 0.85em;
    z-index: 15;
    pointer-events: none;
}

#hud-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
#hud-score { color: #ccddff; }
#hud-tokens { color: #ffcc00; font-size: 0.9em; }

#hud-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}
#hud-level { color: #ccddff; }
#hud-wave { color: #ffc926; font-size: 0.9em; text-shadow: 0 0 10px rgba(255, 201, 38, 0.6); }

/* Health Bar */
.health-bar-outer {
    width: 180px;
    height: 8px;
    background: rgba(255, 50, 50, 0.15);
    border: 1px solid rgba(255, 50, 50, 0.3);
    border-radius: 4px;
    overflow: hidden;
}
.health-bar-inner {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #22dd22, #44ff44);
    box-shadow: 0 0 8px rgba(50, 255, 50, 0.6);
    transition: width 0.3s ease;
    border-radius: 4px;
}
.health-bar-inner.health-mid {
    background: linear-gradient(90deg, #ddaa00, #ffcc44);
    box-shadow: 0 0 8px rgba(255, 170, 0, 0.6);
}
.health-bar-inner.health-low {
    background: linear-gradient(90deg, #dd2222, #ff4444);
    box-shadow: 0 0 8px rgba(255, 50, 50, 0.6);
}

/* Wave Announcement */
#wave-announce {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2em;
    color: #ffc926;
    text-shadow: 0 0 20px rgba(255, 201, 38, 0.7), 0 0 40px rgba(255, 201, 38, 0.3);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 18;
    pointer-events: none;
}


/* Toast */
#toast {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(0, 200, 100, 0.9);
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 1em;
    font-weight: bold;
    z-index: 30;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}
#toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Menu */
.menu-title {
    font-size: 3em;
    background: linear-gradient(135deg, #00aaff, #ff4488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.menu-subtitle {
    color: #667788;
    font-size: 0.9em;
    margin-bottom: 16px;
}

.menu-info {
    color: #556677;
    font-size: 0.8em;
    margin-top: 12px;
}

.menu-version {
    color: #334455;
    font-size: 0.7em;
    margin-top: 16px;
    text-align: center;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 4px 0;
}

/* Theme Select */
#theme-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 600px;
    margin: 12px 0;
}

.theme-card {
    background: rgba(30, 40, 60, 0.9);
    border: 2px solid #334;
    border-radius: 8px;
    padding: 16px;
    width: 160px;
    text-align: center;
    transition: all 0.2s;
}
.theme-card.selected { border-color: #0088ff; box-shadow: 0 0 15px rgba(0, 136, 255, 0.3); }
.theme-card.locked { opacity: 0.5; }
.theme-card:hover:not(.locked) { border-color: #4488cc; }

.theme-name { font-size: 1.1em; color: #ccddff; margin-bottom: 4px; }
.theme-desc { font-size: 0.75em; color: #778899; margin-bottom: 8px; }
.theme-status { font-size: 0.8em; color: #556677; }

/* Shop */
.shop-panel, .admin-panel, .admin-password-panel {
    background: rgba(10, 15, 30, 0.95);
    border: 2px solid #334;
    border-radius: 12px;
    padding: 24px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    width: 90%;
}

.shop-tokens {
    text-align: center;
    font-size: 1.2em;
    color: #ffcc00;
    margin-bottom: 12px;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin: 10px 0 16px;
}

.shop-card {
    background: rgba(30, 40, 60, 0.8);
    border: 1px solid #334;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
}
.shop-card.maxed { border-color: #228822; }
.shop-card.locked { opacity: 0.6; }

.shop-icon { font-size: 1.8em; margin-bottom: 4px; }
.shop-name { font-size: 0.9em; color: #ccddff; }
.shop-desc { font-size: 0.7em; color: #778; margin: 4px 0; }
.shop-owned { font-size: 0.75em; color: #88aa88; }
.shop-status { font-size: 0.8em; color: #44aa44; margin-top: 4px; }

.shop-buy {
    background: #cc6600;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8em;
    margin-top: 4px;
}
.shop-buy:hover { background: #ee8800; }
.shop-buy:disabled { background: #444; cursor: not-allowed; }

.shop-sell {
    background: #555;
    color: #ff8888;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8em;
    margin-top: 4px;
}
.shop-sell:hover { background: #666; }

.shop-btn-group {
    display: flex;
    gap: 4px;
    align-items: center;
}

/* Admin */
.admin-grid { margin: 16px 0; }

.admin-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-row label { color: #aabbcc; font-size: 0.95em; }

.admin-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #445;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1em;
}
.admin-input:focus { outline: none; border-color: #0088ff; }

.admin-pw-error { color: #ff4444; font-size: 0.9em; margin: 8px 0; }
.admin-buttons { display: flex; gap: 8px; margin-top: 12px; }

/* Toggle switch */
.toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #333;
    border-radius: 26px;
    transition: 0.3s;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    left: 3px; bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}
.toggle input:checked + .toggle-slider { background: #0088ff; }
.toggle input:checked + .toggle-slider::before { transform: translateX(22px); }

.slider-group { display: flex; align-items: center; gap: 8px; }
.slider-group input[type="range"] { width: 100px; }
.slider-group span { color: #88aacc; font-size: 0.85em; min-width: 35px; }

.token-grant { display: flex; gap: 6px; align-items: center; }

/* Boss intro */
#boss-intro-screen {
    background: rgba(0, 0, 0, 0.7);
}
#boss-intro-screen h2 {
    font-size: 2.5em;
    color: #ff4444;
    text-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
    animation: boss-pulse 0.5s ease-in-out infinite alternate;
}
@keyframes boss-pulse {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}
#boss-name {
    font-size: 1.4em;
    color: #ffaa44;
    margin-top: 8px;
}

/* Level complete banner (non-blocking) */
.level-banner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 20, 60, 0.9);
    border: 2px solid #4488cc;
    border-radius: 12px;
    padding: 20px 40px;
    z-index: 20;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s, transform 0.4s;
}
.level-banner.banner-show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.level-banner h2 {
    font-size: 1.6em;
    color: #88ccff;
    margin-bottom: 4px;
    text-shadow: 0 0 15px rgba(0, 150, 255, 0.4);
}
.level-banner p {
    font-size: 1.1em;
    color: #ffcc00;
}

/* Game over */
#game-over-screen h2 {
    color: #ff4444;
}

/* Ending */
#ending-screen {
    background: rgba(0, 0, 10, 0.95);
}
.ending-line {
    font-size: 1.1em;
    color: #ccddff;
    margin: 8px 0;
    min-height: 1.4em;
}
#ending-score, #ending-tokens {
    color: #ffcc00;
    font-size: 1.2em;
    margin: 4px 0;
}

/* Touch controls */
.touch-controls {
    display: none;
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    z-index: 12;
    pointer-events: none;
}

#touch-joystick {
    position: absolute;
    left: 20px; bottom: 20px;
    width: 80px; height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    pointer-events: auto;
}

#touch-fire {
    position: absolute;
    right: 20px; bottom: 20px;
    width: 70px; height: 70px;
    background: rgba(255, 50, 50, 0.3);
    border: 2px solid rgba(255, 50, 50, 0.5);
    border-radius: 50%;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8em;
}

#touch-bomb {
    position: absolute;
    right: 100px; bottom: 28px;
    width: 54px; height: 54px;
    background: rgba(255, 160, 0, 0.3);
    border: 2px solid rgba(255, 160, 0, 0.5);
    border-radius: 50%;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65em;
}

@media (pointer: coarse) {
    .touch-controls { display: block; }
}

/* Countdown text */
.countdown-text {
    color: #88aacc;
    font-size: 0.9em;
    margin-top: 8px;
    animation: countdown-pulse 1s ease-in-out infinite alternate;
}
@keyframes countdown-pulse {
    from { opacity: 0.6; }
    to { opacity: 1; }
}

/* In-game admin toggle */
#admin-ingame-toggle {
    position: absolute;
    top: calc(50% - 26px); right: 12px;
    width: 36px; height: 36px;
    background: rgba(200, 0, 0, 0.5);
    border: 1px solid rgba(255, 0, 0, 0.4);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 22;
    transition: background 0.2s;
}
#admin-ingame-toggle:hover { background: rgba(200, 0, 0, 0.8); }

/* In-game admin panel */
#admin-ingame-panel {
    position: absolute;
    top: 0; right: 0;
    width: 240px; height: 100%;
    background: rgba(10, 15, 30, 0.92);
    border-left: 2px solid #334;
    z-index: 21;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 16px;
}
#admin-ingame-panel.panel-open {
    transform: translateX(0);
}
#admin-ingame-panel .admin-row {
    padding: 6px 0;
}
#admin-ingame-panel .admin-row label {
    font-size: 0.8em;
}
#admin-ingame-panel h3 {
    color: #cc3333;
    font-size: 0.9em;
    margin-bottom: 8px;
    text-align: center;
}
#admin-ingame-panel .slider-group input[type="range"] {
    width: 80px;
}

/* In-game shop toggle */
#shop-ingame-toggle {
    position: absolute;
    top: calc(50% + 18px); right: 12px;
    width: 36px; height: 36px;
    background: rgba(0, 120, 200, 0.5);
    border: 1px solid rgba(0, 150, 255, 0.4);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 22;
    transition: background 0.2s;
}
#shop-ingame-toggle:hover { background: rgba(0, 120, 200, 0.8); }

/* In-game shop panel */
#shop-ingame-panel {
    position: absolute;
    top: 0; right: 0;
    width: 260px; height: 100%;
    background: rgba(10, 15, 30, 0.92);
    border-left: 2px solid #334;
    z-index: 21;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 16px;
}
#shop-ingame-panel.panel-open {
    transform: translateX(0);
}
#shop-ingame-panel h3 {
    color: #ffcc00;
    font-size: 0.9em;
    margin-bottom: 8px;
    text-align: center;
}
#shop-ingame-panel .shop-tokens {
    font-size: 1em;
    margin-bottom: 10px;
}
#shop-ingame-panel .shop-grid {
    grid-template-columns: 1fr;
    gap: 8px;
}
#shop-ingame-panel .shop-card {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    padding: 8px 10px;
}
#shop-ingame-panel .shop-icon { font-size: 1.4em; margin-bottom: 0; flex-shrink: 0; }
#shop-ingame-panel .shop-info { flex: 1; min-width: 0; }
#shop-ingame-panel .shop-name { font-size: 0.85em; }
#shop-ingame-panel .shop-desc { font-size: 0.65em; }
#shop-ingame-panel .shop-owned { font-size: 0.7em; }
#shop-ingame-panel .shop-buy { font-size: 0.75em; padding: 4px 8px; flex-shrink: 0; }
#shop-ingame-panel .shop-sell { font-size: 0.75em; padding: 4px 8px; flex-shrink: 0; }
#shop-ingame-panel .shop-btn-group { flex-shrink: 0; }

/* In-game version */
#hud-version {
    display: none;
    position: absolute;
    bottom: 4px; left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.6em;
    z-index: 15;
    pointer-events: none;
}

/* Leaderboard */
#leaderboard-screen h2 {
    color: #ffcc00;
    text-shadow: 0 0 20px rgba(255, 204, 0, 0.4);
}

#leaderboard-theme-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 12px;
}
.lb-tab {
    background: rgba(255, 255, 255, 0.08);
    color: #889;
    border: 1px solid #445;
    padding: 6px 14px;
    font-size: 0.85em;
    font-family: inherit;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}
.lb-tab:hover { background: rgba(255, 255, 255, 0.15); color: #ccc; }
.lb-tab.active { background: rgba(0, 100, 200, 0.4); color: #88ccff; border-color: #4488cc; }

#leaderboard-table-wrap {
    width: 90%;
    max-width: 420px;
    max-height: 340px;
    overflow-y: auto;
}

#leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}
#leaderboard-table thead th {
    color: #ffcc00;
    font-size: 0.85em;
    padding: 6px 8px;
    border-bottom: 2px solid rgba(255, 204, 0, 0.3);
    text-align: left;
}
#leaderboard-table tbody td {
    padding: 6px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #aabbcc;
}
#leaderboard-table tbody tr.rank-1 td { color: #ffd700; text-shadow: 0 0 6px rgba(255, 215, 0, 0.4); }
#leaderboard-table tbody tr.rank-2 td { color: #c0c0c0; }
#leaderboard-table tbody tr.rank-3 td { color: #cd7f32; }
#leaderboard-table tbody tr.highlight td { background: rgba(0, 100, 255, 0.15); }

/* Name Input Modal */
.name-input-box {
    background: rgba(10, 15, 30, 0.95);
    border: 2px solid #4488cc;
    border-radius: 12px;
    padding: 28px 36px;
    text-align: center;
    box-shadow: 0 0 40px rgba(0, 100, 255, 0.3);
}
.name-input-box h2 {
    color: #ffcc00;
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.5);
    margin-bottom: 8px;
}
.name-score-display {
    font-size: 1.4em;
    color: #ffcc00;
    margin-bottom: 12px;
}
.name-input-box label {
    display: block;
    color: #88aacc;
    font-size: 0.85em;
    margin-bottom: 8px;
}
.name-input-text {
    width: 100px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #4488cc;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 2em;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    padding: 8px;
    border-radius: 6px;
    outline: none;
}
.name-input-text:focus {
    border-color: #88ccff;
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.4);
}
.name-input-box .btn-primary {
    display: block;
    margin: 16px auto 0;
    min-width: 100px;
}

/* Co-op Lobby */
.lobby-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.lobby-label {
    color: #88aacc;
    font-size: 0.85em;
    letter-spacing: 0.1em;
}
.room-code {
    font-size: 4em;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.3em;
    color: #ffcc00;
    text-shadow: 0 0 20px rgba(255, 204, 0, 0.4);
    padding: 8px 16px;
    background: rgba(255, 204, 0, 0.05);
    border: 2px solid rgba(255, 204, 0, 0.2);
    border-radius: 8px;
}
.room-code-input {
    width: 180px;
    font-size: 2.5em;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.3em;
    text-align: center;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #4488cc;
    color: #fff;
    padding: 8px;
    border-radius: 6px;
    outline: none;
}
.room-code-input:focus {
    border-color: #88ccff;
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.4);
}
.lobby-players {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 8px 0;
}
.lobby-player {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #ccc;
}
.lobby-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.connecting-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: #4488cc;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Team HUD */
#team-hud {
    position: absolute;
    top: 42px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 16;
    pointer-events: none;
}
.team-hp-bar {
    display: flex;
    align-items: center;
    gap: 4px;
}
.team-label {
    font-size: 0.65em;
    font-weight: bold;
}
.team-hp-outer {
    width: 50px;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}
.team-hp-inner {
    height: 100%;
    width: 100%;
    border-radius: 3px;
    transition: width 0.3s, opacity 0.3s;
}

/* Connection Status */
#connection-status {
    position: absolute;
    top: 8px; right: 52px;
    z-index: 16;
    pointer-events: none;
    font-size: 0.7em;
    display: flex;
    align-items: center;
    gap: 4px;
}
#connection-status .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #44ff44;
}
#connection-status .status-dot.warn { background: #ffcc00; }
#connection-status .status-dot.bad { background: #ff4444; }

/* Net Debug Log */
.net-debug-log {
    width: 90%;
    max-width: 500px;
    max-height: 160px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #334;
    border-radius: 4px;
    padding: 8px;
    font-size: 0.65em;
    color: #66aa88;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-all;
    margin-top: 8px;
    text-align: left;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: rgba(0,0,0,0.3); }
::-webkit-scrollbar-thumb { background: #334; border-radius: 3px; }
