/* V71 reference-matched Add Score popups: compact, mobile-safe, and low-scroll. */
body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal){
  background:rgba(2,1,7,.9)!important;
  backdrop-filter:blur(8px)!important;
}

html body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) button{
  background-image:none!important;
  box-shadow:none!important;
  filter:none!important;
  text-shadow:none!important;
  transform:none!important;
}

body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) .add-score-card{
  width:min(430px,calc(100vw - 16px))!important;
  max-height:calc(100vh - 16px)!important;
  padding:17px 18px!important;
  border:1px solid rgba(224,174,126,.72)!important;
  border-radius:14px!important;
  background:#0d0914!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:13px!important;
  line-height:1.35!important;
  overflow:auto!important;
}
body[data-page="home"] #score-route-modal .score-route-card{width:min(520px,calc(100vw - 16px))!important}
body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) .add-score-card::-webkit-scrollbar{width:5px}
body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) .add-score-card::-webkit-scrollbar-thumb{border-radius:8px;background:#55316f}

body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) .score-step-label{display:none!important}
body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) h2{
  margin:0 36px 9px!important;
  color:#fff!important;
  font-size:16px!important;
  line-height:1.15!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
  text-align:center!important;
  text-transform:uppercase!important;
  text-shadow:none!important;
}
body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) h3{
  margin:0!important;color:#ffd760!important;font-size:13px!important;line-height:1.25!important;text-shadow:none!important
}
body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) p{margin:0!important;font-size:11.5px!important;line-height:1.35!important}
body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) :is(.add-score-close,.modal-back-button){
  top:8px!important;width:28px!important;height:28px!important;padding:0!important;border:0!important;background:transparent!important;color:#fff!important;box-shadow:none!important;font-size:20px!important;line-height:1!important;transform:none!important
}
body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) .modal-back-button{left:9px!important}
body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) .add-score-close{right:9px!important}

