.cw__btns .vol::before {
    font-family: "Material Icons";
    content: "\e04f";
    /* 音量オフアイコン (ミュート) */
    font-size: 3.75rem;
}

.cw__btns .vol.on::before {
    content: "\e050";
    /* 音量オンアイコン (ミュート解除) */
}

/* トースト通知のスタイル */
.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.toast-notification.show {
    opacity: 1;
    visibility: visible;
}

.toast-notification .toast-icon {
    font-size: 20px;
    color: #9982F2;
}

.toast-notification .toast-message {
    font-size: 14px;
}

@media screen and (max-width: 769px) {
    .cw__btns .vol::before {
        font-family: "Material Icons";
        font-size: 2.5rem;
        /* スマホではアイコンを少し小さく */
    }

    .cw__btns .vol.on::before {
        font-family: "Material Icons";
    }
}

/* いいねボタンの基本スタイル */
.like-button {
    font-size: 20px;
    color: gray;
    /* 初期状態の色 */
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* ハートと数字を中央揃え */
}

.like-button.animated {
    animation: like-animation 0.3s ease;
}

@keyframes like-animation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }

    100% {
        transform: scale(1);
    }
}

.like-button.liked {
    color: red;
    /* いいねされたときのボタンの色を変更 */
}

/* 全ての不要なコントロールを非表示にする */
video::-webkit-media-controls-enclosure {
    overflow: hidden;
}

video::-webkit-media-controls-time-remaining-display,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-mute-button,
/* ミュートボタン */
video::-webkit-media-controls-playback-rate-button,
/* 再生速度ボタン */
video::-webkit-media-controls-settings-button,
/* 設定（3つの点）ボタン */
video::-webkit-media-controls-pip-button,
/* PIP（ピクチャー・イン・ピクチャー）ボタン */
video::-webkit-media-controls-download-button,
/* ダウンロードボタン */
video::-webkit-media-controls-overflow-menu-button,
/* その他のオプションボタン */
video::-webkit-media-controls-seek-back-button,
/* 戻るボタン */
video::-webkit-media-controls-seek-forward-button,
/* 進むボタン */
video::-webkit-media-controls-toggle-closed-captions-button {
    /* 字幕切替ボタン */
    display: none !important;
}


.detail {
    display: flex;
    align-items: center;
    /* 上下の中央揃え */
    gap: 5px;
    /* スパンタグ間の隙間 */
}

.detail span {
    font-size: 14px;
    /* 文字サイズを統一 */
    color: white;
    /* 文字色を統一 */
    margin: 0;
    padding: 0;
}

.published-at {
    font-size: 12px;
    /* 文字を少し小さくして上品に */
    color: #888;
    /* グレー系の色でシンプルに */
    font-weight: 300;
    /* 文字を細く */
    letter-spacing: 0.5px;
    /* 文字間隔を少し広げる */
    padding: 2px 6px;
    /* 少しだけ内側に余白 */
    border-radius: 4px;
    /* 角を軽く丸める */
    /* background-color: rgba(0, 0, 0, 0.05); 軽い背景色を追加して柔らかい印象に */
}


.cwThumb ul li.empty {
    margin: 0;
    padding: 100px 32px;
    width: 100%;
}

.cwThumb ul li.empty::before {
    display: block;
    font-family: "Material Icons";
    content: "\e001";
    color: #9982F2;
    font-size: 7.5rem;
}



/* .btn-primary .iconX::before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: inline-block;
    content: url('/svg/x-wh.svg');
    width: 17px;
    line-height: 0;
}
.btn-primary .iconLine::before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: inline-block;
    content: url('/svg/line-wh.svg');
    width: 18px;
    line-height: 0;
}
.btn-primary .iconGmail::before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: inline-block;
    content: url('/svg/gmail.svg');
    width: 17px;
    line-height: 0;
}  */


.btn-primary {
    color: #fff;
    /* ボタンの文字色を白に設定 */
}

/* 余白を追加 */
.reset-info {
    margin-bottom: 20px;
}

.top-link {
    margin-top: 20px;
}

/* トップに戻るボタンのスタイル */
.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4F1787;
    /* ボタンの背景色を指定された色に変更 */
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    /* ボタンを丸くする */
    text-align: center;
    border: none;
    /* ボーダーを取り除く */
}


/* ユーザーネーム (name) */
.listAcct ul li .desc .name {
    display: block;
    margin: 0 0 2px 0;
    padding: 0;
    font-size: 1.4rem;
    color: #262626;
    /* InstagramやTwitterでよく使われる暗いグレー */
    font-weight: bold;
    /* 名前は少し目立つように */
}

/* アカウント名 (acct) */
.listAcct ul li .desc .acct {
    display: block;
    margin: 0 0 4px 0;
    padding: 0;
    color: rgba(153, 130, 242, 0.8);
    /* 薄めにするためにアルファ値を0.7に設定 */
    font-size: 1.4rem;
    font-weight: 700;
    /* 太字 */
}

/* 検索結果がない場合は矢印を非表示 */
ul.no-results li::after {
    display: none;
}


.listBS__item .num-date .num::before {
    content: 'no.';
    color: black;
}

