:root {
  --org-card: #171718;
  --org-inner: #111112;
  --org-yellow: #ffdf00;
  --org-border: rgba(255, 255, 255, .09);
  --org-muted: rgba(255, 255, 255, .62);
  --org-radius: 18px;
}

.org-muted {
  margin: 6px 0 0;
  color: var(--org-muted);
}

.org-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.org-post-list,
.org-manage-list {
  display: grid;
  gap: 14px;
}

.org-post-card.is-featured {
  border-color: rgba(255, 223, 0, .55);
}

.org-post-card__head,
.org-post-card__footer,
.org-manage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.org-post-card__identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.org-post-card__identity img,
.org-post-card__identity .org-logo-fallback {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.org-post-card__identity span:last-child,
.org-manage-row>span:first-child {
  display: grid;
}

.org-post-card__identity strong,
.org-manage-row strong {
  color: #fff;
}

.org-post-card__identity small,
.org-manage-row small,
.org-post-card__footer {
  color: var(--org-muted);
}

.org-feature-badge {
  color: var(--org-yellow);
  font-size: .76rem;
  font-weight: 800;
}

.org-post-card__body {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  color: #fff;
}

.org-post-card__body h3,
.org-post-card__body p {
  margin: 0;
}

.org-post-card__body p {
  color: rgba(255, 255, 255, .72);
}

.org-post-card__body>img {
  width: 100%;
  max-height: 480px;
  border-radius: 12px;
  object-fit: cover;
}

.org-post-card__footer {
  justify-content: flex-start;
}

.org-post-card__engagement {
  display: flex;
  align-items: center;
  gap: 14px;
}

.org-post-card__actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.org-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
  color: var(--org-muted);
}

.org-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 30px 22px;
  padding: 16px 8px 8px;
}

.org-gallery-grid .polaroid {
  width: 100%;
  margin: 0;
}

.org-gallery-grid .polaroid small {
  display: block;
  margin-top: 8px;
  color: #232323;
  font-size: .72rem;
  text-align: center;
}

.org-gallery-placeholder {
  display: grid;
  min-height: 175px;
  place-items: center;
  background: #27272a;
  color: var(--org-yellow);
  font-size: 2.2rem;
}

.org-photo-wrap {
  position: relative;
}

.org-photo-actions {
  position: absolute;
  z-index: 3;
  right: -8px;
  bottom: -20px;
  display: flex;
  gap: 5px;
}

.org-photo-actions .org-btn {
  min-width: 36px;
  min-height: 36px;
  padding: 7px;
}

.org-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.org-gallery-filters select {
  min-height: 42px;
  padding: 8px 34px 8px 12px;
  border: 1px solid var(--org-border);
  border-radius: 10px;
  background: var(--org-inner);
  color: #fff;
}

.org-photo-edit-preview {
  width: min(100%, 520px);
  max-height: 420px;
  border-radius: 14px;
  object-fit: contain;
  background: var(--org-inner);
}

.org-featured-post {
  display: grid;
  grid-template-columns: minmax(140px, 240px) 1fr;
  gap: 18px;
  color: #fff;
}

.org-featured-post img {
  width: 100%;
  height: 150px;
  border-radius: 10px;
  object-fit: cover;
}

.org-featured-post p {
  color: rgba(255, 255, 255, .76);
}

.org-featured-post small,
.org-overview-posts small {
  color: var(--org-muted);
}

.org-overview-posts {
  display: grid;
  gap: 9px;
}

.org-overview-posts a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #fff;
}

.org-overview-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.org-overview-photos img {
  width: 100%;
  aspect-ratio: 1;
  border: 5px solid #f5f1e8;
  border-bottom-width: 16px;
  object-fit: cover;
  transform: rotate(-1deg);
}

.org-overview-photos a:nth-child(even) img {
  transform: rotate(1.2deg);
}

.org-competition-head {
  margin-bottom: 18px;
}

.org-competition-page>.org-card {
  margin-bottom: 18px;
}

.org-competition-page>.org-card:last-child {
  margin-bottom: 0;
}

.org-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 223, 0, .28);
  border-radius: 999px;
  background: rgba(255, 223, 0, .05);
  color: var(--org-yellow);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.org-source-badge--submitted {
  border-color: var(--org-border);
  background: var(--org-inner);
  color: var(--org-muted);
}

.org-honours-grid,
.org-honour-strip,
.org-event-grid {
  display: grid;
  gap: 12px;
}

.org-honours-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
}

.org-honour-strip {
  grid-template-columns: repeat(3, 1fr);
}

.org-honour-card {
  display: flex;
  min-height: 96px;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.org-honour-card::after {
  position: absolute;
  inset: auto -25px -40px auto;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 223, 0, .06);
  content: "";
}

.org-honour-rank {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 1px solid rgba(255, 223, 0, .45);
  border-radius: 50%;
  color: var(--org-yellow);
  font-size: 1.3rem;
  font-weight: 900;
}

.org-honour-rank::after {
  content: "º";
  font-size: .65rem;
  transform: translate(-7px, -4px);
}

.org-honour-card h3,
.org-honour-card p,
.org-honour-card small {
  margin: 0;
}

.org-honour-card p,
.org-honour-card small {
  color: var(--org-muted);
}

.org-placement {
  margin-left: auto;
  color: var(--org-yellow);
  font-size: .75rem;
  font-weight: 800;
}

.org-match-list {
  display: grid;
  gap: 8px;
}

.org-match-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(260px, 1.4fr) 72px 130px;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.org-match-event,
.org-match-event span {
  display: grid;
}

.org-match-row small,
.org-match-row time {
  color: var(--org-muted);
  font-size: .75rem;
}

.org-match-versus {
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.org-match-versus em {
  color: var(--org-muted);
  font-size: .7rem;
  font-style: normal;
  text-transform: uppercase;
}

.org-match-result {
  padding: 5px 8px;
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.org-match-result--win {
  background: rgba(77, 214, 132, .12);
  color: #76e4a3;
}

.org-match-result--loss {
  background: rgba(255, 91, 103, .1);
  color: #ff8c95;
}

.org-match-result--upcoming {
  background: rgba(255, 223, 0, .08);
  color: var(--org-yellow);
}

.org-subsection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 12px;
}

.org-subsection-head h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.org-event-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
}

