/* Matches the live Team Challenge fun homepage. Scoped to plugin components. */
.ig-leaderboard,.ig-thankyou-page,.ig-support-select-wrap{--ig-ink:#19162e;--ig-purple:#7650ce;--ig-teal:#22bcb9;--ig-yellow:#ffcc4b;--ig-paper:#fffdf8;font-family:"Trebuchet MS",Arial,sans-serif!important;color:#19162e!important}
.ig-leaderboard{background:linear-gradient(135deg,#eafff7,#fff5ce 55%,#f0e8fc)!important;border:3px solid #19162e!important;border-radius:28px;box-shadow:7px 7px 0 #19162e;padding:clamp(18px,4vw,36px)}
.ig-leaderboard *{box-sizing:border-box}
.ig-leaderboard .ig-lb-heading h3{color:#19162e!important;font-weight:900}
.ig-leaderboard .ig-lb-heading p,.ig-leaderboard .ig-lb-rules{color:#625e73!important}
.ig-leaderboard .ig-eyebrow{color:#7650ce!important}
.ig-leaderboard .ig-summary-stat{background:#fff;border:3px solid #19162e;border-radius:16px;box-shadow:3px 3px 0 #19162e}
.ig-leaderboard .ig-summary-stat strong{color:#7650ce!important}
.ig-leaderboard .ig-summary-stat span{color:#625e73!important}
.ig-leaderboard .ig-tc-prizes .ig-tc-prizes-title{color:#19162e!important;font-weight:900}
.ig-leaderboard .ig-tc-prizes .ig-tc-prizes-subtitle{color:#625e73!important}
.ig-leaderboard .ig-tc-prizes-kicker{color:#7650ce}
.ig-leaderboard .ig-tc-prize{border:3px solid #19162e;border-radius:24px;box-shadow:5px 5px 0 #19162e}
.ig-leaderboard .ig-tc-prize.gold{background:#fff5ce}
.ig-leaderboard .ig-tc-prize.silver{background:#eafff7}
.ig-leaderboard .ig-tc-prize.bronze{background:#f0e8fc}
.ig-leaderboard .ig-tc-prize:before{display:none}
.ig-leaderboard .ig-tc-prize-place{color:#7650ce;font-weight:900}
.ig-leaderboard .ig-tc-prizes .ig-tc-prize-description,.ig-leaderboard .ig-tc-prize-sponsor strong{color:#19162e!important}
.ig-leaderboard .ig-prize-rule,.ig-leaderboard .ig-tc-prizes .ig-tc-prize-sponsor{color:#625e73;border-color:#19162e33}
.ig-leaderboard .ig-lb-search input{background:#fff!important;color:#19162e!important;border:3px solid #19162e!important;border-radius:14px!important}
.ig-leaderboard .ig-lb-search input::placeholder{color:#625e73!important;opacity:1}
.ig-leaderboard .ig-lb-search>span{color:#7650ce}
.ig-leaderboard .ig-team-listing{gap:20px}
.ig-leaderboard .ig-lb-team{background:#fff;border:3px solid #19162e;border-radius:22px;box-shadow:5px 5px 0 #7650ce;padding:22px}
.ig-leaderboard .ig-team-top strong{color:#19162e!important}
.ig-leaderboard .ig-rank{background:#ffcc4b!important;color:#19162e!important;border:2px solid #19162e;box-shadow:none}
.ig-leaderboard .ig-qualification strong{color:#7650ce}
.ig-leaderboard .ig-qualification small{color:#625e73}
.ig-leaderboard .ig-qualification.is-qualified>strong{background:#eafff7;color:#19162e;border:2px solid #19162e;border-radius:12px}
.ig-leaderboard .ig-qualification .ig-progress-track{background:#ece8f2}
.ig-leaderboard .ig-progress-track span{background:#22bcb9!important}
.ig-leaderboard .ig-heart-stat,.ig-leaderboard .ig-share-stat{color:#7650ce!important}
.ig-leaderboard .ig-team-actions a,.ig-leaderboard .ig-register-footer .ig-register-btn,.ig-leaderboard .ig-tc-prizes a.ig-tc-prize-button{background:#ffcc4b!important;color:#19162e!important;border:3px solid #19162e!important;border-radius:14px;box-shadow:4px 4px 0 #19162e;min-height:46px;font-family:inherit}
.ig-leaderboard .ig-team-actions .ig-action-share{background:#eafff7!important}
.ig-leaderboard .ig-tc-prizes a.sponsor{background:#fff!important}
.ig-leaderboard a:hover{filter:brightness(.97)}
.ig-leaderboard a:focus-visible,.ig-leaderboard input:focus-visible{outline:3px solid #7650ce;outline-offset:5px}
.ig-support-select-wrap{background:#fff5ce!important;border:3px solid #19162e!important;border-radius:22px;box-shadow:5px 5px 0 #7650ce}
.ig-support-select-wrap .ig-support-label{color:#19162e!important}
.ig-support-select-wrap .ig-heart{color:#7650ce!important}
.ig-support-select-wrap select.ig-support-select{background:#fff!important;color:#19162e!important;border:2px solid #19162e!important;border-radius:12px!important}
.ig-support-select-wrap .ig-support-help{color:#625e73!important}
.ig-support-select-wrap.ig-team-selected-flash{box-shadow:0 0 0 4px #22bcb9!important}
.ig-thankyou-page{background:#fffdf8!important}
.ig-thankyou-page .ig-ty-hero{background:linear-gradient(135deg,#eafff7,#fff5ce 55%,#f0e8fc)}
.ig-thankyou-page h1,.ig-thankyou-page h2,.ig-thankyou-page .ig-ty-team strong{color:#19162e!important;font-family:inherit}
.ig-thankyou-page p,.ig-thankyou-page small{color:#625e73!important}
.ig-thankyou-page .ig-eyebrow,.ig-thankyou-page .ig-ty-eyebrow,.ig-thankyou-page .ig-ty-green,.ig-thankyou-page .ig-ty-copy-note{color:#7650ce!important}
.ig-thankyou-page .ig-ty-success{background:#ffcc4b;color:#19162e;border:3px solid #19162e;box-shadow:4px 4px 0 #19162e}
.ig-thankyou-page .ig-ty-team,.ig-thankyou-page .ig-ty-share-card{background:#fff;border:3px solid #19162e;border-radius:24px;box-shadow:6px 6px 0 #7650ce}
.ig-thankyou-page .ig-ty-share,.ig-thankyou-page .ig-ty-next{background:#fffdf8}
.ig-thankyou-page .ig-confirmation-support{background:#eafff7;border-color:#19162e}
.ig-thankyou-page .ig-ty-tip{background:#f0e8fc}
.ig-thankyou-page .ig-ty-icon{color:#7650ce}
.ig-thankyou-page .ig-confirmation-support a,.ig-thankyou-page .ig-ty-share-primary a,.ig-thankyou-page .ig-ty-share-more a,.ig-thankyou-page .ig-ty-share-more button,.ig-thankyou-page .ig-tip-options a,.ig-thankyou-page .ig-ty-next>a{background:#ffcc4b!important;color:#19162e!important;border:3px solid #19162e!important;border-radius:14px;box-shadow:4px 4px 0 #19162e}
.ig-thankyou-page .ig-ty-share-more a,.ig-thankyou-page .ig-ty-share-more button{background:#fff!important}
.ig-thankyou-page a:focus-visible,.ig-thankyou-page button:focus-visible{outline:3px solid #7650ce;outline-offset:5px}
@media(max-width:700px){.ig-leaderboard .ig-lb-team{padding:16px;gap:12px}.ig-leaderboard .ig-team-actions{gap:14px}.ig-leaderboard .ig-lb-summary{gap:8px}.ig-leaderboard .ig-summary-stat span{font-size:11px;overflow-wrap:anywhere}.ig-leaderboard .ig-tc-prizes-grid{gap:22px}}
/* Four-team pagination and narrow-screen layout. */
.ig-leaderboard .ig-lb-team[hidden],.ig-leaderboard .ig-lb-pagination [hidden]{display:none!important}
.ig-leaderboard .ig-lb-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:16px;margin:28px 0 16px;color:#19162e}
.ig-leaderboard .ig-lb-pagination button{min-height:46px;padding:10px 16px;border:3px solid #19162e;border-radius:12px;background:#ffcc4b;color:#19162e;font:700 15px "Trebuchet MS",Arial,sans-serif;cursor:pointer}
.ig-leaderboard .ig-lb-pagination button:disabled{opacity:.5;cursor:default}
.ig-leaderboard .ig-lb-pagination span{font-size:14px;text-align:center}
.ig-leaderboard .ig-lb-pagination :focus-visible{outline:3px solid #7650ce;outline-offset:4px}
.ig-leaderboard .ig-team-listing{scroll-margin-top:100px}
@media(max-width:600px){
 .ig-leaderboard{max-width:100%;padding:16px!important;margin:16px 0;box-sizing:border-box}
 .ig-leaderboard .ig-lb-head{flex-direction:column;gap:18px}
 .ig-leaderboard .ig-lb-heading,.ig-leaderboard .ig-lb-summary{width:100%;min-width:0}
 .ig-leaderboard .ig-lb-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
 .ig-leaderboard .ig-lb-team{position:relative;padding:16px;display:block}
 .ig-leaderboard .ig-rank{margin-bottom:12px}
 .ig-leaderboard .ig-team-top strong{font-size:20px;overflow-wrap:anywhere}
 .ig-leaderboard .ig-team-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
 .ig-leaderboard .ig-team-actions a{width:100%;white-space:normal;text-align:center;padding:12px 8px}
 .ig-leaderboard .ig-qualification strong{overflow-wrap:anywhere}
 .ig-leaderboard .ig-tc-prizes-grid{grid-template-columns:minmax(0,1fr)}
 .ig-leaderboard .ig-tc-prize{padding:22px 16px}
 .ig-leaderboard .ig-lb-pagination{gap:10px}
 .ig-leaderboard .ig-lb-pagination span{flex-basis:100%;order:-1}
 .ig-leaderboard .ig-register-footer .ig-register-btn{width:100%}
}

.ig-thankyou-page .ig-ty-brand-footer{text-align:center;padding:36px 22px;background:#fffdf8;border-top:3px solid #19162e}.ig-ty-brand-footer img{display:block;width:260px;max-width:100%;height:auto;margin:auto}.ig-leaderboard .ig-team-actions .ig-action-direct{background:#f0e8fc!important}.ig-leaderboard .ig-action-unavailable{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;padding:10px 14px;border:2px dashed #625e73;border-radius:14px;color:#625e73;background:#f1f1f1;font-size:12px;font-weight:700;min-height:46px}.ig-action-unavailable small{display:block;font-size:11px}

/* Keep the custom tip label black in every interaction state. */
.ig-thankyou-page .ig-tip-options a.ig-tip-custom,
.ig-thankyou-page .ig-tip-options a.ig-tip-custom:visited,
.ig-thankyou-page .ig-tip-options a.ig-tip-custom:hover,
.ig-thankyou-page .ig-tip-options a.ig-tip-custom:focus,
.ig-thankyou-page .ig-tip-options a.ig-tip-custom:active{color:#000!important}


:is(.ig-leaderboard,.ig-thankyou-page) .ig-partners-strip{margin-top:36px;padding:28px 20px;border:3px solid #19162e;border-radius:22px;background:#fffdf8;color:#19162e}
:is(.ig-leaderboard,.ig-thankyou-page) .ig-partners-strip h2{margin:0 0 24px;text-align:center;color:#19162e;font:900 clamp(22px,3vw,30px)/1.2 "Trebuchet MS",Arial,sans-serif}
.ig-partner-window{overflow:hidden}
.ig-partner-track{display:flex;width:max-content;min-width:100%;padding-left:100%;animation:ig-partner-scroll 24s linear infinite}
.ig-partner-group{display:flex;align-items:center;gap:28px;padding-right:28px}
.ig-partner-logo{width:220px;height:110px;display:flex;align-items:center;justify-content:center;padding:16px;background:white;border:0;border-radius:16px}
.ig-partner-logo img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.ig-partner-wordmark{color:#008b8b;font:900 24px/1.2 "Trebuchet MS",Arial,sans-serif;flex-direction:column}
.ig-partner-wordmark strong{font-size:16px;letter-spacing:3px}
.ig-partner-window:hover .ig-partner-track,.ig-partner-window:focus-within .ig-partner-track{animation-play-state:paused}
.ig-partner-window:focus-visible{outline:3px solid #7650ce;outline-offset:4px}
@keyframes ig-partner-scroll{to{transform:translateX(-100%)}}
@media(prefers-reduced-motion:reduce){.ig-partner-track{animation:none;width:100%;padding-left:0}.ig-partner-group{flex-wrap:wrap;justify-content:center;padding:0;width:100%}.ig-partner-group[aria-hidden="true"]{display:none}}
@media(prefers-reduced-motion:reduce){.ig-partner-group>[aria-hidden="true"]{display:none}}

.ig-leaderboard .ig-team-actions .ig-action-support>span,.ig-leaderboard .ig-team-actions .ig-action-direct>span{margin-right:8px}


.ig-sharing-bonus-info{padding:20px;border:2px solid #19162e;border-radius:16px;background:#fff5ce;color:#19162e!important;line-height:1.7}.ig-sharing-bonus-info strong{display:block;margin-bottom:8px}.ig-bonus-status{color:#54349a!important;font-weight:700}.ig-points-stat{color:#54349a;font-size:15px}.ig-points-stat b{font-size:22px}


.ig-leaderboard .ig-team-actions .ig-action-support,.ig-leaderboard .ig-team-actions .ig-action-direct,.ig-leaderboard .ig-action-unavailable{white-space:normal;overflow-wrap:anywhere;max-width:100%;text-transform:none}


/* v1.10.3: align with the current homepage's cards, palette and spacing. */
.ig-leaderboard .ig-action-unavailable { order:3; }
:is(.ig-leaderboard,.ig-thankyou-page,.ig-support-select-wrap) {
  box-sizing: border-box;
  max-width: 100%;
  line-height: 1.6;
}
.ig-leaderboard { background:linear-gradient(135deg,#f3fbe7,#fff4ce)!important; }
.ig-leaderboard .ig-lb-heading h3 { font-size:clamp(26px,3.8vw,40px);line-height:1.12;letter-spacing:-.04em; }
.ig-leaderboard .ig-team-top { flex-wrap:wrap; }
.ig-leaderboard .ig-team-top>div { min-width:0;max-width:100%; }
.ig-leaderboard .ig-team-top strong { line-height:1.35;overflow-wrap:anywhere; }
.ig-leaderboard .ig-lb-team { box-shadow:0 6px 18px rgba(25,22,46,.1);border-color:#fff; }
.ig-leaderboard .ig-lb-team:first-child { border-color:#19162e;box-shadow:5px 6px 0 #7650ce; }
.ig-leaderboard .ig-team-stats { margin-top:20px;padding-top:16px;border-top:1px solid #eee8f7;gap:10px 20px; }
.ig-leaderboard .ig-qualification small,.ig-leaderboard .ig-team-top span { color:#5b5870; }
.ig-leaderboard .ig-team-actions { gap:16px; }
.ig-leaderboard .ig-team-actions a,.ig-leaderboard .ig-tc-prizes a.ig-tc-prize-button { line-height:1.4;min-height:48px;border-radius:16px; }
.ig-leaderboard .ig-register.ig-register-footer { background:#f0e8fc;border:2px solid #19162e;color:#19162e;border-radius:22px; }
.ig-leaderboard .ig-register-footer span { color:#514b63; }
.ig-leaderboard .ig-register-footer strong { color:#19162e; }
:is(.ig-leaderboard,.ig-thankyou-page) .ig-campaign-donation { background:#fff8df;border:2px solid #19162e;color:#19162e; }
:is(.ig-leaderboard,.ig-thankyou-page) .ig-campaign-donation-copy strong { color:#19162e; }
:is(.ig-leaderboard,.ig-thankyou-page) .ig-campaign-donation-copy span { color:#514b63; }
:is(.ig-leaderboard,.ig-thankyou-page) .ig-campaign-donation-eyebrow { color:#5c32ae; }
:is(.ig-leaderboard,.ig-thankyou-page) .ig-campaign-donation-icon { background:#ffcc4b;color:#19162e;border:2px solid #19162e; }
:is(.ig-leaderboard,.ig-thankyou-page) .ig-campaign-donation>a { background:#ffcc4b;color:#19162e!important;border:3px solid #19162e;border-radius:16px;box-shadow:4px 5px 0 #19162e;white-space:normal;text-align:center; }
.ig-thankyou-page .ig-ty-hero { background:linear-gradient(120deg,#eafff7,#fff5ce 65%,#f0e8fc); }
.ig-thankyou-page h1 { letter-spacing:-.055em;overflow-wrap:anywhere; }
.ig-thankyou-page h2 { letter-spacing:-.04em;overflow-wrap:anywhere; }
.ig-thankyou-page .ig-ty-team strong { overflow-wrap:anywhere; }
.ig-thankyou-page .ig-ty-next>div { min-width:0; }
.ig-thankyou-page .ig-ty-next>a { white-space:normal;text-align:center; }
:is(.ig-leaderboard,.ig-thankyou-page) :is(a,button,input,select):focus-visible { outline:3px solid #7650ce;outline-offset:5px; }
.ig-support-select-wrap .ig-support-select,.ig-leaderboard .ig-lb-search input { font:16px/1.5 "Trebuchet MS",Arial,sans-serif;min-height:50px; }
@media(max-width:1000px) {
  .ig-leaderboard .ig-lb-head { flex-direction:column;align-items:stretch; }
  .ig-leaderboard .ig-lb-summary { width:100%;grid-template-columns:repeat(3,minmax(0,1fr)); }
  .ig-leaderboard .ig-summary-stat { min-width:0; }
}
@media(max-width:600px) {
  .ig-leaderboard .ig-lb-team { padding:20px 16px; }
  .ig-leaderboard .ig-tc-prize,.ig-leaderboard .ig-register-footer { min-width:0; }
  .ig-leaderboard .ig-tc-prize-description,.ig-leaderboard .ig-tc-prize-sponsor { overflow-wrap:anywhere; }
  .ig-leaderboard .ig-summary-stat span { line-height:1.4; }
  .ig-leaderboard .ig-register.ig-register-footer { padding:20px 16px; }
  .ig-thankyou-page .ig-ty-share-more { gap:16px; }
  .ig-thankyou-page .ig-ty-share-more>a,.ig-thankyou-page .ig-ty-share-more>button { max-width:100%;min-height:48px;overflow-wrap:anywhere; }
  .ig-support-select-wrap { padding:18px 14px; }
}
@media(prefers-reduced-motion:reduce) {
  .ig-leaderboard * { transition:none!important; }
  .ig-leaderboard a:hover,.ig-leaderboard .ig-lb-team:hover { transform:none; }
}


/* v1.10.4: orange actions and teal decorative badges throughout the plugin. */
.ig-leaderboard .ig-team-actions a,
.ig-leaderboard .ig-team-actions .ig-action-direct,
.ig-leaderboard .ig-team-actions .ig-action-share,
.ig-leaderboard .ig-register-footer .ig-register-btn,
.ig-leaderboard .ig-tc-prizes a.ig-tc-prize-button,
.ig-leaderboard .ig-lb-pagination button,
.ig-thankyou-page .ig-confirmation-support a,
.ig-ty-share .ig-ty-share-primary a,
.ig-ty-share .ig-ty-share-more a,
.ig-ty-share .ig-ty-share-more button,
.ig-thankyou-page .ig-tip-options a,
.ig-thankyou-page .ig-ty-next>a,
.ig-share-buttons a,
.ig-share-buttons button,
.ig-campaign-donation>a {
  background:#ff9f43!important;
  color:#19162e!important;
}
.ig-leaderboard .ig-team-actions a:hover,
.ig-leaderboard .ig-team-actions .ig-action-direct:hover,
.ig-leaderboard .ig-team-actions .ig-action-share:hover,
.ig-leaderboard .ig-register-footer .ig-register-btn:hover,
.ig-leaderboard .ig-tc-prizes a.ig-tc-prize-button:hover,
.ig-leaderboard .ig-lb-pagination button:not(:disabled):hover,
.ig-thankyou-page .ig-confirmation-support a:hover,
.ig-ty-share .ig-ty-share-primary a:hover,
.ig-ty-share .ig-ty-share-more a:hover,
.ig-ty-share .ig-ty-share-more button:hover,
.ig-thankyou-page .ig-tip-options a:hover,
.ig-thankyou-page .ig-ty-next>a:hover,
.ig-share-buttons a:hover,
.ig-share-buttons button:hover,
.ig-campaign-donation>a:hover {
  background:#ffb563!important;
}
.ig-leaderboard .ig-rank,
.ig-leaderboard .ig-qualification.is-qualified>strong,
.ig-leaderboard .ig-action-unavailable,
.ig-thankyou-page .ig-ty-success,
.ig-campaign-donation .ig-campaign-donation-icon {
  background:#22bcb9!important;
  color:#19162e!important;
}
.ig-leaderboard .ig-action-unavailable small { color:#19162e; }
.ig-ty-share .ig-ty-share-more :focus-visible { outline:3px solid #7650ce;outline-offset:5px; }
/* Donation and reconciled fundraising totals. */
.ig-thankyou-page .ig-donation-fees{font-weight:600;margin:18px 0 10px;line-height:1.6}
.ig-leaderboard .ig-funds-note{color:#c5cbd0;font-size:13px;line-height:1.65;margin-top:24px}
.ig-leaderboard .ig-summary-stat strong{overflow-wrap:anywhere}

.ig-donation-form{display:grid;gap:16px;text-align:left;max-width:560px;margin:24px auto}
.ig-donation-form fieldset{border:0;padding:0;margin:0}
.ig-donation-form legend{font-weight:700;margin-bottom:12px}
.ig-donation-amounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.ig-donation-amounts label{display:flex;align-items:center;gap:6px;padding:12px 8px;border:2px solid #d5ccdf;border-radius:10px;cursor:pointer;background:#fff;color:#19162e}
.ig-donation-amounts label:has(input:checked){border-color:#b65000;background:#fff0df}
.ig-donation-form>label{display:grid;gap:6px;font-weight:600}
.ig-donation-form input:not([type=radio]){width:100%;box-sizing:border-box;min-height:46px;padding:10px 12px;border:1px solid #b8adc9;border-radius:8px;background:#fff;color:#19162e;font:inherit}
.ig-donation-form button{padding:16px;border:2px solid #19162e;border-radius:12px;background:#ff9f43;color:#19162e;font:inherit;font-weight:800;cursor:pointer;min-height:48px}
.ig-donation-form :focus-visible{outline:3px solid #7650ce;outline-offset:3px}
@media(max-width:480px){.ig-donation-amounts{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Leaderboard and entry confirmation */
.ig-leaderboard,
.ig-thankyou-page {
  --ig-ink: #221a3a;
  --ig-muted: #5a536c;
  --ig-line: #e6dff1;
  --ig-violet: #5935a6;
  --ig-paper: #fcfaff;
  color: var(--ig-ink);
}

.ig-leaderboard {
  background: var(--ig-paper) !important;
  border: 1px solid var(--ig-line);
  border-radius: 28px;
  box-shadow: 0 14px 42px #28194b0d;
  padding: clamp(16px, 4vw, 40px);
}

.ig-leaderboard .ig-lb-head {
  align-items: stretch;
  flex-direction: column;
  gap: 24px;
  background: linear-gradient(125deg, #efe5ff, #fff8e5 64%, #dcf7ef);
  border: 1px solid var(--ig-line);
  border-radius: 22px;
  padding: clamp(18px, 4vw, 36px);
}

.ig-leaderboard .ig-lb-heading { max-width: 70ch; }
.ig-leaderboard .ig-lb-heading h3 { font-size: clamp(30px, 5vw, 54px); }
.ig-leaderboard .ig-lb-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  gap: 8px;
}
.ig-leaderboard .ig-summary-stat {
  min-width: 0;
  background: #ffffffd9;
  border: 1px solid var(--ig-line);
  border-radius: 14px;
  padding: clamp(8px, 2vw, 18px) 6px;
  box-shadow: none;
}
.ig-leaderboard .ig-summary-stat strong {
  color: var(--ig-ink);
  font-size: clamp(16px, 3vw, 32px);
  font-variant-numeric: tabular-nums;
}
.ig-leaderboard .ig-summary-stat span { color: var(--ig-muted); }

.ig-leaderboard .ig-tc-prize {
  border: 1px solid var(--ig-line);
  border-radius: 18px;
  box-shadow: 0 5px 14px #28194b0a;
}
.ig-leaderboard .ig-standings-title {
  color: var(--ig-ink);
  font: inherit;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 850;
  margin: 32px 0 8px;
}
.ig-leaderboard .ig-lb-rules { max-width: none; margin: 0 0 18px; }
.ig-leaderboard .ig-lb-search input {
  background: #fff;
  border: 1px solid #bdb0d1;
  border-radius: 12px;
  min-height: 48px;
}
.ig-leaderboard .ig-lb-team,
.ig-leaderboard .ig-lb-team:first-child {
  border: 1px solid var(--ig-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 14px #28194b0a;
}
.ig-leaderboard .ig-lb-team:first-child { border-color: #bda8e2; }
.ig-leaderboard .ig-team-top strong { color: var(--ig-ink); overflow-wrap: anywhere; }
.ig-leaderboard .ig-qualification { margin: 10px 0; }
.ig-leaderboard .ig-qualification.is-qualified > strong {
  background: #dff8ed !important;
  border: 1px solid #9dd7c3;
  color: #114f45 !important;
}
.ig-leaderboard .ig-progress-track { height: 8px; }
.ig-leaderboard .ig-team-stats { margin-top: 12px; padding-top: 12px; }
.ig-leaderboard .ig-funds-note { color: var(--ig-muted); }

.ig-thankyou-page {
  max-width: 960px;
  background: var(--ig-paper);
  border: 1px solid var(--ig-line);
  border-radius: 28px;
  box-shadow: 0 14px 42px #28194b0d;
}
.ig-thankyou-page .ig-ty-hero {
  background: linear-gradient(135deg, #e5f8ee, #fff7df 58%, #efe5ff);
  padding: clamp(24px, 5vw, 52px) 18px clamp(22px, 4vw, 40px);
}
.ig-thankyou-page .ig-ty-success {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  font-size: 27px;
  border: 0;
  box-shadow: none;
}
.ig-thankyou-page .ig-ty-hero > .ig-eyebrow { margin-bottom: 8px; }
.ig-thankyou-page .ig-ty-hero h1 {
  font-size: clamp(30px, 6vw, 52px);
  margin-bottom: 10px;
}
.ig-thankyou-page .ig-ty-hero > p { margin-bottom: 16px; }
.ig-thankyou-page .ig-ty-team {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 10px;
  max-width: 100%;
  padding: 8px 14px;
  border: 1px solid var(--ig-line);
  border-radius: 14px;
  box-shadow: none;
}
.ig-thankyou-page .ig-ty-team small { margin: 0; }
.ig-thankyou-page .ig-ty-team strong { font-size: clamp(16px, 3vw, 20px); }
.ig-thankyou-page .ig-ty-hero + .ig-ty-share {
  padding: clamp(16px, 4vw, 32px);
  background: var(--ig-paper);
}
.ig-thankyou-page .ig-ty-share-card {
  background: #fff;
  border: 1px solid #c9b6e9;
  border-radius: 22px;
  box-shadow: 0 8px 22px #5935a614;
  padding: clamp(20px, 5vw, 42px);
}
.ig-thankyou-page .ig-share-kicker { margin-bottom: 10px; color: var(--ig-violet); }
.ig-thankyou-page .ig-ty-share-card h2 { font-size: clamp(23px, 4vw, 36px); overflow-wrap: anywhere; }
.ig-thankyou-page .ig-ty-share-card .ig-sharing-bonus-info {
  background: #f5efff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
}
.ig-thankyou-page .ig-ty-share-card .ig-bonus-status:empty,
.ig-thankyou-page .ig-ty-share-card .ig-ty-copy-note:empty { margin: 0; min-height: 0; }
.ig-thankyou-page .ig-ty-share-primary a {
  display: inline-flex;
  justify-content: center;
  width: min(100%, 340px);
  box-shadow: 0 4px 0 #a9551b;
  border: 1px solid #a9551b !important;
}
.ig-thankyou-page .ig-ty-share-more a,
.ig-thankyou-page .ig-ty-share-more button,
.ig-thankyou-page .ig-ty-next > a {
  background: #fff !important;
  color: var(--ig-violet) !important;
  border: 1px solid #c9b6e9 !important;
  box-shadow: none;
  min-height: 44px;
}
.ig-thankyou-page .ig-ty-share-more a:hover,
.ig-thankyou-page .ig-ty-share-more button:hover,
.ig-thankyou-page .ig-ty-next > a:hover { background: #f5efff !important; }
.ig-thankyou-page .ig-ty-next {
  background: #f3edfc;
  border-radius: 18px;
  margin: 0 clamp(16px, 4vw, 32px) 16px;
  padding: clamp(16px, 3vw, 26px);
  gap: 14px;
}
.ig-thankyou-page .ig-ty-next > div { flex-basis: 300px; }
.ig-thankyou-page .ig-ty-next h2 { font-size: clamp(20px, 3vw, 27px); margin: 6px 0 4px; }

@media (max-width: 480px) {
  .ig-leaderboard .ig-lb-head { gap: 14px; }
  .ig-thankyou-page .ig-ty-share-more > * { flex: 1 1 120px; }
  .ig-thankyou-page .ig-ty-next > div { flex-basis: auto; }
}

.ig-leaderboard .ig-team-fundraising {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #f5efff;
  color: #221a3a;
  overflow-wrap: anywhere;
}
.ig-team-fundraising p { margin: 0 0 8px; }
.ig-team-fundraising-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.ig-team-fundraising-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 6px 16px;
  background: #ffb56e;
  color: #221a3a !important;
  font-weight: 800;
  text-decoration: none;
}
.ig-team-donation-page {
  max-width: 680px;
  margin: 24px auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.ig-team-donation-page .ig-team-donation-panel {
  margin: 0 0 20px;
  border: 1px solid #c9b6e9;
  border-radius: 16px;
  padding: clamp(16px, 4vw, 28px);
  background: #fff;
  color: #221a3a;
}
.ig-team-donation-panel h4 { margin: 0 0 8px; color: #221a3a; }
.ig-team-donation-panel .ig-donation-form { margin: 16px 0 0; }
.ig-team-donation-panel select { min-height: 46px; }

.ig-team-donation-contact {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f5efff;
  overflow-wrap: anywhere;
}
.ig-team-donation-contact h5 { margin: 0 0 6px; color: #221a3a; }
.ig-team-donation-contact p { margin: 0; }