.listBS__item .num-date .dateBuy::before {
    content: '購入日時：';
    color: black;
}

.listBS__item .num-date .dateSale::before {
    content: '販売日時：';
    color: black;
}

.listBS__item .num-date .start::before {
    content: '開始日時：';
    color: black;
}

.listBS__item .name_acct .nameSeller::before {
    content: '販売者：＠';
    color: black;
    font-size: 1.2rem;
}



#fileName {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    display: inline-block;
}

/* ランキングボタンスタイル */
.gMenu__btns li .ranking::before {
    /* 重要: 基本設定リセット */
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    filter: none !important;

    /* 他のボタンと同じ基本スタイル */
    content: "\ecb3" !important;
    /* leaderboardアイコン */
    display: block !important;
    font-family: "Material Icons" !important;
    line-height: 1 !important;
    font-size: 2.4rem !important;
    margin-bottom: 2px !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
    position: relative !important;
}

/* ランキングボタンのホバー時 */
.gMenu__btns li button.ranking:hover::before {
    transform: scale(1.2) !important;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5) !important;
}

/* ランキングボタン全体 */
.gMenu__btns li button.ranking {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-align: center !important;
    font-size: 1.2rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

/* ランキングボタンのテキスト */
.gMenu__btns li button.ranking .icon-text {
    display: block !important;
    margin-top: 4px !important;
    font-size: 1.2rem !important;
    transition: all 0.3s ease !important;
    opacity: 0.8 !important;
    text-align: center !important;
    width: 100% !important;
    position: relative !important;
    top: 0 !important;
}

/* ランキングページスタイル */
.rankingHeader {
    padding: 15px 10px 12px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.rankingHeader h1 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
    padding: 0 10px;
}

/* トロフィーアイコンを削除 */
/* .rankingHeader h1::before {
    content: '🏆';
    margin-right: 8px;
    font-size: 1.5rem;
    vertical-align: middle;
} */

.rankingTabs {
    display: flex;
    flex-direction: row;
    /* 横書き表示を明示的に指定 */
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
    /* 下部の余白を増やす */
    position: relative;
    padding: 0 10px;
    /* 左右の余白を増やす */
    max-width: 600px;
    /* 横書き表示に合わせて幅を広げる */
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    /* 折り返しを許可 */
}

.rankingTabs a {
    padding: 8px 15px;
    /* 左右のパディングを調整 */
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    background-color: transparent;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    min-width: 70px;
    /* 最小幅を少し小さく */
    text-decoration: none;
    margin-bottom: 8px;
    /* タブ間の縦方向の間隔を調整 */
    white-space: nowrap;
    /* テキストを折り返さない */
}

.rankingTabs a.active {
    background-color: rgba(153, 130, 242, 0.15);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.rankingTabs a.active::after {
    width: 25px;
    height: 2px;
    background: linear-gradient(90deg, rgba(153, 130, 242, 0.3), rgba(153, 130, 242, 0.8), rgba(153, 130, 242, 0.3));
    border-radius: 3px;
    animation: tabGlowMobile 1.5s infinite alternate;
}

.rankingTabs a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

#ranking-list {
    padding: 0 16px;
}

.videoItem {
    position: relative;
    margin-bottom: 24px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.videoItem:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.rankBadge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.rankBadge.rank-1 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    width: 42px;
    height: 42px;
}

.rankBadge.rank-2 {
    background: linear-gradient(135deg, #C0C0C0 0%, #A9A9A9 100%);
}

.rankBadge.rank-3 {
    background: linear-gradient(135deg, #CD7F32 0%, #8B4513 100%);
}

.rankBadge i.gold {
    color: #FFD700;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8));
}

.rankBadge i.silver {
    color: #E0E0E0;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8));
}

.rankBadge i.bronze {
    color: #CD7F32;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8));
}

.videoItem .thumbnail {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.videoItem .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.videoItem:hover .thumbnail img {
    transform: scale(1.05);
}

.videoItem .thumbnail .duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 1.2rem;
}

.videoInfo {
    padding: 16px;
}

.videoTitle {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: white;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.videoStats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(153, 130, 242, 0.15);
}

.statItem {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex: 1 1 auto;
    min-width: 80px;
    background: rgba(20, 20, 35, 0.4);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.statItem::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.statItem:active::after {
    opacity: 1;
}

.statItem:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.statItem i {
    font-size: 1.8rem;
    margin-right: 6px;
    margin-bottom: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

.statItem span {
    font-weight: 600;
    transition: color 0.3s ease;
}

/* いいね数スタイル */
.likeCount {
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    color: rgba(255, 107, 107, 0.9);
}

.likeCount:active {
    background: rgba(255, 107, 107, 0.2);
}

.likeCount:active i {
    transform: scale(1.3);
    color: #ff6b6b;
}

.likeCount i {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.likeCount i.liked {
    color: #ff5757;
}

.likeCount.animated i {
    animation: heart-pulse 0.6s ease-in-out;
}

@keyframes heart-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
        color: #ff5757;
    }

    100% {
        transform: scale(1);
    }
}

/* 閲覧数スタイル */
.statItem.viewCount {
    color: rgba(144, 238, 144, 0.9);
}

.statItem.viewCount:active {
    background: rgba(144, 238, 144, 0.2);
}

.statItem.viewCount:active i {
    transform: scale(1.3);
    color: #90ee90;
}

/* ダウンロード数スタイル */
.statItem.downloadCount.download {
    color: rgba(100, 181, 246, 0.9);
    position: relative;
    overflow: hidden;
}

.statItem.downloadCount.download:active {
    background: rgba(0, 123, 255, 0.2);
}

.statItem.downloadCount.download:active i {
    transform: scale(1.3);
    color: #007bff;
}

.statItem.downloadCount.download:hover {
    transform: translateY(-3px);
    background: rgba(0, 123, 255, 0.15);
    color: #007bff;
}

.statItem.downloadCount.download:hover i {
    transform: scale(1.2);
    color: #007bff;
}

/* メディアクエリの調整 */
@media screen and (min-width: 768px) {
    .videoStats {
        margin-top: 10px;
        gap: 15px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }

    .statItem {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        padding: 8px 12px;
        border-radius: 8px;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        background: rgba(20, 20, 35, 0.4);
        backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
        position: relative;
        overflow: hidden;
        min-width: 0;
        /* フレックスアイテムが縮小可能にする */
        flex: 1;
    }

    .statItem::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 60%);
        opacity: 0;
        transform: scale(0.5);
        transition: transform 0.5s ease, opacity 0.5s ease;
    }

    .statItem:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        z-index: 1;
    }

    .statItem:hover::after {
        opacity: 1;
        transform: scale(1);
    }

    .statItem i {
        font-size: 1.8rem;
        margin-right: 6px;
        margin-bottom: 0;
        transition: transform 0.3s ease, color 0.3s ease;
        flex-shrink: 0;
        /* アイコンは縮小しない */
    }

    .statItem:hover i {
        transform: scale(1.2);
    }

    .statItem span {
        font-size: 1.3rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        transition: color 0.3s ease;
        min-width: 40px;
        /* 数字表示の最小幅を確保 */
        text-align: left;
        white-space: nowrap;
        /* 数字が改行されないようにする */
        overflow: hidden;
        text-overflow: ellipsis;
        /* 非常に長い数字の場合は省略記号を表示 */
    }

    /* 閲覧数の数字表示を特別に調整 */
    .statItem.viewCount span {
        min-width: 50px;
        /* 閲覧数は桁数が多くなりがちなので幅を大きく */
        font-size: 1.2rem;
        /* フォントサイズを少し小さくして収まりやすく */
    }

    /* ダウンロード数も同様に調整 */
    .statItem.downloadCount span {
        min-width: 45px;
        font-size: 1.2rem;
    }

    /* いいね数の表示調整 */
    .statItem.likeCount span {
        min-width: 40px;
        font-size: 1.2rem;
    }

    /* 各種ステータスアイテムの特殊ホバー効果 */
    .likeCount:hover {
        border-color: rgba(255, 107, 107, 0.5);
    }

    .likeCount:hover i,
    .likeCount:hover span {
        color: #ff6b6b;
    }

    .statItem.viewCount:hover {
        border-color: rgba(144, 238, 144, 0.5);
    }

    .statItem.viewCount:hover i,
    .statItem.viewCount:hover span {
        color: #90ee90;
    }

    .statItem.downloadCount.download:hover {
        border-color: rgba(0, 123, 255, 0.5);
    }

    .statItem.downloadCount.download:hover i,
    .statItem.downloadCount.download:hover span {
        color: #007bff;
    }

    /* より大きな画面での追加調整 */
    @media screen and (min-width: 1024px) {
        .statItem span {
            min-width: 60px;
            /* デスクトップでは更に余裕を持たせる */
            font-size: 1.3rem;
        }

        .statItem.viewCount span {
            min-width: 70px;
            /* 閲覧数は特に桁数が多いため */
        }

        .statItem.downloadCount span {
            min-width: 65px;
        }

        .statItem.likeCount span {
            min-width: 55px;
        }
    }

    /* 非常に大きな画面での調整 */
    @media screen and (min-width: 1440px) {
        .statItem span {
            min-width: 80px;
            /* 大画面では数字をより見やすく */
            font-size: 1.4rem;
        }

        .statItem.viewCount span {
            min-width: 90px;
        }

        .statItem.downloadCount span {
            min-width: 85px;
        }

        .statItem.likeCount span {
            min-width: 75px;
        }
    }

    .downloadBtn a {
        display: flex;
        flex-direction: row;
        align-items: center;
        background-color: transparent;
        border-radius: 0;
        padding: 10px 5px;
        width: 100%;
        height: 100%;
    }

    .downloadBtn a i {
        font-size: 1.8rem;
        color: #9982F2;
        margin-right: 6px;
        margin-bottom: 0;
    }
}

.userInfo {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.userLink {
    display: flex;
    align-items: center;
    color: #9982F2;
}

.userIcon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
}

.userName {
    font-size: 1.3rem;
    font-weight: 500;
}

.postTime {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
}

.downloadBtn {
    margin-left: auto;
    flex: 0 0 auto;
}

.downloadBtn a {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: transparent;
    border-radius: 0;
    padding: 10px 5px;
    width: 100%;
    height: 100%;
}

.downloadBtn a i {
    font-size: 1.8rem;
    color: #9982F2;
    margin-right: 6px;
    margin-bottom: 0;
}

.downloadBtn a .download-text {
    font-size: 1.2rem;
    font-weight: 500;
}

.downloadBtn a:hover {
    background-color: rgba(153, 130, 242, 0.08);
    transform: scale(1.03);
    box-shadow: none;
}

.downloadBtn a:hover i {
    color: #7B5FC7;
}

.downloadBtn a:hover .download-text {
    color: #ffffff;
}

/* PC表示向けのスタイル改善 */
@media screen and (min-width: 768px) {
    .rankingHeader {
        padding: 30px 24px;
        margin-bottom: 30px;
        /* ヘッダーの下に余白を追加 */
        background: linear-gradient(45deg, rgba(79, 23, 135, 0.2), rgba(153, 130, 242, 0.2));
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(153, 130, 242, 0.2);
        border-radius: 15px;
    }

    .rankingHeader h1 {
        font-size: 2.5rem;
        /* 少し小さく調整 */
        margin-bottom: 20px;
        /* タイトルとタブの間隔を広げる */
        background: linear-gradient(45deg, #9982F2, #4F1787);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 2px 10px rgba(153, 130, 242, 0.3);
        letter-spacing: 1px;
    }

    .rankingTabs {
        max-width: 90%;
        /* コンテナを画面幅に対して相対的に設定 */
        gap: 15px;
        /* タブ間の間隔を適切に調整 */
    }

    .rankingTabs a {
        padding: 10px 25px;
        font-size: 1.1rem;
        /* 少し小さく調整 */
        min-width: 110px;
        margin-bottom: 10px;
        transition: all 0.3s ease;
        border: 1px solid transparent;
    }

    .rankingTabs a:hover {
        background-color: rgba(153, 130, 242, 0.08);
        transform: translateY(-2px);
        border: 1px solid rgba(153, 130, 242, 0.15);
    }

    .rankingTabs a.active {
        background: linear-gradient(45deg, rgba(153, 130, 242, 0.2), rgba(79, 23, 135, 0.2));
        box-shadow: 0 5px 15px rgba(153, 130, 242, 0.15);
        border: 1px solid rgba(153, 130, 242, 0.3);
    }

    #ranking-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 30px;
        max-width: 1400px;
        margin: 0 auto;
    }

    .videoItem {
        margin-bottom: 0;
        border: 1px solid rgba(153, 130, 242, 0.15);
        background: rgba(25, 25, 35, 0.5);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        transition: all 0.4s ease;
    }

    .videoItem:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(153, 130, 242, 0.3);
    }

    .videoInfo {
        padding: 20px;
    }

    .videoTitle {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 20px;
        color: white;
        font-weight: 600;
    }

    /* 統計情報のスタイル改善 */
    .videoStats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-top: 0;
        padding-top: 10px;
        border-top: 1px solid rgba(153, 130, 242, 0.15);
    }

    .statItem {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        padding: 8px 12px;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .statItem i {
        font-size: 1.8rem;
        margin-right: 6px;
        margin-bottom: 0;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .statItem span {
        font-size: 1.3rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        transition: color 0.3s ease;
    }

    .likeCount {
        color: #ff6b6b;
    }

    .likeCount i {
        color: #ff6b6b;
    }

    .likeCount i.liked {
        color: #ff6b6b;
    }

    .downloadBtn {
        margin-left: 0;
    }

    .downloadBtn a {
        display: flex;
        flex-direction: column;
        background-color: transparent;
        border-radius: 0;
        padding: 10px 5px;
        width: 100%;
        height: 100%;
    }

    .downloadBtn a i {
        font-size: 1.8rem;
        color: #9982F2;
        margin-bottom: 5px;
    }

    .downloadBtn a .download-text {
        font-size: 1.3rem;
        color: rgba(255, 255, 255, 0.8);
    }

    .downloadBtn a:hover {
        background-color: rgba(153, 130, 242, 0.08);
        transform: scale(1.03);
        box-shadow: none;
    }

    .downloadBtn a:hover i {
        color: #7B5FC7;
    }

    .downloadBtn a:hover .download-text {
        color: #ffffff;
    }
}

@media screen and (min-width: 1024px) {
    #ranking-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
        padding: 0 40px;
    }

    .rankingTabs {
        max-width: 80%;
        /* さらに広い画面ではコンテナ幅を調整 */
    }

    .rankingTabs a {
        padding: 12px 30px;
        font-size: 1.2rem;
        min-width: 140px;
    }

    .videoInfo {
        padding: 25px;
    }
}

