/* Etiqueta de plataforma sobre la portada. */
.public-profile-set-row-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #f7f7f6;
  background: rgba(5, 5, 6, 0.72);
  backdrop-filter: blur(6px);
}

.public-profile-set-row.is-soundcloud .public-profile-set-row-badge {
  color: #ffb387;
}

.public-profile-set-row.is-youtube .public-profile-set-row-badge {
  color: #ffb7b7;
}

.public-profile-set-row.is-spotify .public-profile-set-row-badge {
  color: #dcfb77;
}

/* Boton de play centrado, visible al pasar por encima o cuando suena. */
.public-profile-set-row-play {
  position: absolute;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: #09090a;
  background: rgba(248, 248, 247, 0.94);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.public-profile-set-row-cover:hover .public-profile-set-row-play,
.public-profile-set-row-cover:focus-visible .public-profile-set-row-play,
.public-profile-set-row.is-current .public-profile-set-row-play {
  opacity: 1;
  transform: scale(1);
}

/* La tarjeta que suena muestra pausa, para que el mismo click la detenga. */
.public-profile-set-row.is-playing .public-profile-set-row-play i::before {
  content: "\f04c";
}

.public-profile-set-row.is-current .public-profile-set-row-cover {
  border-color: rgba(221, 252, 119, 0.75);
  box-shadow: 0 0 0 2px rgba(221, 252, 119, 0.28);
}

/* La portada real tapa el icono de marca solo cuando ha cargado de verdad. */
.public-profile-set-row-artwork {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.public-profile-set-row.has-artwork .public-profile-set-row-artwork {
  opacity: 1;
  transform: scale(1);
}

.public-profile-set-row.has-artwork .public-profile-set-row-cover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.42);
}

.public-profile-set-row.has-artwork .public-profile-set-row-cover > i {
  opacity: 0;
}

.public-profile-set-row-cover > i {
  transition: opacity 0.2s ease;
}

/* Velo inferior para que la etiqueta y el titulo no peleen con la portada. */
.public-profile-set-row-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.42) 0%, transparent 34%, transparent 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.public-profile-set-row.has-artwork .public-profile-set-row-cover::after {
  opacity: 1;
}

.public-profile-set-row-cover:hover .public-profile-set-row-artwork {
  transform: scale(1.06);
}

.public-profile-set-row-copy {
  grid-area: copy;
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 0 2px;
}

.public-profile-set-row-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.28;
  font-weight: 700;
  color: #f7f7f7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.public-profile-set-row-meta {
  margin: 0;
  font-size: 12px;
  color: #b4bb9d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* El enlace externo vive en la esquina de la portada, sin robar sitio al titulo. */
.public-profile-set-open-link {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  color: rgba(241, 241, 240, 0.96);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 6, 0.72);
  backdrop-filter: blur(6px);
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.18s ease, background 0.18s ease;
}

.public-profile-set-row:hover .public-profile-set-open-link,
.public-profile-set-open-link:focus-visible {
  opacity: 1;
}

.public-profile-set-open-link:hover {
  background: rgba(14, 14, 16, 0.92);
}

@media (max-width: 760px) {
  .public-profile-set-card,
  .public-profile-set-card--soundcloud {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .public-profile-set-cover-wrap,
  .public-profile-set-card--soundcloud .public-profile-set-cover-wrap,
  .public-profile-set-top,
  .public-profile-set-card--soundcloud .public-profile-set-top,
  .public-profile-set-player,
  .public-profile-set-card--soundcloud .public-profile-set-player {
  }

  .public-profile-set-card--soundcloud .public-profile-set-cover-wrap {
    min-height: 0;
    height: 132px;
  }

  .public-profile-set-card--soundcloud .public-profile-set-player {
    height: 104px;
  }

  .public-profile-set-card--youtube .public-profile-set-player {
    height: 186px;
  }

  .public-profile-set-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .public-profile-set-row-cover {
    font-size: 26px;
  }

  .public-profile-set-row-play {
    width: 44px;
    height: 44px;
    font-size: 15px;
    opacity: 1;
    transform: scale(1);
  }

  .public-profile-set-row-title {
    font-size: 13px;
  }

  /* En tactil no hay hover: los accesos quedan siempre visibles. */
  .public-profile-set-open-link {
    opacity: 1;
  }
}

.public-profile-post-card {
  position: relative;
  aspect-ratio: 1 / 1.05;
  border-radius: 10px;
  border: 1px solid rgba(210, 243, 101, 0.24);
  overflow: clip;
  background: rgba(11, 11, 12, 0.85);
  padding: 0;
  cursor: pointer;
  width: 100%;
  height: auto;
}

.public-profile-post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.public-profile-post-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 11px;
  text-align: center;
  padding: 6px;
}

