/* Hub pages (2026-12-04): the home shell (index.html + live.css) without its right-hand rail,
   the hub in the Home tab. Loaded by hub/index.php after the home's own styles. */
/* The theme, visible in the player: a themed Shuffle label; per hub (`decor`), an edge on the card and the bar. */
.rs-hub-shuffle--short { display: none; }
@media (max-width: 900px) { .rs-hub-shuffle--long { display: none; } .rs-hub-shuffle--short { display: inline; } }
/* 'candy' (Christmas): the candy-cane edge. */
body.rs-decor-candy .lv-now { position: relative; }
body.rs-decor-candy .lv-now::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; z-index: 1;
    border-radius: var(--lv-rad, 6px) var(--lv-rad, 6px) 0 0;
    background: repeating-linear-gradient(135deg, #c8102e 0 10px, #fff 10px 20px, #1f7a3a 20px 30px, #fff 30px 40px); }
body.rs-decor-candy .lv-player { border-top: 0; }
body.rs-decor-candy .lv-player::before { content: ""; position: absolute; left: 0; right: 0; top: -4px; height: 4px;
    background: repeating-linear-gradient(135deg, #c8102e 0 10px, #fff 10px 20px, #1f7a3a 20px 30px, #fff 30px 40px); }
body.rs-hubpage #leaderboard-tab > .lv-two { display: none; }

.rs-hub { display: grid; gap: 22px; padding-bottom: 28px; }
.rs-hub__head { display: grid; gap: 6px; }
.rs-hub__head--top { margin: 0 0 16px; }
@media (max-width: 900px) { .rs-hub__head--top { margin: 4px 0 12px; } .rs-hub__head--top .rs-hub__lead { font-size: 14px; }
    .rs-hub__home { padding: 6px 10px; font-size: 12px; border-width: 1.5px; } }
.lv .rs-hub__h1 { margin: 0; }
.rs-hub__titlerow { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; }
.rs-hub__home { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 2px solid var(--i);
    border-radius: var(--lv-rad, 6px); background: var(--w); color: var(--i); text-decoration: none;
    font: 700 13px Inter, system-ui, sans-serif; white-space: nowrap; }
.rs-hub__home:hover { background: var(--i); color: var(--w); }
.rs-hub__lead { margin: 0; color: var(--m); font-size: 15px; max-width: 70ch; }
.rs-hub__caps { display: flex; flex-wrap: wrap; gap: 6px; }
.rs-hub__cap { text-decoration: none; cursor: pointer; display: inline-flex; gap: 6px; align-items: center;
    font: 600 12px var(--mono); padding: 5px 9px; border: 1px solid var(--r); border-radius: var(--lv-rad-s, 4px);
    background: var(--w); color: var(--i); }
.rs-hub__cap b { color: var(--m); font-weight: 600; }
.rs-hub__cap:hover { border-color: var(--i); }
.rs-hub__sec { scroll-margin-top: 16px; }
.lv .rs-hub__sec .lv-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rs-hub-row[hidden] { display: none !important; }
.rs-hub__card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px;
    background: var(--w); border: 1px solid var(--r); border-radius: var(--lv-rad, 6px); }
.rs-hub__card b { display: block; font-size: 15px; }
.rs-hub__cardtext { display: block; color: var(--m); font-size: 14px; }
.rs-hub__cardico { width: 38px; height: 38px; border-radius: 50%; background: var(--pk); color: #fff; display: grid; place-items: center; }
.rs-hub__text, .rs-hub__faq { display: grid; gap: 10px; max-width: 72ch; }
.rs-hub__text p, .rs-hub__faq p { margin: 0; color: var(--m2, #45423b); font-size: 15px; line-height: 1.6; }
.rs-hub__faq details { background: var(--w); border: 1px solid var(--r); border-radius: var(--lv-rad, 6px); padding: 11px 14px; }
.rs-hub__faq summary { font-weight: 650; cursor: pointer; }
.rs-hub__faq details p { margin-top: 8px; }
.rs-hub__langs { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--m); }
.rs-hub__langs a { color: var(--i); }
@media (min-width: 1200px) {
    /* minmax(0, …): with plain 1fr a long station name widens its column and pushes the right one's
       heart and Play off the page. */
    .lv .rs-hub-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; }
    .lv .rs-hub-list > .table-row:nth-child(2) { border-top: 1px solid var(--i); }
}