body[data-page="home"] .score-progress{position:relative;display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:0!important;margin:0 2px 14px!important}
body[data-page="home"] .score-progress::before{content:"";position:absolute;z-index:0;top:11px;left:12.5%;right:12.5%;height:1px;background:#44364f}
body[data-page="home"] .score-progress>div{position:relative;z-index:1;display:grid!important;place-items:center!important;gap:3px!important;min-width:0!important}
body[data-page="home"] .score-progress span{display:grid!important;place-items:center!important;width:23px!important;height:23px!important;border:1px solid #695178!important;border-radius:50%!important;background:#15101e!important;color:#c7bdcf!important;font-size:11px!important;font-weight:800!important;box-shadow:none!important}
body[data-page="home"] .score-progress small{color:#9d93a8!important;font-size:8.5px!important;line-height:1!important;white-space:nowrap!important}
body[data-page="home"] .score-progress .complete span{border-color:#41c96c!important;background:#12351e!important;color:#71f49a!important}
body[data-page="home"] .score-progress .current span{border-color:#f1ba4c!important;background:#bd7918!important;color:#fff!important;box-shadow:0 0 9px rgba(241,186,76,.55)!important}
body[data-page="home"] .score-progress .current small{color:#fff!important}

body[data-page="home"] :is(.score-unified-panel,.add-score-amount-side,.score-route-section,.request-confirm-summary){display:grid!important;gap:10px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body[data-page="home"] .score-flat-section{display:grid!important;gap:7px!important;padding:0 0 10px!important;border:0!important;border-bottom:1px solid #33263e!important;background:transparent!important;box-shadow:none!important}
body[data-page="home"] .score-flat-section:last-of-type{padding-bottom:0!important;border-bottom:0!important}
body[data-page="home"] .score-flat-section[hidden],body[data-page="home"] .score-route-section[hidden],body[data-page="home"] .score-conditional-field[hidden],body[data-page="home"] .score-choice-list label[hidden]{display:none!important}

/* Every saved/new or route choice stays side-by-side; native radio circles never render. */
body[data-page="home"] .score-choice-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;width:100%!important;margin:0!important}
body[data-page="home"] .score-choice-list label{position:relative!important;display:block!important;min-width:0!important;margin:0!important;padding:0!important;cursor:pointer!important}
body[data-page="home"] .score-choice-list label>input[type="radio"]{
  position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;opacity:0!important;appearance:none!important;pointer-events:none!important
}
body[data-page="home"] .score-choice-list label>span{
  display:flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;height:100%!important;padding:7px 8px!important;border:1px solid #4b3658!important;border-radius:8px!important;background:#17101f!important;color:#fff!important;text-align:center!important;box-shadow:none!important;transform:none!important
}
body[data-page="home"] .score-choice-list label>span b{font-size:11.5px!important;line-height:1.2!important;color:#fff!important;text-shadow:none!important}
body[data-page="home"] .score-choice-list label>span small{display:none!important}
body[data-page="home"] .score-choice-list label>input[type="radio"]:checked+span{border-color:#a443fa!important;background:#47106d!important;box-shadow:inset 0 0 0 1px rgba(208,126,255,.24),0 0 10px rgba(164,67,250,.28)!important}

body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal) label{gap:5px!important;font-size:11.5px!important}
body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) :is(input:not([type="radio"]),select){
  width:100%!important;min-height:38px!important;height:38px!important;padding:7px 10px!important;border:1px solid #513661!important;border-radius:7px!important;background:#11101a!important;color:#fff!important;font-size:13px!important;box-shadow:none!important;outline:0!important
}
body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) :is(input:not([type="radio"]),select):focus{border-color:#9a42e8!important;box-shadow:0 0 0 2px rgba(154,66,232,.18)!important}
body[data-page="home"] .score-conditional-field{padding:8px!important;border:1px solid #362541!important;border-radius:8px!important;background:#120c18!important;box-shadow:none!important}
body[data-page="home"] .score-route-group{margin:0!important;padding:8px!important;border:1px solid #46304f!important;border-radius:9px!important;background:#110b17!important;box-shadow:none!important}
body[data-page="home"] .score-route-group legend{padding:0 5px!important;color:#e7c7f5!important;font-size:10.5px!important}

body[data-page="home"] :is(.score-selected-game,.score-route-context,.score-own-allocation,.score-allocation-total){display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:0!important;padding:8px 10px!important;min-height:36px!important;border:1px solid #42304e!important;border-radius:8px!important;background:#12101b!important;font-size:11.5px!important;box-shadow:none!important}
body[data-page="home"] .score-two-column{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
body[data-page="home"] .score-two-column>div{display:grid!important;gap:7px!important}
body[data-page="home"] #score-route-modal .score-route-section{gap:8px!important;margin:0!important}
body[data-page="home"] #score-route-modal :is(.score-app-allocation-row,.single-recipient-row){padding:8px!important;border:1px solid #46304f!important;border-radius:8px!important;background:#110b17!important;box-shadow:none!important}
body[data-page="home"] #score-route-modal .score-app-allocation-row{display:grid!important;grid-template-columns:1fr 1fr .72fr 32px!important;gap:6px!important;align-items:end!important}
body[data-page="home"] #score-route-modal .score-remove-app{width:32px!important;height:38px!important;min-height:38px!important;padding:0!important}
body[data-page="home"] .score-profile-rows,body[data-page="home"] .score-app-allocation-rows{display:grid!important;gap:7px!important;margin:0!important}
body[data-page="home"] .score-profile-status{min-height:0!important;margin:0!important;font-size:10px!important;line-height:1.25!important}

/* Earlier actions glow; final confirmation actions intentionally stay solid. */
html body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal) button.score-submit{
  width:100%!important;min-height:40px!important;height:40px!important;margin:0!important;padding:7px 12px!important;border:1px solid #cf66ff!important;border-radius:7px!important;background:#7a12c9!important;color:#fff!important;font-size:12px!important;font-weight:850!important;box-shadow:0 0 7px rgba(189,68,255,.72),0 0 18px rgba(122,18,201,.45)!important;text-shadow:0 0 7px rgba(255,255,255,.25)!important;transform:none!important
}
body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal) .request-edit-button{min-height:36px!important;padding:7px 10px!important;font-size:11px!important}
body[data-page="home"] #recharge-confirm-modal :is(.score-submit,.request-edit-button){min-height:40px!important;height:40px!important;margin:0!important;padding:7px 10px!important;border-radius:7px!important;font-size:11.5px!important;box-shadow:none!important;text-shadow:none!important;transform:none!important}
body[data-page="home"] #recharge-confirm-modal .score-submit{border:1px solid #55da83!important;background:#168941!important;color:#fff!important}
body[data-page="home"] #recharge-confirm-modal .request-edit-button{border:1px solid #5a4266!important;background:#211528!important;color:#fff!important}

body[data-page="home"] #add-score-payment-modal .score-payment-select-wrap{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body[data-page="home"] #add-score-payment-modal .score-payment-selected .score-payment-option.selected{display:grid!important;grid-template-columns:54px 1fr 20px!important;gap:8px!important;padding:7px!important;min-height:0!important}
body[data-page="home"] #add-score-payment-modal .score-payment-image-button{width:54px!important;height:54px!important;min-height:54px!important}
body[data-page="home"] #add-score-payment-modal .score-payment-check{width:20px!important;height:20px!important}

body[data-page="home"] .score-confirm-profile{display:grid!important;gap:6px!important;padding:9px!important;border:1px solid #4a3657!important;border-radius:8px!important;background:#12101b!important}
body[data-page="home"] .score-confirm-profile-header{display:flex!important;justify-content:space-between!important;gap:8px!important;align-items:start!important}
body[data-page="home"] .score-confirm-profile-header span,body[data-page="home"] .score-confirm-app span{display:grid!important;gap:1px!important}
body[data-page="home"] .score-confirm-profile-header small,body[data-page="home"] .score-confirm-app small{font-size:9.5px!important}
body[data-page="home"] .score-confirm-app{display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;padding-top:6px!important;border-top:1px solid #33263e!important}
body[data-page="home"] .score-confirm-app>b{color:#ffd65a!important}
body[data-page="home"] #recharge-confirm-modal .request-confirm-actions{gap:7px!important;margin-top:10px!important}
body[data-page="home"] #recharge-confirm-modal .confirm-total{margin:0!important;padding:8px 10px!important;min-height:36px!important}

@media(max-width:380px){
  body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) .add-score-card{padding:14px 12px!important}
  body[data-page="home"] .score-choice-list label>span{padding-inline:5px!important}
  body[data-page="home"] .score-choice-list label>span b{font-size:10.5px!important}
  body[data-page="home"] #score-route-modal .score-app-allocation-row{grid-template-columns:1fr 1fr!important}
}

/* Borderless color separation requested for the final compact treatment. */
html body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) .add-score-card{
  border:0!important;
  box-shadow:0 0 9px rgba(131,65,184,.2)!important;
}
html body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) :is(button,input,select,fieldset,.score-choice-list label>span,.score-conditional-field,.score-selected-game,.score-route-context,.score-own-allocation,.score-allocation-total,.score-app-allocation-row,.single-recipient-row,.score-confirm-profile){
  border:0!important;
  background-image:none!important;
}
html body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) :is(input:not([type="radio"]),select){
  background:#12101a!important;
  box-shadow:0 0 6px rgba(123,61,158,.16)!important;
}
html body[data-page="home"] #add-score-payment-modal .score-flat-section{
  padding:8px!important;
  border:0!important;
  border-radius:8px!important;
}
html body[data-page="home"] #add-score-payment-modal .score-flat-section:nth-of-type(1){
  background:#110d18!important;
  box-shadow:0 0 7px rgba(153,69,224,.22)!important;
}
html body[data-page="home"] #add-score-payment-modal .score-flat-section:nth-of-type(2){
  background:#151109!important;
  box-shadow:0 0 7px rgba(224,170,69,.2)!important;
}
html body[data-page="home"] #add-score-payment-modal .score-flat-section:nth-of-type(3){
  background:#09150e!important;
  box-shadow:0 0 8px rgba(52,211,105,.32)!important;
}
html body[data-page="home"] #add-score-payment-modal .score-flat-section:nth-of-type(3) h3{color:#78e99d!important}
html body[data-page="home"] #add-score-payment-modal .score-flat-section:nth-of-type(3) :is(input,select){box-shadow:0 0 7px rgba(52,211,105,.22)!important}

html body[data-page="home"] #add-score-modal .score-route-group{
  border:0!important;
  background:#100d16!important;
}
html body[data-page="home"] #add-score-modal .score-route-group:nth-of-type(1){box-shadow:0 0 7px rgba(153,69,224,.2)!important}
html body[data-page="home"] #add-score-modal .score-route-group:nth-of-type(2){box-shadow:0 0 7px rgba(61,168,219,.19)!important}
html body[data-page="home"] #add-score-modal .score-selected-game{box-shadow:0 0 6px rgba(64,202,130,.17)!important}

html body[data-page="home"] #score-route-modal .score-route-section{
  padding:8px!important;
  border-radius:8px!important;
  background:#100d16!important;
}
html body[data-page="home"] #score-route-modal #score-self-route{box-shadow:0 0 7px rgba(153,69,224,.2)!important}
html body[data-page="home"] #score-route-modal #score-app-split-options{box-shadow:0 0 7px rgba(61,168,219,.19)!important}
html body[data-page="home"] #score-route-modal #score-split-options{box-shadow:0 0 7px rgba(224,170,69,.19)!important}
html body[data-page="home"] #score-route-modal #score-other-options{box-shadow:0 0 7px rgba(217,86,136,.18)!important}

html body[data-page="home"] .score-choice-list label>span{
  border:0!important;
  background:#18111f!important;
  box-shadow:0 0 5px rgba(123,61,158,.12)!important;
}
html body[data-page="home"] .score-choice-list label>input[type="radio"]:checked+span{
  border:0!important;
  background:#451263!important;
  box-shadow:0 0 7px rgba(180,70,241,.34)!important;
}
html body[data-page="home"] .score-conditional-field{background:#120e17!important;box-shadow:0 0 6px rgba(224,170,69,.15)!important}
html body[data-page="home"] .score-progress span{border:0!important}
html body[data-page="home"] #recharge-confirm-modal :is(.request-confirm-summary,.score-confirm-profile,.confirm-total){border:0!important;box-shadow:0 0 6px rgba(128,70,157,.13)!important}
html body[data-page="home"] #recharge-confirm-modal :is(.score-submit,.request-edit-button){border:0!important;box-shadow:none!important}

/* Step 1 reads as one continuous panel: compact payment control, no yellow block. */
html body[data-page="home"] #add-score-payment-modal .score-flat-section,
html body[data-page="home"] #add-score-payment-modal .score-flat-section:nth-of-type(1),
html body[data-page="home"] #add-score-payment-modal .score-flat-section:nth-of-type(2){
  padding:0 0 8px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
html body[data-page="home"] #add-score-payment-modal .score-flat-section:nth-of-type(3){
  padding:7px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:0 0 7px rgba(52,211,105,.26)!important;
}
html body[data-page="home"] #add-score-payment-modal label.score-payment-select-wrap:not(#ldr-never-3d){
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  color:#fff!important;
  box-shadow:none!important;
}
html body[data-page="home"] #add-score-payment-modal label.score-payment-select-wrap>span{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body[data-page="home"] #add-score-payment-modal select#score-payment-select{
  min-height:34px!important;
  height:34px!important;
  padding:5px 9px!important;
  border:0!important;
  border-radius:7px!important;
  background:#11101a!important;
  background-image:none!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:12px!important;
  box-shadow:0 0 7px rgba(164,67,250,.28)!important;
}
html body[data-page="home"] #add-score-payment-modal .score-payment-options{max-height:none!important;overflow:visible!important}
html body[data-page="home"] #add-score-payment-modal .score-payment-selected .score-payment-option.selected{
  grid-template-columns:40px 1fr 18px!important;
  min-height:0!important;
  padding:5px!important;
  border:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  transform:none!important;
}
html body[data-page="home"] #add-score-payment-modal .score-payment-image-button{width:40px!important;height:40px!important;min-height:40px!important;border:0!important;box-shadow:none!important}
html body[data-page="home"] #add-score-payment-modal .score-payment-check{width:18px!important;height:18px!important;border:0!important;box-shadow:0 0 6px rgba(164,67,250,.26)!important}

