/* ==========================================================================
   Livestream Page Styles
   Extracted from playertest.html design.
   ========================================================================== */

/* Main Layout */
.main-container {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Left Column (Player + Info) */
.left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.player-wrapper {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
    z-index: 10;
}

/* Source Selector */
.source-selector {
    display: flex;
    gap: 6px;
    margin: 8px 0 12px;
    flex-wrap: wrap;
}

.source-btn {
    padding: 5px 14px;
    border-radius: 14px;
    border: 1px solid #444;
    background: transparent;
    color: #aaa;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s;
}

.source-btn:hover {
    background: #2a2a2a;
    color: #fff;
}

.source-btn.active {
    background: #1a6b2a;
    border-color: #27ae60;
    color: #fff;
}

#stream-info-container {
    flex: 1;
    overflow-y: auto;
    position: relative;
    background-color: var(--bg-color);
}

/* Stream Info */
.stream-info {
    padding: 20px;
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
}

.info-header-left {
    flex: 1;
    min-width: 200px;
}

.streamer-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    margin-top: 5px;
}

.streamer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #444;
    object-fit: cover;
}

.streamer-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.streamer-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.streamer-name a {
    color: var(--text-color);
    text-decoration: none;
}

.streamer-name a:hover {
    text-decoration: underline;
}

.streamer-followers {
    font-size: 0.85rem;
    color: #aaa;
}

.info-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: bold;
    overflow-wrap: break-word;
    word-break: break-word;
}

.info-description {
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 20px;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: pre-line;
}

/* Info Actions (Right Side) */
.info-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.info-stats-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.viewer-count {
    color: #aaa;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.red-dot {
    width: 8px;
    height: 8px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
}

.action-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-accent {
    background-color: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background-color: var(--button-hover);
}

.btn-accent.following {
    background-color: #2a2a2a;
    color: #aaa;
    border: 1px solid #444;
}

.btn-accent.following:hover {
    background-color: #3a2020;
    color: #e88;
    border-color: #844;
}

.btn-dark {
    background-color: #333;
    color: #ccc;
}

.btn-dark:hover {
    background-color: #444;
    color: white;
}

.vote-btn {
    padding: 6px 10px;
    font-size: 0.9rem;
}