.org-event-card {
  position: relative;
  color: #fff;
}

.org-event-card h3 {
  margin: 14px 0 6px;
  font-size: 1.05rem;
}

.org-event-card h3 a {
  color: #fff;
}

.org-event-card p,
.org-event-card small {
  margin: 0;
  color: var(--org-muted);
}

.org-event-game {
  color: var(--org-yellow);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.org-event-summary {
  margin-top: 12px !important;
  padding-top: 10px;
  border-top: 1px solid var(--org-border);
}

.org-recruitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.org-recruitment-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
}

.org-recruitment-card.is-featured {
  border-color: rgba(255, 223, 0, .5);
}

.org-recruitment-card header,
.org-recruitment-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.org-recruitment-card h3 {
  margin: 18px 0 8px;
  font-size: 1.2rem;
}

.org-recruitment-card h3 a {
  color: #fff;
}

.org-recruitment-card>p {
  flex: 1;
  color: var(--org-muted);
}

.org-recruitment-card footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--org-border);
  color: var(--org-muted);
  font-size: .78rem;
}

.org-recruitment-kind {
  color: var(--org-yellow);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.org-partners-intro {
  margin-bottom: 18px;
}

.org-partner-tier+.org-partner-tier {
  margin-top: 18px;
}

.org-partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 180px);
  justify-content: start;
  gap: 12px;
}

.org-partner-tile {
  display: grid;
  width: 180px;
  height: 116px;
  padding: 4px;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  gap: 10px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  transition: color .18s ease, transform .18s ease;
}

.org-source-badge--compact {
  width: fit-content;
  gap: 4px;
  margin-top: 2px;
  padding: 3px 7px;
  font-size: .56rem;
  line-height: 1;
}

.org-honour-card__content {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  gap: 3px;
}

.org-honour-card__content strong {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: .92rem;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.org-honour-card__content small {
  display: block;
  overflow: hidden;
  color: var(--org-muted);
  font-size: .7rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.org-partner-tile.is-featured {
  border-color: rgba(255, 223, 0, .58);
}

.org-partner-tile img {
  display: block;
  max-width: 100%;
  max-height: 78px;
  object-fit: contain;
}

.org-partner-tile__name {
  width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.org-partner-tile[href]:hover,
.org-partner-tile[href]:focus-visible {
  transform: translateY(-2px);
}

.org-partner-tile[href]:hover .org-partner-tile__name,
.org-partner-tile[href]:focus-visible .org-partner-tile__name {
  color: var(--org-yellow);
}

.org-partner-logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.org-partner-logo-strip a {
  display: grid;
  min-width: 0;
  grid-template-rows: 58px auto;
  place-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .82);
  transition: color .16s ease, transform .16s ease;
}

.org-partner-logo-strip a:hover {
  color: var(--org-yellow);
  transform: translateY(-2px);
}

.org-partner-logo-strip img {
  width: 100%;
  max-height: 54px;
  object-fit: contain;
}

.org-partner-logo-strip a>span {
  width: 100%;
  overflow: hidden;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.org-partner-manage-row,
.org-partner-manage-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.org-partner-manage-row {
  justify-content: space-between;
}

.org-partner-manage-row.is-inactive {
  opacity: .58;
}

.org-partner-manage-identity img {
  width: 72px;
  height: 48px;
  padding: 5px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.org-partner-manage-identity span {
  display: grid;
}

.org-partner-manage-identity strong {
  color: #fff;
}

.org-partner-manage-identity small {
  color: var(--org-muted);
}

.org-partner-form-preview {
  width: min(260px, 100%);
  max-height: 130px;
  padding: 18px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}

.org-hero__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.org-follow-control {
  margin: 0;
}

.org-follow-control .is-following {
  border-color: rgba(255, 223, 0, .32);
  color: var(--org-yellow);
}

.org-hero__meta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .66);
}

.org-hero__meta a:hover {
  color: var(--org-yellow);
}

.org-follower-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.org-follower-card {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.org-follower-card img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  object-fit: cover;
}

.org-directory-filter {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(170px, .35fr) auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
  padding: 16px;
}

.org-directory-followers {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  color: var(--org-muted);
  font-size: .72rem;
}

.org-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--org-yellow);
  font-size: .76rem;
  font-weight: 850;
}

.org-hero__title-row .org-verified-badge {
  padding: 5px 9px;
  border: 1px solid rgba(255, 223, 0, .4);
  border-radius: 999px;
  background: rgba(17, 17, 18, .72);
}

.org-verification-panel {
  margin-bottom: 18px;
}

.org-verification-panel>p {
  color: var(--org-muted);
}

.org-verification-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid var(--org-border);
  border-radius: 999px;
  color: var(--org-muted);
  font-size: .72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.org-verification-status--verified {
  border-color: rgba(255, 223, 0, .45);
  color: var(--org-yellow);
}

.org-verification-status--pending {
  border-color: rgba(108, 172, 255, .35);
  color: #8bbcff;
}

.org-verification-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 9px;
  margin: 14px 0;
}

.org-verification-checklist>span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px;
  border: 1px solid var(--org-border);
  border-radius: 10px;
  background: var(--org-inner);
  color: var(--org-muted);
  font-size: .8rem;
}

.org-verification-checklist>span.is-complete {
  color: #7de5a7;
}

.org-verification-feedback {
  margin: 12px 0;
  border-color: rgba(255, 91, 103, .3);
}

.org-trust-note {
  display: flex;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(108, 172, 255, .2);
  border-radius: 10px;
  background: rgba(108, 172, 255, .04);
  color: rgba(255, 255, 255, .68);
  font-size: .8rem;
}

.org-verification-review-card {
  display: grid;
  gap: 15px;
}

.org-verification-review-card>header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.org-verification-review-card h2,
.org-verification-review-card p {
  margin: 0;
}

.org-verification-review-card p {
  color: var(--org-muted);
}