/* Absolute final border reset: older theme layers cannot reintroduce frame lines. */
html body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) .add-score-card:not(#ldr-border-escape),
html body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) .add-score-card *:not(#ldr-border-escape),
html body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) .add-score-card *::before,
html body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) .add-score-card *::after{
  border:0!important;
  outline:0!important;
}
html body[data-page="home"] #add-score-payment-modal .add-score-card .score-payment-selected .score-payment-option.selected:not(#ldr-border-escape),
html body[data-page="home"] #add-score-payment-modal .add-score-card .score-payment-selected .score-payment-option.selected *:not(#ldr-border-escape){
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}
html body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal) .add-score-card button.score-submit:not(#ldr-border-escape){
  border:0!important;
  background:#7a12c9!important;
  background-image:none!important;
  box-shadow:0 0 7px rgba(189,68,255,.5),0 0 13px rgba(122,18,201,.28)!important;
  transform:none!important;
}
html body[data-page="home"] #recharge-confirm-modal .add-score-card :is(button.score-submit,button.request-edit-button):not(#ldr-border-escape){
  border:0!important;
  background-image:none!important;
  box-shadow:none!important;
  transform:none!important;
}

/* Selected payment preview: image + copyable note only, with a small green glow. */
html body[data-page="home"] #add-score-payment-modal .score-payment-selected:not(:empty){
  padding:6px!important;
  border:0!important;
  border-radius:8px!important;
  background:#09140d!important;
  box-shadow:0 0 7px rgba(52,211,105,.28)!important;
}
html body[data-page="home"] #add-score-payment-modal .add-score-card .score-payment-selected .score-payment-option.selected:not(#ldr-border-escape){
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  gap:7px!important;
  align-items:stretch!important;
  padding:0!important;
  background:transparent!important;
}
html body[data-page="home"] #add-score-payment-modal .score-payment-image-button:not(#ldr-border-escape){
  width:42px!important;
  height:42px!important;
  min-height:42px!important;
  padding:2px!important;
  border:0!important;
  border-radius:7px!important;
  background:#fff!important;
  box-shadow:none!important;
}
html body[data-page="home"] #add-score-payment-modal .score-payment-note-copy:not(#ldr-border-escape){
  display:grid!important;
  place-content:center!important;
  gap:1px!important;
  min-height:42px!important;
  padding:5px 8px!important;
  border:0!important;
  border-radius:7px!important;
  background:#101513!important;
  background-image:none!important;
  color:#fff!important;
  font-size:11px!important;
  line-height:1.2!important;
  text-align:center!important;
  box-shadow:none!important;
  transform:none!important;
}
html body[data-page="home"] #add-score-payment-modal .score-payment-note-copy small{color:#79df9b!important;font-size:8.5px!important}