/* Comments */
.comments-section {
    margin-top: 20px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.comments-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.comment {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.comment-avatar {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
}

.comment-content div:first-child {
    font-weight: bold;
    margin-bottom: 4px;
}

.comment-content div:last-child {
    color: #ccc;
    font-size: 0.9rem;
}

/* Right Column (Live Chat) */
.right-column {
    width: var(--chat-width);
    background-color: var(--bg-color);
    border-left: 1px solid #333;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
    overflow: hidden;
    min-height: 0;
}

.chat-header {
    padding: 15px;
    border-bottom: 1px solid #333;
    font-weight: bold;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-popout-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    color: var(--accent, #00e5ff);
    opacity: 0.7;
    transition: opacity 0.15s;
}

.chat-popout-btn:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Chat Message Layout */
.chat-msg {
    line-height: 1.4;
    padding: 3px 0;
    overflow-wrap: break-word;
    word-break: break-word;
    min-width: 0;
}

.chat-msg-header {
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    flex-wrap: nowrap;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.chat-username {
    font-family: 'Archivo Narrow', sans-serif;
    font-weight: 700;
    font-size: 1.053rem;
    cursor: pointer;
    flex-shrink: 0;
}

.chat-text {
    font-size: 0.935rem;
    color: #ddd;
    overflow-wrap: break-word;
    word-break: break-word;
    padding-left: 0;
}

.chat-messages {
    flex: 1;
    padding: 10px 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chat-input-area {
    position: relative;
    padding: 8px 10px;
    border-top: 1px solid #333;
    flex: 0 0 auto;
    display: flex;
    gap: 6px;
    align-items: center;
    box-sizing: border-box;
    max-width: 100%;
}

.chat-input {
    flex: 1;
    min-width: 0;
    background-color: var(--bg-color);
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    color: #ddd;
    padding: 8px 10px;
    font-size: 0.85rem;
    -webkit-appearance: none;
    appearance: none;
}

.chat-input::-webkit-search-cancel-button,
.chat-input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.chat-autocomplete {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: #2a2a3a;
    border: 1px solid #555;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
}

.ac-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #ddd;
}

.ac-item:hover,
.ac-item.ac-active {
    background: #3a3a4e;
    color: #fff;
}

.chat-msg-mentioned {
    border-left: 3px solid var(--accent-color);
    padding-left: 8px;
    background: linear-gradient(to right, color-mix(in srgb, var(--accent-color) 50%, transparent), color-mix(in srgb, var(--accent-color) 10%, transparent));
}

.chat-scroll-btn {
    position: absolute;
    bottom: 65px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-color);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: background-color 0.15s, transform 0.15s;
    z-index: 50;
}

.chat-scroll-btn:hover {
    background: var(--button-hover);
    transform: scale(1.1);
}

.chat-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.chat-send-btn {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background-color: var(--accent-color);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s;
}

.chat-send-btn:hover {
    background-color: var(--button-hover);
}

.chat-emoji-btn {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.chat-emoji-btn:hover {
    color: #fff;
}

.emoji-picker-wrapper {
    display: none;
    position: fixed;
    z-index: 1000;
}

.emoji-picker-wrapper.visible {
    display: block;
}

emoji-picker {
    --background: #2a2a3a;
    --border-color: #555;
    --indicator-color: var(--accent-color);
    --input-border-color: #555;
    --input-font-color: #ddd;
    --input-placeholder-color: #888;
    --category-font-color: #aaa;
    --num-columns: 8;
    height: 300px;
}

.chat-login-prompt {
    color: #777;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
}

.chat-login-prompt a {
    color: var(--accent-color);
}

.chat-reconnecting {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background-color: rgba(255, 180, 0, 0.12);
    color: #e0a800;
    font-size: 0.85rem;
    font-weight: 500;
    border-top: 1px solid rgba(255, 180, 0, 0.2);
    flex-shrink: 0;
}

.chat-reconnecting-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e0a800;
    animation: reconnect-pulse 1.2s ease-in-out infinite;
}

@keyframes reconnect-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.chat-viewer-badge {
    margin-left: 8px;
    font-size: 0.8rem;
    color: #aaa;
    font-weight: normal;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.red-dot-sm {
    width: 6px;
    height: 6px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
}

/* Vote Buttons */
.vote-buttons {
    display: flex;
    gap: 6px;
}

.vote-btn {
    padding: 6px 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s;
}

.vote-btn.active {
    color: white;
}

#upvote-btn.active {
    background-color: #2d7d2d;
    border-color: #2d7d2d;
}

#downvote-btn.active {
    background-color: #8b2222;
    border-color: #8b2222;
}

/* Comments */
.comments-section h3 {
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-count-badge {
    background-color: #444;
    color: #ccc;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: normal;
}

.comment-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.comment-form textarea {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #444;
    background-color: #2a2a2a;
    color: white;
    resize: vertical;
    font-family: inherit;
    font-size: 0.9rem;
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.comment-form .btn {
    align-self: flex-end;
}

.login-prompt {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.login-prompt a {
    color: var(--accent-color);
}

.comment-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2a2a2a;
}

.comment-avatar {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
}

.comment-avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.comment-username {
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--text-color);
}

.comment-time {
    font-size: 0.75rem;
    color: #666;
}

.comment-text {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.4;
    word-wrap: break-word;
}

/* Toggle Button */
.toggle-btn {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(60, 60, 60, 0.8);
    color: white;
    border: 1px solid #555;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1001;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    animation: pulse-glow 1s ease-out;
}

.toggle-btn:hover {
    background-color: rgba(90, 90, 90, 0.9);
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Mobile Responsive Styles */
@media (max-width: 900px) {
    .main-container {
        flex-direction: column;
    }

    /* Default mobile state before JS applies layout classes */
    .right-column {
        display: none;
    }

    .main-container.mobile-mode-chat .left-column {
        flex: 0 0 auto;
        overflow: visible;
    }

    .main-container.mobile-mode-chat #stream-info-container {
        display: none;
    }

    .main-container.mobile-mode-chat .right-column {
        display: flex;
        flex: 1;
        min-height: 250px;
        width: 100%;
        border-left: none;
        border-top: 1px solid #333;
        overflow: hidden;
    }

    .main-container.mobile-mode-chat .player-wrapper {
        max-height: 35vh;
    }

    .main-container.mobile-mode-info .left-column {
        flex: 1;
        overflow: hidden;
    }

    .main-container.mobile-mode-info #stream-info-container {
        display: block;
    }

    .main-container.mobile-mode-info .right-column {
        display: none;
    }

    .toggle-btn {
        display: flex;
    }

    .info-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-actions {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .info-stats-row {
        order: 2;
    }

    .action-row {
        order: 1;
    }
}

/* Ultrawide Responsive Styles (Triggered via class) */
.main-container.ultrawide-mode .left-column {
    flex: 1;
    overflow: hidden;
}

.main-container.ultrawide-mode .right-column {
    display: flex;
    flex-direction: column;
    border-left: 1px solid #333;
}

.main-container.ultrawide-mode .toggle-btn {
    display: flex;
}

.main-container.ultrawide-mode .info-header {
    flex-direction: column;
    align-items: flex-start;
}

.main-container.ultrawide-mode .info-actions {
    align-items: flex-start;
    width: 100%;
    margin-top: 10px;
}

.hidden-in-ultrawide {
    display: none !important;
}

/* Fullscreen Chat Overlay Styles */
.op-chat-icon {
    width: 100%;
    height: 100%;
    display: inline-block;
    fill: #fff;
}

/* Toggle Logic */
.op-wrapper.op-chat-hidden .op-fullscreen-chat-overlay {
    display: none !important;
}

div.op-fullscreen-chat-overlay {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 60px !important;
    left: auto !important;

    width: 350px !important;
    max-width: 40% !important;
    height: auto !important;

    background-color: rgba(0, 0, 0, 0.5) !important;

    z-index: 2147483647 !important;
    pointer-events: none !important;

    display: flex !important;
    flex-direction: column !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Hide input in fullscreen overlay */
.op-fullscreen-chat-overlay .chat-input-area {
    display: none !important;
}

/* Adjust chat messages padding/overflow */
.op-fullscreen-chat-overlay .chat-messages {
    overflow: hidden;
    justify-content: flex-end;
    mask-image: linear-gradient(to bottom, transparent, black 20%);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%);
}

/* Hide chat when toggled off */
.op-chat-hidden .op-fullscreen-chat-overlay {
    display: none !important;
}

/* Mobile constraint for fullscreen overlay */
@media (max-width: 900px) {
    .op-fullscreen-chat-overlay {
        display: none !important;
    }
}

/* ==========================================================================
   Chat Tools: Badges, System Messages, Moderation Panel, Polls
   ========================================================================== */

/* Badges */
.chat-badge {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    vertical-align: middle;
}

/* System Messages */
.chat-msg-system {
    font-style: italic;
    color: #888;
    border-left: 3px solid #555;
    padding-left: 8px;
    font-size: 0.9rem;
}

.chat-msg-system .chat-text {
    color: #888;
}

/* Moderation Panel */
.mod-panel {
    background: #1e1e2e;
    border: 1px solid var(--accent-color);
    margin: 8px;
    border-radius: 6px;
    padding: 12px 15px;
    flex-shrink: 0;
}

.mod-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mod-panel-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-color);
}

.mod-panel-close {
    background: none;
    border: none;
    color: #888;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 2px 6px;
}

.mod-panel-close:hover {
    color: #fff;
}

.mod-panel-body {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.mod-panel-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #333;
}

.mod-panel-role {
    font-size: 0.85rem;
    color: #aaa;
}

.mod-panel-badges {
    display: flex;
    gap: 4px;
}

.mod-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mod-btn {
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid #444;
    background: #2a2a3a;
    color: #ddd;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.15s;
}

.mod-btn:hover {
    background: #3a3a4e;
}

.mod-btn-danger {
    border-color: #e53935;
    color: #ff6b6b;
}

.mod-btn-danger:hover {
    background: rgba(229, 57, 53, 0.2);
}

.mod-btn-warn {
    border-color: #ffa000;
    color: #ffd740;
}

.mod-btn-warn:hover {
    background: rgba(255, 160, 0, 0.2);
}

/* Poll UI */
.chat-poll {
    background: #1e1e2e;
    border: 1px solid var(--accent-color);
    margin: 8px;
    border-radius: 6px;
    padding: 12px 15px;
    flex-shrink: 0;
}

.chat-poll-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.chat-poll-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-color);
}

