/* Hot Chart Song Search - every rule is scoped under .hcss so it cannot affect the rest of the theme */
.hcss { --hcss-accent: #5a67d8; box-sizing: border-box; width: 100%; max-width: 100%; margin: 1em 0; font-family: inherit; color: inherit; line-height: 1.4; }
.hcss *, .hcss *::before, .hcss *::after { box-sizing: border-box; }
.hcss .hcss-form { display: flex; gap: 8px; margin: 0; }
.hcss .hcss-input { flex: 1; min-width: 0; margin: 0; padding: 12px 14px; font-size: 16px; line-height: 1.3; border: 2px solid #cbd5e0; border-radius: 8px; background: #fff; color: #2d3748; box-shadow: none; height: auto; }
.hcss .hcss-input:focus { outline: none; border-color: var(--hcss-accent); }
.hcss .hcss-go { margin: 0; padding: 0 20px; font-size: 15px; font-weight: 600; color: #fff; background: var(--hcss-accent); border: 0; border-radius: 8px; cursor: pointer; text-transform: none; letter-spacing: 0; }
.hcss .hcss-go:hover { filter: brightness(1.08); }
.hcss .hcss-msg { margin-top: 10px; padding: 14px; border-radius: 8px; background: #edf2f7; color: #4a5568; font-size: 14px; }
.hcss .hcss-msg.hcss-err { background: #fed7d7; color: #9b2c2c; }
.hcss ul.hcss-results { list-style: none; margin: 10px 0 0; padding: 0; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; color: #2d3748; overflow: hidden; }
.hcss ul.hcss-results li { display: flex; gap: 12px; align-items: center; margin: 0; padding: 10px 12px; border-bottom: 1px solid #edf2f7; cursor: pointer; list-style: none; }
.hcss ul.hcss-results li:last-child { border-bottom: 0; }
.hcss ul.hcss-results li:hover, .hcss ul.hcss-results li:focus { background: #f7fafc; outline: none; }
.hcss .hcss-thumb { width: 46px; height: 46px; max-width: none; border-radius: 6px; object-fit: cover; background: #e2e8f0; flex: none; }
.hcss .hcss-t { font-weight: 700; } .hcss .hcss-a { color: #718096; font-size: 14px; }
.hcss .hcss-card { margin-top: 12px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; color: #2d3748; overflow: hidden; }
.hcss .hcss-top { display: flex; gap: 16px; padding: 16px; align-items: flex-start; }
.hcss .hcss-art { width: 132px; height: 132px; max-width: none; border-radius: 10px; object-fit: cover; background: #e2e8f0; flex: none; }
.hcss .hcss-top h2 { margin: 0; padding: 0; font-size: 22px; line-height: 1.2; color: #2d3748; }
.hcss .hcss-artist { font-size: 16px; color: #4a5568; margin-top: 2px; }
.hcss .hcss-label { font-size: 13px; color: #718096; margin-top: 4px; }
.hcss .hcss-badge { display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; background: var(--hcss-accent); }
.hcss .hcss-badge.hcss-off { background: #a0aec0; }
.hcss .hcss-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: #fff; border-top: 1px solid #e2e8f0; }
.hcss .hcss-stat { background: #fff; padding: 12px 16px; border-right: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; margin: 0 -1px -1px 0; }
.hcss .hcss-v { font-size: 22px; font-weight: 800; }
.hcss .hcss-k { font-size: 12px; color: #718096; text-transform: uppercase; letter-spacing: .4px; }
.hcss .hcss-s { font-size: 12px; color: #718096; margin-top: 2px; }
.hcss .hcss-sect { padding: 12px 16px; border-top: 1px solid #e2e8f0; font-size: 14px; line-height: 1.5; }
.hcss .hcss-sect b { display: block; margin-bottom: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: #718096; }
.hcss table.hcss-run { border-collapse: collapse; width: 100%; font-size: 14px; margin: 0; border: 0; }
.hcss table.hcss-run td { padding: 4px 0; border: 0; border-bottom: 1px solid #f1f5f9; background: none; }
.hcss table.hcss-run td:last-child { text-align: right; font-weight: 700; }
.hcss a.hcss-back { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--hcss-accent); cursor: pointer; text-decoration: none; }
.hcss .hcss-credit { margin-top: 10px; font-size: 11px; opacity: .6; }
@media (max-width: 520px) { .hcss .hcss-top { flex-direction: column; } .hcss .hcss-art { width: 100%; height: auto; aspect-ratio: 1 / 1; max-width: 220px; } }
