/* ==========================
   MELODY FLAG
========================== */

.melody_flag-back{display:block;align-self:flex-start;width:max-content;margin:10px 0 10px 15px;color:var(--theme-text-muted);font-size:13px;font-weight:bold;text-decoration:none}

.melody_flag-back:hover{color:var(--theme-primary)}

.melody_flag-container{width:100%;max-width:1680px;margin:0;padding:6px 16px 40px;box-sizing:border-box}

.melody_flag-temporary-notice{margin:14px 0;padding:14px 16px;border:1px solid var(--theme-border);border-left:4px solid var(--theme-primary);border-radius:12px;background:var(--theme-blush);color:var(--theme-text-sub);font-size:14px;line-height:1.75}
.melody_flag-temporary-notice strong{display:block;margin-bottom:4px;color:var(--theme-heading);font-size:15px}
.melody_flag-temporary-notice p{margin:0}
.melody_flag-letter-compose{display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:100%;margin-top:8px}
.melody_flag-letter-compose label{font-size:13px;font-weight:bold}
.melody_flag-letter-compose select{min-width:0;max-width:100%;min-height:38px;padding:6px 10px;border:1px solid var(--theme-border);border-radius:9px;background:#fff;font:inherit}
.melody_flag-ended-corners-toggle{min-height:38px;padding:6px 10px;border:1px solid var(--theme-border-soft);border-radius:9px;background:#fff;color:var(--theme-text-sub);font:inherit;font-size:12px;cursor:pointer}
.melody_flag-ended-corners-toggle:hover{border-color:var(--theme-primary);color:var(--theme-primary)}
.melody_flag-letter-compose small{flex-basis:100%;color:var(--theme-text-muted);font-size:12px;line-height:1.5}
.melody_flag-letter-settings{display:flex;flex-wrap:wrap;gap:8px;width:100%}
.melody_flag-letter-local-status{flex-basis:100%;color:var(--theme-text-sub);font-size:12px;line-height:1.6}
.melody_flag-letter-dialog{width:min(440px,calc(100vw - 32px));max-width:none;padding:20px;box-sizing:border-box;border:1px solid var(--theme-border-soft);border-radius:16px;background:#fff;color:var(--theme-text);box-shadow:0 12px 40px rgba(55,25,40,.2)}
.melody_flag-letter-dialog::backdrop{background:rgba(35,20,30,.38)}
.melody_flag-letter-dialog form{display:flex;flex-direction:column;gap:10px}
.melody_flag-letter-dialog h3{margin:0 0 4px;font-size:17px}
.melody_flag-letter-dialog label{font-size:13px;font-weight:700}
.melody_flag-letter-dialog input[type="text"],.melody_flag-letter-dialog textarea{width:100%;min-height:40px;padding:9px 11px;box-sizing:border-box;border:1px solid var(--theme-border);border-radius:9px;background:#fff;color:var(--theme-text);font:inherit;font-size:14px}
.melody_flag-letter-dialog textarea{resize:vertical}
.melody_flag-letter-dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:6px}
.melody_flag-letter-dialog-actions .melody_flag-program-link{min-width:78px;border:0;background:var(--theme-primary);color:#fff;font:inherit;font-size:13px;cursor:pointer}
.melody_flag-letter-dialog-actions button:disabled{opacity:.5}

.melody_flag-card-actions a,.melody_flag-action-button,.listen-toggle,.melody_flag-listen-button,.melody_flag-detail-links a,.melody_flag-detail-link-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 11px;box-sizing:border-box;border:0;border-radius:18px;background:#f5f5f5;color:var(--theme-text-sub);font:inherit;font-size:12px;font-weight:bold;text-decoration:none}

.melody_flag-afterword-button,.melody_flag-detail-link-button{background:#e8f3ff;cursor:pointer}

.melody_flag-empty{padding:35px 20px;border-radius:16px;background:#fff;color:var(--theme-text-muted);text-align:center;box-shadow:0 2px 8px rgba(0,0,0,.05)}

.melody_flag-detail-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}

.melody_flag-detail-links a,.melody_flag-detail-link-button{background:#f5f5f5}

.melody_flag-detail-links .melody_flag-link-youtube{background:#ffd6e6!important}

@media(min-width:768px){
.melody_flag-container{padding:6px 30px 48px}
}

@media(max-width:767px){
.melody_flag-back{margin-left:12px}
.melody_flag-container{padding:6px 16px 40px}
}

.melody_flag-section-title{
    display:flex;
    align-items:center;
    gap:9px;
    margin:0 0 14px;
    color:var(--theme-heading);
    font-size:19px;
    font-weight:bold;
    line-height:1.4;
}

.melody_flag-section-title::before{
    content:"";
    flex:0 0 5px;
    width:5px;
    height:22px;
    border-radius:3px;
    background:linear-gradient(180deg,var(--theme-btn-from),var(--theme-primary));
}

.melody_flag-latest-card,
.melody_flag-status-card,
.melody_flag-recent-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-width:0;
    box-sizing:border-box;
    border:1px solid var(--theme-border-soft);
    border-radius:16px;
    background:#fff;
    box-shadow:0 3px 8px rgba(0,0,0,.07);
    color:inherit;
    text-decoration:none;
}

.melody_flag-status-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
}

.melody_flag-status-card{
    min-height:82px;
    padding:14px;
}

.melody_flag-status-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 44px;
    width:44px;
    height:44px;
    margin-right:12px;
    border-radius:11px;
    background:var(--theme-blush);
    font-size:21px;
}

.melody_flag-status-content{
    display:block;
    min-width:0;
    flex:1;
}

.melody_flag-status-title{
    display:block;
    font-size:15px;
    font-weight:bold;
}

.melody_flag-status-text{
    display:block;
    margin-top:4px;
    color:var(--theme-text-muted);
    font-size:12px;
    line-height:1.5;
}

.melody_flag-dashboard-arrow{
    flex:none;
    margin-left:10px;
    color:var(--theme-border);
    font-size:25px;
    line-height:1;
}

@media(min-width:768px){
.melody_flag-status-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:14px;
    }
}

@media(max-width:767px){
.melody_flag-section-title{
        font-size:17px;
    }
}

/* ==========================
   メロフラTOP：ライブ・町民集会準拠
========================== */

.melody_flag-top-section{
    display:flex;
    flex-direction:column;
    gap:20px;
    margin-top:15px;
}

.melody_flag-section{
    width:100%;
    min-width:0;
    box-sizing:border-box;
}

.melody_flag-latest-section,
.melody_flag-program-section{
    min-width:0;
}

.melody_flag-slider-wrapper{
    position:relative;
    display:flex;
    align-items:center;
    width:100%;
    gap:10px;
}

.melody_flag-slider{
    display:flex;
    align-items:stretch;
    flex:1;
    min-width:0;
    overflow-x:auto;
    gap:14px;
    padding:0 0 8px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
}

.melody_flag-slider::-webkit-scrollbar{
    display:none;
}

.melody_flag-broadcast-card{
    display:flex;
    flex:0 0 100%;
    min-width:100%;
    box-sizing:border-box;
    padding:18px;
    border:1px solid var(--theme-border-soft);
    border-radius:18px;
    background:#fff;
    box-shadow:0 6px 18px rgba(61,44,46,.06);
    scroll-snap-align:start;
}

.melody_flag-broadcast-card-content{
    display:flex;
    flex-direction:column;
    flex:1;
    min-width:0;
}

.melody_flag-broadcast-number{
    color:var(--theme-text);
    font-size:19px;
    font-weight:bold;
    line-height:1.5;
}

.melody_flag-broadcast-info{
    margin-top:12px;
    color:var(--theme-text-sub);
    font-size:13px;
    line-height:1.8;
}

.melody_flag-broadcast-meta-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:16px;
    align-items:start;
}

.melody_flag-broadcast-meta-right{
    min-width:0;
    text-align:right;
}

.melody_flag-broadcast-meta-right .melody_flag-broadcast-meta{
    display:grid;
    grid-template-columns:max-content minmax(0,1fr);
    gap:8px;
    align-items:baseline;
    margin-top:0;
    color:var(--theme-text-sub);
    text-align:right;
}

.melody_flag-broadcast-meta-right .melody_flag-broadcast-meta + .melody_flag-broadcast-meta{
    margin-top:7px;
}

.melody_flag-broadcast-meta-right .melody_flag-broadcast-meta-label{
    margin-bottom:0;
    white-space:nowrap;
}

.melody_flag-broadcast-meta-right > *{
    overflow-wrap:anywhere;
}

.melody_flag-youtube-preview{
    display:flex;
    flex-direction:row;
    align-items:flex-start;
    gap:12px;
    flex:1 1 auto;
    min-height:0;
    overflow:hidden;
    width:100%;
    margin-top:14px;
    padding:10px;
    box-sizing:border-box;
    border:1px solid var(--theme-border-soft);
    border-radius:12px;
    background:var(--theme-blush);
}

.melody_flag-youtube-thumbnail-wrap{
    position:relative;
    align-self:flex-start;
    flex:0 0 100%;
    width:100%;
    max-width:100%;
    aspect-ratio:16 / 9;
    overflow:hidden;
    border-radius:8px;
    background:var(--theme-border-soft);
}

.melody_flag-youtube-thumbnail{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.melody_flag-youtube-play{
    position:absolute;
    left:50%;
    top:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    border-radius:50%;
    background:rgba(220,70,105,.9);
    color:#fff;
    font-size:14px;
    transform:translate(-50%,-50%);
}

.melody_flag-youtube-duration{
    position:absolute;
    right:6px;
    bottom:6px;
    z-index:1;
    padding:2px 5px;
    border-radius:4px;
    background:rgba(0,0,0,.78);
    color:#fff;
    font-size:11px;
    font-weight:700;
    line-height:1.35;
}

.melody_flag-youtube-left{
    display:flex;
    flex-direction:column;
    flex:0 0 50%;
    width:50%;
    min-width:0;
    min-height:0;
    overflow:hidden;
}

.melody_flag-youtube-preview-info{
    display:flex;
    flex-direction:column;
    align-self:stretch;
    min-width:0;
    min-height:0;
    overflow:hidden;
    flex:1 1 auto;
    width:100%;
}

.melody_flag-youtube-preview-label{
    color:var(--theme-primary);
    font-size:11px;
    font-weight:bold;
}

.melody_flag-youtube-preview-title{
    display:-webkit-box;
    flex:0 0 auto;
    margin-top:0;
    overflow:hidden;
    color:var(--theme-text-sub);
    font-size:13px;
    font-weight:bold;
    line-height:1.5;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
}

.melody_flag-youtube-stats{margin-top:4px;color:var(--theme-text-muted);font-size:11px;line-height:1.4}

.melody_flag-youtube-preview.is-error .melody_flag-youtube-preview-title{
    color:var(--theme-text-muted);
    font-weight:normal;
}

.melody_flag-youtube-description-wrap{
    display:flex;
    flex-direction:column;
    flex:1 1 0;
    height:0;
    min-height:0;
    overflow:hidden;
    width:100%;
    margin-top:9px;
    padding:9px 11px;
    box-sizing:border-box;
    border-radius:9px;
    background:#fff;
}

.melody_flag-youtube-description-label{
    color:var(--theme-primary);
    font-size:10px;
    font-weight:bold;
}

.melody_flag-youtube-description{
    margin-top:4px;
    color:var(--theme-text-muted);
    font-size:11px;
    line-height:1.6;
    white-space:pre-wrap;
    overflow-wrap:anywhere;
}

.melody_flag-youtube-description.is-loading{
    color:var(--theme-text-muted);
}

.melody_flag-youtube-description.is-error{
    color:var(--theme-text-muted);
}

.melody_flag-youtube-description-wrap .melody_flag-youtube-description{
    flex:1 1 auto;
    min-height:0;
    max-height:420px;
    overflow-y:auto;
    scrollbar-width:none;
}

.melody_flag-youtube-description-wrap .melody_flag-youtube-description::-webkit-scrollbar{
    display:none;
}

.melody_flag-broadcast-meta{
    display:block;
    margin-top:10px;
    color:var(--theme-text-sub);
    font-size:12px;
    line-height:1.6;
}

.melody_flag-broadcast-meta-label{
    display:block;
    margin-bottom:2px;
    color:var(--theme-primary);
    font-size:11px;
    font-weight:bold;
}

.melody_flag-broadcast-songs{
    margin-top:12px;
}

.melody_flag-broadcast-corners{
    margin-top:9px;
}

.melody_flag-detail-youtube-description .melody_flag-youtube-description{
    flex:1 1 auto;
    min-height:0;
    max-height:none;
    overflow-y:auto;
    color:var(--theme-text-sub);
    font-size:13px;
    line-height:1.7;
}

.melody_flag-broadcast-actions{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:auto;
    padding-top:14px;
}

.melody_flag-broadcast-link,
.melody_flag-detail-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:7px 11px;
    box-sizing:border-box;
    border:1px solid var(--theme-border-soft);
    border-radius:999px;
    background:#fff;
    color:var(--theme-text-sub);
    font-family:inherit;
    font-size:12.5px;
    font-weight:bold;
    text-decoration:none;
    cursor:pointer;
    padding:7px 15px;
}

.melody_flag-broadcast-link.youtube{
    border-color:var(--theme-border-soft);
    background:var(--theme-blush);
    color:var(--theme-primary);
}

.melody_flag-detail-link{
    background:linear-gradient(135deg,var(--theme-btn-from),var(--theme-primary));
    border-color:transparent;
    color:#fff;
}

.melody_flag-slider-arrow{
    display:none;
}

.melody_flag-slider-dots{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    margin:8px 0 0;
}

.melody_flag-slider-dot{
    display:block;
    width:8px;
    height:8px;
    padding:0;
    border:0;
    border-radius:50%;
    background:var(--theme-border);
    cursor:pointer;
}

.melody_flag-slider-dot.active{
    width:20px;
    border-radius:99px;
    background:var(--theme-primary);
}

.melody_flag-program-card{
    display:flex;
    flex-direction:column;
    box-sizing:border-box;
    width:100%;
    padding:18px;
    border:1px solid var(--theme-border-soft);
    border-radius:18px;
    background:#fff;
    box-shadow:0 6px 18px rgba(61,44,46,.06);
}

.melody_flag-program-name{
    color:var(--theme-text);
    font-size:18px;
    font-weight:bold;
    line-height:1.5;
}

.melody_flag-program-info-list{
    display:flex;
    flex-direction:column;
    gap:9px;
    margin-top:15px;
}

.melody_flag-program-info-item{
    display:flex;
    flex-direction:column;
    gap:2px;
    padding:9px 10px;
    border-radius:9px;
    background:var(--theme-blush);
}

.melody_flag-program-label{
    color:var(--theme-text-muted);
    font-size:11px;
}

.melody_flag-program-info-item strong{
    color:var(--theme-text-sub);
    font-size:13px;
    line-height:1.5;
}

.melody_flag-program-links{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-top:12px;
}

.melody_flag-program-link{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:8px 12px;
    box-sizing:border-box;
    border-radius:999px;
    background:var(--theme-blush);
    color:var(--theme-brand);
    font-size:12.5px;
    font-weight:bold;
    text-decoration:none;
}

.melody_flag-summary-card{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-top:10px;
}

.melody_flag-summary-item{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:82px;
    padding:10px 6px;
    box-sizing:border-box;
    border:1px solid var(--theme-border-soft);
    border-radius:18px;
    background:#fff;
    box-shadow:0 6px 18px rgba(61,44,46,.06);
    text-align:center;
}

.melody_flag-summary-label{
    color:var(--theme-text-muted);
    font-size:12px;
    line-height:1.5;
}

.melody_flag-summary-value{
    margin-top:7px;
    color:var(--theme-heading);
    font-size:19px;
    font-weight:bold;
    line-height:1.4;
}

.melody_flag-status-section{
    margin-top:35px;
}

.melody_flag-status-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
}

.melody_flag-status-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:88px;
    padding:14px;
    box-sizing:border-box;
    border:1px solid var(--theme-border-soft);
    border-radius:12px;
    background:#fff;
    box-shadow:0 2px 7px rgba(0,0,0,.05);
    color:inherit;
    text-decoration:none;
}

