/* 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; }