/* v7.7.136 — Challenge uses the approved Solo / Choose Tees / v7.7.135
   Group components. No rules target Splash, Hole Page or Group Play.
   Fixed typography; grow/wrap containers rather than shrinking their text. */
#app :is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup), #app :is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup) > .screen-body {background:#FFFFFF!important;background-image:none!important;color:#14213D!important;}
:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay), :is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) * {box-sizing:border-box;}
:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) * {background-image:none!important;}
#app :is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup) > .header {
  width:100%!important;flex:0 0 auto;gap:12px;
  background:#14213D!important;background-image:none!important;border:0!important;box-shadow:none!important;
  min-height:80px!important;height:auto!important;
  padding:calc(12px + env(safe-area-inset-top,0px)) 16px 12px!important;
}
#app :is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup) .header-title {color:#FFFFFF!important;font:700 26px/1.12 'Playfair Display',Georgia,serif!important;white-space:normal!important;overflow-wrap:anywhere;}
#app :is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup) .header-sub {color:#E58B59!important;font:400 13px/1.3 'Playfair Display',Georgia,serif!important;white-space:normal!important;}
#app :is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup) .header-back {background:rgba(255,255,255,.08)!important;color:#FFFFFF!important;border:1px solid rgba(255,255,255,.5)!important;flex-shrink:0!important;}
:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) :is(.cc2-card,.cc2-action-bar,.cdv2-players-block,.cdv2-status-block,.cdv2-game-block,.cdv2-section,.cpb-actions) {background:#FFFFFF!important;box-shadow:none!important;border-color:#D7DCE5!important;}
:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) :is(.cc2-section-label,.challv2-section-label) {color:#14213D!important;font:700 21px/1.3 'Playfair Display',Georgia,serif!important;letter-spacing:normal!important;text-transform:none!important;}
:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) :is(.cc2-field-label,.challv2-empty-state,.cc2-opp-sub,.cdv2-status-sub) {color:#14213D!important;font:400 13px/1.3 'DM Sans',Arial,sans-serif!important;white-space:normal!important;overflow-wrap:anywhere;}
/* Existing action component: orange, 9px navy left edge, 16px/700 DM Sans. */
:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) button:not(.header-back) {
  display:inline-flex;align-items:center;justify-content:center;
  min-width:0!important;max-width:100%!important;height:auto!important;min-height:44px!important;
  padding:10px 18px!important;border:0!important;border-left:9px solid #14213D!important;
  border-radius:9px!important;background:#CC5500!important;color:#FFFFFF!important;
  font:700 16px/1.2 'DM Sans',Arial,sans-serif!important;
  white-space:normal!important;overflow-wrap:anywhere;text-align:center;box-shadow:none!important;
}
:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) :is(.cc2-cancel-btn,button[onclick*="Cancel"],button[onclick*="Decline"],button[onclick*="Withdraw"],button[onclick*="Concede"]) {background:#FFFFFF!important;color:#14213D!important;border:2px solid #14213D!important;}
/* Same selection states as approved Choose Tees and Group Play. */
#app :is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) :is(.cc2-seg-btn,.cc2-pill-toggle) {
  flex:1 1 0;min-height:44px!important;height:auto!important;max-height:none!important;
  padding:10px 18px!important;background:#14213D!important;color:#FFFFFF!important;
  border:1px solid #8190A5!important;border-left:3px solid #CC5500!important;
  border-radius:12px!important;box-shadow:none!important;
  font:700 16px/1.2 'DM Sans',Arial,sans-serif!important;
}
#app :is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) :is(.cc2-seg-btn,.cc2-pill-toggle):is(.active,[aria-pressed="true"]) {
  background:#4A82B3!important;color:#FFFFFF!important;
  border:2px solid #CC5500!important;border-left:3px solid #CC5500!important;
  outline:2px solid #CC5500!important;outline-offset:0!important;
}
:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) .cc2-seg-row {display:flex;gap:8px!important;align-items:stretch;}
:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) :is(.cc2-opponent-actions,.cc2-action-bar,.challv2-card-actions) {flex-wrap:wrap;gap:8px!important;}
:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) :is(.cc2-input,.cc2-textarea,input:not([type=hidden]),select,textarea) {
  min-width:0!important;max-width:100%!important;height:auto!important;min-height:44px!important;
  background:#FFFFFF!important;color:#14213D!important;border:1px solid #8190A5!important;border-radius:9px!important;
  padding:10px 12px!important;font:400 15px/1.3 'DM Sans',Arial,sans-serif!important;
}
:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) textarea {min-height:90px!important;}
:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) :is(.challv2-card,.player-identity-card,.cc2-opp-row) {
  background:#14213D!important;color:#FFFFFF!important;border:1px solid #8190A5!important;
  border-left:3px solid #CC5500!important;border-radius:12px!important;box-shadow:none!important;
  height:auto!important;max-height:none!important;overflow:visible!important;
}
:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) :is(.player-identity-card,.cc2-opp-row) {padding:12px 14px!important;}
:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) :is(.challv2-card-name,.pic-line1,.cc2-opp-name,.cdv2-player-name) {
  font:700 23px/1.18 'Playfair Display',Georgia,serif!important;
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;
}
:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) :is(.challv2-card-name,.pic-line1,.cc2-opp-name) {color:#FFFFFF!important;}
:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) :is(.challv2-card-meta,.pic-line2,.cc2-opp-row .cc2-opp-sub) {
  color:#E58B59!important;font:600 15px/1.32 'Playfair Display',Georgia,serif!important;
  white-space:normal!important;overflow-wrap:anywhere;
}
:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) :is(.challv2-card-main,.cc2-opp-row) {flex-wrap:wrap;}
:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) .challv2-card-info {flex:1 1 160px;min-width:0;}
:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) :is(.challv2-badge,.cdv2-status-badge,.challv2-card-result,.challv2-waiting-txt) {
  background:#14213D!important;color:#FFFFFF!important;border-color:#CC5500!important;
  white-space:normal!important;height:auto!important;overflow-wrap:anywhere;
}
:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) .challv2-dot-green {background:#4A82B3!important;box-shadow:none!important;}
/* Approved popup treatment, including dynamic summary/history views. */
:is(#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) {padding:12px!important;background:rgba(12,24,44,.72)!important;align-items:center!important;justify-content:center!important;}
:is(#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) > div {
  width:min(100%,690px)!important;max-width:100%!important;min-width:0!important;max-height:90dvh!important;
  overflow-y:auto!important;overflow-x:hidden!important;background:#FFFFFF!important;color:#14213D!important;
  border:2px solid #CC5500!important;border-radius:16px!important;padding:0!important;box-shadow:none!important;
}
:is(#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) > div > :first-child {
  margin:0!important;padding:18px!important;background:#14213D!important;color:#FFFFFF!important;
}
:is(#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) > div > :first-child :is(div,span,.mp-title,.mp-sub,.cpb-title,.cpb-subtitle) {color:#FFFFFF!important;}
:is(#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) > div > :first-child > :first-child {font:700 23px/1.18 'Playfair Display',Georgia,serif!important;white-space:normal!important;overflow-wrap:anywhere;}
#cc2-bet-popup > div > :first-child {font:700 23px/1.18 'Playfair Display',Georgia,serif!important;text-transform:none!important;letter-spacing:normal!important;text-align:left!important;}
:is(#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) > div > :not(:first-child) {margin:12px 14px 18px!important;}
:is(#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) > div > :first-child button {
  min-width:44px!important;min-height:44px!important;flex:0 0 auto!important;padding:8px!important;
  border:1px solid #8190A5!important;border-radius:9px!important;background:#14213D!important;color:#FFFFFF!important;
}
#cc2-opp-modal-card {flex:0 1 auto;}
#cc2-opp-modal-body {min-height:0;}
#cc2-create-opp-form,#cc2-opponent-audit,#cc2-bet-popup-body > div {background:#FFFFFF!important;}
#chall-pb-setup-popup :is(.cpb-scorebox-cell,.cpb-scorebox-cell-on) {background:#14213D!important;color:#FFFFFF!important;border-color:#CC5500!important;}
#chall-pb-setup-popup .cpb-scorebox-cell-on {background:#4A82B3!important;outline:2px solid #CC5500;}
@media(max-width:430px) {
  :is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) .cc2-seg-row {flex-wrap:wrap;}
  :is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) .cc2-seg-btn {flex:1 1 110px!important;}
  :is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup,#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) .cdv2-players-block {flex-wrap:wrap;}
}

#chall-poker-settlement-overlay {display:flex!important;}

body:has(:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup).active) #gl-detail-modal {padding:12px!important;background:rgba(12,24,44,.72)!important;align-items:center!important;justify-content:center!important;}
body:has(:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup).active) #gl-detail-modal .gl-modal-panel {width:min(100%,690px)!important;max-width:100%!important;max-height:90dvh!important;background:#FFFFFF!important;border:2px solid #CC5500!important;border-radius:16px!important;}
body:has(:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup).active) #gl-detail-modal .gl-modal-header {background:#14213D!important;background-image:none!important;padding:18px!important;}
body:has(:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup).active) #gl-detail-modal :is(.gl-modal-title,.gl-modal-sub,.gl-modal-close) {color:#FFFFFF!important;}
body:has(:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup).active) #gl-detail-modal .gl-modal-title {font:700 23px/1.18 'Playfair Display',Georgia,serif!important;white-space:normal!important;}
body:has(:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup).active) #gl-detail-modal :is(.gl-modal-body,.gl-detail-hero,.gl-goal-panel,#gl-detail-rules > div) {background:#FFFFFF!important;background-image:none!important;color:#14213D!important;box-shadow:none!important;}
body:has(:is(#screen-mod2-challenges,#screen-mod2-challenge-setup,#screen-mod2-challenge-detail,#screen-chall-invite-detail,#screen-chall-opponent-setup,#screen-chall-match-setup).active) #gl-detail-modal .gl-badge {background:#14213D!important;color:#FFFFFF!important;}

/* Same identity box and type as the approved Group/Solo option titles. */
#screen-mod2-challenge-detail .cdv2-players-block {
  background:#14213D!important;color:#FFFFFF!important;
  border:1px solid #8190A5!important;border-left:3px solid #CC5500!important;
  border-radius:12px!important;height:auto!important;max-height:none!important;
}
#screen-mod2-challenge-detail .cdv2-player-name {color:#FFFFFF!important;}
#screen-mod2-challenge-detail :is(.cdv2-player-nick,.cdv2-vs) {color:#E58B59!important;}
#screen-mod2-challenge-detail :is(.cdv2-status-label,.cdv2-game-label,.cdv2-section-title) {
  font:700 21px/1.3 'Playfair Display',Georgia,serif!important;
  color:#14213D!important;letter-spacing:normal!important;text-transform:none!important;
}
#screen-mod2-challenge-detail :is(.cdv2-game-row,.cdv2-bet-row) {flex-wrap:wrap;}
#screen-mod2-challenge-detail :is(.cdv2-game-val,.cdv2-status-main) {overflow-wrap:anywhere;}
#screen-mod2-challenge-setup .cc2-card,
#screen-mod2-challenge-detail :is(.cdv2-game-block,.cdv2-status-block,.cdv2-comment-block) {
  height:auto!important;max-height:none!important;overflow:visible!important;
}
/* Direct popup actions need room for both side margins, even with width:100%. */
:is(#cc2-bet-popup,#cc2-opp-modal-overlay,#chall-gameinfo-popup,#chall-pb-setup-popup,#chall-poker-popup,#chall-summary-overlay,#chall-live-view-overlay,#chall-follow-round-overlay,#chall-poker-settlement-overlay) > div > :not(:first-child) {
  max-width:calc(100% - 28px)!important;
}
:is(#chall-summary-overlay,#chall-live-view-overlay) > div > button {width:calc(100% - 28px)!important;}
#chall-follow-round-overlay .cgb-cmp-rowlabel {
  width:120px!important;min-width:120px;white-space:normal!important;
  overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;
}
#chall-follow-round-overlay :is(.cgb-cmp-synopsis,.cgb-follow-banner) {background:#FFFFFF!important;color:#14213D!important;}
#chall-follow-round-overlay .cgb-cmp-synopsis-game {color:#14213D!important;}
#chall-pb-setup-popup :is(.sc-row-par td,.sc-row-hcp td) {background:#FFFFFF!important;color:#14213D!important;}
#chall-gameinfo-popup .mp-row > .mp-title {flex:1 1 auto;min-width:0;}
#chall-gameinfo-popup .mp-row > button {flex:0 0 auto!important;font:700 16px/1.2 'DM Sans',Arial,sans-serif!important;}
#chall-poker-body :is(.mp-title,.mp-kicker) {color:#14213D!important;font:700 23px/1.18 'Playfair Display',Georgia,serif!important;}
#chall-poker-body .mp-sub {color:#14213D!important;font:400 13px/1.3 'DM Sans',Arial,sans-serif!important;}
#screen-mod2-challenges .chall-alert-banner {background:#14213D!important;border:2px solid #CC5500!important;}
#screen-mod2-challenges :is(.chall-alert-title,.chall-alert-msg) {color:#FFFFFF!important;}
#chall-poker-settlement-overlay div[style*="background:#1f5b3a"] {background:#14213D!important;}
#chall-poker-settlement-overlay div[style*="color:#1f5b3a"] {color:#14213D!important;}