.public-profile-post-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 4px 6px;
  font-size: 12px;
  color: #f0f1ef;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0), rgba(8, 8, 8, 0.86));
}

.public-profile-post-stories-btn {
  position: absolute !important;
  bottom: 0px !important;
  right: -5px !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  padding: 0 !important;
  color: #d2f365 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  transition: all 0.2s ease !important;
  z-index: 10 !important;
  cursor: pointer !important;
}

.public-profile-post-stories-btn:hover {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.public-profile-post-overlay span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .public-profile-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Public profile refresh */
#mainUserPanel {
  padding: 6px 0;
}

#mainUserPanel .public-profile-panel {
  width: 100%;
  max-width: 1080px;
  max-height: none;
  margin: 0 auto;
  height: auto;
  background: transparent;
  overflow: visible;
  overflow-y: visible;
  overflow-x: visible;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-panel {
  width: min(840px, calc(100vw - 18px));
  max-height: min(92dvh, 920px);
  min-height: 0;
  padding: 16px;
  border-radius: 18px;
  overflow-y: auto;
  overflow-x: hidden;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-head {
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-avatar {
  width: 92px;
  height: 92px;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-head-copy h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 0.94;
  letter-spacing: -0.03em;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-head-copy .panel-sub {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 14px;
  color: #d5dfb5;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-stats {
  margin-top: 10px;
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #e2e9c9;
  font-weight: 700;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-stats span i {
  color: rgba(221, 250, 124, 0.9);
}

:is(#publicProfileModal, #mainUserPanel) #publicProfileFollowBtn {
  min-width: 120px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(221, 250, 124, 0.6);
  background: linear-gradient(180deg, #ddfa7c, #c6e560);
  color: #101011;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

:is(#publicProfileModal, #mainUserPanel) #publicProfileFollowBtn.is-following {
  border-color: rgba(210, 243, 101, 0.45);
  background: rgba(210, 243, 101, 0.16);
  color: #ebebe9;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-tab-shell {
  min-height: auto;
  flex: 0 0 auto;
  height: auto;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 6px;
  border: 1px solid rgba(210, 243, 101, 0.22);
  border-radius: 0;
  overflow: hidden;
  background: rgba(11, 11, 12, 0.82);
  min-height: 42px;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-tabs.tabs-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-tabs button {
  min-height: 42px;
  border-radius: 0 !important;
  border: 0;
  border-right: 1px solid rgba(210, 243, 101, 0.18);
  background: transparent;
  color: #ced6b3;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-tabs button:last-child {
  border-right: 0;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-tabs button span {
  display: none;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-tabs button i {
  display: block;
  margin: 0;
  font-size: 18px;
  line-height: 1;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-tabs button.is-active {
  background: linear-gradient(180deg, #ddfa7c, #c6e560);
  color: #101011;
  border-radius: 0 !important;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-tab-content {
  border-radius: 12px;
  padding: 0;
  min-height: auto;
  height: auto;
  overflow: visible;
  border-top: 0;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-posts-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  margin-top: 0;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-post-card {
  border-radius: 0;
  border: 0;
  aspect-ratio: 1 / 1;
  min-height: 0;
  box-shadow: none;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-post-card img {
  width: 100%;
  height: 100%;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-post-overlay {
  display: none;
}

#mainUserPanel .public-profile-panel {
  padding: 20px;
}

#mainUserPanel .public-profile-tab-shell,
#mainUserPanel .public-profile-tab-content,
#mainUserPanel .public-profile-posts-wrap {
  height: auto;
  max-height: none;
  overflow: visible !important;
}

#mainUserPanel .public-profile-avatar-wrap {
  position: relative;
  width: 108px;
  height: 108px;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: visible;
  border: 1px solid rgba(221, 250, 124, 0.48);
  background: linear-gradient(180deg, rgba(15, 15, 17, 0.95), rgba(10, 10, 11, 0.95));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

#mainUserPanel .public-profile-avatar {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: cover !important;
  object-position: center center;
  display: block;
  border-radius: 50%;
  border: 0;
  box-shadow: none;
}

#mainUserPanel .public-profile-avatar-fallback {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: #e5edcb;
}

#mainUserPanel .public-profile-identity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

#publicProfileName{
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.02;
}

#mainUserPanel .public-profile-head-copy h3 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 28px);
  line-height: 1.02;
}

#mainUserPanel .public-profile-head-copy .panel-sub {
  margin: 0;
  font-size: 14px;
  color: #c2caa6;
}

#mainUserPanel .public-profile-stats {
  margin-top: 8px;
  gap: 10px;
  font-size: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  width: 100%;
}

#mainUserPanel .public-profile-stat {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  gap: 5px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#mainUserPanel .public-profile-stat-button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease;
  border-radius: 0;
  box-shadow: none;
}

#mainUserPanel .public-profile-stat-button:hover {
  opacity: 0.96;
  transform: translateY(-1px);
}

#mainUserPanel .public-profile-stat-button:active {
  transform: translateY(0);
}

#mainUserPanel .public-profile-stat-num {
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
  color: #f6f6f5;
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

#mainUserPanel .public-profile-stat-label {
  font-size: 10px;
  line-height: 1.1;
  color: #c2caa6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: 100%;
  display: inline-flex;
  align-items: start;
  justify-content: center;
}

#publicProfileModal .public-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 10px;
  align-items: stretch;
}

#publicProfileModal .public-profile-stats > span,
#publicProfileModal .public-profile-stat-inline-btn {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(173, 194, 103, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#publicProfileModal .public-profile-stat-inline-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
}

#publicProfileModal .public-profile-stat-inline-btn:hover {
  opacity: 0.92;
}