.org-verification-evidence {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.org-verification-evidence>span {
  display: grid;
  padding: 11px;
  border-radius: 10px;
  background: var(--org-inner);
}

.org-verification-evidence small {
  color: var(--org-muted);
}

.org-verification-evidence strong,
.org-verification-evidence a {
  overflow-wrap: anywhere;
  color: #fff;
}

@media (max-width: 991.98px) {
  .org-competition-page>.org-card {
    margin-bottom: 16px;
  }

  .org-match-row {
    grid-template-columns: minmax(140px, .9fr) minmax(260px, 1.5fr) 72px;
    row-gap: 9px;
  }

  .org-match-row time {
    grid-column: 1 / -1;
    justify-self: end;
  }
}

@media (max-width: 700px) {

  .org-manage-row,
  .org-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .org-post-card__footer {
    width: 100%;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
  }

  .org-post-card__actions {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .org-post-card__actions .org-btn {
    min-height: 38px;
    padding: 8px 11px;
  }

  .org-profile .org-section-head,
  .org-profile .org-section-head>div {
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }

  .org-profile-main .org-content-block>.org-section-head {
    width: 100%;
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
  }

  .org-profile-main .org-content-block>.org-section-head>div {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    text-align: left;
  }

  .org-profile-main .org-content-block>.org-section-head>.org-text-link {
    flex: 0 0 auto;
    margin-left: auto;
    padding-top: 2px;
    text-align: right;
    white-space: nowrap;
  }

  .org-featured-post {
    grid-template-columns: 1fr;
  }

  .org-overview-photos {
    grid-template-columns: repeat(2, 1fr);
  }

  .org-honour-strip {
    grid-template-columns: 1fr;
  }

  .org-match-row {
    grid-template-columns: 1fr 70px;
    row-gap: 12px;
  }

  .org-match-event {
    grid-column: 1 / -1;
  }

  .org-match-versus {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .org-match-result {
    grid-column: 1;
    grid-row: 3;
  }

  .org-match-row time {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
    text-align: right;
  }

  .org-partner-logo-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .org-partner-manage-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .org-hero__actions,
  .org-follow-control,
  .org-follow-control .org-btn {
    width: 100%;
  }

  .org-directory-filter {
    grid-template-columns: 1fr;
  }
}

.org-page {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 34px 0 72px;
}

.org-page a {
  text-decoration: none;
}

.org-card {
  padding: 24px;
  border: 1px solid var(--org-border);
  border-radius: var(--org-radius);
  background: var(--org-card);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
}

.org-inner-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 14px;
  background: var(--org-inner);
}

.org-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--org-yellow);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.org-directory-head,
.org-manage-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.org-directory-head h1,
.org-manage-head h1,
.org-form-head h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.65rem);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.org-directory-head p,
.org-manage-head p,
.org-form-head p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--org-muted);
  font-size: 1rem;
}

.org-btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--org-border);
  border-radius: 12px;
  background: #19191b;
  color: #fff;
  font-size: .84rem;
  font-weight: 750;
  line-height: 1;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.org-btn:hover {
  border-color: rgba(255, 255, 255, .24);
  background: #242426;
  color: #fff;
  transform: translateY(-1px);
}

.org-btn:active {
  transform: translateY(0) scale(.98);
}

.org-btn--primary {
  border-color: rgba(255, 223, 0, .75);
  background: rgba(255, 223, 0, .035);
  color: var(--org-yellow);
}

.org-btn--primary:hover {
  border-color: var(--org-yellow);
  background: var(--org-yellow);
  color: #111;
}

.org-btn--quiet {
  background: var(--org-inner);
  color: rgba(255, 255, 255, .8);
}

.org-btn--danger {
  border-color: rgba(255, 91, 103, .4);
  background: rgba(255, 91, 103, .06);
  color: #ff8c95;
}

.org-btn--danger:hover {
  border-color: #ff5b67;
  background: #ff5b67;
  color: #111;
}

.org-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.org-section-head h2 {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}

.org-count,
.org-status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: var(--org-inner);
  color: rgba(255, 255, 255, .7);
  font-size: .72rem;
  font-weight: 700;
}

.org-status--live {
  border-color: rgba(94, 222, 150, .35);
  color: #7ee3aa;
}

.org-stack {
  display: grid;
  gap: 10px;
}

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

.org-invitations {
  margin-bottom: 36px;
}

.org-directory-card {
  overflow: hidden;
  border: 1px solid var(--org-border);
  border-radius: var(--org-radius);
  background: var(--org-card);
  color: #fff;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.org-directory-card:hover {
  border-color: rgba(255, 223, 0, .38);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .3);
}

.org-directory-card__banner {
  height: 116px;
  background-position: center;
  background-size: cover;
}

.org-directory-card__banner--empty,
.org-hero__banner--empty {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 223, 0, .2), transparent 28%),
    linear-gradient(125deg, #222225, #101011);
}

.org-directory-card__body {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 0 18px 20px;
}

.org-directory-card__logo {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  margin-top: -28px;
  border: 4px solid var(--org-card);
  border-radius: 17px;
  background: var(--org-inner);
  object-fit: cover;
}

.org-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--org-inner);
  color: var(--org-yellow);
  font-weight: 850;
  letter-spacing: -.04em;
}

.org-directory-card__copy {
  min-width: 0;
  flex: 1;
  padding-top: 13px;
}

.org-directory-card__title {
  display: flex;
  align-items: center;
  gap: 7px;
}

.org-directory-card h3,
.org-inner-card h3 {
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.org-directory-card p,
.org-inner-card p {
  margin: 8px 0 12px;
  color: var(--org-muted);
  font-size: .82rem;
  line-height: 1.45;
}

.org-tag {
  color: var(--org-yellow);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.org-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.org-chip {
  padding: 5px 9px;
  border: 1px solid rgba(255, 223, 0, .18);
  border-radius: 999px;
  background: rgba(255, 223, 0, .045);
  color: rgba(255, 255, 255, .76);
  font-size: .68rem;
  font-weight: 650;
}

.org-chip--muted {
  border-color: var(--org-border);
  color: var(--org-muted);
}

.org-invite-row,
.org-staff-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.org-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.org-identity:hover {
  color: var(--org-yellow);
}

.org-identity img,
.org-identity .org-logo-fallback {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 11px;
  object-fit: cover;
}

.org-identity p {
  margin: 3px 0 0;
}

.org-actions,
.org-status-cluster {
  display: flex;
  gap: 8px;
}

.org-empty {
  grid-column: 1 / -1;
  padding: 50px 24px;
  text-align: center;
}

.org-empty i {
  color: var(--org-yellow);
  font-size: 2rem;
}

.org-empty h3 {
  margin: 12px 0 4px;
}

.org-empty p {
  margin: 0;
  color: var(--org-muted);
}

.org-empty--compact {
  padding: 24px;
  border: 1px dashed rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: var(--org-inner);
}

.org-form-page {
  max-width: 920px;
}

.org-form-head {
  margin-bottom: 26px;
}

.org-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .65);
  font-size: .82rem;
  font-weight: 650;
}