/* Unified popup background for every inner section; payment preview is the exception. */
html body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) :is(
  .score-flat-section,.score-unified-panel,.add-score-amount-side,.score-route-group,
  .score-route-section,.score-conditional-field,.score-selected-game,.score-route-context,
  .score-own-allocation,.score-allocation-total,.score-app-allocation-row,.single-recipient-row,
  .request-confirm-summary,.score-confirm-profile,.confirm-total
):not(#ldr-section-color-escape){
  background:#0d0914!important;
  background-image:none!important;
}
html body[data-page="home"] #add-score-payment-modal .score-payment-selected:not(:empty){background:#09140d!important}

/* Final glow policy: only payment preview and amount section/input may glow. */
html body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) .add-score-card:not(#ldr-glow-escape),
html body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) .add-score-card *:not(#ldr-glow-escape){
  box-shadow:none!important;
  text-shadow:none!important;
}
html body[data-page="home"] #add-score-payment-modal .score-payment-selected:not(:empty):not(#ldr-glow-escape){
  box-shadow:0 0 7px rgba(52,211,105,.28)!important;
}
html body[data-page="home"] #add-score-payment-modal .score-flat-section:nth-of-type(3):not(#ldr-glow-escape){
  box-shadow:0 0 7px rgba(52,211,105,.26)!important;
}
html body[data-page="home"] #add-score-payment-modal input#score-amount:not(#ldr-glow-escape){
  box-shadow:0 0 6px rgba(52,211,105,.22)!important;
}

/* Every popup's bottom action is solid green and completely flat. */
html body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) .add-score-card button.score-submit:not(#ldr-button-escape){
  border:0!important;
  background:#168f45!important;
  background-image:none!important;
  color:#fff!important;
  box-shadow:none!important;
  filter:none!important;
  text-shadow:none!important;
  transform:none!important;
}

/* Text-entry fields alone use a thin blue edge and restrained blue glow. */
html body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) .add-score-card input:not([type="radio"]):not([type="hidden"]):not([type="checkbox"]):not(#score-amount):not(#ldr-textbox-escape){
  border:1px solid #328bd8!important;
  outline:0!important;
  box-shadow:0 0 5px rgba(50,139,216,.3)!important;
}
html body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) .add-score-card input:not([type="radio"]):not([type="hidden"]):not([type="checkbox"]):not(#score-amount):not(#ldr-textbox-escape):focus{
  border-color:#58b6ff!important;
  box-shadow:0 0 7px rgba(88,182,255,.42)!important;
}
html body[data-page="home"] #add-score-payment-modal input#score-amount:not(#ldr-textbox-escape){
  border:0!important;
  box-shadow:0 0 6px rgba(52,211,105,.22)!important;
}