#mainUserPanel .public-profile-inline-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
}

#mainUserPanel #publicProfileSettingsIconBtn {
  width: 36px;
  min-width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(221, 250, 124, 0.34);
  background: rgba(221, 250, 124, 0.08);
  color: #f1f1f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#mainUserPanel #publicProfileSettingsIconBtn i {
  margin: 0;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-wrap {
  margin-top: 10px;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #e4e5e2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: calc(1.45em * 5);
  overflow: hidden;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio.is-placeholder {
  color: #c2cca2;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-edit-btn {
  width: 30px;
  min-width: 30px;
  height: 30px;
  border-radius: 9px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-edit-btn {
  border-color: rgba(241, 241, 240, 0.18) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(237, 238, 236, 0.88) !important;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-edit-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(241, 241, 240, 0.26) !important;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-editor {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-input {
  width: 100%;
  min-height: 76px;
  max-height: calc(1.4em * 5 + 24px);
  resize: vertical;
  border-radius: 12px;
  border: 1px solid rgba(221, 250, 124, 0.26);
  background: rgba(10, 10, 11, 0.82);
  color: #f0f0ef;
  padding: 10px 12px;
  font: inherit;
  line-height: 1.4;
  overflow-y: auto;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-editor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-counter {
  font-size: 11px;
  color: #bcc69b;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-counter.is-limit {
  color: #ffe1b8;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-editor-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-editor-actions .ghost,
:is(#publicProfileModal, #mainUserPanel) .public-profile-bio-editor-actions .primary {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 10px;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-wrap {
  margin-top: 12px;
  display: grid;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-resource-title {
  margin: 0;
  color: #f8f8f7;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-resource-manage-btn {
  min-height: 36px;
  border-radius: 12px;
  padding: 0 12px;
  border-color: rgba(221, 250, 124, 0.18) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  color: #f5f5f4 !important;
  font-size: 12px;
  font-weight: 700;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-actions .ghost {
  min-height: 36px;
  border-radius: 14px;
  padding: 0 12px;
  justify-content: center;
  border-color: rgba(221, 250, 124, 0.18) !important;
  background: rgba(255, 255, 255, 0.025) !important;
  color: #f6f6f5 !important;
  font-size: 12px;
  font-weight: 700;
}

:is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-meta {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: #c3cda5;
}

#mainUserPanel .public-profile-link-list {
  display: grid;
  gap: 8px;
}

#mainUserPanel .public-profile-link-chip {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(221, 250, 124, 0.16);
  background: rgba(255, 255, 255, 0.025);
  color: #f6f6f5;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

#mainUserPanel .public-profile-link-chip:hover {
  border-color: rgba(221, 250, 124, 0.28);
  background: rgba(221, 250, 124, 0.06);
  transform: translateY(-1px);
}

#mainUserPanel .public-profile-link-chip-icon,
#mainUserPanel .public-profile-link-chip-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#mainUserPanel .public-profile-link-chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(221, 250, 124, 0.08);
  color: #e0f697;
}

#mainUserPanel .public-profile-link-chip-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

#mainUserPanel .public-profile-link-chip-copy strong,
#mainUserPanel .public-profile-link-chip-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#mainUserPanel .public-profile-link-chip-copy strong {
  font-size: 13px;
  color: #f7f7f7;
}

#mainUserPanel .public-profile-link-chip-copy small {
  font-size: 11px;
  color: #b8c29a;
}

#mainUserPanel .public-profile-link-chip-open {
  color: rgba(241, 241, 240, 0.72);
}

#publicProfilePresskitManageModal {
  z-index: 61;
}

#publicProfilePresskitManageModal.modal {
  padding: 16px;
  align-items: center;
  justify-content: center;
}

