.pm-social-board {
  --pm-sb-ink: #242124;
  --pm-sb-muted: #77716e;
  --pm-sb-line: #eee6df;
  --pm-sb-surface: #ffffff;
  --pm-sb-soft: #faf6f2;
  --pm-sb-accent: #d71920;
  --pm-sb-radius: 18px;
  color: var(--pm-sb-ink);
  width: 100%;
  max-width: none;
  margin: 24px auto;
  font-size: 17px;
  line-height: 1.5;
}
.pm-social-board * { box-sizing: border-box; }
.pm-social-board a { text-decoration: none; }
.pm-social-board button,
.pm-social-board input,
.pm-social-board textarea { font: inherit; }
.pm-social-board button { cursor: pointer; }
.pm-social-board .pm-sb-header {
  display: flex; align-items: center; gap: 14px; margin: 0 0 20px; padding: 4px 2px;
}
.pm-social-board .pm-sb-brand-mark {
  display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px;
  border-radius: 16px; background: #172b4d; color: #fff; font-size: 18px; font-weight: 800; letter-spacing: -.06em;
}
.pm-social-board .pm-sb-heading h2 { margin: 0 0 3px; font-size: clamp(25px, 4vw, 31px); line-height: 1.15; font-weight: 800; letter-spacing: -.035em; }
.pm-social-board .pm-sb-heading p { margin: 0; color: var(--pm-sb-muted); font-size: 15px; }
.pm-social-board .pm-sb-composer,
.pm-social-board .pm-sb-login-prompt,
.pm-social-board .pm-sb-post,
.pm-social-board .pm-sb-empty {
  border: 1px solid var(--pm-sb-line); background: var(--pm-sb-surface); border-radius: var(--pm-sb-radius);
  box-shadow: 0 5px 22px rgba(25, 36, 55, .045);
}
.pm-social-board .pm-sb-composer { padding: 18px; margin-bottom: 24px; }
.pm-social-board .pm-sb-composer-wrap { margin-bottom: 24px; border: 1px solid var(--pm-sb-line); background: var(--pm-sb-surface); border-radius: var(--pm-sb-radius); box-shadow: 0 5px 22px rgba(25, 36, 55, .045); overflow: hidden; }
.pm-social-board .pm-sb-composer-wrap > .pm-sb-composer-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 16px 18px; min-height: 62px; color: var(--pm-sb-ink); font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.pm-social-board .pm-sb-composer-wrap > .pm-sb-composer-toggle::-webkit-details-marker { display: none; }
.pm-social-board .pm-sb-composer-wrap > .pm-sb-composer-toggle:focus-visible { outline: 3px solid rgba(215, 25, 32, .2); outline-offset: -3px; }
.pm-social-board .pm-sb-composer-toggle-label { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.pm-social-board .pm-sb-composer-pen { display: inline-grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 9px; background: #fff0f0; color: var(--pm-sb-accent); }
.pm-social-board .pm-sb-composer-pen svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pm-social-board .pm-sb-composer-wrap > .pm-sb-composer-toggle:hover .pm-sb-composer-pen,
.pm-social-board .pm-sb-composer-wrap > .pm-sb-composer-toggle:focus-visible .pm-sb-composer-pen { background: #ffe6e4; color: #b8131a; }
.pm-social-board .pm-sb-composer-toggle-icon { font-size: 24px; line-height: 1; color: var(--pm-sb-muted); transition: transform .15s ease; }
.pm-social-board .pm-sb-composer-wrap[open] > .pm-sb-composer-toggle { border-bottom: 1px solid var(--pm-sb-line); }
.pm-social-board .pm-sb-composer-wrap[open] .pm-sb-composer-toggle-icon { transform: rotate(180deg); }
.pm-social-board .pm-sb-composer-wrap > .pm-sb-composer { margin: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.pm-social-board .pm-sb-composer-top { display: flex; align-items: flex-start; gap: 12px; }
.pm-social-board .pm-sb-avatar { border-radius: 50%; display: block; flex: 0 0 auto; }
.pm-social-board .pm-sb-composer textarea {
  min-height: 84px; width: 100%; resize: vertical; border: 0; outline: none; background: transparent;
  color: var(--pm-sb-ink); padding: 8px 0; box-shadow: none;
}
.pm-social-board .pm-sb-composer textarea:focus { box-shadow: none; }
.pm-social-board .pm-sb-composer textarea::placeholder { color: #8b929d; }
.pm-social-board .pm-sb-composer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--pm-sb-line); margin-top: 12px; padding-top: 13px; }
.pm-social-board .pm-sb-upload-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; }
.pm-social-board .pm-sb-upload-label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; color: #48566b; font-size: 15px; font-weight: 650; }
.pm-social-board .pm-sb-upload-label > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #fff0f0; color: var(--pm-sb-accent); font-size: 22px; line-height: 1; }
.pm-social-board .pm-sb-file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.pm-social-board .pm-sb-file-input:focus-visible + span { outline: 2px solid var(--pm-sb-accent); }
.pm-social-board .pm-sb-file-name { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--pm-sb-muted); font-size: 13px; }
.pm-social-board .pm-sb-button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; border: 0; border-radius: 999px; padding: 9px 20px; font-size: 15px; line-height: 1.2; font-weight: 750; transition: background .15s ease, transform .15s ease; }
.pm-social-board .pm-sb-button:active { transform: translateY(1px); }
.pm-social-board .pm-sb-button-primary { background: var(--pm-sb-accent); color: #fff; }
.pm-social-board .pm-sb-button-primary:hover { background: #b8131a; color: #fff; }
.pm-social-board .pm-sb-helper { margin: 10px 0 0; font-size: 13px; color: var(--pm-sb-muted); }
.pm-social-board .pm-sb-login-prompt { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px; margin-bottom: 24px; }
.pm-social-board .pm-sb-login-copy { display: flex; flex-direction: column; gap: 3px; }
.pm-social-board .pm-sb-login-copy strong { font-size: 16px; }
.pm-social-board .pm-sb-login-copy span { color: var(--pm-sb-muted); font-size: 14px; }
.pm-social-board .pm-sb-notice { border: 1px solid #cbd8f5; background: #f1f5ff; color: #214b94; padding: 12px 15px; border-radius: 12px; margin: 0 0 18px; font-size: 15px; }
.pm-social-board .pm-sb-feed-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 12px; }
.pm-social-board .pm-sb-feed-heading h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.pm-social-board .pm-sb-feed-heading > span { color: var(--pm-sb-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.pm-social-board .pm-sb-post-list { display: grid; gap: 16px; }
.pm-social-board .pm-sb-post { overflow: hidden; padding: 18px 18px 0; }
.pm-social-board .pm-sb-post-head { display: flex; align-items: center; gap: 11px; min-width: 0; }
.pm-social-board .pm-sb-author-avatar { flex: 0 0 auto; }
.pm-social-board .pm-sb-author-info { display: flex; flex-direction: column; min-width: 0; flex: 1; gap: 1px; }
.pm-social-board .pm-sb-author-info strong { font-size: 15px; font-weight: 750; overflow-wrap: anywhere; }
.pm-social-board .pm-sb-author-info span { font-size: 13px; color: var(--pm-sb-muted); }
.pm-social-board .pm-sb-delete-form { margin-left: auto; }
.pm-social-board .pm-sb-delete-form button { display: grid; place-items: center; border: 0; background: transparent; color: #7b8490; border-radius: 9px; width: 34px; height: 34px; font-size: 24px; letter-spacing: 2px; }
.pm-social-board .pm-sb-delete-form button:hover { background: var(--pm-sb-soft); }
.pm-social-board .pm-sb-post-content { margin: 14px 0 16px; overflow-wrap: anywhere; font-size: 16px; }
.pm-social-board .pm-sb-post-content p { margin: 0 0 10px; }
.pm-social-board .pm-sb-post-content p:last-child { margin-bottom: 0; }
.pm-social-board .pm-sb-post-content a { color: var(--pm-sb-accent); text-decoration: underline; text-underline-offset: 2px; }
.pm-social-board .pm-sb-post-media { margin: 0 -18px; background: #f0f2f5; }
.pm-social-board .pm-sb-post-media img { display: block; width: 100%; height: auto; max-height: 680px; object-fit: contain; margin: 0 auto; }
.pm-social-board .pm-sb-engagement-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; color: var(--pm-sb-muted); font-size: 13px; }
.pm-social-board .pm-sb-like-summary { display: inline-flex; align-items: center; gap: 5px; }
.pm-social-board .pm-sb-like-summary > span:first-child { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #fff0f0; color: var(--pm-sb-accent); font-size: 12px; }
.pm-social-board .pm-sb-post-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--pm-sb-line); border-bottom: 1px solid var(--pm-sb-line); }
.pm-social-board .pm-sb-action { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; border: 0; border-radius: 8px; background: transparent; color: #68717d; font-size: 14px; font-weight: 700; }
.pm-social-board .pm-sb-action:hover { background: var(--pm-sb-soft); color: var(--pm-sb-ink); }
.pm-social-board .pm-sb-like-button { transition: color .15s ease, background .15s ease; }
.pm-social-board .pm-sb-action-icon { width: 19px; height: 19px; flex: 0 0 19px; display: inline-block; color: currentColor; transition: transform .16s ease, opacity .16s ease; }
.pm-social-board .pm-sb-action-icon--share { width: 20px; height: 20px; flex-basis: 20px; }
.pm-social-board .pm-sb-action:hover .pm-sb-action-icon,
.pm-social-board .pm-sb-action:focus-visible .pm-sb-action-icon { transform: translateY(-1px) scale(1.06); }
.pm-social-board .pm-sb-like-button.is-liked .pm-sb-action-icon--like path { fill: currentColor; }
.pm-social-board .pm-sb-action-icon--share path:last-child { stroke-dasharray: 3.5 2.5; }
.pm-social-board .pm-sb-like-button.is-liked { color: var(--pm-sb-accent); background: #fff4f3; }
.pm-social-board .pm-sb-like-button:focus-visible { outline: 2px solid rgba(215, 25, 32, .35); outline-offset: 2px; }
.pm-social-board .pm-sb-like-button.is-loading { opacity: .65; }
.pm-social-board .pm-sb-like-button:disabled { cursor: wait; }
.pm-social-board .pm-sb-comments { padding: 12px 0 14px; }
.pm-social-board .pm-sb-view-comments { display: inline-block; color: var(--pm-sb-muted); font-size: 13px; font-weight: 650; margin: 0 0 10px 2px; }
.pm-social-board .pm-sb-comment { display: flex; align-items: flex-start; gap: 8px; margin: 9px 0; }
.pm-social-board .pm-sb-comment-bubble { min-width: 0; background: var(--pm-sb-soft); border-radius: 5px 14px 14px 14px; padding: 8px 12px; }
.pm-social-board .pm-sb-comment-bubble strong { display: block; margin: 0 0 2px; font-size: 13px; font-weight: 750; }
.pm-social-board .pm-sb-comment-bubble p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.pm-social-board .pm-sb-comment-form { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.pm-social-board .pm-sb-comment-form input[type="text"] { flex: 1; min-width: 0; height: 37px; border: 1px solid var(--pm-sb-line); background: var(--pm-sb-soft); border-radius: 999px; padding: 7px 13px; color: var(--pm-sb-ink); box-shadow: none; font-size: 14px; }
.pm-social-board .pm-sb-comment-form input[type="text"]:focus { outline: 2px solid rgba(215, 25, 32, .16); border-color: #e9a5a7; }
.pm-social-board .pm-sb-comment-form > button[type="submit"] { flex: 0 0 34px; display: grid; place-items: center; height: 34px; border: 0; border-radius: 50%; background: #fff0f0; color: var(--pm-sb-accent); }
.pm-social-board .pm-sb-empty { padding: 36px 20px; text-align: center; }
.pm-social-board .pm-sb-empty-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 12px; background: #edf3ff; border-radius: 50%; color: var(--pm-sb-accent); font-size: 25px; }
.pm-social-board .pm-sb-empty strong { display: block; font-size: 17px; }
.pm-social-board .pm-sb-empty p { margin: 5px 0 0; color: var(--pm-sb-muted); font-size: 14px; }
.pm-social-board .pm-sb-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin: 22px 0; }
.pm-social-board .pm-sb-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 11px; border-radius: 999px; background: var(--pm-sb-surface); border: 1px solid var(--pm-sb-line); color: var(--pm-sb-ink); font-size: 14px; }
.pm-social-board .pm-sb-pagination .page-numbers.current { background: var(--pm-sb-accent); border-color: var(--pm-sb-accent); color: #fff; }
.pm-social-board .pm-sb-footer { padding: 18px 10px 4px; text-align: center; color: #9299a3; font-size: 13px; }
@media (max-width: 600px) {
  .pm-social-board { margin: 14px auto; font-size: 16px; }
  .pm-social-board .pm-sb-header { gap: 11px; margin-bottom: 16px; }
  .pm-social-board .pm-sb-brand-mark { flex-basis: 44px; width: 44px; height: 44px; border-radius: 13px; }
  .pm-social-board .pm-sb-heading h2 { font-size: 25px; }
  .pm-social-board .pm-sb-heading p { font-size: 13px; }
  .pm-social-board .pm-sb-composer-wrap > .pm-sb-composer-toggle { padding: 14px 15px; min-height: 56px; }
  .pm-social-board .pm-sb-composer { padding: 13px; }
  .pm-social-board .pm-sb-composer-top { gap: 9px; }
  .pm-social-board .pm-sb-composer textarea { min-height: 72px; }
  .pm-social-board .pm-sb-composer-bottom { align-items: flex-start; }
  .pm-social-board .pm-sb-upload-label { font-size: 13px; }
  .pm-social-board .pm-sb-button { min-height: 37px; padding: 8px 15px; }
  .pm-social-board .pm-sb-post { padding: 14px 13px 0; border-radius: 14px; }
  .pm-social-board .pm-sb-post-media { margin: 0 -13px; }
  .pm-social-board .pm-sb-post-content { font-size: 15px; }
  .pm-social-board .pm-sb-login-prompt { align-items: flex-start; padding: 14px; }
  .pm-social-board .pm-sb-login-copy span { max-width: 230px; }
}


/* PublicMusic.it visual refresh — wider feed, warm neutrals and brand red. */
.pm-social-board .pm-sb-composer,
.pm-social-board .pm-sb-login-prompt,
.pm-social-board .pm-sb-post,
.pm-social-board .pm-sb-empty {
  border-color: #eee5dc;
  box-shadow: 0 5px 24px rgba(77, 44, 28, .055);
}
.pm-social-board .pm-sb-composer textarea::placeholder { color: #918984; }
.pm-social-board .pm-sb-post-media { background: #f7f2ed; }
.pm-social-board .pm-sb-post-actions { border-color: #eee6df; }
.pm-social-board .pm-sb-action { min-height: 46px; }
.pm-social-board .pm-sb-action:hover { background: #fbf4f0; }
.pm-social-board .pm-sb-like-button.is-liked:hover { background: #ffebe9; color: #b8131a; }
.pm-social-board .pm-sb-notice { border-color: #f0c8c8; background: #fff7f6; color: #8c2024; }
.pm-social-board .pm-sb-comment-form input[type="text"]:focus { border-color: #e9a5a7; }
@media (max-width: 600px) {
  .pm-social-board { width: 100%; margin: 14px auto; }
}

/* PublicMusic Social Board 1.1.1 — rock stickers and modern emoji. */
.pm-social-board .pm-sb-composer-tools { margin-top: 12px; }
.pm-social-board .pm-sb-media-tools,
.pm-social-board .pm-sb-social-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pm-social-board .pm-sb-media-tools { padding-bottom: 10px; }
.pm-social-board .pm-sb-social-tools { padding-bottom: 8px; }
.pm-social-board .pm-sb-tool-button,
.pm-social-board .pm-sb-picker summary {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 36px; padding: 7px 12px; border: 1px solid #eee5dc; border-radius: 999px;
  background: #fff; color: #514943; font-size: 14px; font-weight: 700; line-height: 1.2;
}
.pm-social-board .pm-sb-tool-button:hover,
.pm-social-board .pm-sb-picker summary:hover { background: #fff7f4; border-color: #e9c9c1; color: var(--pm-sb-accent); }
.pm-social-board .pm-sb-file-name { font-size: 13px; }
.pm-social-board .pm-sb-file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.pm-social-board .pm-sb-picker { position: relative; }
.pm-social-board .pm-sb-picker summary { list-style: none; cursor: pointer; user-select: none; }
.pm-social-board .pm-sb-picker summary::-webkit-details-marker { display: none; }
.pm-social-board .pm-sb-picker[open] summary { border-color: #e9b9b6; background: #fff7f6; color: var(--pm-sb-accent); }
.pm-social-board .pm-sb-picker-panel {
  position: absolute; z-index: 30; top: calc(100% + 7px); left: 0; width: min(340px, calc(100vw - 44px));
  padding: 10px; border: 1px solid #303030; border-radius: 14px; background: #171717;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .28);
}
.pm-social-board .pm-sb-emoji-panel { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; background: #171717; border-color: #303030; }
.pm-social-board .pm-sb-emoji-option {
  display: grid; place-items: center; min-width: 0; min-height: 39px; padding: 3px; border: 0;
  border-radius: 10px; background: #242424; color: #fff; font-size: 24px; line-height: 1.2; transition: transform .12s ease, background .12s ease;
}
.pm-social-board .pm-sb-emoji-option:hover { background: #4b171a; transform: translateY(-1px); }
.pm-social-board .pm-sb-sticker-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pm-social-board .pm-sb-sticker-option {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 72px;
  padding: 8px 5px; border: 1px solid #373737; border-radius: 12px; background: linear-gradient(145deg, #282828, #171717); color: #f4f4f4;
  font-size: 12px; line-height: 1.2; transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.pm-social-board .pm-sb-sticker-option:hover,
.pm-social-board .pm-sb-sticker-option.is-selected { border-color: #ed343b; background: linear-gradient(145deg, #4b171a, #191919); box-shadow: 0 0 0 2px rgba(215, 25, 32, .18); transform: translateY(-1px); }
.pm-social-board .pm-sb-sticker-option-emoji { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #4b3435; border-radius: 13px; background: radial-gradient(circle at 50% 28%, #4b2022, #211719 75%); font-size: 28px; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .26)); }
.pm-social-board .pm-sb-sticker-clear { grid-column: 1 / -1; padding: 8px; border: 1px solid #343434; border-radius: 9px; background: #222; color: #ddd; font-size: 13px; }
.pm-social-board .pm-sb-sticker-clear:hover { background: #3a1719; color: #fff; }
.pm-social-board .pm-sb-sticker-status { color: var(--pm-sb-muted); font-size: 13px; }
.pm-social-board .pm-sb-media-preview {
  display: flex; align-items: center; gap: 10px; margin: 8px 0 2px; padding: 10px;
  border: 1px solid #eee5dc; border-radius: 12px; background: #fcfaf8; color: var(--pm-sb-muted); font-size: 13px;
}
.pm-social-board .pm-sb-media-preview[hidden] { display: none !important; }
.pm-social-board .pm-sb-media-preview img,
.pm-social-board .pm-sb-media-preview video { display: block; width: auto; max-width: min(190px, 48%); max-height: 130px; border-radius: 8px; }
.pm-social-board .pm-sb-media-preview audio { display: block; width: min(420px, 100%); max-width: 100%; }
.pm-social-board .pm-sb-preview-label { overflow-wrap: anywhere; }
.pm-social-board .pm-sb-composer-bottom { align-items: center; }
.pm-social-board .pm-sb-composer-bottom .pm-sb-helper { flex: 1; margin: 0; }
.pm-social-board .pm-sb-post-video video { display: block; width: 100%; max-height: 720px; background: #101010; }
.pm-social-board .pm-sb-post-audio {
  display: flex; align-items: center; gap: 14px; margin: 14px 0 16px; padding: 15px;
  border: 1px solid #eee5dc; border-radius: 14px; background: linear-gradient(135deg, #fff9f6, #fff);
}
.pm-social-board .pm-sb-audio-icon {
  display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px;
  background: #fff0ed; color: var(--pm-sb-accent); font-size: 27px; font-weight: 800;
}
.pm-social-board .pm-sb-audio-player { min-width: 0; flex: 1; }
.pm-social-board .pm-sb-audio-player strong { display: block; margin-bottom: 6px; font-size: 14px; overflow-wrap: anywhere; }
.pm-social-board .pm-sb-audio-player audio { display: block; width: 100%; max-width: 100%; }
.pm-social-board .pm-sb-post-sticker {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 150px; margin: 12px 0 16px; padding: 18px 15px 15px;
  border: 1px solid #393033; border-radius: 17px;
  background: radial-gradient(circle at 50% 35%, #472024 0, #211719 42%, #111 100%); text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 20px rgba(0,0,0,.12);
}
.pm-social-board .pm-sb-post-sticker::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #8d1016, #ff4249, #8d1016); }
.pm-social-board .pm-sb-sticker-art { font-size: clamp(64px, 9vw, 92px); line-height: 1.1; filter: drop-shadow(0 5px 4px rgba(0,0,0,.5)); }
.pm-social-board .pm-sb-sticker-caption { display: block; margin-top: 9px; color: #f4e9e9; font-size: 11px; font-weight: 800; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
@media (max-width: 600px) {
  .pm-social-board .pm-sb-media-tools { gap: 6px; }
  .pm-social-board .pm-sb-tool-button,
  .pm-social-board .pm-sb-picker summary { min-height: 35px; padding: 7px 10px; font-size: 13px; }
  .pm-social-board .pm-sb-composer-bottom { align-items: flex-end; gap: 10px; }
  .pm-social-board .pm-sb-composer-bottom .pm-sb-helper { font-size: 12px; }
  .pm-social-board .pm-sb-post-audio { gap: 10px; padding: 10px; }
  .pm-social-board .pm-sb-audio-icon { flex-basis: 40px; width: 40px; height: 40px; }
}


/* PublicMusic Social Board 1.1.3 — inline YouTube videos and Facebook Reels. */
.pm-social-board .pm-sb-post-embed {
  position: relative;
  width: 100%;
  margin: 14px 0 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #101010;
  isolation: isolate;
}
.pm-social-board .pm-sb-post-embed iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.pm-social-board .pm-sb-post-embed--vertical {
  width: min(100%, 440px);
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 9 / 16;
  max-height: 78vh;
}
.pm-social-board .pm-sb-post-embed--facebook-video {
  width: min(100%, 700px);
  margin-left: auto;
  margin-right: auto;
}
.pm-social-board .pm-sb-post-embed--facebook-reel {
  width: min(100%, 440px);
}
@media (max-width: 600px) {
  .pm-social-board .pm-sb-post-embed { border-radius: 9px; }
  .pm-social-board .pm-sb-post-embed--vertical { max-height: 74vh; }
}

/* PublicMusic Social Board 1.2.0 — in-site social notifications. */
.pm-social-board .pm-sb-notifications {
  position: relative;
  margin: 0 0 18px;
}
.pm-social-board .pm-sb-notification-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px;
}
.pm-social-board .pm-sb-notification-toolbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.pm-social-board .pm-sb-notification-heading {
  color: var(--pm-sb-muted);
  font-size: 14px;
  font-weight: 750;
}
.pm-social-board .pm-sb-notification-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 7px 13px;
  border: 1px solid #eee5dc;
  border-radius: 999px;
  background: #fff;
  color: var(--pm-sb-ink);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  box-shadow: 0 3px 12px rgba(77, 44, 28, .045);
}
.pm-social-board .pm-sb-push-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid #eee5dc;
  border-radius: 999px;
  background: #fff;
  color: var(--pm-sb-ink);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  box-shadow: 0 3px 12px rgba(77, 44, 28, .035);
}
.pm-social-board .pm-sb-push-toggle:hover,
.pm-social-board .pm-sb-push-toggle.is-active { border-color: #e9b9b6; background: #fff7f6; color: var(--pm-sb-accent); }
.pm-social-board .pm-sb-push-toggle.is-disabled { color: #9b948e; cursor: default; }
.pm-social-board .pm-sb-push-toggle[hidden] { display: none !important; }
.pm-social-board .pm-sb-notification-toggle:hover,
.pm-social-board .pm-sb-notification-toggle[aria-expanded="true"] {
  border-color: #e9b9b6;
  background: #fff7f6;
  color: var(--pm-sb-accent);
}
.pm-social-board .pm-sb-notification-bell { display: inline-grid; place-items: center; width: 20px; height: 20px; line-height: 0; color: currentColor; flex: 0 0 20px; }
.pm-social-board .pm-sb-notification-bell svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pm-social-board .pm-sb-notification-toggle:hover .pm-sb-notification-bell,
.pm-social-board .pm-sb-notification-toggle[aria-expanded="true"] .pm-sb-notification-bell { color: var(--pm-sb-accent); }
.pm-social-board .pm-sb-notification-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--pm-sb-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.pm-social-board .pm-sb-notification-count[hidden] { display: none !important; }
.pm-social-board .pm-sb-notification-panel {
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid #eee5dc;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(47, 31, 24, .09);
}
.pm-social-board .pm-sb-notification-panel[hidden] { display: none !important; }
.pm-social-board .pm-sb-notification-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 15px;
  border-bottom: 1px solid #eee5dc;
}
.pm-social-board .pm-sb-notification-panel-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.pm-social-board .pm-sb-notification-panel-head strong { font-size: 15px; font-weight: 800; }
.pm-social-board .pm-sb-notification-panel-head button {
  padding: 5px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--pm-sb-accent);
  font-size: 12px;
  font-weight: 750;
}
.pm-social-board .pm-sb-notification-panel-head button:hover { background: #fff2f1; }
.pm-social-board .pm-sb-notification-panel-head button:disabled { color: #aaa29c; cursor: default; }
.pm-social-board .pm-sb-notification-panel-head button[data-pm-notification-clear] { color: #8a3c34; }
.pm-social-board .pm-sb-notification-panel-head button[data-pm-notification-clear]:hover { background: #fff2f1; }
.pm-social-board .pm-sb-notification-list { max-height: 370px; overflow-y: auto; }
.pm-social-board .pm-sb-notification-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-bottom: 1px solid #f4eee9;
  color: var(--pm-sb-ink);
  text-decoration: none;
  transition: background .12s ease;
}
.pm-social-board .pm-sb-notification-item:last-child { border-bottom: 0; }
.pm-social-board .pm-sb-notification-item:hover { background: #fcf6f2; color: var(--pm-sb-ink); }
.pm-social-board .pm-sb-notification-item.is-unread { background: #fff7f6; }
.pm-social-board .pm-sb-notification-item.is-unread:hover { background: #fff0ee; }
.pm-social-board .pm-sb-notification-icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff0ee;
  color: var(--pm-sb-accent);
  font-size: 18px;
  font-weight: 800;
}
.pm-social-board .pm-sb-notification-icon--comment { background: #f1eee9; color: #655b52; }
.pm-social-board .pm-sb-notification-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; gap: 3px; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.pm-social-board .pm-sb-notification-copy strong { font-weight: 800; }
.pm-social-board .pm-sb-notification-comment-preview { display: block; color: #6f6762; font-size: 12px; font-style: italic; }
.pm-social-board .pm-sb-notification-time { display: block; color: #8c837d; font-size: 11px; }
.pm-social-board .pm-sb-notification-unread-dot { display: none; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--pm-sb-accent); }
.pm-social-board .pm-sb-notification-item.is-unread .pm-sb-notification-unread-dot { display: block; }
.pm-social-board .pm-sb-notification-empty { margin: 0; padding: 22px 15px; color: var(--pm-sb-muted); font-size: 14px; text-align: center; }
@media (max-width: 600px) {
  .pm-social-board .pm-sb-notification-toolbar { align-items: center; }
  .pm-social-board .pm-sb-notification-heading { font-size: 13px; }
  .pm-social-board .pm-sb-notification-toolbar-actions { gap: 6px; }
  .pm-social-board .pm-sb-notification-toggle { min-height: 38px; padding: 7px 11px; }
  .pm-social-board .pm-sb-push-toggle { min-height: 38px; padding: 7px 10px; font-size: 12px; }
  .pm-social-board .pm-sb-notification-panel-head { align-items: flex-start; }
  .pm-social-board .pm-sb-notification-panel-actions { gap: 5px; }
}


/* PublicMusic Social Board 1.2.1 — emoji, preset and custom stickers in comments. */
.pm-social-board .pm-sb-comment-form { align-items: flex-start; }
.pm-social-board .pm-sb-comment-compose { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.pm-social-board .pm-sb-comment-form input[type="text"] { width: 100%; flex: 0 1 auto; }
.pm-social-board .pm-sb-comment-form > button[type="submit"] { margin-top: 1px; }
.pm-social-board .pm-sb-comment-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; }
.pm-social-board .pm-sb-comment-tools .pm-sb-picker summary {
  display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 30px;
  padding: 4px 8px; border-radius: 999px; font-size: 17px;
}
.pm-social-board .pm-sb-comment-tools .pm-sb-picker-panel { top: calc(100% + 5px); }
.pm-social-board .pm-sb-comment-tools .pm-sb-emoji-panel { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pm-social-board .pm-sb-comment-tools .pm-sb-emoji-option { flex: initial; width: auto; height: auto; }
.pm-social-board .pm-sb-comment-tools .pm-sb-sticker-option { flex: initial; width: auto; height: auto; border-radius: 12px; }
.pm-social-board .pm-sb-comment-tools .pm-sb-sticker-clear { flex: 1 0 100%; width: 100%; height: auto; border-radius: 9px; }
.pm-social-board .pm-sb-comment-tool-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 30px; width: auto; height: auto;
  flex: initial; padding: 5px 9px; border: 1px solid #eee5dc; border-radius: 999px; background: #fff;
  color: #514943; font-size: 12px; line-height: 1.2; font-weight: 700;
}
.pm-social-board .pm-sb-comment-tool-button:hover { border-color: #e9b9b6; background: #fff7f6; color: var(--pm-sb-accent); }
.pm-social-board .pm-sb-comment-sticker-status { color: var(--pm-sb-muted); font-size: 11px; overflow-wrap: anywhere; }
.pm-social-board .pm-sb-comment-sticker-preview { margin: 2px 0 0; }
.pm-social-board .pm-sb-comment-sticker-preview[hidden] { display: none !important; }
.pm-social-board .pm-sb-comment-sticker-preview img { display: block; max-width: 130px; max-height: 130px; width: auto; height: auto; object-fit: contain; border-radius: 10px; }
.pm-social-board .pm-sb-comment-sticker {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 7px; padding: 7px 11px 7px 8px;
  border: 1px solid #47383b; border-radius: 12px; background: linear-gradient(135deg, #32191c, #111); color: #fff;
}
.pm-social-board .pm-sb-comment-sticker-emoji { font-size: 37px; line-height: 1.05; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }
.pm-social-board .pm-sb-comment-sticker small { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #f8dedf; }
.pm-social-board .pm-sb-custom-comment-sticker { display: block; width: auto; height: auto; max-width: min(180px, 100%); max-height: 180px; object-fit: contain; margin-top: 7px; border-radius: 10px; }
@media (max-width: 600px) {
  .pm-social-board .pm-sb-comment-tools { gap: 5px; }
  .pm-social-board .pm-sb-comment-tool-button { padding: 5px 7px; }
  .pm-social-board .pm-sb-comment-sticker-status { flex: 1 0 100%; }
  .pm-social-board .pm-sb-comment-form > button[type="submit"] { margin-top: 1px; }
}


/* PublicMusic Social Board 1.2.3 — clipboard stickers for posts and comments. */
.pm-social-board .pm-sb-post-custom-sticker-button { flex: 0 0 auto; }
.pm-social-board .pm-sb-post-sticker-status { color: var(--pm-sb-muted); font-size: 13px; margin-top: 5px; overflow-wrap: anywhere; }
.pm-social-board .pm-sb-post-sticker-preview { display: flex; align-items: flex-start; margin: 8px 0 2px; }
.pm-social-board .pm-sb-post-sticker-preview[hidden] { display: none !important; }
.pm-social-board .pm-sb-post-sticker-preview img { display: block; width: auto; height: auto; max-width: min(220px, 100%); max-height: 180px; object-fit: contain; border: 1px solid #eee5dc; border-radius: 12px; background: #fcfaf8; }
.pm-social-board .pm-sb-post-custom-sticker { margin: 12px 0 16px; }
.pm-social-board .pm-sb-post-custom-sticker img { display: block; width: auto; height: auto; max-width: min(280px, 100%); max-height: 340px; object-fit: contain; border-radius: 14px; }
.pm-social-board .pm-sb-picker-panel { z-index: 9999; max-height: min(52vh, 420px); overflow-y: auto; overscroll-behavior: contain; }
.pm-social-board .pm-sb-picker-panel.pm-sb-picker-panel--above { top: auto; bottom: calc(100% + 7px); }
.pm-social-board .pm-sb-picker-panel.pm-sb-picker-panel--align-right { left: auto; right: 0; }
.pm-social-board .pm-sb-post:has(.pm-sb-picker[open]),
.pm-social-board .pm-sb-post.pm-sb-has-open-picker { position: relative; z-index: 100; overflow: visible !important; }
.pm-social-board .pm-sb-composer:has(.pm-sb-picker[open]),
.pm-social-board .pm-sb-composer.pm-sb-has-open-picker { position: relative; z-index: 90; overflow: visible; }
@media (max-width: 600px) {
  .pm-social-board .pm-sb-post-sticker-preview img { max-width: min(170px, 100%); max-height: 150px; }
  .pm-social-board .pm-sb-post-custom-sticker img { max-width: min(240px, 100%); max-height: 300px; }
}

/* Clipboard paste hints for custom WhatsApp stickers. */
.pm-social-board .pm-sb-paste-hint {
  display: block;
  flex: 1 0 100%;
  width: 100%;
  margin: 5px 0 0;
  color: var(--pm-sb-muted);
  font-size: 12px;
  line-height: 1.45;
}

/* PublicMusic Social Board 1.2.4 — drag-and-drop media for posts and comments. */
.pm-social-board .pm-sb-drop-target { position: relative; }
.pm-social-board .pm-sb-drop-target.pm-sb-drop-active {
  outline: 2px dashed var(--pm-sb-accent);
  outline-offset: -5px;
  background-color: #fff7f7;
}
.pm-social-board .pm-sb-drop-target.pm-sb-drop-active::after {
  content: "Rilascia qui foto, video o audio";
  position: absolute;
  inset: 8px;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px dashed rgba(215, 25, 32, .45);
  border-radius: 13px;
  background: rgba(255, 250, 250, .94);
  color: var(--pm-sb-accent);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  pointer-events: none;
}
.pm-social-board .pm-sb-comment-media-button { white-space: nowrap; }
.pm-social-board .pm-sb-comment-media-status {
  display: block;
  flex: 1 0 100%;
  min-width: 0;
  color: var(--pm-sb-muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.pm-social-board .pm-sb-comment-media-preview {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin: 7px 0 2px;
  padding: 7px;
  border: 1px solid var(--pm-sb-line);
  border-radius: 10px;
  background: var(--pm-sb-surface);
}
.pm-social-board .pm-sb-comment-media-preview[hidden] { display: none !important; }
.pm-social-board .pm-sb-comment-media-preview img,
.pm-social-board .pm-sb-comment-media-preview video {
  display: block;
  width: auto;
  height: auto;
  max-width: min(320px, 100%);
  max-height: 220px;
  object-fit: contain;
  border-radius: 8px;
}
.pm-social-board .pm-sb-comment-media-preview audio { display: block; width: min(380px, 100%); max-width: 100%; }
.pm-social-board .pm-sb-comment-media { margin-top: 7px; max-width: 100%; }
.pm-social-board .pm-sb-comment-media img,
.pm-social-board .pm-sb-comment-media video {
  display: block;
  width: auto;
  height: auto;
  max-width: min(360px, 100%);
  max-height: 340px;
  border-radius: 9px;
  object-fit: contain;
}
.pm-social-board .pm-sb-comment-media--audio audio { display: block; width: min(380px, 100%); max-width: 100%; }
@media (max-width: 600px) {
  .pm-social-board .pm-sb-drop-target.pm-sb-drop-active::after { inset: 5px; font-size: 14px; }
  .pm-social-board .pm-sb-comment-media-preview img,
  .pm-social-board .pm-sb-comment-media-preview video,
  .pm-social-board .pm-sb-comment-media img,
  .pm-social-board .pm-sb-comment-media video { max-width: 100%; max-height: 260px; }
}


/* PublicMusic Social Board 1.3.0 */
.pm-social-board .pm-sb-post-menu{position:relative;margin-left:auto}
.pm-social-board .pm-sb-post-menu>summary{list-style:none;cursor:pointer;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;font-weight:700;letter-spacing:2px;color:#666}
.pm-social-board .pm-sb-post-menu>summary::-webkit-details-marker{display:none}
.pm-social-board .pm-sb-post-menu>summary:hover{background:#f5f5f5;color:#111}
.pm-social-board .pm-sb-post-menu-panel{position:absolute;right:0;top:40px;z-index:80;min-width:150px;padding:6px;background:#fff;border:1px solid #e6e6e6;border-radius:12px;box-shadow:0 14px 35px rgba(0,0,0,.12)}
.pm-social-board .pm-sb-post-menu-action{display:block;width:100%;border:0;background:transparent;text-align:left;padding:9px 11px;border-radius:8px;cursor:pointer;font:inherit;color:#222}
.pm-social-board .pm-sb-post-menu-action:hover{background:#f3f3f3}
.pm-social-board .pm-sb-post-menu-action--danger{color:#d71920}
.pm-social-board .pm-sb-delete-form{margin:0}
.pm-social-board .pm-sb-edit-form{margin:10px 0 16px;padding:12px;border:1px solid #e8e8e8;border-radius:14px;background:#fafafa}
.pm-social-board .pm-sb-edit-form textarea{width:100%;min-height:100px;border:1px solid #ddd;border-radius:10px;padding:10px;box-sizing:border-box;font:inherit;resize:vertical;background:#fff}
.pm-social-board .pm-sb-edit-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.pm-social-board .pm-sb-button-secondary{background:#fff;color:#333;border:1px solid #ddd}
.pm-social-board .pm-sb-infinite-scroll{display:flex;justify-content:center;align-items:center;gap:10px;min-height:70px;padding:10px;color:#777;font-size:14px;cursor:pointer}
.pm-social-board .pm-sb-load-spinner{width:18px;height:18px;border:2px solid #ddd;border-top-color:#e21b23;border-radius:50%;animation:pm-sb-spin .75s linear infinite}
.pm-social-board .pm-sb-load-spinner[hidden]{display:none}
@keyframes pm-sb-spin{to{transform:rotate(360deg)}}
.pm-social-board .pm-sb-picker{z-index:100}
.pm-social-board .pm-sb-picker-panel{z-index:120;max-height:min(320px,calc(100vh - 24px));overflow:auto}
.pm-social-board .pm-sb-picker-panel--up{bottom:calc(100% + 8px);top:auto}
.pm-social-board .pm-sb-camera-modal{position:fixed;inset:0;z-index:99999}
.pm-social-board .pm-sb-camera-modal[hidden]{display:none}
.pm-social-board .pm-sb-camera-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.68)}
.pm-social-board .pm-sb-camera-dialog{position:relative;width:min(92vw,720px);margin:5vh auto 0;background:#111;color:#fff;border-radius:18px;overflow:hidden;box-shadow:0 24px 70px rgba(0,0,0,.4)}
.pm-social-board .pm-sb-camera-head-actions{display:flex;align-items:center;gap:8px}

.pm-social-board .pm-sb-camera-settings-toggle{display:none;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:#fff;border-radius:999px;padding:7px 11px;font:inherit;font-size:12px;cursor:pointer}
.pm-social-board .pm-sb-camera-settings-toggle[hidden]{display:none}
.pm-social-board .pm-sb-camera-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.12)}
.pm-social-board .pm-sb-camera-close{border:0;background:transparent;color:#fff;font-size:30px;line-height:1;cursor:pointer}
.pm-social-board .pm-sb-camera-stage{position:relative;z-index:1;isolation:isolate;overflow:hidden;aspect-ratio:16/9;background:#000;display:grid;place-items:center;flex:0 0 auto}
.pm-social-board .pm-sb-camera-stage video{width:100%;height:100%;object-fit:cover;display:block}
.pm-social-board .pm-sb-camera-status{position:absolute;left:12px;right:12px;bottom:12px;background:rgba(0,0,0,.6);border-radius:8px;padding:8px 10px;font-size:13px}
.pm-social-board .pm-sb-camera-actions{display:flex;gap:8px;flex-wrap:wrap;padding:14px 16px}

.pm-social-board .pm-sb-camera-devices{position:relative;z-index:4;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 16px 0;background:#111;isolation:isolate}
.pm-social-board .pm-sb-camera-devices[hidden]{display:none}
.pm-social-board .pm-sb-camera-devices label{display:flex;flex-direction:column;gap:6px;min-width:0}
.pm-social-board .pm-sb-camera-devices label span{font-size:12px;font-weight:700;color:#ddd;text-transform:uppercase;letter-spacing:.04em}
.pm-social-board .pm-sb-camera-devices select{width:100%;min-height:40px;padding:8px 10px;border:1px solid rgba(255,255,255,.18);border-radius:9px;background:#1c1c1c;color:#fff;font:inherit}
.pm-social-board .pm-sb-camera-devices select:disabled{opacity:.55}
.pm-social-board .pm-sb-camera-help{padding:0 16px 16px;margin:0;color:#cfcfcf;font-size:12px}
@media (max-width:640px){
  .pm-social-board .pm-sb-camera-dialog{width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:max(10px,env(safe-area-inset-bottom));display:flex;flex-direction:column}
      .pm-social-board .pm-sb-camera-head{position:sticky;top:0;z-index:3;background:#111;flex:0 0 auto}
  .pm-social-board .pm-sb-camera-stage{aspect-ratio:auto;height:auto;max-height:none;min-height:260px;overflow:hidden;flex:1 1 auto}
  .pm-social-board .pm-sb-camera-stage video{object-fit:contain;background:#000}
  .pm-social-board .pm-sb-camera-settings-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:34px}
  .pm-social-board .pm-sb-camera-devices{position:absolute;top:64px;left:12px;right:12px;z-index:8;grid-template-columns:1fr;gap:8px;padding:12px;background:rgba(17,17,17,.72);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.14);border-radius:14px;box-shadow:0 12px 34px rgba(0,0,0,.28);min-height:0;max-height:38dvh;overflow:auto}
  .pm-social-board .pm-sb-camera-devices[hidden]{display:none}
  .pm-social-board .pm-sb-camera-actions{padding-bottom:12px;position:relative;z-index:2;background:#111;flex:0 0 auto}
  .pm-social-board .pm-sb-camera-actions .pm-sb-button{flex:1 1 45%;min-height:44px}
  .pm-social-board .pm-sb-camera-settings-open .pm-sb-camera-stage{filter:none}
}

.pm-social-board .pm-sb-post.pm-sb-picker-open,
.pm-social-board .pm-sb-composer.pm-sb-picker-open,
.pm-social-board .pm-sb-comment-form.pm-sb-picker-open{overflow:visible}
.pm-social-board .pm-sb-post-menu[open] ~ .pm-sb-edit-form{position:relative}


/* PublicMusic Social Board 1.3.2 — typography and contrast polish. */
.pm-social-board {
  color: #211f1e;
}
.pm-social-board .pm-sb-post-content,
.pm-social-board .pm-sb-post-content p,
.pm-social-board .pm-sb-post-content li {
  color: #24211f !important;
  font-size: 17px;
  line-height: 1.62;
  font-weight: 450;
}
.pm-social-board .pm-sb-post-content p { margin-bottom: 11px; }
.pm-social-board .pm-sb-author-info strong {
  color: #24211f !important;
  font-size: 16px;
  line-height: 1.25;
}
.pm-social-board .pm-sb-author-info span {
  color: #6d655f !important;
  font-size: 13px;
  line-height: 1.35;
}
.pm-social-board .pm-sb-engagement-summary {
  color: #675e58;
  font-size: 14px;
}
.pm-social-board .pm-sb-action {
  color: #56504b !important;
  font-size: 15px;
  font-weight: 750;
}
.pm-social-board .pm-sb-action:hover,
.pm-social-board .pm-sb-action:focus-visible {
  color: #24211f !important;
}
.pm-social-board .pm-sb-like-button.is-liked,
.pm-social-board .pm-sb-like-button.is-liked:hover,
.pm-social-board .pm-sb-like-button.is-liked:focus-visible {
  color: var(--pm-sb-accent) !important;
}
.pm-social-board .pm-sb-comment-bubble {
  background: #f8f3ef;
  border: 1px solid #eee3da;
  padding: 9px 13px;
}
.pm-social-board .pm-sb-comment-bubble:has(.pm-sb-comment-embeds) {
  flex: 1 1 auto;
}
.pm-social-board .pm-sb-comment-bubble strong {
  color: #2a2623 !important;
  font-size: 14px;
}
.pm-social-board .pm-sb-comment-bubble p {
  color: #302c29 !important;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 450;
}
.pm-social-board .pm-sb-comment-form input[type="text"] {
  color: #2c2825 !important;
  font-size: 15px;
  border-color: #e5dbd3;
  background: #fbf8f5;
}
.pm-social-board .pm-sb-comment-form input[type="text"]::placeholder {
  color: #716963 !important;
  opacity: 1;
}
.pm-social-board .pm-sb-comment-tool-button,
.pm-social-board .pm-sb-tool-button {
  color: #49433f !important;
  border-color: #e4d9d0;
}
.pm-social-board .pm-sb-comment-media-status,
.pm-social-board .pm-sb-comment-sticker-status,
.pm-social-board .pm-sb-helper,
.pm-social-board .pm-sb-file-name {
  color: #746b65 !important;
}
.pm-social-board .pm-sb-post-menu > summary {
  color: #5f5853 !important;
  font-size: 22px;
  line-height: 1;
}
.pm-social-board .pm-sb-post-menu > summary:focus-visible {
  outline: 2px solid var(--pm-sb-accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(215,25,32,.10);
}
.pm-social-board .pm-sb-post-menu-panel {
  min-width: 160px;
  padding: 6px;
  border-color: #e4d9d0;
  box-shadow: 0 16px 36px rgba(58, 38, 28, .16);
}
.pm-social-board .pm-sb-post-menu-action {
  min-height: 38px;
  padding: 8px 12px;
  color: #26221f !important;
  font-size: 15px;
  line-height: 1.25 !important;
  font-weight: 650;
  white-space: nowrap;
}
.pm-social-board .pm-sb-post-menu-action:hover,
.pm-social-board .pm-sb-post-menu-action:focus-visible {
  background: #fbf3ef;
  color: #1f1c1a !important;
}
.pm-social-board .pm-sb-post-menu-action--danger,
.pm-social-board .pm-sb-post-menu-action--danger:hover,
.pm-social-board .pm-sb-post-menu-action--danger:focus-visible {
  color: #c5161d !important;
}
.pm-social-board .pm-sb-edit-form textarea {
  color: #2b2724 !important;
  font-size: 16px;
  line-height: 1.55;
}
.pm-social-board .pm-sb-infinite-scroll {
  color: #6b625c;
  font-size: 14px;
}
@media (max-width: 600px) {
  .pm-social-board .pm-sb-post-content,
  .pm-social-board .pm-sb-post-content p { font-size: 16px; line-height: 1.58; }
  .pm-social-board .pm-sb-comment-bubble p { font-size: 14px; }
  .pm-social-board .pm-sb-post-menu-action { font-size: 15px; }
}


/* PublicMusic Social Board 1.3.4 — uniform media sizing.
 * Images and videos fill the available post width while preserving
 * their intrinsic aspect ratio; no forced max-height/cropping.
 */
.pm-social-board .pm-sb-post-media {
  width: calc(100% + 36px);
  max-width: none;
  margin-left: -18px;
  margin-right: -18px;
  overflow: hidden;
  background: #f7f2ed;
}
.pm-social-board .pm-sb-post-media img,
.pm-social-board .pm-sb-post-media video {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 auto !important;
  object-fit: contain;
  object-position: center;
}
.pm-social-board .pm-sb-post-media--video video {
  aspect-ratio: auto;
}
@media (max-width: 600px) {
  .pm-social-board .pm-sb-post-media {
    width: calc(100% + 26px);
    margin-left: -13px;
    margin-right: -13px;
  }
  .pm-social-board .pm-sb-post-media img,
  .pm-social-board .pm-sb-post-media video {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
  }
}

/* PublicMusic Social Board 1.3.7 — upload/submission overlay. */
.pm-sb-submit-overlay{position:fixed!important;inset:0!important;z-index:2147483000!important;display:grid;place-items:center;width:100vw;height:100vh;height:100dvh;padding:24px;box-sizing:border-box;background:rgba(12,14,18,.60);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);touch-action:none;overscroll-behavior:none;}
.pm-sb-submit-overlay[hidden]{display:none!important}
html.pm-sb-is-submitting,html.pm-sb-is-submitting body,body.pm-sb-is-submitting{overflow:hidden!important;overscroll-behavior:none!important}
.pm-sb-submit-overlay-card{display:flex;align-items:center;gap:14px;min-width:min(360px,calc(100vw - 40px));max-width:520px;padding:18px 20px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:#171717;color:#fff;box-shadow:0 24px 70px rgba(0,0,0,.48);box-sizing:border-box;pointer-events:auto}
.pm-sb-submit-overlay-card strong{font-size:16px;line-height:1.25}
.pm-sb-submit-overlay-card span:last-child{display:block;margin-top:3px;color:#c9c9c9;font-size:13px;line-height:1.35}
.pm-sb-submit-spinner{width:24px;height:24px;flex:0 0 24px;border:3px solid rgba(255,255,255,.25);border-top-color:#ef1b2d;border-radius:50%;animation:pm-sb-spin .8s linear infinite}
@keyframes pm-sb-spin{to{transform:rotate(360deg)}}


/* PublicMusic Social Board 1.3.8 — image lightbox. */
.pm-social-board .pm-sb-post-image-link {
  display: block;
  margin: 0;
  padding: 0;
  text-decoration: none !important;
  cursor: zoom-in;
}
.pm-social-board .pm-sb-post-image-link img {
  cursor: zoom-in;
}
.pm-sb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  padding: 24px;
  box-sizing: border-box;
}
.pm-sb-lightbox[hidden] { display: none !important; }
.pm-sb-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .88);
}
.pm-sb-lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  pointer-events: none;
}
.pm-sb-lightbox-image {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 96vw !important;
  max-height: 92vh !important;
  max-height: 92dvh !important;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
  pointer-events: auto;
}
.pm-sb-lightbox-close {
  position: absolute;
  top: max(10px, env(safe-area-inset-top));
  right: max(10px, env(safe-area-inset-right));
  z-index: 2;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .62);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}
.pm-sb-lightbox-close:hover,
.pm-sb-lightbox-close:focus-visible {
  background: rgba(0, 0, 0, .82);
}
html.pm-sb-lightbox-open,
body.pm-sb-lightbox-open {
  overscroll-behavior: none;
}
@media (max-width: 600px) {
  .pm-sb-lightbox { padding: 10px; }
  .pm-sb-lightbox-image {
    max-width: 98vw !important;
    max-height: 88dvh !important;
  }
  .pm-sb-lightbox-close {
    width: 44px;
    height: 44px;
    font-size: 32px;
  }
}


/* Keep comment video embeds visually consistent with post embeds. */
.pm-social-board .pm-sb-comment-embeds .pm-sb-post-embed {
  margin: 10px 0 4px;
  border-radius: 10px;
}
.pm-social-board .pm-sb-comment-embeds .pm-sb-post-embed--vertical {
  width: min(100%, 300px);
  max-height: 60vh;
}
.pm-social-board .pm-sb-comment-embeds .pm-sb-post-embed--facebook-video {
  width: 100%;
  max-width: 520px;
}
.pm-social-board .pm-sb-comment-embeds .pm-sb-post-embed--facebook-reel {
  width: min(100%, 300px);
}
.pm-social-board .pm-sb-comment-text { margin: 0; }
.pm-social-board .pm-sb-comment-text p { margin: 0 0 8px; }
.pm-social-board .pm-sb-comment-text p:last-child { margin-bottom: 0; }

/* 1.3.8 — modest overall font increase, without changing layout or controls. */
.pm-social-board { font-size: 18px; }
.pm-social-board .pm-sb-heading h2 { font-size: clamp(26px, 4vw, 32px); }
.pm-social-board .pm-sb-heading p { font-size: 16px; }
.pm-social-board .pm-sb-upload-label { font-size: 16px; }
.pm-social-board .pm-sb-button { font-size: 16px; }
.pm-social-board .pm-sb-helper { font-size: 14px; }
.pm-social-board .pm-sb-login-copy strong { font-size: 17px; }
.pm-social-board .pm-sb-login-copy span { font-size: 15px; }
.pm-social-board .pm-sb-notice { font-size: 16px; }
.pm-social-board .pm-sb-feed-heading h3 { font-size: 21px; }
.pm-social-board .pm-sb-feed-heading > span { font-size: 14px; }
.pm-social-board .pm-sb-author-info strong { font-size: 17px; }
.pm-social-board .pm-sb-author-info span { font-size: 14px; }
.pm-social-board .pm-sb-post-content,
.pm-social-board .pm-sb-post-content p,
.pm-social-board .pm-sb-post-content li { font-size: 18px; }
.pm-social-board .pm-sb-engagement-summary { font-size: 15px; }
.pm-social-board .pm-sb-action { font-size: 16px; }
.pm-social-board .pm-sb-view-comments { font-size: 14px; }
.pm-social-board .pm-sb-comment-bubble strong { font-size: 15px; }
.pm-social-board .pm-sb-comment-bubble p,
.pm-social-board .pm-sb-comment-text { font-size: 16px; }
.pm-social-board .pm-sb-comment-form input[type="text"] { font-size: 16px; }
.pm-social-board .pm-sb-comment-tool-button,
.pm-social-board .pm-sb-tool-button { font-size: 13px; }
.pm-social-board .pm-sb-file-name { font-size: 14px; }
.pm-social-board .pm-sb-infinite-scroll { font-size: 15px; }
.pm-social-board .pm-sb-post-menu-action { font-size: 16px; }
.pm-social-board .pm-sb-edit-form textarea { font-size: 17px; }

@media (max-width: 600px) {
  .pm-social-board { font-size: 17px; }
  .pm-social-board .pm-sb-heading h2 { font-size: 26px; }
  .pm-social-board .pm-sb-heading p { font-size: 14px; }
  .pm-social-board .pm-sb-upload-label { font-size: 14px; }
  .pm-social-board .pm-sb-button { font-size: 15px; }
  .pm-social-board .pm-sb-helper { font-size: 13px; }
  .pm-social-board .pm-sb-post-content,
  .pm-social-board .pm-sb-post-content p,
  .pm-social-board .pm-sb-post-content li { font-size: 17px; }
  .pm-social-board .pm-sb-author-info strong { font-size: 16px; }
  .pm-social-board .pm-sb-author-info span { font-size: 13px; }
  .pm-social-board .pm-sb-engagement-summary { font-size: 14px; }
  .pm-social-board .pm-sb-action { font-size: 15px; }
  .pm-social-board .pm-sb-comment-bubble strong { font-size: 14px; }
  .pm-social-board .pm-sb-comment-bubble p,
  .pm-social-board .pm-sb-comment-text { font-size: 15px; }
  .pm-social-board .pm-sb-comment-form input[type="text"] { font-size: 15px; }
  .pm-social-board .pm-sb-comment-tool-button,
  .pm-social-board .pm-sb-tool-button { font-size: 13px; }
  .pm-social-board .pm-sb-post-menu-action { font-size: 15px; }
  .pm-social-board .pm-sb-edit-form textarea { font-size: 16px; }
  .pm-social-board .pm-sb-comment-embeds .pm-sb-post-embed { border-radius: 8px; }
  .pm-social-board .pm-sb-comment-embeds .pm-sb-post-embed--vertical { width: min(100%, 260px); max-height: 54vh; }
}

/* PublicMusic Social Board — post sharing. */
.pm-social-board .pm-sb-share-button {
  width: 100%;
  cursor: pointer;
}
.pm-social-board .pm-sb-share-button[disabled] {
  opacity: .7;
  cursor: default;
}
@media (max-width: 600px) {
  .pm-social-board .pm-sb-post-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* PublicMusic Social Board — post liker list. */
.pm-social-board .pm-sb-like-count-button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  margin: 0;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}
.pm-social-board .pm-sb-like-count-button:hover { text-decoration: underline; text-underline-offset: 2px; }
.pm-social-board .pm-sb-like-count-button:focus-visible { outline: 2px solid rgba(215,25,32,.28); outline-offset: 2px; border-radius: 4px; }

/* PublicMusic Social Board — comment likes and visible liker list. */
.pm-social-board .pm-sb-comment-reactions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 7px; }
.pm-social-board .pm-sb-comment-like-button,
.pm-social-board .pm-sb-comment-like-count { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; border: 0; border-radius: 999px; background: transparent; color: #747b84; font-size: 13px; font-weight: 700; line-height: 1; padding: 5px 8px; text-decoration: none; }
.pm-social-board .pm-sb-comment-like-button { cursor: pointer; }
.pm-social-board .pm-sb-comment-like-button:hover,
.pm-social-board .pm-sb-comment-like-count:hover { background: #fff3f1; color: var(--pm-sb-ink); }
.pm-social-board .pm-sb-comment-like-button.is-liked { color: var(--pm-sb-accent); background: #fff4f3; }
.pm-social-board .pm-sb-comment-like-button:disabled { opacity: .65; cursor: wait; }
.pm-social-board .pm-sb-comment-like-icon { font-size: 17px; line-height: 1; }
.pm-social-board .pm-sb-comment-like-count { cursor: pointer; }
.pm-social-board .pm-sb-comment-like-count:focus-visible,
.pm-social-board .pm-sb-comment-like-button:focus-visible { outline: 2px solid rgba(215,25,32,.28); outline-offset: 2px; }
.pm-sb-comment-like-list-modal { position: fixed; inset: 0; z-index: 2147483590; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.5); box-sizing: border-box; }
.pm-sb-comment-like-list-panel { width: min(420px, 94vw); max-height: min(620px, 82vh); overflow: hidden; background: #fff; border: 1px solid #eee5dc; border-radius: 18px; box-shadow: 0 18px 60px rgba(0,0,0,.24); }
.pm-sb-comment-like-list-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 17px; border-bottom: 1px solid #eee6df; }
.pm-sb-comment-like-list-header strong { font-size: 17px; color: var(--pm-sb-ink); }
.pm-sb-comment-like-list-close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f7f2ed; color: #5e5752; font-size: 27px; line-height: 1; cursor: pointer; }
.pm-sb-comment-like-list-close:hover,
.pm-sb-comment-like-list-close:focus-visible { background: #eee5dc; color: #111; }
.pm-sb-comment-like-list { max-height: calc(min(620px, 82vh) - 68px); overflow-y: auto; padding: 6px 0; }
.pm-sb-comment-like-user { display: flex; align-items: center; gap: 12px; padding: 10px 17px; }
.pm-sb-comment-like-user img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.pm-sb-comment-like-user span { min-width: 0; color: var(--pm-sb-ink); font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.pm-sb-comment-like-empty { margin: 0; padding: 18px; color: var(--pm-sb-muted); font-size: 14px; text-align: center; }
@media (max-width: 600px) {
  .pm-social-board .pm-sb-comment-like-button,
  .pm-social-board .pm-sb-comment-like-count { font-size: 14px; }
  .pm-sb-comment-like-list-modal { padding: 10px; align-items: flex-end; }
  .pm-sb-comment-like-list-panel { width: 100%; max-height: min(72vh, 620px); border-radius: 18px 18px 12px 12px; }
  .pm-sb-comment-like-list { max-height: calc(min(72vh, 620px) - 68px); }
  .pm-sb-comment-like-user span { font-size: 16px; }
}

/* PublicMusic Social Board — email subscription for new board posts. */
.pm-social-board .pm-sb-email-subscribe {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0;
  padding: 12px 15px;
  border-bottom: 1px solid #eee5dc;
  background: #fffaf8;
  color: var(--pm-sb-ink);
  cursor: pointer;
}
.pm-social-board .pm-sb-email-subscribe input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--pm-sb-accent);
}
.pm-social-board .pm-sb-email-subscribe span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}
.pm-social-board .pm-sb-email-subscribe strong {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}
.pm-social-board .pm-sb-email-subscribe small {
  color: var(--pm-sb-muted);
  font-size: 11px;
  line-height: 1.4;
}
@media (max-width: 600px) {
  .pm-social-board .pm-sb-email-subscribe {
    padding: 11px 12px;
  }
}

/* User mentions */
.pm-sb-mention {
    color: #d71920;
    font-weight: 700;
    text-decoration: none;
}
.pm-sb-mention:hover { text-decoration: underline; }
.pm-sb-mention-suggestions {
    position: fixed;
    z-index: 999999;
    max-height: 280px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 14px 40px rgba(0,0,0,.18);
    backdrop-filter: blur(10px);
}
.pm-sb-mention-suggestion {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    padding: 8px 10px;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
}
.pm-sb-mention-suggestion:hover,
.pm-sb-mention-suggestion:focus-visible { background: rgba(215,25,32,.08); outline: none; }
.pm-sb-mention-suggestion img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 32px;
}

/* PublicMusic Social Board — multi-image gallery. */
.pm-social-board .pm-sb-post-media--gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}
.pm-social-board .pm-sb-post-media--gallery .pm-sb-gallery-item {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
}
.pm-social-board .pm-sb-post-media--gallery .pm-sb-gallery-item--hidden {
  display: none;
}
.pm-social-board .pm-sb-post-media--gallery .pm-sb-gallery-item img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  cursor: zoom-in;
}
.pm-social-board .pm-sb-post-media--gallery[data-pm-gallery-count="3"] .pm-sb-gallery-item:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}
.pm-social-board .pm-sb-post-media--gallery[data-pm-gallery-count="3"] .pm-sb-gallery-item:first-child img {
  height: 100% !important;
}
.pm-social-board .pm-sb-post-media--gallery[data-pm-gallery-count="3"] .pm-sb-gallery-item:nth-child(n+4),
.pm-social-board .pm-sb-post-media--gallery[data-pm-gallery-count="4"] .pm-sb-gallery-item:nth-child(n+5) {
  display: block;
}
.pm-social-board .pm-sb-post-media--gallery .pm-sb-gallery-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.42);
  color: #fff;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
  pointer-events: none;
}

/* Multi-photo picker preview. */
.pm-social-board .pm-sb-media-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.pm-social-board .pm-sb-media-preview[hidden] { display: none !important; }
.pm-social-board .pm-sb-media-preview .pm-sb-preview-item {
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(0,0,0,.06);
}
.pm-social-board .pm-sb-media-preview .pm-sb-preview-item img,
.pm-social-board .pm-sb-media-preview .pm-sb-preview-item video {
  display: block;
  width: 100%;
  height: 90px;
  object-fit: cover;
}
.pm-social-board .pm-sb-media-preview .pm-sb-preview-name {
  display: block;
  padding: 5px 6px 6px;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Gallery lightbox controls. */
.pm-sb-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.62);
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}
.pm-sb-lightbox-nav:hover,
.pm-sb-lightbox-nav:focus-visible {
  background: rgba(0,0,0,.82);
}
.pm-sb-lightbox-prev { left: 12px; }
.pm-sb-lightbox-next { right: 12px; }
.pm-sb-lightbox-nav[hidden] { display: none !important; }
@media (max-width: 600px) {
  .pm-sb-lightbox-nav {
    width: 44px;
    height: 44px;
    margin-top: -22px;
    font-size: 38px;
  }
  .pm-sb-lightbox-prev { left: 6px; }
  .pm-sb-lightbox-next { right: 6px; }
  .pm-social-board .pm-sb-media-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* User identity links in comments: keep the existing visual treatment. */
.pm-sb-comment-author-avatar { display:inline-flex; text-decoration:none; color:inherit; flex:0 0 auto; }
.pm-sb-comment-author { color:inherit; text-decoration:none; font-weight:700; }
.pm-sb-comment-author:hover, .pm-sb-comment-author:focus-visible { text-decoration:underline; }

/* PublicMusic Social Board 1.4.0 — usability refinements. */
.pm-social-board .pm-sb-author-name { color: inherit; text-decoration: none; font-weight: 800; }
.pm-social-board .pm-sb-author-name:hover,
.pm-social-board .pm-sb-author-name:focus-visible { text-decoration: underline; }

.pm-social-board .pm-sb-notification-load-more {
    display: block;
    width: calc(100% - 20px);
    margin: 8px auto 12px;
    padding: 8px 12px;
    border: 1px solid #e2d8d1;
    border-radius: 8px;
    background: #fff;
    color: var(--pm-sb-ink);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.pm-social-board .pm-sb-notification-load-more:hover,
.pm-social-board .pm-sb-notification-load-more:focus-visible { background: #fff7f4; }
.pm-social-board .pm-sb-notification-load-more:disabled { opacity: .55; cursor: wait; }
.pm-social-board .pm-sb-notification-load-more[hidden] { display: none !important; }

.pm-social-board .pm-sb-preview-item { position: relative; }
.pm-social-board .pm-sb-preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 2;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.72);
    color: #fff;
    font-size: 19px;
    line-height: 26px;
    text-align: center;
    padding: 0;
    cursor: pointer;
}
.pm-social-board .pm-sb-preview-remove:hover,
.pm-social-board .pm-sb-preview-remove:focus-visible { background: rgba(0,0,0,.9); }

.pm-social-board .pm-sb-comment-media-link { display: block; color: inherit; text-decoration: none; cursor: zoom-in; }
.pm-social-board .pm-sb-comment-media-link img { display: block; }
.pm-social-board .pm-sb-comment-like-count.is-empty { cursor: default; opacity: .7; }

.pm-sb-focus-highlight {
    animation: pm-sb-focus-pulse 2.2s ease-out;
    scroll-margin-top: 90px;
}
@keyframes pm-sb-focus-pulse {
    0% { box-shadow: 0 0 0 4px rgba(215,25,32,.30); }
    100% { box-shadow: 0 0 0 18px rgba(215,25,32,0); }
}

/* PublicMusic Social Board 1.5.0 — featured posts, @tutti and mixed media. */
.pm-social-board .pm-sb-post--featured {
  border-color: rgba(215,25,32,.28);
  box-shadow: 0 7px 28px rgba(215,25,32,.08), 0 5px 24px rgba(77,44,28,.055);
}
.pm-social-board .pm-sb-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: -2px 0 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff0f0;
  color: var(--pm-sb-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pm-social-board .pm-sb-featured-badge::before { content: "★"; }
.pm-social-board .pm-sb-mention--all {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 999px;
  background: #fff0f0;
  color: var(--pm-sb-accent);
  font-weight: 800;
}
.pm-social-board .pm-sb-mention-all-avatar {
  display: grid;
  place-items: center;
  background: #fff0f0;
  color: var(--pm-sb-accent);
  object-fit: contain;
  font-weight: 900;
}
.pm-social-board .pm-sb-post > .pm-sb-post-media + .pm-sb-post-media {
  margin-top: 6px;
}
.pm-social-board .pm-sb-post-media--audio {
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 12px 16px;
  background: #f7f2ed;
}
.pm-social-board .pm-sb-post-media--audio audio {
  display: block;
  width: 100%;
  max-width: 100%;
}


/* PublicMusic Social Board 1.5.2 — reaction clarity and color consistency. */
.pm-social-board .pm-sb-reaction-wrap,
.pm-social-board .pm-sb-comment-reaction-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 0; }
.pm-social-board .pm-sb-reaction-main-icon,
.pm-social-board .pm-sb-comment-like-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex: 0 0 20px; color: currentColor; }
.pm-social-board .pm-sb-reaction-main-icon svg,
.pm-social-board .pm-sb-comment-like-icon svg,
.pm-social-board .pm-sb-reaction-option svg,
.pm-social-board .pm-sb-reaction-summary-icon svg,
.pm-social-board .pm-sb-reaction-user-chip svg { width: 100%; height: 100%; display: block; }
.pm-social-board .pm-sb-reaction-wrap.has-reaction .pm-sb-like-button,
.pm-social-board .pm-sb-comment-reaction-wrap.has-reaction .pm-sb-comment-like-button { color: var(--pm-sb-reaction-color, var(--pm-sb-accent)); }
.pm-social-board .pm-sb-reaction-picker { position: absolute; z-index: 60; left: 50%; bottom: calc(100% + 9px); transform: translate(-50%, 4px) scale(.97); transform-origin: center bottom; display: flex; align-items: flex-end; gap: 5px; padding: 7px; background: rgba(255,255,255,.98); border: 1px solid #e7ddd5; border-radius: 16px; box-shadow: 0 14px 34px rgba(55,38,29,.16); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .14s ease, transform .14s ease, visibility .14s ease; }
.pm-social-board .pm-sb-reaction-picker::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 11px; height: 11px; background: #fff; border-right: 1px solid #e7ddd5; border-bottom: 1px solid #e7ddd5; transform: translateX(-50%) rotate(45deg); }
.pm-social-board .pm-sb-reaction-wrap:hover .pm-sb-reaction-picker,
.pm-social-board .pm-sb-reaction-wrap:focus-within .pm-sb-reaction-picker,
.pm-social-board .pm-sb-comment-reaction-wrap:hover .pm-sb-reaction-picker,
.pm-social-board .pm-sb-comment-reaction-wrap:focus-within .pm-sb-reaction-picker,
.pm-social-board .pm-sb-reaction-wrap.is-open .pm-sb-reaction-picker,
.pm-social-board .pm-sb-comment-reaction-wrap.is-open .pm-sb-reaction-picker { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0) scale(1); }
.pm-social-board .pm-sb-reaction-option { width: 34px; height: 34px; padding: 6px; border: 0; border-radius: 10px; background: transparent; color: var(--pm-sb-reaction-color); display: inline-flex; align-items: center; justify-content: center; position: relative; transition: transform .13s ease, background .13s ease; }
.pm-social-board .pm-sb-reaction-option span { position: absolute; left: 50%; bottom: calc(100% + 7px); transform: translate(-50%, 3px); opacity: 0; pointer-events: none; white-space: nowrap; padding: 4px 7px; border-radius: 7px; background: #2b2928; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; transition: opacity .12s ease, transform .12s ease; }
.pm-social-board .pm-sb-reaction-option:hover,
.pm-social-board .pm-sb-reaction-option:focus-visible,
.pm-social-board .pm-sb-reaction-option.is-selected { transform: translateY(-3px) scale(1.13); background: color-mix(in srgb, var(--pm-sb-reaction-color) 10%, white); }
.pm-social-board .pm-sb-reaction-option:hover span,
.pm-social-board .pm-sb-reaction-option:focus-visible span { opacity: 1; transform: translate(-50%, 0); }
.pm-social-board .pm-sb-reaction-summary-icons { display: inline-flex; align-items: center; gap: 2px; }
.pm-social-board .pm-sb-reaction-summary-icon { width: 16px; height: 16px; display: inline-flex; color: var(--pm-sb-reaction-color, var(--pm-sb-muted)); }
.pm-social-board .pm-sb-reaction-summary-icon[data-reaction="like"] { color: #1f6fe5; }
.pm-social-board .pm-sb-reaction-summary-icon[data-reaction="dislike"] { color: #d63b43; }
.pm-social-board .pm-sb-reaction-summary-icon[data-reaction="love"] { color: #d52d5f; }
.pm-social-board .pm-sb-reaction-summary-icon[data-reaction="fire"] { color: #f07a16; }
.pm-social-board .pm-sb-reaction-summary-icon[data-reaction="groove"] { color: #6c3bc6; }
.pm-social-board .pm-sb-reaction-summary-icon[data-reaction="wow"] { color: #08a6b7; }
.pm-social-board .pm-sb-reaction-summary-icon[data-reaction="respect"] { color: #2f8a48; }
.pm-social-board .pm-sb-reaction-summary-icon[data-reaction="rock"] { color: #e0a20b; }
.pm-social-board .pm-sb-reaction-user-chip { margin-left: auto; width: 19px; height: 19px; display: inline-flex; flex: 0 0 19px; }
.pm-social-board .pm-sb-like-count-button { white-space: nowrap; }
@media (max-width: 700px), (hover: none) {
  .pm-social-board .pm-sb-reaction-picker { left: 0; transform-origin: left bottom; transform: translate(0, 4px) scale(.97); max-width: min(92vw, 430px); overflow-x: auto; }
  .pm-social-board .pm-sb-reaction-picker::after { left: 28px; }
  .pm-social-board .pm-sb-reaction-wrap:hover .pm-sb-reaction-picker,
  .pm-social-board .pm-sb-comment-reaction-wrap:hover .pm-sb-reaction-picker { opacity: 0; visibility: hidden; pointer-events: none; transform: translate(0, 4px) scale(.97); }
  .pm-social-board .pm-sb-reaction-wrap.is-open .pm-sb-reaction-picker,
  .pm-social-board .pm-sb-comment-reaction-wrap.is-open .pm-sb-reaction-picker { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(0, 0) scale(1); }
}

/* PublicMusic Social Board 1.5.2 — reaction-only refinements. */
.pm-social-board .pm-sb-reaction-wrap.has-reaction .pm-sb-like-button,
.pm-social-board .pm-sb-reaction-wrap.has-reaction .pm-sb-like-button:hover,
.pm-social-board .pm-sb-reaction-wrap.has-reaction .pm-sb-like-button:focus-visible,
.pm-social-board .pm-sb-comment-reaction-wrap.has-reaction .pm-sb-comment-like-button,
.pm-social-board .pm-sb-comment-reaction-wrap.has-reaction .pm-sb-comment-like-button:hover,
.pm-social-board .pm-sb-comment-reaction-wrap.has-reaction .pm-sb-comment-like-button:focus-visible {
  color: var(--pm-sb-reaction-color, var(--pm-sb-accent)) !important;
  background: #f7f4f0 !important;
  background: color-mix(in srgb, var(--pm-sb-reaction-color, #d71920) 11%, #fff) !important;
}
.pm-social-board .pm-sb-reaction-wrap.has-reaction .pm-sb-reaction-main-icon,
.pm-social-board .pm-sb-comment-reaction-wrap.has-reaction .pm-sb-comment-like-icon {
  color: inherit !important;
}
@media (max-width: 700px), (hover: none) {
  .pm-social-board .pm-sb-reaction-picker .pm-sb-reaction-option {
    flex: 0 0 54px;
    width: 54px;
    min-width: 54px;
    height: 56px;
    padding: 4px 2px;
    gap: 3px;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px;
  }
  .pm-social-board .pm-sb-reaction-picker .pm-sb-reaction-option svg {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
  }
  .pm-social-board .pm-sb-reaction-picker .pm-sb-reaction-option span {
    position: static;
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    transform: none;
    opacity: 1;
    overflow-wrap: anywhere;
    white-space: normal;
    text-align: center;
    background: transparent;
    color: #4c5158;
    font-size: 9px;
    font-weight: 750;
    line-height: 1.05;
    border-radius: 0;
  }
  .pm-social-board .pm-sb-reaction-picker .pm-sb-reaction-option.is-selected span {
    color: var(--pm-sb-reaction-color, #4c5158);
  }
}



/* Admin-only HTML/JavaScript snippets are rendered in an isolated sandboxed iframe. */
.pm-social-board .pm-sb-code-tools {
  margin: 12px 0;
  border: 1px solid var(--pm-sb-line, #e7e3df);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.pm-social-board .pm-sb-code-tools > summary {
  padding: 11px 13px;
  cursor: pointer;
  color: var(--pm-sb-accent, #d63384);
  font-weight: 700;
  font-size: 14px;
}
.pm-social-board .pm-sb-code-tools > p {
  margin: 0;
  padding: 0 13px 10px;
  color: var(--pm-sb-muted, #747474);
  font-size: 13px;
  line-height: 1.45;
}
.pm-social-board .pm-sb-code-tools > textarea {
  display: block;
  box-sizing: border-box;
  width: calc(100% - 26px);
  min-height: 145px;
  margin: 0 13px 13px;
  padding: 10px;
  border: 1px solid var(--pm-sb-line, #e7e3df);
  border-radius: 8px;
  background: #fbfaf9;
  color: #242424;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.45;
  tab-size: 2;
}
.pm-social-board .pm-sb-custom-code {
  box-sizing: border-box;
  width: 100%;
  margin: 14px 0 18px;
  overflow: hidden;
  border: 1px solid var(--pm-sb-line, #e7e3df);
  border-radius: 12px;
  background: #fff;
}
.pm-social-board .pm-sb-custom-code iframe {
  display: block;
  width: 100%;
  height: 380px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
}
@media (max-width: 680px) {
  .pm-social-board .pm-sb-custom-code iframe { height: 420px; }
  .pm-social-board .pm-sb-code-tools > textarea { min-height: 125px; font-size: 12px; }
}
