/* One compact result-only coaching card, replacing the old drill button. */
#r62-match-coach[hidden],#r62-match-coach [hidden]{display:none!important}
#r62-match-coach{position:fixed;top:max(12px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));z-index:86000;width:min(460px,46vw);max-height:48vh;overflow:auto;box-sizing:border-box;padding:12px 14px;border:1px solid #527786;border-top:2px solid #e7bc65;border-radius:4px;background:#071726f5;color:#f8f2de;font:calc(clamp(12px,1.18vw,16px) * var(--r62-coach-scale,1))/1.35 "Atkinson Hyperlegible Next",Arial,sans-serif;overscroll-behavior:contain}
#r62-match-coach *{box-sizing:border-box}
.r62-coach-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.78em;color:#e7bc65;letter-spacing:.04em}
#r62-match-coach p{margin:7px 0 10px}
.r62-coach-actions{display:flex;gap:6px;flex-wrap:wrap}
#r62-match-coach button{min-height:40px;padding:7px 9px;border:1px solid #608e9c;border-radius:3px;color:#f8f2de;background:#112b3c;font:700 .86em/1.2 "Atkinson Hyperlegible Next",Arial,sans-serif;cursor:pointer;touch-action:manipulation}
#r62-match-coach .r62-next-topic{background:transparent;border-color:#455c69;color:#c9e2eb}
#r62-match-coach button:focus-visible{outline:3px solid #f7d68c;outline-offset:2px}
@media(max-height:460px){#r62-match-coach{top:max(6px,env(safe-area-inset-top));left:max(8px,env(safe-area-inset-left));padding:8px 10px;max-height:43vh}.r62-coach-heading{font-size:.75em}#r62-match-coach p{margin:5px 0 7px}#r62-match-coach button{min-height:36px;padding:6px 8px}}
body.r54-experience-open #r62-match-coach,body.sk-r40r42-modal-open #r62-match-coach{display:none!important;pointer-events:none!important}

/* R69: the continuation screen reserves its right-hand content column for
 * this single advice card. Coordinates follow the displayed canvas rectangle. */
#r62-match-coach[data-r69-scene=CONTINUE][data-r69-anchored=true]{left:var(--r69-result-left);top:var(--r69-result-top);width:var(--r69-result-width);max-height:var(--r69-result-height);border:1px solid #4a6978;border-left:3px solid #e7bc65;border-radius:10px;background:linear-gradient(120deg,#142c3bea,#0a1b29ed);padding:12px 15px;box-shadow:0 8px 28px #0004}
#r62-match-coach[data-r69-scene=CONTINUE] .r62-coach-heading{color:#aed9df}
#r62-match-coach button{min-height:44px;border-radius:8px;padding:9px 13px}
#r62-match-coach[data-r69-scene=CONTINUE] .r62-coach-actions>button{background:#254759;border-color:#80b5bf}
@media(max-height:460px){#r62-match-coach[data-r69-scene=CONTINUE][data-r69-anchored=true]{padding:7px 10px;font-size:calc(12px * var(--r62-coach-scale,1))}#r62-match-coach[data-r69-scene=CONTINUE] button{min-height:40px;padding:6px 9px}}
