@charset "UTF-8";
/**
 * ショート動画詳細ページスタイル
 * shorts-detail.css
 *
 * PC: 左に情報パネル（470px）+ 右にプレイヤー（520px 9:16）+ アクションサイドバー
 * SP: 1カラム（プレイヤー全幅 + 下に情報パネル）
 */

/* ==========================================================================
   Body Override
   ========================================================================== */
body.single-shorts {
    padding-left: 0 !important;
    padding-right: 0 !important;
    background-color: var(--color-white) !important;
}

/* ショート詳細ページではフッター非表示（PC） */
body.single-shorts .p-footer {
    display: none;
}

/* ==========================================================================
   Main Container
   ========================================================================== */
.p-short-detail {
    width: 100%;
    max-width: 100%;
    background: var(--color-white);
    height: calc(100dvh - var(--short-detail-top, 94px));
    overflow: hidden;
}

/* ==========================================================================
   Grid Layout (PC: 2カラム)
   ========================================================================== */
.p-short-detail__grid {
    display: flex;
    gap: 40px 8px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px;
    height: 100%;
    box-sizing: border-box;
    align-items: stretch;
}

/* ==========================================================================
   Player Area (左カラム)
   ========================================================================== */
.p-short-detail__player-area {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: stretch;
    flex-shrink: 0;
}

/* Player Container */
.p-short-detail__player {
    position: relative;
    width: auto;
    height: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: var(--color-black);
    border-radius: 10px;
}

/* ==========================================================================
   EquipMedia Player - レスポンシブ対応
   ========================================================================== */
.p-short-detail__player iframe,
.p-short-detail__player object,
.p-short-detail__player embed,
.p-short-detail__player > div,
.p-short-detail__player > script + div,
.p-short-detail__player .jstream_t3,
.p-short-detail__player [id^="jstream"] {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

.p-short-detail__player .equipmedia-not-ready {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--color-white);
    text-align: center;
}

/*
 * EQプレイヤーUI要素の非表示（divレンダリング時のみ有効、iframe内は不可）
 * スキップボタン・画質切替・再生速度ボタンを非表示にする
 */
.p-short-detail__player .jstream_t3 .skip-button,
.p-short-detail__player .jstream_t3 .back-skip,
.p-short-detail__player .jstream_t3 .forward-skip,
.p-short-detail__player .jstream_t3 [class*="skip"],
.p-short-detail__player .jstream_t3 [class*="quality"],
.p-short-detail__player .jstream_t3 [class*="playback-rate"],
.p-short-detail__player .jstream_t3 [class*="speed"] {
    display: none !important;
}

/* ==========================================================================
   Action Buttons (プレイヤー右側に縦並び)
   ========================================================================== */
.p-short-detail__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

/* アクションボタングループ（保存・共有） */
.p-short-detail__action-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* ナビゲーションボタングループ（↑↓） */
.p-short-detail__nav-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* 共通ボタンスタイル（保存・共有） */
.p-short-detail__action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: opacity var(--transition-base);
    padding: 8px 0;
}

.p-short-detail__action-btn img {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.p-short-detail__action-btn:hover {
    opacity: 0.7;
}

/* アクションボタンラベル（保存・共有） */
.p-short-detail__action-label {
    font-size: 15px;
    line-height: 24px;
    color: var(--color-text);
}

/* 保存済み状態 */
.p-short-detail__action-btn.is-saved img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(96%) saturate(1230%) hue-rotate(200deg) brightness(94%) contrast(95%);
}

.p-short-detail__action-btn.is-saved .p-short-detail__action-label {
    color: var(--color-primary);
}

/* ==========================================================================
   Share Wrap & Card
   ========================================================================== */
.p-short-detail__share-wrap {
    position: relative;
}

.p-short-detail__share-card {
    display: none;
    position: absolute;
    top: 50%;
    left: calc(100% + 8px);
    transform: translateY(-50%);
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.12);
    z-index: var(--z-modal);
    white-space: nowrap;
    width: max-content;
    max-width: calc(100vw - var(--space-32));
}

.p-short-detail__share-card.is-open {
    display: block;
}

.p-short-detail__share-card-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 5px 0;
}