.org-back:hover {
  color: var(--org-yellow);
}

.org-form {
  display: grid;
  gap: 28px;
}

.org-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.org-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

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

.org-field>label {
  color: rgba(255, 255, 255, .86);
  font-size: .77rem;
  font-weight: 700;
}

.org-field input:not([type="checkbox"]),
.org-field select,
.org-field textarea,
.org-staff-controls select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 11px;
  outline: none;
  background: var(--org-inner);
  color: #fff;
  font-size: .88rem;
  color-scheme: dark;
}

.org-field textarea {
  resize: vertical;
}

.org-field input:focus,
.org-field select:focus,
.org-field textarea:focus,
.org-staff-controls select:focus {
  border-color: rgba(255, 223, 0, .65);
  box-shadow: 0 0 0 3px rgba(255, 223, 0, .07);
}

.org-field small {
  color: rgba(255, 255, 255, .46);
  font-size: .72rem;
}

.org-field ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.org-field ul label {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 10px;
  background: var(--org-inner);
  color: rgba(255, 255, 255, .74);
  font-size: .76rem;
  cursor: pointer;
}

.org-field input[type="checkbox"],
.org-permission-list input[type="checkbox"],
.org-switch input {
  accent-color: var(--org-yellow);
}

.org-form-error,
.org-form .errorlist {
  margin: 0;
  color: #ff929a;
  font-size: .76rem;
  list-style: none;
}

.org-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.org-form-actions--sticky {
  position: sticky;
  z-index: 3;
  bottom: 12px;
  margin: 0 -8px -8px;
  padding: 12px;
  /* border: 1px solid var(--org-border);
  border-radius: 14px;
  background: rgba(17, 17, 18, .94); */
  backdrop-filter: blur(16px);
}

.org-form-section {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--org-border);
}

.org-form-section__intro {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.org-form-section__intro h2 {
  margin: 0;
  font-size: .98rem;
}

.org-form-section__intro p {
  margin: 5px 0 0;
  color: var(--org-muted);
  font-size: .75rem;
  line-height: 1.45;
}

.org-step {
  color: var(--org-yellow);
  font-size: .68rem;
  font-weight: 850;
}

.org-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 223, 0, .25);
  border-radius: 12px;
  background: rgba(255, 223, 0, .06);
  color: rgba(255, 255, 255, .82);
  font-size: .8rem;
}

.org-preview-bar a {
  color: var(--org-yellow);
  font-weight: 700;
}

.org-hero {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--org-border);
  border-radius: 22px;
  background: var(--org-card);
}

.org-hero--compact {
  min-height: 290px;
}

.org-hero--compact .org-hero__content {
  bottom: 24px;
}

.org-hero--compact .org-hero__logo {
  width: 92px;
  height: 92px;
  flex-basis: 92px;
  border-radius: 20px;
}

.org-hero--compact h1 {
  font-size: clamp(1.85rem, 4vw, 2.85rem);
}

.org-hero__banner,
.org-hero__shade {
  position: absolute;
  inset: 0;
}

.org-hero__banner {
  background-position: center;
  background-size: cover;
}

.org-hero__shade {
  background: linear-gradient(to top, rgba(10, 10, 11, .98) 5%, rgba(10, 10, 11, .55) 55%, rgba(10, 10, 11, .08));
}

.org-hero__content {
  position: absolute;
  right: 32px;
  bottom: 30px;
  left: 32px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.org-hero__logo {
  width: 118px;
  height: 118px;
  flex: 0 0 118px;
  border: 5px solid rgba(17, 17, 18, .9);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
  object-fit: cover;
}

.org-hero__identity {
  min-width: 0;
  flex: 1;
}

.org-hero__title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.org-hero h1 {
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 780;
  letter-spacing: -.045em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.org-hero__identity>p {
  margin: 9px 0;
  color: rgba(255, 255, 255, .74);
}

.org-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(255, 255, 255, .58);
  font-size: .77rem;
}

.org-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.org-public-nav-shell {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  gap: 8px;
  margin: 14px 0 22px;
}

.org-overview-recruitment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.org-overview-recruitment-card {
  position: relative;
  display: flex;
  min-height: 230px;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.org-overview-recruitment-card.is-featured {
  border-color: rgba(255, 223, 0, .42);
}

.org-overview-recruitment-card:hover {
  border-color: rgba(255, 223, 0, .55);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .24);
  transform: translateY(-2px);
}

.org-overview-recruitment-card__link {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.org-overview-recruitment-card header,
.org-overview-recruitment-card footer,
.org-overview-recruitment-identity {
  display: flex;
  align-items: center;
}

.org-overview-recruitment-card header,
.org-overview-recruitment-card footer {
  justify-content: space-between;
  gap: 10px;
}

.org-overview-recruitment-identity {
  min-width: 0;
  gap: 9px;
}

.org-overview-recruitment-identity>img,
.org-overview-recruitment-identity>.org-logo-fallback {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 9px;
  object-fit: contain;
}

.org-overview-recruitment-identity>span,
.org-overview-recruitment-kind {
  display: grid;
  min-width: 0;
}

.org-overview-recruitment-identity strong,
.org-overview-recruitment-identity small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.org-overview-recruitment-identity strong {
  color: #fff;
  font-size: .8rem;
}

.org-overview-recruitment-identity small {
  color: var(--org-muted);
  font-size: .68rem;
}

.org-overview-recruitment-kind {
  flex: 0 0 auto;
  justify-items: end;
  gap: 5px;
}

.org-overview-recruitment-kind>span {
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--org-yellow);
  color: #111;
  font-size: .66rem;
  font-weight: 850;
}

.org-overview-recruitment-kind small {
  color: #ff7e87;
  font-size: .65rem;
}

.org-overview-recruitment-card h3 {
  margin: 15px 0 8px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.25;
}

.org-overview-recruitment-card>p {
  flex: 1;
  margin: 10px 0 0;
  color: var(--org-muted);
  font-size: .76rem;
  line-height: 1.5;
}

.org-overview-recruitment-card footer {
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--org-border);
  color: var(--org-muted);
  font-size: .7rem;
}

