:root {
  --ink: #17151C; --muted: #4B4857; --line: #E6E3EC; --panel: #F6F4FA; --accent: #5B21B6; --accent-soft: #EFE9FB;
  --song: #1D4ED8; --song-soft: #EEF2FF; --artist: #9A3412; --artist-soft: #FFF1E6; --album: #065F46; --album-soft: #E6F6EF;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;
  --gutter: 16px; --max: 1120px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.55; }
@media (min-width: 720px) { body { font-size: 19px; } }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #3B0F86; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.1; letter-spacing: -0.3px; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header: one line on every screen */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.hdr { display: flex; align-items: center; gap: 8px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 22px; }
.brand-sub { font-size: 12.5px; color: var(--muted); }
.nav-wide { display: none; gap: 24px; margin-right: 12px; }
.nav-wide a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 8px 0; }
.nav-wide a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 8px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; color: var(--ink); background: transparent; border: 0; cursor: pointer; list-style: none; }
.icon-btn::-webkit-details-marker { display: none; }
.icon-btn:hover { background: var(--panel); color: var(--ink); }
.menu { position: relative; }
.menu-panel { position: absolute; right: 0; top: 48px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px rgba(23,21,28,.12); padding: 8px; display: flex; flex-direction: column; min-width: 200px; z-index: 20; }
.menu-panel a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 10px 14px; border-radius: 10px; }
.menu-panel a:hover { background: var(--panel); }
@media (min-width: 820px) { .nav-wide { display: flex; } .menu, .search-btn { display: none; } }
.preview-bar { background: #FEF3C7; color: #78350F; text-align: center; font-size: 14px; font-weight: 700; padding: 4px 8px; }

/* Footer */
.site-footer { background: var(--panel); margin-top: 48px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; padding-top: 28px; padding-bottom: 28px; font-size: 16px; }
.foot-name { font-family: var(--display); font-weight: 800; font-size: 20px; }
.foot-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-nav a { color: var(--ink); font-weight: 700; }

/* Page heads */
.page { padding-top: 16px; }
.crumbs { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.kicker.song { color: var(--song); } .kicker.artist { color: var(--artist); } .kicker.album { color: var(--album); }
.title { font-size: clamp(30px, 7vw, 50px); }
.title .ic { margin-right: 8px; }
.subtitle { font-size: 17px; color: var(--muted); margin-top: 4px; }
.stats { font-size: 17px; color: var(--muted); margin-top: 6px; }
.stats strong { color: var(--ink); }
.lead { font-size: 19px; margin-top: 10px; max-width: 760px; }

/* Toolbars and controls */
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.tool { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #CFC9DB; background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
.tool:hover { border-color: var(--ink); color: var(--ink); }
.tool.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.linkish { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; color: var(--accent); text-decoration: underline; cursor: pointer; }
details.rules { margin-top: 10px; font-size: 16px; }
details.rules summary { cursor: pointer; color: var(--accent); font-weight: 700; display: inline; }
details.rules p { margin-top: 8px; color: var(--muted); max-width: 760px; background: var(--panel); padding: 12px 16px; border-radius: 12px; }
.controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 16px 0 6px; }
.controls input[type=search], .controls select, .field { height: 46px; padding: 0 14px; border: 1.5px solid #CFC9DB; border-radius: 12px; font: inherit; font-size: 17px; background: #fff; color: var(--ink); }
.controls input[type=search] { flex: 1 1 220px; min-width: 0; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.showing { font-size: 15px; color: var(--muted); margin: 4px 0 0; }

/* Song rows */
.letter { font-family: var(--display); font-size: 22px; color: var(--accent); border-bottom: 2px solid var(--ink); padding: 14px 0 2px; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: flex; gap: 12px; align-items: baseline; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.row-main { flex: 1 1 auto; min-width: 0; }
.row-title { display: block; font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--ink); text-decoration: none; }
.row-title:hover { color: var(--accent); text-decoration: underline; }
.row-sub { display: block; font-size: 16px; color: var(--muted); line-height: 1.4; margin-top: 1px; }
.row-sub a { color: var(--ink); text-decoration-color: #CFC9DB; }
.row-side { flex: 0 0 auto; font-size: 15px; color: var(--muted); white-space: nowrap; }
.empty-note { padding: 16px 0; color: var(--muted); }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; } }
.card { display: flex; flex-direction: column; gap: 4px; padding: 12px 12px; border: 1px solid var(--line); border-top: 4px solid var(--song); border-radius: 14px; text-decoration: none; color: var(--ink); background: #fff; }
.card:hover { border-color: #CFC9DB; color: var(--ink); box-shadow: 0 4px 14px rgba(23,21,28,.07); }
.card.artist { border-top-color: #C2410C; } .card.album { border-top-color: #047857; }
.card-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; align-items: center; font-size: 14px; font-weight: 700; color: var(--muted); }
.card-icon { font-size: 26px; line-height: 1; }
.card-name { font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.15; }
@media (min-width: 720px) { .card-name { font-size: 21px; } }
.card-full { font-size: 14px; color: var(--muted); line-height: 1.35; }
.section { margin-top: 32px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(24px, 4vw, 32px); }
.section-head p { width: 100%; font-size: 16px; color: var(--muted); }
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 14px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 16px; }
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill .n { font-weight: 400; color: var(--muted); font-size: 14px; }

/* Two-column layouts */
.cols { display: flex; flex-wrap: wrap; gap: 28px 40px; }
.col-main { flex: 999 1 520px; min-width: 0; }
.col-side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.side-box { background: var(--panel); border-radius: 16px; padding: 16px; }
.side-box h2 { font-size: 21px; margin-bottom: 8px; }
.side-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.side-list a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; background: #fff; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 16px; line-height: 1.3; }
.side-list a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.side-list .n { font-weight: 400; color: var(--muted); white-space: nowrap; font-size: 14px; }

/* Home */
.hero { background: var(--panel); border-radius: 20px; padding: 18px 16px; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
@media (min-width: 720px) { .hero { padding: 36px 40px; } }
.hero-main { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.hero h1 { font-size: clamp(30px, 7vw, 54px); line-height: 1.02; }
.hero-sub { font-size: 17px; color: var(--muted); }
.big-search { display: flex; gap: 8px; }
.big-search input { flex: 1 1 auto; min-width: 0; height: 54px; border: 2px solid #CFC9DB; border-radius: 14px; padding: 0 16px; font: inherit; font-size: 18px; }
.big-search button { height: 54px; padding: 0 18px; border: 0; border-radius: 14px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.spin-row { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 16px; }
.spin-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; font-size: 16px !important; border-radius: 999px; border: 2px solid var(--accent); background: #fff; color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; }
.spin-card { flex: 1 1 280px; min-width: 0; background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px; box-shadow: 4px 4px 0 var(--ink); }
.spin-label { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.spin-theme { display: flex; align-items: center; gap: 10px; margin: 6px 0 2px; text-decoration: none; color: var(--ink); }
.spin-theme .card-icon { font-size: 30px; }
.spin-theme span:last-child { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.15; }
.spin-songs { list-style: none; margin: 6px 0; padding: 6px 0 0; border-top: 1.5px dashed #CFC9DB; font-size: 16px; display: flex; flex-direction: column; gap: 4px; }
.spin-more { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1.5px dashed #CFC9DB; padding-top: 10px; font-size: 15px; color: var(--muted); }
.spin-more a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; }
.totals { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 16px; color: var(--muted); }
.totals strong { color: var(--ink); }

/* Detail pages */
.facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 17px; color: var(--muted); margin-top: 8px; }
.facts strong { color: var(--ink); font-weight: 700; }
.block { margin-top: 22px; }
.block h2 { font-size: 22px; margin-bottom: 8px; }
.prose { max-width: 760px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--panel); font-size: 15px; font-weight: 700; }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 12px; }
.album-card { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--album-soft); text-decoration: none; color: var(--ink); }
.album-card strong { font-size: 17px; line-height: 1.25; }
.album-card span { font-size: 14px; color: var(--muted); }
.az { display: flex; flex-wrap: wrap; gap: 4px; margin: 10px 0; }
.az a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; border-radius: 8px; background: var(--panel); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.cols-list { columns: 3 220px; column-gap: 28px; list-style: none; margin: 0; padding: 0; }
.cols-list li { break-inside: avoid; padding: 4px 0; font-size: 17px; }
.cols-list a { color: var(--ink); text-decoration-color: #CFC9DB; }
.cols-list .n { color: var(--muted); font-size: 14px; }
[hidden] { display: none !important; }
@media print {
  .site-header, .site-footer, .toolbar, .controls, .preview-bar, .col-side, details.rules { display: none !important; }
  body { font-size: 12pt; } .row { padding: 4px 0; } .title { font-size: 22pt; }
}

/* Blog articles */
.article { margin-top: 18px; font-size: 19px; line-height: 1.65; }
.article h2 { font-size: clamp(24px, 4vw, 30px); margin: 30px 0 10px; }
.article h3 { font-size: 21px; margin: 24px 0 8px; }
.article p { margin: 0 0 14px; }
.article ul, .article ol { padding-left: 24px; margin: 0 0 14px; }
.article li { margin: 4px 0; }
.article img { border-radius: 12px; }
.article table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.article th, .article td { border-bottom: 1px solid var(--line); padding: 6px 10px; text-align: left; }
.article blockquote { margin: 16px 0; padding: 8px 16px; border-left: 4px solid var(--accent); background: var(--panel); border-radius: 0 10px 10px 0; }

/* Theme type tags: every theme says what kind it is */
.type-tag { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .2px; white-space: nowrap; }
.type-tag.song { background: var(--song-soft); color: var(--song); }
.type-tag.artist { background: var(--artist-soft); color: var(--artist); }
.type-tag.album { background: var(--album-soft); color: var(--album); }
.type-tag.other { background: var(--panel); color: var(--muted); }
.card-count { font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.card-name .ic { margin-right: 6px; }
.card.other { border-top-color: #6B7280; }
.more-panel { margin-top: 36px; background: var(--panel); border-radius: 16px; padding: 16px 16px 8px; }
.more-panel h2 { font-size: 20px; margin-bottom: 4px; }
.more-panel .row { border-bottom-color: #E2DEEA; }
.more-panel .row-title { font-size: 17px; }

/* My list button + badges */
.list-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; }
.list-btn:hover { background: var(--panel); color: var(--ink); }
.list-btn[aria-current="page"] { color: var(--accent); }
.list-btn-label { display: none; }
@media (min-width: 520px) { .list-btn-label { display: inline; } }
.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; line-height: 1; }
.add-mini { flex: 0 0 auto; align-self: center; width: 38px; height: 38px; border-radius: 999px; border: 1.5px solid #CFC9DB; background: #fff; color: var(--ink); font: inherit; font-size: 20px; font-weight: 700; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.add-mini:hover { border-color: var(--ink); }
.add-mini[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.tool[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
mark { background: #FDE68A; color: inherit; border-radius: 3px; padding: 0 2px; }
.pill-why { font-weight: 400; font-size: 14px; color: var(--muted); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.empty-state { margin-top: 18px; padding: 18px; border: 1.5px dashed #CFC9DB; border-radius: 14px; display: flex; flex-direction: column; gap: 8px; }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; margin: 20px 0 6px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.results-bar .toolbar { margin-top: 0; }
.shared-note { margin-top: 14px; background: var(--accent-soft); border-radius: 14px; padding: 12px 14px; }

/* Home: tools */
.tool-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 560px) { .tool-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .tool-grid { grid-template-columns: repeat(4, 1fr); } }
.tool-card { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 3px 3px 0 var(--ink); transition: transform .1s, box-shadow .1s; }
.tool-card:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.tool-head { display: flex; align-items: center; gap: 8px; }
.tool-ic { font-size: 22px; line-height: 1; flex: 0 0 auto; }
.tool-name { font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.15; color: var(--accent); }
.tool-text { font-size: 15px; color: var(--muted); line-height: 1.4; }
.puzzle-q { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.15; margin: 6px 0 2px; }
.fresh-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fresh-list a { display: inline-flex; align-items: baseline; gap: 6px; min-height: 36px; padding: 6px 12px; border-radius: 999px; background: var(--artist-soft); color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.2; }
.fresh-list a:hover { box-shadow: inset 0 0 0 2px var(--artist); color: var(--ink); }
.fresh-list span { font-size: 13px; color: var(--muted); }
.card-all { border-top-color: var(--accent); background: var(--accent-soft); justify-content: center; }
.card-all .card-name { color: var(--accent); }
.card-arrow { font-size: 24px; font-weight: 800; color: var(--accent); line-height: 1; }
.host-strip { background: var(--ink); color: #fff; border-radius: 20px; padding: 22px 18px; }
.host-strip h2 { font-size: clamp(22px, 4vw, 30px); margin-bottom: 8px; }
.host-strip p { max-width: 760px; color: #E6E3EC; }
.host-strip a { color: #fff; font-weight: 700; }
@media (min-width: 720px) { .host-strip { padding: 30px 40px; } }

/* Song Finder */
.finder-form { margin-top: 18px; display: flex; flex-direction: column; gap: 16px; background: var(--panel); border-radius: 16px; padding: 16px; }
.f-row { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f-label { font-size: 15px; font-weight: 700; }
.f-split { flex-direction: row; flex-wrap: wrap; gap: 16px 28px; }
.f-split > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; max-width: 100%; }
.finder-form input[type="search"], .finder-form input[type="text"] { width: 100%; height: 48px; border: 2px solid #CFC9DB; border-radius: 12px; padding: 0 14px; font: inherit; font-size: 17px; background: #fff; }
.finder-form input:focus { outline: none; border-color: var(--accent); }
.theme-picker { position: relative; display: flex; flex-direction: column; gap: 8px; }
.picked { display: flex; flex-wrap: wrap; gap: 6px; }
.picked:empty { display: none; }
.picked-pill { background: var(--song-soft); border-color: var(--song); color: var(--song); cursor: pointer; font: inherit; font-weight: 700; font-size: 15px; }
.th-list { position: absolute; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(23,21,28,.12); z-index: 15; max-height: 320px; overflow-y: auto; }
.th-list button { display: flex; gap: 8px; align-items: center; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 16px; font-weight: 700; color: var(--ink); cursor: pointer; }
.th-list button:hover, .th-list button:focus { background: var(--panel); }
.th-list .muted { margin-left: auto; font-weight: 400; font-size: 14px; }

/* Name That Theme */
.play-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; }
.play-tabs { display: inline-flex; background: var(--panel); border-radius: 999px; padding: 4px; }
.play-tabs button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 15px; font-weight: 700; color: var(--muted); cursor: pointer; }
.play-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(23,21,28,.12); }
.game { margin-top: 14px; border: 2px solid var(--ink); border-radius: 18px; padding: 16px; box-shadow: 5px 5px 0 var(--ink); background: #fff; }
.game-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.game-meta .muted { text-transform: none; letter-spacing: 0; font-weight: 400; }
.clues { list-style: none; margin: 10px 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.clues li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 10px 12px; border-radius: 12px; background: var(--panel); }
.clue-title { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.2; }
.clue-artist { color: var(--muted); font-size: 16px; }
.clue-link { margin-left: auto; font-size: 14px; font-weight: 700; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { display: flex; align-items: center; gap: 8px; min-height: 54px; padding: 8px 12px; border: 2px solid #CFC9DB; border-radius: 12px; background: #fff; font: inherit; font-size: 17px; font-weight: 700; color: var(--ink); text-align: left; cursor: pointer; }
.choice:hover:not(:disabled) { border-color: var(--ink); }
.choice:disabled { cursor: default; opacity: .75; }
.choice.right { border-color: #047857; background: #E6F6EF; color: #065F46; opacity: 1; }
.choice.wrong { border-color: #B91C1C; background: #FEF2F2; color: #991B1B; text-decoration: line-through; }
.result { margin-top: 14px; padding-top: 12px; border-top: 1.5px dashed #CFC9DB; display: flex; flex-direction: column; gap: 6px; }
.result-head { font-weight: 700; font-size: 18px; }
.result-theme { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 22px; }
.host-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
body.host-mode .site-header, body.host-mode .site-footer, body.host-mode .kicker, body.host-mode .lead, body.host-mode .play .small { display: none; }
body.host-mode .play .title { font-size: clamp(36px, 6vw, 72px); }
body.host-mode .clue-title { font-size: clamp(28px, 5vw, 56px); }
body.host-mode .clue-artist { font-size: clamp(18px, 2.4vw, 28px); }
body.host-mode .choice { font-size: clamp(18px, 2.4vw, 30px); min-height: 72px; }

@media print {
  .results-bar, .shared-note, .add-mini, .empty-state, .list-page .lead, .list-page .small, .list-page .kicker { display: none !important; }
  .my-list .row-title { font-size: 13pt; }
}

/* Why a song counts: compound words, instrumentals, hints */
.mark-soft { color: inherit; opacity: .75; }
.how-counts { margin-top: 10px; font-size: 15px; color: var(--muted); max-width: 760px; }
.how-counts mark { padding: 0 1px; }
details.how { margin-top: 22px; }
details.how .how-body { margin-top: 8px; background: var(--panel); padding: 12px 16px; border-radius: 12px; font-size: 16px; color: var(--muted); max-width: 760px; }
details.how ul { margin: 8px 0; padding-left: 20px; } details.how li { margin: 4px 0; }
.inst { color: #92400E; font-weight: 700; }
.inst-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #FEF3C7; color: #92400E; font-size: 13px; }
.f-hint { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; max-width: 520px; }
/* Phone: shorter route from the hero to the music */
@media (max-width: 559px) {
  .hide-phone { display: none; }
  .tool-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tool-card { padding: 10px 12px; box-shadow: 2px 2px 0 var(--ink); }
  .tool-card .tool-text { display: none; }
  .tool-name { font-size: 16px; }
  .puzzle-card .puzzle-q { font-size: 17px; }
  .puzzle-card .spin-songs li.muted { display: none; }
  .hero { gap: 14px; }
}

/* How well known: chart hits and karaoke */
.known-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ktag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.ktag.hit { background: #FEF3C7; color: #92400E; }
.ktag.kar { background: var(--accent); color: #fff; }
.ktag.kar-soft { background: var(--accent-soft); color: var(--accent); }
.ktag.duet { background: var(--song-soft); color: var(--song); }
.ktag.explicit { background: #FEE2E2; color: #991B1B; }
.mini-tag { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 6px; font-size: 12px; font-weight: 700; line-height: 18px; vertical-align: 2px; white-space: nowrap; }
.mini-tag.hit { background: #FEF3C7; color: #92400E; }
.mini-tag.kar { background: var(--accent-soft); color: var(--accent); }
.mini-tag.explicit { background: #FEE2E2; color: #991B1B; }
.sort-by { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--muted); }
.sort-by select { height: 40px; border: 1.5px solid #CFC9DB; border-radius: 10px; padding: 0 10px; font: inherit; font-size: 15px; background: #fff; }
.best-known { counter-reset: none; }

/* Per-artist songs page */
.song-detail .row:target { background: color-mix(in srgb, var(--accent, #2bb673) 18%, transparent); outline: 2px solid var(--accent, #2bb673); border-radius: 8px; scroll-margin-top: 90px; }
.song-detail .row-main > .row-sub { display: block; }
.kar-link { white-space: nowrap; font-size: .85em; margin-left: 6px; }

/* Entry-page helpers */
.answer { margin: 8px 0 4px; max-width: 70ch; color: var(--ink-soft, #4a4654); font-size: 1.02rem; }
.tool.sing { background: var(--accent, #2bb673); color: #fff; border-color: transparent; font-weight: 700; }
.arrive { background: color-mix(in srgb, var(--accent, #2bb673) 10%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--accent, #2bb673) 25%, transparent); font-size: .92rem; padding: 8px 0; }
.arrive[hidden] { display: none; }

/* Review fixes: collapsed filters, list shortcuts, bigger touch targets */
details.adv { margin: 8px 0 10px; border: 1px solid var(--line, #e3dff0); border-radius: 12px; padding: 0 12px; background: var(--card, #fff); }
details.adv > summary { cursor: pointer; padding: 12px 0; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
details.adv[open] > summary { border-bottom: 1px solid var(--line, #e3dff0); margin-bottom: 8px; }
.list-shortcuts { margin: 10px 0 4px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.list-shortcuts a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line, #e3dff0); background: var(--card, #fff); text-decoration: none; font-weight: 700; }
.sing-note { margin-top: 8px; }
.kar-link .kar-name { font-size: 13px; font-weight: 700; }
.tool { min-height: 46px; }
.chip { min-height: 44px; }
.add-mini { min-width: 44px; min-height: 44px; }
.kar-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
@media (max-width: 560px) { .kar-link .kar-name { display: none; } }
.save-note { margin: 4px 0 10px; font-size: 15px; }
@media (max-width: 560px) { .toolbar { gap: 6px; } .toolbar .tool { padding-left: 10px; padding-right: 10px; font-size: 15px; } }
@media (max-width: 560px) { .col-main .toolbar { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; } .col-main .toolbar .tool { flex: 0 0 auto; white-space: nowrap; } }