#publicProfilePresskitManageModal.modal .panel.public-profile-presskit-manage-panel {
  width: min(560px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  gap: 12px;
}

#publicProfilePresskitManageModal.modal .panel.public-profile-presskit-manage-panel h3 {
  margin: 0;
  padding-right: 40px;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.02;
}

#publicProfilePresskitManageModal.modal .panel.public-profile-presskit-manage-panel .panel-sub {
  margin: 0;
  color: #d3dbb6;
  max-width: 32ch;
}

#publicProfilePresskitManageModal .public-profile-presskit-manage-actions {
  display: grid;
  gap: 10px;
}

#publicProfilePresskitManageModal .public-profile-presskit-manage-actions .ghost,
#publicProfilePresskitManageModal .public-profile-presskit-manage-actions .primary {
  min-height: 48px;
  border-radius: 16px;
  justify-content: flex-start;
  padding: 0 14px;
  font-weight: 700;
  text-align: left;
}

#publicProfilePresskitManageModal .public-profile-presskit-manage-actions #publicProfilePresskitManageDeleteBtn {
  border-color: rgba(255, 132, 132, 0.22) !important;
  color: #ffd2d2 !important;
  background: rgba(255, 98, 98, 0.06) !important;
}

#mainUserPanel .public-profile-follow-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#mainUserPanel #publicProfileMessageBtn {
  order: 1;
  min-width: 144px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(221, 250, 124, 0.34);
  background: rgba(221, 250, 124, 0.08);
  color: #f1f1f0;
  font-weight: 700;
}

#mainUserPanel #publicProfileSettingsBtn {
  order: 0;
  min-width: 120px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(221, 250, 124, 0.34);
  background: rgba(221, 250, 124, 0.08);
  color: #f1f1f0;
  font-weight: 700;
}

#mainUserPanel #publicProfileEditBtn {
  order: 2;
  min-width: 132px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(221, 250, 124, 0.34);
  background: rgba(221, 250, 124, 0.08);
  color: #f1f1f0;
  font-weight: 700;
}

#mainUserPanel #publicProfileFollowBtn {
  order: 3;
}

#mainUserPanel .public-profile-tabs button {
  gap: 8px;
}

#mainUserPanel .public-profile-tabs button span {
  display: inline;
  font-size: 13px;
}

#mainUserPanel .public-profile-tabs button i {
  font-size: 22px;
}