@media screen and (min-width: 1440px) {
    .rankingTabs {
        max-width: 70%;
        /* 大画面でのコンテナ幅 */
        gap: 20px;
        /* タブ間の間隔を広げる */
    }

    #ranking-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
        padding: 0 50px;
    }
}

/* ダウンロードボタンのスタイル */
.downloadBtn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.downloadBtn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #9982F2;
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.downloadBtn a:hover {
    background-color: #7B5FC7;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(153, 130, 242, 0.5);
}

.downloadBtn i {
    font-size: 1.4rem;
}

/* ビデオプレーヤー用スタイル */
.videoPlayerContainer {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.mainVideoPlayer {
    width: 100%;
    margin-bottom: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#mainVideo {
    width: 100%;
    max-height: 600px;
    background-color: #000;
}

.videoControls {
    padding: 16px;
}

.videoControls .videoTitle h1 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: white;
}

.videoControls .videoStats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.videoControls .videoStats>div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.videoInfo {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.videoDescription {
    margin-bottom: 16px;
    color: white;
    font-size: 1.4rem;
    line-height: 1.6;
}

.userInfo {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.userLink {
    display: flex;
    align-items: center;
    color: #9982F2;
    font-weight: 500;
}

.userIcon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid #9982F2;
}

.publishedAt {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
}

.relatedVideos {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.relatedVideos h2 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: white;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.relatedVideosList {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.relatedVideoItem {
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.relatedVideoItem:hover {
    transform: translateY(-5px);
}

.relatedVideoItem .thumbnail {
    position: relative;
    aspect-ratio: 16/9;
}

.relatedVideoItem .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.relatedVideoItem .thumbnail .duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 1.1rem;
}

.relatedVideoItem .videoInfo {
    padding: 10px;
    background: none;
    box-shadow: none;
    margin-bottom: 0;
}

.relatedVideoItem .videoTitle {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: white;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.relatedVideoItem .videoStats {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

.likeButton,
.like-button {
    cursor: pointer;
    transition: all 0.2s ease;
}

.likeButton i,
.like-button i {
    transition: all 0.2s ease;
}

.likeButton.liked i,
.like-button.liked i {
    color: #ff3b30;
    transform: scale(1.1);
}

.likeButton:hover i,
.like-button:hover i {
    transform: scale(1.1);
}

/* いいねのアニメーション */
@keyframes heart-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.likeButton.liked i,
.like-button.liked i {
    animation: heart-pulse 0.4s ease-in-out;
}

.downloadButton a {
    color: white;
    background-color: #9982F2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.downloadButton a:hover {
    background-color: #7B5FC7;
    transform: scale(1.1);
}

@media screen and (max-width: 768px) {
    .relatedVideosList {
        grid-template-columns: 1fr;
    }

    .userInfo {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .publishedAt {
        align-self: flex-start;
    }

    .rankingTabs {
        display: flex;
        flex-direction: row;
        /* 横書きを維持 */
        justify-content: center;
        gap: 8px;
        padding: 0 5px;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        flex-wrap: wrap;
        /* 小さい画面では必要に応じて折り返し可能に */
    }

    .rankingTabs a {
        padding: 7px 15px;
        border-radius: 18px;
        font-size: 0.9rem;
        font-weight: 500;
        background-color: transparent;
        color: rgba(255, 255, 255, 0.7);
        transition: all 0.25s ease;
        text-align: center;
        flex: 0 1 auto;
        /* 固有のサイズを尊重する設定に変更 */
        text-decoration: none;
        margin-bottom: 5px;
        /* タブ間の縦方向の間隔を調整 */
    }

    .rankingTabs a.active {
        background-color: rgba(153, 130, 242, 0.25);
        color: #ffffff;
        box-shadow: 0 2px 6px rgba(153, 130, 242, 0.2);
        font-weight: 600;
        max-width: none;
    }

    .rankingTabs a.active::after {
        width: 25px;
        height: 2px;
    }

    .statItem {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 5px;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        padding: 5px 8px;
        border-radius: 8px;
        background: rgba(20, 20, 35, 0.4);
        backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
        position: relative;
        overflow: hidden;
    }

    .statItem::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .statItem:active::after {
        opacity: 1;
    }

    .statItem:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }

    .statItem i {
        font-size: 1.6rem;
        margin-right: 4px;
        margin-bottom: 0;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .statItem span {
        font-weight: 600;
        transition: color 0.3s ease;
    }

    /* いいねボタンのスタイル強化 */
    .likeCount {
        cursor: pointer;
        padding: 5px 8px;
        border-radius: 4px;
        transition: all 0.3s ease;
        color: rgba(255, 107, 107, 0.9);
    }

    .likeCount:active {
        background: rgba(255, 107, 107, 0.2);
    }

    .likeCount:active i {
        transform: scale(1.3);
        color: #ff6b6b;
    }

    /* 閲覧数スタイル - モバイル */
    .statItem.viewCount {
        color: rgba(144, 238, 144, 0.9);
    }

    .statItem.viewCount:active {
        background: rgba(144, 238, 144, 0.2);
    }

    .statItem.viewCount:active i {
        transform: scale(1.3);
        color: #90ee90;
    }

    /* ダウンロード数スタイル - モバイル */
    .statItem.downloadCount.download {
        color: rgba(100, 181, 246, 0.9);
    }

    .statItem.downloadCount.download:active {
        background: rgba(0, 123, 255, 0.2);
    }

    .statItem.downloadCount.download:active i {
        transform: scale(1.3);
        color: #007bff;
    }

    /* ランキングページのモバイルデザイン改善 */
    .rankingHeader {
        padding: 15px 10px 12px;
        margin-bottom: 20px;
    }

    .rankingHeader h1 {
        font-size: 1.6rem;
        margin-bottom: 12px;
        padding: 0 10px;
    }

    /* ビデオアイテムのカードデザイン強化 */
    #ranking-list {
        padding: 0 10px;
    }

    .videoItem {
        margin-bottom: 20px;
        background: rgba(25, 25, 35, 0.6);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        border: 1px solid rgba(153, 130, 242, 0.2);
    }

    .videoItem:active {
        transform: scale(0.98);
    }

    .videoItem .thumbnail {
        display: block;
        position: relative;
        overflow: hidden;
        aspect-ratio: 16/9;
    }

    .videoItem .thumbnail::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
        z-index: 1;
    }

    .videoItem .thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .videoItem:hover .thumbnail img {
        transform: scale(1.05);
    }

    .videoItem .thumbnail .duration {
        position: absolute;
        bottom: 8px;
        right: 8px;
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 3px 6px;
        border-radius: 4px;
        font-size: 0.75rem;
        z-index: 2;
    }

    /* ランキングバッジの強化 */
    .rankBadge {
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 10;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 1rem;
        color: white;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        border: 2px solid rgba(255, 255, 255, 0.5);
    }

    .rankBadge.rank-1 {
        background: linear-gradient(135deg, #FFD700, #FFA500);
        width: 42px;
        height: 42px;
    }

    .rankBadge.rank-2 {
        background: linear-gradient(135deg, #E0E0E0, #A9A9A9);
    }

    .rankBadge.rank-3 {
        background: linear-gradient(135deg, #CD7F32, #8B4513);
    }

    /* ビデオ情報セクションの改善 */
    .videoInfo {
        padding: 12px;
        position: relative;
    }

    .videoTitle {
        font-size: 0.95rem;
        font-weight: 600;
        margin-bottom: 8px;
        color: #ffffff;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.4;
    }
}

/* ランキング画面のいいねボタン改善（洗練版） */
.videoStats .likeCount,
.videoStats .likeCount * {
    cursor: pointer;
    pointer-events: auto;
}

.videoStats .likeCount {
    position: relative;
    z-index: 5;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    padding: 6px 8px;
    border-radius: 4px;
    background-color: transparent;
    margin: 0 5px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.videoStats .likeCount:hover,
.videoStats .likeCount:active {
    background-color: rgba(255, 87, 87, 0.15);
    transform: scale(1.05);
}

.videoStats .likeCount.clicked {
    transform: scale(0.95);
}

.videoStats .likeCount i {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    font-size: 16px;
}

.videoStats .likeCount i.liked {
    color: #ff5757;
}

.videoStats .likeCount.animated i {
    animation: heart-pulse 0.6s ease-in-out;
}

@keyframes heart-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
        color: #ff5757;
    }

    100% {
        transform: scale(1);
    }
}

/* モバイル向けの改善 */
@media screen and (max-width: 768px) {
    .videoStats .likeCount {
        padding: 8px 10px;
        min-width: 36px;
        min-height: 36px;
        justify-content: flex-start;
    }

    .videoStats .likeCount i {
        font-size: 18px;
    }

    .videoStats .likeCount:active {
        background-color: rgba(255, 87, 87, 0.25);
    }

    /* タップエリア拡大 */
    .videoStats .likeCount::after {
        content: "";
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        z-index: -1;
    }
}

/* 未ログインユーザー向けいいねボタンスタイル */
.videoStats .likeCount[data-logged-in="false"] {
    cursor: pointer;
    position: relative;
}

.videoStats .likeCount[data-logged-in="false"] i {
    color: #999;
    transition: color 0.2s;
}

.videoStats .likeCount[data-logged-in="false"]:hover i {
    color: #ff6b6b;
}

/* いいねログインモーダルスタイル */
#like-login-modal .modal00-bg {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

#like-login-modal .modal00-content {
    background: #121212 !important;
    border-radius: 20px !important;
    border: 1px solid rgba(153, 130, 242, 0.3) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5) !important;
    padding: 30px !important;
    max-width: 400px !important;
    width: 90% !important;
}

#like-login-modal .title {
    color: #ffffff !important;
    margin-bottom: 20px !important;
    font-size: 1.5rem !important;
}

#like-login-modal .btn-primary {
    background: #4a76a8 !important;
    border-radius: 30px !important;
    padding: 10px 25px !important;
    border: none !important;
    color: #fff !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    margin-top: 15px !important;
}

#like-login-modal .btn-primary:hover {
    background: #3b5998 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(59, 89, 152, 0.4) !important;
}

#like-login-modal .closeBtnBottomCenter {
    text-align: center !important;
    margin-top: 20px !important;
}

