.art-container {
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    /* 自动维持视频比例 */
    border-radius: 0.3rem;
    /* 圆角 */
    overflow: hidden;
    /* 让播放器圆角生效 */
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.2),0 4px 10px -5px rgba(0, 0, 0, 0.1);
}

#artplayer {
    width: 100% !important;
    height: 100% !important;
}

.plugin-item {
    cursor: pointer;
}

.app-main:focus {
    outline: none;
    box-shadow: none;
}

.url-opt {
    width: 80px;
    padding-right: 0.5rem !important;
    text-align: center;

}

.url-title {
    padding: 0.5rem !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#playListModalBody td{
    padding: 0.4rem !important;
}
#seek-list .table-danger{
    border-color: #eee;
}
.alert {
    padding: 0.5rem;
}

.table-wrapper {
    max-height: 80vh;
    /* ✅ 最多占屏幕 80% */
    overflow-y: auto;
}

.art-contextmenu-version {
    display: none !important;
}

#faqbox h5 {
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    font-size: 1.1rem;
}

.lang-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.2s;
}

.lang-dropdown .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
}

.lang-dropdown .dropdown-toggle::after {
    display: none;
    /* 隐藏默认箭头，用自定义图标 */
}

.lang-flag {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.lang-label {
    font-size: 13px;
    font-weight: 500;
}

.lang-caret {
    font-size: 10px;
    transition: transform 0.2s;
}

.lang-dropdown.show .lang-caret {
    transform: rotate(180deg);
}

/* 下拉菜单 */
.lang-dropdown .dropdown-menu {
    min-width: 150px;
    padding: 6px;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    animation: fadeDown 0.2s ease;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
    font-size: 13px;
}

.lang-option:hover {
    background: #f0f2f5;
}

.lang-option.active {
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 600;
}

.lang-option .check-icon {
    margin-left: auto;
    font-size: 14px;
}

@media (max-width: 576px) {
    .lang-label {
        display: none;
    }
    .art-container {
        aspect-ratio: 4 / 3;
    }
    .card-header{
        padding: 0.65rem;
    }
    .form-control-lg {
        min-height: 1rem;
        padding: .25rem 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .app-content{
        padding: 0;
    }
    .art-control-Subtitle {
        display: none !important;
    }
}