/* ===== games-ranking 共通スタイル ===== */
    .gr-hero {
        background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
        color: #fff;
        padding: 28px 20px 24px;
        text-align: center;
        border-radius: 16px;
        margin-bottom: 20px;
    }
    .gr-hero .gr-icon { font-size: 32px; margin-bottom: 10px; opacity: 0.9; }
    .gr-hero h2 { font-size: 20px; font-weight: 900; letter-spacing: 0.5px; margin-bottom: 6px; }
    .gr-hero .gr-subtitle { font-size: 12px; opacity: 0.85; }
    .gr-hero .gr-meta {
        font-size: 11px; opacity: 0.8;
        display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
    }
    .gr-badge-beta {
        background: rgba(255,255,255,0.25);
        border: 1px solid rgba(255,255,255,0.5);
        border-radius: 20px; padding: 2px 10px;
        font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
    }
    .gr-notice {
        background: #fefce8; border: 1px solid #fde047; border-radius: 10px;
        padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start;
        margin-bottom: 16px;
    }
    .gr-notice .gr-notice-icon { color: #eab308; font-size: 14px; margin-top: 1px; flex-shrink: 0; }
    .gr-notice p { font-size: 12px; color: #713f12; line-height: 1.6; }
    .gr-method {
        background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 10px;
        padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start;
        margin-bottom: 20px;
    }
    .gr-method .gr-method-icon { color: #3b82f6; font-size: 14px; margin-top: 1px; flex-shrink: 0; }
    .gr-method p { font-size: 12px; color: #1e3a5f; line-height: 1.6; }
    .gr-summary {
        background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px;
        padding: 14px; display: grid; grid-template-columns: 18px 1fr; column-gap: 10px;
        margin-bottom: 24px;
    }
    .gr-summary > i {
        color: #22c55e; font-size: 15px; margin-top: 2px;
        grid-row: 1 / span 2;
    }
    .gr-summary h3 {
        font-size: 13px; font-weight: 700; color: #166534; line-height: 1.5;
        margin: 0 0 4px;
    }
    .gr-summary p {
        font-size: 12px; color: #365c42; line-height: 1.7; margin: 0;
    }
    .gr-content { max-width: 640px; margin: 0 auto; }

    /* ランキングリスト */
    .gr-section { margin-bottom: 28px; }
    .gr-section-header {
        display: flex; align-items: center; gap: 10px;
        margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #e2e8f0;
    }
    .gr-section-icon {
        width: 34px; height: 34px; border-radius: 8px;
        display: flex; align-items: center; justify-content: center;
        font-size: 15px; flex-shrink: 0;
    }
    .gr-section-icon-purple { background: #ede9fe; color: #7c3aed; }
    .gr-section-icon-red { background: #fee2e2; color: #dc2626; }
    .gr-section-icon-green { background: #dcfce7; color: #16a34a; }
    .gr-section-title h3 { font-size: 15px; font-weight: 700; color: #1e293b; line-height: 1.3; }
    .gr-section-title p { font-size: 11px; color: #64748b; margin-top: 2px; }

    .gr-ranking-list { display: flex; flex-direction: column; gap: 8px; }
    .gr-ranking-item {
        background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
        padding: 12px 14px;
        transition: box-shadow 0.15s;
    }
    .gr-ranking-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
    .gr-ranking-main {
        display: flex; align-items: center; gap: 12px;
    }
    .gr-rank-badge {
        width: 30px; height: 30px; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        font-size: 13px; font-weight: 900; flex-shrink: 0;
    }
    .gr-rank-1 { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; }
    .gr-rank-2 { background: linear-gradient(135deg, #94a3b8, #64748b); color: #fff; }
    .gr-rank-3 { background: linear-gradient(135deg, #c084fc, #a855f7); color: #fff; }
    .gr-rank-other { background: #f1f5f9; color: #64748b; }
    .gr-game-info { flex: 1; min-width: 0; }
    .gr-game-name-en {
        font-size: 13px; font-weight: 700; color: #1e293b;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .gr-game-name-jp {
        font-size: 11px; color: #64748b; margin-top: 1px;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }

    .gr-top-video {
        margin-top: 12px;
        border-top: 1px dashed #e2e8f0;
        padding-top: 10px;
    }
    .gr-top-video summary {
        cursor: pointer;
        list-style: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 11px;
        font-weight: 700;
        color: #dc2626;
        user-select: none;
    }
    .gr-top-video summary::-webkit-details-marker { display: none; }
    .gr-top-video summary:hover { text-decoration: underline; }
    .gr-video-meta {
        margin-top: 9px;
        padding: 9px 10px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
    }
    .gr-video-title {
        font-size: 11px;
        font-weight: 700;
        line-height: 1.5;
        color: #334155;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .gr-video-facts {
        display: flex;
        flex-wrap: wrap;
        gap: 5px 10px;
        margin-top: 6px;
        font-size: 10px;
        line-height: 1.5;
        color: #64748b;
    }
    .gr-video-facts span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        min-width: 0;
        max-width: 100%;
    }
    .gr-video-facts i {
        color: #94a3b8;
        flex-shrink: 0;
    }
    .gr-video-embed {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
        margin-top: 8px;
        border-radius: 10px;
        overflow: hidden;
        background: #0f172a;
    }
    .gr-video-embed iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
    .gr-top-video-link {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        margin-top: 7px;
        font-size: 11px;
        font-weight: 700;
        color: #6366f1;
        text-decoration: none;
    }
    .gr-top-video-link:hover { text-decoration: underline; }

    /* 引用時に正式名称を明示する出典表記 */
    .gr-citation-note {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin: 24px 0 30px;
        padding: 12px 14px;
        border: 1px solid #c7d2fe;
        border-radius: 10px;
        background: #eef2ff;
        color: #3730a3;
    }
    .gr-citation-note > i {
        margin-top: 2px;
        color: #6366f1;
        flex-shrink: 0;
    }
    .gr-citation-note div {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }
    .gr-citation-note strong {
        font-size: 11px;
        line-height: 1.4;
    }
    .gr-citation-note span {
        font-size: 12px;
        font-weight: 700;
        line-height: 1.55;
        overflow-wrap: anywhere;
    }
    .gr-citation-note-vertical {
        margin-top: 20px;
        margin-bottom: 0;
        border-color: #bbf7d0;
        background: #f0fdf4;
        color: #166534;
    }
    .gr-citation-note-vertical > i { color: #16a34a; }

    /* TubeSaku YouTube Premiere人気ゲームランキング */
    .gr-premiere-ranking {
        margin-top: 38px;
        padding-top: 30px;
        border-top: 4px solid #f97316;
    }
    .gr-premiere-heading {
        display: flex; align-items: flex-start; gap: 14px;
        padding: 20px; margin-bottom: 16px;
        border: 1px solid #fed7aa; border-radius: 16px;
        background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
    }
    .gr-premiere-heading-icon {
        width: 48px; height: 48px; border-radius: 14px;
        display: flex; align-items: center; justify-content: center; flex-shrink: 0;
        background: linear-gradient(135deg, #f97316, #f59e0b);
        color: #fff; font-size: 21px; box-shadow: 0 6px 16px rgba(249,115,22,0.18);
    }
    .gr-premiere-kicker { margin-bottom: 4px; color: #c2410c; font-size: 9px; font-weight: 900; letter-spacing: 1.2px; }
    .gr-premiere-heading h2 { margin: 0; color: #7c2d12; font-size: 18px; font-weight: 900; line-height: 1.45; }
    .gr-premiere-heading p { margin: 5px 0 0; color: #7c4a2d; font-size: 11px; line-height: 1.7; }
    .gr-premiere-notice {
        display: flex; align-items: flex-start; gap: 9px; margin-bottom: 10px; padding: 11px 13px;
        border: 1px solid #fed7aa; border-radius: 10px; background: #fff7ed; color: #9a3412;
    }
    .gr-premiere-notice i { margin-top: 2px; flex-shrink: 0; color: #f97316; font-size: 13px; }
    .gr-premiere-notice p { margin: 0; font-size: 11px; line-height: 1.65; }
    .gr-premiere-method {
        display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-bottom: 12px; padding: 11px 13px;
        border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; color: #475569; font-size: 11px; line-height: 1.65;
    }
    .gr-premiere-method strong { color: #1e293b; white-space: nowrap; }
    .gr-premiere-summary {
        margin-bottom: 20px; padding: 13px 14px; border-left: 4px solid #f97316; border-radius: 0 10px 10px 0;
        background: #fff7ed; color: #7c4a2d; font-size: 11px; line-height: 1.75;
    }
    .gr-premiere-section { margin-top: 22px; }
    .gr-premiere-item { border-color: #ffedd5; }
    .gr-premiere-top-video summary { color: #ea580c; }
    .gr-citation-note-premiere { border-color: #fed7aa; background: #fff7ed; color: #9a3412; }
    .gr-citation-note-premiere > i { color: #f97316; }
    @media (max-width: 520px) {
        .gr-premiere-heading { padding: 16px; }
        .gr-premiere-heading-icon { width: 42px; height: 42px; border-radius: 12px; }
        .gr-premiere-heading h2 { font-size: 16px; }
    }

    /* TubeSaku YouTube縦型配信ストリーマーランキング */
    .gr-vertical-ranking {
        margin-top: 38px;
        padding-top: 30px;
        border-top: 4px solid #22c55e;
    }
    .gr-vertical-heading {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 20px;
        margin-bottom: 16px;
        border: 1px solid #bbf7d0;
        border-radius: 16px;
        background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    }
    .gr-vertical-heading-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        background: linear-gradient(135deg, #22c55e, #14b8a6);
        color: #fff;
        font-size: 21px;
        box-shadow: 0 6px 16px rgba(34, 197, 94, 0.18);
    }
    .gr-vertical-kicker {
        margin-bottom: 4px;
        color: #15803d;
        font-size: 9px;
        font-weight: 900;
        letter-spacing: 1.2px;
    }
    .gr-vertical-heading h2 {
        margin: 0;
        color: #14532d;
        font-size: 18px;
        font-weight: 900;
        line-height: 1.45;
    }
    .gr-vertical-heading p {
        margin: 5px 0 0;
        color: #3f5f4b;
        font-size: 11px;
        line-height: 1.7;
    }
    .gr-vertical-notice {
        display: flex;
        align-items: flex-start;
        gap: 9px;
        margin-bottom: 10px;
        padding: 11px 13px;
        border: 1px solid #a7f3d0;
        border-radius: 10px;
        background: #ecfdf5;
        color: #166534;
    }
    .gr-vertical-notice i {
        margin-top: 2px;
        flex-shrink: 0;
        color: #16a34a;
        font-size: 13px;
    }
    .gr-vertical-notice p {
        margin: 0;
        font-size: 11px;
        line-height: 1.65;
    }
    .gr-vertical-method {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 8px;
        margin-bottom: 12px;
        padding: 11px 13px;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        background: #f8fafc;
        color: #475569;
        font-size: 11px;
        line-height: 1.65;
    }
    .gr-vertical-method strong { color: #1e293b; white-space: nowrap; }
    .gr-vertical-summary {
        margin-bottom: 20px;
        padding: 13px 14px;
        border-left: 4px solid #22c55e;
        border-radius: 0 10px 10px 0;
        background: #f0fdf4;
        color: #365c42;
        font-size: 11px;
        line-height: 1.75;
    }
    .gr-streamer-section { margin-top: 22px; }
    .gr-streamer-item { padding: 14px; }
    .gr-streamer-main { align-items: flex-start; }
    .gr-streamer-info { flex: 1; min-width: 0; padding-top: 2px; }
    .gr-streamer-name {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        max-width: 100%;
        color: #1e293b;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.45;
        text-decoration: none;
    }
    .gr-streamer-name:hover { color: #16a34a; text-decoration: underline; }
    .gr-streamer-name i { flex-shrink: 0; color: #94a3b8; font-size: 9px; }
    .gr-streamer-games {
        display: flex;
        align-items: flex-start;
        gap: 5px;
        margin-top: 4px;
        color: #64748b;
        font-size: 10px;
        line-height: 1.55;
    }
    .gr-streamer-games i { margin-top: 2px; flex-shrink: 0; color: #22c55e; }
    .gr-streamer-stats {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        margin-top: 12px;
    }
    .gr-streamer-stat {
        min-width: 0;
        padding: 8px 6px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        background: #f8fafc;
        text-align: center;
    }
    .gr-streamer-stat span {
        display: block;
        color: #64748b;
        font-size: 9px;
        line-height: 1.35;
    }
    .gr-streamer-stat strong {
        display: block;
        margin-top: 3px;
        overflow: hidden;
        color: #0f172a;
        font-size: 11px;
        line-height: 1.35;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .gr-streamer-top-video summary { color: #16a34a; }

    @media (max-width: 520px) {
        .gr-vertical-heading { padding: 16px; }
        .gr-vertical-heading-icon { width: 42px; height: 42px; border-radius: 12px; }
        .gr-vertical-heading h2 { font-size: 16px; }
        .gr-streamer-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    /* 一覧ページ用 カード */
    .gr-month-section { margin-bottom: 32px; }
    .gr-month-label {
        display: flex; align-items: center; gap: 8px;
        margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid #e2e8f0;
    }
    .gr-month-label h3 { font-size: 16px; font-weight: 700; color: #1e293b; }
    .gr-badge-new {
        background: #fee2e2; color: #dc2626;
        font-size: 10px; font-weight: 700; padding: 1px 8px; border-radius: 20px;
    }
    .gr-cards { display: flex; flex-direction: column; gap: 10px; }
    .gr-card {
        background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
        padding: 16px; display: flex; align-items: center; gap: 14px;
        text-decoration: none; color: inherit; transition: box-shadow 0.15s, border-color 0.15s;
    }
    .gr-card:hover { box-shadow: 0 4px 12px rgba(99,102,241,0.12); border-color: #c7d2fe; }
    .gr-card-icon {
        width: 44px; height: 44px; border-radius: 10px;
        background: linear-gradient(135deg, #6366f1, #818cf8);
        display: flex; align-items: center; justify-content: center;
        font-size: 18px; color: #fff; flex-shrink: 0;
    }
    .gr-card-info { flex: 1; min-width: 0; }
    .gr-card-title { font-size: 14px; font-weight: 700; color: #1e293b; margin-bottom: 3px; }
    .gr-card-meta { font-size: 11px; color: #64748b; }
    .gr-card-arrow { color: #94a3b8; font-size: 14px; flex-shrink: 0; }
    .gr-card:hover .gr-card-arrow { color: #6366f1; }

    /* パンくずリスト */
    .gr-breadcrumb {
        font-size: 12px; color: #64748b; margin-bottom: 16px;
        display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
    }
    .gr-breadcrumb a { color: #6366f1; text-decoration: none; font-weight: 600; }
    .gr-breadcrumb a:hover { text-decoration: underline; }

/* 最新週トップ・編集方針。追加部分はTailwindの再ビルドに依存しない。 */
.gr-page-heading { max-width: 800px; margin: 0 auto 22px; color: #1e293b; font-size: clamp(20px, 3vw, 28px); font-weight: 900; line-height: 1.55; overflow-wrap: anywhere; }
.gr-header-label { color: #334155; font-size: 13px; font-weight: 700; }
.gr-home { max-width: 800px; }
.gr-scope { margin: 14px 0 0; font-size: 12px; line-height: 1.7; }
.gr-intro, .gr-axis-note { font-size: 13px; line-height: 1.9; margin: 0 0 20px; color: #475569; }
.gr-intro a, .gr-policy a, .gr-citation-note a { color: #4f46e5; text-decoration: underline; text-underline-offset: 3px; }
.gr-jump-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.gr-jump-links a { padding: 8px 12px; border: 1px solid #c7d2fe; border-radius: 20px; font-size: 12px; color: #4338ca; background: #eef2ff; text-decoration: none; }
.gr-home-heading, .gr-streamers-ranking > h2, .gr-policy > h2 { margin: 30px 0 14px; font-size: 19px; font-weight: 800; line-height: 1.6; color: #1e293b; }
.gr-preview-list { list-style: none; margin: 0 0 22px; padding: 0; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; overflow: hidden; }
.gr-preview-list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; line-height: 1.6; }
.gr-preview-list li + li { border-top: 1px solid #f1f5f9; }
.gr-preview-list strong { font-size: 14px; font-weight: 700; color: #1e293b; overflow-wrap: anywhere; }
.gr-preview-rank { flex: 0 0 28px; text-align: center; color: #6366f1; font-weight: 800; font-size: 17px; }
.gr-preview-en, .gr-preview-channel { display: block; font-size: 11px; color: #64748b; margin-top: 2px; overflow-wrap: anywhere; }
.gr-mini-heading { font-size: 14px; font-weight: 700; margin: 18px 0 10px; line-height: 1.7; }
.gr-detail-button { display: block; padding: 16px; margin: 24px 0; border-radius: 12px; background: #4f46e5; color: #fff; text-align: center; font-weight: 700; font-size: 14px; line-height: 1.8; text-decoration: none; }
.gr-detail-button:hover { background: #4338ca; }
.gr-policy { margin: 32px 0; padding: 0 20px 20px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; }
.gr-policy h3 { font-size: 14px; font-weight: 700; margin: 24px 0 10px; line-height: 1.8; color: #334155; }
.gr-policy p, .gr-policy li { font-size: 12px; line-height: 1.95; margin: 10px 0; color: #475569; }
.gr-counts { background: #f8fafc; padding: 12px; border-radius: 8px; }
.gr-counts summary { cursor: pointer; font-size: 12px; color: #4338ca; font-weight: 700; }
.gr-counts ul { padding-left: 20px; }
.gr-empty { font-size: 13px; color: #64748b; padding: 16px; }
.gr-streamers-ranking .gr-streamer-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gr-home .gr-preview-section, .gr-streamers-ranking .gr-section { scroll-margin-top: 20px; }
.gr-home .gr-citation-note { margin: 24px 0; }
.gr-streamers-ranking .gr-streamer-name, .gr-streamers-ranking .gr-top-video-link { overflow-wrap: anywhere; }
.gr-streamers-ranking .gr-streamer-stat strong { font-size: 14px; }
@media (max-width: 480px) {
    .gr-policy { padding: 0 14px 14px; }
    .gr-preview-list li { padding: 12px; }
    .gr-streamers-ranking .gr-streamer-stats { grid-template-columns: 1fr; }
    .gr-hero { padding: 22px 14px; }
}