.p-short-detail__share-card-item a,
.p-short-detail__share-card-item button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    font-family: inherit;
    font-size: 14px;
    line-height: var(--line-height-base);
    text-align: left;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.p-short-detail__share-card-item a:hover,
.p-short-detail__share-card-item button:hover {
    background-color: #DAE4F2;
    text-decoration: none;
}

.p-short-detail__share-card-item img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ==========================================================================
   Navigation Buttons (前後のショート動画)
   ========================================================================== */
.p-short-detail__nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #718096;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-base);
    padding: 0;
    color: var(--color-white);
}

.p-short-detail__nav-btn svg {
    width: 24px;
    height: 24px;
}

.p-short-detail__nav-btn:hover:not(:disabled) {
    background-color: #5a6a7e;
}

.p-short-detail__nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ==========================================================================
   Play Overlay (再生ボタンオーバーレイ / インタラクション未済時)
   ========================================================================== */
.p-short-detail__play-overlay {
    position: absolute;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    border-radius: inherit;
    transition: background 0.2s ease;
}

.p-short-detail__play-overlay:hover {
    background: rgba(0, 0, 0, 0.15);
}

.p-short-detail__play-overlay svg {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

/* ==========================================================================
   PC Feed Mode (プレイヤー内スライド遷移)
   ========================================================================== */
.p-short-detail__pc-feed-viewport {
    overflow: hidden;
    /* height は JS で明示的に設定（flex stretch の height: 100% が解決されないため） */
    aspect-ratio: 9 / 16;
    border-radius: 10px;
    background: var(--color-black);
    position: relative;
}

.p-short-detail__pc-feed-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.p-short-detail__pc-feed-slide {
    width: 100%;
    overflow: hidden;
}

/* フィードスライド内のプレイヤー: ビューポートにフィット */
.p-short-detail__pc-feed-slide .p-short-detail__player {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    overflow: hidden;
}

/* ==========================================================================
   Info Panel (左カラム)
   ========================================================================== */
.p-short-detail__info {
    width: 470px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-y: auto;
}

/* Title */
.p-short-detail__title {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    line-height: 28px;
    color: var(--color-text);
    margin: 0;
}

/* Tags (post-meta component) */
.p-short-detail__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-8);
    margin-bottom: 0;
}

/* Provided Content Label */
.p-short-detail__provided-label {
    align-self: flex-start;
    padding: 8px;
    border-radius: var(--border-radius-md);
    background-color: #F6F6F6;
    font-weight: bold;
    font-size: 14px;
    line-height: 1;
    color: var(--color-text);
}

/* ==========================================================================
   Full Video Section (全編動画)
   ========================================================================== */
.p-short-detail__full-video {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.p-short-detail__full-video-title {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin: 0;
}

/* Media Card within shorts detail */
.p-short-detail .c-gi-media-card {
    display: flex;
    gap: 12px;
    font-size: var(--font-size-card-title);
    text-decoration: none;
    color: inherit;
}

.p-short-detail .c-gi-media-card:hover {
    text-decoration: none;
    opacity: 0.8;
}

.p-short-detail .c-gi-media-card__thumb {
    width: 171px;
    height: 96px;
    align-self: flex-start;
    position: relative;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.p-short-detail .c-gi-media-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-short-detail .c-gi-media-card__time {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.75);
    color: var(--color-white);
    font-size: var(--font-size-tag-small);
    padding: 2px 5px;
    border-radius: 3px;
}

.p-short-detail .c-gi-media-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    min-width: 0;
}

.p-short-detail .c-gi-media-card__title {
    font-weight: bold;
    font-size: 14px;
    margin: 0;
    line-height: 24px;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   Footer Links Section (規約・ポリシー / PC表示用)
   ========================================================================== */
.p-short-detail__footer-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px;
}

.p-short-detail__footer-links-title {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    line-height: 27px;
    color: var(--color-text);
    margin: 0 0 8px;
}

.p-short-detail__footer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.p-short-detail__footer-links-list a {
    color: #5b5b5b;
    font-size: 15px;
    line-height: 24px;
    text-decoration: none;
}

.p-short-detail__footer-links-list a:hover {
    text-decoration: underline;
}

