/* ITS MY GOD 1.9.30: responsive, equal-sized compact rows. */
body.imai-template-modern .imai-modern-page{width:100%;max-width:var(--imai-page-width,1480px);min-width:0;overflow-x:clip}
body.imai-template-modern .imai-modern-page section,body.imai-template-modern .imai-modern-page [class*="-grid"]{min-width:0}
body.imai-template-modern .imai-modern-listening-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;align-items:start!important}
body.imai-template-modern .imai-modern-listening-grid .imai-modern-track-panel{width:100%;min-width:0;padding:clamp(10px,2vw,18px)!important}
body.imai-template-modern .imai-modern-tracks{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:10px;align-items:stretch}
body.imai-template-modern .imai-modern-track{display:flex;align-items:center;min-width:0;width:100%;border:1px solid #d8e9df;border-radius:12px;padding:9px!important;gap:9px;background:#fffefa}
body.imai-template-modern .imai-modern-track-thumb{flex:0 0 58px;width:58px;height:58px;min-width:58px;overflow:hidden}
body.imai-template-modern .imai-modern-track-info{flex:1 1 auto;min-width:0;overflow:hidden}
body.imai-template-modern .imai-modern-track-info h4{font-size:13px!important;line-height:1.5!important;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;margin:0 0 3px}
body.imai-template-modern .imai-modern-track-info .imai-engagement-counts{max-width:100%;flex-wrap:wrap}
body.imai-template-modern .imai-modern-track-play{position:static!important;flex:0 0 34px!important;width:34px!important;height:34px!important;padding:0!important;display:grid!important;place-items:center!important}
body.imai-template-modern .imai-modern-album,body.imai-template-modern .imai-modern-news-card{min-width:0;overflow:hidden}
body.imai-template-modern .imai-modern-album-info,body.imai-template-modern .imai-modern-news-copy{min-width:0;overflow:hidden}
body.imai-template-modern .imai-modern-album-info h3,body.imai-template-modern .imai-modern-news-copy h3{overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
@media(max-width:700px){
 body.imai-template-modern .imai-modern-page{padding-inline:12px!important}
 body.imai-template-modern .imai-modern-tracks{grid-template-columns:minmax(0,1fr)!important}
 body.imai-template-modern .imai-modern-listening-grid,body.imai-template-modern .imai-modern-album-grid,body.imai-template-modern .imai-modern-news-grid,body.imai-template-modern .imai-popular-grid{grid-template-columns:minmax(0,1fr)!important}
 body.imai-template-modern .imai-modern-track{min-height:78px}
 body.imai-template-modern .imai-modern-album,body.imai-template-modern .imai-modern-news-card{min-height:0!important}
 body.imai-template-modern .imai-modern-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(min-width:701px) and (max-width:1050px){body.imai-template-modern .imai-modern-tracks{grid-template-columns:repeat(2,minmax(0,1fr))}}
