/* dg-community.css — /community: the members, dMusic and the hashtags, A to Z by letter or ranked. Full width (no right
   column); 2 cards a line (1 on phones), 10 a page. */
body.dg-community .side, body.dg-community #dgSideMobile, body.dg-community .newpill, body.dg-community #dgMore, body.dg-community #dgFeed { display: none !important; }
body.dg-community .wrap { grid-template-columns: 240px minmax(0, 1fr); }
@media (max-width: 1180px) { body.dg-community .wrap { grid-template-columns: 76px minmax(0, 1fr); } }
@media (max-width: 960px) { body.dg-community .wrap { grid-template-columns: minmax(0, 1fr); } }
.dgcm { padding-bottom: 30px; font-family: Inter, system-ui, sans-serif; }
.cm-head { background: #fff; border: 1px solid #EFF3F4; border-radius: 16px; padding: 16px 18px 10px; margin-bottom: 14px; }
.cm-head h1 { font: 800 22px Inter, system-ui, sans-serif; margin: 0 0 10px; color: #0F1419; }
.cm-tabs { display: flex; gap: 6px; border-bottom: 1px solid #EFF3F4; margin-bottom: 12px; }
.cm-tabs a { padding: 9px 14px; font-weight: 700; font-size: 15px; color: #536471; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.cm-tabs a.on { color: #0F1419; border-bottom-color: #E21B2D; }
.cm-sorts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.cm-sorts > span { font-size: 13px; color: #536471; margin-right: 4px; }
.cm-sorts a { padding: 6px 12px; border-radius: 999px; border: 1px solid #CFD9DE; font-size: 13px; font-weight: 600; color: #0F1419; text-decoration: none; }
.cm-sorts a.on { background: #0F1419; border-color: #0F1419; color: #fff; }
.cm-letters { display: flex; flex-wrap: wrap; gap: 4px; }
.cm-letters button { min-width: 30px; height: 30px; border: 0; border-radius: 8px; background: #F2F4F6; font: 700 13px Inter, system-ui, sans-serif; color: #0F1419; cursor: pointer; }
.cm-letters button:hover, .cm-letters button.on { background: #E21B2D; color: #fff; }
.cm-letters button:disabled { background: transparent; color: #C4CDD3; cursor: default; }
.cm-count { margin: 10px 0 0; font-size: 13px; color: #536471; }
.cm-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }   /* owner: 2 cards a line */
.cm-letter { grid-column: 1 / -1; margin: 10px 0 0; font: 800 20px Inter, system-ui, sans-serif; color: #E21B2D; border-bottom: 1px solid #EFF3F4; padding-bottom: 4px; }
.cm-letter:first-child { margin-top: 0; }
.cm-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: #fff; border: 1px solid #EFF3F4; border-radius: 14px; text-decoration: none; color: inherit; min-width: 0; }
.cm-row:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, .07); }
.cm-pic { position: relative; flex: 0 0 auto; }
.cm-rank { position: absolute; left: -4px; top: -4px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: #E21B2D; border: 2px solid #fff; color: #fff; font: 800 11px/18px Inter, system-ui, sans-serif; font-style: normal; text-align: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.cm-av, .cm-cov { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; color: #fff; font: 700 16px Inter, system-ui, sans-serif; }
.cm-cov { border-radius: 10px; background: #F2F4F6; }
.cm-av img, .cm-cov img { width: 100%; height: 100%; object-fit: cover; }
.cm-cov img.ph { width: 24px; height: 24px; object-fit: contain; }
.cm-hash { background: #FFF0F1; color: #E21B2D; font-size: 24px; font-weight: 800; }
.cm-who { display: flex; flex-direction: column; min-width: 0; }
.cm-who b { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 700; color: #0F1419; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-who small { font-size: 13px; color: #536471; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-st { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 3px; font-size: 12px; color: #536471; }
.cm-st b { display: inline; font-size: 12px; color: #0F1419; }
.cm-st .on, .cm-st .on b { color: #E21B2D; }
.cm-empty { text-align: center; color: #536471; padding: 30px 0; }
@media (max-width: 640px) {
  .cm-head { border-radius: 0; border-left: 0; border-right: 0; padding: 12px; }
  .cm-list { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 0 10px; }
  .cm-tabs { overflow-x: auto; }
}
