:root {
  --participant-primary: #04b8c8;
  --participant-ink: #111827;
  --participant-muted: #64748b;
  --participant-border: #e5e7eb;
  --participant-soft: #f8fafc;
  --participant-card: #ffffff;
}

.participant-page {
  margin: 0;
  color: var(--participant-ink);
  background: #f6f8fb;
  font-family:var(--bc-font-sans);
}

.participant-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--participant-border);
  backdrop-filter: blur(14px);
}

.participant-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.participant-logo,
.participant-nav,
.participant-header-actions {
  display: flex;
  align-items: center;
}

.participant-logo {
  gap: 9px;
  color: var(--participant-ink);
  text-decoration: none;
}

.participant-logo span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: #111827;
  font-weight:700;
}

.participant-logo strong {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.participant-nav {
  flex: 1;
  gap: 18px;
  justify-content: center;
}

.participant-nav a,
.participant-header-actions a {
  color: #334155;
  font-weight:600;
  text-decoration: none;
  font-size: 14px;
}

.participant-nav a.active,
.participant-nav a:hover,
.participant-header-actions a:hover {
  color: var(--participant-primary);
}

.participant-header-actions {
  gap: 14px;
}

.participant-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 22px 64px;
}

.participant-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--participant-border);
  border-radius: 26px;
  background: radial-gradient(circle at top right, rgba(4, 184, 200, 0.16), transparent 34%), #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.participant-hero.seller {
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 34%), #fff;
}

.participant-tags,
.participant-actions,
.participant-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.participant-tags span,
.participant-feature-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 10px;
  background: #eef2f7;
  color: #475569;
  font-weight:600;
  font-size: 12px;
}

.participant-tags .primary,
.participant-feature-row span:first-child {
  background: #dffbff;
  color: #027b87;
}

.seller-page .participant-tags .primary,
.seller-page .participant-feature-row span:first-child {
  background: #fff4d9;
  color: #9a5a00;
}

.participant-hero h1 {
  margin: 18px 0 10px;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.participant-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--participant-muted);
  font-size: 17px;
  line-height: 1.75;
}

.participant-actions {
  margin-top: 24px;
}

.participant-actions a,
.participant-actions button,
.participant-contact-card a,
.participant-guide-card a {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  color: #fff;
  font-weight:700;
  text-decoration: none;
  cursor: pointer;
}

.participant-actions a + a,
.participant-actions button {
  background: #eef2f7;
  color: #1f2937;
}

.participant-hero-card {
  min-height: 260px;
  padding: 24px;
  border-radius: 22px;
  background: #0f172a;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

.participant-hero-card i {
  font-size: 48px;
  color: var(--participant-primary);
}

.seller-page .participant-hero-card i {
  color: #f59e0b;
}

.participant-hero-card strong {
  font-size: 24px;
  letter-spacing: -0.04em;
}

.participant-hero-card span {
  color: #cbd5e1;
  font-weight:600;
}

.participant-layout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
}

.participant-main,
.participant-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.participant-card,
.participant-contact-card,
.participant-guide-card {
  padding: 22px;
  border: 1px solid var(--participant-border);
  border-radius: 22px;
  background: var(--participant-card);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.participant-card h2,
.participant-contact-card h2,
.participant-guide-card h2 {
  margin: 0 0 14px;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.participant-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.participant-spec-grid div {
  padding: 14px;
  border-radius: 16px;
  background: var(--participant-soft);
}

.participant-spec-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--participant-muted);
  font-size: 12px;
  font-weight:600;
}

.participant-spec-grid strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.participant-description {
  margin: 0 0 18px;
  color: #334155;
  font-size: 16px;
  line-height: 1.75;
}

.participant-check-list {
  display: grid;
  gap: 12px;
}

.participant-check-list > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: var(--participant-soft);
}

.participant-check-list i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #dffbff;
  color: #027b87;
}

.seller-page .participant-check-list i {
  background: #fff4d9;
  color: #9a5a00;
}

.participant-check-list strong,
.participant-check-list span {
  display: block;
}

.participant-check-list span {
  margin-top: 3px;
  color: #111827;
  font-weight:700;
}

.participant-check-list p {
  margin: 5px 0 0;
  color: var(--participant-muted);
  line-height: 1.55;
}

.participant-card.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.participant-line-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.participant-line-list li {
  padding: 11px 12px;
  border-radius: 13px;
  background: var(--participant-soft);
  font-weight:600;
  color: #334155;
}

.participant-contact-card {
  background: #111827;
  color: #fff;
}

.participant-contact-card.seller {
  background: #1f2937;
}

.participant-contact-card span {
  color: #94a3b8;
  font-weight:600;
}

.participant-contact-card p,
.participant-guide-card p,
.participant-review-list p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.participant-contact-card p {
  color: #cbd5e1;
}

.participant-contact-card a {
  width: 100%;
  margin-top: 12px;
  background: var(--participant-primary);
}

.seller-page .participant-contact-card a {
  background: #f59e0b;
}

.participant-contact-card a + a {
  background: rgba(255, 255, 255, 0.12);
}

.participant-guide-card ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: #334155;
  font-weight:600;
}

.participant-review-list {
  display: grid;
  gap: 12px;
}

.participant-review-list strong {
  display: block;
  margin-bottom: 4px;
}

.participant-guide-card.accent {
  background: #eef7ff;
  border-color: #cfe7ff;
}

.seller-page .participant-guide-card.accent {
  background: #fffbeb;
  border-color: #fde68a;
}

.participant-guide-card.accent a {
  margin-top: 14px;
  background: #356fb8;
}

.seller-page .participant-guide-card.accent a {
  background: #b45309;
}

@media (max-width: 980px) {
  .participant-header-inner,
  .participant-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .participant-nav {
    display: none;
  }

  .participant-hero,
  .participant-layout,
  .participant-card.split {
    grid-template-columns: 1fr;
  }

  .participant-hero-card {
    min-height: 180px;
  }

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

@media (max-width: 560px) {
  .participant-header-actions a:first-child {
    display: none;
  }

  .participant-hero {
    padding: 20px;
    border-radius: 20px;
  }

  .participant-actions a,
  .participant-actions button {
    flex: 1 1 calc(50% - 8px);
  }

  .participant-actions a:first-child {
    flex-basis: 100%;
  }

  .participant-spec-grid {
    grid-template-columns: 1fr;
  }
}
