/* Classicspark 2.7.136 — posts, mobile channels, spectator profiles and ads. */

/* Link previews keep editorial presence without overflowing large viewports. */
.cs2766-post-card--detail .cs2766-post-card__link,
.cs2768-post-overlay .cs2766-post-card__link { overflow: hidden !important; }
.cs2766-post-card--detail .cs2766-post-card__link > img {
  width: 100% !important;
  height: clamp(340px, 43vh, 470px) !important;
  max-height: 470px !important;
  object-fit: cover !important;
  object-position: center !important;
}
.cs2768-post-overlay .cs2766-post-card__link > img {
  width: 100% !important;
  height: clamp(330px, 42vh, 455px) !important;
  max-height: 455px !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Individual post conversation follows the full height of the publication. */
.cs2766-entry-layout { align-items: stretch !important; }
.cs2766-entry-comments {
  align-self: stretch !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
}
.cs2766-entry-comments__scroll { flex: 1 1 auto !important; min-height: 260px !important; }
.cs2766-comment-composer--detail,
.cs2766-comment-composer--detail .cs2766-comment-composer__actions { overflow: visible !important; }
.cs2766-comment-composer--detail .cs2766-comment-composer__actions {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: 100% !important;
  padding: 0 !important;
}
.cs2766-comment-composer--detail .cs2772-comment-emoji {
  position: static !important;
  inset: auto !important;
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 46px !important;
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}
.cs2766-comment-composer--detail .cs2772-comment-emoji i { display: block !important; line-height: 1 !important; }
.cs2766-comment-composer--detail button[data-composer-submit] { min-height: 46px !important; height: 46px !important; margin: 0 !important; }

/* Individual publication: one deliberate, consistent composer action bar. */
.cs2766-entry-comments .cs2766-comment-composer--detail .cs2766-comment-composer__actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 9px !important;
}
.cs2766-entry-comments .cs2766-comment-composer--detail button.cs2772-comment-emoji {
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 46px !important;
  width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 !important;
  border: 1px solid #ead9df !important;
  border-radius: 12px !important;
  background: #fff6f8 !important;
  color: #c90035 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
.cs2766-entry-comments .cs2766-comment-composer--detail button.cs2772-comment-emoji i {
  margin: 0 !important;
  color: inherit !important;
  font-size: 18px !important;
}
.cs2766-entry-comments .cs2766-comment-composer--detail button.cs2772-comment-emoji:hover,
.cs2766-entry-comments .cs2766-comment-composer--detail button.cs2772-comment-emoji:focus-visible {
  border-color: rgba(201, 0, 53, .38) !important;
  background: #fde9ef !important;
  outline: 3px solid rgba(201, 0, 53, .10) !important;
  outline-offset: 1px !important;
}
.cs2766-entry-comments .cs2766-comment-composer--detail button.cs2766-comment-composer__send {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 118px !important;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 17px !important;
  border: 1px solid #c90035 !important;
  border-radius: 12px !important;
  background: #c90035 !important;
  color: #fff !important;
  font: 13px gilroy-semibold, Arial, sans-serif !important;
  box-shadow: 0 8px 18px rgba(201, 0, 53, .16) !important;
  opacity: 1 !important;
}
.cs2766-entry-comments .cs2766-comment-composer--detail button.cs2766-comment-composer__send i,
.cs2766-entry-comments .cs2766-comment-composer--detail button.cs2766-comment-composer__send span {
  margin: 0 !important;
  color: inherit !important;
}
.cs2766-entry-comments .cs2766-comment-composer--detail button.cs2766-comment-composer__send:disabled {
  border-color: #e4d9dd !important;
  background: #eee8ea !important;
  color: #8a7f84 !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}
.cs2766-entry-comments .cs2766-comment-composer--detail button.cs2766-comment-composer__send:not(:disabled):hover,
.cs2766-entry-comments .cs2766-comment-composer--detail button.cs2766-comment-composer__send:not(:disabled):focus-visible {
  border-color: #ad002e !important;
  background: #ad002e !important;
  box-shadow: 0 10px 22px rgba(201, 0, 53, .22) !important;
  outline: 3px solid rgba(201, 0, 53, .10) !important;
  outline-offset: 1px !important;
}

/* The private desktop navigation exposes the three community destinations. */
@media (min-width: 1101px) {
  .cs-nav--private > .cs-nav__link { white-space: nowrap; }
  .cs-nav--private { gap: clamp(10px, 1.05vw, 20px) !important; }
}

/* Spectator profiles use self-contained cards instead of legacy accordions. */
.cs2136-spectator-profile { width: min(1400px, calc(100% - 36px)); margin: 20px auto 70px; color: #302d42; font-family: gilroy-regular, sans-serif; }
.cs2136-spectator-profile * { box-sizing: border-box; }
.cs2136-spectator-layout { display: grid; grid-template-columns: minmax(240px, 310px) minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 20px; }
.cs2136-spectator-sidebar { display: grid; gap: 16px; position: sticky; top: 92px; }
.cs2136-spectator-card { overflow: hidden; border: 1px solid #e8dfe1; border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgba(49,34,40,.05); }
.cs2136-spectator-card > header { display: flex; align-items: center; gap: 10px; padding: 18px 20px; border-bottom: 1px solid #eee6e8; background: linear-gradient(110deg,#fff 35%,#fff5f7); }
.cs2136-spectator-card > header i { color: #c90035; font-size: 17px; }
.cs2136-spectator-card h2 { margin: 0; font: 18px gilroy-semibold, sans-serif; }
.cs2136-spectator-card nav { display: grid; padding: 8px; }
.cs2136-spectator-card nav a { display: grid; grid-template-columns: 24px minmax(0,1fr) 16px; gap: 10px; align-items: center; min-height: 46px; padding: 8px 12px; border-radius: 11px; color: #4f4850; text-decoration: none; }
.cs2136-spectator-card nav a:hover { background: #fff0f3; color: #c90035; }
.cs2136-spectator-card nav a > i:first-child { color: #c90035; text-align: center; }
.cs2136-spectator-card nav a > i:last-child { color: #9b9297; }
.cs2136-spectator-about p { margin: 0; padding: 18px 20px 22px; color: #716970; font-size: 15px; line-height: 1.65; }
.cs2136-spectator-posts { min-width: 0; }
.cs2136-spectator-posts > #divEntries { width: 100% !important; }

/* Ads: preserve document flow and use full-resolution artwork. */
.cs2136-ads-page { height: auto !important; min-height: calc(100vh - 150px) !important; overflow: visible !important; padding-bottom: 92px !important; }
.cs2136-ads-page .cs27-collection-panel,
.cs2136-ads-page .cs27-managed-grid,
.cs2136-ads-page .cs27-managed-batch { height: auto !important; max-height: none !important; overflow: visible !important; }
.cs2136-ads-page .cs27-managed-grid--ads { padding-bottom: 28px; }
.cs2136-ads-page .cs27-managed-card__image img { width: 100% !important; height: 100% !important; object-fit: cover !important; image-rendering: auto !important; }

.cs2136-channel-mobile-bar { display: none; }

/* Spectator profiles follow the same left/content/right rhythm as musicians. */
.cs2136-spectator-layout{grid-template-columns:minmax(230px,280px) minmax(0,1fr) minmax(230px,280px)!important}
.cs2136-spectator-sidebar--right{grid-column:3}
@media(max-width:1100px){.cs2136-spectator-layout{grid-template-columns:minmax(230px,280px) minmax(0,1fr)!important}.cs2136-spectator-posts{grid-column:1/-1;grid-row:1}.cs2136-spectator-sidebar{position:static!important;grid-row:2}.cs2136-spectator-sidebar--right{grid-column:2}}
@media (max-width: 900px) {
  .cs2766-entry-comments { height: auto !important; min-height: 520px !important; }
  .cs2136-spectator-layout { grid-template-columns: 1fr; }
  .cs2136-spectator-sidebar { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .cs2766-post-card--detail .cs2766-post-card__link > img,
  .cs2768-post-overlay .cs2766-post-card__link > img {
    height: clamp(260px, 68vw, 350px) !important;
    max-height: 350px !important;
  }
  .cs2136-spectator-profile { width: calc(100% - 20px); margin-top: 10px; }
  .cs2136-spectator-sidebar { grid-template-columns: 1fr; }
  .cs2136-spectator-layout { grid-template-columns: 1fr !important; }
  .cs2136-spectator-posts,.cs2136-spectator-sidebar,.cs2136-spectator-sidebar--right { grid-column: 1 !important; }
  .cs2136-spectator-sidebar--right { grid-row: 3; }
}

/* On phones Channels becomes a dedicated application surface. */
@media (max-width: 600px) {
  body.cs2136-channel-page { width: 100%; height: 100dvh; min-height: 100dvh; overflow: hidden !important; background: #fff; }
  body.cs2136-channel-page > .cs-header,
  body.cs2136-channel-page > .nav-containerLogged,
  body.cs2136-channel-page > footer,
  body.cs2136-channel-page > .cs-footer { display: none !important; }
  body.cs2136-channel-page > .cs-channels-page {
    display: grid !important;
    grid-template-rows: auto minmax(0,1fr) !important;
    width: 100% !important;
    max-width: none !important;
    height: 100dvh !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .cs2136-channel-mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: max(10px, env(safe-area-inset-top)) 12px 10px; border-bottom: 1px solid #eadfe1; background: #fff; }
  .cs2136-channel-mobile-bar a,
  .cs2136-channel-mobile-bar button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 10px; border: 1px solid #e5d7db; border-radius: 12px; background: #fff; color: #c90035; font: 14px gilroy-semibold, sans-serif; text-decoration: none; }
  .cs2136-channel-mobile-bar button { border-color: #c90035; background: #c90035; color: #fff; }
  .cs-channels-page .cs-channels-hero { display: none !important; }
  .cs-channels-page .cs-channels-workspace { min-height: 0 !important; height: 100% !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; overflow: hidden !important; }
}
