/* Quantum group directory — modern, compact, scoped visual revision. */
.gp-clean { --clean-surface: #121116f7; --clean-muted: #99939f; --clean-accent: #d0b6ff; }
.gp-clean .gp-finder {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); align-items: center;
  gap: 28px; padding: 26px 28px; background: var(--clean-surface);
  border: 1px solid #ffffff12; border-radius: 22px; box-shadow: none;
}
.gp-clean .gp-finder::before { display: none; }
.gp-clean .gp-finder h3 { margin: 0; color: #f4f1f8; font-size: 1.35rem; line-height: 1.2; font-weight: 650; letter-spacing: -.04em; }
.gp-clean .finder-copy > p { margin: 9px 0 0; color: #a5a0ac; font-size: .85rem; line-height: 1.45; }
.gp-clean .finder-controls { min-width: 0; }
.gp-clean .search-label { display: block; font-size: .75rem; font-weight: 500; color: #aba5b5; margin-bottom: 9px; }
.gp-clean .search-box { min-height: 62px; margin: 0; padding: 7px 7px 7px 16px; gap: 12px; border-radius: 18px; border: 1px solid #ffffff0a; background: #232128; box-shadow: none; transition: border-color .16s; }
.gp-clean .search-box:focus-within { border-color: #bd95ff91; box-shadow: 0 0 0 3px #c6a4ff13; }
.gp-clean .search-box input { min-height: 42px; min-width: 0; padding: 0; color: #f7f5fc; font-size: .92rem; }
.gp-clean .search-box input::placeholder { color: #97909f; }
.gp-clean .grp-lupa { width: 18px; height: 18px; color: #a99fb6; }
.gp-clean .search-btn { min-height: 46px; padding: 0 19px; border-radius: 13px; background: #d4bdff; color: #241335; font-size: .83rem; font-weight: 650; box-shadow: none; transition: background .15s; }
.gp-clean .search-btn:hover { background: #e3d3ff; filter: none; transform: none; }
.gp-clean .search-btn:disabled { opacity: .5; }
.gp-clean #groupSearchHelp { margin: 9px 0 0; color: #a09aa7; font-size: .75rem; line-height: 1.5; }
.gp-clean .legend { border: 0; padding: 0; margin: 17px 0 0; gap: 16px; }
.gp-clean .legend > div { font-size: .75rem; color: #aaa2b3; gap: 6px; }
.gp-clean .legend b { color: #e1d9eb; font-size: .75rem; font-weight: 650; }
.gp-clean .legend > div + div { padding-left: 16px; border-left: 1px solid #ffffff12; }
.gp-clean .mrow { justify-content: space-between; margin: 30px 0 16px; }
.gp-clean .mrow > .mlab { color: #ece8f1; font-size: 1rem; font-weight: 600; letter-spacing: -.025em; }
.gp-clean .mrow .line { display: none; }
.gp-clean #groupCount { color: #89828f; font-size: .75rem; font-weight: 500; letter-spacing: 0; }
.gp-clean .groups-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gp-clean .gcard { padding: 22px; border-radius: 22px; background: var(--clean-surface); border: 1px solid #ffffff12; box-shadow: none; overflow: visible; transition: border-color .16s, background .16s; }
.gp-clean .gcard:hover { transform: none; border-color: #ffffff29; background: #17151dfc; box-shadow: none; }
.gp-clean .gheader { display: flex; align-items: center; gap: 14px; min-width: 0; }
.gp-clean .gav { position: static; flex: 0 0 54px; width: 54px; height: 54px; border: 0; border-radius: 17px; background: #29252f; box-shadow: none; z-index: auto; }
.gp-clean .gav img { display: block; }
.gp-clean .gidentity { min-width: 0; }
.gp-clean .gidentity h3 { font-size: 1rem; line-height: 1.35; font-weight: 600; letter-spacing: -.025em; color: #f3eff8; margin: 0; overflow-wrap: anywhere; }
.gp-clean .gid { margin: 7px 0 0; font-family: inherit; font-size: .7rem; font-weight: 400; line-height: 1.4; color: #a09aa8; }
.gp-clean .gid > span { padding-inline: 5px; color: #575060; }
.gp-clean .gbody { display: flex; gap: 12px; align-items: center; padding: 0; margin-top: 20px; min-width: 0; }
.gp-clean .gmetrics { display: flex; align-items: stretch; gap: 10px; flex: 1; min-width: 0; }
.gp-clean .gstock { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 0; min-height: 60px; flex: 1; min-width: 0; border-radius: 0; background: transparent; border: 0; }
.gp-clean .gstock strong { white-space: nowrap; font-size: 1.5rem; line-height: 1.05; font-weight: 650; letter-spacing: -.05em; color: #e5d2ff; }
.gp-clean .gstock strong > span { font-size: .72rem; font-weight: 500; color: #baa3d4; margin-left: 4px; letter-spacing: -.01em; }
.gp-clean .gstock > span { font-size: .75rem; line-height: 1.4; margin-top: 5px; color: #aaa0b5; }
.gp-clean .gwait { flex: 0 0 126px; position: relative; margin: 0; }
.gp-clean .gwait summary { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 60px; height: 100%; padding: 9px 32px 9px 14px; border: 0; border-radius: 16px; color: #ebe4f2; background: #ffffff08; cursor: pointer; list-style: none; transition: background .16s; }
.gp-clean .gwait summary::after { content: ''; position: absolute; right: 15px; top: 24px; width: 6px; height: 6px; border: solid #bdaaca; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.gp-clean .gwait[open] summary::after { transform: rotate(225deg); top: 28px; }
.gp-clean .gwait summary::-webkit-details-marker { display: none; }
.gp-clean .gwait summary strong { font-size: 1.06rem; line-height: 1.2; font-weight: 650; letter-spacing: -.025em; }
.gp-clean .gwait summary > span { color: #b4aaba; font-size: .75rem; line-height: 1.4; margin-top: 2px; white-space: nowrap; }
.gp-clean .gwait summary .wait-more { display: none; }
.gp-clean .gwait summary:hover, .gp-clean .gwait[open] summary { background: #b38bd323; }
.gp-clean .gwait summary:focus-visible { outline: 2px solid #d1b4fa; outline-offset: 3px; }
.gp-clean .gwait.verified summary strong { color: #a9cff1; }
.gp-clean .gwait-info { position: absolute; right: 0; top: calc(100% + 9px); z-index: 5; width: 260px; border: 1px solid #ffffff1f; background: #24212c; border-radius: 16px; padding: 16px; color: #ddd4e8; font-size: .78rem; line-height: 1.55; box-shadow: 0 10px 28px #0005; }
.gp-clean .gjoin { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 15px; margin: 0; color: #20132f; background: #c9a7fc; border: 0; border-radius: 50px; box-shadow: none; text-decoration: none; font-size: .78rem; line-height: 1.2; font-weight: 650; transition: background .16s; }
.gp-clean .gjoin::after { display: none; }
.gp-clean .gjoin svg { width: 12px; height: 12px; opacity: 1; }
.gp-clean .gjoin:hover { color: #20132f; background: #dac3fd; transform: none; filter: none; text-decoration: none; }
.gp-clean .gjoin[aria-disabled] { background: #ffffff0a; color: #9e96a7; }
.gp-clean :is(.gjoin, .search-btn):focus-visible { outline: 2px solid #e6d8ff; outline-offset: 3px; }
.gp-clean .empty-state { grid-column: 1 / -1; background: var(--clean-surface); border-color: #ffffff14; border-radius: 22px; }
.gp-clean .gsk { min-height: 187px; padding: 22px; border-radius: 22px; }
.gp-clean .gsk .b { height: 54px; width: 54px; border-radius: 17px; float: left; margin-right: 14px; }
.gp-clean .gsk .p { padding: 0; }
@media (max-width: 950px) and (min-width: 768px) {
  .gp-clean .gcard { padding: 18px; }
  .gp-clean .gbody { flex-wrap: wrap; justify-content: flex-end; }
  .gp-clean .gmetrics { flex-basis: 100%; }
  .gp-clean .gjoin { min-height: 36px; }
  .gp-clean .gp-finder { gap: 20px; padding: 23px; }
}
@media (max-width: 767px) {
  .gp-clean .gp-finder { grid-template-columns: minmax(0, 1fr); padding: 22px; gap: 23px; border-radius: 20px; }
  .gp-clean .gp-finder h3 { font-size: 1.25rem; }
  .gp-clean .legend { margin-top: 14px; }
  .gp-clean .groups-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .gp-clean .gcard { padding: 20px; border-radius: 20px; }
  .gp-clean .gbody { margin-top: 18px; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
  .gp-clean .gmetrics { flex-basis: 100%; }
  .gp-clean .gstock { padding: 0; }
  .gp-clean .gwait { flex-basis: 126px; }
  .gp-clean .gjoin { min-height: 38px; padding-inline: 18px; }
  .gp-clean .gidentity h3 { font-size: .97rem; }
  .gp-clean .search-btn { padding-inline: 15px; }
}
@media (max-width: 420px) {
  .gp-clean .gp-finder { padding: 19px; }
  .gp-clean .search-box { padding-left: 13px; gap: 9px; }
  .gp-clean .search-box input { font-size: .83rem; }
  .gp-clean .search-btn { font-size: .75rem; padding-inline: 12px; }
  .gp-clean .legend { gap: 12px; }
  .gp-clean .legend > div { font-size: .75rem; gap: 5px; }
  .gp-clean .legend > div + div { padding-left: 12px; }
  .gp-clean .gcard { padding: 18px; }
  .gp-clean .gav { width: 48px; height: 48px; flex-basis: 48px; border-radius: 15px; }
  .gp-clean .gheader { gap: 12px; }
  .gp-clean .gid { font-size: .7rem; }
  .gp-clean .gstock strong { font-size: 1.5rem; }
  .gp-clean .gwait { flex-basis: 120px; }
  .gp-clean .gwait-info { width: 240px; }
}
@media (max-width: 360px) {
  .gp-clean .gp-finder, .gp-clean .gcard { padding: 16px; }
  .gp-clean .search-box { flex-wrap: wrap; padding: 12px; gap: 10px; }
  .gp-clean .search-box input { width: calc(100% - 30px); flex-basis: calc(100% - 30px); min-height: 32px; }
  .gp-clean .search-btn { width: 100%; min-height: 40px; }
  .gp-clean .legend > div + div { border: 0; padding-left: 0; }
  .gp-clean .gstock { padding-inline: 0; }
  .gp-clean .gstock strong { font-size: 1.3rem; }
  .gp-clean .gstock strong > span { font-size: .65rem; }
  .gp-clean .gwait { flex-basis: 116px; }
}
@media (prefers-reduced-motion: reduce) {
  .gp-clean :is(.gcard,.gwait summary,.gjoin,.search-box,.search-btn) { transition: none; }
}