.org-overview-recruitment-card footer .org-text-link {
  flex: 0 0 auto;
}

.org-public-nav {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0;
  padding: 0;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.org-manage-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 14px 0 22px;
  padding: 0;
  scrollbar-width: none;
}

.org-public-nav::-webkit-scrollbar,
.org-manage-nav::-webkit-scrollbar {
  display: none;
}

.org-public-nav-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 213, 0, .42);
  border-radius: 999px;
  background: rgba(15, 16, 21, .94);
  color: #ffd500;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .38);
  transition: border-color .16s ease, background .16s ease, opacity .16s ease;
}

.org-public-nav-arrow:hover:not(:disabled) {
  border-color: #ffd500;
  background: rgba(255, 213, 0, .14);
}

.org-public-nav-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

.org-tab {
  display: inline-flex;
  min-width: 150px;
  min-height: 48px;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 13px;
  background: var(--org-card);
  color: rgba(255, 255, 255, .82);
  font-size: .84rem;
  font-weight: 720;
  scroll-snap-align: start;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}

.org-tab:hover {
  border-color: rgba(255, 223, 0, .38);
  background: #1c1c1e;
  color: #fff;
}

.org-tab.is-active {
  border-color: rgba(255, 223, 0, .7);
  background: rgba(255, 223, 0, .025);
  color: var(--org-yellow);
}

.org-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .85fr);
  gap: 18px;
}

.org-stat-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--org-border);
  border-radius: 15px;
  background: var(--org-card);
}

.org-stat-strip>div {
  display: grid;
  gap: 2px;
  padding: 12px 16px;
}

.org-stat-strip>div:not(:last-child) {
  border-right: 1px solid var(--org-border);
}

.org-stat-strip span {
  color: var(--org-muted);
  font-size: .68rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.org-stat-strip strong {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 760;
}

.org-profile-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.org-description {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.75;
}

.org-content-block {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--org-border);
}

.org-content-block h3 {
  margin: 0 0 12px;
  font-size: .85rem;
}

.org-overview-about-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid var(--org-border);
  border-radius: 13px;
  background: var(--org-inner);
}

.org-overview-about-link>span {
  display: grid;
  gap: 3px;
}

.org-overview-about-link strong {
  color: #fff;
  font-size: .8rem;
}

.org-overview-about-link small {
  color: var(--org-muted);
  font-size: .7rem;
}

.org-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.org-socials a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--social-color) 78%, transparent);
  border-radius: 10px;
  background: var(--org-inner);
  color: var(--social-color);
  font-size: 1rem;
}

.org-socials a:hover {
  border-color: var(--social-color);
  background: color-mix(in srgb, var(--social-color) 13%, var(--org-inner));
  color: var(--social-color);
  transform: translateY(-1px);
}

.org-social--website { --social-color: #ffdf00; }
.org-social--x { --social-color: #f2f2f2; }
.org-social--instagram { --social-color: #e1306c; }
.org-social--twitch { --social-color: #9146ff; }
.org-social--youtube { --social-color: #ff0000; }
.org-social--discord { --social-color: #5865f2; }
.org-social--kick { --social-color: #53fc18; }

.org-staff-preview {
  display: grid;
  gap: 8px;
}

.org-staff-person {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  color: #fff;
}

.org-staff-person:hover {
  background: var(--org-inner);
  color: var(--org-yellow);
}

.org-staff-person img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.org-staff-person span {
  display: grid;
}

.org-staff-person strong {
  font-size: .8rem;
}

.org-staff-person small {
  color: var(--org-muted);
  font-size: .68rem;
}

.org-manage-page {
  max-width: 1080px;
}

.org-manage-page>.org-card {
  margin-bottom: 18px;
}

.org-inline-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, .6fr) auto;
  align-items: end;
  gap: 12px;
}

.org-staff-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.org-staff-controls select {
  width: auto;
  min-width: 140px;
}

.org-management-dropdown {
  min-width: 0;
}

.org-management-dropdown .gh-custom-filter__toggle {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 11px;
  background: var(--org-inner);
  color: #fff;
}

.org-management-dropdown .gh-custom-filter__menu {
  width: 100%;
  min-width: 100%;
  max-height: 280px;
  overflow-y: auto;
  background: #111112;
}

.org-staff-role-dropdown {
  width: 140px;
}

.org-switch {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--org-border);
  border-radius: 10px;
  color: rgba(255, 255, 255, .65);
  font-size: .74rem;
}

.org-icon-btn {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--org-border);
  border-radius: 10px;
  background: transparent;
  color: var(--org-muted);
}

.org-icon-btn--danger:hover {
  border-color: rgba(255, 91, 103, .45);
  background: rgba(255, 91, 103, .08);
  color: #ff808a;
}

.org-staff-role {
  display: grid;
  justify-items: end;
  gap: 2px;
  color: #fff;
  font-size: .78rem;
}

.org-staff-role small {
  color: var(--org-muted);
}

.org-danger-zone {
  border-color: rgba(255, 91, 103, .18);
}

.org-danger-zone>p {
  color: var(--org-muted);
  font-size: .84rem;
}

.org-audit-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.org-audit-list li {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 10px 0;
  color: rgba(255, 255, 255, .8);
  font-size: .78rem;
}

.org-audit-list li:not(:last-child)::before {
  position: absolute;
  top: 25px;
  bottom: -5px;
  left: 4px;
  width: 1px;
  background: rgba(255, 255, 255, .11);
  content: "";
}

.org-audit-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--org-yellow);
}

.org-audit-list div {
  display: grid;
  gap: 3px;
}

.org-audit-list small {
  color: var(--org-muted);
}

.org-permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.org-permission-card {
  display: flex;
  flex-direction: column;
}

.org-permission-card--owner {
  border-color: rgba(255, 223, 0, .2);
}

.org-permission-card>p {
  margin: 0 0 16px;
  color: var(--org-muted);
  font-size: .78rem;
}

.org-permission-list {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.org-permission-list label,
.org-permission-list>span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
}

.org-permission-list label>span,
.org-permission-list>span {
  min-height: 38px;
  flex: 1;
  padding: 8px 10px;
  border: 1px solid var(--org-border);
  border-radius: 9px;
  background: var(--org-inner);
  color: rgba(255, 255, 255, .7);
  font-size: .76rem;
}

.org-permission-list i {
  color: var(--org-yellow);
}

.org-permission-card>.org-btn {
  align-self: flex-end;
  margin-top: auto;
}

.org-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--org-yellow);
  font-size: .77rem;
  font-weight: 700;
}

