body.coach-ui{--bg:#101716;--card:#182522;--card2:#20332b;--chalk:#f5f5ee;--muted:#b0bcb5;--amber:#e2bd65;--blue:#e2bd65;background:#101716;color:var(--chalk);font:16px/1.65 'Anuphan',sans-serif}
.coach-ui [hidden]{display:none!important}
.coach-ui .wrap{width:min(1120px,calc(100% - 40px));padding:20px 0 40px}
.coach-ui .product-switch{border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;max-width:none;margin:8px 0 0;padding:0}
.coach-ui .product-switch a{font:600 12px/1.35 'Anuphan';min-height:48px;border-radius:0}
.coach-ui .product-switch a.active{color:var(--amber);background:none;box-shadow:inset 0 -2px var(--amber)}
.coach-tabs{position:sticky;top:0;z-index:10;display:flex;gap:6px;padding:8px;background:#101716f5;border-bottom:1px solid var(--line);backdrop-filter:blur(10px);scroll-margin-top:10px}
.coach-tabs button{flex:1;min-height:52px;border:0;border-radius:12px;background:transparent;color:var(--muted);font:600 17px 'Anuphan';cursor:pointer}
.coach-tabs button[aria-pressed=true]{background:var(--amber);color:#182119}
.coach-hero{padding:28px 0 25px}
.coach-eyebrow{display:block;color:var(--amber);font:600 11px 'Anuphan';letter-spacing:1.7px;margin-bottom:7px}
.coach-hero h1{font:700 clamp(25px,4vw,36px)/1.35 'Anuphan';margin:0 0 7px}
.coach-hero p{color:var(--muted);font-size:15px}
.coach-workspace{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:24px;align-items:start}
.coach-workspace.is-live{display:block;max-width:720px;margin:auto}
.coach-card,.coach-ui #result,.coach-advice{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:22px;margin-bottom:16px}
.coach-ui #result{scroll-margin-top:88px;min-width:0}
.coach-ui .step-title{font:600 17px 'Anuphan';margin:0 0 12px;gap:0}
.coach-ui .step-title::before,.coach-ui .step-title::after{display:none}
.coach-ui .oppbox{padding:0;background:none;border:0;margin:0}
.coach-ui .formation-picker-head{margin-bottom:8px}
.coach-ui .oppbox label{color:var(--muted);font-size:13px}
.coach-ui .oppselect{font:600 16px 'Anuphan';min-height:48px;background:#111c18;border:1px solid #58665b;border-radius:10px;color:var(--chalk);width:100%;padding:10px 14px}
.coach-ui .formation-detail-toggle{font:500 12px 'Anuphan';color:var(--amber);padding:8px}
.coach-pitch{position:relative;isolation:isolate;height:260px;margin:18px 12px 0;border:1px solid #68816e;border-radius:8px;background:repeating-linear-gradient(0deg,#1d3d2c 0,#1d3d2c 40px,#214631 40px,#214631 80px);overflow:hidden}
.coach-pitch::before{content:'';position:absolute;inset:50% 0 auto;border-top:1px solid #718977}
.coach-pitch::after{content:'';position:absolute;left:40%;top:40%;width:20%;height:20%;border:1px solid #718977;border-radius:50%;z-index:-1}
.coach-goal{position:absolute;width:40%;height:14%;left:30%;border:1px solid #718977}.coach-goal.top{top:-1px}.coach-goal.bottom{bottom:-1px}
.coach-player{position:absolute;transform:translate(-50%,-50%);display:grid;justify-items:center;gap:2px;min-width:32px;z-index:1}
.coach-player i{display:block;width:16px;height:16px;border-radius:50%;background:var(--amber);border:2px solid #fff4c7;box-shadow:0 2px 5px #0006}
.coach-player b{font:600 11px/1.2 'Anuphan';color:#fff;text-shadow:0 1px 3px #000}
.coach-ui .stylegrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
.coach-ui .stylebtn{padding:12px 6px;min-height:58px;border:1px solid #516054;border-radius:11px;background:#12201a;box-shadow:none}
.coach-ui .stylebtn b{font:600 13px/1.5 'Anuphan'}
.coach-ui .stylebtn small{display:none}
.coach-ui .stylebtn.on{background:var(--amber);color:#182119;border-color:var(--amber);box-shadow:none}
.coach-ui .togrow{margin:16px 0 0;display:block}
.coach-ui .tog{padding:0;border:0;background:none}
.coach-ui .tog .q{font:500 14px 'Anuphan';margin:0 0 10px}.coach-ui .tog .q small{display:none}
.coach-ui .opt{font:500 14px 'Anuphan';min-height:44px;padding:8px 14px}
.coach-primary{width:100%;min-height:52px;padding:12px 18px;border:0;border-radius:12px;background:var(--amber);color:#182119;font:700 16px 'Anuphan';cursor:pointer;margin:0 0 16px}
.coach-primary:hover{background:#efd28c}
.coach-more{margin:0 0 14px;border:1px solid var(--line);border-radius:14px;background:var(--card);padding:0 16px;min-width:0}
.coach-more>summary{padding:15px 0;color:var(--chalk);font:500 14px 'Anuphan';cursor:pointer;min-height:48px}
.coach-more[open]>summary{margin-bottom:12px;border-bottom:1px solid var(--line)}
.coach-ui #result>.coach-more{padding:0 12px}
.coach-ui #quickSummary,.coach-ui #traits,.coach-ui .tactic-group-value{display:none}
.coach-setting-group{margin-bottom:18px}
.coach-setting-group h3{font:600 14px 'Anuphan';color:var(--amber);margin:18px 0 6px}
.coach-setting{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:43px;border-bottom:1px solid var(--line);font-size:14px}
.coach-setting strong{font:600 15px 'Anuphan';text-align:right;flex-shrink:0;color:var(--chalk)}
.coach-ui .tactic-notice-row{display:block;margin-bottom:15px}.coach-ui .tactic-notice-row small{display:block;font-size:12px;color:var(--muted)}
.coach-ui .tactic-notice-btn{font:500 12px 'Anuphan';margin-top:5px;padding:6px 0}
.coach-ui .set .b p{font-size:14px}.coach-ui .set .b h4{font:600 15px 'Anuphan'}
.coach-match{display:inline-block;padding:8px 14px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--amber);font-size:15px}
.coach-guidance{font-size:13px;color:var(--muted);margin:12px 0 20px}
.coach-situations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:22px}
.coach-situations button{min-height:110px;padding:18px 10px;display:grid;justify-items:center;gap:10px;border:1px solid #4c6052;border-radius:14px;background:#1b2d24;color:var(--chalk);cursor:pointer}
.coach-situations svg{display:block;width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.6}
.coach-situations b{font:600 16px 'Anuphan'}
.coach-situations button[aria-pressed=true]{background:var(--amber);color:#182119;border-color:var(--amber)}
.coach-advice h2{font:600 22px 'Anuphan';margin-bottom:4px}.coach-advice>p{font-size:14px;color:var(--muted);margin-bottom:16px}
.coach-change{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}
.coach-change>div{display:grid;gap:4px;min-width:0}.coach-change span{font-size:15px}.coach-change strong{font:700 32px 'Anuphan';letter-spacing:2px}.coach-change i{font-style:normal;color:var(--amber)}
.coach-change button{font:600 13px 'Anuphan';padding:12px;min-height:44px;border:1px solid var(--amber);border-radius:9px;color:var(--amber);background:transparent;flex-shrink:0;cursor:pointer}
.coach-reason{margin-top:18px;font-size:14px;color:var(--muted)}.coach-reason summary{color:var(--chalk);padding:8px 0;cursor:pointer}.coach-reason p{padding:12px 0}
.coach-status{color:var(--amber);font-size:14px;margin-bottom:14px}.coach-status:empty{display:none}
.coach-text-button{display:block;background:none;border:0;color:var(--amber);font:500 14px 'Anuphan';padding:14px;min-height:48px;width:100%;cursor:pointer}
.coach-ui .playerrec{margin:0 0 16px}.coach-ui .playerrec summary{padding:16px}.coach-ui .playerrec-title b{font:600 15px 'Anuphan'}.coach-ui .playerrec-title em{display:none}
.coach-ui .playerrec-action{font-size:11px}.coach-ui .playercards{grid-template-columns:1fr}.coach-ui .playercard{min-width:0}
.coach-faq{margin-top:24px}.coach-classic{display:inline-block;min-height:44px;padding:10px;color:var(--amber);font-size:14px;text-decoration:underline}
.coach-ui :is(button,a,select,summary):focus-visible{outline:3px solid #f0dca6;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.coach-ui *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Match the selected mobile-first concept: one calm, compact match workspace. */
body.coach-ui{background:radial-gradient(ellipse at 50% 15%,#233029 0,transparent 55%),#0b1110}
.coach-ui .wrap{width:min(600px,calc(100% - 32px));padding:20px 0 48px}
.coach-ui .product-switch{margin-top:4px}.coach-ui .product-switch a{font-size:10px;min-height:42px}
.coach-tabs{padding:5px;border:1px solid #506057;border-radius:13px;top:8px;background:#141d1bf5;box-shadow:0 8px 24px #0003}
.coach-tabs button{min-height:46px;border-radius:9px;font-size:16px}
.coach-tabs button[aria-pressed=true],.coach-primary,.coach-ui .stylebtn.on,.coach-situations button[aria-pressed=true]{background:linear-gradient(115deg,#e5c77b,#cfa74e);box-shadow:inset 0 1px 0 #fff5;color:#172019}
.coach-hero{text-align:center;padding:25px 8px 22px}.coach-hero>.coach-eyebrow{display:none}
.coach-hero h1{font-size:30px;letter-spacing:-.6px}.coach-hero p{font-size:14px}
.coach-workspace{display:block}.coach-workspace.is-live{max-width:none}
.coach-card,.coach-ui #result,.coach-advice{background:linear-gradient(125deg,#20342b,#172420 70%);border:1px solid #4b5c51;border-radius:15px;padding:18px;margin-bottom:12px;box-shadow:0 8px 20px #0002}
.coach-ui .step-title{font-size:16px;margin-bottom:9px}
.coach-ui .formation-picker-head{margin-bottom:6px;background:none}
.coach-ui .oppbox{background:none!important;box-shadow:none!important}
.coach-ui .formation-detail-toggle{padding:3px;font-size:11px}
.coach-ui .oppselect{background:#132018;border-color:#536257;font-size:15px;min-height:44px;padding:8px 12px}
.coach-pitch{height:230px;margin:13px 0 0;box-shadow:inset 0 0 40px #0c211955;border-radius:8px;background:repeating-linear-gradient(0deg,#244832 0,#244832 38px,#284e36 38px,#284e36 76px)}
.coach-player i{width:19px;height:19px;background:linear-gradient(135deg,#f8dc8c,#c39538);border:1.5px solid #fff0bd;box-shadow:0 3px 6px #0005}
.coach-player b{font-size:11px;line-height:1.3}
.coach-style-card{position:relative}.coach-style-toggle{float:right;background:none;border:0;color:var(--amber);font:500 13px 'Anuphan';padding:3px 0 10px 12px;min-height:34px;cursor:pointer}
.coach-style-card:not(.coach-style-expanded) .stylebtn:is([data-style=defensive],[data-style=attacking],[data-style=press]):not(.on){display:none}
.coach-ui .stylegrid{clear:both}.coach-ui .stylebtn{min-height:45px;border-radius:9px;padding:8px 4px}.coach-ui .stylebtn b{font-size:14px}
.coach-ui .togrow{margin-top:12px}.coach-ui .tog .q{font-size:12px;margin-bottom:7px;color:var(--muted)}.coach-ui .opt{font-size:12px;min-height:37px}
.coach-primary{margin:2px 0 14px;min-height:49px;border:1px solid #edd18e;border-radius:11px;font-size:16px}
.coach-ui #result>.coach-primary{margin-top:12px}
.coach-setting-group h3{margin-top:10px;font-size:13px}.coach-setting{min-height:38px;font-size:14px}.coach-setting strong{font-size:15px}
.coach-all-settings{margin:5px 0 10px}.coach-all-settings>summary{text-align:center;color:var(--amber);cursor:pointer;font-size:14px;padding:12px 0;min-height:44px}
.coach-ui .tactic-notice-row{margin-bottom:8px}.coach-ui .tactic-notice-row small{font-size:11px}
.coach-ui #result>.coach-more{background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;margin:0;padding:0}.coach-ui #result>.coach-more>summary{padding-bottom:0;color:var(--muted)}
.coach-extras{margin-top:20px}.coach-more{background:#16221d;border-color:#394c40}.coach-faq{margin-top:12px}
.coach-situations{gap:10px}.coach-situations button{background:linear-gradient(130deg,#20392b,#18291f);border-color:#617461;min-height:112px;border-radius:13px}.coach-situations svg{width:34px;height:34px}.coach-situations b{font-size:16px}
.coach-match{display:table;margin:0 auto;background:#23382b;border-color:#536b53}.coach-guidance{text-align:center;line-height:1.6;font-size:12px}
.coach-advice h2::before,.coach-advice h2::after{display:none}.coach-advice h2{font-size:21px}.coach-change strong{font-size:38px}.coach-change button{border-radius:9px}
.coach-tools>summary{position:absolute;right:96px;top:19px;min-height:40px;padding:7px;color:var(--muted);font-size:13px;cursor:pointer}
.coach-tools[open]>.product-switch{margin:8px 0 4px;padding:4px 0 8px}
.coach-formation #step1Title,.coach-formation #ourFormationHelp{display:none}
.coach-ui .coach-formation .formation-picker-head{justify-content:flex-end;margin-bottom:4px}
.coach-pitch{transform:perspective(800px) rotateX(10deg);transform-origin:bottom center}
.coach-situations svg{width:42px;height:42px}
.coach-pitch{height:340px;transform:none}
.coach-player{width:23%;gap:2px}
.coach-player small{display:block;max-width:100%;font:500 10px/1.2 'Anuphan';color:#fff3cc;text-align:center;overflow-wrap:anywhere;text-shadow:0 1px 3px #07140d}
@media(max-width:420px){.coach-pitch{height:340px}.coach-player small{font-size:9px}.coach-player i{width:16px;height:16px}}
/* Friendly match cards and an illustrated pitch, with real roles kept readable. */
.coach-pitch{border:0;background:none;box-shadow:none;overflow:visible}
.coach-pitch::before,.coach-pitch::after{display:none}
.coach-field{position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(0 10px 12px #0003)}
.coach-player i{width:20px;height:20px;box-shadow:0 2px 0 #806327,0 5px 8px #0005}
.coach-player small{font-size:10px;line-height:1.3;color:#efe9d3}
.coach-card,.coach-ui #result,.coach-advice{background:linear-gradient(135deg,#20372c,#182520 80%);border-color:#64716466}
.coach-situations button{min-height:120px;background:linear-gradient(125deg,#233a2d,#1b2d23);border-color:#74846c99;box-shadow:inset 0 1px #ffffff08;transition:background .15s,box-shadow .15s}
.coach-situations button:hover{box-shadow:inset 0 0 0 1px #dbbe75}
.coach-situations svg{width:46px;height:46px;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
.coach-situations button[aria-pressed=true]{background:linear-gradient(125deg,#e5c675,#bd923e);border-color:#efd99d;color:#fff9e9}
.coach-advice-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.coach-advice-heading h2{font:600 20px 'Anuphan';margin:0;color:var(--chalk)}
.coach-advice-heading>span{font-size:11px;color:var(--amber);border:1px solid #d1ae5c66;background:#d2ad5210;border-radius:6px;padding:5px 8px;white-space:nowrap}
.coach-change-choices{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-bottom:22px}
.coach-change-choices button{background:transparent;color:var(--muted);border:1px solid #69756a77;border-radius:999px;min-height:36px;padding:6px 12px;font:500 12px 'Anuphan';cursor:pointer}
.coach-change-choices button[aria-pressed=true]{color:#f2d68a;border-color:#d2ad52;background:#d2ad5214}
.coach-change{display:block;text-align:center;padding:0 0 22px;border:0}
.coach-change>span{display:block;font:600 18px 'Anuphan';color:#f5f3e9}
.coach-change strong{display:block;font:700 68px/1.3 'Anuphan';letter-spacing:2px;margin:4px 0}
.coach-change i{font-weight:400;color:#d3ae58;margin:0 8px}
.coach-change>p{font-size:14px;line-height:1.7;color:#c4cec6;margin:0 auto;max-width:380px}
.coach-observe{display:flex;gap:11px;align-items:flex-start;border:1px solid #60736780;background:#8aa9900b;padding:13px;border-radius:10px;margin-bottom:18px}
.coach-observe>span{font-size:24px;line-height:1.1;color:#e8eee7}.coach-observe b{font:600 15px 'Anuphan'}.coach-observe p{font:400 13px/1.6 'Anuphan';color:var(--muted);margin-top:2px}
.coach-apply{display:block;margin:0!important;font-size:17px;min-height:51px}
.coach-reason{margin-top:10px;text-align:center}.coach-reason p{text-align:left}
.coach-guidance{margin:10px 0 18px}
@media(max-width:420px){.coach-advice-heading h2{font-size:18px}.coach-advice-heading>span{font-size:10px}.coach-change strong{font-size:60px}.coach-situations b{font-size:15px}.coach-situations svg{width:42px;height:42px}}
.coach-situations button[aria-pressed=true] b{color:#172019}
.coach-hero{scroll-margin-top:78px}

.coach-situations button{isolation:isolate;gap:4px;padding-block:12px}
.coach-situation-icon{display:block;width:80px;height:70px;background:url('./situation-icons-mockup.png') no-repeat;background-size:220px 220px;mix-blend-mode:screen}
[data-situation="leadTip"] .coach-situation-icon{background-position:-23px -24px}
[data-situation="behindTip"] .coach-situation-icon{background-position:-115px -24px}
[data-situation="observeTip"] .coach-situation-icon{background-position:-21px -114px}
[data-situation="goldenTip"] .coach-situation-icon{background-position:-113px -116px}

.coach-ui .coach-formation .formation-picker-head{display:flex;align-items:center;gap:12px;margin-bottom:4px}
.coach-formation #ourFormation{flex:1;min-width:0;width:auto;margin:0}
.coach-formation .formation-detail-toggle{flex:none;white-space:nowrap}
.coach-ui :is(#ourFormation,#oppFormation){appearance:none;cursor:pointer;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%23e5c77b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}
.coach-ui .togrow{display:none}

.coach-ui #oppFormationHelp{display:none}
.coach-ui #step3Title small{display:inline;font-size:12px;font-weight:400;color:var(--muted)}
.coach-ui #ourRead>.readitem:nth-child(4){display:none}
.coach-ui #ourRead>.readitem>b::before{display:inline-block;margin-right:7px;font-size:16px}
.coach-ui #ourRead>.readitem:nth-child(1)>b::before{content:'✦';color:#e5c77b}
.coach-ui #ourRead>.readitem:nth-child(2)>b::before{content:'⚠';color:#e5c77b}
.coach-ui #ourRead>.readitem:nth-child(3)>b::before{content:'⚽';color:#e5c77b}

.coach-result-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.coach-ui .coach-result-heading #step5Title{margin:0}
.coach-result-heading .tactic-notice-btn{flex:none;font-size:11px}

.coach-setting-group{position:relative}
.coach-setting-group h3{padding-right:115px}
.coach-group-reason summary{position:absolute;right:0;top:0;cursor:pointer;color:var(--amber);font-size:12px}
.coach-group-reason p{font-size:13px;line-height:1.7;color:var(--muted)}
.coach-group-reason b{color:var(--chalk)}

.coach-setting:has(.coach-inline-reason){display:grid;grid-template-columns:1fr auto;gap:0 14px;padding-block:9px}
.coach-inline-reason{display:none;grid-column:1 / -1;margin:6px 0 3px;font-size:13px;line-height:1.7;color:var(--muted)}
.coach-setting-group:has(>.coach-group-reason[open]) .coach-inline-reason{display:block}
.coach-ui .tactic-notice-btn{border:0;border-radius:0;background:transparent;box-shadow:none}

.coach-setting-group h3{display:flex;align-items:center;gap:8px}
.coach-group-icon{display:inline-block;width:22px;height:22px;flex:none;background-position:center;background-repeat:no-repeat;background-size:contain}
[data-group="build"] .coach-group-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5c77b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='m7 7 3 3m0-3-3 3m1 8 9-9m-5 0h5v5'/%3E%3C/svg%3E")}
[data-group="off"] .coach-group-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5c77b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 19V5h18v14M3 5l3 4h12l3-4M6 9v10m12-10v4M3 13h9m-2-8v14m4-14v7'/%3E%3Ccircle cx='17' cy='17' r='4'/%3E%3C/svg%3E")}
[data-group="def"] .coach-group-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5c77b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 8 3v6c0 5-8 9-8 9s-8-4-8-9V6zM12 7v9'/%3E%3C/svg%3E")}

.coach-ui .stylebtn{text-align:center;justify-content:center;padding:5px 6px;min-height:44px}
.coach-ui .stylebtn b{display:flex;align-items:center;justify-content:center;gap:5px}
.coach-ui .stylebtn b svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.coach-ui .stylebtn small{display:block;font-size:11px;line-height:1.2;margin-top:1px}

.coach-ui .coach-opponent{display:flex;align-items:center;gap:12px;padding:14px 18px}
.coach-ui .coach-opponent #step3Title{display:flex;align-items:center;gap:10px;margin:0;flex:none;font-size:16px}
.coach-opponent #step3Title svg{width:25px;height:28px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.coach-opponent .oppbox{flex:1;min-width:0;margin:0;padding:0;border:0;background:none}
.coach-ui .coach-opponent #oppFormation{border:0;box-shadow:none;background-color:transparent;text-align:right;font-weight:400;min-height:32px;padding-block:4px;color:var(--chalk)}
.coach-ui .oppselect{color-scheme:dark}
.coach-ui .oppselect option,.coach-ui .oppselect optgroup{background:#132018;color:#f5f1e5}
.coach-settings .coach-setting strong{color:var(--amber)}
.coach-faq .faq-section{margin:8px 0 0;padding:0}
.coach-faq #faqTitle,.coach-faq #faqIntro{display:none}
.coach-faq .faq-list{display:block}
.coach-faq .faq-item{border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}
.coach-faq .faq-item summary{padding:13px 0;font:500 14px/1.5 'Anuphan';align-items:center}
.coach-faq .faq-item summary::after{color:var(--amber);flex:none}
.coach-faq .faq-answer{border:0;padding:0 0 14px;font:400 13px/1.75 'Anuphan'}
.coach-faq .faq-section{border:0}
.coach-ui .playerrec-title{display:flex;align-items:center;gap:10px}
.coach-ui .playerrec-title::before{content:'';display:block;flex:0 0 28px;width:28px;height:28px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%23e2bd65' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='14' cy='8' r='3.5'/%3E%3Cpath d='M7 24v-3a7 7 0 0 1 14 0v3M6 6a3 3 0 0 0 0 6m16-6a3 3 0 0 1 0 6M3 21v-3a5 5 0 0 1 3-4m19 7v-3a5 5 0 0 0-3-4'/%3E%3C/svg%3E")}

:is(#coachCornerLabel,#liveCoachCornerLabel),#faqLabel{display:flex;align-items:center;gap:10px;list-style:none}
:is(#coachCornerLabel,#liveCoachCornerLabel)::-webkit-details-marker,#faqLabel::-webkit-details-marker{display:none}
:is(#coachCornerLabel,#liveCoachCornerLabel)::after,#faqLabel::after{content:'⌄';margin-left:auto;color:var(--amber)}
:is(#coachCornerLabel,#liveCoachCornerLabel)::before,#faqLabel::before{content:'';width:24px;height:24px;flex:none;background:center/contain no-repeat}
:is(#coachCornerLabel,#liveCoachCornerLabel)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2bd65' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='15' rx='2'/%3E%3Cpath d='M8 22l4-3 4 3M7 8l3 3m0-3-3 3m6 6 4-6m-4 0h4v4'/%3E%3C/svg%3E")}
#faqLabel::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2bd65' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11a9 9 0 0 1-9 9H4l-2 2v-11a9 9 0 0 1 19 0Z'/%3E%3Cpath d='M9 8a3 3 0 0 1 6 0c0 2-3 2-3 4m0 3v.1'/%3E%3C/svg%3E")}

button.coach-player{background:none;border:0;padding:0;cursor:pointer;color:inherit;font:inherit}
.coach-live>#coachShow{margin-block:14px}
.coach-live>#result{margin-bottom:24px}
.info-dialog>a{display:block;padding:14px;color:var(--amber)}

.coach-live .coach-match{margin:0 auto 18px}
.coach-live>.coach-opponent{margin-bottom:12px}
.coach-live>#coachShow{display:block;width:100%;margin:0 0 24px}
.coach-situation-heading{margin:28px 0 6px;padding-top:24px;border-top:1px solid var(--line);font:600 20px/1.4 'Anuphan';text-align:center}
.coach-live>.coach-guidance{margin:0 0 18px}
.coach-live>#result{width:100%;min-width:0;margin:0 0 24px;box-sizing:border-box}

.coach-edit-plan{margin-left:12px;padding:4px 0 4px 12px;border:0;border-left:1px solid var(--line);background:none;color:var(--amber);font:500 13px 'Anuphan';text-decoration:underline;cursor:pointer}

.coach-tabs button{display:flex;align-items:center;justify-content:center;gap:8px}
.coach-tabs svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

#coachStart{display:flex;align-items:center;justify-content:center;gap:8px}
#coachStart svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

.coach-tactic-icon{display:inline-block;width:30px;height:30px;object-fit:contain;vertical-align:middle;margin-right:8px;mix-blend-mode:multiply}

.coach-pitch-hint{margin:10px 0 0;text-align:center;color:var(--muted);font:400 12px/1.6 'Anuphan'}

.coach-slot-dialog{width:min(440px,calc(100vw - 32px));box-sizing:border-box;padding:26px 20px 20px;border:1px solid #61705a;border-radius:18px;background:#17271f;color:var(--chalk)}
.coach-slot-dialog::backdrop{background:#000a;backdrop-filter:blur(3px)}
.coach-slot-dialog h2{margin:0 28px 8px 0;font:600 21px/1.4 'Anuphan'}
.coach-slot-context{margin:0 0 20px;color:var(--amber);font:400 14px/1.5 'Anuphan'}
.coach-slot-close{position:absolute;top:10px;right:12px}
.coach-slot-close button{background:none;border:0;color:var(--chalk);font-size:28px;width:36px;height:36px;cursor:pointer}
.coach-slot-dialog .coach-slot-choice{display:flex;align-items:center;gap:12px;padding:16px 12px;margin-top:10px;border:1px solid #56644f;border-radius:12px;text-decoration:none;background:#21372a}
.coach-slot-choice svg{width:28px;height:28px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.coach-slot-choice>span:nth-child(2){flex:1}
.coach-slot-choice b{display:block;font:600 16px/1.5 'Anuphan'}
.coach-slot-choice small{display:block;color:var(--muted);font:400 12px/1.5 'Anuphan';margin-top:3px}
.coach-slot-choice:hover{border-color:var(--amber)}

.coach-adjusted{display:inline-block;margin-left:8px;color:var(--amber);font-size:10px;border:1px solid var(--line);border-radius:5px;padding:1px 5px}

#sharedHeader{width:100%;margin-bottom:20px}
#sharedHeader #headerConcept,#sharedHeader #databaseScopeNote{display:none}
#sharedHeader{margin-bottom:8px}
.coach-ui .coach-tabs{margin-top:0}
body.coach-ui{background-color:#020a06;background-image:linear-gradient(180deg,rgba(2,10,6,.06),rgba(2,10,6,.2) 72%,#020a06 100%),url('../players/assets/brand/player-review-stadium-mobile-borderless-v2.jpg');background-position:top center;background-repeat:no-repeat;background-size:100% auto}
/* Shared-site depth and color hierarchy. */
.coach-ui .coach-card,.coach-ui #result,.coach-ui .coach-more,.coach-ui .coach-advice{background:linear-gradient(145deg,rgba(19,43,29,.95),rgba(4,15,9,.97));border-color:rgba(140,219,104,.23);box-shadow:0 10px 26px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.035)}
.coach-ui .stylebtn,.coach-situations button,.coach-tabs{background:linear-gradient(145deg,#14291c,#050e09);border-color:#3b5140;box-shadow:0 4px 10px #0004,inset 0 1px #ffffff08}
.coach-tabs button[aria-pressed=true],.coach-ui .stylebtn.on,.coach-situations button[aria-pressed=true]{background:linear-gradient(145deg,#a6ef72,#78cf4f);border-color:#a6ef72;color:#06130c;box-shadow:0 4px 14px #8cdb6826,inset 0 1px #ffffff50}
.coach-situations button[aria-pressed=true] b{color:#06130c}
.coach-primary{background:linear-gradient(145deg,#f2d58b,#c29a40);box-shadow:0 5px 14px #0005,inset 0 1px #fff6}
#coachStart{background:linear-gradient(145deg,#173823,#07150d);color:#b0e58e;border:1px solid #547345;box-shadow:0 4px 12px #0004,inset 0 1px #ffffff0a}
.coach-ui .stylebtn:hover,.coach-situations button:hover{border-color:#8cdb68}
.coach-primary:active,.coach-ui .stylebtn:active,.coach-situations button:active{box-shadow:inset 0 2px 5px #0003}
.coach-tabs button[aria-pressed=true],.coach-ui .stylebtn.on,.coach-situations button[aria-pressed=true],.coach-primary:not(#coachStart){background:linear-gradient(145deg,#f6dc84,#c9952d);border-color:#e6bf59;color:#121006;box-shadow:0 4px 14px rgba(0,0,0,.3),inset 0 1px rgba(255,255,255,.35)}
.coach-situations button[aria-pressed=true] b{color:#121006}
.coach-ui .stylebtn:hover,.coach-situations button:hover{border-color:#e6bf59}
#coachStart{color:#f2c14e;border-color:rgba(241,200,77,.34)}

.coach-top10-icon{width:38px;height:38px;object-fit:contain;flex:none}
/* The shared header owns its top spacing, as on the other product pages. */
.coach-ui .wrap{padding-top:0}
/* Content follows the main site's 900px shell and responsive gutters. */
.coach-ui .wrap{width:min(900px,calc(100% - 36px))}
@media(orientation:landscape) and (max-height:520px) and (max-width:980px){.coach-ui .wrap{width:min(900px,calc(100% - 28px))}}
@media(max-width:700px){.coach-ui .wrap{width:min(900px,calc(100% - 24px))}}

/* Keep the current product gold across link interaction states. */
#sharedHeader .product-nav a.active,#sharedHeader .product-nav a.active:visited,#sharedHeader .product-nav a.active:hover,#sharedHeader .product-nav a.active:focus,#sharedHeader .product-nav a.active:active{color:#f1c84d}
#sharedHeader .product-nav a.active .tab-line{color:inherit}
/* Match the shared active-tab underline and timed stadium treatment. */
#sharedHeader .product-nav a{position:relative}
#sharedHeader .product-nav a.active::after{content:"";display:block;position:absolute;left:16%;right:16%;bottom:-1px;height:2px;border-radius:2px;background:#f1c84d;box-shadow:0 0 8px rgba(241,200,77,.28)}
body.coach-ui.stadium-daytime{background-color:#000;background-image:linear-gradient(180deg,rgba(0,0,0,.12) 0px,rgba(0,0,0,.28) 60px,rgba(0,0,0,.78) 112px,rgba(0,0,0,.92) 164px,#000 260px),url('../players/assets/brand/player-review-stadium-day-v1.png');background-position:top center;background-repeat:no-repeat;background-size:100% 177.6833vw,100% auto;}

/* Match the collection dialog and give the three destinations a clear reading order. */
.coach-slot-dialog{padding:26px 20px 22px;border:1px solid rgba(232,188,54,.55);border-radius:22px;background:radial-gradient(circle at 7% 0,rgba(242,198,65,.16),transparent 32%),linear-gradient(155deg,#062014,#020f09 72%);box-shadow:0 24px 80px rgba(0,0,0,.72),inset 0 1px rgba(255,238,176,.08);}
.coach-slot-dialog h2{color:#f6f3e7;font:700 21px/1.4 'Anuphan',sans-serif;letter-spacing:0;}
.coach-slot-context{color:#dfc779;font-size:13px;margin-bottom:22px;}
.coach-slot-close button{width:30px;height:30px;border:1px solid rgba(232,188,54,.32);border-radius:50%;background:rgba(232,188,54,.06);color:#e8ce79;font-size:22px;line-height:1;}
.coach-slot-dialog .coach-slot-choice{display:grid;grid-template-columns:30px minmax(0,1fr) 10px;gap:12px;align-items:center;padding:16px 13px;margin-top:10px;border-color:rgba(232,188,54,.22);background:rgba(232,188,54,.035);color:#dfc779;border-radius:12px;}
.coach-slot-dialog .coach-slot-choice>span:nth-child(2){min-width:0;}
.coach-slot-dialog .coach-slot-choice b{color:#f1e6bf;font-size:15px;line-height:1.45;font-weight:600;}
.coach-slot-dialog .coach-slot-choice small{color:#aebbb0;font-size:12px;line-height:1.6;margin-top:5px;}
.coach-slot-dialog .coach-slot-choice svg,.coach-slot-dialog .coach-top10-icon{width:25px;height:25px;object-fit:contain;justify-self:center;}
.coach-slot-dialog .coach-slot-choice:hover,.coach-slot-dialog .coach-slot-choice:focus-visible{border-color:#e8ce79;background:rgba(232,188,54,.1);}
.coach-slot-dialog .coach-slot-choice{grid-template-columns:38px minmax(0,1fr) 10px;}
.coach-slot-dialog .coach-top10-icon{width:38px;height:38px;}

.coach-squad-context p{font-size:13px;line-height:1.6;color:var(--muted);}.coach-squad-context h2{font-size:18px;}

/* Compact squad summary with readable position groups on mobile. */
.coach-ui .coach-squad-context{padding:16px 18px;}
.coach-ui .coach-squad-context h2{margin:0 0 12px;font-size:18px;line-height:1.4;}
.coach-squad-groups{display:grid;gap:10px;margin:0;}
.coach-squad-groups>div{display:grid;grid-template-columns:70px minmax(0,1fr);gap:10px;align-items:start;}
.coach-squad-groups dt{font-size:13px;font-weight:600;color:var(--amber);}
.coach-squad-groups dd{display:flex;flex-wrap:wrap;gap:3px 14px;margin:0;font-size:13px;line-height:1.6;color:var(--muted);}
.coach-squad-groups dd span{display:block;}
.coach-ui .coach-squad-context .coach-squad-note{margin:12px 0 0;font-size:12px;}
@media(max-width:600px){.coach-squad-groups dd{display:grid;gap:2px;}}

.coach-squad-groups>div{grid-template-columns:1fr;gap:4px;}
.coach-squad-groups dd{display:flex;flex-wrap:wrap;gap:8px;}
.coach-squad-player{width:64px;margin:0;text-align:center;}
.coach-squad-player img{display:block;width:64px;height:80px;object-fit:contain;}
.coach-squad-player figcaption{margin-top:2px;color:var(--chalk);font:600 11px/1.4 'Anuphan',sans-serif;}