/* Small respective-color glows for the two Account Confirmation groups. */
html body[data-page="home"] #add-score-modal .add-score-card .score-route-group:nth-of-type(1):not(#ldr-glow-escape){
  box-shadow:0 0 6px rgba(164,67,250,.2)!important;
}
html body[data-page="home"] #add-score-modal .add-score-card .score-route-group:nth-of-type(2):not(#ldr-glow-escape){
  box-shadow:0 0 6px rgba(61,168,219,.2)!important;
}

/* Payment method is separated by one green line only; no nested border or glow. */
html body[data-page="home"] #add-score-payment-modal .add-score-card .score-flat-section:nth-of-type(1):not(#ldr-border-escape){
  padding:7px!important;
  border:1px solid #35bd69!important;
  border-radius:8px!important;
  background:#0d0914!important;
  box-shadow:none!important;
}
html body[data-page="home"] #add-score-payment-modal .add-score-card .score-payment-selected:not(:empty):not(#ldr-border-escape){
  border:0!important;
  background:#0d0914!important;
  box-shadow:none!important;
}

/* Profile popup follows the same compact, unified, flat treatment. */
html body[data-page="home"] #customer-auth-modal{
  background:rgba(2,1,7,.9)!important;
  backdrop-filter:blur(8px)!important;
}
html body[data-page="home"] #customer-auth-modal .customer-auth-card{
  width:min(430px,calc(100vw - 16px))!important;
  max-height:calc(100vh - 16px)!important;
  padding:17px 18px!important;
  border:0!important;
  border-radius:14px!important;
  background:#0d0914!important;
  background-image:none!important;
  color:#fff!important;
  box-shadow:none!important;
  font-size:13px!important;
  line-height:1.35!important;
  overflow:auto!important;
}
html body[data-page="home"] #customer-auth-modal .customer-auth-card *:not(#ldr-profile-border-escape){border-color:transparent!important;outline:0!important}
html body[data-page="home"] #customer-auth-modal .customer-auth-card button:not(#ldr-profile-button-escape){
  background-image:none!important;
  box-shadow:none!important;
  filter:none!important;
  text-shadow:none!important;
  transform:none!important;
}
html body[data-page="home"] #customer-auth-modal .customer-auth-card h2{margin:0 34px 10px!important;color:#fff!important;font-size:16px!important;text-align:center!important;text-transform:uppercase!important;text-shadow:none!important}
html body[data-page="home"] #customer-auth-modal .customer-auth-card h3{margin:0!important;font-size:13px!important;line-height:1.25!important}
html body[data-page="home"] #customer-auth-modal .customer-auth-card p{margin:0!important;font-size:11.5px!important;line-height:1.35!important}
html body[data-page="home"] #customer-auth-modal .customer-auth-card .add-score-close{top:8px!important;right:9px!important;width:28px!important;height:28px!important;padding:0!important;border:0!important;background:transparent!important;color:#fff!important;font-size:20px!important}
html body[data-page="home"] #customer-auth-modal :is(#customer-auth-guest,#customer-profile-view,.passwordless-auth-options,form):not([hidden]){display:grid!important;gap:8px!important}
html body[data-page="home"] #customer-auth-modal :is(#customer-auth-guest,#customer-profile-view,.passwordless-auth-options,form)[hidden],
html body[data-page="home"] #customer-auth-modal [hidden]{display:none!important}
html body[data-page="home"] #customer-auth-modal .customer-auth-tabs{grid-template-columns:1fr 1fr!important;gap:6px!important;margin:0 0 8px!important}
html body[data-page="home"] #customer-auth-modal .customer-auth-tabs button{min-height:36px!important;padding:6px 8px!important;border:0!important;border-radius:7px!important;background:#17101f!important;color:#fff!important;font-size:11.5px!important}
html body[data-page="home"] #customer-auth-modal .customer-auth-tabs button.active{background:#451263!important;color:#fff!important}
html body[data-page="home"] #customer-auth-modal .auth-provider-button{min-height:38px!important;padding:7px 10px!important;border:0!important;border-radius:7px!important;background:#17101f!important;color:#fff!important;font-size:11.5px!important}
html body[data-page="home"] #customer-auth-modal .auth-provider-button.google{background:#fff!important;color:#202124!important}
html body[data-page="home"] #customer-auth-modal .auth-provider-button.apple{background:#000!important;color:#fff!important}
html body[data-page="home"] #customer-auth-modal .auth-divider{margin:1px 0!important;font-size:10px!important}
html body[data-page="home"] #customer-auth-modal .customer-auth-card input:not([type="radio"]):not([type="hidden"]):not([type="checkbox"]):not(#ldr-profile-field-escape){
  min-height:38px!important;
  height:38px!important;
  padding:7px 10px!important;
  border:1px solid #328bd8!important;
  border-radius:7px!important;
  background:#11101a!important;
  color:#fff!important;
  font-size:12.5px!important;
  box-shadow:0 0 5px rgba(50,139,216,.3)!important;
}
html body[data-page="home"] #customer-auth-modal .customer-auth-card input:not([type="radio"]):not([type="hidden"]):not([type="checkbox"]):not(#ldr-profile-field-escape):focus{border-color:#58b6ff!important;box-shadow:0 0 7px rgba(88,182,255,.4)!important}
html body[data-page="home"] #customer-auth-modal :is(.my-profile-id-box,.profile-referral-box,.customer-linked-methods,.customer-game-account,.profile-app-install,details){
  margin:0!important;
  padding:8px!important;
  border:0!important;
  border-radius:8px!important;
  background:#0d0914!important;
  background-image:none!important;
  box-shadow:none!important;
}
html body[data-page="home"] #customer-auth-modal .profile-login-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:0!important}
html body[data-page="home"] #customer-auth-modal :is(.score-submit,.request-edit-button){min-height:38px!important;padding:7px 10px!important;border:0!important;border-radius:7px!important;font-size:11.5px!important;box-shadow:none!important;transform:none!important}
html body[data-page="home"] #customer-auth-modal .score-submit{background:#168f45!important;color:#fff!important}
html body[data-page="home"] #customer-auth-modal .request-edit-button{background:#211528!important;color:#fff!important}
html body[data-page="home"] #customer-auth-modal .request-confirm-actions{gap:7px!important;margin-top:8px!important}
html body[data-page="home"] #customer-auth-modal .customer-auth-message{margin-top:7px!important;font-size:11px!important}