.org-text-link:hover {
  color: #fff;
}

.org-team-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.org-team-preview {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--org-border);
  border-radius: 11px;
  background: var(--org-inner);
  color: #fff;
}

.org-team-preview:hover {
  border-color: rgba(255, 223, 0, .32);
  color: var(--org-yellow);
}

.org-team-preview img,
.org-team-preview>.org-logo-fallback {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 10px;
  object-fit: cover;
}

.org-team-preview span {
  display: grid;
  min-width: 0;
}

.org-team-preview strong {
  overflow: hidden;
  font-size: .79rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.org-team-preview small {
  color: var(--org-muted);
  font-size: .67rem;
}

.org-subpage-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.org-subpage-head--section {
  margin-top: 32px;
}

.org-subpage-head h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 760;
  letter-spacing: -.04em;
}

.org-subpage-head p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--org-muted);
}

.org-team-request-card {
  margin-bottom: 28px;
  border-color: rgba(255, 223, 0, .16);
}

.org-team-request-form {
  display: grid;
  grid-template-columns: 1.1fr 1fr .65fr auto;
  align-items: start;
  gap: 12px;
}

.org-team-request-form>.org-btn {
  align-self: start;
  margin-top: 25px;
}

.org-team-request-form .org-field small {
  min-height: 1.1em;
  line-height: 1.45;
}

.org-game-division {
  margin-top: 34px;
}

.org-division-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.org-division-head h2 {
  margin: 0;
  font-size: 1.5rem;
}

.org-team-lineup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.org-lineup-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.org-lineup-card:hover {
  border-color: #ffdf00;
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}

.org-lineup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.org-lineup-head .org-identity {
  gap: 15px;
}

.org-lineup-head .org-identity img,
.org-lineup-head .org-identity .org-logo-fallback {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
  border-radius: 13px;
}

.org-lineup-head .org-identity h3 {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
}

.org-lineup-head .org-identity p {
  margin: 3px 0 0;
  color: var(--org-muted);
  font-size: .72rem;
}

.org-lineup-managers {
  display: grid;
  min-width: 150px;
  flex: 0 0 auto;
  justify-items: end;
  gap: 7px;
  color: var(--org-muted);
  font-size: .68rem;
  font-weight: 680;
}

.org-partner-form-dropdown .gh-custom-filter__toggle {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 11px;
  background: var(--org-inner);
  color: #fff;
}

.org-partner-form-dropdown .gh-custom-filter__menu {
  width: 100%;
  max-height: 280px;
  overflow-y: auto;
  background: #111112;
}

.org-partner-file {
  width: fit-content;
}

.org-partner-file .gh-file-ui {
  border-color: rgba(255, 223, 0, .25);
  border-radius: 12px;
  background: var(--org-inner);
}

.org-partner-date-field input[type="date"] {
  color-scheme: dark;
  accent-color: var(--org-yellow);
}

.org-partner-date-field input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(76%) sepia(97%) saturate(1536%) hue-rotate(359deg) brightness(103%) contrast(105%);
}

.org-partner-options {
  display: grid;
  gap: 10px;
}

.org-partner-option {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}

.org-partner-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
}

.org-profile-media-field {
  align-content: start;
}

.org-profile-media-preview {
  display: grid;
  width: 100%;
  height: 116px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  background: #0f0f11;
  color: var(--org-muted);
  font-size: .76rem;
}

.org-profile-media-preview--logo {
  width: 116px;
}

.org-profile-media-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.org-profile-media-preview--banner img {
  object-fit: cover;
}

.org-profile-media-preview.is-pending {
  border-color: rgba(255, 223, 0, .65);
  box-shadow: 0 0 0 3px rgba(255, 223, 0, .07);
}

.org-profile-media-clear {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 2px 0;
  color: rgba(255, 255, 255, .72);
  font-size: .76rem;
  font-weight: 650;
  cursor: pointer;
}

.org-profile-media-clear input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--org-yellow);
}

.org-profile-media-upload {
  width: fit-content;
}

.org-profile-media-upload .gh-file-ui {
  border-color: rgba(255, 223, 0, .25);
  border-radius: 12px;
  background: var(--org-inner);
}

.org-profile-media-status {
  color: var(--org-yellow) !important;
  font-weight: 650;
}

.org-cropper-wrap {
  width: 100%;
  height: min(78vh, 820px);
}

.org-cropper-wrap img {
  display: block;
  max-width: 100%;
}

.org-profile-date-field input[type="date"] {
  color-scheme: dark;
  accent-color: var(--org-yellow);
}

.org-profile-date-field input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(76%) sepia(97%) saturate(1536%) hue-rotate(359deg) brightness(103%) contrast(105%);
}

.org-lineup-manager-avatars {
  display: flex;
  min-height: 32px;
  justify-content: flex-end;
}

.org-lineup-manager-avatars a {
  position: relative;
  display: block;
  margin-left: -7px;
}

.org-lineup-manager-avatars a:first-child {
  margin-left: 0;
}

.org-lineup-manager-avatars img {
  width: 32px;
  height: 32px;
  border: 2px solid #151517;
  border-radius: 9px;
  object-fit: cover;
  transition: border-color .16s ease, transform .16s ease;
}

.org-lineup-manager-avatars a:hover img {
  z-index: 2;
  border-color: var(--org-yellow);
  transform: translateY(-2px);
}