/* Defeat the legacy editorial section gradients only inside Challenges. */
#app #screen-mod2-challenges .challv2-section-header {
  background:#FFFFFF!important;background-image:none!important;border:0!important;
  border-radius:0!important;box-shadow:none!important;padding:6px 2px 12px!important;
}
#app #screen-mod2-challenges .challv2-section-hint {color:#14213D!important;}
#app #screen-mod2-challenges .challv2-card-main {flex-direction:row!important;align-items:flex-start!important;}
#app #screen-mod2-challenges .challv2-card-info {flex:1 1 160px!important;}
#app #screen-mod2-challenges .challv2-active-card-v2 > div:not(:last-child),
#app #screen-mod2-challenges .challv2-active-card-v2 > div:not(:last-child) span {
  color:#FFFFFF!important;white-space:normal!important;overflow:visible!important;
  text-overflow:clip!important;overflow-wrap:anywhere;
}
#app #screen-mod2-challenges .challv2-active-card-v2 > div:not(:last-child) div {flex-wrap:wrap!important;}
#app #screen-mod2-challenges .challv2-active-card-v2 span[style*="border-radius:50%"] {background:#4A82B3!important;}
#chall-pb-setup-popup :is(.sc-par-row td,.sc-hcp-row td) {background:#FFFFFF!important;color:#14213D!important;}
#app #screen-mod2-challenges .challv2-active-card-v2 > div:last-child {flex-wrap:wrap!important;}
#app #screen-mod2-challenges .challv2-active-card-v2 > div:last-child > button:last-child {
  flex:1 1 auto!important;min-width:max-content!important;
}
#app #screen-mod2-challenges :is(.btn-cancel,.challv2-btn-cancel,.challv2-btn-decline,.challv2-btn-withdraw,.challv2-active-action-btn) {
  background:#FFFFFF!important;color:#14213D!important;border:2px solid #14213D!important;
}
#app #screen-mod2-challenges .challv2-active-card-v2 > div:first-child > div > span:first-child {
  font:700 23px/1.18 'Playfair Display',Georgia,serif!important;
}
/* Let the action row size from whole words; do not squeeze letters into columns. */
#app #screen-mod2-challenges .challv2-active-card-v2 > div:last-child > button {
  flex:1 1 auto!important;min-width:min-content!important;
  overflow-wrap:normal!important;word-break:normal!important;
  clip-path:none!important;-webkit-clip-path:none!important;
}