/* V71.12: one full promotion artwork, with no second promotion panel. */
html body[data-page="home"] #app>.royal-promo{display:none!important}
html body[data-page="home"] .v51-hero{
  width:100%!important;
  height:clamp(150px,37.5vw,520px)!important;
  min-height:0!important;
  background-image:url('../assets/promo-treasure-v1.png')!important;
  background-position:center!important;
  background-size:100% 100%!important;
  background-repeat:no-repeat!important;
}

/* Selected guide: swipeable images and close control only. */
html body[data-page="home"] .guide-popup-card:has(#guide-section-view:not([hidden])){
  width:min(920px,calc(100vw - 16px))!important;
  max-height:calc(100dvh - 16px)!important;
  padding:0!important;
  border:0!important;
  border-radius:12px!important;
  background:#050207!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
html body[data-page="home"] .guide-popup-card:has(#guide-section-view:not([hidden]))>:not(#guide-section-view):not(#guide-popup-close){display:none!important}
html body[data-page="home"] .guide-popup-card:has(#guide-section-view:not([hidden])) #guide-popup-close{
  z-index:5!important;
  top:6px!important;
  right:8px!important;
  width:34px!important;
  height:34px!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:rgba(0,0,0,.72)!important;
  color:#fff!important;
  box-shadow:none!important;
}
html body[data-page="home"] #guide-section-view:not([hidden]) :is(.guide-section-head,#guide-section-swipe,.guide-arrow,.guide-position,figcaption){display:none!important}
html body[data-page="home"] #guide-section-view:not([hidden]),
html body[data-page="home"] #guide-section-view:not([hidden]) :is(.guide-gallery,.guide-track){width:100%!important;height:min(88dvh,760px)!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#050207!important;box-shadow:none!important}
html body[data-page="home"] #guide-section-view:not([hidden]) .guide-track{display:flex!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;scroll-behavior:smooth!important;touch-action:pan-x!important}
html body[data-page="home"] #guide-section-view:not([hidden]) .guide-slide{flex:0 0 100%!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;scroll-snap-align:center!important}
html body[data-page="home"] #guide-section-view:not([hidden]) .guide-slide :is(img,video){width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;background:#050207!important}

/* Requested flat colors for the game action popup. */
html body[data-page="home"] #game-hub-modal .game-hub-action.play:not(#ldr-action-color-escape){background:#f1c232!important;color:#190f00!important}
html body[data-page="home"] #game-hub-modal .game-hub-action.create:not(#ldr-action-color-escape),
html body[data-page="home"] #create-account-modal #create-account-submit:not(#ldr-action-color-escape){background:#6f20a8!important;color:#fff!important}
html body[data-page="home"] #game-hub-modal .game-hub-action.free-score:not(#ldr-action-color-escape){background:#d8a217!important;color:#211300!important}

/* V71.13: final compact field, allocation, total, save, and action colors. */
html body[data-page="home"] #add-score-payment-modal .add-score-card .score-flat-section:nth-of-type(1):not(#ldr-v713-border-escape){
  padding:0 0 8px!important;
  border:0!important;
  border-radius:0!important;
  background:#0d0914!important;
  box-shadow:none!important;
}
html body[data-page="home"] #add-score-payment-modal .add-score-card .score-flat-section:nth-of-type(3):not(#ldr-v713-border-escape){
  padding:7px!important;
  border:1px solid #35bd69!important;
  border-radius:8px!important;
  background:#0d0914!important;
  box-shadow:0 0 6px rgba(52,211,105,.2)!important;
}
html body[data-page="home"] #add-score-payment-modal .add-score-card input#score-amount:not(#ldr-v713-field-escape){
  border:1px solid #35bd69!important;
  box-shadow:0 0 6px rgba(52,211,105,.2)!important;
}
html body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) .add-score-card select:not(#ldr-v713-field-escape){
  border:1px solid #328bd8!important;
  outline:0!important;
  box-shadow:0 0 4px rgba(50,139,216,.26)!important;
}
html body[data-page="home"] :is(#add-score-payment-modal,#add-score-modal,#score-route-modal,#recharge-confirm-modal) .add-score-card select:not(#ldr-v713-field-escape):focus{
  border-color:#58b6ff!important;
  box-shadow:0 0 6px rgba(88,182,255,.38)!important;
}
html body[data-page="home"] #add-score-modal .add-score-card .score-destination-options label>span:not(#ldr-v713-choice-escape){
  border:0!important;
  background:#1976d2!important;
  color:#fff!important;
  box-shadow:none!important;
}
html body[data-page="home"] #add-score-modal .add-score-card .score-destination-options label>input[type="radio"]:checked+span:not(#ldr-v713-choice-escape){
  background:#0e5ca8!important;
  color:#fff!important;
  border:1px solid #d8a217!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)!important;
}
html body[data-page="home"] #score-route-modal .add-score-card #score-add-app:not(#ldr-v713-button-escape){
  min-height:34px!important;
  margin:0!important;
  padding:6px 9px!important;
  border:0!important;
  background:#d8a217!important;
  color:#211300!important;
  -webkit-text-fill-color:#211300!important;
  box-shadow:none!important;
}
html body[data-page="home"] #score-route-modal .add-score-card #score-app-allocation-rows{gap:4px!important}
html body[data-page="home"] #score-route-modal .add-score-card #score-app-allocation-rows .score-app-allocation-row:not(#ldr-v713-row-escape){
  grid-template-columns:minmax(86px,1fr) minmax(92px,1fr) minmax(68px,.68fr) 28px!important;
  gap:4px!important;
  margin:0!important;
  padding:5px!important;
  border:1px solid #328bd8!important;
  border-radius:7px!important;
  background:#0d0914!important;
  box-shadow:none!important;
}
html body[data-page="home"] #score-route-modal .add-score-card #score-app-allocation-rows .score-app-allocation-row :is(input,select):not(#ldr-v713-row-field-escape){min-height:34px!important;height:34px!important;padding:5px 7px!important;font-size:11px!important}
html body[data-page="home"] #score-route-modal .add-score-card #score-app-allocation-rows .score-remove-app{width:28px!important;height:34px!important;min-height:34px!important}
html body[data-page="home"] #score-route-modal .add-score-card #score-app-allocation-total:not(#ldr-v713-total-escape){
  min-height:34px!important;
  margin:0!important;
  padding:7px 9px!important;
  border:0!important;
  color:#f0a13a!important;
  background:#171008!important;
  box-shadow:none!important;
}
html body[data-page="home"] #score-route-modal .add-score-card #score-app-allocation-total:not(#ldr-v713-total-escape) :is(span,b,strong){color:inherit!important}
html body[data-page="home"] #score-route-modal .add-score-card #score-app-allocation-total.balanced:not(#ldr-v713-total-escape){color:#4be07d!important;background:#0b1810!important}
html body[data-page="home"] #recharge-confirm-modal .add-score-card .confirm-total:not(#ldr-v713-total-escape){
  margin-top:7px!important;
  padding:10px 9px!important;
  border:0!important;
  border-top:1px solid #35bd69!important;
  border-radius:0!important;
  background:#09140d!important;
  color:#5be48a!important;
  box-shadow:none!important;
}
html body[data-page="home"] #recharge-confirm-modal .add-score-card .confirm-total:not(#ldr-v713-total-escape) :is(span,strong){color:inherit!important}
html body[data-page="home"] #customer-auth-modal .customer-auth-card :is(#customer-save-referrer,#customer-save-phone):not(#ldr-v713-save-escape){
  border:0!important;
  background:#1976d2!important;
  color:#fff!important;
  box-shadow:none!important;
}
html body[data-page="home"] div#game-hub-modal #game-hub-content .final-game-actions button.game-hub-action.play[data-hub-action="play"]:not(#ldr-v713-action-escape){background:#f1c232!important;background-color:#f1c232!important;color:#190f00!important;-webkit-text-fill-color:#190f00!important}
html body[data-page="home"] div#game-hub-modal #game-hub-content .final-game-actions button.game-hub-action.create[data-hub-action="create"]:not(#ldr-v713-action-escape),
html body[data-page="home"] div#create-account-modal button#create-account-submit:not(#ldr-v713-action-escape){background:#6f20a8!important;background-color:#6f20a8!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body[data-page="home"] div#game-hub-modal #game-hub-content .final-game-actions button.game-hub-action.free-score[data-hub-action="free-score"]:not(#ldr-v713-action-escape){background:#d8a217!important;background-color:#d8a217!important;color:#211300!important;-webkit-text-fill-color:#211300!important}

