/* ===== 88号 55电影播放器样式（复用 xifan 变量，少量增补） ===== */

/* 分类标签 —— 使用金色主题区分 66 号 */
.dy55-cat-tabs {
    display: flex;
    gap: 8px;
    padding: 12px 0 8px;
    overflow-x: auto;
    scrollbar-width: none;
    flex-shrink: 0;
}
.dy55-cat-tabs::-webkit-scrollbar { display: none; }

.dy55-cat-tab {
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    background: rgba(255,255,255,0.03);
    color: var(--text-3);
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(.22,.61,.36,1);
    flex-shrink: 0;
}
.dy55-cat-tab:hover {
    background: rgba(245,158,11,0.1);
    border-color: rgba(245,158,11,0.3);
    color: var(--text-1);
    transform: translateY(-1px);
}
.dy55-cat-tab.active {
    background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(94,234,212,0.1));
    border-color: rgba(245,158,11,0.5);
    color: #fff;
    box-shadow: 0 0 16px rgba(245,158,11,0.12);
}

/* 搜索框 */
.dy55-search-wrap {
    padding: 8px 0;
    flex-shrink: 0;
}
.dy55-search-wrap input {
    width: 100%;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: var(--text-1);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}
.dy55-search-wrap input:focus {
    border-color: rgba(245,158,11,0.4);
}
.dy55-search-wrap input::placeholder {
    color: var(--text-4);
}

/* ===== 官方站 iframe 播放（源站接口不可达时） ===== */
.xifan-official-wrap {
    position: absolute;
    top: 56px; left: 0; right: 0; bottom: 0;
    background: #000;
}
.xifan-official-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.xifan-official-fallback {
    position: absolute; inset: 0;
    display: none;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 24px;
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.7;
}
.xifan-official-play-btn {
    display: block;
    width: 100%;
    padding: 14px 16px;
    margin-top: 4px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    border: 0;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, filter 0.15s;
}
.xifan-official-play-btn:hover { filter: brightness(1.08); }
.xifan-official-play-btn:active { transform: scale(0.98); }