#like-login-modal .closeBtnBottomCenter span {
    cursor: pointer !important;
    color: #999 !important;
    text-decoration: underline !important;
}

/* タブの下線アニメーション */
@keyframes tabGlow {
    0% {
        opacity: 0.7;
        width: 35%;
    }

    100% {
        opacity: 1;
        width: 45%;
    }
}

/* モバイル用タブの下線アニメーション */
@keyframes tabGlowMobile {
    0% {
        opacity: 0.7;
        width: 20px;
    }

    100% {
        opacity: 1;
        width: 30px;
    }
}

.noContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    text-align: center;
    color: white;
}

.noContent i {
    font-size: 5rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.3);
}

.noContent h3 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.noContent p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ページネーションスタイル */
.pagination-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 30px 0;
    padding: 15px 0;
    position: relative;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.pagination li {
    margin: 0;
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 4px;
    border-radius: 4px;
    background-color: transparent;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: normal;
}

/* 前へ・次へボタン */
.pagination .page-item:first-child span,
.pagination .page-item:first-child a,
.pagination .page-item:last-child span,
.pagination .page-item:last-child a {
    min-width: auto;
    padding: 0 10px;
    white-space: nowrap;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.pagination li a:hover {
    background-color: rgba(153, 130, 242, 0.2);
    color: white;
}

.pagination li.active span {
    background-color: rgba(153, 130, 242, 0.3);
    color: white;
    font-weight: normal;
}

.pagination li.disabled span {
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}

/* 表示中のページ情報 */
.pagination-info {
    margin-top: 12px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    width: 100%;
}

/* メディアクエリ調整 */
@media screen and (min-width: 769px) {
    .pagination-container {
        margin-bottom: 30px;
    }

    main {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
}

/* モバイル表示時のページ下部余白調整 */
@media screen and (max-width: 768px) {
    .pagination-container {
        margin-bottom: 90px;
        /* gMenuの高さ+プログレスバー用余白 */
        padding-bottom: 10px;
    }

    /* ページの下部にスペースを追加 */
    main {
        margin-bottom: 100px;
        /* gMenuとプログレスバーの両方に対応 */
        padding-bottom: 20px;
    }

    /* gMenuの位置を確保 */
    .gMenu {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9990;
        /* プログレスバー(10000)より下、他の要素より上 */
    }

    /* カスタムプロフィールページと同様のgmenuデザインをモバイルで適用 */
    .gMenu {
        background: rgba(13, 17, 23, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        border-top: 1px solid rgba(147, 130, 242, 0.3) !important;
        border-bottom: none !important;
    }

    /* プログレスバーとgMenuの間の干渉を防ぐためのスペース */
    .video-container,
    .tiktok-player-container {
        margin-bottom: 10px !important;
    }

    /* 動画一覧画面の調整 */
    .video-list,
    .videos-grid {
        padding-bottom: 80px;
        /* 下部に余白を追加 */
    }

    /* スマホ表示でも星のアニメーションを表示 */
    .stars {
        display: block !important;
    }

    /* フルスクリーンボタンを大きくして操作しやすく */
    .fullscreen-button,
    .stylish-fullscreen-button,
    .stylish-control-button.stylish-fullscreen-button {
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 0.9 !important;
        z-index: 50 !important;
        background-color: rgba(0, 0, 0, 0.4) !important;
        border-radius: 50% !important;
    }

    /* iOSでのタップハイライトを防止 */
    .fullscreen-button,
    .stylish-fullscreen-button,
    .stylish-control-button,
    .likeButton,
    .downloadBtn,
    .thumbnail {
        -webkit-tap-highlight-color: transparent !important;
    }

    /* ビデオプレーヤーのネイティブコントロールを非表示（カスタムコントロール優先） */
    video::-webkit-media-controls-fullscreen-button {
        display: none !important;
    }

    /* フルスクリーン時の調整 */
    :fullscreen .stylish-video-controls,
    :-webkit-full-screen .stylish-video-controls {
        bottom: 40px !important;
        padding: 10px 15px !important;
    }

    /* サムネイルのタップ領域を広げる */
    .thumbnail {
        position: relative !important;
        display: block !important;
    }

    .thumbnail::after {
        content: '' !important;
        position: absolute !important;
        top: -10px !important;
        left: -10px !important;
        right: -10px !important;
        bottom: -10px !important;
        z-index: -1 !important;
    }

    /* モバイル用ページネーションの改善 */
    .pagination-container {
        display: flex;
        justify-content: center;
        padding: 20px 0;
    }

    .pagination {
        display: flex;
        gap: 5px;
        background: rgba(25, 25, 35, 0.6);
        padding: 10px 15px;
        border-radius: 25px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .pagination .page-item .page-link {
        min-width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(79, 23, 135, 0.3);
        color: white;
        transition: all 0.3s ease;
    }

    .pagination .page-item.active .page-link {
        background: linear-gradient(135deg, #9982F2, #4F1787);
        box-shadow: 0 2px 5px rgba(153, 130, 242, 0.5);
    }
}

/* モダンないいねボタンエフェクト */
.elegant-heart-glow {
    position: absolute !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(255, 76, 76, 0.8) 0%, rgba(255, 76, 76, 0) 70%) !important;
    transform: translate(-50%, -50%) !important;
    pointer-events: none !important;
    z-index: 9999 !important;
    animation: elegant-pulse 0.8s cubic-bezier(0.1, 0.9, 0.2, 1) forwards !important;
}

@keyframes elegant-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.1) !important;
        opacity: 0;
    }

    20% {
        opacity: 0.4;
    }

    40% {
        opacity: 0.8;
    }

    70% {
        opacity: 0.9;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.0) !important;
        opacity: 0;
    }
}