/* Pre-sign-in project app download: intentionally raised above the flat control system. */
html body[data-page="home"] #customer-auth-modal .guest-app-download{
  display:grid!important;
  gap:7px!important;
  margin-top:2px!important;
}
html body[data-page="home"] #customer-auth-modal button#customer-install-app-guest{
  width:100%!important;
  min-height:54px!important;
  padding:12px 18px!important;
  border:1px solid #d8b4fe!important;
  border-radius:13px!important;
  background:linear-gradient(180deg,#a855f7 0%,#7e22ce 52%,#6b21a8 100%)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:15px!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
  text-shadow:0 1px 1px rgba(31,5,50,.8)!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.28),inset 0 -2px 0 rgba(57,8,91,.3),0 6px 0 #3b0764,0 12px 24px rgba(76,15,125,.38)!important;
  transform:translateY(0)!important;
  transition:transform .14s ease,box-shadow .14s ease,filter .14s ease!important;
}
html body[data-page="home"] #customer-auth-modal button#customer-install-app-guest:not(:disabled):is(:hover,:focus-visible){
  filter:brightness(1.1)!important;
  transform:translateY(-1px)!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.32),inset 0 -2px 0 rgba(57,8,91,.3),0 7px 0 #3b0764,0 14px 28px rgba(76,15,125,.45)!important;
}
html body[data-page="home"] #customer-auth-modal button#customer-install-app-guest:not(:disabled):active{
  filter:brightness(.98)!important;
  transform:translateY(5px)!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.18),0 1px 0 #3b0764,0 5px 12px rgba(76,15,125,.34)!important;
}
html body[data-page="home"] #customer-auth-modal .guest-app-download small{
  min-height:16px!important;
  color:#d8b4fe!important;
  font-size:11px!important;
  line-height:1.4!important;
  text-align:center!important;
}