/* 音量ボタンは SP 専用（PC版では非表示） */
@media screen and (min-width: 1025px) {
    .p-short-detail__action-btn.js-volume-btn {
        display: none;
    }
}

/* ==========================================================================
   Responsive (SP & Tablet portrait: max-width 1024px)
   - iPad portrait (744〜1024px、iPad Pro 12.9 含む) も SP feed mode で表示
   - iPad landscape (1025px〜) は PC レイアウト維持
   ========================================================================== */
@media screen and (max-width: 1024px) {

    /* important-notice: SP ショート詳細では非表示 */
    body.single-shorts .p-important-notice {
        display: none;
    }

    /* メインコンテナ: ビューポートフィット（ヘッダー分のみ考慮） */
    .p-short-detail {
        height: calc(100dvh - var(--header-height, 74px));
        overflow: hidden;
        background: #333;
    }

    /* グリッド: フルハイト + position relative（情報パネルオーバーレイ用） */
    .p-short-detail__grid {
        flex-direction: column;
        gap: 0;
        padding: 0;
        height: 100%;
        position: relative;
    }

    /* Player Area: フルハイト、横並びスペースなし */
    .p-short-detail__player-area {
        width: 100%;
        height: 100%;
        gap: 0;
        position: relative;
        /* PC flex 横並びを解除し、プレイヤーのみフルサイズ */
        display: block;
    }

    /* Player: 画面フィット */
    .p-short-detail__player {
        width: 100%;
        height: 100%;
        max-height: none;
        aspect-ratio: auto;
        border-radius: 0;
    }

    /* iframe のタッチイベントを無効化（スワイプ操作のため） */
    /* 再生/停止は JS の accessor で制御 */
    .p-short-detail__player iframe,
    .p-short-detail__feed-slide iframe,
    .p-short-detail__pc-feed-slide iframe {
        pointer-events: none !important;
    }

    /* ミュート解除モード: iframe を直接タップ可能にする */
    .p-short-detail__feed-slide.is-unmute-mode iframe {
        pointer-events: auto !important;
    }

    /* Actions: 動画の上下中央・右側（fixed でbody基準、iframe より確実に上） */
    .p-short-detail__actions {
        position: fixed !important;
        right: 8px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        bottom: auto !important;
        left: auto !important;
        z-index: var(--z-content-overlay) !important;
        padding-bottom: 0;
        pointer-events: auto !important;
    }

    /* PC feed viewport: SP時はフルサイズ化 */
    .p-short-detail__pc-feed-viewport {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: auto !important;
        border-radius: 0 !important;
    }

    /* PC feed slide 内のプレイヤー: SP時フルサイズ */
    .p-short-detail__pc-feed-slide .p-short-detail__player {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: auto !important;
        border-radius: 0 !important;
    }

    /* グループラッパー: SP でも PC 同様にグループ化 */
    .p-short-detail__action-group {
        gap: 2px;
    }
    .p-short-detail__nav-group {
        gap: 9px;
    }

    /* アクションラベル: SP で白文字+シャドウ表示 (明るい背景の動画でも視認可能) */
    .p-short-detail__action-label {
        display: block;
        color: #fff;
        font-size: 8px;
        line-height: 13px;
        text-shadow:
            0 1px 2px rgba(0, 0, 0, 0.9),
            0 0 6px rgba(0, 0, 0, 0.6);
    }

    /* フッターリンク: PCのみ表示 */
    .p-short-detail__footer-links {
        display: none;
    }

    /* アクションボタン: 透明背景 + 縦並び */
    .p-short-detail__action-btn {
        flex-direction: column;
        width: auto;
        height: auto;
        border-radius: 0;
        background: transparent;
        border: none;
        padding: 4px 0;
    }

    .p-short-detail__action-btn img {
        width: 27px;
        height: 27px;
        filter: brightness(0) invert(1)
            drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8))
            drop-shadow(0 0 6px rgba(0, 0, 0, 0.5));
    }

    .p-short-detail__action-btn svg {
        width: 27px;
        height: 27px;
        color: #fff;
        filter:
            drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8))
            drop-shadow(0 0 6px rgba(0, 0, 0, 0.5));
    }

    /* 保存済み状態（SP） */
    .p-short-detail__action-btn.is-saved img {
        filter: brightness(0) saturate(100%) invert(27%) sepia(96%) saturate(1230%) hue-rotate(200deg) brightness(94%) contrast(95%)
            drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8))
            drop-shadow(0 0 6px rgba(0, 0, 0, 0.5));
    }

    .p-short-detail__action-btn.is-saved .p-short-detail__action-label {
        color: var(--color-primary);
    }

    /* ナビボタン: 灰色丸 + ドロップシャドウ (明るい背景でも輪郭が視認可能に) */
    .p-short-detail__nav-btn {
        width: 27px;
        height: 27px;
        background: #718096;
        border: none;
        color: #fff;
        box-shadow:
            0 2px 4px rgba(0, 0, 0, 0.5),
            0 0 8px rgba(0, 0, 0, 0.3);
    }

    .p-short-detail__nav-btn svg {
        width: 13px;
        height: 13px;
    }

    /* Share card - SP向け位置調整 */
    .p-short-detail__share-card {
        left: auto;
        right: calc(100% + 8px);
        transform: translateY(-50%);
    }

    /* Info Panel: 画面下部にオーバーレイ（動画に被る、EQプレイヤーより上） */
    .p-short-detail__info {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 50px !important;
        width: auto;
        max-width: none;
        padding: 12px 16px;
        gap: 8px;
        z-index: calc(var(--z-content-overlay) - 1) !important;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
        pointer-events: auto !important;
        overflow-y: visible;
    }

    /* Title: 白文字 + シャドウ (明るい背景でも視認可能) */
    .p-short-detail__title {
        font-size: 16px;
        line-height: 22px;
        color: #fff;
        text-shadow:
            0 1px 2px rgba(0, 0, 0, 0.9),
            0 0 8px rgba(0, 0, 0, 0.6);
    }

    /* Tags */
    .p-short-detail__tags {
        gap: 6px;
    }

    /* Provided Content Label: SP非表示 */
    .p-short-detail__provided-label {
        display: none;
    }

    /* Full Video Section: SP非表示 */
    .p-short-detail__full-video {
        display: none;
    }

    /* ==========================================================================
       SP Feed Slide Info Overlay (タイトル・タグ)
       ========================================================================== */
    .p-short-detail__feed-slide-info {
        position: absolute !important;
        /* JS が --shorts-info-bottom を計算して動的に更新:
           - 動画下に十分な隙間がある場合 (gap >= 80px): 0 (動画の下に配置)
           - 隙間が不足 or 動画が画面いっぱい: シークバー (30px) の真上に配置 */
        bottom: var(--shorts-info-bottom, 30px) !important;
        left: 0 !important;
        right: 0 !important;
        padding: 16px;
        z-index: 3;
    }

    .p-short-detail__feed-slide-title {
        font-size: 16px;
        font-weight: bold;
        line-height: 22px;
        color: #fff;
        margin: 0 0 8px;
        text-shadow:
            0 1px 2px rgba(0, 0, 0, 0.9),
            0 0 8px rgba(0, 0, 0, 0.6);
    }

    .p-short-detail__feed-slide-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .p-short-detail__feed-slide-tag {
        display: inline-flex;
        align-items: center;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 12px;
        line-height: 16px;
        white-space: nowrap;
    }

    .p-short-detail__feed-slide-tag--outline {
        background: var(--color-white);
        border: 1px solid var(--color-primary, #2873c9);
        color: var(--color-primary, #2873c9);
    }

    .p-short-detail__feed-slide-tag--filled {
        background: var(--color-primary, #2873c9);
        color: #fff;
    }

    /* ==========================================================================
       SP Feed Mode (TikTok風フルスクリーン)
       ========================================================================== */

    /* SP feed mode: ページ全体を viewport に固定 (ヘッダーが追従して動かないように) */
    html.is-shorts-feed,
    body.single-shorts.is-feed-mode {
        overflow: hidden;
        height: 100dvh;
        overscroll-behavior: none;
    }

    /* フィードコンテナ: ビューポート全体（ヘッダー + safe-area 考慮） */
    body.single-shorts.is-feed-mode .p-short-detail {
        height: calc(100dvh - var(--header-height, 74px) - env(safe-area-inset-bottom, 0px));
        overflow: hidden;
        position: relative;
        padding: 0;
        touch-action: none; /* 縦スクロールはJSで制御、横パンは許可、click イベントも生成される */
        overscroll-behavior: contain; /* iOS の親への scroll chain を防ぐ */
    }

    /* フィードトラック: translateYで位置制御 */
    .p-short-detail__feed-track {
        display: flex;
        flex-direction: column;
        transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        will-change: transform;
        touch-action: none;
        contain: layout paint;
    }

    /* 各スライド: コンテナ全体を占有 + プレイヤーを上揃え (ヘッダー直下から動画開始) */
    .p-short-detail__feed-slide {
        width: 100%;
        height: calc(100dvh - var(--header-height, 74px) - env(safe-area-inset-bottom, 0px));
        flex-shrink: 0;
        display: flex;
        align-items: flex-start;       /* プレイヤーを上揃え */
        justify-content: center;       /* 横方向は中央 */
        background: #000;
        position: relative;
        overflow: hidden;
    }

    /* サムネイルプレースホルダー（遅延プレイヤー生成用） */
    .p-short-detail__feed-slide-thumb {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        background-color: #000;
        z-index: 1;
    }

    /* スライド内プレイヤー: 9:16 比率を維持して必ず viewport 内に収まる
       - 横幅は「スライド幅」 と 「スライド高さ × 9/16」 の小さい方
       - aspect-ratio で height を導出
       これで Safari iOS でも確実に高さオーバーしない */
    .p-short-detail__feed-slide .p-short-detail__player {
        position: relative;
        z-index: 2;
        width: min(100%, calc((100dvh - var(--header-height, 74px) - env(safe-area-inset-bottom, 0px)) * 9 / 16));
        aspect-ratio: 9 / 16;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    /* 動画準備中メッセージ */
    .p-short-detail__feed-slide .p-short-detail__not-ready {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        color: #fff;
        font-size: 14px;
        text-align: center;
    }

    /* 情報パネル非表示（フィードモード時） */
    body.single-shorts.is-feed-mode .p-short-detail__info {
        display: none;
    }

    /* グリッド非表示（フィードモード時、DOMが再構築されるため） */
    body.single-shorts.is-feed-mode .p-short-detail__grid {
        display: none;
    }

    /* アクションボタン固定位置（フィードモード時）: 上下中央・右側 */
    body.single-shorts.is-feed-mode .p-short-detail__actions {
        position: fixed !important;
        right: 8px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        bottom: auto !important;
        z-index: var(--z-content-overlay) !important;
    }

    /* フッター非表示（フィードモード時） */
    body.single-shorts.is-feed-mode .l-footer {
        display: none;
    }

    /* 非アクティブスライドは描画コンテキストから外す */
    .p-short-detail__feed-slide:not(.is-active) .p-short-detail__player {
        visibility: hidden;
    }
    .p-short-detail__feed-slide:not(.is-active) .p-short-detail__feed-slide-thumb {
        display: block !important;
    }
    .p-short-detail__feed-slide:not(.is-active) .p-short-detail__feed-slide-info {
        visibility: hidden;
    }
}

/* ======================================================================
   ページローダー（初期表示 / バッチ切替時）
   ====================================================================== */
.p-short-detail__page-loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9000;
    transition: opacity 0.3s ease;
}

.p-short-detail__page-loader.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.p-short-detail__page-loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: eq-spin 0.8s linear infinite;
}

/* ======================================================================
   EQプレイヤー ローディング / エラー表示
   ====================================================================== */
.p-short-detail__player-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.p-short-detail__player-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: eq-spin 0.8s linear infinite;
}

@keyframes eq-spin {
    to {
        transform: rotate(360deg);
    }
}

.p-short-detail__player-error {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    z-index: 5;
}

.p-short-detail__player-error p {
    font-size: 14px;
}

.p-short-detail__player-retry-btn {
    margin-top: 12px;
    padding: 8px 24px;
    background: #fff;
    color: #333;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.p-short-detail__player-retry-btn:hover {
    background: #e0e0e0;
}