.melody_flag-status-card-main{
    display:flex;
    align-items:center;
    min-width:0;
}

.melody_flag-status-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 44px;
    width:44px;
    height:44px;
    margin-right:12px;
    border-radius:11px;
    background:var(--theme-blush);
    font-size:21px;
}

.melody_flag-status-content{
    min-width:0;
}

.melody_flag-status-title{
    font-size:15px;
    font-weight:bold;
}

.melody_flag-status-text{
    margin-top:4px;
    color:var(--theme-text-muted);
    font-size:12px;
    line-height:1.5;
}

@media(min-width:768px){
.melody_flag-top-section{
        display:grid;
        grid-template-columns:minmax(0,1.6fr) minmax(320px,1fr);
        gap:20px;
        align-items:stretch;
    }
.melody_flag-latest-section,
    .melody_flag-program-section{
        display:flex;
        flex-direction:column;
        min-width:0;
        margin-top:0;
    }
.melody_flag-latest-section{
        position:relative;
        min-height:0;
    }
.melody_flag-slider-wrapper{
        flex:1 1 auto;
        min-height:0;
        height:auto;
        align-items:stretch;
    }
.melody_flag-slider{
        min-height:0;
        height:100%;
    }
.melody_flag-broadcast-card{
        flex:0 0 100%;
        width:100%;
        height:100%;
        min-height:0;
        max-height:none;
        padding:20px;
        overflow:hidden;
    }
.melody_flag-broadcast-card-content{
        display:flex;
        flex-direction:column;
        height:100%;
        min-height:0;
        overflow:hidden;
    }
.melody_flag-broadcast-meta-row{
        display:grid;
        grid-template-columns:minmax(0,1fr) minmax(0,1fr);
        gap:16px;
        align-items:start;
    }
.melody_flag-broadcast-meta-right{
        margin-top:0;
        text-align:right;
    }
.melody_flag-broadcast-meta-right .melody_flag-broadcast-meta{
        grid-template-columns:max-content minmax(0,1fr);
        text-align:right;
    }
.melody_flag-youtube-preview{
        display:grid;
        grid-template-columns:minmax(0,48%) minmax(0,1fr);
        align-items:stretch;
        flex:1 1 auto;
        width:100%;
        height:auto;
        min-height:235px;
        gap:12px;
    }
.melody_flag-youtube-left{
        display:flex;
        flex-direction:column;
        width:auto;
        max-width:none;
        min-width:0;
        min-height:0;
        overflow:hidden;
    }
.melody_flag-youtube-left .melody_flag-youtube-preview-title{
        flex:none;
        margin-top:6px;
    }
.melody_flag-youtube-thumbnail-wrap{
        flex:none;
        width:100%;
        max-width:100%;
        aspect-ratio:16 / 9;
        height:auto;
    }
.melody_flag-youtube-preview-title{
        flex:none;
        width:100%;
        margin-top:6px;
        -webkit-line-clamp:2;
    }
.melody_flag-youtube-description-wrap{
        display:flex;
        flex-direction:column;
        flex:1 1 auto;
        min-width:0;
        min-height:0;
        width:auto;
        height:100%;
        margin-top:0;
        overflow:hidden;
    }
.melody_flag-youtube-description-wrap .melody_flag-youtube-description{
        flex:1 1 0;
        min-height:0;
        max-height:none;
        overflow-y:auto;
        scrollbar-width:none;
    }
.melody_flag-youtube-description-wrap .melody_flag-youtube-description::-webkit-scrollbar{
        display:none;
    }
.melody_flag-latest-section > .melody_flag-slider-dots{
        position:absolute;
        left:0;
        right:0;
        bottom:-20px;
        margin:0;
    }
.melody_flag-slider-arrow{
        display:flex;
        align-items:center;
        justify-content:center;
        flex:0 0 38px;
        width:38px;
        height:38px;
        padding:0;
        border:1px solid var(--theme-border-soft);
        border-radius:50%;
        background:#fff;
        color:var(--theme-text-muted);
        font-family:inherit;
        font-size:27px;
        line-height:1;
        cursor:pointer;
        box-shadow:0 2px 6px rgba(0,0,0,.06);
    }
.melody_flag-slider-arrow:hover{
        background:var(--theme-blush);
    }
.melody_flag-slider-arrow{
        align-self:center;
    }
.melody_flag-slider-arrow:disabled{
        opacity:.35;
        cursor:default;
    }
.melody_flag-program-card{
        padding:20px;
    }
.melody_flag-summary-card{
        margin-top:10px;
    }
.melody_flag-status-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:15px;
    }
