
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    color: #fff;
    font-family: Arial, sans-serif;
}

#app {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    height: 100dvh;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 28px;
    background: #080a10;
    border-bottom: 1px solid #222;
}

h1 {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
}

header p {
    font-size: 12px;
    color: #888;
    margin-top: 7px;
}

.mode-switch {
    display: flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #111;
}

.mode-switch button {
    border: none;
    background: transparent;
    color: #aaa;
    padding: 10px 17px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    white-space: nowrap;
}

.mode-switch button.active {
    background: #e88b43;
    color: #000;
    font-weight: bold;
}

.mode-switch button:hover:not(.active) {
    background: #292929;
    color: white;
}

#simulator {
    display: block;
    flex: 1;
    min-height: 0;
    width: 100%;
    border: none;
    background: #000;
}

#mode-info {
    padding: 10px 20px;
    background: #080a10;
    color: #777;
    font-size: 11px;
    text-align: center;
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        padding: 12px;
        gap: 12px;
    }

    h1 {
        font-size: 15px;
    }

    .mode-switch {
        width: 100%;
    }

    .mode-switch button {
        flex: 1;
    }
}
