/* Community Hub: shared tenant tokens preserve Spotlight/Arena and all color modes. */
html[data-website-style] .website-page--hub {
    --hub-surface: var(--website-surface);
    --hub-border: var(--website-border);
    color: var(--website-text);
    background: transparent;
    padding-top: 1.5rem;
    line-height: 1.55;
}
html[data-website-style] .website-page--hub :where(button,input) { font: inherit; }
html[data-website-style] .website-page--hub :where(button,a,input):focus-visible { outline: 2px solid var(--website-focus); outline-offset: 4px; }
html[data-website-style] .website-page--hub [hidden] { display: none !important; }
html[data-website-style] .website-page--hub .hub-header { padding: 0; background: none; text-align: left; border: 0; }
html[data-website-style] .website-page--hub .hub-header__title { font-size: clamp(2rem,3.6vw,3.5rem); letter-spacing: -.04em; font-weight: 700; line-height: 1.15; margin: 0 0 .65rem; }
html[data-website-style] .website-page--hub .hub-header__subtitle { font-size: 1.15rem; margin: 0 0 1.6rem; color: var(--website-muted); }
html[data-website-style] .website-page--hub .hub-tabs { display: flex; gap: 1rem; padding: 0; margin: 0; border-bottom: 1px solid var(--hub-border); }
html[data-website-style] .website-page--hub .hub-tab { display: flex; align-items: center; gap: .65rem; color: var(--website-text); background: none; border: 0; border-bottom: 3px solid transparent; padding: 1rem 1.3rem; cursor: pointer; }
html[data-website-style] .website-page--hub .hub-tab.is-active { color: var(--website-link); border-bottom-color: var(--website-accent); }
html[data-website-style] .website-page--hub .hub-tab i { font-size: 1.15rem; }
html[data-website-style] .website-page--hub .hub-container { background: none; border: 0; margin: 1.5rem 0 2rem; padding: 0; }
html[data-website-style] .website-page--hub .hub-panel { min-width: 0; }
html[data-website-style] .website-page--hub .hub-loading { padding: 2rem; text-align: center; color: var(--website-muted); }
html[data-website-style] .website-page--hub .hub-empty { color: var(--website-muted); padding: 1.5rem; }
html[data-website-style] .website-page--hub .hub-empty h2 { color: var(--website-text); font-size: 1.5rem; }
html[data-website-style] .website-page--hub .hub-empty__icon { font-size: 2rem; color: var(--website-link); }
/* Search and categories precede the six-card page. */
html[data-website-style] .website-page--hub .cmds-toolbar { background: none; border: 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,1fr); gap: 1.4rem 2rem; padding: 1.4rem 0 0; }
html[data-website-style] .website-page--hub .cmds-search { position: relative; min-width: 0; }
html[data-website-style] .website-page--hub .cmds-search__input { width: 100%; padding: 1rem 1rem 1rem 3rem; border-radius: .7rem; background: var(--hub-surface); color: var(--website-text); border: 1px solid var(--hub-border); }
html[data-website-style] .website-page--hub .cmds-search__input::placeholder { color: var(--website-muted); opacity: 1; }
html[data-website-style] .website-page--hub .cmds-search__icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--website-muted); }
html[data-website-style] .website-page--hub .cmds-filters { grid-column: 1/-1; grid-row: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
html[data-website-style] .website-page--hub .cmds-filter-pill { padding: .6rem 1.2rem; border: 1px solid var(--hub-border); border-radius: 2rem; color: var(--website-text); background: var(--hub-surface); cursor: pointer; }
html[data-website-style] .website-page--hub .cmds-filter-pill.is-active { background: var(--website-accent); border-color: var(--website-accent); color: var(--website-on-accent); }
html[data-website-style] .website-page--hub .cmds-stats { display: flex; align-items: center; justify-content: flex-start; gap: 1.5rem; grid-column: 2; grid-row: 1; }
html[data-website-style] .website-page--hub .cmds-stat { display: flex; align-items: baseline; gap: .4rem; }
html[data-website-style] .website-page--hub .cmds-stat__value { color: var(--website-link); font-size: 1.05rem; }
html[data-website-style] .website-page--hub .cmds-stat__label { color: var(--website-muted); font-size: .95rem; }
html[data-website-style] .website-page--hub .cmds-stat:nth-child(2) { display: none; }
html[data-website-style] .website-page--hub .cmds-category { margin: 0 0 1.5rem; }
html[data-website-style] .website-page--hub .cmds-category__header { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-bottom: 1rem; }
html[data-website-style] .website-page--hub .cmds-category__name { font-size: 1.5rem; margin: 0; }
html[data-website-style] .website-page--hub .cmds-category__count { color: var(--website-muted); }
html[data-website-style] .website-page--hub .cmds-category__icon { color: var(--website-link); font-size: 1.6rem; }
html[data-website-style] .website-page--hub .cmds-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
html[data-website-style] .website-page--hub .cmd-card { display: flex; flex-direction: column; min-height: 180px; padding: 1.3rem; border: 1px solid var(--hub-border); border-radius: var(--website-radius); background: var(--hub-surface); overflow-wrap: anywhere; }
html[data-website-style] .website-page--hub .cmd-card__header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem 1rem; margin-bottom: .6rem; }
html[data-website-style] .website-page--hub .cmd-card__command { color: var(--website-link); font-size: 1.5rem; font-weight: 700; }
html[data-website-style] .website-page--hub .cmd-card__permission { font-size: .85rem; flex-shrink: 0; color:var(--website-muted) !important; }
html[data-website-style] .website-page--hub .cmd-card__description { margin: 0 0 1rem; }
html[data-website-style] .website-page--hub .cmd-card__footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem .8rem; margin-top: auto; padding-top: .5rem; font-size: .85rem; }
html[data-website-style] .website-page--hub .cmd-card__aliases { font-size: .85rem; color: var(--website-muted); margin-top: .5rem; }
html[data-website-style] .website-page--hub :is(.cmds-filter-pill,.cmds-category__name,.cmd-card,.cmd-card__command,.cmd-card__aliases,.cmd-card__tag) { min-width: 0; max-width: 100%; overflow-wrap: anywhere; white-space: normal; }
html[data-website-style] .website-page--hub .cmd-card__cost { color: var(--website-link); }
html[data-website-style] .website-page--hub .cmds-no-results { padding: 2rem 0; text-align: center; color: var(--website-muted); }
html[data-website-style] .website-page--hub .hub-pagination { display: flex; align-items: center; justify-content: center; gap: clamp(1rem,4vw,4rem); padding: 1.25rem 0 0; }
html[data-website-style] .website-page--hub .hub-pagination button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: .55rem 1rem; border: 1px solid var(--website-link); border-radius: .6rem; color: var(--website-link); background: var(--hub-surface); cursor: pointer; }
html[data-website-style] .website-page--hub .hub-pagination button:disabled { color: var(--website-muted); border-color: var(--hub-border); opacity: .45; cursor: default; }
/* Original-cover preview. External media destinations remain YouTube links. */
html[data-website-style] .website-page--hub .hub-playlist-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 2rem; }
html[data-website-style] .website-page--hub .hub-playlist-layout h2 { font-size: 1.5rem; margin: 0 0 1.2rem; display: flex; align-items: center; gap: 1rem; }
html[data-website-style] .website-page--hub .hub-count { font-size: .9rem; font-weight: 400; color: var(--website-muted); background: var(--website-raised); border-radius: 2rem; padding: .3rem .8rem; }
html[data-website-style] .website-page--hub .hub-song-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--hub-border); border-radius: var(--website-radius); overflow: hidden; }
html[data-website-style] .website-page--hub .hub-song-row { display: flex; align-items: stretch; min-height: 78px; background: var(--hub-surface); }
html[data-website-style] .website-page--hub .hub-song-row + .hub-song-row { border-top: 1px solid var(--hub-border); }
html[data-website-style] .website-page--hub .hub-song-row.is-selected { outline: 1px solid var(--website-accent); outline-offset: -1px; border-radius: .5rem; }
html[data-website-style] .website-page--hub .hub-song-select { display: flex; align-items: stretch; min-width: 0; gap: 1rem; flex: 1; padding: 0 1rem 0 0; border: 0; background: none; color: var(--website-text); text-align: left; cursor: pointer; }
html[data-website-style] .website-page--hub .hub-song-select > span:last-child { align-self: center; padding: .8rem 0; }
html[data-website-style] .website-page--hub .hub-song-number { display: flex; align-items: center; justify-content: center; flex: 0 0 48px; color: var(--website-muted); }
html[data-website-style] .website-page--hub .is-selected .hub-song-number { background: var(--website-accent); color: var(--website-on-accent); }
html[data-website-style] .website-page--hub .hub-song-external { display: flex; align-items: center; justify-content: center; width: 45px; flex-shrink: 0; font-size: 1.5rem; color: var(--website-link); text-decoration: none; }
html[data-website-style] .website-page--hub .hub-song-preview { min-width: 0; padding-left: 2rem; border-left: 1px solid var(--hub-border); }
html[data-website-style] .website-page--hub .hub-song-preview__image { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; background: var(--hub-surface); border-radius: var(--website-radius); }
html[data-website-style] .website-page--hub .hub-song-preview h3 { font-size: clamp(1.5rem,2.5vw,2rem); line-height: 1.35; margin: 1.5rem 0 2rem; }
html[data-website-style] .website-page--hub .hub-playlist-list .hub-pagination { justify-content: space-between; gap: .5rem; }
/* Independent complete top tens, not a fabricated personal leaderboard. */
html[data-website-style] .website-page--hub .toplist-wrap { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
html[data-website-style] .website-page--hub .toplist-section { padding: 1.5rem; background: var(--hub-surface); border: 1px solid var(--hub-border); border-radius: var(--website-radius); }
html[data-website-style] .website-page--hub .toplist-section__title { display: flex; gap: .8rem; align-items: center; font-size: 1.5rem; margin: 0 0 .4rem; }
html[data-website-style] .website-page--hub .toplist-section__title i { color: var(--website-link); }
html[data-website-style] .website-page--hub .toplist-section:nth-child(2) .toplist-section__title i { color: #ad8aee; }
html[data-website-style] .website-page--hub .toplist-subtitle { margin: 0 0 .4rem; color: var(--website-muted); }
html[data-website-style] .website-page--hub .toplist-list { list-style: none; padding: 0; margin: 0; }
html[data-website-style] .website-page--hub .toplist-row { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; align-items: center; gap: .8rem; padding: .85rem 0; }
html[data-website-style] .website-page--hub .toplist-row + .toplist-row { border-top: 1px solid var(--hub-border); }
html[data-website-style] .website-page--hub .toplist-rank { text-align: center; font-weight: 650; }
html[data-website-style] .website-page--hub .toplist-rank--1 { color: #f5cd58; }
html[data-website-style] .website-page--hub .toplist-rank--2 { color: var(--website-muted); }
html[data-website-style] .website-page--hub .toplist-rank--3 { color: #d69661; }
html[data-website-style] .website-page--hub .toplist-name { overflow-wrap: anywhere; }
html[data-website-style] .website-page--hub .toplist-value { text-align: right; font-variant-numeric: tabular-nums; }
@media(max-width: 1000px) {
    html[data-website-style] .website-page--hub .cmds-toolbar { grid-template-columns: 1fr; }
    html[data-website-style] .website-page--hub .cmds-stats { grid-column: 1; grid-row: 2; }
    html[data-website-style] .website-page--hub .cmds-filters { grid-row: 3; justify-content: flex-start; }
    html[data-website-style] .website-page--hub .cmds-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    html[data-website-style] .website-page--hub .hub-playlist-layout { gap: 1.25rem; }
    html[data-website-style] .website-page--hub .hub-song-preview { padding-left: 1.25rem; }
}
@media(max-width: 700px) {
    html[data-website-style] .website-page--hub .hub-tab { padding: .9rem .8rem; }
    html[data-website-style] .website-page--hub .hub-tabs { gap: .2rem; }
    html[data-website-style] .website-page--hub :is(.cmds-grid,.hub-playlist-layout,.toplist-wrap) { grid-template-columns: 1fr; }
    html[data-website-style] .website-page--hub .hub-song-preview { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid var(--hub-border); }
    html[data-website-style] .website-page--hub .cmds-filter-pill { padding: .5rem .8rem; font-size: .9rem; }
    html[data-website-style] .website-page--hub .toplist-section { padding: 1rem; }
    html[data-website-style] .website-page--hub .toplist-row { gap: .5rem; font-size: .95rem; }
}
@media(max-width: 380px) {
    html[data-website-style] .website-page--hub .hub-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
    html[data-website-style] .website-page--hub .hub-tab { min-width:0; justify-content:center; gap:.35rem; padding:.9rem .25rem; font-size:.875rem; }
    html[data-website-style] .website-page--hub .hub-tab i { font-size:1rem; }
}