/* いいねボタンのアニメーション - エレガントな動き */
.likeButton i.elegant-heart-animated,
.likeCount i.elegant-heart-animated,
.like-button i.elegant-heart-animated,
i.elegant-heart-animated {
    animation: elegant-heart-pop 0.6s cubic-bezier(0.17, 0.89, 0.32, 1.49) !important;
    transform-origin: center !important;
    display: inline-block !important;
}

@keyframes elegant-heart-pop {
    0% {
        transform: scale(1) !important;
    }

    20% {
        transform: scale(0.8) !important;
    }

    50% {
        transform: scale(1.5) !important;
    }

    70% {
        transform: scale(0.9) !important;
    }

    100% {
        transform: scale(1) !important;
    }
}

/* いいねボタンが押されたときの追加エフェクト */
.likeButton.liked i,
.likeButton i.liked,
.likeCount.liked i,
.likeCount i.liked,
.like-button.liked i,
.like-button i.liked,
.statItem.likeCount i.liked {
    color: #ff4c4c !important;
    text-shadow: 0 0 10px rgba(255, 76, 76, 0.7), 0 0 20px rgba(255, 76, 76, 0.4) !important;
    animation: heart-glow 1.5s infinite alternate !important;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease !important;
}

@keyframes heart-glow {
    0% {
        text-shadow: 0 0 10px rgba(255, 76, 76, 0.7), 0 0 20px rgba(255, 76, 76, 0.4);
    }

    100% {
        text-shadow: 0 0 15px rgba(255, 76, 76, 0.9), 0 0 30px rgba(255, 76, 76, 0.6);
    }
}

