
.acf-thread {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(237, 237, 237, 0.1);
  padding-top: 10px;
}
.acf-thread-list {
  display: grid;
  gap: 8px;
}
.acf-thread-list:empty {
  display: none;
}
.acf-cmt-block {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.acf-cmt {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border-radius: 8px;
  background: rgba(237, 237, 237, 0.05);
  transition: background-color 0.3s ease;
}
.acf-cmt-flash {
  background: rgba(237, 237, 237, 0.15);
}
.acf-cmt-replies {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin-left: 16px;
  padding-left: 12px;
  border-left: 2px solid rgba(237, 237, 237, 0.1);
}
.acf-cmt-replies:empty {
  display: none;
}

.acf-cmt-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 28px;
}
.acf-cmt-head > :first-child {
  margin-right: 2px;
}
.acf-cmt-avatar {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2a1d38;
  color: #ededed;
  font-size: 12px;
  font-weight: 600;
}
img.acf-cmt-avatar {
  object-fit: cover;
}
.acf-cmt-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  color: #ededed;
  text-decoration: none;
}
a.acf-cmt-name:hover {
  text-decoration: underline;
}
.acf-cmt-you {
  flex: none;
  padding: 1px 7px;
  border: 1px solid rgba(237, 237, 237, 0.15);
  border-radius: 999px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(237, 237, 237, 0.8);
}
.acf-cmt-dot,
.acf-cmt-time {
  flex: none;
  font-size: 12px;
  line-height: 16px;
  color: rgba(237, 237, 237, 0.6);
}
.acf-cmt-you[hidden],
.acf-cmt-menu-btn[hidden] {
  display: none;
}
.acf-cmt-menu-btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: rgba(237, 237, 237, 0.6);
  cursor: pointer;
}
.acf-cmt-menu-btn:hover,
.acf-cmt-menu-btn[aria-expanded="true"] {
  background: rgba(237, 237, 237, 0.1);
  color: #ededed;
}
.acf-cmt-icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.acf-cmt-replying {
  justify-self: start;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: rgba(237, 237, 237, 0.6);
  cursor: pointer;
}
.acf-cmt-replying b {
  font-weight: 600;
  color: #ededed;
}
.acf-cmt-replying:hover b {
  text-decoration: underline;
}

.acf-cmt-body {
  margin: 0;
  min-width: 0;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  color: #ededed;
  overflow-wrap: anywhere;
}
.acf-cmt-body[hidden] {
  display: none;
}

.acf-cmt-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.acf-cmt-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: rgba(237, 237, 237, 0.6);
  cursor: pointer;
}
.acf-cmt-action:hover,
.acf-cmt-action[aria-pressed="true"] {
  color: #ededed;
}
.acf-cmt-action:disabled {
  opacity: 0.5;
  cursor: default;
}

.acf-thread-more,
.acf-cmt-more {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: rgba(237, 237, 237, 0.6);
  text-decoration: none;
  cursor: pointer;
}
.acf-thread-more:hover,
.acf-cmt-more:hover {
  color: #ededed;
  text-decoration: underline;
}
.acf-thread-more[hidden] {
  display: none;
}
.acf-cmt-more[aria-busy="true"] {
  opacity: 0.5;
  cursor: progress;
}
.acf-cmt-more-error {
  color: var(--color-danger);
}

.acf-cmt-action:focus-visible,
.acf-cmt-menu-btn:focus-visible,
.acf-cmt-replying:focus-visible,
.acf-cmt-name:focus-visible,
.acf-thread-more:focus-visible,
.acf-cmt-more:focus-visible,
.acf-cmt-pop-item:focus-visible,
.acf-compose-tool:focus-visible,
.acf-compose-cancel:focus-visible,
.acf-compose-submit:focus-visible,
.acf-compose-sprow button:focus-visible,
.acf-confirm-btn:focus-visible {
  outline: 2px solid #ededed;
  outline-offset: 2px;
}


.acf-compose-editor a,
.acf-cmt-body a {
  color: #ededed;
  text-decoration: underline;
}
.acf-compose-editor blockquote,
.acf-cmt-body blockquote {
  margin: 4px 0;
  padding-left: 10px;
  border-left: 2px solid rgba(237, 237, 237, 0.15);
  color: rgba(237, 237, 237, 0.6);
}
.acf-compose-editor ul,
.acf-compose-editor ol,
.acf-cmt-body ul,
.acf-cmt-body ol {
  margin: 4px 0;
  padding-left: 20px;
}
.acf-compose-editor h2,
.acf-compose-editor h3,
.acf-cmt-body h2,
.acf-cmt-body h3 {
  margin: 4px 0;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: #ededed;
}
.acf-compose-editor p,
.acf-cmt-body p {
  margin: 0;
}
.acf-cmt-body b,
.acf-cmt-body strong {
  font-weight: 600;
}
.acf-cmt-spotify {
  display: block;
}
.acf-cmt-body iframe {
  display: block;
  width: 100%;
  height: 152px;
  margin: 6px 0;
  border: 0;
  border-radius: 12px;
}


