.plugin-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: min(420px, 42vw);
}

.plugin-header-actions .search-input {
  width: min(320px, 34vw);
}

.plugin-marketplace {
  min-height: 320px;
}

.plugin-result-list {
  display: grid;
  gap: 14px;
}

.plugin-market-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(100, 230, 109, 0.2);
  border-radius: 10px;
  background:
    linear-gradient(120deg, rgba(100, 230, 109, 0.07), transparent 42%),
    rgba(255, 255, 255, 0.035);
}

.plugin-market-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(100, 230, 109, 0.28);
  border-radius: 12px;
  color: var(--green);
  background: rgba(100, 230, 109, 0.09);
}

.plugin-market-icon svg {
  width: 28px;
  height: 28px;
}

.plugin-market-icon > img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.plugin-market-icon-image {
  filter: drop-shadow(0 0 10px rgba(21, 215, 255, 0.26));
}

.plugin-market-copy {
  min-width: 0;
}

.plugin-market-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plugin-market-meta .plugin-coming-soon-badge {
  padding: 5px 8px;
  font-size: 10px;
}

.plugin-market-meta em {
  color: #8f9aae;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.plugin-market-copy h2 {
  margin: 10px 0 5px;
  color: #f2f7ff;
  font-size: 22px;
}

.plugin-market-copy p {
  max-width: 760px;
  margin: 0;
  color: #a2adbd;
  line-height: 1.5;
}

.plugin-market-copy small {
  display: block;
  margin-top: 9px;
  color: var(--green);
  font-weight: 700;
}

.lfg-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(100, 230, 109, 0.24);
  border-radius: 10px;
  background:
    radial-gradient(circle at 80% 20%, rgba(21, 215, 255, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(100, 230, 109, 0.12), rgba(109, 79, 255, 0.08)),
    rgba(4, 8, 14, 0.58);
}

.lfg-hero-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.lfg-hero-icon {
  width: clamp(72px, 8vw, 104px);
  height: clamp(72px, 8vw, 104px);
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(109, 79, 255, 0.28));
}

.lfg-hero > .invite-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.lfg-hero span,
.lfg-composer-heading span,
.lfg-post-title span {
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.lfg-hero h2 {
  margin: 6px 0;
  color: #f4f8ff;
  font-size: clamp(24px, 3vw, 38px);
}

.lfg-hero p {
  margin: 0;
  color: #a4afbf;
}

.lfg-composer {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(85, 167, 255, 0.28);
  border-radius: 10px;
  background: rgba(7, 13, 22, 0.9);
}

.lfg-composer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lfg-composer-heading h2 {
  margin: 5px 0 0;
}

.lfg-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.lfg-field {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.lfg-field > span,
.lfg-toolbar label > span {
  color: #aeb8c8;
  font-size: 12px;
  font-weight: 800;
}

.lfg-field-wide {
  grid-column: 1 / -1;
}

.lfg-field textarea {
  min-height: 92px;
  resize: vertical;
}

.lfg-mic-field {
  display: flex;
  align-items: center;
  align-self: end;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.lfg-mic-field input {
  accent-color: var(--green);
}

.lfg-composer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lfg-composer-actions small {
  margin-left: auto;
  color: #7f8a9d;
}

.lfg-toolbar {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

.lfg-toolbar label {
  display: grid;
  gap: 6px;
  min-width: 170px;
}

.lfg-toolbar button {
  margin-left: auto;
}

.lfg-post-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lfg-post-card {
  min-width: 0;
  display: grid;
  gap: 15px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(4, 8, 14, 0.28)),
    rgba(8, 13, 21, 0.72);
}

.lfg-post-card:hover {
  border-color: rgba(100, 230, 109, 0.3);
}

.lfg-post-header {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.lfg-author-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #07100a;
  background: var(--green);
  font-weight: 950;
}

.lfg-post-header strong,
.lfg-post-header small {
  display: block;
}

.lfg-post-header small {
  margin-top: 3px;
  color: #7f8a9e;
  font-size: 11px;
}

.lfg-owned-badge {
  padding: 5px 7px;
  border-radius: 6px;
  color: var(--green);
  background: rgba(100, 230, 109, 0.09);
  font-size: 10px;
  font-weight: 900;
}

.lfg-post-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.lfg-post-title h2 {
  margin: 5px 0 0;
  color: #f5f8ff;
  font-size: 24px;
  overflow-wrap: anywhere;
}

.lfg-post-title > strong {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 13px;
}

.lfg-post-title > strong.full {
  color: #ffb84d;
}

.lfg-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.lfg-post-tags span {
  padding: 6px 8px;
  border: 1px solid rgba(85, 167, 255, 0.18);
  border-radius: 6px;
  color: #b8c7dc;
  background: rgba(85, 167, 255, 0.07);
  font-size: 11px;
  font-weight: 750;
}

.lfg-post-tags span.mic {
  border-color: rgba(100, 230, 109, 0.22);
  color: var(--green);
  background: rgba(100, 230, 109, 0.07);
}

.lfg-post-card > p {
  min-height: 44px;
  margin: 0;
  color: #a9b3c3;
  line-height: 1.5;
}

.lfg-post-schedule {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.lfg-post-schedule svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.lfg-post-schedule strong {
  color: #e7edf7;
  font-size: 13px;
}

.lfg-post-schedule small {
  color: #7f8a9e;
}

.lfg-post-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.lfg-participants {
  min-width: 0;
  color: #8f9aac;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lfg-post-card button[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
}

.small-action.danger {
  border-color: rgba(255, 85, 115, 0.28);
  color: #ff7189;
}

.lfg-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: 180px;
  align-content: center;
}

.lfg-empty strong {
  color: #edf3fc;
  font-size: 18px;
}

.lfg-empty span {
  color: #8e99aa;
}

@media (max-width: 1080px) {
  .lfg-post-list {
    grid-template-columns: 1fr;
  }

  .lfg-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .plugin-header-actions,
  .plugin-header-actions .search-input {
    width: 100%;
    min-width: 0;
  }

  .plugin-header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .plugin-market-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .plugin-market-icon {
    width: 48px;
    height: 48px;
  }

  .plugin-market-icon > img {
    width: 44px;
    height: 44px;
  }

  .plugin-market-card > button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .lfg-hero,
  .lfg-post-card footer,
  .lfg-composer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .lfg-hero {
    display: flex;
  }

  .lfg-hero-main {
    align-items: flex-start;
  }

  .lfg-form-grid {
    grid-template-columns: 1fr;
  }

  .lfg-field-wide {
    grid-column: auto;
  }

  .lfg-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .lfg-toolbar label {
    min-width: 0;
  }

  .lfg-toolbar button,
  .lfg-composer-actions small {
    width: 100%;
    margin-left: 0;
  }

  .lfg-post-schedule {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .lfg-post-schedule small {
    grid-column: 2;
  }
}