@media(max-width:480px){
  html body[data-page="home"] #score-route-modal .add-score-card #score-app-allocation-rows .score-app-allocation-row:not(#ldr-v713-row-escape){grid-template-columns:minmax(78px,1fr) minmax(82px,1fr) minmax(64px,.7fr) 26px!important;gap:3px!important;padding:4px!important}
  html body[data-page="home"] #score-route-modal .add-score-card #score-app-allocation-rows .score-remove-app{width:26px!important}
}

/* V74: profile phone is optional contact data. */
html body[data-page="home"] #customer-auth-modal .my-profile-id-box:not(#ldr-v74-profile-id-escape){
  border:2px solid #328bd8!important;
  box-shadow:none!important;
}
html body[data-page="home"] #customer-auth-modal .profile-phone-choice{
  display:grid!important;
  gap:8px!important;
  margin:0!important;
  padding:9px!important;
  border:1px solid #4d2670!important;
  border-radius:8px!important;
  background:#0d0914!important;
  box-shadow:none!important;
}
html body[data-page="home"] #customer-auth-modal .profile-phone-summary{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
}
html body[data-page="home"] #customer-auth-modal .profile-phone-summary>div{min-width:0!important}
html body[data-page="home"] #customer-auth-modal .profile-phone-summary strong{display:block!important;color:#fff!important;font-size:12px!important}
html body[data-page="home"] #customer-auth-modal .profile-phone-summary p{margin:2px 0 0!important;color:#bfc7d8!important;overflow-wrap:anywhere!important}
html body[data-page="home"] #customer-auth-modal #customer-edit-phone{flex:0 0 auto!important;background:#6f20a8!important;color:#fff!important}
html body[data-page="home"] #customer-auth-modal .profile-phone-editor:not([hidden]){display:grid!important;gap:7px!important;padding-top:8px!important;border-top:1px solid #328bd8!important}
html body[data-page="home"] #customer-auth-modal .profile-phone-editor label{display:grid!important;gap:5px!important;color:#d9e8ff!important;font-size:11px!important}
html body[data-page="home"] #customer-auth-modal .profile-phone-editor>small{color:#aeb8ca!important;font-size:10.5px!important;line-height:1.35!important}
html body[data-page="home"] #customer-auth-modal .profile-phone-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
html body[data-page="home"] #customer-auth-modal #customer-save-phone{background:#1976d2!important;color:#fff!important}
html body[data-page="home"] #customer-auth-modal #customer-cancel-phone{background:#211528!important;color:#fff!important}

/* V75: both Account sections use blue 3D choices with solid depth and no glow. */
html body[data-page="home"] #add-score-modal .add-score-card .score-route-group:nth-of-type(1) .score-destination-options label>span,
html body[data-page="home"] #add-score-modal .add-score-card .score-route-group:nth-of-type(2) .score-destination-options label>span{
  border:1px solid #59b5ff!important;
  background:#1976d2!important;
  color:#fff!important;
  text-shadow:none!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.24),0 5px 0 #0b4f91!important;
  transform:translateY(0)!important;
  transition:transform .12s ease,box-shadow .12s ease,background-color .12s ease!important;
}
html body[data-page="home"] #add-score-modal .add-score-card .score-route-group:nth-of-type(1) .score-destination-options label>input[type="radio"]:checked+span,
html body[data-page="home"] #add-score-modal .add-score-card .score-route-group:nth-of-type(2) .score-destination-options label>input[type="radio"]:checked+span{
  border:2px solid #f1c232!important;
  background:#2386df!important;
  color:#fff!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.28),0 5px 0 #0b4f91!important;
}
html body[data-page="home"] #add-score-modal .add-score-card .score-route-group .score-destination-options label:hover>span,
html body[data-page="home"] #add-score-modal .add-score-card .score-route-group .score-destination-options input:focus-visible+span{
  background:#2386df!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.28),0 6px 0 #0b4f91!important;
  transform:translateY(-1px)!important;
}
html body[data-page="home"] #add-score-modal .add-score-card .score-route-group .score-destination-options label:active>span{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 0 #0b4f91!important;
  transform:translateY(4px)!important;
}

/* Buttons stay flat and glow-free; the app-download control keeps solid 3D depth only. */
html body[data-page="home"] button:not(#customer-install-app-guest){box-shadow:none!important;text-shadow:none!important}
html body[data-page="home"] .score-destination-options label>span{text-shadow:none!important}
html body[data-page="home"] button#customer-install-app-guest{
  text-shadow:none!important;
  box-shadow:0 6px 0 #3b0764!important;
}
html body[data-page="home"] button#customer-install-app-guest:not(:disabled):is(:hover,:focus-visible){box-shadow:0 7px 0 #3b0764!important}
html body[data-page="home"] button#customer-install-app-guest:not(:disabled):active{box-shadow:0 1px 0 #3b0764!important}
html body[data-page="home"] button:focus-visible,
html body[data-page="home"] .score-destination-options input:focus-visible+span{outline:2px solid #fff4b8!important;outline-offset:2px!important}

@media(max-width:480px){
  html body[data-page="home"] #customer-auth-modal .profile-phone-summary{align-items:stretch!important;flex-direction:column!important}
  html body[data-page="home"] #customer-auth-modal #customer-edit-phone{width:100%!important}
}