@media (min-width: 1000px) {
  :is(#publicProfileModal, #mainUserPanel) .public-profile-panel {
    width: min(1080px, calc(100vw - 40px));
    padding: 18px 18px 16px;
    border-radius: 16px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-head {
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 16px;
    padding-bottom: 12px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-avatar {
    width: 110px;
    height: 110px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-head-copy h3 {
    font-size: clamp(32px, 3.1vw, 46px);
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-tab-content {
    border: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    overflow: auto;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-posts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    width: 100%;
    margin-top: 0;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-post-card {
    aspect-ratio: 1 / 1;
    border-radius: 0;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-wrap {
    width: 100%;
    gap: 8px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-actions {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-actions .ghost {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 12px;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-actions .ghost i {
    min-width: 14px;
    margin-right: 0;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-meta {
    font-size: 12px;
    line-height: 1.4;
  }
}

@media (max-width: 760px) {
  :is(#publicProfileModal, #mainUserPanel) .public-profile-panel {
    width: min(100%, calc(100vw - 10px));
    padding: 12px;
    border-radius: 16px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-head {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-avatar {
    width: 72px;
    height: 72px;
  }

  #mainUserPanel .public-profile-avatar-wrap {
    width: 72px;
    height: 72px;
    aspect-ratio: 1 / 1;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-follow-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  #mainUserPanel .public-profile-head-copy h3 {
    font-size: 22px;
  }

  #mainUserPanel .public-profile-head-copy .panel-sub {
    font-size: 13px;
  }

  #mainUserPanel .public-profile-bio-wrap,
  #mainUserPanel .public-profile-presskit-wrap,
  #mainUserPanel .public-profile-link-list {
    margin-left: calc(-72px - 14px);
    width: calc(100% + 72px + 14px);
  }

  #mainUserPanel .public-profile-stats {
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #mainUserPanel .public-profile-stat {
    justify-items: center;
    text-align: center;
    min-width: 0;
    min-height: 60px;
    padding: 8px 6px;
  }

  #mainUserPanel .public-profile-stat-num {
    font-size: 18px;
  }

  #mainUserPanel .public-profile-stat-label {
    font-size: 10px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-head-copy h3 {
    font-size: 18px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-stats {
    gap: 10px;
    font-size: 13px;
  }

  #publicProfileModal .public-profile-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #publicProfileModal .public-profile-stats > span,
  #publicProfileModal .public-profile-stat-inline-btn {
    min-height: 38px;
    padding: 0 8px;
    font-size: 12px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-tabs {
    gap: 0;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-tabs button {
    min-height: 40px;
  }

  #mainUserPanel .public-profile-tabs button {
    gap: 6px;
  }

  #mainUserPanel .public-profile-tabs button span {
    display: none;
  }

  #mainUserPanel #publicProfileSettingsIconBtn {
    width: 34px;
    min-width: 34px;
    height: 34px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-resource-manage-btn {
    width: 100%;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-wrap {
    padding: 0;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-presskit-actions .ghost {
    width: 100%;
  }

  #mainUserPanel .public-profile-link-chip {
    grid-template-columns: 34px minmax(0, 1fr) 22px;
    min-height: 50px;
    padding: 0 10px;
    gap: 9px;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-tab-content {
    border: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    overflow: visible;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-posts-wrap {
    gap: 0;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-posts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    width: 100%;
    margin-top: 0;
    padding-right: 0;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-post-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    border-radius: 0;
  }

  :is(#publicProfileModal, #mainUserPanel) .public-profile-post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.instagram-follow-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 12px;
  border: 0;
  padding: 0 14px;
  text-decoration: none;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #fd1d1d, #fcb045 45%, #c13584 76%, #5851db);
  box-shadow: 0 10px 24px rgba(87, 44, 121, 0.36);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.instagram-follow-cta:hover {
  transform: translateY(-1px);
  filter: saturate(1.06);
  box-shadow: 0 14px 28px rgba(87, 44, 121, 0.46);
}

.create-event-prompt-panel {
  width: min(520px, 100%);
  gap: 12px;
  padding-top: 18px;
  border-color: rgba(145, 166, 78, 0.34);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(161, 189, 68, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(13, 16, 22, 0.98), rgba(10, 13, 18, 0.98));
}

.community-thread-modal-panel {
  width: min(440px, 100%);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
}

.community-thread-modal-head {
  display: grid;
  gap: 6px;
  padding-right: 44px;
}

.community-thread-modal-head h3 {
  margin: 0;
  line-height: 1.15;
}

.community-thread-modal-head .panel-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.community-thread-modal-panel .community-create {
  padding: 0;
  gap: 8px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.community-thread-modal-panel .community-create textarea {
  min-height: 110px;
}

.community-thread-modal-panel .community-create input,
.community-thread-modal-panel .community-create textarea {
  width: 100%;
  max-width: none;
}

.community-thread-modal-panel .community-create button.primary {
  justify-self: end;
}

#communityLiveModal .community-thread-modal-panel {
  width: min(520px, 100%);
}

#communityLiveModal .community-thread-modal-panel .community-create {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-items: center;
  width: 100%;
  gap: 10px;
}

#communityLiveModal .community-thread-modal-head {
  width: 100%;
  padding-right: 52px;
}

#communityLiveModal .community-thread-modal-head .panel-sub {
  max-width: 34ch;
}

#communityLiveModal .community-live-inline-note,
#communityLiveModal .community-live-preview-shell,
#communityLiveModal .community-live-modal-actions,
#communityLiveModal .community-live-setup-grid {
  width: 100%;
}

#communityLiveModal .community-live-modal-actions {
  margin-top: 2px;
}

#communityLiveWatchModal .community-live-watch-panel {
  width: min(1440px, 98vw);
  height: min(92vh, 980px);
  max-height: min(92vh, 980px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(161, 189, 68, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(13, 16, 22, 0.98), rgba(10, 13, 18, 0.98));
  border-color: rgba(145, 166, 78, 0.34);
}

#communityLiveWatchModal .community-thread-modal-head {
  width: 100%;
  padding-right: 56px;
  display: grid;
  gap: 10px;
}

#communityLiveWatchModal .community-live-chat-thread {
  width: 100%;
  padding: 6px 8px 0;
  justify-content: space-between;
  gap: 12px;
}

#communityLiveWatchModal .community-live-chat-avatar-wrap {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
}

#communityLiveWatchModal .community-live-chat-avatar-wrap .community-avatar {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(188, 212, 109, 0.24);
  box-shadow: 0 10px 22px rgba(5, 5, 6, 0.2);
}

#communityLiveWatchModal #communityLiveWatchTitle {
  font-family: "Sora", "Inter", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
  font-size: clamp(22px, 1.7vw, 30px);
  line-height: 1.06;
  color: #f5f5f4;
}

#communityLiveWatchModal #communityLiveWatchMeta {
  color: #8f98a4;
  font-size: 13px;
}

#communityLiveWatchModal .community-live-status {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(210, 243, 101, 0.2);
  background: linear-gradient(180deg, rgba(15, 15, 17, 0.94), rgba(11, 11, 12, 0.92));
  color: #eeefed;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

#communityLiveWatchModal .community-live-status .live-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #c3e25e;
  box-shadow: 0 0 0 6px rgba(195, 226, 94, 0.12);
  animation: pulse 1.8s ease-in-out infinite;
}

