body{background:#111b15;color:#f4e7d2}.ccl-lfm-shell{max-width:970px;margin:auto;padding:48px 22px 75px}.ccl-lfm-shell h1{font-size:clamp(2.7rem,6vw,5rem);color:#ebcc88}.ccl-lfm-lead{max-width:780px;line-height:1.7;color:#c9d2c4}.ccl-lfm-panel{border:1px solid #657455;border-radius:10px;background:#1b2a20;padding:22px;margin:20px 0}.ccl-lfm-panel h2{color:#efcd87;font-size:1.55rem;margin:0 0 14px}.ccl-lfm-panel p{line-height:1.6;color:#c7d1c3}.ccl-lfm-panel label{display:block;font-weight:700;color:#dfce9f;margin:14px 0 6px}.ccl-lfm-panel input,.ccl-lfm-panel select,.ccl-lfm-panel textarea{background:#101a14;color:#f7ebd4;border:1px solid #798969;border-radius:7px;padding:11px 13px;width:100%;max-width:650px;font:inherit}.ccl-lfm-panel button{margin-top:15px;padding:11px 18px}.ccl-lfm-panel a{color:#edca85;text-decoration:underline}.ccl-lfm-panel pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#0c1710;border:1px solid #587155;border-radius:8px;padding:17px;color:#f3e2bc;font:inherit;line-height:1.7}.ccl-lfm-panel[hidden]{display:none}.ccl-lfm-panel :focus-visible{outline:2px solid #f0d191;outline-offset:3px}@media(max-width:620px){.ccl-lfm-shell{padding:26px 13px 55px}.ccl-lfm-panel{padding:16px}}
.ccl-lfm-listing,.ccl-appearance-card{border:1px solid #657353;background:#15221a;border-radius:10px;padding:16px;margin:12px 0;display:grid;gap:8px;overflow-wrap:anywhere}.ccl-lfm-listing h3,.ccl-appearance-card h3{color:#ebd08b;margin:0}.ccl-lfm-listing a{color:#e8c68c;text-decoration:underline}.ccl-lfm-listing small{color:#bed0bb}.ccl-lfm-listing button{max-width:280px}.ccl-appearance-choice{display:flex!important;align-items:center;gap:10px;margin:8px 0!important;border-bottom:1px solid #415b43;padding:7px 0;color:#f3e9d2!important}.ccl-appearance-choice input{width:18px!important;height:18px!important;flex:0 0 18px}.ccl-appearance-form button{margin-top:16px}.ccl-appearance-receipt{font-weight:700;color:#e5cd8a}

/* Show urgent league challenges above the challenge composer. */
#cclGauntletUrgent{border:2px solid #d3a354;border-radius:14px;padding:18px;margin:12px 0 24px;background:linear-gradient(120deg,#342a19,#16281f);box-shadow:0 0 0 3px #d3a35415}
.ccl-gauntlet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ccl-gauntlet-head h3{color:#f4c67b;margin:4px 0;font-size:1.35rem}
.ccl-gauntlet-kicker{font-size:.74rem;color:#e7b65f;letter-spacing:.13em;font-weight:850}
.ccl-gauntlet-help{font-size:.88rem;color:#d4d9c9}
.ccl-gauntlet-compose-heading{border-top:1px solid #b08a4f77;padding-top:18px;margin-top:20px}
.ccl-gauntlet-card{padding:16px;border-radius:12px;border:1px solid #85724c;margin:10px 0;background:#19291f}
.ccl-gauntlet-card.ccl-gauntlet-incoming{border:3px solid #e9b864;background:linear-gradient(135deg,#3b2b1c,#182d20);box-shadow:0 12px 25px #0005}
.ccl-gauntlet-matchup{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.ccl-gauntlet-matchup h3{margin:0;color:#ffdf9a;font-size:1.18rem}
.ccl-gauntlet-badge{background:#3f3526;color:#ffe1a3;padding:7px 10px;border:1px solid #c59b5f;border-radius:5px;font-size:.74rem;letter-spacing:.04em}
.ccl-gauntlet-date{display:flex;flex-direction:column;gap:3px;margin:14px 0;padding:13px;border-left:4px solid #d8aa64;background:#101c16}
.ccl-gauntlet-date small{font-size:.73rem;color:#d2b88a;font-weight:800;letter-spacing:.08em}
.ccl-gauntlet-date strong{font-size:1.25rem;color:#f5daaa}
.ccl-gauntlet-status{color:#c1cdbf;font-size:.84rem}
.ccl-gauntlet-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:14px 0}
.ccl-gauntlet-actions button{min-height:46px;font-weight:800}
.ccl-gauntlet-actions .primary{background:#d2a860;color:#192016}
.ccl-gauntlet-counter{display:flex;align-items:end;gap:10px;flex-wrap:wrap}
.ccl-gauntlet-counter label{flex:1 1 220px;display:grid;gap:5px}
.ccl-gauntlet-counter input{min-height:44px}
.ccl-gauntlet-decline{border-color:#995c58!important;color:#f0c4ba!important}
.ccl-gauntlet-taunt{font-style:italic;font-size:.9rem;color:#dacaaa;border-left:3px solid #9e8052;padding:5px 0 5px 12px;margin:16px 0 0}
@media(max-width:700px){#cclGauntletUrgent{padding:12px}.ccl-gauntlet-counter>*{width:100%}.ccl-gauntlet-date strong{font-size:1.04rem}}

/* Package 29: action-first opponent finding without duplicate forms or handlers. */
.ccl-lfm-shell{padding-top:30px}
.ccl-lfm-shell>h1{margin-bottom:.35rem}
.ccl-lfm-lead{margin:.3rem 0 1rem}
.ccl-lfm-route-note{border:1px solid #93774c;border-radius:9px;background:#25291e;padding:13px 16px;line-height:1.5;color:#ead6aa}
.ccl-lfm-route-note strong{color:#f6d48d}
.ccl-lfm-route-note a{color:#ffe1a4}
.ccl-lfm-compose{border:1px solid #758364;border-radius:9px;background:#15231a;margin:10px 0}
.ccl-lfm-compose>summary{cursor:pointer;display:list-item;padding:13px 16px;color:#f0d295;font-size:.94rem;font-weight:800}
.ccl-lfm-compose>summary:focus-visible{outline:2px solid #edcc8e;outline-offset:3px}
.ccl-lfm-compose[open]>summary{border-bottom:1px solid #536348}
.ccl-lfm-compose-body{padding:10px 16px 16px}
.ccl-lfm-compose-body form{min-width:0}
.ccl-lfm-compose-body :is(select,input,textarea){box-sizing:border-box;max-width:100%;min-width:0}
.ccl-lfm-panel{margin:12px 0;padding:18px}
.ccl-lfm-panel h2{font-size:1.35rem;margin-bottom:8px}
.ccl-lfm-panel .ccl-lfm-help{font-size:.85rem;margin:.35rem 0}
.ccl-lfm-panel :is(button,input,select,textarea){min-height:40px}
.ccl-lfm-panel [role="status"]{overflow-wrap:anywhere}
#cclCalloutPanel>.ccl-gauntlet-urgent{margin:10px 0}
@media(max-width:620px){
 .ccl-lfm-shell{padding:22px 12px 42px}
 .ccl-lfm-panel{padding:12px}
 .ccl-lfm-compose-body{padding:8px 11px 12px}
 .ccl-lfm-compose>summary{padding:13px 11px}
 .ccl-lfm-panel :is(button,input,select,textarea){min-height:44px}
 .ccl-lfm-panel button{max-width:100%}
}

/* One-tap official invitation entry, above the challenges and listing feed. */
.ccl-lfm-invite-action{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 20px;margin:16px 0;border:2px solid #dab16e;border-radius:12px;background:linear-gradient(120deg,#26392a,#1b271f);color:#f4e5cc}
.ccl-lfm-invite-action strong{display:block;color:#f2cb81;letter-spacing:.08em;font-weight:900}
.ccl-lfm-invite-action p{margin:6px 0 0;line-height:1.45;color:#e0dfcf}
.ccl-lfm-invite-button{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:48px;padding:12px 20px;box-sizing:border-box;background:#d5a85c;color:#171b16!important;border:2px solid #f5d99d;border-radius:8px;font-weight:900;letter-spacing:.035em;text-decoration:none;white-space:normal}
.ccl-lfm-invite-button:focus-visible{outline:3px solid white;outline-offset:3px}
@media(max-width:650px){.ccl-lfm-invite-action{padding:15px}.ccl-lfm-invite-button{width:100%}}


/* Official in-page match invitation. Scoped to Find Opponent. */
.ccl-invite-overlay{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(4,10,8,.84);overflow-y:auto}
.ccl-invite-dialog{width:min(100%,540px);max-height:calc(100dvh - 32px);overflow-y:auto;background:#19271e;border:2px solid #d5a85c;border-radius:14px;padding:clamp(16px,3vw,28px);box-sizing:border-box;box-shadow:0 18px 60px rgba(0,0,0,.6);color:#f1e9d4}
.ccl-invite-dialog h2{color:#e9c57c;margin:0 0 12px}
.ccl-invite-dialog label{display:block;margin:16px 0 8px}
.ccl-invite-dialog select{display:block;width:100%;min-height:44px;margin-top:7px;box-sizing:border-box}
.ccl-invite-dialog .ccl-invite-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}
.ccl-invite-dialog .ccl-invite-actions>*{min-height:44px;flex:1;cursor:pointer}
.ccl-invite-dialog .ccl-lfm-status{min-height:24px;margin:12px 0;color:#e9c57c}
@media(max-width:560px){.ccl-invite-overlay{align-items:flex-start;padding:12px}.ccl-invite-dialog{max-height:calc(100dvh - 24px)}}

/* v1.1: guidance remains accessible without dominating the match board. */
.ccl-lfm-guidance{margin:9px 0 14px;color:#c7cec0}
.ccl-lfm-guidance summary{display:inline-flex;align-items:center;min-height:38px;cursor:pointer;color:#e3bb7e;font-size:.86rem;font-weight:750}
.ccl-lfm-guidance summary:focus-visible{outline:2px solid #e3bb7e;outline-offset:3px}
.ccl-lfm-guidance p{margin:5px 0 0;line-height:1.5;font-size:.91rem}
.ccl-lfm-panel{scroll-margin-top:20px}
@media(max-width:600px){.ccl-lfm-guidance{margin:5px 0 10px}}