/* パーティクルエフェクト要素 */
.heart-particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: transparent;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transform-origin: center;
}

.heart-particle::before {
    content: '\f004';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 8px;
    color: #ff4c4c;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, #ff4c4c, #ff8080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 2px rgba(255, 76, 76, 0.5));
}

.heart-particle.active {
    animation: float-up 1s ease-out forwards;
}

@keyframes float-up {
    0% {
        transform: translate(0, 0) scale(0.3) rotate(0deg);
        opacity: 0.7;
    }

    100% {
        transform: translate(calc(20px - 40px * var(--random)), -40px) scale(0.6) rotate(calc(20deg - 40deg * var(--random)));
        opacity: 0;
    }
}

/* 古いTikTokアニメーションを完全に削除 */
.tiktok-heart-animation-container,
[class*="tiktok-heart-animation"],
[class*="heart-particle"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    pointer-events: none !important;
}

/* 古いアニメーションクラスを上書き */
.likeButton.animated i,
.likeCount.animated i,
.like-button.animated i,
[class*="like"].animated i {
    animation: none !important;
}

/* 強制的に適用する新しいいいねスタイル */
body .likeButton i.elegant-heart-animated,
body .likeCount i.elegant-heart-animated,
body .like-button i.elegant-heart-animated,
body i.elegant-heart-animated,
body [class*="like"] i.elegant-heart-animated {
    display: inline-block !important;
    animation: elegant-heart-pop 0.6s cubic-bezier(0.17, 0.89, 0.32, 1.49) !important;
    transform-origin: center !important;
}