#communityLiveWatchModal .community-live-chat-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 8px;
}

#communityLiveWatchModal .community-live-chat-stat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 22, 26, 0.82);
  color: #d8e1e8;
  font-size: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

#communityLiveWatchModal .community-live-chat-stat i {
  color: #c8e272;
  font-size: 12px;
}

#communityLiveWatchModal .community-live-chat-stat strong {
  color: #f3f7fb;
  font-size: 13px;
  font-weight: 800;
}

#communityLiveWatchModal .community-create {
  grid-area: auto;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  justify-items: stretch;
  justify-self: stretch;
  align-self: stretch;
}

#communityLiveWatchModal .community-live-room-layout {
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  min-height: 0;
  height: 100%;
  align-items: stretch;
  grid-template-columns: minmax(0, 2.55fr) clamp(320px, 28%, 390px);
  gap: 24px;
  justify-self: stretch;
  align-self: stretch;
}

#communityLiveWatchModal .community-live-room-main .community-live-stream-shell {
  height: 100%;
}

#communityLiveWatchModal .community-live-room-main .community-live-watch-frame {
  min-height: 0;
  height: 100%;
}

#communityLiveWatchModal .community-live-room-chat {
  min-height: 0;
  max-width: none;
}

#communityLiveWatchModal .community-live-comments {
  min-height: 0;
}

#communityLiveWatchModal .community-live-room-main {
  display: flex;
  min-height: 0;
}

#communityLiveWatchModal .community-live-room-main .community-live-stream-shell {
  flex: 1 1 auto;
  min-height: 0;
}

#communityLiveWatchModal .community-live-stream-shell {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

#communityLiveWatchModal .community-live-room-chat {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(93, 99, 72, 0.38);
  background:
    radial-gradient(circle at top right, rgba(164, 190, 80, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(14, 18, 24, 0.98), rgba(11, 15, 20, 0.98));
  padding: 14px;
  gap: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

#communityLiveWatchModal .community-live-preview-head {
  align-items: center;
}

#communityLiveWatchModal .community-live-watch-frame {
  aspect-ratio: 16 / 9;
  min-height: 0;
  height: 100%;
  border-radius: 20px;
  border: 1px solid rgba(105, 112, 84, 0.5);
  background: radial-gradient(circle at 30% 10%, rgba(22, 29, 36, 0.72), rgba(8, 11, 16, 0.98) 70%);
}