.org-team-status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: var(--org-inner);
  color: rgba(255, 255, 255, .7);
  font-size: .66rem;
  font-weight: 750;
}

.org-team-status--active {
  border-color: rgba(83, 219, 142, .28);
  color: #78e2a6;
}

.org-team-status--academy {
  border-color: rgba(255, 223, 0, .3);
  color: var(--org-yellow);
}

.org-team-status--inactive,
.org-team-status--former {
  color: rgba(255, 255, 255, .48);
}

.org-roster-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding: 0;
}

.org-roster-title h4 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.org-roster-title p {
  margin: 3px 0 0;
  color: var(--org-muted);
  font-size: .72rem;
}

.org-roster-title .org-roster-count {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 5px;
  padding: 6px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--org-muted);
  font-size: .68rem;
}

.org-roster-count strong {
  color: #fff;
  font-size: .78rem;
}

.org-roster-block {
  min-width: 0;
  padding: 0;
}

.org-lineup-card .team-roster-shell {
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
}

.org-lineup-card .team-roster-scroll {
  display: flex;
  width: 100%;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0;
  padding: 4px 0 8px;
  scroll-padding: 0;
  scroll-snap-type: x mandatory;
}

.org-lineup-card .team-roster-item {
  width: calc((100% - 48px) / 5);
  max-width: calc((100% - 48px) / 5);
  min-width: 0;
  flex: 0 0 calc((100% - 48px) / 5);
  scroll-snap-align: start;
}

.org-lineup-card .team-player-card {
  min-height: 245px;
  padding: 9px;
  border-radius: 15px;
}

.org-lineup-card .team-player-avatar-frame {
  padding: 5px;
  border-radius: 18px;
}

.org-lineup-card .team-player-avatar {
  border-radius: 17px;
}

.org-lineup-card .team-player-info {
  padding: 8px 2px 0;
}

.org-lineup-card .team-player-role-row {
  min-height: 22px;
  margin-bottom: 5px;
}

.org-lineup-card .team-player-role {
  padding: 3px 7px;
  font-size: .64rem;
}

.org-lineup-card .team-player-name {
  font-size: .84rem;
}

.org-lineup-card .team-player-divider {
  margin: 8px 0 7px;
}

.org-lineup-card .roster-socials {
  min-height: 26px;
  gap: 5px;
}

.org-lineup-card .roster-social {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: .8rem;
}

.org-lineup-card .team-player-no-socials {
  font-size: .67rem;
}

.org-lineup-card .team-roster-arrow {
  display: grid;
}

.org-lineup-card .team-roster-arrow--left {
  left: -20px;
}

.org-lineup-card .team-roster-arrow--right {
  right: -20px;
}

.org-roster-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.org-roster-person {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  background: var(--org-inner);
  color: #fff;
}

.org-roster-person:hover {
  color: var(--org-yellow);
}

.org-roster-person img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 9px;
  object-fit: cover;
}

.org-roster-person span,
.org-history-list span,
.org-former-team-list span {
  display: grid;
  min-width: 0;
}

.org-roster-person strong,
.org-history-list strong,
.org-former-team-list strong {
  overflow: hidden;
  font-size: .73rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.org-roster-person small,
.org-history-list small,
.org-former-team-list small {
  color: var(--org-muted);
  font-size: .63rem;
}

.org-roster-history {
  border-top: 1px solid var(--org-border);
  padding-top: 14px;
}

.org-roster-history summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, .7);
  font-size: .74rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.org-roster-history summary::-webkit-details-marker {
  display: none;
}

.org-roster-history[open] summary i {
  transform: rotate(180deg);
}

.org-history-list {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.org-history-list a,
.org-former-team-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, .8);
}

.org-history-list a {
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--org-inner);
}

.org-history-list time,
.org-former-team-list time {
  flex: 0 0 auto;
  color: var(--org-muted);
  font-size: .65rem;
}

.org-lineup-link {
  align-self: flex-start;
  margin-top: auto;
}

.org-former-teams {
  margin-top: 32px;
}

.org-former-team-list {
  display: grid;
  gap: 8px;
}

.org-former-team-list a:hover {
  border-color: rgba(255, 223, 0, .3);
  color: var(--org-yellow);
}

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

.org-association-manage {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 16px;
}

.org-association-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--org-border);
}

.org-manager-picker {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  border: 0;
}

.org-manager-picker legend {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .86);
  font-size: .77rem;
  font-weight: 700;
}

.org-manager-picker label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 7px 7px 0;
  padding: 7px 9px;
  border: 1px solid var(--org-border);
  border-radius: 10px;
  background: var(--org-inner);
  color: rgba(255, 255, 255, .74);
  font-size: .72rem;
  cursor: pointer;
}

.org-manager-picker img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  object-fit: cover;
}

.org-association-summary {
  display: flex;
  gap: 24px;
  color: var(--org-muted);
  font-size: .72rem;
}

.org-association-summary span {
  display: grid;
  gap: 2px;
}

.org-association-summary strong {
  color: #fff;
}

.org-association-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid var(--org-border);
}

.org-association-actions form {
  margin: 0;
}

.org-affiliation-controls {
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.org-affiliation-controls>summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  color: var(--org-muted);
  font-size: .72rem;
  font-weight: 680;
  cursor: pointer;
  list-style: none;
}

.org-affiliation-controls>summary::-webkit-details-marker {
  display: none;
}

.org-affiliation-controls>summary:hover {
  color: rgba(255, 255, 255, .86);
}

.org-affiliation-controls>summary span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.org-affiliation-controls__chevron {
  transition: transform .16s ease;
}

.org-affiliation-controls[open] .org-affiliation-controls__chevron {
  transform: rotate(180deg);
}

.org-end-affiliation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid rgba(255, 91, 103, .16);
  border-radius: 12px;
  background: rgba(255, 91, 103, .02);
}

.org-end-affiliation label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--org-muted);
  font-size: .7rem;
}

.org-end-affiliation label>span {
  display: grid;
  gap: 2px;
}

.org-end-affiliation label strong {
  color: rgba(255, 255, 255, .84);
  font-size: .74rem;
}

.org-end-affiliation label small {
  color: var(--org-muted);
  font-size: .66rem;
}