/* エレガントな輝きエフェクト */
body .elegant-heart-glow,
#elegant-heart-glow-container .elegant-heart-glow {
    position: fixed !important;
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(255, 76, 76, 0.95) 0%, rgba(255, 128, 128, 0.6) 40%, rgba(255, 76, 76, 0) 70%) !important;
    box-shadow: 0 0 20px rgba(255, 76, 76, 0.4) !important;
    transform: translate(-50%, -50%) !important;
    pointer-events: none !important;
    z-index: 9999 !important;
    animation: elegant-pulse 0.8s cubic-bezier(0.1, 0.9, 0.2, 1) forwards !important;
}

@keyframes elegant-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.1) !important;
        opacity: 0;
    }

    20% {
        opacity: 0.4;
    }

    40% {
        opacity: 0.8;
    }

    70% {
        opacity: 0.9;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.2) !important;
        opacity: 0;
    }
}

/* いいねボタンクリック時のリップルエフェクト - より洗練されたバージョン */
.statItem.likeCount::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 76, 76, 0.8) 0%, rgba(255, 100, 100, 0.5) 40%, rgba(255, 76, 76, 0) 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.statItem.likeCount.pulse::after {
    animation: ranking-like-ripple 0.8s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

@keyframes ranking-like-ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

/* PC表示時のgMenu左寄せ */
@media screen and (min-width: 769px) {
    .gMenu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: 0 !important;
        margin: 0 !important;
        width: 240px !important;
        height: 100% !important;
        border-radius: 0 !important;
        border-top-right-radius: 16px !important;
        border-bottom-right-radius: 16px !important;
        background: #000000 !important;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5) !important;
    }
}