@media (max-width: 1180px) {
  #communityLiveWatchModal .community-live-watch-panel {
    width: min(100%, 1140px);
    padding: 16px;
  }

  #communityLiveWatchModal .community-create {
    justify-content: flex-start;
  }

  #communityLiveWatchModal .community-live-room-layout {
    flex: 1 1 auto;
    width: min(100%, 920px);
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #communityLiveWatchModal .community-live-room-chat {
    max-width: none;
  }

  #communityLiveWatchModal .community-live-watch-frame {
    min-height: 420px;
  }
}

#communityLiveWatchModal .community-live-stage-head strong {
  font-family: "Sora", "Inter", "Segoe UI", sans-serif;
  font-size: clamp(22px, 1.8vw, 30px);
  font-weight: 750;
  color: #f4f7ff;
  letter-spacing: -0.03em;
}

#communityLiveWatchModal .community-live-stage-kicker {
  background: rgba(243, 84, 84, 0.14);
  border: 1px solid rgba(255, 112, 112, 0.34);
}

#communityLiveWatchModal .community-live-stage-overlay {
  padding: 18px;
  background: linear-gradient(180deg, rgba(7, 10, 14, 0.14), transparent 30%, transparent 64%, rgba(5, 8, 12, 0.72));
}

#communityLiveWatchModal .community-live-stage-badge {
  background: rgba(9, 13, 18, 0.8);
  border: 1px solid rgba(188, 212, 109, 0.38);
  color: #f3f4f2;
}

#communityLiveWatchModal .community-live-stage-badge i {
  color: #c7e662;
}

#communityLiveWatchModal .community-live-stage-controls {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
}

#communityLiveWatchModal .community-live-stage-control {
  min-height: 40px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: rgba(242, 246, 255, 0.92);
  box-shadow: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

#communityLiveWatchModal .community-live-stage-control:hover,
#communityLiveWatchModal .community-live-stage-control:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  transform: none;
}

#communityLiveWatchModal .community-live-watch-frame.community-live-controls-hidden .community-live-stage-controls {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  filter: blur(2px);
}

#communityLiveWatchModal .community-live-stage-footer {
  width: 100%;
  background: linear-gradient(180deg, rgba(5, 8, 12, 0), rgba(5, 8, 12, 0.84) 26%, rgba(5, 8, 12, 0.92));
  padding: 10px 12px 8px;
  border-top: 2px solid rgba(188, 217, 90, 0.92);
  border-radius: 0 0 14px 14px;
  transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
}

#communityLiveWatchModal .community-live-watch-frame.community-live-controls-hidden .community-live-stage-footer {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(2px);
  pointer-events: none;
}

#communityLiveWatchModal .community-live-stage-control-icon {
  margin-left: auto;
}

#communityLiveWatchModal .community-live-stage-control span {
  display: none;
}

#communityLiveWatchModal .community-live-stage-control i {
  font-size: 16px;
}

#communityLiveWatchModal .community-live-stage-control {
  min-width: 42px;
  width: 42px;
  padding: 0;
}

#communityLiveWatchModal .community-live-volume-range {
  -webkit-appearance: none;
  appearance: none;
  width: 110px;
  height: 6px;
  border-radius: 999px;
  border: 1px solid rgba(134, 147, 90, 0.58);
  background: linear-gradient(90deg, rgba(184, 213, 89, 0.95), rgba(83, 97, 39, 0.9));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

#communityLiveWatchModal .community-live-volume-range:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(177, 206, 80, 0.2);
}

#communityLiveWatchModal .community-live-volume-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(238, 253, 188, 0.88);
  background: #ededeb;
  box-shadow: 0 0 0 2px rgba(138, 163, 55, 0.35);
  cursor: pointer;
}

#communityLiveWatchModal .community-live-volume-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(238, 253, 188, 0.88);
  background: #ededeb;
  box-shadow: 0 0 0 2px rgba(138, 163, 55, 0.35);
  cursor: pointer;
}

#communityLiveWatchModal .community-live-volume-range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  border: 1px solid rgba(134, 147, 90, 0.58);
  background: linear-gradient(90deg, rgba(184, 213, 89, 0.95), rgba(83, 97, 39, 0.9));
}

#communityLiveWatchModal .community-live-preview-status {
  color: #95a2b0;
  font-size: 14px;
}

#communityLiveWatchModal .community-live-room-chat-head strong {
  font-family: "Sora", "Inter", "Segoe UI", sans-serif;
  font-size: clamp(20px, 1.5vw, 28px);
  color: #f3f7ff;
  letter-spacing: -0.02em;
}

