/* Entrance and clubhouse dialog shell. Shared tokens keep these routes consistent. */
:root{--welcome-modal-header:#002147;--welcome-modal-accent:#b32936;--welcome-modal-ink:#173449;--welcome-modal-border:#ced8e0;--welcome-modal-soft:#f1f4f7}
body[data-welcome-dialogs] :is(.clubhouse-dialog,.game-join-dialog,.scoodle-menu-router,.scoodle-install-dialog,.cc-demo,#arrival-guest){border:1px solid var(--welcome-modal-border);border-radius:10px;background:#fff;color:var(--welcome-modal-ink);box-shadow:0 18px 60px #10283a40;font-family:Arial,Helvetica,sans-serif;max-height:calc(100dvh - 24px)}
body[data-welcome-dialogs] :is(.clubhouse-dialog-head,.gj-head,.scoodle-menu-router>header,.scoodle-install-dialog>header,.cc-demo header,#arrival-guest>header){padding:14px 18px!important;background:var(--welcome-modal-header)!important;color:#fff!important;border:0!important;border-left:5px solid var(--welcome-modal-accent)!important;box-shadow:none!important}
body[data-welcome-dialogs] :is(.clubhouse-dialog-head strong,.gj-head h2,.scoodle-menu-router>header h2,.scoodle-install-dialog h2,.cc-demo header h2,#arrival-guest h2){margin:0!important;font:650 22px/1.25 Arial,Helvetica,sans-serif!important;color:#fff!important;text-shadow:none!important}
body[data-welcome-dialogs] .clubhouse-dialog-head>div>span{font-size:13px;font-weight:400;color:#e1e9f0;opacity:1;line-height:1.4}
body[data-welcome-dialogs] .clubhouse-dialog-head{grid-template-columns:minmax(0,1fr)}
body[data-welcome-dialogs] .clubhouse-dialog-head>[data-close-clubhouse-modal]{display:none!important}
body[data-welcome-dialogs] .member-signin-icon{background:#fff;padding:3px;box-sizing:border-box;transform:none}
body[data-welcome-dialogs] :is(.clubhouse-modal-body,.gj-body,.cc-demo-body,.guest-options){background:#fff;color:var(--welcome-modal-ink);font-size:15px;line-height:1.45}
body[data-welcome-dialogs] :is(.clubhouse-dialog-footer,.gj-actions,.scoodle-menu-router>footer,.scoodle-install-dialog>footer,.cc-demo footer,#arrival-guest>footer){position:sticky;bottom:0;z-index:5;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:10px 18px!important;padding-bottom:max(10px,env(safe-area-inset-bottom))!important;background:#fff!important;color:var(--welcome-modal-ink)!important;border-top:1px solid var(--welcome-modal-border)!important;box-shadow:0 -3px 12px #10283a08!important}
body[data-welcome-dialogs] .clubhouse-dialog-footer[hidden]{display:none!important}
body[data-welcome-dialogs] .clubhouse-dialog-footer .clubhouse-dialog-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;width:100%;margin:0;padding:0;background:none;border:0}
body[data-welcome-dialogs] :is(.clubhouse-dialog-footer,.gj-actions,.scoodle-menu-router>footer,.scoodle-install-dialog>footer,.cc-demo footer,#arrival-guest>footer) button{flex:0 1 auto!important;min-height:40px;padding:8px 16px!important;border:1px solid var(--welcome-modal-header)!important;border-radius:5px!important;background:#fff!important;color:var(--welcome-modal-header)!important;font:650 14px/1.25 Arial,Helvetica,sans-serif!important;box-shadow:none!important}
body[data-welcome-dialogs] :is(.clubhouse-dialog-footer,.gj-actions,.cc-demo footer,.scoodle-install-dialog>footer) button:is([type=submit],.gj-primary,.primary,[data-install-confirm]){background:var(--welcome-modal-header)!important;color:#fff!important}
body[data-welcome-dialogs] .clubhouse-dialog-footer [data-close-clubhouse-modal]{order:10}
body[data-welcome-dialogs] :is(.scoodle-menu-router>nav button,.guest-options>a,.guest-options>button){font-weight:650;color:var(--welcome-modal-ink)}
body[data-welcome-dialogs] .scoodle-menu-router>nav button small{font-size:14px;font-weight:500;color:#465b6d}
body[data-welcome-dialogs] .scoodle-menu-router>nav .router-arrow{color:var(--welcome-modal-accent);stroke-width:3}
body[data-welcome-dialogs] :is(.gj-intake-players fieldset:nth-child(n),.casual-intake-dialog .clubhouse-casual-player:nth-child(n)){background:var(--welcome-modal-soft)!important;color:var(--welcome-modal-ink)!important;border:1px solid var(--welcome-modal-border)!important}
body[data-welcome-dialogs] :is(.gj-intake-players,.casual-intake-dialog .clubhouse-casual-player) :is(label,legend,[data-member-confirm],.clubhouse-casual-member-verification){color:var(--welcome-modal-ink)!important}
@media(max-width:600px){body[data-welcome-dialogs] :is(.clubhouse-dialog-footer,.gj-actions,.scoodle-menu-router>footer,.scoodle-install-dialog>footer,.cc-demo footer,#arrival-guest>footer) button{min-height:44px}body[data-welcome-dialogs] :is(.clubhouse-dialog-head strong,.gj-head h2,.scoodle-menu-router>header h2,.cc-demo header h2){font-size:21px!important}}

/* Flush shell edges and explicit action hierarchy, above legacy editor overrides. */
body[data-welcome-dialogs] .game-join-dialog{padding:0!important;overflow:auto}
body[data-welcome-dialogs] :is(#clubhouseModalRoot,.game-join-dialog,.cc-demo,.scoodle-install-dialog) :is(.clubhouse-dialog-footer,.gj-actions,footer) button:is([type=submit],.gj-primary,.primary,[data-install-confirm]){background:var(--welcome-modal-header)!important;color:#fff!important}
body[data-welcome-dialogs] :is(#clubhouseModalRoot,.game-join-dialog) :is(.clubhouse-dialog-footer,.gj-actions) button:is([data-close-clubhouse-modal],[data-cancel]){order:10;background:#fff!important;color:var(--welcome-modal-header)!important}
body[data-welcome-dialogs] .game-join-dialog [data-intake-code] :is(label,button){font-weight:650!important}

body[data-welcome-dialogs] .game-join-dialog .scoodle-action-content:has(>.gj-head){padding:0!important}
body[data-welcome-dialogs] .game-join-dialog .gj-head{position:sticky;top:0;z-index:2}
body[data-welcome-dialogs] .run-game-intro{width:min(680px,calc(100vw - 24px));padding:0;overflow:auto}
.run-game-intro>header{position:sticky;top:0;z-index:3}
.run-game-content{padding:16px 18px}
.run-game-intro-copy{margin:0 0 14px;font:500 15px/1.45 Arial,sans-serif;color:#465b6d}
.run-game-option{display:grid;grid-template-columns:minmax(0,1fr) 185px;gap:18px;align-items:center;padding:14px 0;border-top:1px solid var(--welcome-modal-border)}
.run-game-intro h3{margin:0 0 6px;font:700 19px/1.25 Arial,sans-serif;color:var(--welcome-modal-header)}
.run-game-intro p{font-size:14px;line-height:1.5}
.run-game-option p{margin:0}
.run-game-intro .run-game-option a,.run-game-office button{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--welcome-modal-header);border-radius:5px;padding:10px 12px;background:white;color:var(--welcome-modal-header);font:650 14px/1.3 Arial,sans-serif;text-decoration:none;cursor:pointer;min-height:44px;box-sizing:border-box}
.run-game-intro .run-game-option a span{color:var(--welcome-modal-accent);font-size:20px}
.run-game-office{margin-top:16px;border:1px solid var(--welcome-modal-border);border-radius:7px;overflow:hidden;background:var(--welcome-modal-soft)}
.run-game-office>img{display:block;width:100%;height:190px;object-fit:cover;object-position:center}
.run-game-office>div{padding:16px}
.run-game-office p{margin:8px 0 12px}
.run-game-office button{background:var(--welcome-modal-header);color:white}
@media(max-width:520px){.run-game-option{grid-template-columns:1fr;gap:10px}.run-game-option a{justify-self:start}.run-game-office>img{height:150px}.run-game-content{padding:12px 14px}}

body[data-welcome-dialogs] .run-game-intro .scoodle-action-content{padding:0!important}
body[data-welcome-dialogs] .run-game-intro header{position:sticky;top:0;z-index:3}
.run-game-title-row{display:flex;align-items:center;gap:9px;margin-bottom:8px}
.run-game-title-row h3{margin:0}
body[data-welcome-dialogs] .run-game-intro .run-game-info{display:inline-flex;align-items:center;justify-content:center;flex:none;width:26px;height:26px;min-height:26px;padding:0;border:2px solid var(--welcome-modal-header);border-radius:50%;background:white;color:var(--welcome-modal-header);font:700 17px/1 Georgia,serif;cursor:pointer}
.run-game-info:focus-visible{outline:2px solid var(--welcome-modal-accent);outline-offset:3px}
.run-game-intro ul{margin:0 0 12px;padding-left:19px;font:500 14px/1.6 Arial,sans-serif;color:var(--welcome-modal-ink)}
.run-game-intro .run-game-details{margin:10px 0 14px;padding:12px;border-left:3px solid var(--welcome-modal-header);background:white;font-size:14px;line-height:1.5}
.run-game-details[hidden]{display:none!important}
/* Compact Run a Game overview; expanded information may scroll. */
.run-game-content{padding:10px 16px}
.run-game-intro .run-game-intro-copy{margin:0 0 8px;line-height:1.3}
.run-game-option{padding:8px 0;gap:12px}
.run-game-title-row{margin-bottom:4px;gap:7px}
.run-game-intro h3{font-size:18px;margin-bottom:0}
.run-game-intro ul{margin:0;padding-left:18px;line-height:1.35;font-size:14px}
.run-game-intro ul ul{margin:2px 0 2px}
.run-game-office{display:grid;grid-template-columns:155px minmax(0,1fr);margin-top:8px}
.run-game-office>img{height:100%;min-height:150px;object-fit:cover}
.run-game-office>div{padding:10px 12px}
.run-game-office button{margin-top:8px}
body[data-welcome-dialogs] .run-game-intro header{padding:10px 16px!important}
body[data-welcome-dialogs] .run-game-intro footer{padding-top:7px!important;padding-bottom:7px!important}
@media(max-width:520px){
 .run-game-content{padding:8px 12px}
 .run-game-option{grid-template-columns:minmax(0,1fr) 108px;gap:10px}
 .run-game-intro .run-game-option a{padding:7px 9px;font-size:13px;gap:5px}
 .run-game-option a span{display:none}
 .run-game-office{display:block}
 .run-game-office>img{height:72px;min-height:0;object-position:center 45%}
 .run-game-office>div{padding:8px 10px}
 .run-game-intro ul{font-size:13px;line-height:1.3}
 .run-game-intro h3{font-size:17px}
 .run-game-intro .run-game-intro-copy{font-size:14px}
}
.run-game-intro ul ul{margin:0}
.run-game-intro li{margin-block:0;padding-block:0}
body[data-welcome-dialogs] .run-game-detail{width:min(520px,calc(100vw - 24px));padding:0;overflow:auto}
body[data-welcome-dialogs] .run-game-detail .scoodle-action-content{padding:0!important}
.run-detail-body{padding:16px 18px}
.run-detail-body h3{margin:0 0 12px;font:650 18px/1.35 Arial,sans-serif;color:var(--welcome-modal-header)}
.run-detail-body p{margin:0 0 12px;font:400 15px/1.5 Arial,sans-serif;color:var(--welcome-modal-ink)}
.run-detail-body p:last-child{margin-bottom:0}
.run-detail-body blockquote{margin:0 0 14px;padding:12px 14px;border-left:3px solid var(--welcome-modal-header);background:var(--welcome-modal-soft);font:500 15px/1.5 Arial,sans-serif;color:var(--welcome-modal-ink)}
/* Advanced scorecard: compact player rows without reducing phone input text. */
body[data-welcome-dialogs] .game-join-dialog:has([data-intake-players]){width:min(510px,calc(100vw - 24px))}
body[data-welcome-dialogs] .game-join-dialog [data-intake-players] .gj-body{padding:10px 12px}
body[data-welcome-dialogs] .game-join-dialog .casual-course-search small:empty{display:none}
body[data-welcome-dialogs] .game-join-dialog [data-intake-players] .gj-intake-players fieldset{display:grid;grid-template-columns:minmax(0,1fr) 64px;gap:5px 8px;padding:6px 8px!important;margin:0 0 7px!important;border-radius:5px!important}
body[data-welcome-dialogs] .game-join-dialog .gj-intake-players legend{float:none;width:auto;font-size:11px!important;line-height:1.2;padding:0 4px!important}
body[data-welcome-dialogs] .game-join-dialog .gj-name-tee{grid-column:1;grid-row:1;grid-template-columns:minmax(0,1fr);clear:none}
body[data-welcome-dialogs] .game-join-dialog .gj-name-tee.varies{grid-template-columns:minmax(0,1fr) 78px}
body[data-welcome-dialogs] .game-join-dialog .gj-handicap-row{display:contents}
body[data-welcome-dialogs] .game-join-dialog .gj-handicap-value{grid-column:2;grid-row:1}
body[data-welcome-dialogs] .game-join-dialog .gj-handicap-left{grid-column:1/-1;grid-row:2;display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}
body[data-welcome-dialogs] .game-join-dialog .gj-intake-players label{font-size:11px!important;line-height:1.2!important}
body[data-welcome-dialogs] .game-join-dialog .gj-intake-players :is(input:not([type=radio]),select){min-height:32px!important;height:32px;padding:4px 6px!important;margin-top:2px;font-size:16px}
body[data-welcome-dialogs] .game-join-dialog .gj-choice-row{gap:7px}
body[data-welcome-dialogs] .game-join-dialog .gj-choice-row label{min-height:30px}
body[data-welcome-dialogs] .game-join-dialog .gj-ghin-label input{width:90px!important}
body[data-welcome-dialogs] .game-join-dialog .gj-intake-players :is([data-member-results],[data-member-confirm],[data-ghin-status]){grid-column:1/-1}
body[data-welcome-dialogs] .game-join-dialog .gj-intake-players [data-member-results]:empty{display:none}
body[data-welcome-dialogs] .game-join-dialog .gj-tee-settings{margin-bottom:4px;min-height:38px}
body[data-welcome-dialogs] .game-join-dialog [data-intake-players] .gj-body>label{margin-bottom:6px}
body[data-welcome-dialogs] .game-join-dialog .scoodle-course-more{min-height:30px!important;padding:4px 8px!important;font-size:12px!important;margin-top:4px}
body[data-welcome-dialogs] :is(.clubhouse-dialog-head strong,.gj-head h2,.scoodle-menu-router>header h2,.scoodle-install-dialog h2,.cc-demo header h2,#arrival-guest h2){font-weight:750!important}
body[data-welcome-dialogs] .member-claim-entry{display:block;padding:10px 12px;border:1px solid var(--welcome-modal-header);border-radius:5px;background:white;color:var(--welcome-modal-header);text-decoration:none;text-align:center;font:650 14px/1.4 Arial,sans-serif}

body[data-welcome-dialogs] .game-join-dialog .gj-player-heading{grid-column:1/-1;grid-row:1;margin:3px 0 2px;font-size:12px;color:var(--welcome-modal-ink)}
body[data-welcome-dialogs] .game-join-dialog .gj-name-tee{grid-row:2;margin-left:10px}
body[data-welcome-dialogs] .game-join-dialog .gj-handicap-value{grid-row:2}
body[data-welcome-dialogs] .game-join-dialog .gj-handicap-left{grid-row:3;margin-left:10px}
body[data-welcome-dialogs] .game-join-dialog:has([data-intake-players]) .gj-head{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}
body[data-welcome-dialogs] .game-join-dialog:has([data-intake-players]) .gj-head h2{flex:1 0 100%;margin:0}
body[data-welcome-dialogs] .game-join-dialog:has([data-intake-players]) .gj-head .gj-code{position:static;text-align:left;margin:0;font-size:10px}
body[data-welcome-dialogs] .game-join-dialog:has([data-intake-players]) .gj-head .gj-code strong{display:inline-block;margin-left:7px;font-size:16px}

body[data-welcome-dialogs] .game-join-dialog .gj-tee-rule-value{grid-row:4;grid-column:1;max-width:170px;margin-left:10px}body[data-welcome-dialogs] .game-join-dialog .gj-assigned-tee{grid-row:4;grid-column:2;align-self:end}

body[data-welcome-dialogs] .game-join-dialog .gj-handicap-value{align-self:end;margin-bottom:0}body[data-welcome-dialogs] .game-join-dialog .gj-handicap-value input{margin-top:0}
/* Keep setup title, game code and demo stamp on one compact row. */
body[data-welcome-dialogs] .game-join-dialog:has([data-intake-players]) .gj-head{display:flex;flex-wrap:nowrap;gap:8px;align-items:center;padding:10px 12px}
body[data-welcome-dialogs] .game-join-dialog:has([data-intake-players]) .gj-head h2{flex:1 1 auto;min-width:0;font-size:clamp(15px,4vw,20px)!important;line-height:1.15}
body[data-welcome-dialogs] .game-join-dialog:has([data-intake-players]) .gj-head .gj-code{flex:none;font-size:8px;white-space:nowrap;text-align:center}
body[data-welcome-dialogs] .game-join-dialog:has([data-intake-players]) .gj-head .gj-code strong{display:block;margin:2px 0 0;font-size:15px}
body[data-welcome-dialogs] .game-join-dialog:has([data-intake-players]) .gj-head .demo-walk-stamp{flex:none;margin-left:0;font-size:9px!important;padding:3px 4px!important;white-space:nowrap}
body[data-welcome-dialogs] .game-join-dialog .gj-setup-summary .gj-date{color:var(--welcome-modal-ink)!important}
/* One header row with the game code stacked beside Setup. */
body[data-welcome-dialogs] .game-join-dialog:has([data-intake-players]) .gj-head{flex-wrap:nowrap!important;gap:6px!important;padding:10px 8px!important}
body[data-welcome-dialogs] .game-join-dialog:has([data-intake-players]) .gj-head h2{flex:0 1 auto!important;width:auto!important;white-space:nowrap;font-size:clamp(13px,3.5vw,17px)!important}
body[data-welcome-dialogs] .game-join-dialog:has([data-intake-players]) .gj-head .gj-code{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:8px!important;letter-spacing:0;white-space:nowrap}
body[data-welcome-dialogs] .game-join-dialog:has([data-intake-players]) .gj-head .gj-code strong{display:block!important;margin:0!important;font-size:14px!important;line-height:1!important;letter-spacing:0}
body[data-welcome-dialogs] .game-join-dialog:has([data-intake-players]) .gj-head>.demo-walk-stamp{font-size:10px!important;padding:4px!important;margin:0 0 0 auto!important;letter-spacing:0}
body[data-welcome-dialogs] .game-join-dialog .gj-setup-event-header .gj-date{color:#fff!important}

/* Scorecard setup uses a plain navy header without a decorative red edge. */
body[data-welcome-dialogs] .game-join-dialog:has([data-intake-players]) :is(#scorecard-setup-header,.gj-head){border-left:0!important}

body[data-welcome-dialogs] #clubhouseModalRoot:has(.claim-email-message) .clubhouse-dialog-head{border-left:0!important}

body[data-welcome-dialogs] #clubhouseModalRoot:has(.claim-email-message) .clubhouse-dialog-head [data-clubhouse-modal-subtitle]{font-size:20px!important;font-weight:600!important;line-height:1.3!important}

.claim-unverified-stamp{display:inline-block;margin-top:6px;border:2px solid #bd233a;color:#bd233a;background:#fff;padding:3px 7px;font:700 12px/1.2 Arial,sans-serif;letter-spacing:.04em;transform:none}
body[data-welcome-dialogs] .clubhouse-dialog-head .claim-unverified-stamp{color:#bd233a;background:#fff;opacity:1;font-weight:700;text-shadow:none;transform:none}
.member-profile-dialog [data-profile-verification]{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-top:6px;min-width:0}
.member-profile-dialog [data-profile-verification] .claim-unverified-stamp{margin:0;font-size:11px;max-width:100%;box-sizing:border-box;white-space:normal}
.member-profile-dialog .clubhouse-dialog-head:has([data-profile-verification-action]){grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;gap:10px}
.member-profile-dialog .clubhouse-dialog-head:has([data-profile-verification-action]) [data-clubhouse-header-extra]{grid-column:3}
.member-profile-dialog [data-profile-verification-action]{grid-column:2;grid-row:1;justify-self:center;text-align:center;max-width:110px}
.member-profile-dialog [data-profile-verification-action] button.claim-resend-stamp{width:auto!important;height:auto!important;min-height:0;padding:5px 9px;margin:0;border:2px solid #bd233a;border-radius:var(--scoodle-control-radius,6px);background:#fff;color:#bd233a;font:700 12px/1.25 Arial,sans-serif;text-transform:uppercase;letter-spacing:.04em;white-space:normal}
.member-profile-dialog [data-verification-send-status]{margin:0;color:#fff;font:400 12px/1.35 Arial,sans-serif;overflow-wrap:anywhere}
.member-profile-dialog [data-verification-send-status]:empty{display:none}

button.claim-resend-stamp{min-height:36px;border-radius:4px;padding:7px 10px;font-size:13px;text-transform:uppercase;cursor:pointer;box-shadow:none}
button.claim-resend-stamp:hover{background:#fff3f4}
button.claim-resend-stamp:focus-visible{outline:2px solid #17334f;outline-offset:4px}
button.claim-resend-stamp:disabled{cursor:wait;opacity:1}
@font-face{font-family:ScoodleLouScript;src:url('/public/fonts/caveat/Caveat.ttf') format('truetype');font-weight:400 700;font-style:normal;font-display:swap}
.claim-lou-welcome{font-family:ScoodleLouScript,cursive;font-size:clamp(28px,5vw,34px);font-weight:600;line-height:1.25;color:#173449;text-align:center}
.claim-lou-welcome p{font:inherit;margin:8px 0 16px}
.claim-lou-welcome .claim-lou-signature{font-size:38px;margin-bottom:4px}