.chat-poll-close-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 1rem;
    cursor: pointer;
    padding: 2px 6px;
}

.chat-poll-close-btn:hover {
    color: #fff;
}

.chat-poll-options {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 6px;
}

.poll-option-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: #2a2a3a;
    border: 1px solid #444;
    border-radius: 4px;
    color: #ddd;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, border-color 0.15s;
}

.poll-option-btn:hover {
    background: #3a3a4e;
    border-color: var(--accent-color);
}

.poll-votes {
    font-size: 0.8rem;
    color: #888;
    margin-left: 8px;
}

.chat-poll-footer {
    font-size: 0.8rem;
    color: #888;
    text-align: right;
}

.chat-poll-actions {
    display: flex;
    gap: 8px;
    padding-top: 6px;
    border-top: 1px solid #333;
    margin-top: 6px;
}

.chat-poll-actions .mod-btn {
    flex: 1;
    font-size: 0.75rem;
    padding: 4px 8px;
}

.chat-poll-countdown {
    height: 3px;
    background: #222;
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
}

.chat-poll-countdown-bar {
    height: 100%;
    width: 100%;
    background: var(--accent-color, #e53935);
    border-radius: 2px;
}

@keyframes pollCountdown {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* Poll results */
.poll-result {
    position: relative;
    padding: 6px 10px;
    background: #2a2a3a;
    border-radius: 4px;
    overflow: hidden;
}

.poll-result-bar {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 229, 255, 0.15);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.poll-result-text {
    position: relative;
    z-index: 1;
    font-size: 0.85rem;
    color: #ddd;
}

/* Togglable avatar */
.mod-panel-avatar {
    cursor: pointer;
    transition: width 0.2s ease, height 0.2s ease;
}

.mod-panel-avatar-large {
    width: 100%;
    height: auto;
    border-radius: 4px;
    max-height: 300px;
}

.mod-panel-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Mod panel filter section */
.mod-panel-filter {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #333;
}

.mod-btn-filter {
    border-color: #00e5ff;
    color: #00e5ff;
}

.mod-btn-filter:hover {
    background: rgba(0, 229, 255, 0.15);
}

/* Chat message filter (dim non-matching, highlight matches) */
.chat-filter-active .chat-msg {
    opacity: 0.25;
    transition: opacity 0.15s;
}

.chat-filter-active .chat-msg-highlighted {
    opacity: 1;
    background: rgba(0, 229, 255, 0.08);
    border-radius: 4px;
}

/* Poll create button in header */
.chat-poll-create-btn {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    padding: 2px 4px;
    display: inline-flex;
    align-items: center;
}

.chat-poll-create-btn:hover {
    color: #fff;
}

/* Poll creation panel */
.poll-create-panel {
    background: #1e1e2e;
    border: 1px solid var(--accent-color);
    margin: 8px;
    border-radius: 6px;
    padding: 12px 15px;
    flex-shrink: 0;
}

.poll-create-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.poll-create-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-color);
}

.poll-create-close {
    background: none;
    border: none;
    color: #888;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 2px 6px;
}

.poll-create-close:hover {
    color: #fff;
}

.poll-create-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.poll-create-input {
    background: #141420;
    border: 1px solid #444;
    border-radius: 4px;
    color: #ddd;
    padding: 8px 10px;
    font-size: 0.85rem;
    width: 100%;
    box-sizing: border-box;
}

.poll-create-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.poll-create-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.poll-create-actions {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.mod-btn-accent {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    font-weight: 600;
}

.mod-btn-accent:hover {
    opacity: 0.85;
}