/* Clubhouse Green: site-wide presentation layer. */
html.dmc-green-theme{color-scheme:light!important;background:#f4f2eb!important}
html.dmc-green-theme body.dmc-green-theme{
 --bg:#f4f2eb;--panel:#fff;--panel2:#eeeee6;--line:#dedcd3;--text:#18392f;--muted:#5f6f65;--soft:#425c50;--green:#164d3d;--green2:#21654f;--acid:#164d3d;--cyan:#164d3d;--red:#a43836;--shadow:0 5px 24px rgba(24,57,47,.06);
 --dmc-bg:#f4f2eb;--dmc-bg-raised:#fff;--dmc-surface:#fff;--dmc-surface-2:#f4f5ef;--dmc-surface-3:#e8efe7;--dmc-border:#dedcd3;--dmc-border-soft:#e8e6df;--dmc-text:#18392f;--dmc-muted:#5f6f65;--dmc-soft:#425c50;--dmc-green:#164d3d;--dmc-green-dark:#103c2e;--dmc-green-soft:#e8efe7;--dmc-red:#a43836;--dmc-red-soft:#fae9e5;--dmc-blue:#164d3d;--dmc-gold:#826523;--dmc-radius:12px;--dmc-shadow:0 5px 24px rgba(24,57,47,.06);
 background:#f4f2eb!important;color:#18392f!important;font-family:'DMC Inter',Inter,system-ui,sans-serif!important;
}
html.dmc-green-theme body :is(h1,h2,h3,h4){font-family:'DMC Inter',Inter,system-ui,sans-serif!important;letter-spacing:-.025em!important;color:#18392f}
html.dmc-green-theme body :is(input,select,textarea){color:#18392f!important;background:#fff!important;border-color:#c9d1c7!important;border-radius:8px!important;accent-color:#164d3d}
html.dmc-green-theme body :is(input,select,textarea):focus{outline:2px solid #164d3d!important;outline-offset:2px}
html.dmc-green-theme body :is(button,a,input,select,summary):focus-visible{outline:3px solid #826523!important;outline-offset:3px}
html.dmc-green-theme body :is(button,.btn,.button){box-shadow:none!important;text-shadow:none!important}
html.dmc-green-theme body :is(button:disabled,input:disabled){opacity:.5!important}
html.dmc-green-theme body :is(.card,.panel,.activity-panel,.activity-card,.pl-panel,.legal-card,.dmc-seo-card,.dmc-seo-hero-card,.training-card,.clubhouse-highlights){background:#fff!important;border:1px solid #dedcd3!important;border-radius:12px!important;box-shadow:0 4px 20px rgba(24,57,47,.045)!important;color:#18392f}
html.dmc-green-theme body :is(.activity-panel,.card,.panel)::before{background:none!important;box-shadow:none!important}
html.dmc-green-theme body :is(.dmc-site-header,.pl-top,.dmc-seo-top,.legal-top){background:#164d3d!important;border-color:#164d3d!important;box-shadow:0 2px 12px #18392f15!important;color:#fff!important}
html.dmc-green-theme body :is(.dmc-brand,.dmc-brand-name,.pl-brand,.dmc-seo-brand,.legal-brand){color:#fff!important}
html.dmc-green-theme body .dmc-brand-name{font-family:Georgia,serif!important;font-weight:normal!important;letter-spacing:-.025em;font-size:1.42rem}
html.dmc-green-theme body .dmc-brand-kicker{color:#d8e4d9!important;letter-spacing:.18em;font-size:.55rem}
html.dmc-green-theme body .dmc-brand-mark{background:#ffffff12!important;border-color:#ffffff40!important;box-shadow:none!important}
html.dmc-green-theme body .dmc-brand-mark svg{color:#fff!important}
html.dmc-green-theme body :is(.dmc-nav-link,.dmc-more>summary,.dmc-menu-button,.pl-nav a,.dmc-seo-nav a,.legal-back){color:#f7f8f2!important;background:transparent!important;border-color:#ffffff40!important}
html.dmc-green-theme body :is(.dmc-nav-link.is-active,.dmc-nav-link:hover,.dmc-more[open]>summary){background:#ffffff1f!important;color:#fff!important}
html.dmc-green-theme body :is(.btn-primary,.primary,.hero-cta:not(.secondary),.pl-btn-primary,#btnStart,#enterBtn,.key.enter,.key-enter,.btn-enter,.dmc-checkout-choices button){background:#164d3d!important;color:#fff!important;border-color:#164d3d!important}
html.dmc-green-theme body .dmc-new-match{background:#f4f2eb!important;color:#164d3d!important;border-color:#f4f2eb!important}
html.dmc-green-theme body :is(.dmc-more-menu,.dmc-primary-nav){box-shadow:none!important}
html.dmc-green-theme body .dmc-more-menu{background:#fff!important;border-color:#dedcd3!important;box-shadow:0 12px 30px #18392f20!important}
html.dmc-green-theme body .dmc-more-menu a{color:#18392f!important}
html.dmc-green-theme body .dmc-more-menu a:hover{background:#e8efe7!important}
html.dmc-green-theme body :is(.badge,.eyebrow,.clubhouse-badge){background:#e8efe7!important;color:#164d3d!important;border-color:#cbd9cb!important;text-shadow:none!important}
html.dmc-green-theme body .clubhouse-filter{background:#fff!important;color:#425c50!important;border-color:#dedcd3!important}
html.dmc-green-theme body .clubhouse-filter[aria-pressed=true]{background:#164d3d!important;color:#fff!important;border-color:#164d3d!important}
html.dmc-green-theme body :is(.clubhouse-highlight,.clubhouse-visit.is-highlight){background:#f0f4ec!important;border-color:#cbd9cb!important}
html.dmc-green-theme body .clubhouse-highlight strong{color:#164d3d!important}
html.dmc-green-theme body .clubhouse-highlights h3{color:#826523!important;font-size:.85rem!important}
html.dmc-green-theme body :is(.darts-session-box,.darts-login-modal,.darts-login-card){color:#18392f!important;background:#fff!important;border-color:#dedcd3!important;box-shadow:none!important}
html.dmc-green-theme body .darts-session-box{padding:9px 12px!important;margin:8px 0 16px!important;border-radius:9px!important;font-size:.8rem!important}
html.dmc-green-theme body .darts-session-box span{color:#5f6f65!important}
html.dmc-green-theme body .darts-session-box .darts-session-btn{color:#164d3d!important;background:#e8efe7!important;border-color:#cbd9cb!important;min-height:40px}
html.dmc-green-theme body .darts-login-modal button{background:#164d3d!important;color:#fff!important}
html.dmc-green-theme body .dmc-green-home-heading{margin:18px 0 24px;padding:0}
html.dmc-green-theme body .dmc-green-home-heading h1{font-family:Georgia,serif!important;font-size:clamp(2rem,3.5vw,3.1rem)!important;font-weight:normal!important;line-height:1.1!important;margin:0 0 10px!important}
html.dmc-green-theme body .dmc-green-home-heading .lead{font-size:.95rem!important;line-height:1.6;max-width:65ch;margin:0!important;color:#5f6f65!important}
html.dmc-green-theme body .dmc-green-home-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:24px;align-items:start}
html.dmc-green-theme body.dmc-page-index :is(.hero,.intro){padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;min-height:0!important;display:block!important}
html.dmc-green-theme body.dmc-page-index .intro:before,html.dmc-green-theme body.dmc-page-index .intro:after{display:none!important}
html.dmc-green-theme body.dmc-page-index .intro>.eyebrow,html.dmc-green-theme body.dmc-page-index .hero-actions{display:none!important}
html.dmc-green-theme body.dmc-page-index .intro>.card{margin:0!important;padding:22px!important;max-width:none!important}
html.dmc-green-theme body.dmc-page-index .card-head{margin:0 0 18px!important}
html.dmc-green-theme body.dmc-page-index .card-head h2{font-size:1.35rem!important}
html.dmc-green-theme body.dmc-page-index #startForm{gap:13px!important}
html.dmc-green-theme body.dmc-page-index #startForm :is(fieldset,.player-profile-box){background:#f7f8f3!important;border-color:#dedcd3!important;box-shadow:none!important}
html.dmc-green-theme body.dmc-page-index #startForm input{min-height:44px!important}
html.dmc-green-theme body.dmc-page-index #startForm input[type=radio]{min-height:20px!important}
html.dmc-green-theme body.dmc-page-index #startForm .actions{gap:10px!important;flex-wrap:wrap}
html.dmc-green-theme body.dmc-page-index #btnStart{min-height:48px!important;border-radius:8px!important}
html.dmc-green-theme body .dmc-profile-collapsible:not(.dmc-profile-open) :is(.profile-password-wrap,.reserve-form){display:none!important}
html.dmc-green-theme body .dmc-profile-more{background:#fff!important;color:#164d3d!important;border:1px solid #cbd9cb!important;border-radius:7px;padding:8px 12px;cursor:pointer;min-height:40px;font:600 .8rem 'DMC Inter',sans-serif}
html.dmc-green-theme body.dmc-page-index #clubhousePanel{margin:0!important;padding:20px!important}
html.dmc-green-theme body.dmc-page-index #activityTitle{font-size:1.35rem!important}
html.dmc-green-theme body.dmc-page-index .activity-feed{grid-template-columns:1fr!important;gap:10px!important}
html.dmc-green-theme body.dmc-page-index .activity-card{padding:14px!important;min-height:0!important}
html.dmc-green-theme body.dmc-page-index .clubhouse-highlight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
html.dmc-green-theme body.dmc-page-index .clubhouse-highlights{padding:12px!important;margin:14px 0!important;box-shadow:none!important}
html.dmc-green-theme body .dmc-green-feed-toggle{width:100%;min-height:44px;margin-top:12px;background:#f4f5ef;color:#164d3d;border:1px solid #dedcd3;border-radius:8px;font:600 .85rem 'DMC Inter',sans-serif;cursor:pointer}
html.dmc-green-theme body .dmc-green-feed-toggle[hidden]{display:none!important}
html.dmc-green-theme body .dmc-green-feed-compact .activity-card:nth-child(n+5){display:none!important}
html.dmc-green-theme body.dmc-page-index .quick-links{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:24px 0!important}
html.dmc-green-theme body.dmc-page-index .quick{min-height:96px!important;background:#fff!important;border:1px solid #dedcd3!important;border-radius:10px!important;box-shadow:none!important;padding:16px!important}
html.dmc-green-theme body.dmc-page-index .quick strong{color:#164d3d!important;font-family:'DMC Inter',sans-serif!important;font-size:1rem!important}
html.dmc-green-theme body.dmc-page-index .quick span{color:#5f6f65!important;font-size:.78rem!important}
html.dmc-green-theme body.dmc-page-mobile-score .mini-player{background:#fff!important;border:1px solid #cbd9cb!important;color:#18392f!important;opacity:1!important;box-shadow:none!important}
html.dmc-green-theme body.dmc-page-mobile-score .mini-player.active{background:#164d3d!important;border-color:#164d3d!important;color:#fff!important}
html.dmc-green-theme body.dmc-page-mobile-score .mini-player.active :is(.name,.remaining,.legs){color:#fff!important}
html.dmc-green-theme body.dmc-page-mobile-score .key{background:#fff!important;color:#18392f!important;border:1px solid #d5dbd1!important;box-shadow:0 2px 0 #d5dbd1!important;border-radius:10px!important}
html.dmc-green-theme body.dmc-page-mobile-score :is(.key.enter,.key-enter,.btn-enter,#btnEnter){background:#164d3d!important;color:#fff!important;border-color:#164d3d!important}
html.dmc-green-theme body.dmc-page-mobile-score :is(.key.bust,.key-bust){background:#fae9e5!important;color:#a43836!important}
html.dmc-green-theme body.dmc-page-mobile-score .entry-display{background:#fff!important;color:#18392f!important;border-color:#cbd9cb!important}
html.dmc-green-theme body.dmc-page-mobile-score .entry-value{color:#18392f!important;font-variant-numeric:tabular-nums}
html.dmc-green-theme body :is(.dmc-checkout-dialog,.darts-login-card){background:#fff!important;color:#18392f!important;border-color:#cbd9cb!important}
html.dmc-green-theme body .dmc-checkout-dialog::backdrop{background:rgba(15,42,32,.6)!important}
html.dmc-green-theme body .dmc-checkout-cancel{background:#f4f2eb!important;color:#18392f!important}
@media(max-width:900px){html.dmc-green-theme body .dmc-green-home-grid{grid-template-columns:1fr;gap:20px}html.dmc-green-theme body.dmc-page-index .quick-links{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:720px){
 html.dmc-green-theme body :is(input,select,textarea){font-size:16px!important}
 html.dmc-green-theme body .dmc-primary-nav{background:#164d3d!important}
 html.dmc-green-theme body .dmc-header-inner{min-height:62px!important}
 html.dmc-green-theme body .dmc-brand-name{font-size:1.1rem!important}
 html.dmc-green-theme body .dmc-green-home-heading{margin:12px 0 18px}
 html.dmc-green-theme body .dmc-green-home-heading h1{font-size:2rem!important}
 html.dmc-green-theme body .dmc-green-home-heading .lead{font-size:.85rem!important}
 html.dmc-green-theme body.dmc-page-index .intro>.card,html.dmc-green-theme body.dmc-page-index #clubhousePanel{padding:16px!important}
 html.dmc-green-theme body.dmc-page-index .clubhouse-filters{gap:5px}
 html.dmc-green-theme body.dmc-page-index .quick{padding:12px!important;min-height:92px!important}
}
@media(prefers-reduced-motion:reduce){html.dmc-green-theme *{scroll-behavior:auto!important}}
html.dmc-green-theme body .darts-session-box strong{color:#18392f!important}
html.dmc-green-theme body :is(.darts-login-card p,.darts-login-card label){color:#5f6f65!important}
html.dmc-green-theme body :is(.darts-login-error,.error,.status.error){color:#a43836!important}
html.dmc-green-theme body .darts-login-backdrop{background:rgba(15,42,32,.6)!important}
html.dmc-green-theme body .darts-login-actions .darts-session-btn{background:#f4f2eb!important;color:#18392f!important;border-color:#dedcd3!important}
html.dmc-green-theme body .darts-login-actions .darts-session-btn.primary{background:#164d3d!important;color:#fff!important;border-color:#164d3d!important}
html.dmc-green-theme body :is(.mirror-btn-primary,.history-btn-primary,.remote-btn-primary,.practice-key-enter){background:#164d3d!important;color:#fff!important}
html.dmc-green-theme body .dmc-result-card-dialog{background:#fff!important;color:#18392f!important;border-color:#dedcd3!important;box-shadow:0 16px 60px #18392f33!important}
html.dmc-green-theme body .dmc-result-card-actions button:first-child{background:#164d3d!important;color:#fff!important}
html.dmc-green-theme body .training-drill{--drill-accent:#164d3d!important;--drill-glow:#164d3d0d!important}
html.dmc-green-theme body .dmc-seo-brand small{color:#d8e4d9!important}
html.dmc-green-theme body :is(.pl-top,.dmc-seo-top,.legal-top){padding-left:16px;padding-right:16px;border-radius:0 0 12px 12px}

/* Desktop layout correction: lower panels span the page, cards keep readable text. */
@media(min-width:901px){
 html.dmc-green-theme body.dmc-page-index > main.page > .unfinished-panel{width:100%;min-width:0;box-sizing:border-box}
 html.dmc-green-theme body.dmc-page-index > main.page > .unfinished-panel .unfinished-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html.dmc-green-theme body.dmc-page-index .unfinished-card{display:flex!important;flex-direction:column;align-items:stretch!important;justify-content:space-between;gap:16px!important;min-width:0;border-color:#dedcd3!important;border-radius:10px!important}
 html.dmc-green-theme body.dmc-page-index .unfinished-card > div{min-width:0;width:100%}
 html.dmc-green-theme body.dmc-page-index .unfinished-title{line-height:1.45;overflow-wrap:anywhere}
 html.dmc-green-theme body.dmc-page-index .unfinished-meta{line-height:1.6;overflow-wrap:anywhere}
 html.dmc-green-theme body.dmc-page-index .unfinished-links{display:flex!important;flex-wrap:wrap;justify-content:flex-start!important;gap:8px!important}
 html.dmc-green-theme body.dmc-page-index .unfinished-link{flex:0 1 auto;min-height:44px;white-space:normal}
 html.dmc-green-theme body.dmc-page-index .unfinished-head > div:first-child{min-width:0;flex:1}
 html.dmc-green-theme body.dmc-page-index .unfinished-head > .unfinished-actions{flex:0 0 auto}
}
@media(min-width:1180px){html.dmc-green-theme body.dmc-page-index > main.page > .unfinished-panel .unfinished-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* Keep the desktop clubhouse beside setup without an oversized empty column. */
@media(min-width:901px){
 html.dmc-green-theme body.dmc-page-index .dmc-green-home-grid{align-items:stretch}
 html.dmc-green-theme body.dmc-page-index #clubhousePanel{contain:size;min-height:660px;min-width:0;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden}
 html.dmc-green-theme body.dmc-page-index #clubhousePanel > :not(#activityFeed){flex-shrink:0}
 html.dmc-green-theme body.dmc-page-index #activityFeed{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;align-content:start;scrollbar-gutter:stable;padding-right:6px}
 html.dmc-green-theme body.dmc-page-index #activityFeed:focus-visible{outline:2px solid #164d3d;outline-offset:2px}
 html.dmc-green-theme body.dmc-page-index #startForm button#btnStart{background:#164d3d!important;color:#fff!important;border-color:#164d3d!important;box-shadow:none!important}
}

/* Reserve usable feed space; weekly summaries must never squeeze it away. */
@media(min-width:901px){
 html.dmc-green-theme body.dmc-page-index .dmc-green-home-grid{align-items:start}
 html.dmc-green-theme body.dmc-page-index #clubhousePanel{contain:none;min-height:0;overflow:visible;align-self:start}
 html.dmc-green-theme body.dmc-page-index #activityFeed{flex:0 0 320px;height:320px;min-height:320px;max-height:320px;overflow-y:auto;overflow-x:hidden}
 html.dmc-green-theme body.dmc-page-index .clubhouse-highlight-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 html.dmc-green-theme body.dmc-page-index .clubhouse-highlight{padding:9px;overflow-wrap:anywhere}
 html.dmc-green-theme body.dmc-page-index .clubhouse-filter{font-size:.8rem;padding:7px 9px;min-height:40px}
}

/* Scroll full cards rather than shrinking grid rows into the viewport. */
@media(min-width:901px){
 html.dmc-green-theme body.dmc-page-index #activityFeed{display:block!important}
 html.dmc-green-theme body.dmc-page-index #activityFeed .activity-card{height:auto!important;min-height:132px!important;margin:0 0 10px!important;overflow:visible!important;box-sizing:border-box}
 html.dmc-green-theme body.dmc-page-index #activityFeed .activity-card:last-child{margin-bottom:0!important}
}
