                    #chart {
                        --wm-chart-list-first-gap: 12px;
                        --wm-chart-accent-start: 239, 87, 62;
                        --wm-chart-accent-end: 173, 38, 21;
                        --wm-chart-rank-gold: 245, 198, 93;
                        position: relative;
                    }

                    #chart .ttl.chart_tab a {
                        color: rgba(224, 213, 203, 0.74);
                        transition: color 0.18s ease, text-shadow 0.18s ease;
                    }

                    #chart .ttl.chart_tab a.active {
                        color: rgba(var(--wm-chart-accent-start), 0.98);
                        text-shadow:
                            0 0 10px rgba(var(--wm-chart-accent-start), 0.22),
                            0 1px 0 rgba(0, 0, 0, 0.45);
                    }

                    #chart .wm-chart-title-group .wm-chart-main-title,
                    #chart .wm-chart-title-group .wm-chart-main-title.active {
                        color: rgba(249, 246, 242, 0.98);
                        text-shadow: none;
                        letter-spacing: 0.01em;
                    }

                    #chart .wm-chart-title-group .wm-chart-main-title:hover {
                        color: #fff;
                    }

                    #beat_chart>li .con.rank {
                        color: rgba(212, 203, 193, 0.88);
                    }

                    #beat_chart>li:nth-child(1) .con.rank {
                        color: rgba(var(--wm-chart-accent-start), 0.98);
                        text-shadow: 0 0 10px rgba(var(--wm-chart-accent-start), 0.2);
                    }

                    #beat_chart>li:nth-child(2) .con.rank,
                    #beat_chart>li:nth-child(3) .con.rank {
                        color: rgba(var(--wm-chart-rank-gold), 0.96);
                        text-shadow: 0 0 10px rgba(var(--wm-chart-rank-gold), 0.22);
                    }

                    .chart_tab {
                        display: block;
                        min-height: 0;
                    }

                    .chart_tab .wm-chart-title-group {
                        display: inline-flex;
                        align-items: center;
                        justify-content: flex-start;
                        gap: 12px;
                        max-width: none;
                        min-width: 0;
                        white-space: nowrap;
                    }

                    .chart_tab .wm-chart-all {
                        flex: 0 0 auto;
                    }

                    #chart .wm-chart-head__left {
                        display: flex;
                        flex-direction: column;
                        align-items: flex-start;
                        justify-content: flex-start;
                        gap: 11px;
                        min-width: 0;
                        width: 100%;
                    }

                    #chart .wm-chart-meta-row {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        gap: 12px;
                        min-height: 34px;
                        width: 100%;
                    }

                    #chart .wm-chart-updated-at {
                        color: rgba(247, 240, 233, 0.94);
                        font-size: 12px;
                        font-weight: 800;
                        letter-spacing: 0.09em;
                        text-transform: uppercase;
                        line-height: 1.1;
                    }

                    #chart .wm-chart-meta-actions {
                        display: inline-flex;
                        align-items: center;
                        gap: 8px;
                        margin-left: auto;
                    }

                    #chart .wm-chart-meta-actions .wm-chart-all {
                        height: 34px;
                        min-width: 46px;
                        padding: 0 12px;
                        border-radius: 8px;
                        border: 1px solid rgba(255, 255, 255, 0.22);
                        background:
                            linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
                            rgba(12, 16, 23, 0.68);
                        color: rgba(240, 233, 227, 0.92);
                        font-size: 11px;
                        font-weight: 700;
                        letter-spacing: 0.04em;
                        line-height: 1;
                        box-shadow: none;
                        text-shadow: none;
                    }

                    #chart .wm-chart-meta-actions .wm-chart-all::before {
                        font-size: 9px;
                        transform: translateY(-0.5px);
                    }

                    #chart .wm-chart-season-toggle,
                    #chart .wm-chart-info-toggle {
                        height: 34px;
                        border-radius: 8px;
                        border: 1px solid rgba(255, 255, 255, 0.22);
                        background:
                            linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
                            rgba(12, 16, 23, 0.68);
                        color: rgba(240, 233, 227, 0.92);
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        cursor: pointer;
                        transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
                    }

                    #chart .wm-chart-season-toggle {
                        width: 34px;
                        min-width: 34px;
                        max-width: 34px;
                        padding: 0;
                        gap: 0;
                    }

                    #chart .wm-chart-season-toggle .material-icons-outlined,
                    #chart .wm-chart-info-toggle .material-icons-outlined {
                        font-size: 18px;
                        line-height: 1;
                    }

                    #chart .wm-chart-season-toggle__text {
                        display: none !important;
                    }

                    #chart .wm-chart-info-toggle {
                        width: 34px;
                        min-width: 34px;
                        padding: 0;
                    }

                    #chart .wm-chart-season-toggle:hover,
                    #chart .wm-chart-season-toggle:focus-visible,
                    #chart .wm-chart-meta-actions .wm-chart-all:hover,
                    #chart .wm-chart-meta-actions .wm-chart-all:focus-visible,
                    #chart .wm-chart-info-toggle:hover,
                    #chart .wm-chart-info-toggle:focus-visible {
                        border-color: rgba(255, 255, 255, 0.56);
                        background:
                            linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
                            rgba(18, 23, 31, 0.86);
                        color: rgba(255, 255, 255, 0.98);
                        outline: none;
                    }

                    #chart .wm-chart-season-toggle:focus-visible,
                    #chart .wm-chart-meta-actions .wm-chart-all:focus-visible,
                    #chart .wm-chart-info-toggle:focus-visible {
                        outline: 2px solid rgba(255, 255, 255, 0.4);
                        outline-offset: 1px;
                    }

                    #chart .wm-chart-popup-layer {
                        position: relative;
                        z-index: 18;
                        height: 0;
                    }

                    #chart .wm-chart-popup {
                        position: absolute;
                        top: 10px;
                        right: 0;
                        width: min(360px, calc(100vw - 36px));
                        padding: 12px 14px;
                        border-radius: 12px;
                        border: 1px solid rgba(255, 255, 255, 0.16);
                        background:
                            linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
                            rgba(9, 12, 17, 0.95);
                        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
                    }

                    #chart .wm-chart-info-panel {
                        margin: 0;
                    }

                    #chart .wm-chart-season-panel {
                        width: min(338px, calc(100vw - 36px));
                    }

                    #chart .wm-chart-info-panel__head {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        gap: 12px;
                        margin-bottom: 8px;
                    }

                    #chart .wm-chart-info-panel__title {
                        color: rgba(246, 237, 230, 0.98);
                        font-size: 13px;
                        font-weight: 800;
                        letter-spacing: 0.02em;
                    }

                    #chart .wm-chart-info-panel__season {
                        color: rgba(234, 222, 211, 0.74);
                        font-size: 11px;
                        font-weight: 600;
                        letter-spacing: 0.03em;
                    }

                    #chart .wm-chart-signal-list {
                        display: grid;
                        grid-template-columns: repeat(3, minmax(0, 1fr));
                        gap: 8px;
                        margin: 0;
                        padding: 0;
                        list-style: none;
                    }

                    #chart .wm-chart-signal-list li {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        gap: 6px;
                        min-height: 30px;
                        padding: 0 8px;
                        border-radius: 8px;
                        border: 1px solid rgba(255, 255, 255, 0.14);
                        background: rgba(255, 255, 255, 0.03);
                        overflow: hidden;
                    }

                    #chart .wm-chart-signal-list .wm-chart-signal-name {
                        color: rgba(240, 231, 225, 0.8);
                        font-size: 10px;
                        font-weight: 600;
                        letter-spacing: 0;
                        line-height: 1;
                        white-space: nowrap;
                        word-break: keep-all;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        flex: 1 1 auto;
                        min-width: 0;
                    }

                    #chart .wm-chart-signal-list .wm-chart-signal-ratio {
                        color: rgba(255, 246, 239, 0.95);
                        font-size: 10px;
                        font-weight: 800;
                        letter-spacing: 0.02em;
                        white-space: nowrap;
                        word-break: keep-all;
                        flex: 0 0 auto;
                        line-height: 1;
                    }

                    #chart .wm-chart-hot-signals {
                        margin-top: 10px;
                        display: flex;
                        align-items: flex-start;
                        gap: 8px;
                        flex-wrap: wrap;
                    }

                    #chart .wm-chart-hot-signals__label {
                        color: rgba(237, 223, 212, 0.72);
                        font-size: 11px;
                        font-weight: 700;
                        letter-spacing: 0.08em;
                        text-transform: uppercase;
                        line-height: 1.8;
                    }

                    #chart .wm-chart-hot-signals__list {
                        display: flex;
                        flex-wrap: wrap;
                        gap: 6px;
                        min-height: 22px;
                    }

                    #chart .wm-chart-signal-chip {
                        display: inline-flex;
                        align-items: center;
                        gap: 6px;
                        min-height: 22px;
                        padding: 0 8px;
                        border-radius: 999px;
                        border: 1px solid rgba(255, 255, 255, 0.14);
                        background: rgba(255, 255, 255, 0.04);
                    }

                    #chart .wm-chart-signal-chip .word {
                        color: rgba(249, 240, 233, 0.96);
                        font-size: 11px;
                        font-weight: 700;
                    }

                    #chart .wm-chart-signal-chip .state {
                        color: rgba(233, 220, 210, 0.72);
                        font-size: 10px;
                        font-weight: 700;
                        letter-spacing: 0.06em;
                        text-transform: uppercase;
                    }

                    #chart .wm-chart-season-panel__head {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        gap: 10px;
                        margin-bottom: 6px;
                    }

                    #chart .wm-chart-season-title {
                        color: rgba(249, 240, 233, 0.96);
                        font-size: 12px;
                        font-weight: 800;
                        letter-spacing: 0.07em;
                        text-transform: uppercase;
                        line-height: 1.2;
                    }

                    #chart .wm-chart-season-nav {
                        display: inline-flex;
                        align-items: center;
                        gap: 6px;
                    }

                    #chart .wm-chart-season-nav button {
                        width: 28px;
                        height: 28px;
                        border-radius: 6px;
                        border: 1px solid rgba(255, 255, 255, 0.2);
                        background: rgba(255, 255, 255, 0.03);
                        color: rgba(240, 232, 226, 0.9);
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        cursor: pointer;
                        transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
                    }

                    #chart .wm-chart-season-nav button:disabled {
                        opacity: 0.4;
                        cursor: default;
                    }

                    #chart .wm-chart-season-nav button:not(:disabled):hover {
                        border-color: rgba(var(--wm-chart-accent-start), 0.52);
                        color: rgba(255, 246, 238, 0.98);
                        background: rgba(var(--wm-chart-accent-end), 0.22);
                    }

                    #chart .wm-chart-season-nav .material-icons-outlined {
                        font-size: 18px;
                        line-height: 1;
                    }

                    #chart .wm-chart-season-month {
                        color: rgba(231, 220, 212, 0.86);
                        font-size: 12px;
                        font-weight: 700;
                        letter-spacing: 0.03em;
                        margin-bottom: 8px;
                    }

                    #chart .wm-chart-season-weekdays {
                        display: grid;
                        grid-template-columns: repeat(7, minmax(0, 1fr));
                        gap: 4px;
                        margin-bottom: 4px;
                    }

                    #chart .wm-chart-season-weekdays span {
                        text-align: center;
                        color: rgba(213, 201, 191, 0.6);
                        font-size: 10px;
                        font-weight: 700;
                        letter-spacing: 0.03em;
                        padding: 3px 0;
                    }

                    #chart .wm-chart-season-grid {
                        display: grid;
                        grid-template-columns: repeat(7, minmax(0, 1fr));
                        gap: 4px;
                    }

                    #chart .wm-chart-calendar-cell {
                        min-height: 28px;
                        border-radius: 6px;
                        border: 1px solid transparent;
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        font-size: 11px;
                        font-weight: 700;
                        line-height: 1;
                    }

                    #chart button.wm-chart-calendar-cell {
                        background: rgba(255, 255, 255, 0.08);
                        color: rgba(252, 244, 238, 0.96);
                        border-color: rgba(255, 255, 255, 0.2);
                        cursor: pointer;
                    }

                    #chart button.wm-chart-calendar-cell:hover {
                        border-color: rgba(var(--wm-chart-accent-start), 0.52);
                        background: rgba(var(--wm-chart-accent-end), 0.28);
                    }

                    #chart .wm-chart-calendar-cell.is-active {
                        border-color: rgba(var(--wm-chart-accent-start), 0.7);
                        background: rgba(var(--wm-chart-accent-end), 0.38);
                        color: rgba(255, 250, 247, 0.99);
                    }

                    #chart .wm-chart-calendar-cell.is-muted {
                        color: rgba(204, 193, 184, 0.36);
                        background: transparent;
                    }

                    #chart .wm-chart-calendar-cell.is-empty {
                        visibility: hidden;
                    }

                    #chart .wm-chart-season-hint {
                        margin: 8px 0 0;
                        color: rgba(214, 202, 192, 0.62);
                        font-size: 11px;
                        line-height: 1.35;
                        letter-spacing: 0.01em;
                    }

                    #chart .wm-chart-sr-only {
                        position: absolute;
                        width: 1px;
                        height: 1px;
                        padding: 0;
                        margin: -1px;
                        overflow: hidden;
                        clip: rect(0, 0, 0, 0);
                        white-space: nowrap;
                        border: 0;
                    }

                    @media (max-width: 768px) {
                        #chart {
                            --wm-chart-list-first-gap: 8px;
                        }

                        .chart_tab .wm-chart-title-group {
                            flex-wrap: wrap;
                            max-width: none;
                            gap: 8px;
                            justify-content: flex-start;
                        }

                        #chart .wm-chart-head__left {
                            gap: 8px;
                            min-width: 0;
                            flex: 1 1 auto;
                        }

                        #chart .wm-chart-meta-row {
                            gap: 8px;
                            min-height: 0;
                            align-items: center;
                            justify-content: flex-start;
                            text-align: left;
                        }

                        #chart .wm-chart-updated-at {
                            font-size: 11px;
                            letter-spacing: 0.07em;
                            flex: 1 1 auto;
                            text-align: left;
                            margin-right: auto;
                        }

                        #chart .wm-chart-meta-actions {
                            gap: 6px;
                        }

                        #chart .wm-chart-season-toggle,
                        #chart .wm-chart-meta-actions .wm-chart-all,
                        #chart .wm-chart-info-toggle {
                            height: 32px;
                            min-width: 32px;
                            border-radius: 7px;
                        }

                        #chart .wm-chart-meta-actions .wm-chart-all {
                            min-width: 42px;
                            padding: 0 10px;
                            font-size: 10px;
                        }

                        #chart .wm-chart-season-toggle {
                            width: 32px;
                            padding: 0;
                        }

                        #chart .wm-chart-season-toggle__text {
                            display: none;
                        }

                        #chart>.ttl.chart_tab {
                            margin-bottom: 0 !important;
                            padding-bottom: 0;
                        }

                        #chart .wm-chart-popup {
                            right: 0;
                            width: min(340px, calc(100vw - 22px));
                            padding: 10px 10px;
                        }

                        #chart .wm-chart-signal-list {
                            grid-template-columns: minmax(0, 1fr);
                            gap: 6px;
                        }

                        #chart .wm-chart-hot-signals {
                            margin-top: 8px;
                            gap: 6px;
                        }

                        #chart .wm-chart-hot-signals__label {
                            font-size: 10px;
                        }

                        #chart .wm-chart-season-month {
                            margin-bottom: 7px;
                        }

                        #chart .wm-chart-season-hint {
                            font-size: 10px;
                        }

                        #chart>#beat_chart_tab {
                            margin-top: 0;
                        }

                    }

                    #beat_chart>li:first-of-type,
                    #song_chart>li:first-of-type {
                        margin-top: 0 !important;
                    }
