/* ==========================================================================
   [tmdb_providers] ショートコード用スタイル
   タブ切り替え + カードグリッド
   ========================================================================== */

.vod-providers-wrapper {
    background: #1e1e1e;
    border-radius: 16px;
    padding: 28px;
    margin: 40px 0;
    border: 1px solid #333;
    border-bottom: none;
}
.vod-providers-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    text-align: center;
    color: #ffffff;
}
.vod-providers-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
}
.vod-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #9ca3af;
    position: relative;
    transition: color 0.2s ease;
}
.vod-tab:hover {
    color: #f59e0b;
}
.vod-tab.active {
    color: #f59e0b;
}
.vod-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #f59e0b;
}
.vod-providers-panel {
    display: none;
}
.vod-providers-panel.active {
    display: block;
}
.vod-providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}
.vod-card {
    background: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vod-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.vod-card a {
    display: block;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    text-align: center;
}
.vod-card img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin: 0 auto 8px;
    display: block;
}
.vod-card-name {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 6px;
    color: #ffffff;
}
.vod-card-badge {
    display: inline-block;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    color: #ffffff;
}
.vod-card-badge--flatrate {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.vod-card-badge--rent {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}
.vod-card-badge--buy {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.vod-providers-credit {
    margin: 16px 0 0;
    font-size: 12px;
    color: #6b7280;
    text-align: center;
}

/* VODクレジット末尾のⓘアイコン（rating-source のアイコン専用バリアント） */
.rating-source--icon {
    margin-left: 4px;
    padding: 0;
    background: transparent;
    border: none;
    color: #6b7280;
}
.rating-source--icon::after {
    margin-left: 0;
    font-size: 13px;
    opacity: 1;
}
.vod-providers-credit .rating-source-tooltip {
    white-space: normal;
    width: 280px;
    text-align: left;
}
@media (max-width: 600px) {
    .vod-providers-credit .rating-source-tooltip {
        width: 240px;
    }
}

@media (max-width: 768px) {
    .vod-providers-wrapper {
        padding: 20px;
    }
    .vod-providers-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    .vod-tab {
        padding: 8px 14px;
        font-size: 13px;
    }
}
