.discord-vouches-section {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  isolation: isolate;
}

.discord-vouches-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 14% 22%, rgba(151, 76, 255, .18), transparent 34%),
    radial-gradient(circle at 88% 78%, rgba(77, 154, 255, .12), transparent 30%),
    linear-gradient(180deg, rgba(8, 6, 15, .12), rgba(8, 5, 16, .86));
}

.discord-vouches-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .18;
  background-image:
    linear-gradient(rgba(178, 127, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(178, 127, 255, .08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 84%, transparent);
}

.vouch-showcase-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(275px, .74fr) minmax(0, 1.42fr);
  gap: clamp(28px, 4vw, 62px);
  padding: clamp(28px, 4vw, 58px);
  border: 1px solid rgba(164, 99, 255, .28);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(29, 18, 52, .93), rgba(8, 7, 15, .97) 45%, rgba(10, 10, 23, .96)),
    #09070f;
  box-shadow:
    0 38px 90px rgba(0, 0, 0, .47),
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 0 0 1px rgba(110, 44, 222, .08);
}

.vouch-showcase-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(193, 151, 255, .22), transparent) top/46% 1px no-repeat,
    radial-gradient(circle at 8% 14%, rgba(178, 100, 255, .16), transparent 26%);
}

.vouch-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  container-type: inline-size;
}

.vouch-copy::after {
  content: "“";
  position: absolute;
  top: -44px;
  right: 0;
  color: rgba(174, 106, 255, .08);
  font: 900 clamp(9rem, 15vw, 14rem)/1 Georgia, serif;
  pointer-events: none;
}

.vouch-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: #caa8ff;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.vouch-kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a85dff;
  box-shadow: 0 0 0 5px rgba(168, 93, 255, .11), 0 0 18px rgba(168, 93, 255, .9);
}

.vouch-copy h2 {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 20px 0 18px;
  color: #f7f4ff;
  font-size: clamp(2.55rem, 14cqw, 4.15rem);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .94;
}

.vouch-copy h2 span {
  display: block;
  margin-top: 9px;
  color: transparent;
  background: linear-gradient(90deg, #8d4cff 0%, #c36cff 50%, #7d9cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.vouch-copy > p {
  max-width: 470px;
  margin: 0;
  color: #b8b0c9;
  font-size: clamp(.94rem, 1.45vw, 1.07rem);
  line-height: 1.75;
}

.vouch-proof-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.vouch-proof-stat {
  min-width: 0;
  padding: 16px 15px;
  border: 1px solid rgba(159, 94, 255, .19);
  border-radius: 16px;
  background: rgba(16, 11, 29, .72);
}

.vouch-proof-stat span,
.vouch-proof-stat small {
  display: block;
}

.vouch-proof-stat span {
  color: #8d829d;
  font-size: .57rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.vouch-proof-stat strong {
  display: block;
  overflow: hidden;
  margin: 6px 0 2px;
  color: #f6f2ff;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#vouchChannelName {
  overflow: visible;
  font-size: clamp(.86rem, 4.4cqw, 1.08rem);
  line-height: 1.18;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.vouch-proof-stat small {
  color: #776f86;
  font-size: .67rem;
}

.vouch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.vouch-refresh-button,
.vouch-discord-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 15px;
  border-radius: 12px;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.vouch-discord-button {
  border: 1px solid rgba(168, 94, 255, .45);
  background: linear-gradient(135deg, #8c3fff, #6541df);
  color: #fff;
  box-shadow: 0 12px 30px rgba(111, 51, 220, .24);
}

.vouch-refresh-button {
  border: 1px solid rgba(176, 124, 255, .24);
  background: rgba(24, 15, 42, .66);
  color: #d6c1f7;
  cursor: pointer;
}

.vouch-refresh-button:hover,
.vouch-discord-button:hover {
  transform: translateY(-2px);
  border-color: rgba(202, 166, 255, .72);
}

.vouch-refresh-button.is-loading {
  opacity: .62;
  pointer-events: none;
}

.vouch-wall {
  position: relative;
  min-width: 0;
  padding: clamp(17px, 2.2vw, 25px);
  border: 1px solid rgba(149, 87, 255, .26);
  border-radius: 25px;
  background:
    linear-gradient(180deg, rgba(23, 15, 41, .92), rgba(6, 6, 13, .96)),
    #08070d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 25px 55px rgba(0, 0, 0, .28);
}

.vouch-wall::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at 86% 8%, rgba(106, 81, 255, .13), transparent 32%);
}

.vouch-wall-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding: 0 2px 16px;
  border-bottom: 1px solid rgba(167, 111, 255, .13);
}

.vouch-wall-title span,
.vouch-wall-title strong {
  display: block;
}

.vouch-wall-title span {
  color: #8f859d;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.vouch-wall-title strong {
  margin-top: 4px;
  color: #f3edff;
  font-size: clamp(.95rem, 1.7vw, 1.2rem);
}

.vouch-live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(255, 190, 84, .22);
  border-radius: 999px;
  background: rgba(255, 181, 69, .06);
  color: #d6a34f;
  font-size: .55rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.vouch-live-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5a93e;
  box-shadow: 0 0 12px rgba(245, 169, 62, .75);
}

