.gtc-wrap{--gtc-bg:#f5f6f8;--gtc-card:#fff;--gtc-text:#172235;--gtc-muted:#667085;--gtc-heading:#2255a4;--gtc-input-bg:#fff;--gtc-input-text:#111;--gtc-placeholder:#111;--gtc-border:#ccd3df;max-width:980px;margin:30px auto;padding:0 16px;font-family:inherit;color:var(--gtc-text)}
.gtc-wrap.gtc-dark{--gtc-bg:#0e1726;--gtc-card:#162235;--gtc-text:#f5f7fb;--gtc-muted:#c3ccda;--gtc-heading:#f0b91b;--gtc-input-bg:#1d2d40;--gtc-input-text:#fff;--gtc-placeholder:#dfe6ef;--gtc-border:#53647a}
.gtc-wrap,.gtc-wrap *{box-sizing:border-box}.gtc-wrap{background:var(--gtc-bg);border-radius:18px;padding-top:18px;padding-bottom:24px;transition:background .2s,color .2s}.gtc-head{text-align:center;margin-bottom:24px;position:relative}.gtc-head h2{font-size:34px;margin:0 0 8px;color:var(--gtc-heading)}.gtc-head p{font-size:17px;color:var(--gtc-text)}
.gtc-theme-toggle{display:inline-flex;align-items:center;gap:8px;margin:0 0 16px auto;padding:8px 12px;border:1px solid var(--gtc-border);border-radius:999px;background:var(--gtc-card);color:var(--gtc-text);font-weight:700;cursor:pointer;float:right}.gtc-theme-toggle:after{content:"";display:block;clear:both}
.gtc-form section{background:var(--gtc-card);border:1px solid var(--gtc-border);border-radius:16px;padding:22px;margin:18px 0;box-shadow:0 6px 20px rgba(0,0,0,.05)}.gtc-form h3{color:var(--gtc-heading);margin:0 0 18px;font-size:23px}.gtc-form h4{margin:18px 0 10px;color:var(--gtc-text)}.gtc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.gtc-grid .wide{grid-column:1/-1}.gtc-form label{font-weight:700;display:block;color:var(--gtc-text)}
.gtc-form input:not([type=checkbox]):not([type=radio]),.gtc-form textarea,.gtc-form select{box-sizing:border-box;width:100%;margin-top:7px;padding:12px;border:1px solid var(--gtc-border);border-radius:8px;background:var(--gtc-input-bg)!important;color:var(--gtc-input-text)!important;-webkit-text-fill-color:var(--gtc-input-text);opacity:1}.gtc-form input::placeholder,.gtc-form textarea::placeholder{color:var(--gtc-placeholder)!important;opacity:1!important;-webkit-text-fill-color:var(--gtc-placeholder)!important}.gtc-form input::-webkit-input-placeholder,.gtc-form textarea::-webkit-input-placeholder{color:var(--gtc-placeholder)!important;opacity:1!important}.gtc-form input::-moz-placeholder,.gtc-form textarea::-moz-placeholder{color:var(--gtc-placeholder)!important;opacity:1!important}.gtc-form textarea{min-height:70px}.gtc-form small{display:block;font-weight:400;margin-top:5px;color:var(--gtc-muted)}.gtc-checks{display:flex;flex-wrap:wrap;gap:10px 18px;margin:10px 0}.gtc-checks label,.gtc-form .check,.gtc-form .radio{font-weight:600;padding:8px 0}.gtc-submit{background:#d8a514;color:#111;border:2px solid #111;border-radius:10px;padding:14px 22px;font-weight:800;font-size:16px;cursor:pointer}.gtc-alert{max-width:900px;margin:15px auto;padding:14px 16px;border-radius:10px;font-weight:700}.gtc-alert.ok{background:#e9f8ee;border:1px solid #2b9b50;color:#17351f}.gtc-alert.err{background:#fff0f0;border:1px solid #c22;color:#661414}.gtc-alert.warn{background:#fff8df;border:1px solid #d8a514;color:#4d3b00}
@media(max-width:700px){.gtc-grid{grid-template-columns:1fr}.gtc-grid .wide{grid-column:auto}.gtc-head h2{font-size:28px}.gtc-theme-toggle{float:none;margin:0 auto 14px}}
/* v1.0.3: keep browser autofill/suggestion selections readable in both themes */
.gtc-form input:-webkit-autofill,.gtc-form input:-webkit-autofill:hover,.gtc-form input:-webkit-autofill:focus,.gtc-form textarea:-webkit-autofill,.gtc-form select:-webkit-autofill{-webkit-text-fill-color:var(--gtc-input-text)!important;caret-color:var(--gtc-input-text)!important;box-shadow:0 0 0 1000px var(--gtc-input-bg) inset!important;-webkit-box-shadow:0 0 0 1000px var(--gtc-input-bg) inset!important;transition:background-color 99999s ease-out 0s;color:var(--gtc-input-text)!important}
.gtc-dark .gtc-form input,.gtc-dark .gtc-form textarea,.gtc-dark .gtc-form select{color-scheme:dark}.gtc-dark .gtc-form option{background:#1d2d40;color:#fff}

/* v1.0.4: Chrome/Edge autofill can paint a light suggestion background in dark mode.
   Use a deliberately light autofill surface with dark text so selected suggestions always remain readable. */
.gtc-wrap.gtc-dark .gtc-form input:-webkit-autofill,
.gtc-wrap.gtc-dark .gtc-form input:-webkit-autofill:hover,
.gtc-wrap.gtc-dark .gtc-form input:-webkit-autofill:focus,
.gtc-wrap.gtc-dark .gtc-form textarea:-webkit-autofill,
.gtc-wrap.gtc-dark .gtc-form select:-webkit-autofill{
  -webkit-text-fill-color:#111!important;
  caret-color:#111!important;
  color:#111!important;
  box-shadow:0 0 0 1000px #eaf2ff inset!important;
  -webkit-box-shadow:0 0 0 1000px #eaf2ff inset!important;
  color-scheme:light!important;
}

/* v1.3.1 live price summary */
.gtc-price-lines{display:grid;gap:10px}.gtc-price-lines>div{display:flex;justify-content:space-between;gap:18px;padding:9px 0;border-bottom:1px solid var(--gtc-border);color:var(--gtc-text)}.gtc-price-lines>div strong{white-space:nowrap}.gtc-price-lines .gtc-price-total{font-size:20px;font-weight:900;border-top:2px solid var(--gtc-heading);border-bottom:0;margin-top:5px;padding-top:15px;color:var(--gtc-heading)}


/* v1.4.4: PbC Club Branding inheritance + contrast-safe public UI */
.gtc-wrap{
  --gtc-bg:var(--pbc-background,#f5f6f8);
  --gtc-card:var(--pbc-surface,#ffffff);
  --gtc-text:var(--pbc-text,#172235);
  --gtc-muted:var(--pbc-text,#667085);
  --gtc-heading:var(--pbc-primary,#2255a4);
  --gtc-input-bg:var(--pbc-surface,#ffffff);
  --gtc-input-text:var(--pbc-surface-text,#111111);
  --gtc-placeholder:var(--pbc-surface-text,#555555);
  --gtc-border:var(--pbc-accent,#ccd3df);
  --gtc-action:var(--pbc-primary,#2255a4);
  --gtc-action-text:#ffffff;
  max-width:1100px;
}
/* Club branding is authoritative; keep the legacy toggle from overriding it. */
.gtc-theme-toggle{display:none!important}
.gtc-wrap.gtc-dark{
  --gtc-bg:var(--pbc-background,#f5f6f8);
  --gtc-card:var(--pbc-surface,#ffffff);
  --gtc-text:var(--pbc-text,#172235);
  --gtc-muted:var(--pbc-text,#667085);
  --gtc-heading:var(--pbc-primary,#2255a4);
  --gtc-input-bg:var(--pbc-surface,#ffffff);
  --gtc-input-text:var(--pbc-surface-text,#111111);
  --gtc-placeholder:var(--pbc-surface-text,#555555);
  --gtc-border:var(--pbc-accent,#ccd3df);
}
.gtc-head h2,.gtc-form h3,.gtc-price-lines .gtc-price-total{color:var(--gtc-heading)!important}
.gtc-head p,.gtc-form label,.gtc-form h4,.gtc-form p,.gtc-form small,.gtc-price-lines>div{color:var(--gtc-text)!important}
.gtc-form section{background:var(--gtc-card)!important;border:1px solid var(--gtc-border)!important}
.gtc-form input:not([type=checkbox]):not([type=radio]),.gtc-form textarea,.gtc-form select{
 background:var(--gtc-input-bg)!important;color:var(--gtc-input-text)!important;
 -webkit-text-fill-color:var(--gtc-input-text)!important;border:2px solid var(--gtc-border)!important;
}
.gtc-form input:not([type=checkbox]):not([type=radio]):focus,.gtc-form textarea:focus,.gtc-form select:focus{
 outline:2px solid var(--gtc-heading)!important;outline-offset:2px;
}
.gtc-form option{background:var(--gtc-input-bg)!important;color:var(--gtc-input-text)!important}
.gtc-submit{background:var(--gtc-action)!important;color:var(--gtc-action-text)!important;border:2px solid var(--gtc-action)!important;text-decoration:none!important}
.gtc-submit:hover,.gtc-submit:focus{filter:brightness(.92);color:var(--gtc-action-text)!important}
.gtc-submit-success{background:var(--gtc-card)!important;color:var(--gtc-text)!important;border:1px solid var(--gtc-border)!important}
.gtc-submit-success h2{color:var(--gtc-heading)!important}.gtc-submit-success p{color:var(--gtc-text)!important}

/* v1.4.5: contrast-safe text inside branded tournament cards.
   Public page text uses --pbc-text, while content rendered on --pbc-surface
   must use --pbc-surface-text so dark/light club palettes remain readable. */
.gtc-wrap{
  --gtc-surface-text:var(--pbc-surface-text,#111111);
}
.gtc-form section,
.gtc-form section label,
.gtc-form section h3,
.gtc-form section h4,
.gtc-form section p,
.gtc-form section small,
.gtc-form section .gtc-checks label,
.gtc-form section .check,
.gtc-form section .radio,
.gtc-form section .gtc-price-lines>div,
.gtc-form section strong,
.gtc-form section span:not(.gtc-alert *){
  color:var(--gtc-surface-text)!important;
}
.gtc-form section h3,
.gtc-form section .gtc-price-total{
  color:var(--gtc-surface-text)!important;
}
/* Native checkbox/radio controls remain visible on either surface. */
.gtc-form input[type=checkbox],.gtc-form input[type=radio]{
  accent-color:var(--pbc-primary,#2255a4);
}

/* v1.4.6 — consistent club-branded gold field outlines and primary actions */
.gtc-wrap{--pbc-ui-gold:var(--pbc-accent,#F5B942);--pbc-ui-blue:var(--pbc-secondary,#2563EB);font-family:inherit}
.gtc-wrap .gtc-form :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){border:2px solid var(--pbc-ui-gold)!important;border-radius:9px!important;min-height:44px;font:inherit}
.gtc-wrap .gtc-form :is(input,select,textarea):focus-visible{outline:2px solid var(--pbc-ui-gold)!important;outline-offset:2px}
.gtc-wrap .gtc-form button.gtc-submit,.gtc-wrap .gtc-form #gtc-submit-button{background:var(--pbc-ui-blue)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:2px solid var(--pbc-ui-blue)!important;border-radius:10px!important;min-height:48px;padding:12px 24px!important;font-size:16px!important;font-weight:700!important;box-shadow:0 5px 14px rgba(15,23,42,.16);opacity:1!important;cursor:pointer}
.gtc-wrap .gtc-form button.gtc-submit:is(:hover,:focus-visible),.gtc-wrap .gtc-form #gtc-submit-button:is(:hover,:focus-visible){color:#fff!important;-webkit-text-fill-color:#fff!important;filter:brightness(.91)}
.gtc-wrap .gtc-form button.gtc-submit:disabled{opacity:.65!important;cursor:not-allowed}
@media(max-width:700px){.gtc-wrap .gtc-form #gtc-submit-button{max-width:100%;white-space:normal}}
