.stable-switch,.stable-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}#active-stable{padding:24px 0}#active-stable h3{font-family:var(--disp);font-size:32px}#active-stable p{margin:16px 0}.stable-real-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;margin:24px 0}.stable-real-grid article{min-width:0}.stable-real-grid button{display:block;width:100%;margin-top:10px;padding:10px;background:#29271f;color:#eee0bf;border:1px solid #786340;cursor:pointer}.stable-real-grid button[aria-pressed=true]{background:#a63024}.stable-real-grid .tcard{width:100%!important}.stable-duel{display:grid;grid-template-columns:minmax(100px,260px) 40px minmax(100px,260px);justify-content:center;align-items:center;gap:24px;margin:24px 0}.stable-duel .tcard{width:100%!important}.stable-actions button,#stable-next,#stable-again{padding:12px 20px;background:#b73023;color:#fff1da;border:1px solid #b79960;cursor:pointer}#active-stable details{margin:24px 0}#active-stable [hidden]{display:none!important}@media(max-width:1000px){.stable-real-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:550px){.stable-real-grid{grid-template-columns:repeat(2,1fr)}.stable-duel{gap:8px;grid-template-columns:1fr 20px 1fr}}
.stable-identity{padding:28px;background-size:cover;background-position:center;border-bottom:2px solid #b39b60}.stable-identity label{display:inline-block;margin:12px}.stable-identity input,.stable-identity select{display:block;background:#171814;color:#f0e2c2;border:1px solid #786748;padding:10px}.stable-identity button{padding:10px;margin:8px;background:#a73123;color:#fff1dd;border:1px solid #a8996b}.stable-identity details{background:#121310de;padding:16px}
/* Account-backed stable navigation and consistent controls. */
#active-stable{color:var(--text,#efe7d6)}
#active-stable button{min-height:44px;padding:11px 17px;border:1px solid #9b824e;background:#b73226;color:#fff3dd;cursor:pointer;font:600 14px/1.4 Inter,sans-serif}
#active-stable button:disabled{opacity:.45;cursor:not-allowed}
#active-stable button:focus-visible,#active-stable input:focus-visible,#active-stable select:focus-visible{outline:3px solid #d4b470;outline-offset:3px}
#active-stable input:not([type=checkbox]),#active-stable select{width:100%;max-width:420px;min-height:44px;padding:10px;border:1px solid #746744;background:var(--ink2,#20211d);color:var(--text,#efe7d6);font:inherit}
#active-stable label{display:block;font-size:14px;line-height:1.8}
.stable-identity-top,.stable-section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}
#active-stable .stable-identity h3{color:#f3ead8;font-size:clamp(30px,4vw,52px);margin:12px 0}.stable-identity{color:#f3ead8}
.stable-record{display:flex;flex-direction:column;text-align:right;gap:4px}.stable-record strong,.stable-score{font:40px var(--disp,Anton),sans-serif;color:#c6a767}.stable-record span{font-size:10px;letter-spacing:2px}
.stable-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line,#504a3d);padding-bottom:18px;margin:8px 0 24px}
#active-stable .stable-tabs button{background:transparent;color:inherit;border-color:var(--line,#504a3d)}#active-stable .stable-tabs button[aria-pressed=true]{background:#c43125;color:#fff3dd;border-color:#c43125}.stable-refresh{margin-left:auto}
.stable-sync{padding:16px 0;font-size:13px;line-height:1.6;color:var(--muted,#b8b09f)}.stable-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.stable-identity .stable-form-grid label{margin:0}
.stable-toolbox{padding:24px;border:1px solid var(--line,#504a3d);margin:22px 0;background:var(--ink2,#20211d)}.stable-toolbox h3{margin:0 0 14px}.stable-toolbox>button{margin:12px 8px 12px 0}.stable-search{display:flex;align-items:end;gap:12px;margin:22px 0}.stable-search label{flex:1}.stable-optin{margin:18px 0}.stable-optin input{accent-color:#bc3929;min-width:20px;min-height:20px;vertical-align:middle}
.stable-lineup-preview{grid-template-columns:repeat(3,minmax(0,240px));justify-content:center}.stable-match-ratings{font-size:12px;letter-spacing:1px;text-align:center;padding:12px 0;color:#c7ae78}
.stable-ring{border:1px solid var(--line,#504a3d);padding:24px;background:radial-gradient(ellipse at 50% 45%,#5b482333,transparent 65%)}
.stable-ring .stable-meters meter{width:100%;accent-color:#b49a60}.stable-ring .stable-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.stable-ring .stable-actions button small{display:block;font-size:12px;font-weight:400;margin-top:7px;line-height:1.5}.stable-card-missing{min-height:250px;display:grid;place-content:center;border:1px solid #776a49;padding:20px}
#active-stable .club-match-row{grid-template-columns:minmax(100px,1fr) minmax(100px,2fr) auto auto;overflow-wrap:anywhere;gap:14px;padding:18px 12px}#active-stable .club-match-row button{white-space:normal}
@media(max-width:700px){.stable-identity-top,.stable-section-heading{align-items:flex-start}.stable-identity{padding:20px}.stable-record strong{font-size:28px}.stable-record span{font-size:8px}.stable-form-grid{grid-template-columns:1fr}.stable-tabs{display:grid;grid-template-columns:1fr 1fr}.stable-refresh{margin:0}.stable-ring{padding:14px}.stable-ring .stable-actions{grid-template-columns:1fr}.stable-lineup-preview{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.stable-toolbox{padding:16px}#active-stable .club-match-row{grid-template-columns:1fr 1fr}.stable-search{flex-direction:column;align-items:stretch}.stable-search label{width:100%}}

.stable-club{border:1px solid #70603d;padding:20px}.stable-club summary{cursor:pointer;font-weight:bold}.stable-club-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.stable-club button{padding:10px;margin:8px 8px 8px 0;background:#922b23;color:#ffedcb;border:1px solid #947c49}.stable-club textarea{display:block;width:100%;background:#171813;color:#eee0c4}.stable-club input,.stable-club select{background:#171813;color:#eee0c4;padding:8px;border:1px solid #73623d}.stable-next{border-left:3px solid #c73528;padding:15px 20px;margin:24px 0;background:#25231e}@media(max-width:750px){.stable-club-grid{grid-template-columns:1fr}}

#stable-match{position:relative;overflow:hidden}.stable-impact .stable-duel>div:first-child{animation:stable-lunge .45s ease}.stable-impact .stable-duel>div:last-child{animation:stable-recoil .45s ease}.stable-switch #sound-toggle{padding:12px 18px;background:#24221b;color:#e9d9b6;border:1px solid #a38a50}.salt-burst{position:absolute;top:50%;left:50%;pointer-events:none;z-index:5}.salt-burst i{position:absolute;width:4px;height:4px;background:#e4d3a6;animation:stable-grains .8s ease-out forwards}@keyframes stable-grains{to{transform:translate(var(--x),var(--y));opacity:0}}@keyframes stable-lunge{50%{transform:translateX(12px)}}@keyframes stable-recoil{50%{transform:translateX(-12px)}}@media(prefers-reduced-motion:reduce){.stable-impact *{animation:none!important}.salt-burst{display:none}}

/* Clubhouse: consistent editorial cards, action baselines and compact records. */
#active-stable .stable-club{padding:0;border:1px solid var(--line,#4d4737);background:var(--ink2,#1d1e1a);margin:28px 0}
#active-stable .stable-club>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px;border-bottom:1px solid var(--line,#4d4737);font-size:20px;list-style:none}
#active-stable .stable-club>summary:after{content:'+';color:#b99c61}#active-stable .stable-club[open]>summary:after{content:'−'}
.club-summary-note{font-size:12px;font-weight:400;color:var(--muted,#b5aa96);margin-left:auto}
.club-intro{padding:24px 26px 0}.club-kicker{font-size:10px!important;font-weight:700;letter-spacing:2px;color:#ba9c61}
#active-stable .club-intro p{font-size:13px;line-height:1.65;margin:8px 0 22px;max-width:850px;color:var(--muted,#b5aa96)}
#active-stable .stable-club-grid{gap:16px;padding:0 26px 24px;align-items:stretch}
.club-activity{padding:22px;border:1px solid var(--line,#4d4737);background:var(--ink,#171815);display:flex;flex-direction:column;min-width:0;border-top:3px solid #ae8d50}
.club-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.club-number{font:24px Georgia;color:#77684b}
#active-stable .club-activity h3,#active-stable .club-bottom h3,#active-stable .club-history h3{font-size:28px;line-height:1.15;margin:15px 0 10px;letter-spacing:.01em}
#active-stable .club-activity>p{font-size:14px;line-height:1.7;color:var(--muted,#b5aa96);margin:0 0 24px;min-height:72px}
.club-progress{display:flex;gap:6px;margin:auto 0 15px}.club-progress span{flex:1;text-align:center;border:1px solid #5a503d;padding:9px 0;font-size:12px;color:#afa187}.club-progress .complete{background:#75603b;color:#fff0c8}.club-progress .current{border-color:#d13a2a;color:#f0d5b4}
.club-rule{margin:auto 0 15px;padding:12px;border:1px solid #5a503d;color:#cbb98f;font-size:10px;letter-spacing:1px}.club-rule span{display:block;margin-top:5px}
.club-status{font-size:11px;color:var(--muted,#b5aa96);min-height:32px;line-height:1.6}
#active-stable .club-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;align-items:center}
#active-stable .stable-club button{margin:0;min-height:42px;padding:10px 14px;font-size:12px;font-weight:600;border:1px solid #b83427;background:#b83427;color:#fff0d8}
#active-stable .stable-club button:disabled{opacity:.45;cursor:default}
#active-stable .stable-club .club-secondary{border-color:#66583f;background:transparent;color:var(--text,#e8ddc7)}
.club-tools{border-top:1px solid var(--line,#4d4737);border-bottom:1px solid var(--line,#4d4737);padding:0 26px}#active-stable .club-tools details{margin:0;padding:18px 0}#active-stable .club-tools summary{font-size:13px}#active-stable .club-tools p{font-size:13px}
.club-bottom{display:grid;grid-template-columns:1fr 1fr;padding:26px;gap:26px}.club-bottom>article+article{border-left:1px solid var(--line,#4d4737);padding-left:26px}
.club-stat{display:flex;gap:12px;align-items:center;margin:auto 0 15px}.club-stat strong{font:38px/1.1 var(--disp,Georgia);color:#ba9c61}.club-stat span{font-size:10px;letter-spacing:1.5px;color:var(--muted,#b5aa96)}
#active-stable .club-bottom p{font-size:13px;color:var(--muted,#b5aa96);line-height:1.6}
.club-techniques{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0}.club-techniques span{border:1px solid #504935;padding:10px 12px;font-size:12px;color:#928874}.club-techniques .unlocked{color:#dfc68e;border-color:#ab8e50;background:#ab8e5014}
.club-history{border-top:1px solid var(--line,#4d4737);padding:24px 26px}.club-history-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.club-history-heading>span{font-size:12px;color:var(--muted,#b5aa96)}
.club-match-row{display:grid;grid-template-columns:30px 1fr 70px auto;gap:16px;align-items:center;padding:14px 0;border-top:1px solid var(--line,#4d4737);font-size:14px}.club-match-number{font-size:11px;color:#a08c64}.club-score{font-size:19px;color:#c2a465}.club-empty{font-size:13px;color:var(--muted,#b5aa96)}
@media(max-width:1000px){#active-stable .stable-club-grid{grid-template-columns:1fr}.club-activity>p{min-height:0!important}.club-progress{max-width:360px}.club-summary-note{display:none}}
@media(max-width:600px){#active-stable .stable-club-grid,.club-bottom,.club-history{padding:16px}.club-intro{padding:16px 16px 0}.club-bottom{grid-template-columns:1fr}.club-bottom>article+article{padding:20px 0 0;border-left:0;border-top:1px solid #504935}.club-match-row{grid-template-columns:20px 1fr 45px;gap:8px}.club-match-row button{grid-column:2/4;justify-self:start}.club-tools{padding:0 16px}#active-stable .stable-club>summary{padding:18px 16px}}

/* Roster and bout alignment. */
#active-stable .stable-real-grid article{display:flex;flex-direction:column;align-items:stretch;padding:12px;background:var(--ink2,#20211c);border:1px solid var(--line,#554934)}
#active-stable .stable-real-grid button{font-size:12px;min-height:42px;margin-top:9px}#active-stable .stable-real-grid button[data-release]{border:0;background:transparent;color:var(--muted,#b8ac94);font-size:11px;min-height:32px}
#stable-match:not(:empty){margin-top:30px;padding:28px;background:var(--ink2,#20211c);border:1px solid var(--line,#554934);scroll-margin-top:110px}
#active-stable .stable-duel{margin:24px auto;max-width:620px}.stable-practice-label{font-size:10px;letter-spacing:2px;color:#b99a60;margin:12px 0}
.stable-round-steps{display:flex;gap:8px;max-width:620px;margin:25px auto}.stable-round-steps span{flex:1;padding:10px;text-align:center;color:var(--muted,#a89d86);font-size:12px;border-bottom:2px solid #504730}.stable-round-steps .current{border-color:#c93628;color:var(--text,#f0dfbf)}.stable-round-steps .complete{border-color:#b99a60}
.stable-meters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;max-width:760px;margin:20px auto}.stable-meters>div{padding:16px;border:1px solid var(--line,#544932)}.stable-meters span{font-size:9px;letter-spacing:1.5px;color:#bba16f;display:block}.stable-meters strong{font-size:16px;display:block;margin:8px 0}.stable-meters meter{width:100%;height:12px;accent-color:#bc9b5b}.stable-position{display:flex;gap:4px;margin-top:12px}.stable-position i{height:6px;flex:1;background:#4d4433}.stable-position .lit{background:#d2b472}
#active-stable .stable-bout-note{text-align:center;font-size:14px;line-height:1.6}#active-stable .stable-actions{max-width:760px;margin:20px auto;display:grid;grid-template-columns:repeat(3,1fr)}.stable-actions button{min-height:65px;font-weight:700}.stable-actions small{display:block;margin-top:6px;font-size:11px;font-weight:400}
#active-stable button:focus-visible,#active-stable summary:focus-visible{outline:2px solid #d8b56b;outline-offset:4px}.stable-switch button{min-height:44px}.stable-identity input,.stable-identity select{max-width:100%;box-sizing:border-box}
@media(max-width:600px){#stable-match:not(:empty){padding:14px}.stable-meters{grid-template-columns:1fr 1fr;gap:8px}.stable-meters>div:first-child{grid-column:1/-1}.stable-meters>div{padding:12px}#active-stable .stable-actions{grid-template-columns:1fr}.stable-identity{padding:16px}.stable-identity label{display:block;margin:12px 0}.stable-identity button{margin:6px 0;width:100%}.stable-real-grid{gap:10px}#active-stable .stable-real-grid article{padding:6px}.stable-round-steps{gap:3px}.stable-round-steps span{font-size:11px;padding:8px 3px}}
.stable-result{padding:36px;text-align:center;border:1px solid #927947;background:radial-gradient(ellipse at top,#8b681f33,transparent 65%)}#active-stable .stable-result h3{font-size:clamp(32px,4vw,54px)}.stable-result-score{font:clamp(50px,8vw,90px) var(--disp,Anton);color:#d5b571}.stable-result-score span{color:#71674f}.stable-result .stable-actions{justify-content:center}.stable-results-list{max-width:520px;margin:20px auto}.stable-results-list p{display:flex;justify-content:space-between;gap:20px;padding:12px;border-bottom:1px solid var(--line,#504a3d)}.stable-result.won{animation:stable-victory .8s ease-out}@keyframes stable-victory{from{box-shadow:inset 0 0 90px #dcb14d55}to{box-shadow:inset 0 0 0 transparent}}@media(prefers-reduced-motion:reduce){.stable-result.won{animation:none}}@media(max-width:600px){.stable-result{padding:20px}.stable-result .stable-actions{flex-direction:column}}
/* Clay expansion and server reward receipts. */
#active-stable .stable-expansion{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:24px;margin:26px 0;border:1px solid #806b42;background:linear-gradient(120deg,#b99b581a,transparent)}
#active-stable .stable-expansion h3{margin:6px 0;font-size:32px}
#active-stable .stable-expansion p{max-width:650px}
#active-stable .stable-expansion>div:last-child{display:grid;gap:12px;text-align:center}
#active-stable .stable-expansion small{max-width:260px;color:var(--muted,#bcb5a5)}
#active-stable .stable-capacity{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px}
#active-stable .stable-capacity span{display:grid;place-items:center;width:32px;height:32px;border:1px dashed #776a51;color:#9e9586}
#active-stable .stable-capacity .unlocked{border-style:solid;border-color:#b79a60;background:#b79a6026;color:var(--text,#efe7d5)}
#active-stable .stable-reward-note{border-left:3px solid #b79a60;padding:14px 18px;margin:20px 0;background:#b79a6010}
#active-stable .stable-reward-note p{font-size:15px;margin:8px 0;max-width:850px}
#active-stable .stable-reward-note small{font-size:13px;color:var(--muted,#bcb5a5)}
#active-stable .stable-reward-receipt{padding:20px;margin:18px auto;border:1px solid #b79a60;max-width:620px;background:#b79a6017}
#active-stable .stable-reward-receipt strong{font-size:26px;color:#c7a96a}
#active-stable .stable-reward-receipt span{padding:0 12px}
@media(max-width:650px){#active-stable .stable-expansion{grid-template-columns:1fr;padding:18px}#active-stable .stable-expansion>div:last-child{text-align:left}#active-stable .stable-reward-receipt strong{font-size:22px}}
/* Tactical corner and result-led fight movement. */
#active-stable .stable-support{padding:18px;margin:20px 0;border:1px solid #806b42;background:#b79a600c}
#active-stable .stable-support h4{font-size:22px;margin:4px 0}
#active-stable .stable-support p{font-size:14px;margin:6px 0 16px}
#active-stable .stable-support-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#active-stable .stable-support-cards article{display:grid;gap:8px;align-content:start;padding:14px;border:1px solid #806b4266;background:var(--bg,#181917)}
#active-stable .stable-support-symbol{font:32px Georgia;color:#b79a60}
#active-stable .stable-support-cards small{min-height:20px}
#active-stable .stable-support-cards a{color:#b79a60;font-size:14px}
#active-stable .stable-support-saved{padding:14px;border-left:3px solid #b79a60;background:#b79a6017;margin:18px 0}
#active-stable .stable-position-track{display:flex;align-items:center;gap:12px;margin:20px auto;max-width:720px;font-size:11px;letter-spacing:1px}
#active-stable .stable-position-track>div{position:relative;flex:1;height:12px;border:1px solid #b79a60;border-radius:50%;background:linear-gradient(90deg,#b8302644,transparent,#b79a6044)}
#active-stable .stable-position-track i{position:absolute;top:-5px;width:20px;height:20px;transform:translateX(-50%);background:#b79a60;border:2px solid #f2e8d0;border-radius:50%;transition:left .3s}
#active-stable .stable-ring{position:relative;overflow:hidden}
#active-stable .stable-finish-call{position:absolute;z-index:8;top:35%;left:50%;transform:translate(-50%,-50%);padding:18px 28px;max-width:90%;background:#111e;border:1px solid #b79a60;color:#f2e8d0;font-size:clamp(20px,3vw,34px);font-weight:800;text-align:center;pointer-events:none;box-shadow:0 6px 35px #0008}
@media(prefers-reduced-motion:no-preference){
#active-stable [data-motion="charge"] .stable-duel>div:first-child{animation:stable-charge-left .55s ease}
#active-stable [data-motion="charge"] .stable-duel>div:last-child{animation:stable-charge-right .55s ease}
#active-stable [data-motion="struggle"] .stable-duel{animation:stable-struggle .55s ease}
#active-stable [data-motion="throw"][data-winner="you"] .stable-duel>div:last-child,#active-stable [data-motion="throw"][data-winner="opponent"] .stable-duel>div:first-child{animation:stable-throw 1s ease}
#active-stable [data-motion="drive"][data-winner="you"] .stable-duel>div:last-child,#active-stable [data-motion="drive"][data-winner="opponent"] .stable-duel>div:first-child{animation:stable-drive 1s ease}
#active-stable [data-motion="counter"] .stable-duel{animation:stable-counter 1s ease}
}
@keyframes stable-charge-left{40%{transform:translateX(12%) rotate(3deg)}65%{transform:translateX(8%) rotate(-2deg)}}
@keyframes stable-charge-right{40%{transform:translateX(-12%) rotate(-3deg)}65%{transform:translateX(-8%) rotate(2deg)}}
@keyframes stable-struggle{25%,65%{transform:translateX(-7px)}45%,85%{transform:translateX(7px)}}
@keyframes stable-throw{55%{transform:translateY(-20px) rotate(22deg)}85%{transform:translateY(24px) rotate(55deg);opacity:.45}}
@keyframes stable-drive{70%{transform:translateY(20px) scale(.88);opacity:.45}}
@keyframes stable-counter{35%{transform:rotate(3deg)}65%{transform:rotate(-3deg)}}
@media(max-width:600px){#active-stable .stable-support-cards{grid-template-columns:1fr}#active-stable .stable-position-track{gap:5px;font-size:9px}}
