:root {
  --blue: #003399;
  --nav: #6699cc;
  --line: #6698cb;
  --pale: #b1d0f0;
  --orange: #ff6600;
}
* { box-sizing: border-box; }
body { margin: 0; background: #e5e5e5; color: #000; font: 12px Verdana, Arial, sans-serif; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea { font: 11px Verdana, Arial, sans-serif; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid #ff6600; outline-offset: 2px; }
.page { width: 800px; max-width: 100%; min-height: 100vh; margin: 0 auto; background: #fff; }
.top-bar { min-height: 78px; padding: 12px 17px 9px; background: var(--blue); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.header-right { align-self: stretch; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.header-links { font-size: 10px; color: #c5d9ef; }
.header-links a { color: #fff; }
.header-search { display: flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 10px; font-weight: bold; }
.header-search input { width: 150px; height: 20px; border: 1px solid #777; background: #fff; }
.header-search button, .search-form button, #comment-form button { border: 1px solid #777; border-radius: 0; padding: 2px 7px; color: #000; background: #eee; }
nav { min-height: 27px; padding: 6px 12px; background: var(--nav); color: #fff; text-align: center; font-size: 11px; font-weight: bold; }
nav a { color: #fff; }
nav span { padding: 0 13px; font-weight: normal; }
main { padding: 0 15px 22px; min-height: 470px; overflow-wrap: anywhere; }
.page-path { padding: 9px 0 12px; color: #777; font-size: 10px; }
h1 { font-size: 16px; margin: 0 0 12px; }
p { line-height: 1.4; }
.classic-box { margin: 0 0 14px; border: 2px solid var(--line); }
.classic-box > h2 { margin: 0; padding: 4px 6px; background: var(--line); color: #fff; font-size: 12px; line-height: 1.2; }
.box-content { padding: 8px; }
.empty { margin: 10px 2px 15px; }
.loading, .page-error { padding: 20px 0; }
.network-banner { border: 2px solid #000; padding: 16px 8px; margin-bottom: 14px; text-align: center; font-size: 14px; font-weight: bold; }
.home-layout { display: grid; grid-template-columns: 295px 1fr; gap: 18px; }
.home-identity { display: flex; gap: 13px; min-height: 185px; line-height: 1.35; }
.silhouette { display: block; width: 100%; height: auto; background: #dedede; }
.home-photo { width: 155px; height: 155px; flex: 0 0 155px; }
.home-details { margin-top: 8px; }
.details-table { width: 100%; border-spacing: 3px; table-layout: fixed; }
.details-table th, .details-table td { padding: 5px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.details-table th { width: 37%; background: var(--pale); color: #356596; }
.details-table td { background: #d4e6f5; }
.counter-box { border: 1px solid #b4b4b4; padding: 15px 16px 17px; margin-bottom: 15px; text-align: center; }
.counter-kicker { color: #777; font-size: 10px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }
.counter-box h2 { margin: 8px auto 5px; max-width: 330px; font-size: 14px; line-height: 1.4; }
.counter-box h2 strong { display: block; color: var(--blue); font-size: 30px; line-height: 1.2; }
.counter-box p { margin: 8px 0 15px; font-size: 11px; }
.play-next { display: inline-block; border: 1px solid #113b69; padding: 9px 13px; background: #e6eef7; color: var(--blue); font-weight: bold; box-shadow: inset 1px 1px #fff, inset -1px -1px #a8bfd7; }
.people-box > h2, .friends-box > h2, .comments-box > h2 { background: var(--pale); color: var(--orange); }
.friends-intro { margin: 0 0 10px; font-size: 11px; }
.top-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 8px; }
.top-person { min-width: 0; text-align: center; font-size: 10px; line-height: 1.25; overflow-wrap: anywhere; }
.top-person .person-name { display: block; min-height: 26px; font-weight: bold; }
.top-person .silhouette { width: 74px; max-width: 100%; height: auto; margin: 0 auto; }
.person-note { margin-top: 5px; color: #333; }
.person-note span { color: #666; }
.genre-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px 8px; margin: 0; padding: 0; list-style: none; font-size: 11px; line-height: 1.4; }
.genre-count { color: #777; white-space: nowrap; }
.genre-more { margin: 10px 0 0; font-size: 11px; }
.home-about { border-top: 1px solid #ccc; padding: 9px 2px; font-size: 11px; line-height: 1.5; }
.home-about strong { color: var(--orange); }
.simple-page { max-width: 740px; margin: 0 auto; }
.simple-page h1 { margin: 7px 0 14px; }
.prose { padding: 8px 12px 16px; line-height: 1.5; }
.prose h3 { color: var(--orange); font-size: 12px; }
.search-form p { margin-bottom: 2px; font-size: 10px; }
.search-form input { width: 200px; max-width: 60%; }
.search-results { margin-top: 16px; }
.result-heading { margin: 0 0 10px; }
.results-table { width: 100%; border-spacing: 2px; font-size: 11px; }
.results-table th { background: var(--line); color: #fff; text-align: left; }
.results-table td { background: #e2effa; }
.results-table th, .results-table td { padding: 6px; overflow-wrap: anywhere; }
.first-badge { color: #a83c00; white-space: nowrap; }
footer { padding: 20px 15px 25px; border-top: 1px solid #ccc; color: #777; text-align: center; font-size: 10px; line-height: 1.5; }
@media (max-width: 819px) {
  .page { width: 100%; }
  .home-layout { grid-template-columns: 1fr; gap: 12px; }
  .home-identity { min-height: 0; }
  .home-details { margin-top: 13px; }
  .home-right { min-width: 0; }
  .genre-list { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .top-bar { align-items: flex-start; padding: 11px 12px; flex-direction: column; gap: 9px; }
  .header-right { width: 100%; flex-direction: row-reverse; align-items: center; }
  .header-links { display: none; }
  .header-search input { width: 155px; }
  nav span { padding: 0 9px; }
  main { padding-left: 12px; padding-right: 12px; }
  .top-grid { gap: 12px 5px; }
  .counter-box { padding: 14px 10px; }
  .results-table { font-size: 10px; }
}

.music-masthead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; border-bottom: 4px solid #f60; padding: 3px 1px 6px; color: #003399; }
.music-masthead strong { font-size: 21px; letter-spacing: -1px; }
.music-masthead strong span { color: #f60; }
.music-masthead > span { font-size: 10px; font-weight: bold; }
.home-layout { grid-template-columns: 235px minmax(0, 1fr); gap: 13px; }
.spotlight-box > h2, .home-right .genres-box > h2 { background: #003399; color: #fff; }
.featured-card { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 11px; background: var(--selected-pattern); color: var(--ink); text-align: center; }
.featured-label { width: 100%; border: 1px solid var(--edge); padding: 4px; background: var(--panel); color: var(--ink); font-size: 9px; font-weight: bold; letter-spacing: 1px; }
.featured-photo { width: 130px; max-width: 100%; }
.featured-name, .featured-song { display: block; width: 100%; padding: 4px; background: var(--panel); color: var(--ink); overflow-wrap: anywhere; }
.featured-name { font: 700 20px/1.2 var(--display); text-decoration: none; }
.featured-name:hover { text-decoration: underline; }
.featured-link { display: block; width: 130px; max-width: 100%; }
.featured-link .featured-photo { width: 100%; }
.featured-play { border: 1px solid var(--edge); padding: 6px 12px; background: var(--panel); color: var(--link); font-weight: bold; }
.home-right .genre-list { gap: 3px; }
.home-right .genre-list li { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.home-left .home-about { margin-top: 12px; }
.counter-box { border: 2px solid #6698cb; background: #e7f2fc; }
.counter-kicker { color: #003399; }
.counter-box h1 { margin: 9px 0 14px; color: #193957; font-size: 13px; line-height: 1.5; }
#unheard-count { display: block; margin: 0 0 7px; color: #fff; font: 700 39px/1 'VT323', monospace; white-space: nowrap; }
.counter-digit { display: inline-block; min-width: 31px; margin: 0 1px; border: 1px solid #192531; border-radius: 2px; padding: 3px 2px 1px; background: linear-gradient(#414a50 0%, #222b30 48%, #111a20 50%, #303c43 100%); box-shadow: inset 0 1px #899298; }
.counter-comma { margin: 0 -1px; color: #253f50; }
.home-right .people-box > h2 { background: #b1d0f0; color: #b03e00; }
.home-right .people-box { border-color: #6698cb; }
@media (max-width: 819px) {
  .home-layout { display: flex; flex-direction: column; }
  .home-left, .home-right { display: contents; }
  .counter-box { order: 0; }
  .spotlight-box { order: 1; }
  .people-box { order: 2; }
  .home-right .genres-box { order: 3; }
  .home-about { order: 4; }
  .home-right .genre-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Logo: "t", a record as the "o", "p", an orange "8", and ".fm". */
.brand { display: inline-flex; flex: 0 0 auto; flex-direction: column; color: #fff; font-size: 46px; line-height: 1; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-word { font: 700 1em/1 Fredoka, 'Arial Rounded MT Bold', sans-serif; letter-spacing: -0.02em; white-space: nowrap; }
.brand-o { display: inline-block; box-sizing: border-box; width: 0.56em; height: 0.56em; margin: 0 0.015em; border: 0.07em solid #fff; border-radius: 50%; vertical-align: -0.02em;
  background: radial-gradient(circle, #fff 0 7%, #ff6600 8% 34%, #1b1f33 35% 46%, #0d0f1c 47% 58%, #1b1f33 59% 64%, #0d0f1c 65%); }
.brand-8 { color: #ff6600; }
.brand-fm { margin-left: 0.04em; color: #99ccff; font-size: 0.5em; }
.brand-tag { margin-top: 0.14em; color: #cfe4ff; font: 0.2em Verdana, Arial, sans-serif; letter-spacing: 0.04em; }
@media (max-width: 819px) { .brand { font-size: 38px; } }

.top-person .person-band { display: block; margin-top: 3px; font-size: 10px; }
