/* Shared surfaces always carry their own foreground in both appearances. */
:root{--ui-surface:#19483b;--ui-raised:#245440;--ui-field:#10372d;--ui-text:#f4f2df;--ui-muted:#c1d2bc;--ui-border:#719273;--ui-accent:#f1d982}
html[data-theme=light]{--ui-surface:#fffdf4;--ui-raised:#e6eedc;--ui-field:#fffef8;--ui-text:#234b3c;--ui-muted:#526a55;--ui-border:#a9bfa1;--ui-accent:#715612}
.clubhouse-menu :is(.profile-card,.profile-details,.member-collection-grid>article,.member-collection-grid>div,.feature-row){background:var(--ui-surface);color:var(--ui-text)}
.clubhouse-menu .member-collection-grid :is(h3,strong,small,p),.clubhouse-menu .profile-card :is(h2,h3,label){color:var(--ui-text)}
.clubhouse-menu :is(.level-badge,.profile-level,.level-pill,.profile-card .badge){background:var(--ui-raised);color:var(--ui-text);border-color:var(--ui-border)}
.clubhouse-menu .feature-row :is(small,p,.muted){color:var(--ui-muted)}
.clubhouse-menu .feature-row button{background:var(--ui-raised);color:var(--ui-text);border-color:var(--ui-border)}
.clubhouse-menu :is(input:not([type=range]):not([type=checkbox]),textarea,select),:is(#modal-root,#modal-exit) .modal :is(input:not([type=range]):not([type=checkbox]),textarea,select){background:var(--ui-field)!important;color:var(--ui-text)!important;border-color:var(--ui-border)}
.clubhouse-menu :is(input,textarea)::placeholder,:is(#modal-root,#modal-exit) .modal :is(input,textarea)::placeholder{color:var(--ui-muted);opacity:1}
.clubhouse-menu :is(.muted,.small-note,.profile-stats span,.feature-details),:is(#modal-root,#modal-exit) .modal :is(.credits-team span,.credits-note,.credits-support p){color:var(--ui-muted)}
:is(#modal-root,#modal-exit) .modal .crate-detail-actions{background:var(--ui-raised);color:var(--ui-text);border-color:var(--ui-border)}
:is(#modal-root,#modal-exit) .modal .crate-detail-actions .money{color:var(--ui-text)}
:is(#modal-root,#modal-exit) .modal :is(.login-day,.login-day.today,.odds-summary,.crate-odds,.odds-legend,.profile-level){background:var(--ui-raised);color:var(--ui-text);border-color:var(--ui-border)}
:is(#modal-root,#modal-exit) .modal .login-day :is(strong,span){color:var(--ui-text)}
.clubhouse-menu .member-collection-grid .button{color:var(--ui-text);background:var(--ui-raised)}
.clubhouse-menu button:disabled,:is(#modal-root,#modal-exit) button:disabled{opacity:.65}
.modal:has(.credits-panel),.pass-track{scrollbar-width:none;-ms-overflow-style:none}
.modal:has(.credits-panel)::-webkit-scrollbar,.pass-track::-webkit-scrollbar{display:none}
.clubhouse-menu .garage-preview{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0;display:flex;align-items:stretch;justify-content:center;min-height:350px}
.clubhouse-menu .garage-preview .caddie-stage{width:100%;height:100%;min-height:400px;flex:1;background:transparent;border:0}
.clubhouse-menu .garage-inventory .garage-equipped{background:transparent!important;padding:0 0 18px;border-bottom:1px solid var(--ui-border);margin-bottom:22px}
.garage-inventory .garage-equipped h2{font-size:24px;margin:12px 0 6px}.garage-inventory .garage-equipped p{font-size:13px;margin:0 0 14px}
.clubhouse-menu .course-menu{position:relative;inset:auto;min-height:calc(100dvh - 90px);height:auto;padding-top:0}
.clubhouse-menu[data-screen=courses]{overflow-y:auto}
.clubhouse-menu .course-menu .arcade-page-header{padding-top:22px}
.clubhouse-menu .course-menu .arcade-page-header>button,.clubhouse-menu .course-menu .arcade-page-header>span{display:none}
.ph-collapse{margin-bottom:12px;font-size:12px;min-height:32px;float:right}.ph-shot.is-collapsed{padding:10px}.ph-shot.is-collapsed .ph-collapse{margin:0;float:none}
.ph-shot #shot-options{clear:both}.ph-shot [hidden]{display:none}
.ball-moving :is(.play-hud,.hole-intro,.ranked-live,#toasts,.emote-bubble,#emote-wheel){visibility:hidden!important;pointer-events:none!important}
.home-splash{display:block;margin:0 auto 20px;max-width:min(90vw,620px);overflow-wrap:anywhere;font-weight:750;line-height:1.25;transform:rotate(-3deg);text-shadow:0 2px 3px #10281ee6,1px 0 #10281e,-1px 0 #10281e}
.home-splash[hidden]{display:none}
.clubhouse-menu{--page-gutter:clamp(16px,3vw,48px)}
.clubhouse-menu .topbar{padding:20px var(--page-gutter);gap:20px;flex-wrap:wrap}
.clubhouse-menu .topbar .nav{gap:5px;min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:none}
.clubhouse-menu .topbar .nav::-webkit-scrollbar{display:none}
.clubhouse-menu .topbar .nav button{flex-shrink:0;padding:10px 14px;z-index:auto;white-space:nowrap}
.clubhouse-menu .topbar .nav .nav-indicator{display:none}
.clubhouse-menu .topbar .nav button.active{background:var(--ui-raised)!important;color:var(--ui-text)!important;border-radius:4px;box-shadow:inset 0 -2px var(--ui-accent)!important}
.clubhouse-menu .topbar .nav button:hover:not(.active){background:transparent;color:var(--ui-accent);box-shadow:inset 0 0 0 1px var(--ui-border)}
.clubhouse-menu .topbar .notification-dot{right:5px;top:1px;width:7px;height:7px;border-width:1px}
.account-consent{display:flex!important;align-items:flex-start;gap:10px;font-size:12px;line-height:1.5}.account-consent input{width:17px!important;height:17px;flex:none;accent-color:#77955f}.account-consent a{color:var(--ui-accent);text-decoration:underline}
@media(min-width:1000px){.clubhouse-menu .shop-tabs{flex-wrap:wrap;overflow:visible;gap:4px}.clubhouse-menu .shop-toolbar{align-items:flex-start}}
.clubhouse-menu .page{inset:var(--header-height,110px) 0 0;padding:24px var(--page-gutter) 32px;max-width:none;width:auto;scrollbar-gutter:stable both-edges}
.clubhouse-menu .page>*{max-width:1600px;margin-left:auto;margin-right:auto}
.clubhouse-menu .garage-page{padding-left:var(--page-gutter);padding-right:var(--page-gutter)}
@media(max-width:1200px){.clubhouse-menu .topbar .nav{order:3;width:100%;justify-content:flex-start}.clubhouse-menu .topbar{padding-block:14px}}
@media(max-width:760px){.clubhouse-menu .garage-preview{min-height:260px}.clubhouse-menu .garage-preview .caddie-stage{height:280px;min-height:280px}.clubhouse-menu .course-menu{min-height:calc(100dvh - 132px)}.ph-shot{max-width:230px}.ph-shot.is-collapsed{width:auto}.home-splash{margin-bottom:12px}}

#online-estimate[hidden],#home-splash[hidden]{display:none!important}
.ph-shot .ph-collapse{display:inline-flex}
@media(max-width:760px){.clubhouse-menu .page{inset:auto}}
@media(max-width:600px){.ph-right{top:12px;bottom:auto;right:12px}.ph-tools{gap:5px}.ph-tools .icon-button{width:36px;height:36px;min-width:36px}.ph-shot #shot-options label:nth-of-type(3){display:grid}.ph-shot.is-collapsed{width:max-content}.ph-left{max-height:calc(100dvh - 280px);overflow-y:auto;scrollbar-width:none}}

/* Custom settings keep native keyboard and screen-reader control. */
.settings-custom{display:grid;gap:24px;margin:24px 0}.settings-choice{border:0;padding:0;margin:0;min-width:0}.settings-choice legend,.settings-group h3{font:700 12px/1.4 inherit;letter-spacing:.08em;text-transform:uppercase;margin:0 0 10px;padding:0;color:var(--ui-muted)!important}
.setting-segments{display:flex;gap:8px}.setting-option{flex:1;min-width:0;position:relative;cursor:pointer}.setting-option input{position:absolute;width:1px!important;height:1px!important;opacity:0;clip-path:inset(50%);overflow:hidden}
.setting-option>span{position:relative;min-height:66px;display:flex;flex-direction:column;gap:4px;padding:14px 30px 14px 14px;background:var(--ui-field);color:var(--ui-muted);border:1px solid var(--ui-border);border-radius:6px;transition:background .15s,transform .15s,border-color .15s}.setting-option strong{font-size:14px}.setting-option small{font-size:11px;line-height:1.35}.choice-check{position:absolute;right:11px;top:12px;opacity:0;color:var(--ui-accent);font-size:14px}.setting-option input:checked+span{background:var(--ui-raised);color:var(--ui-text);border-color:var(--ui-accent)}.setting-option input:checked+span .choice-check{opacity:1}.setting-option:hover>span{border-color:var(--ui-accent)}.setting-option:active>span{transform:translateY(1px)}.setting-option input:focus-visible+span{outline:2px solid var(--ui-accent);outline-offset:3px}
.appearance-swatch{display:block;width:24px;height:16px;border-radius:3px;border:1px solid #789884;margin-bottom:2px;box-shadow:inset 7px 0 #4c7260}.appearance-swatch.dark{background:#143d32}.appearance-swatch.light{background:#d2d9c8;box-shadow:inset 7px 0 #a5b59f}
.settings-group .setting-row:last-child{border:0}.settings-group .setting-row{min-height:48px}.settings-group h3{margin-bottom:0}.settings-custom .setting-row output{color:var(--ui-muted);font-variant-numeric:tabular-nums}.settings-custom input[type=range]{appearance:none;height:5px;border:0!important;border-radius:8px;cursor:pointer;background:var(--ui-border)!important;min-width:65px}.settings-custom input[type=range]::-webkit-slider-thumb{appearance:none;width:16px;height:16px;background:var(--ui-accent);border:2px solid var(--ui-surface);border-radius:50%;box-shadow:0 0 0 1px var(--ui-border);transition:transform .12s}.settings-custom input[type=range]::-moz-range-thumb{width:13px;height:13px;background:var(--ui-accent);border:2px solid var(--ui-surface);border-radius:50%}.settings-custom input[type=range]:active::-webkit-slider-thumb{transform:scale(1.15)}.settings-custom input:focus-visible{outline:2px solid var(--ui-accent);outline-offset:4px}.settings-custom .toggle{flex:none}.settings-custom .toggle:checked::after{transform:translateX(18px)}
@media(max-width:480px){.setting-option>span{padding:12px 23px 12px 10px}.setting-option strong{font-size:12px}.setting-option small{font-size:10px}.choice-check{right:8px;top:11px}.settings-custom .setting-slider{display:grid;grid-template-columns:1fr 38px;gap:6px;padding:10px 0}.settings-custom .setting-slider>span{grid-column:1}.settings-custom .setting-slider input{grid-row:2;width:100%}.settings-custom .setting-slider output{grid-column:2;grid-row:2}}

/* Muted sage for the light home screen, without washing out the course. */
html[data-theme=light] .arcade-home{background:#8b9d8052;color:#193e30}
html[data-theme=light] .home-center h1{text-shadow:0 2px 0 #bdcaae,0 4px 16px #203c2522}
html[data-theme=light] .home-center h1 .brand-mark{filter:drop-shadow(0 2px 0 #bdcaae)}
html[data-theme=light] :is(.home-tile,.home-account button,.home-secondary button,.home-footer button,.home-community){background:#cbd5bff5;color:#193e30;border-color:#a1b293;border-bottom-color:#7f9876}
html[data-theme=light] :is(.home-tile,.home-account button,.home-secondary button,.home-footer button,.home-community):hover{background:#d6decaff}
html[data-theme=light] .home-tile.home-play{background:#cfb96e;border-color:#a8914d;color:#213c2c}
html[data-theme=light] .home-tile.home-play:hover{background:#ddc77e}
html[data-theme=light] .home-footer nav{background:#cbd5bfee;padding:7px 10px;border-radius:3px}
html[data-theme=light] .home-studio{display:inline-block;opacity:1;background:#cbd5bfd9;padding:4px 9px;border-radius:3px}
.settings-choice legend,.settings-group h3{font-size:12px;font-weight:700;line-height:1.4}
:is(#modal-root,#modal-exit) .modal{scrollbar-width:thin;scrollbar-color:var(--ui-border) transparent}
:is(#modal-root,#modal-exit) .modal:has(.credits-panel){scrollbar-width:none}
.settings-custom{grid-template-columns:minmax(0,1fr)}
.settings-custom .settings-group{min-width:0}
.settings-custom .setting-row>span{min-width:0}
.settings-custom input[type=range]{margin-inline:0}
@media(max-width:480px){:is(#modal-root,#modal-exit) .modal:has(.settings-custom){padding-inline:20px}.settings-custom .setting-slider{grid-template-columns:minmax(0,1fr) 38px}}
@media(max-width:380px){.settings-choice:not(:has([data-setting=theme])) .setting-segments{flex-direction:column}.settings-choice:not(:has([data-setting=theme])) .setting-option>span{min-height:48px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:8px;padding-block:10px}.settings-choice:not(:has([data-setting=theme])) .choice-check{top:16px}}
@media(max-width:480px){.modal:has(.settings-custom) .modal-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.modal:has(.settings-custom) .modal-actions .button{min-width:0;padding:10px 8px;font-size:12px;gap:5px}.modal:has(.settings-custom) .modal-actions svg{width:15px;height:15px}.modal:has(.settings-custom) .modal-actions .button:last-child{grid-column:1/-1}}

/* Code entry has a full-width field and room between its label and action. */
.gift-redemption{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:24px}
.gift-redemption label{font-weight:650;font-size:13px;margin:0}
.gift-redemption #gift-code{box-sizing:border-box;display:block;width:100%;min-width:0;min-height:54px;padding:14px 16px;font-size:16px;line-height:1.5;border:1px solid var(--ui-border);border-radius:6px;margin:0}
.gift-redemption .button{margin-top:6px;min-height:48px}

/* Compact collection controls keep the items near the top of the panel. */
.clubhouse-menu .garage-page{inset:var(--header-height,110px) 0 0;grid-template-columns:minmax(240px,34%) minmax(0,1fr);gap:20px;padding-block:16px}
.clubhouse-menu .garage-inventory{padding:18px;min-width:0;scrollbar-width:thin}
.clubhouse-menu .garage-inventory .garage-equipped{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 18px;padding:0 0 14px;margin:0 0 16px}
.caddie-setup-copy{flex:1;min-width:180px}.caddie-setup-label{display:flex;align-items:center;gap:6px;color:var(--ui-muted);font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.06em}.caddie-setup-label svg{width:15px;height:15px}
.clubhouse-menu .garage-inventory .garage-equipped h2{margin:5px 0 6px;font-size:22px;line-height:1.15;letter-spacing:-.5px}
.clubhouse-menu .garage-inventory .garage-equipped p{margin:0;font-size:12px}
.caddie-setup-actions{display:flex;flex-wrap:wrap;gap:8px}.caddie-setup-actions .button{font-size:12px;min-height:40px;padding:9px 12px;gap:7px}.caddie-setup-actions .button svg{width:16px;height:16px}
.garage-collection-header{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.garage-collection-header h2{font-size:20px!important;margin:0}.garage-collection-header h2 span{font-size:12px!important;margin-left:8px}.collection-tools{display:flex;align-items:center;gap:8px}.collection-tools .text-button{font-size:12px}.collection-tools .favorite-button{width:32px;height:32px;min-height:32px;padding:5px}
.clubhouse-menu .garage-inventory .category-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 16px;overflow:visible}.clubhouse-menu .garage-inventory .category-tab{font-size:11px;padding:8px 10px;min-height:36px;gap:6px}.garage-inventory .category-tab svg{width:15px;height:15px}
.clubhouse-menu .garage-items.pg-grid{grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:12px}
@media(max-width:900px){.clubhouse-menu .garage-page{display:block}.clubhouse-menu[data-screen=garage] .garage-preview{min-height:210px;height:210px;margin:0 0 14px}.clubhouse-menu .garage-preview .caddie-stage{min-height:210px;height:210px}.clubhouse-menu .garage-inventory{padding:16px}}
@media(max-width:540px){.clubhouse-menu .garage-items.pg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.garage-items .pg-body{padding:10px}.garage-items .pg-meta{font-size:9px;gap:4px;flex-wrap:wrap}.garage-items .pg-meta>span:last-child{display:none}.garage-items .pg-body h3{font-size:13px}.garage-items .pg-foot{flex-wrap:wrap;gap:6px}.garage-items .pg-foot .button{padding:7px 9px;font-size:11px}.caddie-setup-actions{width:100%}.caddie-setup-actions .button{flex:1}.caddie-setup-copy{min-width:0}.garage-collection-header h2{font-size:18px!important}}

/* Hand-drawn vector insignias remain crisp in profiles, lobbies and matches. */
.golfer-nameplate .custom-plate-badge{display:flex;flex:none;align-items:center;justify-content:center;width:30px;height:30px;border-radius:7px;background:color-mix(in srgb,var(--plate-accent) 12%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--plate-accent) 35%,transparent)}
.golfer-nameplate .plate-badge-icon{display:block;width:24px;height:24px;filter:drop-shadow(0 1px 1px #0006)}
.golfer-nameplate.compact .custom-plate-badge{width:23px;height:23px;border-radius:5px}.golfer-nameplate.compact .plate-badge-icon{width:19px;height:19px}
.golfer-nameplate>span{min-width:0}.golfer-nameplate small{color:#fff!important;line-height:1.3;overflow-wrap:anywhere}.golfer-nameplate strong{color:#fff!important}
.shiny-nameplate{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,var(--plate),color-mix(in srgb,var(--plate-accent) 22%,var(--plate)) 48%,var(--plate));box-shadow:inset 0 1px #fff8,inset 0 -1px #fff3,0 0 9px color-mix(in srgb,var(--plate-accent) 22%,transparent)}
.shiny-nameplate::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(110deg,transparent 30%,#ffffff08 40%,#ffffff45 49%,#ffffff08 58%,transparent 70%);transform:translateX(-130%);animation:plate-sheen 6s ease-in-out infinite}
.prismatic-nameplate{border-color:#f9df9c;box-shadow:inset 0 1px #fff,inset 0 -1px #f6dca77a,0 0 12px #c3b6ec55;background:linear-gradient(115deg,#253e47,#493252 45%,#4c3c28 75%,#253e47)}
.prismatic-nameplate::after{background:linear-gradient(110deg,transparent 25%,#a0e8ee20 36%,#fff9ce88 49%,#ceafea35 62%,transparent 75%);animation-duration:4.5s}.prismatic-nameplate .custom-plate-badge{box-shadow:inset 0 0 0 1px #f9df9caa,0 0 8px #e2c17455}
@keyframes plate-sheen{0%,20%{transform:translateX(-130%)}55%,100%{transform:translateX(130%)}}
@media(prefers-reduced-motion:reduce){.shiny-nameplate::after{animation:none;transform:none;opacity:.4}}

/* A small, compositor-only pop gives buttons a clear hover and press response. */
button[data-action]{transition:scale .14s ease-out,filter .14s ease-out,background-color .14s,border-color .14s,transform .14s;transform-origin:center}
@media(hover:hover) and (pointer:fine){
 button[data-action]:not(:disabled):not([aria-disabled=true]):hover{scale:1.025;filter:brightness(1.09);border-color:var(--ui-accent,#ead182)}
}
button[data-action]:not(:disabled):not([aria-disabled=true]):active{scale:.98;filter:brightness(.98)}
@media(prefers-reduced-motion:reduce){button[data-action]{transition:none!important;scale:1!important}}
/* Skip keeps one hit target while the locker changes from opening to reel. */
.crate-stage:not(.revealed){padding-bottom:76px}
.crate-shell>footer{position:fixed;left:50%;bottom:max(24px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:3}
.crate-shell>footer .crate-skip{min-width:90px;min-height:44px;border:1px solid #cddccb66;border-radius:4px;background:#16372c}

/* Multiplayer counts and friend requests use matching foreground/surface tokens. */
.clubhouse-menu :is(.lobby-panel,.friend-row) .badge{background:var(--ui-raised);color:var(--ui-text);border:1px solid var(--ui-border)}
.clubhouse-menu .lobby-panel>.row{gap:16px;flex-wrap:wrap}
.clubhouse-menu .lobby-panel>.row>.badge{padding:9px 13px;font-weight:650;white-space:nowrap;line-height:1.3}
.clubhouse-menu .friend-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:18px;align-items:center;padding:16px;margin-block:10px}
.clubhouse-menu .friend-row>.golfer-avatar{width:48px;height:48px;margin:0}
.clubhouse-menu .friend-row-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px}
.clubhouse-menu .friend-row small{margin-top:5px;line-height:1.4}
@media(max-width:600px){.clubhouse-menu .friend-row{grid-template-columns:48px minmax(0,1fr);gap:12px 16px;padding:14px}.clubhouse-menu .friend-row-actions{grid-column:2;justify-content:flex-start}.clubhouse-menu .friend-row-actions .button{min-height:36px}}
/* Remote golfers remain readable while the local shot HUD is hidden. */
.opponents-layer{position:fixed;inset:0;pointer-events:none;z-index:12;overflow:hidden;display:flex;align-items:flex-start;justify-content:center;gap:8px;padding:74px 12px}
.opponent-label{position:absolute;left:0;top:0;will-change:transform;display:flex;align-items:center;flex-direction:column;gap:3px;max-width:180px}
.opponent-label[hidden]{display:none}
.opponent-label .golfer-nameplate{font-size:12px;max-width:175px;box-shadow:0 2px 8px #0004}
.opponent-label small{font:600 11px/1.3 'DM Sans',sans-serif;color:#fff9e8;background:#163c32e8;border:1px solid #c9ddbf77;border-radius:5px;padding:3px 7px;text-align:center}
.opponent-label.is-away{position:relative;left:auto;top:auto;transform:none!important}
.club-welcome{position:relative;isolation:isolate;overflow:hidden;text-align:center;padding:32px 24px 26px;color:var(--ui-text);min-height:480px}
.club-welcome h2{font-size:clamp(30px,5vw,54px);margin:12px 0}
.club-welcome>.eyebrow{text-align:center;display:block}
.club-welcome>p{margin:0 auto 28px;max-width:420px}
.club-seal{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:150px;height:150px;margin:8px auto 28px;color:#f2d281;background:radial-gradient(circle at 35% 20%,#386b50,#123c31);border:3px solid #d9b462;border-radius:50%;box-shadow:0 0 0 7px #cfaa5a20,0 12px 35px #0003;animation:club-seal-in .95s cubic-bezier(.16,1,.3,1) both}
.club-seal>svg{width:65px;height:65px}.club-seal small{font-size:10px;letter-spacing:2px;margin-top:8px;font-weight:800}
.club-seal-ring{position:absolute;inset:7px;border:1px solid #e7ca7b88;border-radius:50%}
.club-perks{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 auto 30px;max-width:710px}
.club-perks>div{display:flex;align-items:center;flex-direction:column;gap:8px;padding:16px 10px;border-top:1px solid var(--line);animation:club-perk-in .5s .4s both}
.club-perks>div:nth-child(2){animation-delay:.55s}.club-perks>div:nth-child(3){animation-delay:.7s}
.club-perks svg{width:28px;height:28px;color:var(--ui-accent)}.club-perks strong{font-size:15px}.club-perks span{font-size:13px;color:var(--ui-muted)}
.club-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}
.club-confetti i{position:absolute;left:var(--x);top:-25px;width:8px;height:16px;border-radius:2px;background:#dfbb62;animation:club-confetti 3.4s var(--delay) cubic-bezier(.18,.45,.46,1) both}
.club-confetti i:nth-child(3n){background:#83ad91}.club-confetti i:nth-child(3n + 1){width:6px;height:6px;background:#eee1b0}
@keyframes club-seal-in{from{opacity:0;transform:scale(.45) rotate(-24deg)}65%{opacity:1;transform:scale(1.07) rotate(4deg)}to{opacity:1;transform:scale(1) rotate(0)}}
@keyframes club-perk-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@keyframes club-confetti{from{opacity:0;transform:translateY(-20px) rotate(0)}12%{opacity:.85}to{opacity:0;transform:translateY(530px) rotate(var(--turn))}}
@media(max-width:540px){.club-welcome{padding:20px 4px}.club-seal{width:120px;height:120px;margin-bottom:24px}.club-perks{gap:8px}.club-perks>div{padding:12px 3px}.club-perks strong{font-size:12px}.club-perks span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.club-welcome *{animation:none!important}.club-confetti{display:none}}
:is(#modal-root,#modal-exit) .modal .ranked-match{background:var(--ui-raised);color:var(--ui-text);border:1px solid var(--ui-border);margin:20px 0 24px;padding:22px;border-radius:8px}
:is(#modal-root,#modal-exit) .modal .ranked-match :is(.eyebrow,.ranked-versus>b,.ranked-versus>span,.ranked-versus>div>b){color:var(--ui-text)}
:is(#modal-root,#modal-exit) .modal .ranked-match :is(p,.ranked-versus>div>small){color:var(--ui-muted)}
.ranked-match .ranked-versus>div{min-width:0;flex:1;align-items:center}.ranked-match .golfer-nameplate{max-width:100%}
@media(max-width:540px){:is(#modal-root,#modal-exit) .modal .ranked-match{padding:16px 10px}.ranked-match .ranked-versus{gap:10px}.ranked-match .golfer-nameplate{font-size:12px}.ranked-match .golfer-nameplate i{min-width:24px}}
@media(max-width:600px){.ranked-match .ranked-versus{flex-direction:column;gap:14px}.ranked-match .ranked-versus>div{width:100%;flex:auto}.ranked-match .golfer-nameplate{width:100%;box-sizing:border-box;justify-content:center}.ranked-match .golfer-nameplate strong{overflow-wrap:break-word}.ranked-match .ranked-versus>div>b{font-size:36px}.ranked-match .ranked-versus>span{font-size:12px}}