#communityLiveWatchModal .community-live-room-chat-head span {
  min-width: 34px;
  min-height: 34px;
  border: 1px solid rgba(152, 164, 112, 0.52);
  background: rgba(22, 30, 35, 0.9);
  color: #f3f4f2;
}

#communityLiveWatchModal .community-live-comments {
  padding: 10px 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background:
    radial-gradient(circle at top, rgba(194, 223, 96, 0.07), transparent 28%),
    linear-gradient(180deg, rgba(15, 17, 20, 0.98), rgba(12, 14, 17, 0.96));
  gap: 8px;
  box-shadow: none;
}

#communityLiveWatchModal .community-live-comments .chat-msg {
  animation-duration: 0.26s;
}

#communityLiveWatchModal .community-live-comments .chat-msg-body {
  max-width: min(82%, 620px);
}

#communityLiveWatchModal .community-live-comments .chat-msg:not(.is-me):not(.chat-msg-system) .chat-msg-body {
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(180deg, rgba(31, 36, 43, 0.98), rgba(21, 26, 31, 0.96));
}

#communityLiveWatchModal .community-live-comments .chat-msg-author {
  color: #e5f4b4;
}

#communityLiveWatchModal .community-live-comments .chat-msg-time {
  color: #8fa09a;
}

#communityLiveWatchModal .community-live-comments .chat-empty-state {
  min-height: 124px;
  display: grid;
  align-content: center;
  gap: 8px;
  justify-items: start;
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(17, 20, 24, 0.82);
}

#communityLiveWatchModal .community-live-comments .community-empty.chat-empty-state strong {
  color: #f3f3f2;
  font-size: 15px;
}

#communityLiveWatchModal .community-live-comments .community-empty.chat-empty-state span {
  color: #c0cb9a;
  font-size: 13px;
  line-height: 1.4;
  max-width: 32ch;
}

#communityLiveWatchModal .community-live-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18, 21, 25, 0.98), rgba(14, 17, 20, 0.96));
  padding: 4px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

#communityLiveWatchModal .community-live-compose:focus-within {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

#communityLiveWatchModal .community-live-compose input#communityLiveCommentInput,
#communityLiveWatchModal .community-live-compose textarea#communityLiveCommentInput {
  min-height: 44px;
  height: 44px;
  max-height: calc(1.35em * 3 + 18px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(28, 33, 39, 0.96);
  color: #edf2f7;
  font-size: 15px;
  line-height: 1.35;
  padding: 0 14px;
  resize: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

#communityLiveWatchModal .community-live-compose input#communityLiveCommentInput:focus,
#communityLiveWatchModal .community-live-compose textarea#communityLiveCommentInput:focus {
  outline: 0;
  border-color: rgba(210, 243, 101, 0.28);
  box-shadow: 0 0 0 2px rgba(210, 243, 101, 0.12);
}

#communityLiveWatchModal .community-live-compose input#communityLiveCommentInput::placeholder,
#communityLiveWatchModal .community-live-compose textarea#communityLiveCommentInput::placeholder {
  color: #8f9ba7;
  font-size: 14px;
}

#communityLiveWatchModal .community-live-compose .chat-send-icon-btn {
  width: 46px;
  min-width: 46px;
  height: 46px;
  min-height: 46px;
  border-radius: 14px;
  border: 0;
  background: linear-gradient(180deg, #c3e25e, #a3c042);
  color: #141805;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(163, 192, 66, 0.22);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

#communityLiveWatchModal .community-live-compose .chat-send-icon-btn:hover,
#communityLiveWatchModal .community-live-compose .chat-send-icon-btn:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 10px 18px rgba(163, 192, 66, 0.26);
}

#communityLiveWatchModal .community-live-compose .chat-send-icon-btn i {
  font-size: 16px;
}

#communityThreadModal .community-thread-modal-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#communityThreadModal .community-thread-modal-head {
  width: 100%;
}

#communityThreadModal .community-create {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#communityThreadModal .community-create input,
#communityThreadModal .community-create textarea {
  width: 100%;
  max-width: none;
}

#communityThreadModal .community-create button.primary {
  align-self: flex-end;
}

.create-event-prompt-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.create-type-panel {
  width: min(620px, 100%);
  gap: 12px;
  padding-top: 18px;
}

.create-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