.acf-cmt-pop {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 20;
  display: grid;
  min-width: 140px;
  padding: 4px;
  border: 1px solid rgba(237, 237, 237, 0.15);
  border-radius: 12px;
  background: var(--color-surface);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.acf-cmt-pop-item {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  color: #ededed;
  cursor: pointer;
}
.acf-cmt-pop-item:hover {
  background: rgba(237, 237, 237, 0.1);
}
.acf-cmt-pop-danger {
  color: var(--color-danger);
}


.acf-compose {
  min-width: 0;
  border: 1px solid rgba(237, 237, 237, 0.15);
  border-radius: 16px;
  background: rgba(237, 237, 237, 0.05);
  overflow: hidden;
}
.acf-compose[hidden] {
  display: none;
}
.acf-compose:focus-within {
  border-color: rgba(237, 237, 237, 0.35);
}
.acf-compose-editor {
  min-height: 40px;
  max-height: 240px;
  overflow-y: auto;
  padding: 10px 14px;
  outline: none;
  font-size: 14px;
  line-height: 20px;
  color: #ededed;
  overflow-wrap: anywhere;
}
.acf-compose-editor:empty::before {
  content: attr(data-placeholder);
  color: rgba(237, 237, 237, 0.6);
  pointer-events: none;
}
.acf-compose-open .acf-compose-editor {
  min-height: 96px;
}

.acf-compose-bar,
.acf-compose-footer {
  display: none;
}
.acf-compose-open .acf-compose-bar {
  display: block;
  border-bottom: 1px solid rgba(237, 237, 237, 0.1);
}
.acf-compose-open .acf-compose-footer {
  display: flex;
}

.acf-compose-toolbar {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px 24px 6px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(
    to right,
    #000 calc(100% - 16px),
    transparent
  );
  mask-image: linear-gradient(to right, #000 calc(100% - 16px), transparent);
}
.acf-compose-toolbar::-webkit-scrollbar {
  display: none;
}
.acf-compose-tool {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border: 0;
  border-radius: 6px;
  background: none;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: rgba(237, 237, 237, 0.8);
  cursor: pointer;
}
.acf-compose-tool:hover {
  background: rgba(237, 237, 237, 0.1);
}
.acf-compose-tool[aria-pressed="true"] {
  background: rgba(237, 237, 237, 0.2);
  color: #ededed;
}
.acf-compose-glyph {
  width: 16px;
  height: 16px;
}

.acf-compose-sprow {
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-top: 1px solid rgba(237, 237, 237, 0.1);
}
.acf-compose-sprow[hidden] {
  display: none;
}
.acf-compose-sprow input {
  flex: 1;
  min-width: 0;
  padding: 7px 12px;
  border: 1px solid rgba(237, 237, 237, 0.15);
  border-radius: 999px;
  background: rgba(237, 237, 237, 0.05);
  font: inherit;
  font-size: 14px;
  color: #ededed;
}
.acf-compose-sprow input[aria-invalid="true"] {
  border-color: var(--color-danger);
}
.acf-compose-sprow button {
  flex: none;
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(237, 237, 237, 0.15);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #ededed;
  cursor: pointer;
}
.acf-compose-chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(237, 237, 237, 0.15);
  font-size: 12px;
  color: #ededed;
  user-select: none;
}

.acf-compose-footer {
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px 10px;
  border-top: 1px solid rgba(237, 237, 237, 0.1);
}
.acf-compose-count {
  margin-right: auto;
  font-size: 12px;
  color: rgba(237, 237, 237, 0.6);
}
.acf-compose-count-over {
  color: var(--color-danger);
}
.acf-compose-cancel {
  min-height: 32px;
  padding: 0 8px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: rgba(237, 237, 237, 0.8);
  cursor: pointer;
}
.acf-compose-cancel:hover {
  color: #ededed;
}
.acf-compose-submit {
  min-height: 32px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #ededed;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
}
.acf-compose-submit:disabled {
  background: rgba(237, 237, 237, 0.15);
  color: rgba(237, 237, 237, 0.6);
  cursor: default;
}


.acf-confirm {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.6);
}
.acf-confirm-shell {
  display: grid;
  gap: 24px;
  width: min(500px, 100%);
  padding: 36px;
  border-radius: 32px;
  background: var(--charcoal);
  text-align: center;
}
.acf-confirm-title {
  margin: 0;
  font-family: var(--font-montra, inherit);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  color: #ededed;
}
.acf-confirm-msg {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(237, 237, 237, 0.8);
}
.acf-confirm-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.acf-confirm-btn {
  flex: 1;
  min-width: 120px;
  padding: 8px 16px;
  border: 0;
  border-radius: 9999px;
  font: inherit;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
  color: #ededed;
  cursor: pointer;
}
.acf-confirm-cancel {
  background: rgba(237, 237, 237, 0.15);
}
.acf-confirm-cancel:hover {
  background: rgba(237, 237, 237, 0.05);
}
.acf-confirm-danger {
  background: hsl(0 85% 46%);
}
.acf-confirm-danger:hover {
  opacity: 0.85;
}
@media (max-width: 640px) {
  .acf-confirm {
    place-items: end stretch;
    padding: 0;
  }
  .acf-confirm-shell {
    width: auto;
    padding: 24px 16px calc(16px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
  }
  .acf-confirm-title {
    font-size: 18px;
  }
  .acf-confirm-msg {
    font-size: 14px;
  }
  .acf-confirm-actions {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .acf-cmt {
    transition: none;
  }
}