/* The existing shared confirmation stays unchanged for every other module. */
#confirm-modal.cg-challenge-confirm {
  padding:12px!important;background:rgba(12,24,44,.72)!important;
  align-items:center!important;justify-content:center!important;
}
#confirm-modal.cg-challenge-confirm .confirm-box {
  box-sizing:border-box;width:min(100%,690px)!important;max-width:100%!important;
  max-height:90dvh;overflow:auto;background:#FFFFFF!important;background-image:none!important;
  border:2px solid #CC5500!important;border-radius:16px!important;padding:0!important;
}
#confirm-modal.cg-challenge-confirm .confirm-title {
  margin:0;padding:18px;background:#14213D!important;color:#FFFFFF!important;
  font:700 23px/1.18 'Playfair Display',Georgia,serif!important;white-space:normal;overflow-wrap:anywhere;
}
#confirm-modal.cg-challenge-confirm .confirm-sub {margin:12px 14px;color:#14213D!important;}
#confirm-modal.cg-challenge-confirm .confirm-btns {display:flex;flex-wrap:wrap;gap:8px;margin:12px 14px 18px;}
#confirm-modal.cg-challenge-confirm .confirm-btns button {
  flex:1 1 auto;box-sizing:border-box;min-height:44px;height:auto;padding:10px 18px;
  font:700 16px/1.2 'DM Sans',Arial,sans-serif!important;white-space:normal;overflow-wrap:normal;
  background:#CC5500!important;background-image:none!important;color:#FFFFFF!important;
  border:0!important;border-left:9px solid #14213D!important;border-radius:9px!important;box-shadow:none!important;
}
#confirm-modal.cg-challenge-confirm #confirm-cancel-btn {background:#FFFFFF!important;color:#14213D!important;border:2px solid #14213D!important;}
#confirm-modal.cg-challenge-confirm #chall-proposal-note {
  box-sizing:border-box;display:block;width:calc(100% - 28px);margin:12px 14px;
  min-height:90px;padding:10px 12px;background:#FFFFFF;color:#14213D;
  border:1px solid #8190A5;border-radius:9px;font:400 15px/1.3 'DM Sans',Arial,sans-serif;
}
