
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    background-color: #000000;
    background-image: linear-gradient(to bottom, #000000 0%, #272d33 100%);
    min-height: 100vh;
    color: #FFFFFF;
    font-family: "Roboto", "Arial", sans-serif;
    display: flex;
    flex-direction: column;
}

header {
    background-color: #030304;
    background-image: linear-gradient(to bottom, #141414, #030304);
    color: #FFFFFF;
    border-bottom: 2px solid #33B5E5;
    height: 48px;
    min-height: 48px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    z-index: 2;
}

.app-title {
    font-weight: 500;
    letter-spacing: 0.3px;
}

.header-actions {
    display: flex;
    align-items: center;
}

.invite-button {
    color: #33B5E5;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    padding: 10px 12px;
    transition: background 0.2s;
}

.invite-button:hover {
    background: rgba(51, 181, 229, 0.15);
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px;
    min-height: 0;
}

.broadcast-container {
    position: relative;
    flex: 1;
    min-height: 300px;
    width: 100%;
    background: #000;
    border: 1px solid #333;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
    background: #000;
}

.ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 8px 16px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    z-index: 5;
    overflow-wrap: anywhere;
    transition: background-color 0.2s;
}

.ticker.normal {
    background-color: #33B5E5;
}

.ticker.urgent {
    background-color: #FF4444;
}

.ticker.warning {
    background-color: #FFBB33;
}

footer {
    height: 32px;
    min-height: 32px;
    padding: 0 16px;
    background: #08090B;
    border-top: 1px solid #30363C;
    color: #888888;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
}

.footer-version {
    color: #33B5E5;
}

.noscript-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.holo-dialog {
    width: min(90%, 400px);
    background: #20252A;
    border: 1px solid #33B5E5;
    box-shadow: 0 0 20px rgba(51, 181, 229, 0.25);
    color: #FFFFFF;
}

.dialog-title {
    padding: 16px;
    font-size: 20px;
    color: #33B5E5;
    border-bottom: 1px solid #41484F;
}

.dialog-content {
    padding: 20px 16px;
    font-size: 14px;
    line-height: 1.6;
}

.dialog-footer {
    padding: 12px 16px;
    border-top: 1px solid #41484F;
    text-align: right;
    color: #33B5E5;
    font-size: 12px;
    font-weight: bold;
}


@media (max-width: 600px) {
    main {
        padding: 5px;
    }

    .ticker {
        font-size: 13px;
        padding: 8px 10px;
    }

    footer {
        font-size: 10px;
    }
}