.org-end-affiliation input {
  accent-color: #ff5b67;
}

.org-section-intro {
  max-width: 720px;
  margin: 32px 0 18px;
}

.org-section-intro h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  font-weight: 750;
  letter-spacing: -.035em;
}

.org-section-intro p {
  margin: 8px 0 0;
  color: var(--org-muted);
}

.org-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(290px, .8fr);
  gap: 18px;
}

.org-about-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.org-about-story blockquote {
  position: relative;
  margin: 0 0 22px;
  padding: 16px 18px;
  border-left: 3px solid var(--org-yellow);
  border-radius: 0 12px 12px 0;
  background: var(--org-inner);
  color: rgba(255, 255, 255, .9);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.55;
}

.org-fact-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.org-fact-list>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--org-border);
}

.org-fact-list>div:first-child {
  padding-top: 0;
}

.org-fact-list>div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.org-fact-list dt {
  color: var(--org-muted);
  font-size: .73rem;
  font-weight: 600;
}

.org-fact-list dd {
  margin: 0;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  text-align: right;
}

.org-about-staff {
  margin-top: 18px;
}

.org-staff-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.org-staff-directory__person {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.org-staff-directory__person:hover {
  border-color: rgba(255, 223, 0, .32);
  color: var(--org-yellow);
}

.org-staff-directory__person img {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  border-radius: 11px;
  object-fit: cover;
}

.org-staff-directory__person span {
  display: grid;
  min-width: 0;
  flex: 1;
}

.org-staff-directory__person strong {
  overflow: hidden;
  font-size: .78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.org-staff-directory__person small {
  color: var(--org-muted);
  font-size: .66rem;
}

.org-staff-directory__person>i {
  color: rgba(255, 255, 255, .35);
  font-size: .75rem;
}

@media (max-width: 991.98px) {
  .org-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .org-profile-grid {
    grid-template-columns: 1fr;
  }

  .org-about-layout {
    grid-template-columns: 1fr;
  }

  .org-staff-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .org-form-section {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .org-field ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .org-association-grid {
    grid-template-columns: 1fr;
  }

  .org-lineup-card .team-roster-item {
    width: calc((100% - 24px) / 3);
    max-width: calc((100% - 24px) / 3);
    flex-basis: calc((100% - 24px) / 3);
  }
}

@media (max-width: 767.98px) {
  .org-overview-recruitment-grid {
    grid-template-columns: 1fr;
  }

  .org-page {
    padding: 22px 0 100px;
  }

  .org-partner-grid {
    grid-template-columns: repeat(auto-fill, 150px);
    gap: 10px;
  }

  .org-partner-tile {
    width: 150px;
    height: 108px;
    padding: 4px;
  }

  .org-partner-tile img {
    max-height: 64px;
  }

  .org-directory-head,
  .org-manage-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .org-directory-head .org-btn {
    width: 100%;
  }

  .org-grid,
  .org-form-grid,
  .org-permission-grid {
    grid-template-columns: 1fr;
  }

  .org-card {
    padding: 18px;
    border-radius: 15px;
  }

  .org-hero {
    min-height: 430px;
  }

  .org-hero--compact {
    min-height: 360px;
  }

  .org-hero__content {
    right: 20px;
    bottom: 22px;
    left: 20px;
    align-items: flex-start;
    flex-direction: column;
  }

  .org-hero__logo {
    width: 88px;
    height: 88px;
    flex-basis: 88px;
    border-radius: 19px;
  }

  .org-hero h1 {
    font-size: 2rem;
  }

  .org-hero__manage {
    width: 100%;
  }

  .org-tab {
    min-width: 130px;
  }

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

  .org-staff-row,
  .org-invite-row {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .org-staff-controls {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    margin-left: 0;
  }

  .org-staff-controls select {
    width: 100%;
  }

  .org-staff-role-dropdown {
    width: 100%;
  }

  .org-preview-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .org-stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .org-stat-strip>div:nth-child(2) {
    border-right: 0;
  }

  .org-stat-strip>div:nth-child(-n+4) {
    border-bottom: 1px solid var(--org-border);
  }

  .org-stat-strip>div:nth-child(4) {
    border-right: 0;
  }

  .org-stat-strip>div:last-child {
    grid-column: 1 / -1;
  }

  .org-overview-about-link {
    align-items: stretch;
    flex-direction: column;
  }

  .org-overview-about-link .org-btn {
    width: 100%;
  }

  .org-subpage-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .org-subpage-head .org-btn,
  .org-team-request-form .org-btn {
    width: 100%;
  }

  .org-team-request-form>.org-btn {
    margin-top: 0;
  }

  .org-team-lineup-grid,
  .org-team-request-form,
  .org-association-form {
    grid-template-columns: 1fr;
  }

  .org-manager-picker {
    grid-column: auto;
  }

  .org-lineup-card {
    padding: 18px;
  }

  .org-lineup-card .team-roster-scroll {
    padding-right: 0;
    padding-left: 0;
  }

  .org-lineup-card .team-roster-item {
    width: calc((100% - 12px) / 2);
    max-width: calc((100% - 12px) / 2);
    flex-basis: calc((100% - 12px) / 2);
  }

  .org-lineup-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .org-lineup-managers {
    width: 100%;
    min-width: 0;
    justify-items: start;
  }

  .org-lineup-manager-avatars {
    justify-content: flex-start;
  }

  .org-roster-title {
    align-items: flex-start;
  }

  .org-end-affiliation {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 430px) {

  .org-field ul,
  .org-socials {
    grid-template-columns: 1fr;
  }

  .org-directory-card__body {
    align-items: flex-start;
    flex-direction: column;
  }

  .org-directory-card__copy {
    padding-top: 0;
  }

  .org-team-preview-grid,
  .org-roster-list {
    grid-template-columns: 1fr;
  }

  .org-staff-directory {
    grid-template-columns: 1fr;
  }
}

.org-result-date-field input[type="date"] {
  color-scheme: dark;
  accent-color: var(--org-yellow);
}

.org-result-date-field input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(76%) sepia(97%) saturate(1536%) hue-rotate(359deg) brightness(103%) contrast(105%);
}

.org-result-options {
  padding-top: 2px;
}
