
/* Compact six-slot console; normal station cards retain their larger size. */
.presets{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.presets .preset{height:100px;min-height:100px;padding:12px 10px;grid-template-columns:38px minmax(0,1fr);grid-template-rows:40px 24px;column-gap:8px;row-gap:4px}
.presets .preset .preset-art{grid-column:1;grid-row:1;width:38px;height:40px;min-width:0}
.presets .preset strong{grid-column:2;grid-row:1;font-size:13px;line-height:1.35;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal}
.presets .preset small{grid-column:1/3;grid-row:2;font-size:11px;padding-right:28px}
.presets .preset .preset-action{grid-column:2;grid-row:2;justify-self:end;width:25px;height:25px;margin:0}
.presets .preset .preset-action svg{width:15px;height:15px}
.info-page{max-width:880px;margin:28px auto 80px;padding:32px;border:1px solid var(--line,#c9cdbd);border-radius:20px;background:var(--panel,#20241c);line-height:1.8}
.info-page h1{font-size:clamp(28px,5vw,44px);line-height:1.2;margin:16px 0 24px}.info-page h2{font-size:23px;margin:32px 0 12px}.info-page p{margin:12px 0}.info-page a{text-decoration:underline;text-underline-offset:4px}.info-page ul{padding-left:22px}.info-page details{padding:17px 0;border-bottom:1px solid #7b856244}.info-page summary{cursor:pointer;font-weight:700;line-height:1.5}.info-page textarea{display:block;width:100%;min-height:220px;margin:16px 0;padding:14px;border-radius:10px;border:1px solid #899276;background:transparent;color:inherit;font:14px/1.6 monospace}.info-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.info-page .primary-button{width:auto}.demo-label{font-size:11px;letter-spacing:1px;opacity:.7}.footer-links{display:flex;flex-wrap:wrap;gap:12px 20px;max-width:500px;font-size:13px}.footer{align-items:start;flex-wrap:wrap}.catalog-method{font-size:13px;line-height:1.6;color:var(--muted,#aaa);margin:0 0 22px}.silent-banner{padding:6px 16px;background:#d4ef76;color:#171d10;text-align:center;font-size:13px}
html[data-theme="light"] .info-page{background:#fff;color:#262d20;border-color:#c9cfbb}
html[data-page="info"] #top,html[data-page="home"] #info-page{display:none}
@media(max-width:900px){.presets{grid-template-columns:repeat(3,minmax(0,1fr))}.presets .preset{height:94px;min-height:94px}.presets .preset strong{font-size:14px}.presets .preset small{font-size:12px}}
@media(max-width:600px){.presets{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.presets .preset{padding:11px;height:100px;min-height:100px}.info-page{padding:22px 18px;margin:18px 0 40px;border-radius:14px}.footer-links{font-size:13px}.info-actions>*{width:100%!important}}
.info-page label[for="support-report"]{display:block;margin-top:20px}

/* Icon-only flex box avoids the anonymous text row created by CSS grid. */
.presets .preset .preset-action{position:absolute;inset:auto 10px 10px auto;display:flex;align-items:center;justify-content:center;gap:0;padding:0;box-sizing:border-box;line-height:0;grid-area:auto}
.presets .preset .preset-action svg{display:block;flex:0 0 15px;width:15px;height:15px;margin:0;padding:0;transform:none}
.station-card .card-play,.play-button{display:flex;align-items:center;justify-content:center;line-height:0;padding:0}
.station-card .card-play svg,.play-button svg{display:block;margin:0;transform:none}

html[data-theme] .station-art.has-logo{background:var(--logo-bg,#fafbf6)}
@media(max-width:640px){
 .presets .preset{display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:45px 24px;align-content:center;justify-items:start;gap:7px 8px;min-height:106px;height:106px;padding:11px}
 .presets .preset .preset-art{grid-column:1;grid-row:1;width:38px;height:40px;margin:0;align-self:center;flex-shrink:0}
 .presets .preset strong{grid-column:2;grid-row:1;align-self:center;font-size:13px;line-height:1.35;min-height:0;max-height:36px;padding:0;margin:0;flex-shrink:0}
 .presets .preset small{grid-column:1/3;grid-row:2;align-self:center;font-size:11px;line-height:1.3;margin:0;padding:0 30px 0 0;width:100%}
}
