/* STAR SINGERS 2026 — cross-device responsive polish
   Shared by the public website, admin dashboard and notices page. */
:root{color-scheme:light}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{min-width:320px;max-width:100%;overflow-x:hidden}
img,video,canvas,svg{max-width:100%;height:auto}
button,input,select,textarea{font:inherit;max-width:100%}
button,a,input,select,textarea{touch-action:manipulation}
button,[role=button],a.btn{min-height:44px}
a{overflow-wrap:anywhere}
:focus-visible{outline:3px solid #d9bd78;outline-offset:3px}
.wrap,main,.container{width:min(100% - 32px,1240px);margin-inline:auto}
header img,nav img{max-width:100%;object-fit:contain}
input,select,textarea{min-width:0}
table{display:block;max-width:100%;overflow-x:auto}
.notice,.card,.feature,.info-card,.rule,.timeline article{min-width:0;overflow-wrap:anywhere}
@media(min-width:1440px){
 body{font-size:16px}
 .wrap,main,.container{width:min(100% - 64px,1320px)}
}
@media(max-width:900px){
 .features{grid-template-columns:repeat(2,minmax(0,1fr))}
 .timeline{grid-template-columns:repeat(2,minmax(0,1fr))}
 .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .about{grid-template-columns:minmax(0,1fr);gap:24px}
 .about .poster{width:min(100%,420px);margin-inline:auto}
 .section{margin-inline:12px}
}
@media(max-width:650px){
 .wrap,main,.container{width:calc(100% - 24px)}
 .section{width:calc(100% - 20px);margin:14px auto;padding:30px 14px;border-radius:15px}
 .features,.timeline,.card-grid,.rule-list,.two{grid-template-columns:minmax(0,1fr)}
 .form-grid{grid-template-columns:minmax(0,1fr)!important}
 .form-grid>*,.form-grid label,.form-grid .full{min-width:0;width:100%}
 .form-grid input,.form-grid select,.form-grid textarea{width:100%;min-width:0}
 .head{gap:12px}
 nav{max-width:100%}
 .notice-highlight{margin-inline:10px;max-width:calc(100% - 20px)}
 .notice-highlight-label{padding-inline:9px;font-size:10px}
 .notice-highlight-window{padding-inline:9px}
 .notice-highlight-link{padding-inline:9px}
 .entry-modal,.photo-modal{padding:8px}
 .entry-modal-box,.photo-modal-box{width:100%;padding:10px}
 .entry-modal-actions button,.actions button{flex:1 1 100%;width:100%}
 .details{grid-template-columns:minmax(0,1fr)!important}
 .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .notice{grid-template-columns:minmax(0,1fr)!important;gap:8px}
 .notice .date{display:flex;gap:8px;align-items:center}
}
@media(max-width:380px){
 .wrap,main,.container{width:calc(100% - 18px)}
 .section{padding:24px 11px}
 .grid{grid-template-columns:minmax(0,1fr)}
 .notice-highlight-label{display:none}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* ── STAR SINGERS 2026 · Premium ruby / midnight / champagne finish ──
   Visual-only layer. Keep application logic, authentication and data flows untouched. */
:root{
  --ss-ruby:#9f1239;
  --ss-red:#c21e4b;
  --ss-red-bright:#e23b61;
  --ss-burgundy:#4b1025;
  --ss-midnight:#071b31;
  --ss-champagne:#e6c77d;
  --ss-paper:#fffaf1;
  --ss-ink:#24313a;
}
::selection{background:#c21e4b;color:#fff}
:focus-visible{outline:3px solid var(--ss-red-bright);outline-offset:3px}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button:disabled{cursor:wait}

/* Public event experience */
.top{
  background:linear-gradient(105deg,#250b1b 0%,#071b31 54%,#351024 100%);
  border-bottom:2px solid var(--ss-champagne);
  box-shadow:0 5px 22px #02081255;
}
.hero{
  background:
    radial-gradient(ellipse at 50% 0%,#e23b6133,transparent 45%),
    radial-gradient(ellipse at 8% 65%,#9f123933,transparent 40%),
    linear-gradient(145deg,#071b31 0%,#142034 52%,#3b1025 100%);
}
.hero:before,.hero:after{opacity:.7}
.hero-kicker,.eyebrow{color:#f0d48e}
.section{
  border-color:#d7b86d;
  background:linear-gradient(145deg,#081d33 0%,#182238 58%,#3b1428 100%);
  box-shadow:0 16px 38px #02091455;
}
.section.alt{
  background:linear-gradient(145deg,#fffaf1 0%,#f7f0e4 58%,#f4e4e8 100%);
  color:#24313a;
  border-color:#d9bd78;
}
.section.alt .title h2,.section.alt h3{color:#741b35}
.feature,.info-card{
  border-color:#d9bd78;
  background:linear-gradient(145deg,#102b43 0%,#19283c 58%,#3b172a 100%);
}
.feature:nth-child(3n+2),.info-card:nth-child(3n+2){
  background:linear-gradient(145deg,#172a40,#35162a);
}
.hero .btn,.hero .btn-primary,.registration-form button[type=submit],
.registration-success-card button{
  border:1px solid #f0d48e;
  background:linear-gradient(110deg,#8f1036 0%,#c21e4b 52%,#e23b61 100%);
  color:#fff;
  box-shadow:0 7px 18px #8f103644;
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease;
}
.hero .btn:hover,.hero .btn-primary:hover,.registration-form button[type=submit]:hover,
.registration-success-card button:hover{
  filter:brightness(1.08);
  transform:translateY(-1px);
  box-shadow:0 10px 22px #8f103655;
}
.prizes{
  background:linear-gradient(112deg,#6e102e 0%,#a91640 34%,#24172d 72%,#071b31 100%);
  border-top:1px solid #e6c77d;
  border-bottom:1px solid #e6c77d;
}
.prize{border-color:#e6c77d}
.prize:nth-child(2){background:linear-gradient(150deg,#5b142c,#8f1d3b)}
.prize:nth-child(3){background:linear-gradient(150deg,#35172b,#18243a)}
.contact-panel{border-color:#e6c77d}
.registration-form{
  border-color:#d9bd78;
  background:linear-gradient(145deg,#081d33 0%,#17253b 62%,#3b1428 100%);
}
.registration-form input,.registration-form select,.registration-form textarea{
  background:#fffdf8;color:#1c2932;border-color:#c8bda9;
}
.registration-form input:focus,.registration-form select:focus,.registration-form textarea:focus{
  border-color:#c21e4b;outline:3px solid #c21e4b22;
}
.fee-summary{border-color:#d9bd78}
@media(max-width:760px){
  .hero{padding-top:26px;padding-bottom:24px}
  .section{box-shadow:0 8px 22px #02091433}
  .hero .btn,.hero .btn-primary{width:100%;max-width:360px;min-height:48px}
}

/* Admin dashboard: clearer light workspace with ruby identity.
   Login fields, form IDs, authentication JS and session storage are unchanged. */
body:has(#login) header{
  background:linear-gradient(112deg,#4b1025 0%,#94183b 42%,#071b31 100%);
  border-bottom:3px solid var(--ss-champagne);
}
body:has(#login) h1{color:#ffe7ad}
body:has(#login) h2,#login h2,#app .panel>h2{color:#741b35}
body:has(#login) #login{
  background:linear-gradient(145deg,#fffdf8 0%,#fff8f0 100%);
  border:1px solid #d9bd78;
  box-shadow:0 18px 42px #4b10251a;
}
body:has(#login) #loginBtn{
  background:linear-gradient(110deg,#8f1036 0%,#c21e4b 58%,#e23b61 100%);
  border:1px solid #d9bd78;
  box-shadow:0 5px 14px #8f103633;
}
body:has(#login) #loginBtn:hover{filter:brightness(1.07)}
body:has(#login) .panel{border-color:#e5d8c4;box-shadow:0 8px 24px #24152a0a}
body:has(#login) .section-toggle summary{color:#741b35}
body:has(#login) .expand summary{color:#174b3b}
body:has(#login) .entry-actions .entry-label{color:#8f1036}
body:has(#login) input:focus,body:has(#login) select:focus,body:has(#login) textarea:focus{
  border-color:#c21e4b;outline:3px solid #c21e4b22;
}
body:has(#login) .status.error{background:#fff0f1;border-color:#d98b9b;color:#8e1737}
@media(max-width:650px){
  body:has(#login) .panel{padding:15px}
  body:has(#login) .dashboard-controls button{min-height:50px}
  body:has(#login) #loginBtn{min-height:52px}
}

/* Public notices: same event identity, high-contrast reading surface */
body:has(.board) header{
  background:
    radial-gradient(ellipse at 50% 0%,#e23b6133,transparent 55%),
    linear-gradient(112deg,#4b1025 0%,#94183b 42%,#071b31 100%);
  border-bottom:3px solid var(--ss-champagne);
}
body:has(.board) h2{color:#741b35}
body:has(.board) .notice h3{color:#8f1738}
body:has(.board) .date{background:#f8edf0;color:#8f1738;border:1px solid #e7c7d1}
body:has(.board) input:focus,body:has(.board) select:focus{
  border-color:#c21e4b;outline:3px solid #c21e4b22;
}
@media(max-width:620px){
  body:has(.board) .board{padding:16px 12px}
  body:has(.board) .notice{padding:14px}
}

/* Legibility and motion preferences */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}
}



/* ── Christmas palette: restrained red-to-evergreen frame treatment ──
   Visual layer only; preserve page content, controls and all application behaviour. */
:root{
  --ss-xmas-red:#9f1736;
  --ss-xmas-red-light:#c52b4c;
  --ss-xmas-green:#0c513c;
  --ss-xmas-green-deep:#082f27;
  --ss-xmas-gold:#dfc27b;
  --ss-xmas-text:#f8f3e8;
}
.top,
body:has(#login) header,
body:has(.board) header{
  background:linear-gradient(112deg,#76132f 0%,#a51e3e 34%,#12543e 72%,#082f27 100%);
  border-bottom:2px solid var(--ss-xmas-gold);
}
.hero{
  background:
    radial-gradient(ellipse at 18% 45%,#c52b4c30,transparent 42%),
    radial-gradient(ellipse at 82% 55%,#1b805c35,transparent 42%),
    linear-gradient(125deg,#421326 0%,#78152f 34%,#0d4938 72%,#082f27 100%);
}
/* Keep all main content frames compact, dark and consistent. */
.section,
.section.alt,
.registration-form{
  color:var(--ss-xmas-text);
  border:1px solid var(--ss-xmas-gold);
  background:linear-gradient(125deg,#65172f 0%,#3d1a2a 34%,#104a38 72%,#092f28 100%);
  box-shadow:0 9px 24px #061b1433;
}
.section.alt .title h2,.section.alt h3,.section .title h2{
  color:#ffe7b0;
}
.section.alt .title p,.section.alt .lead,.section.alt p,
.section.alt .rule p,.section.alt .faq details p{
  color:#f0e9df;
}
.section.alt .rule,.section.alt .timeline article,.section.alt .faq details{
  border-color:#d9bd7880;
  background:#071f1a55;
}
.section.alt .rule strong,.section.alt .faq summary{
  color:#f3d58e;
}
.feature,.info-card,.concept-card,.vision-card{
  border-color:#dfc27b;
  background:linear-gradient(135deg,#741a35 0%,#3d1a2a 42%,#10513b 100%);
}
.feature:nth-child(3n+2),.info-card:nth-child(3n+2){
  background:linear-gradient(135deg,#4f172e 0%,#174a39 100%);
}
.prizes{
  background:linear-gradient(110deg,#8d1737 0%,#b92347 32%,#14543d 70%,#082f27 100%);
  border-block:1px solid var(--ss-xmas-gold);
}
.hero .btn,.hero .btn-primary,.registration-form button[type=submit],
.registration-success-card button,body:has(#login) #loginBtn{
  background:linear-gradient(105deg,#a51e3e 0%,#bd294b 45%,#126044 100%);
  border:1px solid #e8d39a;
  color:#fff;
}
body:has(#login) #login{
  border:1px solid var(--ss-xmas-gold);
}
body:has(#login) h2,#login h2,#app .panel>h2{
  color:#8e1b38;
}
body:has(.board) .board{
  border:1px solid var(--ss-xmas-gold);
  background:linear-gradient(135deg,#68172f 0%,#3c1b2a 42%,#104b38 100%);
}
body:has(.board) .board-head h2,
body:has(.board) .count{color:#fff0d0}
body:has(.board) .notice{
  background:#fffaf1;
  border:1px solid #dfc27b;
}
body:has(.board) .notice h3{color:#851b37}
body:has(.board) .notice p{color:#34443d}
body:has(.board) .date{
  color:#0d563e;
  background:#edf4ec;
  border:1px solid #b7d1bd;
}
body:has(.board) .tag{
  color:#0b5139;
  background:#e4f0e6;
}
@media(max-width:650px){
  .section,.section.alt{
    padding:22px 12px;
    margin:12px auto;
    border-radius:14px;
  }
  .feature,.info-card{padding:15px;border-radius:12px}
  .rule{padding:13px;gap:10px}
  .rule strong{font-size:17px}
  .rule p{font-size:13px;line-height:1.55}
  .section .title{margin-bottom:18px}
  .section .title h2{font-size:clamp(22px,6vw,29px)}
}


/* ── Slow Christmas red ↔ evergreen background colour drift ──
   Backgrounds only: no text, images, layout, controls or content are animated. */
@keyframes ssChristmasBackgroundDrift{
  0%,100%{background-position:0% 50%}
  50%{background-position:100% 50%}
}
body,
.top,.hero,.section,.section.alt,.registration-form,
.feature,.info-card,.concept-card,.vision-card,.prizes,.prize,.contact-panel,
body:has(#login) header,
body:has(#login) #login,
body:has(#login) .panel,
body:has(.board) header,
body:has(.board) .board,
footer{
  background-size:220% 220%;
  animation:ssChristmasBackgroundDrift 34s ease-in-out infinite;
}
/* Keep the colour transition gentle and uninterrupted on smaller screens too. */
@media(max-width:650px){
  body,.top,.hero,.section,.section.alt,.registration-form,
  .feature,.info-card,.concept-card,.vision-card,.prizes,.prize,
  body:has(#login) header,body:has(#login) #login,body:has(#login) .panel,
  body:has(.board) header,body:has(.board) .board,footer{
    animation-duration:38s;
  }
}
/* Respect device accessibility settings and avoid motion when requested. */
@media(prefers-reduced-motion:reduce){
  body,.top,.hero,.section,.section.alt,.registration-form,
  .feature,.info-card,.concept-card,.vision-card,.prizes,.prize,.contact-panel,
  body:has(#login) header,body:has(#login) #login,body:has(#login) .panel,
  body:has(.board) header,body:has(.board) .board,footer{
    animation:none!important;
    background-position:50% 50%;
  }
}


/* ── Registration form: mobile legibility and unified phone field ──
   Scoped to the registration form only. Country-code selector styling is preserved. */
.registration-form .form-grid label,
.registration-form .phone-entry .phone-label{
  color:#fff7e8;
}
.registration-form .form-grid small,
.registration-form .phone-entry>small{
  color:#f0eee7;
  font-size:12px;
  line-height:1.6;
}
.registration-form .form-grid input::placeholder,
.registration-form .form-grid textarea::placeholder{
  color:#66766f;
  opacity:1;
}
.registration-form .phone-combo{
  min-height:48px;
  border:1px solid #d9bd78;
  border-radius:10px;
  background:#fffaf1;
  box-shadow:0 2px 7px #0002;
}
.registration-form .phone-combo:focus-within{
  border-color:#f0d48e;
  box-shadow:0 0 0 3px #dfc27b35;
}
/* Keep the existing dark country-code block and its colours exactly as designed. */
.registration-form .phone-combo .country-select-wrap{
  background:#061b2b;
}
.registration-form .phone-combo .phone-divider{
  background:#d9bd78;
  margin-top:8px;
  margin-bottom:8px;
}
.registration-form .phone-combo input{
  min-height:46px;
  padding:0 13px;
  border:0!important;
  border-radius:0 9px 9px 0!important;
  background:#fffaf1!important;
  color:#172820!important;
  font-size:15px;
  line-height:1.35;
}
.registration-form .phone-combo input::placeholder{
  color:#718078;
  opacity:1;
}
.registration-form .phone-combo input:focus{
  outline:none;
  box-shadow:none!important;
}
.registration-form .phone-entry>small{
  color:#e6eee8;
}
.registration-form .phone-entry .field-error{
  color:#ffb8b8;
}
@media(max-width:620px){
  .registration-form .form-grid label,
  .registration-form .phone-entry .phone-label{
    font-size:14px;
    line-height:1.45;
  }
  .registration-form .form-grid small,
  .registration-form .phone-entry>small{
    font-size:12px;
    line-height:1.6;
  }
  .registration-form .phone-combo{
    min-height:48px;
    border-radius:10px;
  }
  .registration-form .phone-combo input{
    min-height:46px;
    padding-inline:11px;
  }
}


/* Country-code segment: match the phone field's shared rounded frame.
   Preserve the dark fill, flag, selected code, select element and its behaviour. */
.registration-form .phone-combo{
  overflow:hidden;
  border-radius:11px;
  isolation:isolate;
}
.registration-form .phone-combo .country-select-wrap{
  min-height:100%;
  align-self:stretch;
  display:flex;
  align-items:center;
  overflow:hidden;
  border-radius:10px 0 0 10px;
  background:#061b2b!important;
}
.registration-form .phone-combo .country-select-wrap select{
  min-height:46px;
  height:100%;
  max-width:100%;
  border:0!important;
  border-radius:10px 0 0 10px!important;
  background:#061b2b!important;
  color:#fff1d0!important;
  outline-offset:-3px;
}
.registration-form .phone-combo .phone-divider{
  flex:0 0 1px;
  align-self:stretch;
  margin-block:9px;
}
.registration-form .phone-combo input{
  min-width:0;
  border-radius:0!important;
}
@media(max-width:620px){
  .registration-form .phone-combo{
    border-radius:10px;
  }
  .registration-form .phone-combo .country-select-wrap,
  .registration-form .phone-combo .country-select-wrap select{
    border-radius:9px 0 0 9px!important;
  }
}


/* Final phone selector correction: remove the inner coloured frame entirely.
   The outer phone control keeps its existing rounded gold frame; only the
   country-code segment becomes plain black. Native select remains functional. */
.registration-form .phone-combo .country-select-wrap{
  background:#000!important;
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
  border-radius:10px 0 0 10px!important;
}
.registration-form .phone-combo .country-select-wrap select,
.registration-form .phone-combo .country-select-wrap select:focus,
.registration-form .phone-combo .country-select-wrap select:active{
  appearance:auto;
  -webkit-appearance:menulist;
  background:#000!important;
  color:#fff!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:10px 0 0 10px!important;
}
.registration-form .phone-combo .country-select-wrap select option{
  background:#000;
  color:#fff;
}
.registration-form .phone-combo .phone-divider{
  background:#000!important;
  border:0!important;
}


/* Country-code area now matches the adjoining white phone-number field.
   Retain native country select, flag emoji and calling-code option labels. */
.registration-form .phone-combo .country-select-wrap{
  background:#fffaf1!important;
  border:0!important;
  box-shadow:none!important;
  outline:0!important;
  border-radius:10px 0 0 10px!important;
}
.registration-form .phone-combo .country-select-wrap select,
.registration-form .phone-combo .country-select-wrap select:focus,
.registration-form .phone-combo .country-select-wrap select:active{
  appearance:auto;
  -webkit-appearance:menulist;
  background:#fffaf1!important;
  color:#172820!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:10px 0 0 10px!important;
}
.registration-form .phone-combo .country-select-wrap select option{
  background:#fffaf1;
  color:#172820;
}
.registration-form .phone-combo .phone-divider{
  background:#dfd8c8!important;
  border:0!important;
}
.registration-form .phone-combo input{
  background:#fffaf1!important;
  color:#174b38!important;
}


/* Restore the original custom country picker interaction.
   The native select is a hidden data/control source; the visible button and
   searchable country-picker are the actual user interface. Do not expand the
   hidden select over the trigger or search results. */
.registration-form .phone-combo .country-select-wrap{
  position:relative!important;
  flex:0 0 112px!important;
  width:112px!important;
  min-width:112px!important;
  max-width:112px!important;
  padding-right:4px!important;
  overflow:visible!important;
  background:#fffaf1!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:10px 0 0 10px!important;
}
.registration-form .phone-combo .country-select-wrap select,
.registration-form .phone-combo .country-select-wrap select:focus,
.registration-form .phone-combo .country-select-wrap select:active{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-height:0!important;
  max-width:1px!important;
  padding:0!important;
  margin:0!important;
  opacity:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  border:0!important;
  box-shadow:none!important;
}
.registration-form .phone-combo .country-trigger{
  display:flex!important;
  position:relative!important;
  z-index:6!important;
  flex:0 0 100%!important;
  width:100%!important;
  min-width:0!important;
  min-height:46px!important;
  height:100%!important;
  padding:0 5px 0 9px!important;
  border:0!important;
  border-radius:10px 0 0 10px!important;
  background:#fffaf1!important;
  color:#172820!important;
  font:600 16px Arial,sans-serif!important;
  box-shadow:none!important;
  outline-offset:-2px;
}
.registration-form .phone-combo .country-trigger .country-arrow{
  color:#172820!important;
}
.registration-form .phone-combo .country-picker{
  position:absolute!important;
  z-index:1000!important;
  left:0!important;
  top:calc(100% + 5px)!important;
  width:min(340px,88vw)!important;
  background:#fff9eb!important;
  color:#201b14!important;
}
.registration-form .phone-combo .country-picker[hidden]{
  display:none!important;
}
.registration-form .phone-combo .country-picker:not([hidden]){
  display:block!important;
}
.registration-form .phone-combo .phone-divider{
  background:#dfd8c8!important;
}
@media(max-width:390px){
  .registration-form .phone-combo .country-select-wrap{
    flex-basis:104px!important;
    width:104px!important;
    min-width:104px!important;
    max-width:104px!important;
  }
  .registration-form .phone-combo .country-trigger{
    font-size:14px!important;
    padding-left:6px!important;
    padding-right:3px!important;
  }
}


/* Fix country list visibility: the previous rounded-frame rule clipped the
   absolutely positioned searchable dropdown with overflow:hidden. Keep the
   rounded outer phone field, but allow the picker to extend outside it. */
.registration-form .phone-combo{
  overflow:visible!important;
  isolation:isolate;
}
.registration-form .phone-combo .country-select-wrap{
  overflow:visible!important;
  z-index:30;
}
.registration-form .phone-combo .country-picker{
  display:flex;
  flex-direction:column;
  position:absolute!important;
  z-index:10000!important;
  left:0!important;
  top:calc(100% + 6px)!important;
  width:min(340px,calc(100vw - 56px))!important;
  max-height:min(58vh,420px)!important;
  overflow:hidden!important;
  border:1px solid #d8c28c!important;
  border-radius:12px!important;
  box-shadow:0 14px 32px rgba(0,0,0,.32)!important;
}
.registration-form .phone-combo .country-search{
  display:block!important;
  flex:0 0 auto;
  width:100%!important;
  min-height:44px!important;
  padding:10px 12px!important;
  border:0!important;
  border-bottom:1px solid #d8c28c!important;
  border-radius:0!important;
  background:#fff!important;
  color:#172820!important;
  font-size:16px!important;
}
.registration-form .phone-combo .country-results{
  display:block!important;
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  background:#fffaf1!important;
}
.registration-form .phone-combo .country-result{
  display:block!important;
  width:100%!important;
  min-height:42px!important;
  padding:9px 12px!important;
  border:0!important;
  border-bottom:1px solid #eee4d2!important;
  border-radius:0!important;
  background:#fffaf1!important;
  color:#172820!important;
  text-align:left!important;
  font-size:14px!important;
  line-height:1.35!important;
  white-space:normal!important;
}
.registration-form .phone-combo .country-result[aria-selected="true"]{
  background:#e8f1e9!important;
  color:#0c513c!important;
  font-weight:700!important;
}
.registration-form .phone-combo .country-result:active,
.registration-form .phone-combo .country-result:hover{
  background:#f2e8d5!important;
}
.registration-form .phone-combo .country-empty{
  padding:14px 12px;
  color:#5d625c;
  font-size:14px;
}
.registration-form .phone-combo .country-picker[hidden]{
  display:none!important;
}


/* Finish the shared phone-field frame: round only the number input's outer
   right corners so it follows the gold parent frame. Keep the country-picker
   overflow visible and preserve all selector/search/form behaviour. */
.registration-form .phone-combo input{
  border-radius:0 10px 10px 0!important;
}
@media(max-width:620px){
  .registration-form .phone-combo input{
    border-radius:0 9px 9px 0!important;
  }
}


/* Target the actual mobile-number input only: round its far-right end to
   match the outer phone frame. The country-code side and dropdown are untouched. */
.registration-form .phone-combo #phoneLocal{
  border-radius:0 10px 10px 0!important;
  background-clip:padding-box!important;
  clip-path:inset(0 round 0 10px 10px 0);
}
@media(max-width:620px){
  .registration-form .phone-combo #phoneLocal{
    border-radius:0 10px 10px 0!important;
    clip-path:inset(0 round 0 10px 10px 0);
  }
}


/* Keep the mobile-number input fully inside the shared rounded phone frame.
   The parent must remain overflow:visible so the country dropdown can open;
   constrain the input's flex width instead of clipping the whole control. */
.registration-form .phone-combo #phoneLocal{
  flex:1 1 0!important;
  width:0!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  margin:0!important;
  border-radius:0 9px 9px 0!important;
  clip-path:none!important;
}
@media(max-width:620px){
  .registration-form .phone-combo #phoneLocal{
    flex:1 1 0!important;
    width:0!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    border-radius:0 9px 9px 0!important;
    clip-path:none!important;
  }
}

/* Payment example links: keep on the same row and flush right on mobile */
.registration-form .payment-fields .payment-proof-label-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  justify-content:stretch!important;
  column-gap:12px!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.registration-form .payment-fields .payment-proof-label-row>span{
  display:block!important;
  min-width:0!important;
  width:auto!important;
  flex:none!important;
  overflow-wrap:normal;
}
.registration-form .payment-fields .payment-proof-label-row>.payment-example-link{
  display:inline-block!important;
  justify-self:end!important;
  align-self:center!important;
  margin:0!important;
  padding:2px 5px!important;
  font-size:9px!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}
@media(max-width:620px){
  .registration-form .payment-fields .payment-proof-label-row{column-gap:10px!important}
  .registration-form .payment-fields .payment-proof-label-row>span{font-size:clamp(13px,3.5vw,15px)!important;line-height:1.25!important}
  .registration-form .payment-fields .payment-proof-label-row>.payment-example-link{font-size:8px!important;padding:2px 4px!important}
}


/* Participant photo Demo ID: keep the example link on the far right of the label row */
.registration-form #photoUploadLabel .payment-proof-label-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  justify-content:stretch!important;
  column-gap:10px!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.registration-form #photoUploadLabel .payment-proof-label-row>span{
  display:block!important;
  min-width:0!important;
  width:auto!important;
  flex:none!important;
  overflow-wrap:normal!important;
}
.registration-form #photoUploadLabel .payment-proof-label-row>.payment-example-link{
  display:inline-block!important;
  justify-self:end!important;
  align-self:center!important;
  margin:0!important;
  white-space:nowrap!important;
}
@media(max-width:620px){
  .registration-form #photoUploadLabel .payment-proof-label-row>span{
    font-size:clamp(13px,3.5vw,15px)!important;
    line-height:1.25!important;
  }
  .registration-form #photoUploadLabel .payment-proof-label-row>.payment-example-link{
    font-size:8px!important;
    padding:2px 4px!important;
  }
}
