:root {
    --bg-color: #0d0d0d;
    --panel-bg: #161616;
    --text-color: #e0e0e0;
    --accent: #ff4081;
    --tv-glow: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow: hidden; /* Запрещаем скролл, это "комната" */
}

/* Сетка комнаты */
.room-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    height: 100vh;
    transition: background-color 0.5s ease; /* Для реакции на арт */
}

/* Панель тем */
.theme-panel {
    background-color: var(--panel-bg);
    padding: 2rem;
    border-right: 1px solid #333;
}

.logo {
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

.logo span {
    color: var(--accent);
}

.theme-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.theme-list li {
    padding: 0.8rem 1rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
}

.theme-list li:hover, .theme-list li.active {
    background-color: #2a2a2a;
    color: var(--accent);
}

/* Сцена */
.stage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Телевизор */
.tv-setup {
    width: 70%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 15px solid #222;
    border-radius: 12px;
    box-shadow: 0 0 50px var(--tv-glow);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.tv-screen {
    width: 100%;
    height: 100%;
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
}

#current-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Коты */
.audience {
    display: flex;
    justify-content: space-between;
    width: 60%;
    max-width: 600px;
    margin-top: 3rem;
}

.cat-container {
    position: relative;
    font-size: 4rem; /* Временный размер для эмодзи */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Облака комментариев */
.speech-bubble {
    position: absolute;
    top: -50px;
    background: #fff;
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
    opacity: 1;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.speech-bubble.hidden {
    opacity: 0;
}