:root{--forest:#143b33;--forest2:#0f2c28;--lime:#d6f598;--lime2:#b9e771;--ink:#173c31;--muted:#68786d;--paper:#f5f6f1;--line:#e1e7dd;--white:#fff;--red:#9b453e;--gold:#936e2a;--shadow:0 16px 45px #14352b0e;font-family:'DM Sans',system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--paper);font-size:15px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}input,textarea{background:white;border:1.5px solid #d9e2d8;border-radius:13px;min-height:47px;padding:12px 14px;outline:none;color:var(--ink);width:100%}input:focus,textarea:focus{border-color:#7daa7a;box-shadow:0 0 0 3px #d5eebb}input[type=checkbox]{width:18px;min-height:auto;accent-color:#2b6b51}button:focus-visible,a:focus-visible{outline:3px solid #8ccf58;outline-offset:3px}a{color:inherit}.small{font-size:13px}.muted{color:var(--muted)}.tiny{font-size:11px}.center{text-align:center}.hidden{display:none!important}.logotype{font-family:'Outfit',sans-serif;font-size:36px;letter-spacing:-2px;line-height:1;font-weight:800}.logotype span{color:var(--lime2)}.startup{min-height:100vh;display:grid;align-content:center;justify-items:center;color:var(--forest)}.startup p{color:var(--muted)}.btn{border:0;border-radius:13px;padding:12px 18px;min-height:46px;font-size:14px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;transition:transform .18s,filter .18s}.btn:hover:not(:disabled){filter:brightness(.98);transform:translateY(-1px)}.btn.primary{background:var(--forest);color:#fff}.btn.lime{background:var(--lime);color:#17382d}.btn.soft{background:#eaf1e7;color:var(--ink)}.btn.outline{background:white;border:1px solid #cbd9ca;color:var(--ink)}.btn.danger{color:var(--red);border:1px solid #f1d4ce;background:#fff}.btn.full{width:100%}.btn.sm{padding:7px 12px;min-height:34px;font-size:12px}.badge{font-size:11px;font-weight:800;display:inline-flex;gap:5px;align-items:center;border-radius:100px;padding:6px 10px;background:#edf3e9;color:#417047;white-space:nowrap}.badge.amber{background:#fff2db;color:#916c2a}.badge.muted{background:#edf0eb;color:#5a685c}.badge.blue{background:#e9f3f9;color:#2a667e}.badge.red{background:#fbebea;color:var(--red)}.divider{height:1px;background:var(--line);margin:17px 0}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:'Outfit',sans-serif;letter-spacing:-.035em}h1{font-size:clamp(31px,4vw,46px);line-height:1.07;margin-bottom:11px}h2{font-size:25px;margin-bottom:12px}h3{font-size:18px;margin-bottom:10px}.eyebrow{font-size:11px;letter-spacing:.13em;text-transform:uppercase;font-weight:800;color:#86a494}.card{background:white;border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:var(--shadow)}.card.flat{box-shadow:none}.card-title{font-weight:800;font-size:17px;letter-spacing:-.02em}.stack{display:grid;gap:14px}.flex{display:flex;gap:10px;align-items:center}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.spacer{height:16px}.alert{padding:14px 16px;border-radius:13px;font-size:13px;background:#f0f5e8;border:1px solid #d7e4ca;line-height:1.5}.alert.warning{background:#fff8eb;border-color:#eedfc0;color:#775927}.alert.error{background:#fff0ee;border-color:#f4d5d2;color:var(--red)}.tag{font-size:12px;border-radius:9px;background:#f0f4ee;padding:7px 10px;color:#4d6455;display:inline-flex;align-items:center;gap:5px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%) translateY(30px);background:#17372e;color:#fff;padding:13px 20px;border-radius:12px;opacity:0;pointer-events:none;transition:.2s;z-index:100;width:max-content;max-width:90vw;box-shadow:var(--shadow);font-size:13px}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fff}.auth-hero{background:radial-gradient(circle at 80% 80%,#28574e,#10362e 60%,#0e2b29);color:white;padding:clamp(26px,5vw,80px);position:relative;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.auth-hero:after{content:'';position:absolute;border-radius:50%;width:560px;height:560px;top:22%;right:-240px;border:1px solid #ffffff2a;box-shadow:0 0 0 74px #ffffff08,0 0 0 145px #ffffff06}.auth-hero .logotype{font-size:52px;position:relative;z-index:1}.auth-message{position:relative;z-index:1;max-width:560px}.auth-message h1{font-size:clamp(39px,4.5vw,64px);line-height:1.02}.auth-message p{font-size:17px;color:#c6ded2;max-width:390px;line-height:1.5}.auth-lead{border-left:3px solid var(--lime);padding:10px 0 10px 18px;color:#e7f5e7;max-width:410px}.auth-content{display:grid;place-items:center;padding:38px 22px}.auth-box{width:min(100%,430px)}.auth-box .intro{margin-bottom:26px}.auth-box h2{font-size:32px}.auth-box label{display:block;font-size:12px;font-weight:800;margin:0 0 7px}.auth-box .field{margin-bottom:17px}.auth-toggle{margin-top:20px;text-align:center;color:var(--muted);font-size:13px}.textlink{background:none;border:0;color:#286847;font-weight:800;text-decoration:underline;padding:0}.legal{display:flex;gap:8px;align-items:flex-start;color:#556b5e;margin:10px 0 18px}.legal input{margin-top:2px;flex:none}.app-shell{display:grid;grid-template-columns:243px minmax(0,1fr);max-width:1470px;margin:0 auto;min-height:100vh}.sidebar{background:var(--forest2);color:#eff8ef;padding:32px 20px;display:flex;flex-direction:column;gap:36px;position:sticky;top:0;height:100vh}.sidebar .logotype{padding-left:12px}.sidebar .sublogo{font-size:11px;letter-spacing:.05em;color:#b1cdbd;margin:7px 0 0 13px}.nav{display:grid;gap:5px}.nav button{color:#d6e5da;background:transparent;text-align:left;border:0;border-radius:12px;padding:13px 15px;font-weight:750;display:flex;gap:12px;align-items:center;font-size:14px}.nav button.active{background:#294e43;color:var(--lime)}.nav button:hover{background:#285045}.sidebar .sidebar-foot{margin-top:auto;background:#224238;border-radius:16px;padding:16px;color:#b6d2c0;font-size:12px;line-height:1.5}.content{padding:42px clamp(22px,5vw,65px) 85px;max-width:1150px;width:100%;margin:0 auto}.topline{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}.topline .userchip{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:800}.avatar{height:39px;width:39px;display:grid;place-items:center;border-radius:50%;background:#e1ecdf;font-weight:850;color:#397051;flex-shrink:0}.hero{background:linear-gradient(115deg,#113a31,#174337);border-radius:28px;padding:34px;color:#f7fff5;display:grid;grid-template-columns:1fr 170px;gap:20px;overflow:hidden;position:relative;min-height:236px}.hero:after{content:'';position:absolute;width:270px;height:270px;border:1px solid #a2cba53c;border-radius:50%;right:-55px;top:-140px;box-shadow:0 0 0 48px #ffffff09,0 0 0 100px #ffffff05}.hero h1{font-size:clamp(28px,3vw,38px);margin:8px 0}.hero p{font-size:14px;line-height:1.6;color:#d1e3d7;max-width:550px;margin-bottom:17px}.hero .eyebrow{color:var(--lime)}.agent-icon{width:150px;height:150px;border-radius:50%;border:1px solid #719586;display:grid;place-items:center;align-self:center;justify-self:center;z-index:1}.agent-icon span{border-radius:28px;background:var(--lime);color:var(--forest2);font-family:Outfit,sans-serif;font-weight:800;font-size:68px;width:88px;height:88px;display:grid;place-items:center;transform:rotate(-10deg)}.columns{display:grid;grid-template-columns:1fr 1fr;gap:17px}.statlist{display:grid;gap:11px}.statline{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid #eef0e9}.statline:last-child{border-bottom:0}.statline .muted{font-size:13px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:26px 0 14px}.section-head h2{font-size:22px;margin:0}.empty{border:1px dashed #cbd9ca;border-radius:17px;background:#fbfcf9;padding:32px 20px;text-align:center}.empty .symbol{font-size:29px;margin-bottom:12px}.empty h3{margin:0 0 5px}.empty p{color:var(--muted);font-size:13px;line-height:1.5;max-width:460px;margin:0 auto 12px}.format-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.game{border:1px solid var(--line);border-radius:16px;padding:20px;background:#fff;margin-bottom:12px}.game h3{margin:0 0 7px}.game .meta{color:var(--muted);font-size:13px;line-height:1.6}.game-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}.roster{display:grid;gap:8px;margin:14px 0}.roster .person{display:flex;align-items:center;gap:9px;background:#f7f9f5;border-radius:11px;padding:10px}.person .avatar{height:33px;width:33px;font-size:12px}.person .info{flex:1;min-width:0}.person .info b{font-size:13px;display:block}.person .info span{font-size:11px;color:var(--muted)}.help{font-size:12px;color:var(--muted);margin-top:7px;line-height:1.5}.setup{max-width:850px;margin:0 auto}.setup-head{text-align:center;margin-bottom:27px}.setup-head h1{margin:10px 0}.number{height:29px;width:29px;background:var(--forest);color:white;border-radius:9px;display:inline-grid;place-items:center;font-size:12px;margin-right:10px;font-weight:800}.step{margin-bottom:15px}.step h3{display:flex;align-items:center;margin:0 0 17px;font-size:18px}.step .hint{color:var(--muted);font-size:13px;margin:5px 0 16px}.select-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.select-card{border:1.5px solid var(--line);border-radius:15px;background:#fafbf8;padding:20px 12px;text-align:center;cursor:pointer;display:grid;gap:7px;justify-items:center}.select-card.selected{border-color:#5d985a;background:#eff9e7}.select-card .symbol{font-size:27px}.select-card b{font-size:14px}.select-card small{color:#698074}.subfield{background:#f7faf4;border:1px solid #e2eddf;border-radius:13px;margin-top:12px;padding:14px}.subfield label{font-size:13px;font-weight:800}.choice-row{display:flex;flex-wrap:wrap;gap:8px}.choice{border:1px solid #d5e3d1;border-radius:11px;background:#fff;color:#49614e;padding:11px 15px;font-size:13px;font-weight:750}.choice.selected{background:var(--lime);border-color:#a9d67e;color:#173b2e}.choice:disabled{opacity:.6}.level-block{border:1px solid #e1e9de;border-radius:14px;padding:15px;margin-top:12px}.level-block h4{font-size:14px;margin:0 0 13px;display:flex;align-items:center;gap:7px}.level-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.level{border:1px solid #e0e7d9;background:#f9faf7;border-radius:11px;padding:10px 8px;min-height:65px;text-align:center;font-size:11px;color:var(--ink)}.level strong{display:block;font-size:18px;font-weight:850}.level.active{border-color:#8ebc6d;background:#e8f6d8}.level-help{background:#f4f8ee;padding:10px;border-radius:9px;font-size:12px;color:#536b57;margin-top:10px}.fieldgroup{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:13px}.label{font-size:12px;display:block;font-weight:800;margin:0 0 7px}.daygrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.daybtn{border:1px solid #dbe6d9;background:#fff;border-radius:12px;min-height:49px;font-size:12px;font-weight:850;color:#587063}.daybtn.selected{background:var(--forest);color:white;border-color:var(--forest)}.timebtn{border:1px solid #dbe6d9;background:#fff;border-radius:12px;padding:12px;font-size:13px;font-weight:700}.timebtn.selected{background:#e3f4ce;border-color:#80b777;color:#28503a}.note{font-size:12px;color:#718375;line-height:1.5}.onboard-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:22px}.onboard-actions .btn{min-width:190px}.settings-section{margin-bottom:20px}.settings-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.toggle{display:flex;gap:8px;align-items:center;font-size:13px}.full-bleed-mobile{display:none}dialog{border:0;max-width:430px;width:calc(100vw - 30px);border-radius:20px;padding:24px;box-shadow:0 25px 80px #183c3150}dialog::backdrop{background:#122e2580}.roster-button{border:0;background:none;text-align:left;padding:0;cursor:pointer;color:var(--forest);font-weight:800;text-decoration:underline;text-underline-offset:2px}@media(max-width:1080px){.app-shell{grid-template-columns:200px minmax(0,1fr)}.content{padding:30px 22px 85px}.columns{grid-template-columns:1fr}}@media(max-width:760px){.auth-layout{grid-template-columns:1fr}.auth-hero{min-height:235px;padding:27px 25px 22px}.auth-hero .logotype{font-size:43px}.auth-hero .auth-message h1{font-size:32px}.auth-message p{font-size:13px}.auth-lead{display:none}.auth-content{align-items:start;padding:27px 20px 60px}.app-shell{display:block}.sidebar{display:none}.content{padding:25px 15px 100px}.topline{margin-bottom:20px}.topline .eyebrow{font-size:10px}.hero{grid-template-columns:1fr;min-height:auto;padding:26px 22px}.hero .agent-icon{position:absolute;right:-28px;top:14px;transform:scale(.56);opacity:.5;pointer-events:none}.hero h1{font-size:28px;max-width:270px}.hero p{max-width:300px}.card{padding:19px;border-radius:19px}.full-bleed-mobile{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:25;justify-content:space-around;background:#13362e;padding:9px 10px calc(9px + env(safe-area-inset-bottom));box-shadow:0 -10px 30px #142c2017}.full-bleed-mobile button{display:grid;place-items:center;gap:4px;border:0;background:transparent;color:#cadbd1;padding:5px 10px;font-size:10px;font-weight:700}.full-bleed-mobile button.active{color:var(--lime)}.full-bleed-mobile button .sym{font-size:20px}.setup-head h1{font-size:31px}.select-cards{gap:7px}.select-card{padding:15px 5px}.select-card .symbol{font-size:23px}.daygrid{gap:5px}.daybtn{font-size:11px;min-height:46px}.fieldgroup{grid-template-columns:1fr}.level-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.level{padding:10px 3px;font-size:9.5px}.level strong{font-size:16px}.onboard-actions .btn{width:100%}.onboard-actions{display:block}.onboard-actions>div{margin-bottom:10px}.card-title{font-size:16px}.game-actions .btn{flex:1}.toast{bottom:70px}}@media(max-width:360px){.daybtn{font-size:10px;min-height:43px}.select-card b{font-size:12px}.level{font-size:9px}}

/* Pilot consent, compact and accessible on mobile */
.pilot-consent-panel{border:1px solid #b8d8bd;background:#fbfef8}.pilot-info{border:1px solid #dfebd9;border-radius:12px;background:#f0f7e9;padding:14px 16px;font-size:13px;line-height:1.6;margin-top:12px;margin-bottom:10px;color:#254a38}.pilot-consent-panel .btn{margin-top:12px}.pilot-consent-panel .settings-head{align-items:flex-start}@media(max-width:520px){.pilot-consent-panel .btn{width:100%}.pilot-consent-panel .settings-head{gap:7px;flex-wrap:wrap}}

/* LUDO Game Captain V7 — visible only to accepted game members */
.captain-panel{border:1px solid rgba(70,116,98,.25);border-radius:16px;padding:16px;margin:14px 0;background:rgba(100,153,124,.065)}
.captain-panel.booked{background:rgba(116,183,130,.12)}
.captain-panel .field{margin-top:10px}
.captain-panel .field input{width:100%}
.captain-panel .legal{margin:12px 0;display:flex;align-items:flex-start;gap:8px}
.captain-panel .legal input{width:18px;min-width:18px;margin:3px 0}
.captain-panel .btn{margin-top:8px}

/* LUDO V8: optional membership chips, accessible club recommendation panel */
.venue-suggestions{background:#f5faf1;border:1px solid #dbe9d3;border-radius:14px;padding:15px;margin-top:15px}
.venue-suggestions>b{font-size:13px;color:#1e4937}
.venue-option{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid #e0eadb;font-size:13px}
.venue-option:first-of-type{margin-top:10px}
.venue-option .help{margin-top:3px}
.venue-option a{flex:none;color:#1f6446;text-decoration:underline;font-size:12px;font-weight:800}
.captain-panel select{width:100%;padding:12px;border:1px solid #cdded2;border-radius:12px;background:white;color:#17392f}
@media(max-width:520px){.venue-option{align-items:flex-start;flex-direction:column;gap:5px}.venue-option a{padding:4px 0}}

/* V9: exact-club membership, optional request for unlisted clubs. */
.membership-picker{margin-top:15px;background:#f8faf5;border:1px solid #d9e5d4;border-radius:13px;padding:14px}
.membership-picker>input{width:100%;margin-bottom:10px}
.membership-picker .club-choices{margin:13px 0}
.club-add-box{background:white;border:1px solid #dee9d9;border-radius:12px;padding:14px;margin-top:14px}
.club-add-box b{font-size:13px}
.club-add-box input,.club-add-box select{width:100%;min-width:0}
@media(max-width:600px){.club-add-box .fieldgroup{grid-template-columns:1fr}}

/* LUDO V10 — prominent captain-reported venue, date and court for all participants */
.games-tools{display:flex;justify-content:flex-end;margin:-7px 0 13px}
.confirmed-game{background:#f2faee;border:1.5px solid #b6d9a8;border-radius:16px;margin:16px 0;padding:19px;color:#193c2c}
.confirmed-title{display:flex;gap:12px;align-items:flex-start;margin-bottom:15px}
.confirmed-title>span{width:30px;height:30px;flex:none;display:grid;place-items:center;border-radius:50%;background:#d3edc3;color:#205b35;font-weight:900}
.confirmed-title b{font-size:16px;line-height:1.4}
.confirmed-title p{font-size:12px;color:#496957;margin:3px 0 0;line-height:1.5}
.confirmed-fields{display:grid;grid-template-columns:1fr 1.35fr .75fr;gap:8px}
.confirmed-field{border:1px solid #d4e8cb;background:white;border-radius:12px;padding:13px;min-width:0}
.confirmed-field>span{display:block;font-size:10px;font-weight:850;color:#587460;letter-spacing:.09em;margin-bottom:6px}
.confirmed-field strong{display:block;font-size:15px;line-height:1.4;overflow-wrap:anywhere}
.confirmed-field small{display:block;color:#617868;line-height:1.55;font-size:11px;margin-top:5px}
.confirmed-footer{border-top:1px solid #cfdfcb;margin-top:14px;padding-top:13px;display:flex;gap:11px;align-items:center;flex-wrap:wrap}
.confirmed-footer span{font-size:11px;color:#577260;line-height:1.55;flex:1;min-width:175px}
@media(max-width:700px){.confirmed-fields{grid-template-columns:1fr}.confirmed-game{padding:14px}.confirmed-field{padding:12px}.games-tools .btn{width:100%}}

/* LUDO V10.1 – mobile-friendly calendar choices */
#calendarDialog{width:min(420px,calc(100vw - 32px));max-height:80vh;overflow-y:auto;color:var(--ink)}
#calendarDialog h3{margin:0 0 12px}#calendarDialog .small{line-height:1.6}
.calendar-choice-stack{display:grid;gap:9px;margin:18px 0}
#calendarDialog>.btn,#calendarDetail>.btn{margin-top:12px}


/* LUDO V12.1 — unmistakable, accessible email preference switches */
.email-consent-panel{border:1px solid #d5e3d4;background:#fff}
.email-consent-panel .settings-head{align-items:flex-start}
.email-consent-panel .settings-head h3{margin-bottom:5px}
.email-consent-panel .settings-head p{margin:0}
.email-delivery-note{display:flex;align-items:flex-start;gap:11px;background:#f6f4ec;border:1px solid #e6deca;border-radius:13px;padding:13px 15px;margin:18px 0;color:#69592d}
.email-delivery-note>span{font-size:19px;line-height:1.1}
.email-delivery-note strong{font-size:12px;letter-spacing:.01em}
.email-delivery-note p{font-size:12px;line-height:1.55;margin:5px 0 0;color:#776747}
.email-choice{background:#fbfcfa;border:1.5px solid #e0e7df;border-radius:16px;padding:18px 19px;margin-top:12px}
.email-choice.is-on{border-color:#9dcc9d;background:#f4faef}
.email-choice-header{display:flex;align-items:center;justify-content:space-between;gap:20px}
.email-choice-copy{flex:1;min-width:0}
.email-choice-copy h4{font:800 16px 'Outfit',sans-serif;color:#183f30;letter-spacing:-.02em;margin:0 0 5px}
.email-choice-copy p{font-size:13px;line-height:1.55;color:#627669;margin:0}
.email-switch{width:64px;height:36px;min-width:64px;flex:none;border-radius:100px;padding:4px;border:2px solid #abb8ad;background:#d7dfd7;position:relative;transition:background .18s,border-color .18s;cursor:pointer}
.email-switch.is-on{background:#21734f;border-color:#21734f}
.email-switch-thumb{display:block;width:24px;height:24px;background:#fff;border-radius:50%;box-shadow:0 2px 6px #102f292e;transition:transform .18s}
.email-switch.is-on .email-switch-thumb{transform:translateX(28px)}
.email-switch:focus-visible{outline:3px solid #87c44b;outline-offset:4px}
.email-switch:disabled{opacity:.6;cursor:wait}
.email-choice-state{display:flex;gap:7px;align-items:center;flex-wrap:wrap;border-top:1px solid #e4ece0;padding-top:12px;margin-top:14px;color:#6b786e;font-size:12px;line-height:1.5}
.email-choice-state strong{color:#536359;letter-spacing:.025em;font-size:12px}
.email-choice.is-on .email-choice-state strong{color:#1d7349}
.email-state-indicator{display:inline-block;flex:none;width:9px;height:9px;background:#a5b1a7;border-radius:50%}
.email-choice.is-on .email-state-indicator{background:#2e985f}
.email-choice-state>span:last-child{flex-basis:100%;margin-left:16px}
.email-settings-footnote{margin:16px 3px 0;line-height:1.6}
@media(max-width:520px){
 .email-choice{padding:15px 14px}
 .email-choice-header{gap:12px}
 .email-switch{width:58px;min-width:58px;height:34px;padding:3px}
 .email-switch-thumb{width:24px;height:24px}
 .email-switch.is-on .email-switch-thumb{transform:translateX(24px)}
 .email-choice-copy h4{font-size:15px}
 .email-delivery-note{margin:14px 0}
}

/* V12.2: consistent, explicit ON/OFF controls throughout Preferences. */
.permanent-toggle{border:1.5px solid #e0e7df;background:#fff}
.permanent-toggle.is-on{border-color:#9dcc9d;background:#f8fcf5}
.permanent-toggle .settings-head{align-items:flex-start}
.permanent-toggle .settings-head>div{flex:1;min-width:0}
.permanent-toggle .settings-head h3{margin:0 0 7px}
.permanent-toggle .settings-head p{margin:0;line-height:1.5}
.permanent-toggle .email-choice-state{margin-top:15px}
.permanent-toggle.is-on .email-choice-state strong{color:#21734f}
.permanent-toggle.is-on .email-state-indicator{background:#2e985f}
.form-switch-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px;border:1.5px solid #dfe7dc;border-radius:14px;background:#fbfcfa;cursor:pointer;margin:12px 0}
.form-switch-copy{flex:1;min-width:0;display:grid;gap:4px}
.form-switch-copy strong{color:#183f30;font-size:14px;line-height:1.4}
.form-switch-copy>span{font-size:12px;line-height:1.5;color:var(--muted)}
.form-switch-state{font-size:11px;color:#3b6e53;font-weight:800;margin-top:4px;line-height:1.4}
.form-switch-control{position:relative;display:block;flex:none;width:64px;height:36px}
.form-switch-control input{position:absolute;inset:0;width:100%;height:100%;z-index:2;opacity:0;cursor:pointer;margin:0}
.form-switch-control .email-switch{display:block;pointer-events:none}
.form-switch-control input:checked + .email-switch{background:#21734f;border-color:#21734f}
.form-switch-control input:checked + .email-switch .email-switch-thumb{transform:translateX(28px)}
.form-switch-control input:focus-visible + .email-switch{outline:3px solid #87c44b;outline-offset:4px}
@media(max-width:520px){
 .permanent-toggle .settings-head{gap:12px;flex-wrap:nowrap}
 .form-switch-row{gap:12px;padding:13px 12px}
 .form-switch-control{width:58px;height:34px}
 .form-switch-control input:checked + .email-switch .email-switch-thumb{transform:translateX(24px)}
}


/* LUDO V13 — glanceable game status: important information first, no added user steps. */
.next-game-card{margin:17px 0 4px;background:#f7fbf4;border:1.5px solid #c6dec1;border-radius:19px;padding:22px 25px;max-width:100%}
.next-game-card.next-game-action{background:#fff9ec;border-color:#efdca8}
.next-game-card.next-game-attention{background:#fff6ee;border-color:#edd2af}
.next-game-card.next-game-waiting{background:#f7faf8;border-color:#d7e3d8}
.next-game-heading{display:flex;align-items:center;gap:9px;margin-bottom:11px}
.next-game-symbol{display:grid;place-items:center;background:#d8edcf;color:#236341;font-size:13px;font-weight:900;width:28px;height:28px;border-radius:50%;flex:none}
.next-game-action .next-game-symbol,.next-game-attention .next-game-symbol{background:#ffebc5;color:#9b6219}
.next-game-label{font-size:11px;letter-spacing:.09em;color:#437251;font-weight:850}
.next-game-action .next-game-label,.next-game-attention .next-game-label{color:#89601e}
.next-game-card h2{font-size:clamp(20px,3vw,25px);color:#183e2c;line-height:1.24;margin:0 0 7px}
.next-game-card p{font-size:13px;color:#456652;line-height:1.65;margin:0 0 15px;max-width:760px;overflow-wrap:anywhere}
.next-game-card .btn{min-height:40px}
.games-status-inline{margin:18px 0 15px;background:#f3f9ef;border:1px solid #cfdfc7;border-radius:13px;display:flex;align-items:flex-start;gap:12px;padding:13px 15px;color:#24523a}
.games-status-inline.action,.games-status-inline.attention{background:#fff8eb;border-color:#ebdab5;color:#7c561b}
.games-status-inline>span{font-weight:900;background:#dbebd3;display:grid;place-items:center;width:26px;height:26px;flex:none;border-radius:50%}
.games-status-inline.action>span,.games-status-inline.attention>span{background:#ffebc5}
.games-status-inline>div{display:grid;gap:4px;min-width:0}
.games-status-inline strong{font-size:13px}
.games-status-inline div span{font-size:12px;line-height:1.5}
@media(max-width:760px){.next-game-card{padding:18px 17px;margin:14px 0 2px}.next-game-card p{font-size:12.5px}.games-status-inline{padding:12px 13px}}

/* V14.2 — post-game check-ins appear only after the game has ended. */
.postgame-slot{margin-top:28px;}
.postgame-slot[hidden]{display:none;}


/* V14.3 — unmistakable booked-game status; no new actions required. */
.game-on-banner{display:flex;align-items:flex-start;gap:13px;padding:17px 18px;margin:15px 0 8px;border:2px solid #8cc58e;background:#eaf8e6;color:#174e30;border-radius:16px}
.game-on-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#217b49;color:#fff;font-size:20px;font-weight:850}
.game-on-copy{min-width:0}
.game-on-copy strong{display:block;font:800 17px 'Outfit',sans-serif;letter-spacing:.03em}
.game-on-copy p{font-size:13px;font-weight:650;line-height:1.55;margin:5px 0}
.game-on-copy small{font-size:11px;color:#477355;line-height:1.4;display:block}
.tag-game-on{background:#deefce!important;color:#195b35!important;border-color:#92c68b!important;font-weight:850!important}
.next-game-ready{border:2px solid #94c58d;background:#eefaeb}
.next-game-ready .next-game-label{font-size:12px;color:#185e36}
@media(max-width:520px){.game-on-banner{padding:13px;gap:10px}.game-on-icon{width:30px;height:30px;font-size:17px}.game-on-copy strong{font-size:16px}}


/* V15 — Less planning, clearer game journey. */
.hero{min-height:190px;padding:27px 31px;grid-template-columns:1fr 125px;gap:14px}
.hero p{margin-bottom:0;max-width:650px}
.hero .agent-icon{width:118px;height:118px}
.hero .agent-icon span{width:75px;height:75px;font-size:57px}
.next-game-card{margin-top:16px}
.game-list-label{display:flex;align-items:center;gap:9px;font-weight:850;letter-spacing:.095em;font-size:11px;color:#658073;margin:23px 0 13px}
.game-list-label span{background:#e6eee5;border-radius:50%;height:21px;min-width:21px;display:inline-grid;place-items:center;font-size:11px;color:#376a4a}
.game-overview{padding:21px 22px;scroll-margin-top:24px;transition:border-color .18s}
.game-overview:focus{outline:none}
.game-overview:focus-visible{outline:3px solid #8acc6e;outline-offset:3px}
.game-overview-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px;flex-wrap:wrap}
.game-phase{display:inline-flex;padding:6px 10px;border-radius:100px;background:#edf2ed;color:#44624f;font-size:11px;font-weight:900;letter-spacing:.04em}
.game-phase-ready .game-phase{background:#d9f1cb;color:#1b6c3c}
.game-phase-ready{border:1.5px solid #a5d59f;background:#fbfef9}
.game-phase-action .game-phase,.game-phase-attention .game-phase{background:#fff0ca;color:#825b14}
.game-phase-action{border:1.5px solid #e9d7a6}
.game-phase-attention{border:1.5px solid #e9ceb4}
.game-invite-indicator{font-size:11px;color:#855f23;font-weight:750}
.game-overview h3{font-size:21px;margin:0 0 5px}
.game-overview .meta{font-size:13px;color:#63766b}
.game-next-step{font-size:13px;line-height:1.6;margin:12px 0 0;color:#466654;max-width:740px}
.game-overview-actions{margin-top:15px}
.game-detail{border-top:1px solid #e1e9de;margin-top:18px;padding-top:15px}
.game-detail[hidden]{display:none}
.game-detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 7px}
.game-detail-actions .btn.danger{background:#fff9f7}
.game-history{margin:22px 0 14px}
.history-toggle{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;background:#f2f5ed;color:#3b5d48;border:1px solid #d9e3d5;padding:15px 18px;border-radius:13px;font-size:13px;font-weight:800;text-align:left}
.history-toggle:focus-visible{outline:3px solid #8acc6e;outline-offset:3px}
.game-history-list{margin-top:13px}
@media(max-width:760px){
 .hero{min-height:auto;padding:25px 21px;grid-template-columns:1fr}
 .hero p{max-width:90%;padding-right:5px}
 .hero .agent-icon{width:118px;height:118px}
 .game-overview{padding:17px 15px}
 .game-overview h3{font-size:19px}
 .game-overview-actions .btn{flex:0 1 auto}
 .game-overview-actions .btn:last-child{flex:1}
 .game-detail-actions .btn{flex:1}
}

/* V16 · Pairs-only pilot */
.pair-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px}
.pair-card{border-color:#c9dfc0}
.pair-incoming{background:#ecf7e8;border:1px solid #9ac58b;margin:22px 0}
.pair-create-row{display:grid;gap:8px;margin:18px 0}
.pair-create-row select{width:100%;max-width:440px;padding:12px;border-radius:12px;border:1px solid #bac9bb;background:white;color:#15362f}
.pair-share{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:14px}
.pair-share input{min-width:0;flex:1 1 225px;font-size:12px}
.pair-share button{flex-shrink:0}
.full-bleed-mobile button{min-width:0}
@media(max-width:560px){.pair-list{grid-template-columns:1fr}.full-bleed-mobile{gap:0!important}.full-bleed-mobile button{font-size:11px;padding-inline:3px!important}.full-bleed-mobile .sym{font-size:22px}}

/* V17 - Open & Friends */
.play-mode-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0 28px}
.play-mode{border:2px solid #d8e2d7;border-radius:20px;background:#fff;padding:22px;text-align:left;color:#163d31;display:flex;flex-direction:column;align-items:flex-start;gap:6px;font:inherit;cursor:pointer;min-width:0}
.play-mode strong{font-size:1.1rem;line-height:1.3}
.play-mode small{font-size:.82rem;line-height:1.5;color:#526b5e}
.play-mode.active{border-color:#1d7750;background:#edf8ec;box-shadow:0 3px 13px rgba(18,65,42,.07)}
.play-icon{font-size:25px;color:#257b52}
.friend-group-card{margin-bottom:15px}
.friend-group-card h3{margin:8px 0}
.friend-group-detail{margin-top:17px;padding-top:15px;border-top:1px solid #d9e6da}
.friend-member-list{display:grid;gap:8px;margin-top:12px}
.friend-member{display:flex;align-items:center;gap:11px;padding:9px 2px;border-bottom:1px solid #e6ede4}
.friend-member .avatar{height:38px;min-width:38px;width:38px;font-size:.8rem}
.friend-member .tiny{margin-left:auto}
.friend-time-slot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 0;border-bottom:1px solid #e6ede4}
.friend-card-footer{margin-top:15px;display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.pair-control-row{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0}
@media(max-width:620px){.play-mode-row{gap:9px}.play-mode{padding:15px 13px;border-radius:16px}.play-mode strong{font-size:.98rem}.play-mode small{font-size:.75rem}.pair-control-row .btn{flex:1;min-width:135px}.friend-card-footer{gap:8px}}
/* Final V17 mobile form polish */
.friend-group-card .field{display:grid;gap:7px;margin-bottom:15px}
.friend-group-card .field label,.card.flat .field label{font-size:12px;font-weight:750;color:var(--ink)}
.card.flat .field{display:grid;gap:7px;margin-bottom:15px}
.card.flat .field select{display:block;width:100%;min-height:47px;border:1.5px solid #d9e2d8;border-radius:13px;padding:12px 14px;background:#fff;color:var(--ink)}
@media(max-width:760px){#toast{bottom:calc(78px + env(safe-area-inset-bottom))}}

/* V17.1 Connections */
.connections-section{margin:24px 0 28px}.ludo-connections-card{padding:24px}.notice-invite{border:1px solid #b9d5b9;background:#eaf7e8;border-radius:15px;padding:16px;margin:0 0 24px;color:#16492d}.notice-invite p{margin:7px 0 0;font-size:.92rem}
.ludo-friend-list{margin-top:17px;display:grid;gap:10px}.ludo-friend{display:flex;align-items:center;gap:12px;background:#f4f7f2;border:1px solid #e1e8de;border-radius:15px;padding:10px 12px}.ludo-friend-name{flex:1;min-width:90px}.ludo-friend-name b,.ludo-friend-name small{display:block}.ludo-friend-name small{color:#68776b;font-size:.78rem;margin-top:3px}.pair-sport-choice{margin-top:18px}.ludo-pair-request{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid #e6ece4}.ludo-pair-request p{margin:5px 0 0}.connections-section .btn{white-space:normal}
@media(max-width:640px){.ludo-connections-card{padding:17px}.ludo-friend{flex-wrap:wrap}.ludo-friend .avatar{flex:none}.ludo-friend-name{flex-basis:calc(100% - 75px)}.ludo-friend .btn{flex:1}.ludo-pair-request{flex-direction:column;align-items:flex-start}.ludo-pair-request .pair-control-row{width:100%}}

.ludo-blocked{margin-top:16px}.ludo-blocked summary{cursor:pointer;font-weight:600;color:#4d6658;padding:10px 0}

/* V17.2: player-first navigation and safer friend management */
.play-mode-row{margin:19px 0 18px}
.connections-section{margin:17px 0 24px}
.ludo-connections-card{padding:20px}
.ludo-connection-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.ludo-connection-heading h2{margin:4px 0 0}
.ludo-friend{flex-wrap:wrap;position:relative;gap:10px}
.ludo-friend-name{flex:1 1 120px}
.friend-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.friend-actions .btn{flex:none}
.ludo-friend-more{position:relative;flex-shrink:0}
.ludo-friend-more summary{list-style:none;cursor:pointer;width:38px;min-height:38px;border:1px solid #cfdcce;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:21px;font-weight:750;line-height:1;color:#214b3a}
.ludo-friend-more summary::-webkit-details-marker{display:none}
.ludo-friend-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:3;min-width:177px;background:#fff;border:1px solid #d8e1d7;box-shadow:0 5px 20px rgba(15,52,36,.14);border-radius:12px;padding:7px;display:grid;gap:6px}
.ludo-friend-menu .btn{width:100%;text-align:left;justify-content:flex-start}
.friend-sport-picker{flex:1 0 100%;padding:13px 15px;background:#fff;border:1px solid #d5e7d3;border-radius:12px;display:grid;gap:10px}
.friend-sport-picker b{font-size:.94rem}
.friend-sport-picker .small{margin:0}
.friend-sport-buttons{display:flex;flex-wrap:wrap;gap:9px}
.ludo-picker-cancel{background:transparent;border:0;padding:4px 0;text-align:left;cursor:pointer;color:#516659;justify-self:start;text-decoration:underline;font:inherit;font-size:.83rem}
.ludo-empty-friends{margin:14px 0 0}
.friend-info{margin-top:14px;color:#637367}
.friend-info summary{cursor:pointer;font-size:.85rem}
.friend-info .help{margin:10px 0 0}
@media(max-width:640px){.ludo-connections-card{padding:17px}.ludo-connection-heading .btn{white-space:nowrap}.ludo-friend-name{flex:1 1 calc(100% - 65px)}.friend-actions{width:100%;margin-left:0;justify-content:space-between}.friend-actions>.btn{flex:1}.ludo-friend-more{flex:0 0 auto}.play-mode-row{gap:10px}}

/* V17.5: visually distinguish a confirmed friendship/pair from match-search readiness. */
.ludo-connected-pair{color:#176748;font-weight:700;}
#ludo-open-pairs,#ludo-pending-partner-requests{scroll-margin-top:140px;}

/* V18 · read-only Open and Friends match simulation */
.ludo-match-section{margin:27px 0 23px;padding:20px;border-radius:20px;border:1px solid #c9dcc5;background:#f6fbf3}
.ludo-match-section .section-head{margin:0 0 8px;gap:12px}
.ludo-match-section .section-head h2{margin:4px 0}
.match-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:12px;margin-top:14px}
.match-preview-card{border:1px solid #cddfc8;border-radius:16px;background:#fff;padding:17px;margin:12px 0;color:#183f30}
.match-preview-card h3{font-size:1.1rem;line-height:1.4;margin:12px 0 8px}
.match-preview-card p{line-height:1.55;margin:7px 0}
.match-preview-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.match-versus{font-weight:500;font-size:.85rem;color:#718276}
.match-info{border-radius:14px;border:1px solid #d8e6d4;background:#fff;padding:16px;font-size:13px;line-height:1.6;color:#52685a;margin:14px 0}
.friend-match-section{margin-top:22px;padding-top:18px;border-top:1px solid #d9e6da}
.friend-match-section h3{margin:8px 0}
@media(max-width:600px){.ludo-match-section{padding:15px;border-radius:17px}.match-preview-grid{grid-template-columns:1fr}.match-preview-card{padding:14px}.ludo-match-section .section-head{align-items:flex-start}}

/* V18.1 — Match-first Play. Friend management is a secondary Play subpage. */
.play-mode-row{margin-bottom:8px}
.play-tools-nav{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:10px;min-height:35px;margin:0 0 15px}
.play-tools-link{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:5px 2px;border:0;background:transparent;color:#38604b;font:inherit;font-size:.82rem;font-weight:650;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.play-tools-link:focus-visible,.play-people-header .btn:focus-visible{outline:3px solid #7ba98c;outline-offset:3px}
.play-tools-count{font-size:.74rem;font-weight:750;min-width:22px;height:22px;border-radius:50%;background:#eaf0e7;color:#326148;display:inline-grid;place-items:center;text-decoration:none}
.play-tools-alert{font-size:.76rem;color:#7a591c;background:#fbf3dc;padding:5px 9px;border-radius:30px}
.play-people-header{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}
.play-people-header>div{flex:1;min-width:210px}
.play-people-header h1{margin:3px 0}
.play-people-header p{margin:3px 0 12px}
.play-people-header .btn{white-space:nowrap}
.play-people-header+.connections-section{margin-top:9px}
.friend-match-section{margin:15px 0 18px;padding:14px;border:1px solid #d5e5d0;border-radius:15px;background:#f4faf0}
.friend-match-section h3{margin:6px 0;font-size:1.02rem}
.friend-match-section .match-info{margin:10px 0 2px}
@media(max-width:620px){
 .play-mode-row{margin-bottom:4px}
 .play-tools-nav{margin-bottom:15px}
 .play-people-header{display:block}
 .play-people-header .btn{margin:7px 0}
 .ludo-match-section{margin-top:18px;padding:16px}
}

/* V18.2 — actionable, contextual private group invitations appear before match browsing. */
.ludo-invite-priority{position:relative;margin:2px 0 26px;padding:24px 26px 23px;border:2px solid #d49b40;border-radius:20px;background:linear-gradient(125deg,#fffaf0 0%,#fff5dc 100%);box-shadow:0 6px 22px rgba(103,72,22,.09);color:#243b30;overflow:hidden}
.ludo-invite-priority:before{content:'';position:absolute;right:-70px;top:-115px;width:200px;height:200px;border:25px solid rgba(214,164,72,.12);border-radius:100%;pointer-events:none}
.ludo-invite-label{display:flex;align-items:center;gap:8px;letter-spacing:.11em;font-size:11px;font-weight:900;color:#8b5b12;margin-bottom:13px}
.ludo-invite-dot{width:8px;height:8px;border-radius:50%;background:#c77d17;margin-left:3px}
.ludo-invite-priority h2{font-size:clamp(21px,4vw,27px);line-height:1.19;margin:0 0 12px;color:#183e2d}
.ludo-invite-from{font-size:14px;color:#6b5b3c;margin:0 0 12px;font-weight:550;line-height:1.55}
.ludo-invite-description{font-size:14px;color:#405949;margin:0 0 16px;max-width:670px;line-height:1.65}
.ludo-invite-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 14px}
.ludo-invite-actions .btn.primary{background:#123d30;color:white;border-color:#123d30;padding-inline:25px}
.ludo-invite-actions .btn.outline{background:#fffbf2}
.ludo-invite-note{font-size:11px;line-height:1.6;color:#827054;margin:0}
@media(max-width:620px){.ludo-invite-priority{padding:21px 18px;margin-bottom:24px;border-radius:18px}.ludo-invite-priority h2{font-size:23px}.ludo-invite-from,.ludo-invite-description{font-size:13px}.ludo-invite-actions .btn.primary{flex:1;min-height:49px}.ludo-invite-actions .btn.outline{min-height:49px}.ludo-invite-note{font-size:10px}}

/* V18.4 – Sports agent home is about games, not partner counts. */
.agent-next-status{margin:16px 0 24px;border:1px solid #d5e4d2;background:#f5faf2;border-radius:18px;padding:22px 25px;color:#184331}
.agent-next-status h2{font-size:clamp(19px,2.8vw,25px);margin:8px 0 9px;color:#173b2e;line-height:1.22}
.agent-next-status p{font-size:13px;color:#546d5d;line-height:1.7;margin:0;max-width:800px}
.agent-next-status .btn{margin-top:14px}
.agent-summary{border:1px solid #dbe6d9;border-radius:16px;margin:14px 0;background:#fff;overflow:hidden}
.agent-summary>summary{cursor:pointer;padding:17px 20px;font-weight:760;color:#214a37;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:10px}
.agent-summary>summary::-webkit-details-marker{display:none}
.agent-summary>summary:focus-visible{outline:3px solid #97ca87;outline-offset:-4px}
.agent-summary[open]>summary{border-bottom:1px solid #e3e9e0}
.agent-summary-right{font-size:12px;color:#6a7d70;font-weight:500}
.agent-summary-body{padding:18px 20px}
.agent-summary-body .statlist{margin-bottom:16px}
.agent-pilot-note{font-size:11px;line-height:1.7;color:#718173;margin:17px 2px 30px}
.friend-group-card{margin-bottom:16px}
.create-group-details{margin-top:18px}
.join-group-details{margin-top:10px}
.create-group-details .field{margin:13px 0}
.create-group-details select,.create-group-details input{max-width:100%;width:100%}
@media(max-width:700px){.agent-next-status{padding:17px 16px}.agent-summary>summary{padding:14px 15px}.agent-summary-body{padding:15px}.agent-summary-right{font-size:11px}}


/* V18.5 — Open game-first flow; partner administration becomes secondary. */
.open-intro{margin:8px 0 17px;line-height:1.55}
.open-featured-pair{background:linear-gradient(124deg,#e7f4e4 0%,#f8fcf6 100%);border:1.5px solid #b6d7b7;border-radius:22px;padding:23px 25px;color:#163e2e;margin:14px 0 19px}
.open-featured-top{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}
.open-featured-kicker{letter-spacing:.12em;font-size:11px;font-weight:850;color:#4f8064}
.open-status-chip{border-radius:40px;padding:8px 11px;font-size:12px;font-weight:750;background:#edf2e8;color:#466752}
.open-status-chip.active{background:#d0edc9;color:#236742}
.open-featured-players{display:flex;align-items:center;gap:8px;margin:19px 0 12px;flex-wrap:wrap}
.open-player-avatar{width:45px;height:45px;background:white;border:1px solid #c4dbc3;color:#2b684b;border-radius:50%;display:grid;place-items:center;font-size:14px;font-weight:850;flex:0 0 auto}
.open-partner-sign{font-weight:800;color:#5f8770;margin:0 1px}
.open-featured-player-name{margin-left:9px;min-width:140px}
.open-featured-player-name h3{margin:0 0 3px;font-size:clamp(20px,3vw,25px)}
.open-featured-player-name span{color:#36734f;font-size:12px;font-weight:650}
.open-featured-pair h4{font-size:19px;line-height:1.25;margin:15px 0 8px}
.open-featured-pair p{font-size:14px;line-height:1.62;color:#516e5b;margin:0 0 13px;max-width:740px}
.open-pair-progress{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.open-pair-progress span{background:white;border:1px solid #d4e4d0;color:#738278;border-radius:30px;font-size:11px;font-weight:650;padding:7px 11px}
.open-pair-progress span.done{color:#247147;border-color:#afd2ad;background:#f8fff6}
.open-opt-in-action{margin-top:17px;min-height:45px}
.open-get-started h3{margin:11px 0;font-size:23px}
.open-get-started .btn{margin-top:12px}
.open-games{border:1px solid #d9e6d7;background:#f8fbf7;border-radius:19px;padding:21px 22px;margin:14px 0 20px}
.open-games-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.open-games-heading h2{margin:7px 0 10px;font-size:clamp(21px,3vw,27px);color:#1a4233}
.open-no-opponents{display:flex;align-items:flex-start;gap:15px;border:1px solid #dce8d9;border-radius:15px;background:#fff;padding:18px;margin-top:12px;color:#224c39}
.open-no-opponents strong{font-size:16px}
.open-no-opponents p{font-size:13px;color:#627468;margin:8px 0 4px;line-height:1.65}
.open-no-opponents .btn{margin-top:12px}
.open-search-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:50%;color:#34794e;background:#eaf4e7;font-size:30px;flex:0 0 auto}
.open-game-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:13px;margin:13px 0 4px}
.open-game-idea{background:#fff;border:1px solid #caddc7;border-radius:17px;padding:19px;color:#1b4133;box-shadow:0 2px 8px rgba(16,58,39,.03)}
.open-game-idea h3{margin:14px 0 5px;font-size:20px;color:#163c2e}
.open-idea-pill{font-size:11px;color:#2a7650;background:#e4f3e2;padding:7px 9px;border-radius:18px;font-weight:800}
.open-opponents{font-size:14px;line-height:1.5;font-weight:650;margin:12px 0}
.open-opponents span{padding:0 3px;font-weight:500;color:#7d897c}
.open-idea-details{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.open-idea-details span{background:#f1f6ef;border-radius:9px;padding:7px 10px;font-size:12px;color:#3c664c}
.open-idea-note,.open-match-footnote{font-size:11px;line-height:1.65;color:#718176}
.open-idea-note{padding-top:10px;border-top:1px solid #e5eee2;margin:14px 0 0}
.open-match-footnote{margin:13px 0 0}
.open-manage-details{margin-top:20px}
.open-manage-details summary{font-size:14px}
.open-pair-manage{padding:15px 0;border-bottom:1px solid #e4ede2}
.open-pair-manage:first-child{padding-top:2px}
.open-pair-manage:last-child{border:0}
.open-manage-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.open-secondary-details{margin:12px 0 0;background:#fafcf9}
.open-unused-invite{padding:8px 0 16px}
.open-unused-invite+.open-unused-invite{border-top:1px solid #e1eadf;padding-top:17px}
.open-pilot-note{margin:17px 2px 26px}
@media(max-width:640px){
 .open-featured-pair{padding:18px 16px;border-radius:18px}
 .open-featured-players{gap:6px;margin:17px 0 10px}
 .open-player-avatar{width:39px;height:39px}
 .open-featured-player-name{margin-left:5px}
 .open-featured-player-name h3{font-size:21px}
 .open-featured-pair h4{font-size:17px}
 .open-featured-pair p{font-size:13px}
 .open-pair-progress span{font-size:10px}
 .open-games{padding:16px 14px}
 .open-no-opponents{padding:14px;gap:10px}
 .open-search-icon{width:36px;height:36px;font-size:25px}
 .open-manage-actions .btn{flex:1;min-width:118px}
}
/* V19: in-app group invitations. These are proposals, not court bookings. */
.v19-games{margin:22px 0 26px}
.v19-games .section-head{margin:12px 0}
.v19-games-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:12px}
.v19-group-live{margin:14px 0;border:1px solid #cfdfcb;border-radius:18px;background:#f5faf3;padding:16px;display:grid;gap:12px}
.v19-group-live>.eyebrow{color:#35724e}
.v19-proposal{border:1px solid #cfdcc9;background:#fff;color:#1c4335;border-radius:18px;padding:19px;box-shadow:0 2px 10px rgba(21,53,36,.03)}
.v19-proposal.v19-needs-action{border:2px solid #32875b;background:#f1f8ee}
.v19-proposal-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.v19-proposal .eyebrow{margin-bottom:9px}
.v19-proposal h3{font-size:21px;margin:0 0 10px;line-height:1.3;color:#143e2d}
.v19-proposal p{line-height:1.6}
.v19-answer-row{display:flex;flex-wrap:wrap;gap:10px;margin:13px 0}
.v19-answer-row button{flex:1;min-width:120px}
.v19-next{padding:12px;border-radius:12px;background:#e9f6e6;color:#1b5c3c;font-size:13px}
.v19-cancel{margin-top:12px}
.v19-none{background:#f7faf5;border:1px solid #dce6d9;border-radius:15px;padding:20px;line-height:1.7;color:#61736a}
.v19-idea-actions{margin-top:14px}
.v19-compose{background:#f8fbf7;border:1px solid #c9dfc6;border-radius:15px;padding:17px;margin-top:14px}
.v19-compose p{font-size:13px;color:#617569;line-height:1.65;margin:8px 0 14px}
.v19-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:12px 0}
.v19-inputs label{display:flex;flex-direction:column;gap:7px;color:#224a37;font-size:13px;font-weight:700}
.v19-inputs input{min-width:0;width:100%;border:1px solid #b5cbb8;border-radius:12px;padding:12px 10px;font:inherit;color:#153e2d;background:#fff}
@media(max-width:590px){.v19-inputs{grid-template-columns:1fr}.v19-proposal{padding:15px}.v19-proposal h3{font-size:18px}.v19-compose{padding:14px}.v19-group-live{padding:12px}}

/* V19.1 — friendly, day-by-day precise recurring start-time picker */
.v191-availability{border:1px solid #d6e5d5;border-radius:20px;background:linear-gradient(145deg,#f7faf5,#eff7ed);padding:21px;margin-top:18px}
.v191-av-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.v191-av-top strong{display:block;font:800 17px 'Outfit',system-ui,sans-serif;color:#173d31;margin-top:4px}
.v191-count{font-size:11px;font-weight:800;background:#dff0d7;color:#276343;padding:7px 12px;border-radius:22px}
.v191-day-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}
.v191-daytab{appearance:none;border:1px solid #d0dfcf;border-radius:13px;min-width:64px;min-height:41px;padding:10px 11px;background:#fff;color:#345947;font-size:13px;font-weight:750;cursor:pointer;transition:background .18s,transform .18s}
.v191-daytab.active{background:#164e3a;border-color:#164e3a;color:#fff;box-shadow:0 4px 12px #18462e18}
.v191-daytab span{font-size:10px;display:inline-grid;place-items:center;min-width:19px;height:19px;border-radius:50%;margin-left:4px;background:#e2f3da;color:#285d3e}
.v191-daytab.active span{background:#cfeda7;color:#173b2e}
.v191-selected-day{display:flex;align-items:center;gap:9px;padding:3px 0 13px;color:#1b4535}
.v191-selected-day strong{font:800 18px 'Outfit',system-ui,sans-serif}
.v191-selected-day>span:last-child{margin-left:auto;color:#6a8273;font-size:12px}
.v191-dot{height:10px;width:10px;border-radius:50%;background:#8cc77f}
.v191-periods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;background:#e7efe2;padding:5px;border-radius:14px;margin-bottom:15px}
.v191-period{min-height:42px;border:0;border-radius:10px;background:transparent;color:#516d59;font-size:13px;font-weight:800;cursor:pointer}
.v191-period.active{background:#fff;color:#174d36;box-shadow:0 2px 6px #1f453014}
.v191-time-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:9px}
.v191-time-chip{border:1.5px solid #d2e0d0;border-radius:14px;background:#fff;color:#305344;padding:13px 8px;min-height:47px;font-size:13px;font-weight:750;cursor:pointer;transition:background .15s,transform .15s,border-color .15s}
.v191-time-chip.selected{background:#d4edba;border:2px solid #4b9b62;color:#164d33;box-shadow:0 3px 9px #315d3014;padding:12.5px 7.5px}
.v191-time-chip:active,.v191-daytab:active{transform:scale(.98)}
.v191-time-chip:focus-visible,.v191-daytab:focus-visible,.v191-period:focus-visible,.v191-copy:focus-visible{outline:3px solid #a4c77a;outline-offset:3px}
.v191-av-help{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;margin-top:15px;font-size:12px;color:#52725e}
.v191-copy{border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;color:#1e7049;font-size:12px;font-weight:800;padding:7px;cursor:pointer}
.v191-av-footer{font-size:12px;color:#697b6b;margin:19px 0 0;line-height:1.65}
.v191-exact-idea{border-color:#b9d9ab;background:#fbfef9}
.v191-exact-idea h3{font-size:21px}
.v191-exact-idea .btn{margin-top:11px}
@media(max-width:620px){.v191-availability{padding:14px 12px;border-radius:16px}.v191-time-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.v191-time-chip{font-size:12px;min-height:45px;padding:10px 4px}.v191-time-chip.selected{padding:9.5px 3.5px}.v191-day-tabs{gap:6px}.v191-daytab{min-width:55px;padding:8px 7px;font-size:12px}.v191-av-top strong{font-size:16px}.v191-av-help{align-items:flex-start}}
@media(max-width:370px){.v191-time-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V19.2: agent-led exact-time matching; old native date/time fallback removed */
.v192-waiting{background:linear-gradient(145deg,#f6fbf3,#edf6eb);border:1px solid #d1e4ce;border-radius:19px;padding:19px;margin-top:17px}
.v192-waiting h3{font-size:1.1rem;margin:10px 0 15px;color:#194b38}
.v192-status{display:flex;align-items:flex-start;gap:13px;background:white;border:1px solid #d5e6d3;border-radius:15px;padding:16px}
.v192-status-icon{display:grid;place-items:center;flex:0 0 41px;height:41px;border-radius:13px;background:#dceecd;color:#174d35;font-size:23px}
.v192-status strong{display:block;color:#164c36;font-size:1rem;line-height:1.3}
.v192-status p{color:#5d766a;margin:6px 0 0;line-height:1.55}
.v192-progress{width:100%;height:8px;overflow:hidden;border-radius:999px;background:#dce9dc;margin:16px 0 14px}
.v192-progress span{display:block;height:100%;border-radius:999px;background:#258358;transition:width .2s ease}
.v192-nudge-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.v192-nudge-actions .btn{min-height:43px}
.v192-broad-hints{margin-top:14px;background:#ffffffbd;border:1px solid #dce6da;border-radius:13px;padding:12px 14px;color:#2a5944}
.v192-broad-hints summary{cursor:pointer;font-weight:700;list-style:none}
.v192-broad-hints summary::before{content:'+';display:inline-flex;justify-content:center;width:23px;margin-right:8px;font-weight:800}
.v192-broad-hints[open] summary::before{content:'−'}
.v192-hint-list{display:grid;gap:6px;margin-top:10px}
.v192-hint{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;padding:9px 3px;border-top:1px solid #e5eee2}
.v192-hint span{font-size:12px;color:#64786a}
@media(max-width:550px){.v192-waiting{padding:14px}.v192-status{padding:12px;gap:10px}.v192-nudge-actions .btn{flex:1 1 135px}}
/* V19.3: a calm, action-first invitation experience. No setup progress on Play. */
.v193-play-alert{margin:0 0 24px;padding:24px;border:1.5px solid #b9d5bb;border-radius:24px;background:#edf8e9;box-shadow:0 8px 25px rgba(22,68,50,.055)}
.v193-play-alert .eyebrow{color:#28714a;margin-bottom:10px}
.v193-play-alert h2{font-size:clamp(1.3rem,2.5vw,1.8rem);margin:0 0 8px;color:#163e33}
.v193-play-alert p{color:#426355;margin:0 0 17px;line-height:1.55}
.v193-attention-header{display:flex;gap:14px;align-items:flex-start;margin-bottom:16px;padding:17px 20px;background:#f0f8e9;border:1px solid #b9d7b3;border-radius:20px}
.v193-attention-header .eyebrow{color:#2a7650;margin:0 0 4px;font-weight:800}
.v193-attention-header h2{margin:0;color:#153f31;font-size:clamp(1.2rem,2.5vw,1.65rem)}
.v193-attention-header p{color:#466154;margin:5px 0 0}
.v193-attention-icon{flex:0 0 44px;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#d8edc8;color:#165d3d;font-size:1.55rem}
.v193-active-head{margin-top:24px!important}
.v193-closed-games{margin:22px 0;padding:14px 18px;border:1px solid #d7e1d6;border-radius:16px;background:#fbfcf8}
.v193-closed-games summary{cursor:pointer;color:#315b4a;font-weight:700}
.v193-closed-games .v19-games-grid{padding-top:16px}
.v193-quiet-idea{display:flex;align-items:flex-start;gap:13px;border:1px solid #dce5d8;border-radius:19px;background:#f8faf5;padding:18px 20px;margin:12px 0 20px}
.v193-quiet-idea strong{display:block;margin:0 0 5px;font-size:1rem;color:#24483c}
.v193-quiet-idea p{color:#6a7c71;margin:0;line-height:1.55;font-size:.92rem}
.v193-quiet-icon{border-radius:12px;background:#e9f4e5;color:#277451;display:grid;place-items:center;flex:0 0 35px;height:35px;font-size:1.15rem}
.v193-nav-badge{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:#ddedbd;color:#17432e;font-weight:800;font-size:.7rem;margin-left:7px;vertical-align:middle}
.v193-alert-note{color:#67796b!important;margin-top:18px}
@media(max-width:700px){
 .v193-play-alert{padding:19px;border-radius:20px;margin-bottom:23px}
 .v193-attention-header{padding:16px;gap:11px}
 .v193-attention-icon{width:38px;height:38px;flex-basis:38px}
 .v193-quiet-idea{padding:16px 15px}
 .v193-nav-badge{min-width:18px;height:18px;font-size:.65rem;margin-left:3px}
}

.v193-group-live-note{display:flex;align-items:center;gap:12px;padding:14px 15px;border:1px solid #c9dfc5;border-radius:16px;background:#f2f8ee;margin:14px 0}
.v193-group-live-note>span{display:grid;place-items:center;border-radius:50%;background:#dbefcf;color:#236e4b;min-width:30px;height:30px;font-weight:800}
.v193-group-live-note>div{flex:1;min-width:0}
.v193-group-live-note strong{color:#234b3b;font-size:.94rem}
.v193-group-live-note p{color:#687c70;font-size:.83rem;margin:3px 0 0}
.v193-group-live-note .btn{white-space:nowrap}
@media(max-width:400px){.v193-group-live-note{flex-wrap:wrap}.v193-group-live-note .btn{margin-left:40px}}
@media(max-width:450px){
 .v193-group-live-note{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:start;column-gap:12px}
 .v193-group-live-note>div{grid-column:2}
 .v193-group-live-note .btn{grid-column:2;justify-self:start;margin:9px 0 0}
}

/* V19.4: Open game proposal and secondary partner-management styling. */
.open-propose-btn { margin-top: 10px; min-height: 44px; width:100%; max-width: 350px; }
.v194-friend-pair-status { color: var(--muted, #577166); font-size: .86rem; line-height: 1.45; display:inline-flex; align-items:center; min-height:34px; }
.v194-one-invite-note { margin:8px 0 18px; color: #526b5b; font-size:.89rem; line-height:1.5; }
@media(max-width:650px){.open-propose-btn{max-width:none;} .v194-friend-pair-status{font-size:.83rem;} }

/* V19.4.1 — Simple, keyboard-accessible return navigation for My Games. */
.games-back-row{display:flex;justify-content:flex-start;margin:0 0 16px}
.games-back-button{min-height:40px;padding:9px 15px;border:1px solid #dce8d8;background:#eaf1e7!important;border-radius:999px;font-size:13px;white-space:nowrap}
.games-back-button span{font-size:18px;line-height:1}
@media(max-width:760px){.games-back-row{margin:0 0 17px}.games-back-button{min-height:42px;padding:10px 16px;font-size:13px}}

/* V19.5 — the agent handles proposing; a game is never implicitly accepted. */
.v195-agent-watch{display:flex;gap:13px;align-items:flex-start;border:1px solid #c7dfc8;background:#edf7ee;padding:15px 16px;border-radius:15px;color:#164d39;margin-top:16px}
.v195-agent-watch-icon{flex-shrink:0;display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#d6eccf;color:#246b48;font-size:21px}
.v195-agent-watch div{display:grid;gap:5px}.v195-agent-watch strong{font-weight:760;line-height:1.4}.v195-agent-watch span:not(.v195-agent-watch-icon){font-size:13px;color:#537263;line-height:1.55}
.v195-agent-watch.compact{margin-top:10px;padding:12px}.v195-agent-watch.compact .v195-agent-watch-icon{width:29px;height:29px;font-size:17px}
.v195-home-status{display:inline-flex;align-items:center;gap:8px;margin-top:12px;padding:8px 12px;border-radius:30px;background:#e8f2e8;color:#245941;font-size:12px;font-weight:730}

/* V19.6 — optional court volunteer and clear, consent-first cost handoff. */
.v196-panel{border:1px solid #cee1cf;background:linear-gradient(165deg,#f3faf0,#fff);padding:19px 20px;border-radius:19px;margin:17px 0 6px;color:#174734}
.v196-panel-header{display:flex;align-items:flex-start;gap:12px;margin-bottom:15px}
.v196-panel-header strong{display:block;color:#164833;font-family:'Outfit',sans-serif;font-size:1.07rem;line-height:1.3}
.v196-panel-header p{color:#5e7868;font-size:.88rem;line-height:1.5;margin:4px 0 0}
.v196-circle{flex:0 0 35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#dcefd5;color:#256c43;font-size:17px;font-weight:850}
.v196-panel .btn{min-height:43px;white-space:normal;text-align:center}
.v196-micro{font-size:.78rem;line-height:1.55;color:#687f70;margin:13px 0 0}
.v196-entry{padding:17px;background:#fff;border:1px solid #d4e3d2;border-radius:15px;margin-top:14px;display:grid;gap:10px}
.v196-entry>p{margin:2px 0 5px}
.v196-entry>label,.v196-entry .v196-form-grid label,.v196-legend{font-size:.88rem;color:#2c5845;font-weight:750}
.v196-entry input[type=number],.v196-entry input[type=text]{width:100%;min-width:0;border:1px solid #cddbd0;border-radius:11px;padding:12px;background:#fff;min-height:43px;color:#174635;font:inherit;font-size:.94rem}
.v196-entry input:focus-visible,.v196-payment-choice:focus-within{outline:3px solid #a7d4a7;outline-offset:2px}
.v196-money{display:flex;align-items:center;border:1px solid #cddbd0;border-radius:11px;overflow:hidden;background:#fff}
.v196-money span{padding:0 13px;color:#49705d;font-weight:750}
.v196-money input{border:0!important;border-radius:0!important;min-height:43px}
.v196-payment-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.v196-payment-choice{border:1.5px solid #d4e2d1;border-radius:13px;padding:11px 12px;display:flex;align-items:flex-start;gap:8px;background:#fff;cursor:pointer}
.v196-payment-choice:has(input:checked){background:#eef8e9;border-color:#3c9870}
.v196-payment-choice input{margin-top:4px;accent-color:#16734b;flex:0 0 auto}
.v196-payment-choice strong{display:block;font-size:.84rem;color:#234b39;line-height:1.4}
.v196-payment-choice small{display:block;color:#5e7868;font-size:.77rem;line-height:1.45;margin-top:4px}
.v196-accept-warning{display:flex!important;align-items:flex-start;gap:10px;font-weight:500!important;font-size:.81rem!important;line-height:1.5;padding:12px;background:#f6f8f1;border-radius:12px;color:#486453!important}
.v196-accept-warning input{flex-shrink:0;margin-top:3px;accent-color:#16734b;width:18px;height:18px}
.v196-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.v196-form-grid>div{display:grid;gap:6px}
.v196-entry .btn{justify-self:start}
.v196-cost-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:13px 0}
.v196-cost-grid>div{padding:13px;background:#fff;border:1px solid #d8e6d5;border-radius:13px}
.v196-cost-grid span{display:block;font-size:.76rem;color:#6a7b71;line-height:1.4}
.v196-cost-grid strong{font-size:1.2rem;display:block;color:#174b39;margin-top:4px}
.v196-method{line-height:1.55;font-size:.87rem;color:#466454}
.v196-approval{border:1px solid #d4dfd0;border-radius:13px;background:#fff;padding:13px 14px;margin:14px 0}
.v196-approval strong{display:block;color:#24543d;font-size:.91rem}
.v196-approval span{display:block;color:#6c8073;margin-top:5px;font-size:.81rem;line-height:1.45}
.v196-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-top:14px}
.v196-actions .btn{flex:0 1 auto}
.v196-yes{color:#236d4b;font-weight:750;font-size:.87rem}
.v196-booked{background:linear-gradient(165deg,#e8f7e3,#f8fdf4);border:2px solid #6db589}
.v196-confirmed{border:1px solid #9cce9c;padding:14px;border-radius:14px;background:#fff;margin:14px 0}
.v196-confirmed strong{font-size:1rem;line-height:1.45}
.v196-confirmed p{font-size:.85rem;margin:7px 0 0;color:#5a7465;line-height:1.55}
.v196-panel .v196-booking-form{margin-top:16px}
@media(max-width:620px){.v196-panel{padding:15px 14px;border-radius:17px}.v196-payment-choices,.v196-form-grid{grid-template-columns:1fr}.v196-actions .btn{flex:1 1 135px}.v196-cost-grid>div{padding:11px}.v196-cost-grid strong{font-size:1.05rem}.v196-entry{padding:13px}.v196-entry .btn{justify-self:stretch}}
/* Keep native radio circles compact; global input styling is for text fields. */
.v196-payment-choice input[type=radio]{appearance:auto!important;width:18px!important;max-width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;flex:0 0 18px!important;padding:0!important;margin:2px 0 0!important;border:0!important;box-shadow:none!important}
.v196-payment-choice>span{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}

/* V19.7 — venue-first, payment-free court booking handoff */
.v197-panel{margin:18px 0 8px;padding:18px 19px;border:1px solid #cadecc;border-radius:20px;background:linear-gradient(145deg,#f2f9f0 0%,#fcfdf9 100%);color:#183f31}
.v197-panel-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:15px}
.v197-panel-heading>div{min-width:0}
.v197-panel-heading strong{display:block;font:750 1.12rem/1.3 'Outfit','DM Sans',sans-serif;color:#173e2e}
.v197-panel-heading p{font-size:.89rem;color:#567261;margin:5px 0 0;line-height:1.55}
.v197-step{flex:0 0 37px;width:37px;height:37px;border-radius:50%;background:#dcefd5;display:grid;place-items:center;color:#276d49;font-size:19px;font-weight:850}
.v197-venue-heading,.v197-label{font-size:.85rem;font-weight:800;letter-spacing:.04em;color:#527d64;text-transform:uppercase;margin:13px 0 9px}
.v197-venue-list{display:grid;gap:9px;margin-bottom:12px}
.v197-venue{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:13px 14px;border-radius:14px;border:1px solid #d5e3d5;background:white}
.v197-venue:first-child{border-color:#a6cea9;background:#fbfdf8}
.v197-venue-info{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
.v197-venue-rank{font-size:.67rem;color:#377b55;font-weight:850;letter-spacing:.08em}
.v197-venue-info strong{font-size:.98rem;color:#173e2f}
.v197-venue-info span:not(.v197-venue-rank){font-size:.8rem;line-height:1.4;color:#597466}
.v197-venue-info small{font-size:.73rem;line-height:1.45;color:#648270}
.v197-venue-link{flex-shrink:0;text-decoration:none;font-size:.8rem;font-weight:750;color:#154936;background:#e9f2e7;padding:11px;border-radius:10px;white-space:nowrap}
.v197-venue-link:hover,.v197-venue-link:focus-visible{background:#d4e8ce;outline:2px solid #7dbb86;outline-offset:2px}
.v197-help{font-size:.81rem;line-height:1.56;color:#678070;margin:14px 0 15px}
.v197-booked-toggle{min-height:48px!important}
.v197-empty-venues{padding:13px;background:white;border-radius:13px;border:1px dashed #c5d9c6;font-size:.85rem;color:#5a7363;line-height:1.6}
.v197-report-form{margin-top:15px;padding:17px;background:#fff;border:1px solid #d1e1d0;border-radius:15px;display:grid;gap:12px}
.v197-form-title{font:750 1.12rem 'Outfit','DM Sans',sans-serif;color:#194632}
.v197-report-form p{margin:0 0 2px;line-height:1.55}
.v197-chip-row{display:flex;gap:8px;flex-wrap:wrap}
.v197-choice{font:700 .85rem 'DM Sans',sans-serif;border:1px solid #cbdccf;border-radius:12px;background:#f7faf5;color:#1f4937;padding:10px 12px;min-height:43px;cursor:pointer;text-align:left}
.v197-choice.selected{border:2px solid #20734d;background:#e1f3e4;color:#164632}
.v197-choice:focus-visible{outline:3px solid #aad2a3;outline-offset:2px}
.v197-input-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.v197-input-row label{display:grid;gap:6px;font-size:.85rem;font-weight:700;color:#2c5943}
.v197-input-row input{width:100%;min-width:0;min-height:44px;border:1px solid #d3ddd0;border-radius:11px;background:#fff;padding:11px 13px;font:inherit;color:#154533}
.v197-input-row input:focus-visible{outline:3px solid #aed6ab;outline-offset:2px}
.v197-confirm{display:flex;align-items:flex-start;gap:10px;padding:12px 13px;background:#f1f6ef;border-radius:12px;color:#486354;font-size:.83rem;line-height:1.55}
.v197-confirm input{appearance:auto!important;flex:0 0 18px!important;width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;margin:2px 0 0!important;accent-color:#1b7652}
.v197-booked{background:#e9f7e6;border:2px solid #75ba8d}
.v197-booked .v197-panel-heading strong{color:#1c6947}
.v197-booked-info{display:grid;gap:6px;padding:14px;border:1px solid #c5e0c3;border-radius:14px;background:white;font-size:.87rem;color:#597164}
.v197-booked-info strong{color:#214b35;font-size:1.02rem}
.v197-booked-info span{line-height:1.45}
.v197-panel .btn{white-space:normal;text-align:center}
@media(max-width:650px){.v197-panel{padding:15px;border-radius:18px}.v197-venue{flex-direction:column;align-items:stretch;gap:9px}.v197-venue-link{align-self:flex-start}.v197-input-row{grid-template-columns:1fr}.v197-report-form{padding:13px}.v197-report-form>.btn{width:100%;min-height:48px}.v197-booked-toggle{width:100%}}

/* V19.8 — lightweight action-first notification inbox. */
.v198-head-actions{display:flex;align-items:center;gap:12px;margin-left:auto}
.v198-bell{position:relative;min-width:46px;min-height:46px;border:1px solid #d5e3d5;border-radius:14px;background:#f0f7eb;color:#194833;font-size:21px;cursor:pointer;display:grid;place-items:center}
.v198-bell.has-alert{background:#e1f3dd;border-color:#97c5a1}
.v198-bell:focus-visible,.v198-feed-item:focus-visible{outline:3px solid #78b18d;outline-offset:3px}
.v198-count{position:absolute;right:-7px;top:-7px;min-width:23px;height:23px;padding:2px 5px;display:grid;place-items:center;background:#156a48;color:white;border:2px solid #fff;font-size:.72rem;font-weight:800;border-radius:25px}
.v198-feed-panel{max-width:720px;margin:12px 0 26px;padding:19px;border:1px solid #cfe0cf;border-radius:20px;background:linear-gradient(140deg,#eff8ec,#fff);box-shadow:0 14px 30px rgba(13,55,34,.06)}
.v198-feed-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.v198-feed-heading h2{margin:3px 0 0;color:#164633;font-size:1.48rem}
.v198-feed-list{display:grid;gap:8px;max-height:460px;overflow-y:auto;overscroll-behavior:contain}
.v198-feed-item{appearance:none;border:1px solid #d6e2d3;border-radius:14px;background:#fff;color:#203f33;display:grid;grid-template-columns:10px 1fr 12px;align-items:center;gap:11px;text-align:left;width:100%;padding:13px 12px;cursor:pointer;font:inherit}
.v198-feed-item.unread{background:#eaf6e8;border-color:#a6d1aa}
.v198-feed-item>span:nth-child(2){display:grid;gap:4px;min-width:0}
.v198-feed-item strong{font-size:.94rem}
.v198-feed-item small{color:#557064;font-size:.82rem;line-height:1.5}
.v198-feed-item em{font-size:.71rem;color:#7b8f83;font-style:normal}
.v198-feed-dot{display:block;width:8px;height:8px;border-radius:50%;background:#cad8cb}
.v198-feed-item.unread .v198-feed-dot{background:#24845b}
.v198-feed-note,.v198-feed-empty{font-size:.82rem;line-height:1.55;color:#62776b;margin:13px 0 0}
.v19-proposal:target,.v19-proposal:focus{outline:3px solid #83b88d;outline-offset:4px}
@media(max-width:700px){.v198-head-actions{gap:8px}.v198-bell{min-width:42px;min-height:42px}.v198-feed-panel{margin:8px 0 20px;padding:15px;border-radius:17px}.v198-feed-heading h2{font-size:1.35rem}.v198-feed-item{padding:12px 10px}}

/* V19.9: focused agent home, mobile-first and faithful to real booking state. */
.ludo-v1990-hero{min-height:0;padding:20px 26px;grid-template-columns:1fr 82px;align-items:center;gap:12px}
.ludo-v1990-hero h1{font-size:clamp(24px,3vw,31px);line-height:1.06;margin:7px 0}
.ludo-v1990-hero p{font-size:13px;line-height:1.5;margin:0;max-width:540px}
.ludo-v1990-hero .agent-icon{width:75px;height:75px}
.ludo-v1990-hero .agent-icon span{width:52px;height:52px;font-size:38px;border-radius:17px}
.ludo-v1990-priority{margin-top:17px}
.ludo-v1990-game-summary{display:grid;gap:8px;margin:15px 0 12px;font-size:14px;color:#204935}
.ludo-v1990-game-summary strong{font-size:16px}
.ludo-v1990-game-summary span{line-height:1.45}
.ludo-v1990-disclaimer{font-size:12px!important;line-height:1.55!important;color:#5c745f!important}
@media(max-width:760px){.ludo-v1990-hero{padding:19px 19px;grid-template-columns:1fr;min-height:0}.ludo-v1990-hero h1{font-size:27px;max-width:none}.ludo-v1990-hero p{max-width:100%;padding-right:45px}.ludo-v1990-hero .agent-icon{position:absolute;right:-23px;top:8px;transform:scale(.57);opacity:.35;pointer-events:none}.ludo-v1990-priority{padding:19px 20px}.ludo-v1990-game-summary{font-size:14px}}

/* V19.10: one-device pilot push self-test. No changes to public notification delivery. */
.ludo-push-test-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.ludo-push-test-result{margin:12px 0 0;border:1px solid #b8d5ad;background:#eff8e9;color:#1d4b36;border-radius:12px;padding:12px 14px;font-size:13px;line-height:1.5}
@media(max-width:600px){.ludo-push-test-actions .btn{width:100%}}

/* V19.16: Player discovery, without changing the existing Friends layout. */
.ludo-network-discovery{margin-bottom:18px}.ludo-network-search{display:flex;gap:8px;margin:14px 0}.ludo-network-search input{min-width:0;flex:1;border:1px solid #b8c9c2;border-radius:12px;padding:12px;background:#fff;font:inherit}.ludo-network-player{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #e4ebe7;flex-wrap:wrap}.ludo-network-person{flex:1;min-width:100px;display:flex;flex-direction:column;gap:2px}.ludo-network-person small{color:#60756b}.ludo-network-privacy{margin-top:18px;padding:14px;border:1px solid #dce8df;border-radius:14px;display:flex;justify-content:space-between;align-items:center;gap:10px}.ludo-network-privacy p{margin:4px 0 0}.ludo-network-privacy .btn{flex-shrink:0}.ludo-network-results{margin:10px 0}.ludo-network-player .pair-control-row{display:flex;gap:6px}@media(max-width:420px){.ludo-network-player .btn{padding:8px 10px}.ludo-network-privacy{align-items:flex-start}}

/* V19.18: Focused Play; one clearly labelled network entry, separate from matches. */
.play-tools-nav{margin:14px 0 22px}
.play-tools-link{display:flex;align-items:center;gap:12px;width:100%;max-width:100%;text-align:left;padding:13px 16px;border:1px solid rgba(18,52,46,.17);border-radius:16px;background:rgba(255,255,255,.65);text-decoration:none;cursor:pointer}
.play-tools-link:hover{border-color:rgba(18,52,46,.45);background:#fff}
.play-tools-symbol{font-size:22px;color:#12342e}
.play-tools-label{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.play-tools-label strong{font-weight:700;color:#12342e}
.play-tools-label small{font-size:12px;color:#56675f}
.play-tools-count{margin-left:auto}
.play-tools-arrow{font-size:18px;color:#12342e}
.play-people-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:22px}
.play-people-header h1{margin:4px 0 6px}
.ludo-network-discovery{margin-bottom:20px}
@media(max-width:600px){.play-tools-link{padding:12px}.play-tools-label small{font-size:11px}}

/* V19.22: venue recommendation appears in the agent's primary next-action card. */
.agent-court-recommendation{display:grid;gap:5px;margin:16px 0 2px;padding:15px;border:1px solid #b9d8b7;border-radius:14px;background:#fff;overflow-wrap:anywhere}
.agent-court-kicker{font-size:10px;font-weight:850;letter-spacing:.09em;color:#377b55}
.agent-court-recommendation strong{font-size:17px;line-height:1.35;color:#163d2d}
.agent-court-recommendation>span:not(.agent-court-kicker){font-size:13px;color:#506e5c}
.agent-court-recommendation small{font-size:11px;line-height:1.5;color:#637e6a}
.agent-next-status .agent-court-book-link{justify-self:start;margin-top:8px;max-width:100%;white-space:normal;text-align:center}
.agent-next-status .agent-court-disclaimer{font-size:11px;line-height:1.5;margin-top:10px}
.agent-next-status .agent-court-no-match{margin-top:12px}
@media(max-width:600px){.agent-court-recommendation{padding:13px}.agent-next-status .agent-court-book-link{width:100%;justify-self:stretch}}

/* V19.23 — simple playing-partner choice */
.open-add-partner{border:1px solid #d8e7de;border-radius:19px;background:#f8fcf9;padding:20px 22px;margin:20px 0 14px}
.open-add-partner h3{margin:4px 0 5px;font-size:1.2rem;color:#183f35}.open-add-partner p{margin:0 0 15px}
.open-add-partner-actions{display:flex;gap:10px;flex-wrap:wrap}.open-add-partner-actions .btn{flex:1;min-width:210px;justify-content:center}
@media(max-width:620px){.open-add-partner{padding:17px}.open-add-partner-actions{flex-direction:column}.open-add-partner-actions .btn{width:100%;min-width:0}}

/* V19.24: a single scalable roster replaces the large featured pair card. */
.open-partner-roster{background:#fff;border:1px solid #dbe8df;border-radius:20px;padding:21px 23px;margin:18px 0;box-shadow:0 2px 12px rgba(17,61,42,.025)}
.open-roster-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}
.open-roster-heading h3{margin:5px 0 0;font-size:21px;color:#183e30}
.open-roster-count{border-radius:40px;background:#f0f6f0;padding:6px 11px;font-size:12px;font-weight:700;color:#396a4b;white-space:nowrap}
.open-roster-list{display:grid;gap:0}
.open-roster-row{display:flex;align-items:center;gap:13px;padding:13px 0;border-bottom:1px solid #e8eee8;min-width:0}
.open-roster-avatar{width:42px;height:42px;flex:none;border-radius:50%;background:#f7e8ee;color:#744f5e;display:grid;place-items:center;font-weight:800;font-size:15px}
.open-roster-person{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.open-roster-person strong{font-size:15px;color:#193b30;overflow-wrap:anywhere}
.open-roster-person>span{font-size:12px;color:#66796d}
.open-roster-star{color:#b0803a;font-size:13px}
.open-roster-status{font-size:12px;font-weight:750;white-space:nowrap;padding:6px 10px;border-radius:40px}
.open-roster-status.ready{background:#e5f5e6;color:#286a3c}
.open-roster-status.waiting{background:#f5f3ea;color:#7d6d40}
.open-roster-footer{padding-top:15px}
.open-roster-agent{display:flex;align-items:flex-start;gap:9px;color:#4b6b57;font-size:13px;line-height:1.5;margin-bottom:14px}
.open-roster-agent>span:first-child{color:#40835a;font-size:19px;line-height:1}
.open-roster-actions{display:flex;gap:10px;flex-wrap:wrap}
.open-roster-actions .btn{flex:1;min-width:190px;justify-content:center}
.open-manage-details{margin-top:10px}
@media(max-width:620px){.open-partner-roster{padding:16px}.open-roster-heading h3{font-size:19px}.open-roster-actions{flex-direction:column}.open-roster-actions .btn{width:100%;min-width:0}.open-roster-row{gap:10px}.open-roster-avatar{width:38px;height:38px}.open-roster-status{font-size:11px;padding:5px 8px}}

/* V19.28: compact, actionable social updates on the Agent home screen */
.ludo-social-alerts{display:grid;gap:9px;margin:16px 0 8px}
.ludo-social-alert{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #c8dfcc;border-radius:16px;background:#f2faf4;padding:13px 16px}
.ludo-social-alert.is-request{border-color:#83bb96;background:#eaf7ee}
.ludo-social-alert-copy{display:flex;align-items:center;gap:12px;min-width:0}
.ludo-social-alert-icon{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#d3ebda;color:#20583a;font-weight:800}
.ludo-social-alert strong{font-size:.95rem;color:#1c4933}
.ludo-social-alert p{margin:3px 0 0;font-size:.84rem;color:#476452;line-height:1.35}
.ludo-social-alert .btn{flex:none;white-space:nowrap}
@media(max-width:550px){.ludo-social-alert{align-items:flex-start;flex-direction:column;padding:12px 13px;gap:10px}.ludo-social-alert .btn{margin-left:42px}}

/* V19.29: friends-to-games shortcut */
.v1929-play-friends{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #b8d9c4;background:#f1faf3;border-radius:17px;padding:15px 18px;margin:16px 0}
.v1929-play-friends strong{color:#214c35;font-size:1rem}.v1929-play-friends p{color:#4c6b57;font-size:.85rem;margin:4px 0 0}
.v1929-play-friends .btn{white-space:nowrap;flex:none}
@media(max-width:520px){.v1929-play-friends{align-items:flex-start;flex-direction:column}.v1929-play-friends .btn{align-self:flex-start}}

/* V19.30: friend-first network with consistent top-left back navigation */
.play-people-header{display:block;margin:0 0 16px}
.play-people-header .play-people-back{display:inline-flex;margin:0 0 19px;align-items:center}
.play-people-header h1{margin:5px 0 6px}
.play-people-header p{margin:0}
.play-people-header+.connections-section{margin-top:0}
.connections-section+.ludo-network-discovery{margin-top:14px}
.ludo-network-discovery{padding:0;overflow:hidden}
.ludo-network-find-details>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:19px 23px}
.ludo-network-find-details>summary::-webkit-details-marker{display:none}
.ludo-network-find-details>summary strong{display:block;font-size:1rem;color:#174b36}
.ludo-network-find-details>summary small{display:block;margin-top:4px;color:#66796f}
.ludo-network-find-details>summary>span:last-child{font-size:1.2rem;transition:transform .15s}
.ludo-network-find-details[open]>summary>span:last-child{transform:rotate(180deg)}
.ludo-network-find-details>summary:focus-visible{outline:3px solid #7ba98c;outline-offset:-3px}
.ludo-network-find-content{padding:0 23px 22px}
.ludo-network-request-priority{padding:18px 23px;border-bottom:1px solid #dce9e1;background:#f3faf5}
.ludo-network-request-priority h3{margin:0 0 4px}
.ludo-network-request-priority .ludo-network-player:last-child{border-bottom:0}
@media(max-width:640px){.play-people-header .play-people-back{margin:0 0 14px}.ludo-network-find-details>summary{padding:17px}.ludo-network-find-content{padding:0 17px 17px}.ludo-network-request-priority{padding:16px}}

/* V19.31: straightforward Friends entry and existing in-app invitation sheet */
.ludo-friends-start{border:1px solid #b7d9c0;background:#f3faf5;border-radius:20px;padding:20px;margin:18px 0 26px}
.ludo-friends-start-head strong{font-size:1.18rem;color:#163e2b}
.ludo-friends-start-head p{color:#577363;margin:5px 0 15px;font-size:.92rem}
.ludo-friends-sports{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ludo-friends-sport{display:flex;align-items:center;text-align:left;gap:11px;border:1px solid #d3e6d9;background:#fff;border-radius:14px;padding:14px 15px;color:#173c2a;cursor:pointer;min-width:0}
.ludo-friends-sport:hover{border-color:#78b18a;background:#f8fef9}
.ludo-friends-sport:focus-visible{outline:3px solid #81b992;outline-offset:2px}
.ludo-friends-sport:disabled{opacity:.55;cursor:wait}
.ludo-friends-sport-icon{display:grid;place-items:center;background:#e5f4e8;width:36px;height:36px;border-radius:12px;flex:none}
.ludo-friends-sport>span:nth-child(2){flex:1;min-width:0}
.ludo-friends-sport strong,.ludo-friends-sport small{display:block}
.ludo-friends-sport small{font-size:.78rem;color:#657b6e;margin-top:3px}
.ludo-friends-start-note{font-size:.79rem;color:#5b7665;margin:14px 0 0}
@media(max-width:560px){.ludo-friends-start{padding:15px}.ludo-friends-sports{grid-template-columns:1fr}}

/* V19.32: LUDO Friends is agent-first; manual group setup stays secondary */
.v1932-agent-friends{margin:17px 0 22px;border:1px solid #a7d1b4;background:#eff8f1;border-radius:20px;padding:22px 24px}
.v1932-agent-friends h3{margin:7px 0 7px;font-size:clamp(1.15rem,2vw,1.5rem);color:#143e2d}
.v1932-agent-friends p{margin:0 0 15px;color:#3d5c49;line-height:1.5}
.v1932-agent-friends .help{font-size:.78rem;margin:11px 0 0}
.v1932-friends-setup{margin:16px 0 23px;border:1px solid #dce7df;border-radius:15px;background:#fff;overflow:hidden}
.v1932-friends-setup>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-weight:700;padding:16px 20px;color:#1e5139}
.v1932-friends-setup>summary::-webkit-details-marker{display:none}
.v1932-friends-setup>summary:focus-visible{outline:3px solid #83b698;outline-offset:-3px}
.v1932-friends-setup[open]>summary{border-bottom:1px solid #dce7df}
.v1932-friends-setup-body{padding:0 16px 16px}
.v1932-friends-setup .ludo-friends-start{margin:0}
.v1932-groups-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.friend-group-card{scroll-margin-top:18px}
@media(max-width:600px){.v1932-agent-friends{padding:17px}.v1932-groups-heading>span{display:none}}
/* V19.34: concise, actionable readiness information in existing Friends cards */
.v1934-group-insight{margin:12px 0;padding:12px 14px;border:1px solid rgba(37,112,89,.20);border-radius:13px;background:rgba(50,145,109,.07)}
.v1934-group-insight strong{display:block;font-weight:750;font-size:.92rem}
.v1934-group-insight p{margin:5px 0 0;line-height:1.45;font-size:.85rem;color:var(--muted,#61716d)}

/* V19.35 — one status, one action per Friends group */
.v1935-friends{max-width:850px;margin:0 auto}.v1935-friends-head{margin:20px 0 22px}.v1935-friends-head h2{font-size:clamp(1.6rem,3vw,2rem);margin:5px 0}.v1935-friends-head p{margin:0}.v1935-group-list{display:grid;gap:14px}.v1935-group-card{border:1px solid #dfe9e2;background:#fff;border-radius:20px;padding:22px;box-shadow:0 4px 20px rgba(20,55,40,.035)}.v1935-group-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.v1935-group-top h3{font-size:1.25rem;line-height:1.3;margin:5px 0 0}.v1935-sport{text-transform:uppercase;letter-spacing:.075em;font-size:.7rem;font-weight:750;color:#597466}.v1935-players{background:#edf5ee;color:#315e47;border-radius:30px;padding:7px 11px;white-space:nowrap;font-size:.76rem;font-weight:700}.v1935-status{margin:18px 0 17px}.v1935-status strong{font-size:1.02rem;color:#183e2e}.v1935-status p{color:#587066;font-size:.87rem;line-height:1.45;margin:5px 0 0}.v1935-group-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.v1935-group-actions>.btn{min-width:160px}.v1935-detail-toggle{border:0;background:none;color:#536f60;font-size:.83rem;font-weight:700;cursor:pointer;padding:11px 6px}.v1935-detail-toggle:hover{text-decoration:underline}.v1935-group-extra{border-top:1px solid #e4ede7;margin-top:20px;padding-top:15px}.v1935-extra-block{margin:0 0 18px}.v1935-extra-block>strong{display:block;margin-bottom:10px;font-size:.9rem}.v1935-time{background:#f3f8f4;padding:9px 12px;border-radius:9px;margin:7px 0;font-size:.88rem}.v1935-extra-block .friend-member-list{margin-top:12px}.v1935-extra-manage{border-top:1px solid #edf1ed;padding-top:12px;display:flex;gap:8px;flex-wrap:wrap}.v1935-pending{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 18px;background:#f1f8ee;border-radius:14px;margin-bottom:18px}.v1935-empty{border:1px solid #dfe9e2;border-radius:18px;padding:24px}.v1935-create{margin:18px 0 12px}.v1935-friends .join-group-details{margin-top:12px}@media(max-width:600px){.v1935-group-card{padding:17px}.v1935-group-actions{gap:7px}.v1935-group-actions>.btn{flex:1}.v1935-pending{align-items:stretch;flex-direction:column}}

/* V19.36 — compact friends groups and direct playing times */
.v1935-group-list{gap:10px}
.v1935-group-card{padding:16px 19px;border-radius:17px}
.v1935-group-top h3{font-size:1.14rem;margin:2px 0 0}
.v1935-sport{font-size:.65rem}
.v1935-players{padding:5px 10px}
.v1935-status{margin:11px 0 10px}
.v1935-status strong{font-size:.97rem}
.v1935-status p{margin:2px 0 0;font-size:.82rem}
.v1935-group-actions{gap:10px}
.v1935-group-actions>.btn{min-width:135px;padding:10px 14px}
.v1935-detail-toggle{padding:8px 4px}
.v1936-times-panel{border-top:1px solid #e3ede5;margin-top:12px;padding-top:13px}
.v1936-times-panel>strong{font-size:.9rem}
.v1936-time{background:#f3f8f4;border-radius:9px;padding:10px 12px;margin:8px 0;font-weight:650;font-size:.88rem}
.v1936-time small{font-weight:400;color:#587066}
@media(max-width:600px){.v1935-group-card{padding:14px}.v1935-group-actions>.btn{min-width:0}}

/* V19.37 — make existing proposals the primary Friends action */
.v1935-group-actions button[data-action="v191-propose-exact"],
.v1935-group-actions button[data-action="v1937-propose-weekly"]{background:#254d3a;color:#fff;border-color:#254d3a}

/* V19.38 — one clear recommendation, secondary groups available on demand */
.v1938-agent-card{background:#edf6ee;border:1px solid #d1e5d4;border-radius:19px;padding:22px;margin:14px 0 20px}
.v1938-eyebrow{font-size:.69rem;font-weight:800;letter-spacing:.1em;color:#466d50}
.v1938-agent-card h3{font-size:1.25rem;margin:10px 0 6px;line-height:1.3;color:#1a402c}
.v1938-agent-card p{font-size:.91rem;color:#476654;margin:0 0 16px;line-height:1.45}
.v1938-agent-card small{display:block;margin-top:10px;color:#607b66;font-size:.76rem}
.v1938-other-groups{margin:10px 0 16px}
.v1938-other-groups>summary{cursor:pointer;padding:12px 4px;font-weight:700;color:#365d44}
.v1938-other-groups[open]>summary{margin-bottom:10px}
@media(max-width:600px){.v1938-agent-card{padding:17px}.v1938-agent-card .btn{width:100%}}

/* NSW beta: one clear invitation action, secondary settings collapsed */
.ludo-beta-invite{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;margin:16px 0;border:1px solid #d5e5dc;border-radius:20px;background:#f2f9f3}
.ludo-beta-invite strong{font-size:17px;color:#123b30}.ludo-beta-invite p{margin:5px 0 0;color:#526a61;font-size:14px}
.ludo-beta-invite .btn{flex-shrink:0}
.ludo-beta-advanced{margin:18px 0;border:1px solid #dce5e0;border-radius:18px;background:#fff;overflow:hidden}
.ludo-beta-advanced>summary{padding:19px 22px;font-weight:700;cursor:pointer;color:#1b4137;list-style-position:inside}
.ludo-beta-advanced-body{padding:0 14px 14px}.ludo-beta-advanced-body .settings-section{margin:12px 0}
@media(max-width:640px){.ludo-beta-invite{align-items:stretch;flex-direction:column}.ludo-beta-invite .btn{width:100%}}

/* V19.41: focused, compact onboarding and one-tap time range selection */
.onboarding-shell .sidebar .nav,.onboarding-shell .sidebar-foot,.onboarding-shell .full-bleed-mobile{display:none!important}
.onboarding-shell .content{padding-bottom:35px}
.ludo-quick-setup .setup-head{margin-bottom:17px}
.ludo-quick-setup .step{margin-bottom:11px;padding:18px}
.ludo-quick-setup .step h3{margin-bottom:12px}
.ludo-quick-setup .step .hint{margin:2px 0 12px}
.ludo-quick-setup .v191-availability{margin-top:12px;padding:15px}
.ludo-quick-setup .v191-av-top{margin-bottom:10px}
.ludo-quick-setup .v191-day-tabs{margin-bottom:12px}
.ludo-quick-setup .v191-periods{margin-bottom:12px}
.ludo-quick-setup .onboard-actions{margin-top:12px}
.v1941-range{padding:12px;margin:0 0 13px;border:1px solid #cbdcc7;border-radius:13px;background:#fff}
.v1941-range-title{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:13px;font-weight:850;color:#1a4936;margin-bottom:9px}
.v1941-range-title span{font-size:10px;font-weight:750;color:#4b7259;background:#e9f4e2;border-radius:15px;padding:4px 8px}
.v1941-range-fields{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end}
.v1941-range-fields label{display:grid;gap:5px;font-size:11px;font-weight:750;color:#46614e;min-width:0}
.v1941-range-fields select{min-width:0;width:100%;height:43px;border:1px solid #cfdfcd;border-radius:10px;background:#fff;color:#173d31;font:750 12px inherit;padding:0 7px}
.v1941-add-range{border:0;border-radius:10px;background:#194e3b;color:#fff;min-height:43px;padding:0 13px;font-size:12px;font-weight:800}
.v1941-range-note{margin:8px 0 0;font-size:11px;color:#687e6c;line-height:1.4}
@media(max-width:760px){.onboarding-shell .content{padding:17px 13px 32px}.onboarding-shell .topline{margin-bottom:13px}.ludo-quick-setup .step{padding:16px 15px}.ludo-quick-setup .v191-availability{padding:12px}.v1941-range-fields{grid-template-columns:1fr 1fr}.v1941-add-range{grid-column:1/-1}.v1941-range-fields select{font-size:13px}}

/* v19.43: one-action Play landing */
.ludo43-start{padding:14px 0 36px}.ludo43-start h1{font-size:clamp(2rem,7vw,2.8rem);margin:8px 0 12px}.ludo43-start>.muted{margin-bottom:22px}.ludo43-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ludo43-choice{font:inherit;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-height:190px;padding:20px 15px;background:#fff;border:1.5px solid #d8e1d8;border-radius:20px;color:#173f35;cursor:pointer}.ludo43-choice:nth-child(2){background:#eaf4e9;border-color:#368564}.ludo43-choice strong{font-size:1.15rem;line-height:1.25}.ludo43-choice span:not(.ludo43-choice-icon){font-size:.9rem;color:#60736b}.ludo43-choice small{margin-top:auto;color:#39735c;font-weight:700}.ludo43-choice-icon{font-size:1.7rem;color:#247b58}.ludo43-friends{font:inherit;width:100%;margin-top:15px;display:flex;align-items:center;gap:16px;text-align:left;padding:19px;background:#fff;border:1.5px solid #d8e1d8;border-radius:18px;color:#173f35;cursor:pointer}.ludo43-friends>span:first-child{font-size:1.9rem;color:#247b58}.ludo43-friends>span:nth-child(2){display:flex;flex-direction:column;gap:4px;flex:1}.ludo43-friends small{color:#60736b}.ludo43-heading{margin-bottom:20px}.ludo43-heading .eyebrow{margin-top:18px}.ludo43-solo{display:flex;flex-direction:column;align-items:flex-start;gap:14px}.ludo43-notice{padding:18px;background:#f0f5ed;border-radius:14px}.ludo43-notice p{margin:8px 0 0}@media(max-width:360px){.ludo43-choices{gap:8px}.ludo43-choice{padding:15px 11px}}

/* v19.44: one primary action on My Agent */
.ludo44-home{padding:30px 28px 24px;border-radius:24px;background:linear-gradient(135deg,#123e33,#1b5543);color:#fff;margin:14px 0 22px}
.ludo44-home .eyebrow{color:#c6e49b;font-size:11px;letter-spacing:.12em}
.ludo44-home h1{color:#fff;font-size:clamp(30px,5vw,44px);line-height:1.06;margin:14px 0}
.ludo44-home p{color:#e1eee6;margin:0 0 22px;font-size:16px}
.ludo44-home .ludo44-main{width:100%;min-height:55px;background:#d4ed9e;color:#143e32;font-weight:750;border:0;font-size:17px}
.ludo44-friends{width:100%;display:flex;align-items:center;justify-content:space-between;margin-top:14px;padding:14px 2px;color:#fff;background:transparent;border:0;border-bottom:1px solid #719888;font-size:15px;font-weight:650;text-align:left;cursor:pointer}
.ludo44-note{color:#718278;font-size:12px;line-height:1.5;margin:14px 3px 26px}
@media(max-width:700px){.ludo44-home{padding:26px 22px 22px;margin-top:10px}.ludo44-home h1{font-size:36px}}

/* v19.46: a single, optional matchmaking permission during onboarding */
.ludo46-consent{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border:1px solid #d6e2d4;border-radius:16px;background:#eff6eb;margin:14px 0;color:#194b3c;cursor:pointer}.ludo46-consent input{width:22px;height:22px;flex:none;accent-color:#215c47;margin:3px 0 0}.ludo46-consent span{display:flex;flex-direction:column;gap:4px}.ludo46-consent small{font-size:.83rem;line-height:1.5;color:#587063}

/* v19.48: passive solo status, no extra search step */
.ludo48-auto{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px;margin:16px 0;border:1px solid rgba(26,73,52,.18);border-radius:16px;background:rgba(216,238,180,.15)}
.ludo48-auto strong{font-size:1.1rem}.ludo48-auto p{margin:6px 0 0;font-size:.88rem;line-height:1.45;opacity:.8}
@media(max-width:450px){.ludo48-auto{padding:14px}.ludo48-auto .btn{flex-shrink:0}}

/* V19.50: three equal, clear ways to play. Keep existing actions and flows. */
.ludo50-options{display:flex;flex-direction:column;gap:12px;margin-top:22px}
.ludo50-option{width:100%;min-height:100px;display:flex;align-items:center;gap:16px;padding:18px 19px;border:1.5px solid #d8e1d8;border-radius:20px;background:#fff;color:#173f35;font:inherit;text-align:left;cursor:pointer}
.ludo50-option:focus-visible{outline:3px solid #397c60;outline-offset:3px}
.ludo50-solo{background:#eef4e8;border-color:#cbdac8}
.ludo50-symbol{font-size:2rem;color:#247b58;width:36px;flex-shrink:0;text-align:center}
.ludo50-copy{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}
.ludo50-copy strong{font-size:1.1rem;line-height:1.3}
.ludo50-copy small{font-size:.88rem;line-height:1.45;color:#64766d}
.ludo50-arrow{font-size:1.3rem;margin-left:auto}
.ludo50-status{font-size:.77rem;font-weight:700;border-radius:999px;padding:7px 10px;background:#e4e9e2;color:#476055;flex-shrink:0}
.ludo50-status.on{background:#d5ead9;color:#215e3c}
@media(max-width:360px){.ludo50-option{padding:15px 12px;gap:10px}.ludo50-copy strong{font-size:1rem}.ludo50-copy small{font-size:.8rem}}

/* v19.53: quick, visible invitation action without a new screen */
.ludo53-invite{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;margin:12px 0 18px;border:1px solid #bfd9c9;border-radius:16px;background:#f0f8f2;color:#12342e}.ludo53-invite strong{font-size:1rem}.ludo53-invite p{margin:5px 0 0;font-size:.86rem;line-height:1.4}.ludo53-invite .btn{flex-shrink:0}@media(max-width:600px){.ludo53-invite{align-items:stretch;flex-direction:column}.ludo53-invite .btn{width:100%}}

/* V19.58: a small pending-invitation marker on the mobile My Games tab. */
@media(max-width:760px){
 .full-bleed-mobile button{position:relative}
 .full-bleed-mobile .ludo-mobile-invite-count{position:absolute;top:0;right:calc(50% - 32px);min-width:18px;height:18px;padding:1px 4px;border-radius:10px;background:#d6f598;color:#143b33;display:grid;place-items:center;font-size:11px;line-height:1;font-weight:800;border:2px solid #13362e}
}
