.rmtv{font-family:inherit;max-width:1100px;margin:auto}.rmtv-controls{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}.rmtv-controls input{flex:2;min-width:180px}.rmtv-controls select{flex:1;min-width:150px}.rmtv-controls input,.rmtv-controls select,.rmtv-controls button{padding:12px;border:1px solid #aaa;border-radius:7px}.rmtv-controls button{background:#a21b24;color:white;cursor:pointer}.rmtv-screen{background:#111;aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;color:#eee}.rmtv-screen iframe,.rmtv-screen video{width:100%;height:100%;border:0}.rmtv-now{margin:12px 0}.rmtv-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}.rmtv-item{background:#f5f5f5;border:1px solid #ddd;border-radius:8px;padding:14px;text-align:left;cursor:pointer;min-height:75px}.rmtv-item strong,.rmtv-item small{display:block}.rmtv-item small{opacity:.7;margin-top:6px}.rmtv-item.active{border:2px solid #a21b24}.rmtv-count{color:#666}

/* On-demand title selection stays above the player next to topic. */
.rmtv .rmtv-controls{display:grid;grid-template-columns:minmax(170px,1fr) minmax(170px,1fr) minmax(220px,2fr);align-items:stretch}
.rmtv .rmtv-controls input,.rmtv .rmtv-controls select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:auto;min-height:46px;line-height:1.4}
@media(max-width:700px){.rmtv .rmtv-controls{grid-template-columns:1fr}.rmtv .rmtv-controls input,.rmtv .rmtv-controls select{width:100%}}

/* Preserve readable cards and a three-column toolbar across themes. */
.rmtv .rmtv-controls>.rmtv-video-select{display:block!important;visibility:visible!important;opacity:1!important;}
.rmtv .rmtv-list{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr))!important;gap:12px!important;}
.rmtv .rmtv-list .rmtv-item{display:block!important;width:100%!important;height:auto!important;min-height:88px!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:left!important;line-height:1.4!important;}
.rmtv .rmtv-list .rmtv-item strong,.rmtv .rmtv-list .rmtv-item small{display:block!important;white-space:normal!important;}

/* v1.6: three clear controls; listings remain beneath the player */
.rmtv .rmtv-controls{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.5fr)!important;gap:12px!important;align-items:stretch}
.rmtv .rmtv-controls>.rmtv-search,.rmtv .rmtv-controls>.rmtv-topic,.rmtv .rmtv-controls>.rmtv-video-select{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;min-width:0!important;min-height:48px!important;box-sizing:border-box!important}
@media(max-width:750px){.rmtv .rmtv-controls{grid-template-columns:1fr!important}}