.vouch-live-status.is-live {
  border-color: rgba(89, 224, 151, .22);
  background: rgba(45, 192, 115, .06);
  color: #75e6ad;
}

.vouch-live-status.is-live i {
  background: #4fe29a;
  box-shadow: 0 0 12px rgba(79, 226, 154, .75);
}

.vouch-featured {
  position: relative;
  min-height: 246px;
  padding: clamp(20px, 2.5vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(181, 119, 255, .3);
  border-radius: 21px;
  background:
    radial-gradient(circle at 100% 0, rgba(125, 75, 235, .18), transparent 35%),
    linear-gradient(145deg, rgba(34, 22, 56, .96), rgba(10, 8, 19, .97));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 18px 38px rgba(0, 0, 0, .22);
}

.vouch-featured::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -60px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(155, 91, 255, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(155, 91, 255, .025), 0 0 0 56px rgba(155, 91, 255, .018);
}

.vouch-featured.is-changing > * {
  animation: vouch-enter .45s ease both;
}

@keyframes vouch-enter {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

.vouch-featured-top,
.vouch-featured-bottom,
.vouch-identity {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.vouch-featured-top,
.vouch-featured-bottom {
  justify-content: space-between;
  gap: 15px;
}

.vouch-identity {
  min-width: 0;
  gap: 12px;
}

.vouch-identity > div:last-child {
  min-width: 0;
}

.vouch-identity strong,
.vouch-identity span {
  display: block;
}

.vouch-identity strong {
  overflow: hidden;
  color: #f7f3ff;
  font-size: .98rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vouch-identity span {
  margin-top: 4px;
  color: #8e849b;
  font-size: .65rem;
}

.vouch-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 39px;
  height: 39px;
  overflow: hidden;
  border: 1px solid rgba(190, 138, 255, .38);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(150, 79, 255, .35), rgba(49, 32, 85, .8));
  color: #eee3ff;
  font-size: .7rem;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(137, 72, 255, .15);
}

.vouch-avatar.is-large {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.vouch-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vouch-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(105, 207, 160, .21);
  border-radius: 999px;
  background: rgba(56, 182, 122, .06);
  color: #78dfae;
  font-size: .53rem;
  font-weight: 900;
  letter-spacing: .09em;
}

.vouch-verified-pill svg {
  width: 14px;
  height: 14px;
}

.vouch-featured blockquote {
  position: relative;
  z-index: 1;
  margin: 29px 0 25px;
  color: #eee9f7;
  font-size: clamp(1.03rem, 2vw, 1.34rem);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.62;
}

.vouch-proof-mark {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 8px;
  border: 1px solid rgba(107, 221, 166, .2);
  border-radius: 999px;
  background: rgba(54, 185, 123, .06);
  color: #72dfaa;
  font-size: .52rem;
  font-weight: 900;
  letter-spacing: .09em;
}

.vouch-featured-bottom a,
.vouch-attachment-note {
  position: relative;
  z-index: 1;
  color: #a98fcf;
  font-size: .63rem;
  font-weight: 800;
  text-decoration: none;
}

.vouch-featured-bottom a:hover { color: #fff; }

.vouch-rail-wrap {
  position: relative;
  margin-top: 12px;
}

.vouch-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.vouch-mini-card {
  min-width: 0;
  min-height: 126px;
  padding: 11px;
  border: 1px solid rgba(151, 93, 232, .14);
  border-radius: 15px;
  background: rgba(12, 9, 21, .78);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.vouch-mini-card:hover,
.vouch-mini-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(177, 111, 255, .48);
  background: rgba(28, 18, 46, .88);
  box-shadow: 0 11px 22px rgba(0, 0, 0, .18), 0 0 20px rgba(122, 67, 225, .08);
}

.vouch-mini-head {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.vouch-mini-head > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.vouch-mini-head strong,
.vouch-mini-head span {
  display: block;
}

.vouch-mini-head strong {
  overflow: hidden;
  color: #eee9f7;
  font-size: .7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vouch-mini-head span {
  margin-top: 2px;
  color: #766d82;
  font-size: .54rem;
}

.vouch-mini-check {
  color: #6fdca8;
}

.vouch-mini-check svg {
  width: 17px;
  height: 17px;
}

.vouch-mini-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 11px 0 8px;
  color: #a9a1b4;
  font-size: .66rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.vouch-mini-card .vouch-proof-mark {
  padding: 4px 6px;
  font-size: .43rem;
}

.vouch-controls {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 11px;
}

.vouch-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(164, 102, 255, .2);
  border-radius: 10px;
  background: rgba(18, 12, 31, .86);
  color: #cbb8e9;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.vouch-controls button:hover {
  border-color: rgba(189, 137, 255, .54);
  background: rgba(41, 25, 68, .9);
}

.vouch-sync-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 0 3px;
  color: #685f74;
  font-size: .57rem;
}

.vouch-empty-state {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 188px;
  text-align: center;
}

.vouch-empty-state > span {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  margin-bottom: 11px;
  border: 1px solid rgba(169, 104, 255, .27);
  border-radius: 15px;
  background: rgba(126, 70, 222, .1);
  color: #bd90ff;
}

.vouch-empty-state svg { width: 24px; height: 24px; }
.vouch-empty-state strong { color: #f1ebfa; }
.vouch-empty-state p { max-width: 430px; margin: 8px 0 0; color: #91889d; font-size: .79rem; line-height: 1.55; }

@media (max-width: 1280px) and (min-width: 1081px) {
  .vouch-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .vouch-showcase-shell { grid-template-columns: 1fr; }
  .vouch-copy { padding-right: 8%; }
  .vouch-copy h2 {
    max-width: 740px;
    font-size: clamp(2.8rem, 10cqw, 4.6rem);
  }
  .vouch-copy > p { max-width: 720px; }
  .vouch-proof-strip { max-width: 560px; }
}

@media (max-width: 900px) and (min-width: 761px) {
  .vouch-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .discord-vouches-section { padding: 62px 0; }
  .vouch-showcase-shell { padding: 20px; border-radius: 24px; }
  .vouch-copy { padding-right: 0; }
  .vouch-copy h2 { font-size: clamp(2.55rem, 12.5vw, 4rem); }
  .vouch-wall { padding: 13px; border-radius: 20px; }
  .vouch-wall-head { align-items: flex-start; }
  .vouch-live-status span { display: none; }
  .vouch-featured { min-height: 280px; padding: 19px; }
  .vouch-featured-top { align-items: flex-start; }
  .vouch-verified-pill span { display: none; }
  .vouch-featured blockquote { margin-top: 24px; font-size: 1rem; }
  .vouch-rail {
    display: flex;
    overflow-x: auto;
    padding-bottom: 5px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .vouch-rail::-webkit-scrollbar { display: none; }
  .vouch-mini-card { flex: 0 0 78%; scroll-snap-align: start; }
}

@media (max-width: 480px) {
  .vouch-proof-strip { grid-template-columns: 1fr; }
  .vouch-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .vouch-featured-bottom { align-items: flex-start; flex-direction: column; }
  .vouch-sync-footer { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .vouch-featured.is-changing > * { animation: none; }
  .vouch-mini-card,
  .vouch-refresh-button,
  .vouch-discord-button { transition: none; }
}
