.cm-feed-heading h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .22em;
  margin: 0;
  font-size: clamp(2rem, 2.9vw, 2.625rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.03em;
}
.cm-title-vlog {
  color: var(--accent, #ff9db9);
  font-family: Georgia, serif;
  font-weight: 700;
  font-synthesis: none;
}
.cm-feed-heading h1 > span:last-child { font-weight: 650; }
.cm-spotlight .cm-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 8px;
}
.cm-spotlight .cm-shortcuts li { min-width: 0; }
.cm-spotlight .cm-shortcuts li + li { border: 0; }
.cm-spotlight .cm-shortcuts a {
  min-height: 44px;
  padding-block: 4px;
  gap: 6px;
  font-size: .84rem;
}
.cm-spotlight .cm-shortcuts img { width: 32px; height: 32px; }
.cm-spotlight .cm-shortcuts span { overflow-wrap: anywhere; }
.cm-official-accounts,
.cm-community-rules {
  border: 1px solid var(--line, #694351);
  border-radius: 13px;
  background: var(--surface, #20151c);
}
.cm-official-accounts { padding: 12px; }
.cm-official-accounts h2 {
  margin: 0 0 6px;
  font-size: 1rem;
}
.cm-official-accounts .community-roster {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px 5px;
}
.cm-official-accounts .community-roster a {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 5px;
  min-height: 44px;
  padding: 5px 2px;
  border-radius: 8px;
  text-align: center;
}
.cm-official-accounts .community-roster a:is(:hover, :focus-visible) {
  color: var(--accent, #ff9db9);
}
.cm-official-accounts .community-roster img {
  inline-size: 32px;
  block-size: 32px;
}
.cm-official-accounts .community-roster span {
  max-width: 100%;
  color: inherit;
  font-size: .78rem;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.cm-community-rules { padding-inline: 12px; }
.cm-community-rules summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.cm-community-rules summary::-webkit-details-marker { display: none; }
.cm-community-rules summary::after {
  content: "";
  inline-size: 7px;
  block-size: 7px;
  margin-inline-end: 3px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  translate: 0 -2px;
}
.cm-community-rules[open] summary::after {
  transform: rotate(225deg);
  translate: 0 2px;
}
.cm-community-rules ul {
  margin: 0 0 12px;
  padding-inline-start: 1.2em;
  color: var(--muted, #e0bfcb);
  font-size: .86rem;
  line-height: 1.65;
}
.cm-community-rules li + li { margin-block-start: 5px; }

.community-h5 .cm-feed-heading { margin-block-end: 12px; }
.community-h5 .cm-feed-heading h1 { margin: 0; }
.community-h5 .community-tabs a { padding-inline: 10px; }
.cm-h5-directory {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-block-end: 12px;
}
.cm-h5-directory > * { min-inline-size: 0; }
.cm-h5-directory .cm-spotlight {
  padding: 8px 10px;
  border: 1px solid var(--line, #694351);
  border-radius: 13px;
  background: var(--surface, #20151c);
}
.cm-h5-directory .cm-spotlight header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cm-h5-directory .cm-spotlight h2 { margin: 0; font-size: .89rem; }
.cm-h5-directory .cm-spotlight header a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--accent, #ff9db9);
  font-size: .84rem;
}
.cm-h5-directory :is(.cm-shortcuts,.community-roster) {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(54px, 1fr);
  min-inline-size: 0;
  max-inline-size: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cm-h5-directory :is(.cm-shortcuts,.community-roster) a {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 4px;
  color: inherit;
  font-size: .75rem;
  text-align: center;
}
.cm-h5-directory :is(.cm-shortcuts,.community-roster) img {
  border-radius: 50%;
  object-fit: cover;
}
.cm-h5-directory :is(.cm-official-accounts,.cm-community-rules) { margin-block-start: 0; }

@media (min-width: 761px) {
  .cm-discovery .community-aside {
    max-block-size: calc(100dvh - 40px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
  }
}

@media (max-width: 760px) {
  .cm-feed-heading h1 { font-size: clamp(1.125rem, 5.9vw, 1.5rem); line-height: 1.2; }
  .cm-spotlight .cm-shortcuts {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(54px, 1fr);
    overflow-x: auto;
    scrollbar-width: thin;
    gap: 4px;
  }
  .cm-spotlight .cm-shortcuts a { font-size: .75rem; gap: 4px; }
  .cm-official-accounts,
  .cm-community-rules { margin-block-start: 9px; }
  .cm-official-accounts { padding: 8px 10px; }
  .cm-official-accounts h2 { margin-block-end: 3px; font-size: .89rem; }
  .cm-official-accounts .community-roster {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(55px, 1fr);
    overflow-x: auto;
    scrollbar-width: thin;
    gap: 3px;
  }
  .cm-official-accounts .community-roster img { inline-size: 29px; block-size: 29px; }
  .cm-official-accounts .community-roster span { font-size: .74rem; }
  .cm-community-rules summary { font-size: .875rem; }
}
