.subtitle {
    font-size: 1.2rem;
    color: #a0a0c0;
    margin-bottom: 20px;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 30px;
    margin: 0 auto;
}

.control-panel {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.control-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
}

label {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #b0b0d0;
}

input,
select,
button {
    padding: 10px 15px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
}

input,
select {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    width: 180px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

button {
    background: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(37, 117, 252, 0.4);
}

.screen-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

#bulletScreen {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.bullet {
    position: absolute;
    white-space: nowrap;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
    transition: opacity 0.3s;
    right: -100%;
    /* 初始位置在屏幕右侧外部 */
}

.bullet:hover {
    opacity: 1;
    transform: scale(1.05);
    z-index: 10;
}

@keyframes bulletMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-200vw);
        /* 向左移动两个视窗宽度，确保完全移出 */
    }
}

.data-info {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 20px;
    width: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.data-info h3 {
    margin-bottom: 15px;
    color: #6a89cc;
    font-size: 1.4rem;
}

.data-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

.data-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 10px;
    border-left: 4px solid #6a11cb;
    font-size: 0.9rem;
    line-height: 1.5;
}

.user {
    color: #6a89cc;
    font-weight: 600;
}

.message {
    color: #e0e0ff;
}

.time {
    color: #a0a0c0;
    font-size: 0.8rem;
    margin-top: 5px;
}
@media (max-width: 768px) {
    .control-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .control-group {
        width: 100%;
    }

    input,
    select {
        width: 100%;
    }

    h1 {
        font-size: 2rem;
    }
}