.melody_flag-status-card{
        min-height:100px;
        padding:16px;
    }
.melody_flag-status-icon{
        flex-basis:46px;
        width:46px;
        height:46px;
        margin-right:12px;
        font-size:23px;
    }
}

@media(min-width:768px) and (max-width:1099px){
.melody_flag-top-section{
        grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);
        gap:15px;
    }
.melody_flag-status-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:15px;
    }
}

@media(min-width:1100px){
.melody_flag-top-section{
        grid-template-columns:minmax(0,1.6fr) minmax(360px,1fr);
        gap:20px;
    }
.melody_flag-status-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(min-width:1500px){
.melody_flag-container{
        max-width:1680px;
    }
.melody_flag-status-grid{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
}

@media(max-width:767px){
.melody_flag-top-section{
        gap:20px;
    }
.melody_flag-broadcast-card{
        padding:17px;
        height:auto;
        min-height:0;
        max-height:none;
    }
.melody_flag-broadcast-card-content{
        height:auto;
        min-height:0;
        overflow:visible;
    }
.melody_flag-broadcast-meta-row{
        display:block;
    }
.melody_flag-broadcast-meta-right{
        margin-top:8px;
        text-align:left;
    }
.melody_flag-broadcast-meta-right .melody_flag-broadcast-meta{
        grid-template-columns:max-content minmax(0,1fr);
        text-align:left;
    }
.melody_flag-youtube-preview{
        display:flex;
        flex-direction:column;
        align-items:stretch;
        flex:none;
        width:100%;
        height:auto;
        min-height:0;
        margin-top:12px;
        gap:6px;
        overflow:visible;
    }
.melody_flag-youtube-left{
        display:flex;
        flex-direction:column;
        flex:none;
        width:100%;
        max-width:100%;
        min-height:0;
        overflow:visible;
    }
.melody_flag-youtube-thumbnail-wrap{
        flex:none;
        width:100%;
        max-width:100%;
        height:170px;
        aspect-ratio:auto;
    }
.melody_flag-youtube-preview-title{
        flex:none;
        width:100%;
        margin-top:6px;
        font-size:12px;
        line-height:1.5;
        -webkit-line-clamp:2;
    }
.melody_flag-youtube-description-wrap{
        display:flex;
        flex:0 0 120px;
        width:100%;
        height:120px;
        min-height:120px;
        margin-top:6px;
        overflow:hidden;
    }
.melody_flag-youtube-description-wrap .melody_flag-youtube-description{
        flex:1 1 auto;
        min-height:0;
        max-height:none;
        overflow-y:auto;
        scrollbar-width:none;
    }
.melody_flag-youtube-description-wrap .melody_flag-youtube-description::-webkit-scrollbar{
        display:none;
    }
.melody_flag-broadcast-actions{
        flex-direction:row;
        flex-wrap:wrap;
        margin-top:0;
    }
.melody_flag-broadcast-link,
    .melody_flag-detail-link{
        width:auto;
    }
.melody_flag-program-card{
        padding:17px;
    }
.melody_flag-status-grid{
        grid-template-columns:1fr;
    }
}

.melody_flag-broadcast-link.afterword{
    border-color:#f0d9c7;
    background:#fff9f3;
    color:#b97945;
}


/* 放送後旗ポップアップ（TOP・詳細共通） */
body.melody_flag-modal-open{overflow:hidden}
.melody_flag-afterword-modal[hidden]{display:none!important}
.melody_flag-afterword-modal{position:fixed!important;inset:0!important;z-index:2147483000!important;display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}
.melody_flag-afterword-backdrop{position:absolute;inset:0;background:rgba(30,20,35,.72);backdrop-filter:blur(3px)}
.melody_flag-afterword-dialog{position:relative;z-index:1;display:flex;flex-direction:column;width:min(960px,96vw);height:min(820px,90vh);margin:auto;background:#fff;border-radius:16px;box-shadow:0 18px 60px rgba(0,0,0,.35);overflow:hidden;box-sizing:border-box}
.melody_flag-afterword-header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--theme-border-soft);background:#fff}
.melody_flag-afterword-header h2{margin:0;font-size:16px;color:var(--theme-heading);overflow-wrap:anywhere}
.melody_flag-afterword-close{flex:0 0 auto;width:36px;height:36px;border:0;border-radius:50%;background:var(--theme-blush);color:var(--theme-heading);font-size:26px;line-height:1;cursor:pointer}
.melody_flag-afterword-frame-wrap{position:relative;display:flex;flex:1;flex-direction:column;min-width:0;min-height:0;overflow:auto;background:#fff}
.melody_flag-afterword-frame-wrap iframe{display:block;flex:1;width:100%;height:100%;min-height:0;border:0;background:#fff}
.melody_flag-afterword-content{flex:1;min-height:0;overflow:auto;padding:18px;background:#fff;box-sizing:border-box}
.melody_flag-afterword-content[hidden]{display:none!important}
.melody_flag-afterword-external-note{margin:0 auto 14px;max-width:620px;padding:12px 14px;border-radius:10px;background:var(--theme-blush);color:var(--theme-text-sub);font-size:13px;line-height:1.7}
.melody_flag-afterword-content .twitter-tweet{width:100%;max-width:550px;margin:12px auto!important}
.melody_flag-afterword-content iframe{max-width:100%!important}
.melody_flag-afterword-footer{display:flex;flex:0 0 auto;justify-content:flex-end;padding:10px 16px;border-top:1px solid var(--theme-border-soft);background:#fff}
.melody_flag-afterword-open-original{padding:8px 12px;border-radius:999px;background:var(--theme-blush);color:var(--theme-heading);text-decoration:none;font-size:12px}
@media(max-width:767px){.melody_flag-afterword-modal{padding:8px}.melody_flag-afterword-dialog{width:100%;height:92vh;border-radius:12px}.melody_flag-afterword-header{padding:10px 12px}.melody_flag-afterword-header h2{font-size:14px}.melody_flag-afterword-content{padding:12px}}


/* ==========================
   メロフラTOP ダッシュボードレイアウト
   最近の放送｜番組情報
   開催予定イベント｜推し活状況
========================== */
@media (min-width: 1100px) {
    .melody_flag-container {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(340px, 1fr);
        grid-template-areas:
            "notice notice"
            "recent program"
            "events status";
        align-items: stretch;
        column-gap: 24px;
        row-gap: 22px;
    }
    .melody_flag-temporary-notice { grid-area: notice; margin-bottom: 0; }
    .melody_flag-top-section { display: contents; }
    .melody_flag-latest-section { grid-area: recent; }
    .melody_flag-program-section { grid-area: program; }
    .melody_flag-upcoming-events { grid-area: events; margin: 0; }
    .melody_flag-status-section { grid-area: status; margin: 0; }
    .melody_flag-upcoming-events { display: flex; flex-direction: column; }
    .melody_flag-upcoming-events .melody_flag-event-carousel { flex: 1; align-items: stretch; }
    .melody_flag-upcoming-events .melody_flag-event-viewport { display: flex; flex: 1; }
    .melody_flag-upcoming-events .melody_flag-event-slider { flex: 1; }
    .melody_flag-upcoming-events .melody_flag-event-card { flex: 1 0 auto; min-height: 100%; }
    .melody_flag-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .melody_flag-status-card { min-height: 68px; padding: 10px; }
    .melody_flag-status-icon { flex-basis: 34px; width: 34px; height: 34px; margin-right: 8px; font-size: 16px; }
    .melody_flag-status-title { font-size: 13px; line-height: 1.45; }
    .melody_flag-status-text { font-size: 11px; }
    .melody_flag-event-slider { flex-direction: row; overflow: hidden; }
    .melody_flag-event-card { flex: 1 0 100%; width: 100%; height: 100%; }
}
@media (min-width:768px) and (max-width: 1099px) {
    .melody_flag-top-section {
        display: grid;
        grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr);
        gap: 20px;
        align-items: start;
    }
    .melody_flag-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width:767px) {
    .melody_flag-status-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .melody_flag-status-card { min-height: 72px; padding: 11px 12px; }
    .melody_flag-status-card-main { align-items: center; }
    .melody_flag-status-icon { flex-basis: 34px; width: 34px; height: 34px; margin-right: 10px; font-size: 17px; }
    .melody_flag-status-title { font-size: 12px; line-height: 1.4; }
    .melody_flag-status-text { font-size: 10px; }
    .melody_flag-dashboard-arrow { margin-left: 4px; font-size: 20px; }
    .melody_flag-event-carousel { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .melody_flag-event-nav { display: none; }
    .melody_flag-event-viewport { touch-action: pan-y; }
}


/* Upcoming event carousel and event history links */
.melody_flag-event-carousel{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;align-items:center;gap:10px}
.melody_flag-event-viewport{display:flex;min-width:0;overflow:hidden}
.melody_flag-event-slider{display:flex;flex:1;min-width:0;height:100%;overflow:hidden}
.melody_flag-event-card{display:flex;flex:1 0 100%;flex-direction:column;align-items:stretch;justify-content:space-between;gap:16px;width:100%;min-width:0;min-height:100%;height:100%;box-sizing:border-box;padding:18px 20px;border:1px solid var(--theme-border-soft);border-radius:18px;background:#fff;box-shadow:0 6px 18px rgba(61,44,46,.06);scroll-snap-align:start}
.melody_flag-event-card[hidden]{display:none!important}
.melody_flag-event-card-main{width:100%;min-width:0;box-sizing:border-box;flex:1}
.melody_flag-event-card h3{margin:0;font-size:17px;line-height:1.5;overflow-wrap:anywhere}
.melody_flag-event-info{margin-top:14px;color:var(--theme-text-sub);font-size:13px;line-height:1.8}
.melody_flag-event-card p{margin:9px 0 0;color:var(--theme-text-muted);font-size:12px;line-height:1.6;white-space:pre-line}
.melody_flag-event-nav{display:flex;align-self:center;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;padding:0;border:1px solid var(--theme-border-soft);border-radius:50%;background:#fff;color:var(--theme-text-muted);font-family:inherit;font-size:27px;line-height:1;box-shadow:0 2px 6px rgba(0,0,0,.06);cursor:pointer}
.melody_flag-event-nav:hover{background:var(--theme-blush)}
.melody_flag-event-nav:disabled{opacity:.35;cursor:default}
.melody_flag-event-pagination{display:flex;justify-content:center;gap:6px;margin:10px 0}
.melody_flag-event-dot{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:var(--theme-border);cursor:pointer}
.melody_flag-event-dot.is-active{width:18px;border-radius:8px;background:var(--theme-primary)}
.melody_flag-event-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.melody_flag-event-shortcuts a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 14px;border-radius:18px;background:#fff;color:var(--theme-brand);font-size:12px;font-weight:bold;text-decoration:none;box-shadow:0 2px 7px rgba(0,0,0,.06)}
.melody_flag-event-shortcuts a:hover{background:var(--theme-blush)}

/* 共通カルーセル定義より後に置き、スマホでは矢印を隠してスワイプに任せる */
@media (max-width:767px) {
    .melody_flag-event-carousel { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .melody_flag-event-nav { display: none; }
    .melody_flag-event-viewport { touch-action: pan-y; }
}

/* メロフラTOPの開催予定イベントにもライブTOPと同じ操作ボタン・天気表示を適用 */
.melody_flag-event-today{margin:7px 0;color:var(--theme-brand);font-size:14px;font-weight:700}
.melody_flag-event-official{display:inline-block;margin-top:8px;color:var(--theme-brand);font-size:12px;font-weight:700;text-decoration:none}
.melody_flag-event-card-actions{display:flex;flex-direction:column;gap:10px;width:100%;margin-top:12px}
.melody_flag-event-card-actions .weather-button-row{display:flex;gap:8px}
.melody_flag-event-card-actions .weather-btn,.melody_flag-event-card-actions .weather-hourly-btn{flex:1;min-width:0;min-height:42px;padding:8px 10px;border:1px solid var(--theme-border-soft);border-radius:10px;background:#fff;color:var(--theme-text-sub);font:inherit;font-size:13px;cursor:pointer}
.melody_flag-event-card-actions .weather-btn:hover,.melody_flag-event-card-actions .weather-hourly-btn:hover{background:var(--theme-blush)}
.melody_flag-event-card-actions .departure-btn,.melody_flag-event-card-actions .add-history,.melody_flag-event-card-actions .melody_flag-event-detail{display:flex;align-items:center;justify-content:center;min-height:42px;margin:0;padding:8px 12px;box-sizing:border-box;border-radius:999px;font-size:13px;font-weight:700;text-decoration:none}
.melody_flag-event-card-actions .departure-btn{border:1px solid var(--theme-border-soft);background:var(--theme-blush);color:var(--theme-primary)}
.melody_flag-event-card-actions .join-status{margin:4px 0 0;padding:7px 10px;border-radius:8px;background:var(--theme-blush);color:var(--theme-primary);text-align:center;font-size:13px;font-weight:700}
.melody_flag-event-card-actions .add-history{border:1px solid var(--theme-border);background:#fff;color:var(--theme-primary)}
.melody_flag-event-card-actions .melody_flag-event-detail{background:linear-gradient(135deg,var(--theme-btn-from),var(--theme-primary));color:#fff}
.weather-modal{display:none;position:fixed;inset:0;z-index:1000}
.weather-modal.active{display:flex;align-items:center;justify-content:center}
.weather-modal-overlay{position:absolute;inset:0;background:rgba(0,0,0,.45)}
.weather-modal-content{position:relative;z-index:1;width:calc(100% - 30px);max-width:430px;max-height:80vh;overflow-y:auto;padding:20px;box-sizing:border-box;border-radius:16px;background:#fff}
.weather-modal-title{font-size:17px;font-weight:700;text-align:center}
.weather-updated-at{margin-top:6px;color:var(--theme-text-muted);font-size:11px;text-align:center}
.weather-day{margin-top:12px;padding:12px;border:1px solid var(--theme-border-soft);border-radius:10px}
.weather-day-title{font-size:13px;font-weight:700}
.weather-icon{margin-right:4px}
.weather-name{margin-top:7px;font-size:13px}
.weather-temperature,.weather-rain{margin-top:4px;color:var(--theme-text-sub);font-size:12px}
.weather-hourly-list{margin-top:12px}
.weather-hourly-row{display:grid;grid-template-columns:45px 35px minmax(0,1fr) 50px 50px;align-items:center;gap:4px;padding:9px 4px;border-bottom:1px solid var(--theme-border-soft);font-size:11px}
.weather-hourly-icon{text-align:center}
.weather-hourly-temperature,.weather-hourly-rain{text-align:right}
.weather-close{width:100%;min-height:42px;margin-top:15px;border:0;border-radius:999px;background:linear-gradient(135deg,var(--theme-btn-from),var(--theme-primary));color:#fff;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
body.weather-modal-open{overflow:hidden}
@media(max-width:767px){.melody_flag-event-card{padding:15px;gap:10px}.melody_flag-event-card h3{font-size:14px}.melody_flag-event-detail{padding:8px 10px}.weather-modal-content{padding:16px}.weather-hourly-row{grid-template-columns:38px 28px minmax(0,1fr) 42px 42px;gap:3px;font-size:10px}}


/* メロフラTOP：AI放送概要モーダル（一覧・詳細画面と共通仕様） */
.melody_flag-ai-summary-modal[hidden]{display:none!important}
.melody_flag-ai-summary-modal{position:fixed;inset:0;z-index:2147483001;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}
.melody_flag-ai-summary-backdrop{position:absolute;inset:0;background:rgba(30,20,35,.72);backdrop-filter:blur(3px)}
.melody_flag-ai-summary-dialog{position:relative;z-index:1;display:flex;flex-direction:column;width:min(760px,96vw);height:min(760px,88vh);margin:auto;border-radius:16px;background:#fff;box-shadow:0 18px 60px rgba(0,0,0,.35);overflow:hidden;box-sizing:border-box}
.melody_flag-ai-summary-header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--theme-border-soft);background:#fff}
.melody_flag-ai-summary-header h2{margin:0;color:var(--theme-heading);font-size:17px;line-height:1.5;overflow-wrap:anywhere}
.melody_flag-ai-summary-close{flex:0 0 auto;width:38px;height:38px;border:0;border-radius:50%;background:var(--theme-blush);color:var(--theme-heading);font-size:27px;line-height:1;cursor:pointer}
.melody_flag-ai-summary-content{flex:1 1 auto;min-width:0;min-height:0;padding:20px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;color:var(--theme-text-sub);font-size:15px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}
.melody_flag-ai-summary-footer{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-top:1px solid var(--theme-border-soft);background:#fff}
.melody_flag-ai-summary-footer p{margin:0;color:var(--theme-text-muted);font-size:12px;line-height:1.6}
.melody_flag-ai-summary-close-button{flex:0 0 auto;padding:8px 15px;border:0;border-radius:999px;background:var(--theme-blush);color:var(--theme-heading);font:inherit;font-size:13px;font-weight:bold;cursor:pointer}
.melody_flag-ai-summary-open{background:#f4e8ff!important;color:#7650a5!important}
.melody_flag-ai-summary-content > :first-child{margin-top:0}
.melody_flag-ai-summary-content > :last-child{margin-bottom:0}
.melody_flag-ai-summary-content p{margin:0 0 1em}
.melody_flag-ai-summary-content h1,.melody_flag-ai-summary-content h2,.melody_flag-ai-summary-content h3,.melody_flag-ai-summary-content h4,.melody_flag-ai-summary-content h5,.melody_flag-ai-summary-content h6{margin:1.15em 0 .55em;color:var(--theme-heading);font-weight:700;line-height:1.5}
.melody_flag-ai-summary-content h1{font-size:1.45em}.melody_flag-ai-summary-content h2{font-size:1.3em}.melody_flag-ai-summary-content h3{font-size:1.15em}
.melody_flag-ai-summary-content ul,.melody_flag-ai-summary-content ol{margin:.5em 0 1em;padding-left:1.6em}
.melody_flag-ai-summary-content li{padding:.12em 0}
.melody_flag-ai-summary-content blockquote{margin:.8em 0;padding:.5em .9em;border-left:3px solid #e7a5bd;background:var(--theme-blush);color:var(--theme-text-sub)}
.melody_flag-ai-summary-content a{color:var(--theme-brand);text-decoration:underline;overflow-wrap:anywhere}
.melody_flag-ai-summary-content code{padding:.12em .35em;border-radius:4px;background:#f5f0f3;font-family:ui-monospace,monospace;font-size:.9em}
.melody_flag-ai-summary-content pre{max-width:100%;padding:12px;border-radius:8px;background:#f7f5f6;overflow:auto;white-space:pre}
.melody_flag-ai-summary-content pre code{padding:0;background:transparent}
.melody_flag-ai-summary-content hr{margin:1em 0;border:0;border-top:1px solid var(--theme-border-soft)}
.melody_flag-ai-summary-content table{display:block;width:100%;max-width:100%;margin:1em 0;border-collapse:collapse;overflow-x:auto;white-space:normal}
.melody_flag-ai-summary-content th,.melody_flag-ai-summary-content td{padding:8px 10px;border:1px solid var(--theme-border-soft);text-align:left;vertical-align:top}
.melody_flag-ai-summary-content th{background:var(--theme-blush);color:#96506d;font-weight:700}.melody_flag-ai-summary-content td{background:#fff}
@media(max-width:600px){.melody_flag-ai-summary-modal{padding:8px}.melody_flag-ai-summary-dialog{width:100%;height:92vh;height:92dvh;border-radius:12px}.melody_flag-ai-summary-header{padding:10px 12px}.melody_flag-ai-summary-header h2{font-size:15px}.melody_flag-ai-summary-content{padding:14px;font-size:14px;line-height:1.8}.melody_flag-ai-summary-footer{align-items:flex-start;padding:10px 12px}.melody_flag-ai-summary-footer p{font-size:11px}.melody_flag-ai-summary-close-button{padding:8px 12px}}
@media(max-height:600px){.melody_flag-ai-summary-dialog{height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}}
.melody_flag-broadcast-link.ai-summary{border-color:#e8d8f7;background:#f8f1ff;color:#7650a5}
.melody_flag-ai-summary-source{display:none!important}


/* SNSアイコン共通（メロフラTOP・詳細） */
.melody_flag-social-icon {
    display: block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
}
.melody_flag-x-icon {
    fill: currentColor;
}
.melody_flag-instagram-icon {
    color: #c13584;
}
.melody_flag-broadcast-link.afterword,
.melody_flag-broadcast-link.instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.melody_flag-broadcast-link.instagram {
    border-color: var(--theme-border-soft);
    background: var(--theme-blush);
    color: var(--theme-brand);
}

/* 刷新追補：ステータスアイコンSVG・お知らせ・再生ボタン */
.melody_flag-status-icon{
    color:var(--theme-primary);
}

.melody_flag-status-icon svg{
    width:22px;
    height:22px;
}

@media(min-width:1100px){
    .melody_flag-status-icon svg{
        width:19px;
        height:19px;
    }
}

@media(max-width:767px){
    .melody_flag-status-icon svg{
        width:19px;
        height:19px;
    }
}

.melody_flag-temporary-notice{
    border:1px solid var(--theme-border-soft);
    border-left:4px solid var(--theme-primary);
    background:var(--theme-blush);
}

.melody_flag-youtube-play{
    background:var(--theme-primary);
    opacity:.94;
}

.melody_flag-broadcast-number{
    color:var(--theme-heading);
}

.melody_flag-broadcast-number small{
    color:var(--theme-brand);
}

/* 刷新追補2：概要欄とサムネイルのバランス調整（768px以上）
   概要欄は高さを抑えて内部スクロールにし、カードは内容なりの高さにする */
@media(min-width:768px){
    .melody_flag-slider-wrapper{
        flex:0 1 auto;
    }
    .melody_flag-slider{
        height:auto;
    }
    .melody_flag-broadcast-card{
        height:auto;
    }
    .melody_flag-broadcast-card-content{
        height:auto;
        overflow:visible;
    }
    .melody_flag-youtube-preview{
        flex:0 1 auto;
        min-height:0;
        grid-template-columns:minmax(0,54%) minmax(0,1fr);
        align-items:start;
    }
    .melody_flag-youtube-description-wrap{
        flex:0 1 auto;
        height:auto;
        max-height:480px;
    }
    .melody_flag-youtube-description-wrap .melody_flag-youtube-description{
        flex:1 1 auto;
        font-size:12px;
        line-height:1.7;
    }
    .melody_flag-latest-section > .melody_flag-slider-dots{
        position:static;
        margin:10px 0 0;
    }
}

/* ワイド画面用サイド情報（ライブTOPと共通の見た目）
   メロフラTOPは本文が1680pxのため、専用列は2500px以上で本文と広告レールの間に出す */
.live-side-info{
    display:none;
}

.live-side-card{
    min-width:0;
    padding:16px;
    box-sizing:border-box;
    border:1px solid var(--theme-border-soft);
    border-radius:20px;
    background:#fff;
    box-shadow:0 10px 24px rgba(var(--theme-brand-rgb),.07);
}

.live-side-title{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:12px;
    color:var(--theme-text);
    font-size:16px;
    font-weight:bold;
    line-height:1.5;
}

.live-side-dot{
    flex:0 0 auto;
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--theme-primary);
}

.live-side-list{
    list-style:none;
    margin:0;
    padding:0;
}

.live-side-list li + li{
    margin-top:10px;
}

.live-side-list a{
    display:block;
    color:var(--theme-text);
    text-decoration:none;
}

.live-side-date{
    display:block;
    font-size:11px;
    color:var(--theme-text-muted);
    line-height:1.5;
}

.live-side-item-title{
    display:block;
    font-size:13.5px;
    font-weight:bold;
    line-height:1.5;
}

.live-side-empty{
    font-size:12.5px;
    color:var(--theme-text-muted);
    margin:0;
    line-height:1.6;
}

.live-side-more{
    display:block;
    margin-top:12px;
    text-align:right;
    color:var(--theme-primary);
    font-size:13px;
    font-weight:bold;
    line-height:1.4;
    text-decoration:none;
}

.live-side-reminder-list{
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    max-height:150px;
}

.live-side-info .live-side-reminder-list{
    max-height:245px;
}

@media(max-height:999px){
    .live-side-info .live-side-list li:nth-child(n+5){
        display:none;
    }

    .live-side-info .live-side-reminder-list{
        max-height:150px;
    }
}

@media(max-height:849px){
    .live-side-info .live-side-list li:nth-child(n+4){
        display:none;
    }

    .live-side-info .live-side-reminder-list{
        max-height:103px;
    }
}

@media(min-width:2500px){
    .live-side-info{
        display:flex;
        flex-direction:column;
        gap:12px;
        position:fixed;
        top:197px;
        left:calc(var(--pc-side-nav-width,220px) + 30px + 1680px + 24px);
        width:calc(100vw - var(--pc-side-nav-width,220px) - 1962px);
        max-width:440px;
        z-index:40;
        max-height:calc(100vh - 237px);
        max-height:calc(100dvh - 237px);
        overflow-y:auto;
        scrollbar-width:none;
        overscroll-behavior:contain;
    }

    .live-side-info::-webkit-scrollbar{
        display:none;
    }
}

/* 参加ラベルはライブ詳細の join-status と同じ仕様 */
.melody_flag-event-card-actions .join-status{display:inline-flex;align-items:center;align-self:flex-start;padding:5px 12px;border-radius:999px;background:#e7f6ee;color:#1e7d46;font-size:12.5px}
