/* COTA skill guides: clickable skills + parent guide modal.  Navy / gold / crimson, minimal. */
.sg-link{appearance:none;background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;text-align:left;cursor:pointer;
  text-decoration:underline dotted rgba(184,144,43,.85);text-underline-offset:3px;text-decoration-thickness:1px}
a.sg-link{display:inline}
.sg-link:hover{text-decoration-style:solid;text-decoration-color:#b8902b}
.sg-link:focus-visible,.sg-info:focus-visible,.sg-x:focus-visible,.sg-btn:focus-visible{outline:2px solid #D4AF37;outline-offset:2px;border-radius:3px}
.sg-info{appearance:none;display:inline-flex;align-items:center;justify-content:center;width:1.05rem;height:1.05rem;margin-left:.4rem;padding:0;border:1px solid rgba(184,144,43,.8);
  border-radius:50%;background:transparent;color:#8a6b14;font:italic 600 .68rem/1 Georgia,serif;cursor:pointer;vertical-align:middle}
.sg-info:hover{background:#D4AF37;color:#10264a}
.sg-ov{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:1rem;background:rgba(6,14,32,.72);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.sg-card{position:relative;display:flex;flex-direction:column;width:min(640px,100%);max-height:min(88vh,860px);background:#fbf9f3;color:#16233f;border-radius:10px;overflow:hidden;
  box-shadow:0 24px 70px rgba(0,0,0,.5);font-family:Inter,"Segoe UI",sans-serif;border-top:3px solid #D4AF37}
.sg-head{position:relative;padding:1.15rem 3.2rem 1rem 1.4rem;background:linear-gradient(160deg,#0b1b3a,#13306a);color:#fff;border-bottom:2px solid #9b1c2e}
.sg-eyebrow{display:flex;align-items:center;gap:.5rem;font:600 .66rem/1 Oswald,Inter,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:#D4AF37}
.sg-eyebrow img{width:18px;height:auto;display:block}
.sg-title{margin:.55rem 0 0;font:500 1.35rem/1.25 Oswald,Inter,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#fff}
.sg-x{position:absolute;top:.7rem;right:.8rem;width:2.2rem;height:2.2rem;border:0;border-radius:50%;background:transparent;color:#e6c75c;font-size:1.5rem;line-height:1;cursor:pointer}
.sg-x:hover{background:rgba(255,255,255,.12)}
.sg-body{padding:1.2rem 1.4rem 1.4rem;overflow-y:auto;font-size:.98rem;line-height:1.6;-webkit-overflow-scrolling:touch}
.sg-body h2,.sg-body h3,.sg-body h4{margin:1.35rem 0 .45rem;font:600 .8rem/1.3 Oswald,Inter,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#10264a;padding-bottom:.3rem;border-bottom:1px solid rgba(212,175,55,.6)}
.sg-body>*:first-child{margin-top:0}
.sg-body h2::first-letter{color:#9b1c2e}
.sg-body p{margin:.55rem 0}
.sg-body ul,.sg-body ol{margin:.5rem 0;padding-left:1.3rem}
.sg-body ol{list-style:decimal}
.sg-body ul{list-style:none;padding-left:1.1rem}
.sg-body ul>li{position:relative;margin:.3rem 0}
.sg-body ul>li::before{content:"";position:absolute;left:-1rem;top:.62em;width:.4rem;height:.4rem;border-radius:50%;background:#D4AF37}
.sg-body ol>li{margin:.3rem 0;padding-left:.2rem}
.sg-body ol>li::marker{color:#9b1c2e;font-weight:700}
.sg-body strong{color:#10264a}
.sg-body blockquote{margin:.9rem 0;padding:.5rem .9rem;border-left:3px solid #9b1c2e;background:rgba(155,28,46,.05);color:#33405c}
.sg-body blockquote p{margin:.2rem 0}
.sg-body a{color:#13306a;text-decoration:underline}
.sg-body code{background:rgba(16,38,74,.07);padding:.05rem .3rem;border-radius:3px;font-size:.9em}
.sg-body hr{border:0;border-top:1px solid rgba(212,175,55,.6);margin:1.2rem 0}
.sg-soon{padding:1.6rem .4rem 1.2rem;text-align:center}
.sg-soon-mark{width:2.4rem;height:2px;margin:0 auto .9rem;background:#D4AF37}
.sg-soon-t{font:500 1rem/1.3 Oswald,Inter,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:#10264a}
.sg-soon-s{margin-top:.5rem;font-size:.9rem;color:#5b6783}
.sg-foot{display:flex;flex-wrap:wrap;align-items:center;gap:.7rem;padding:.8rem 1.4rem;border-top:1px solid rgba(16,38,74,.12);background:#f3efe2}
.sg-foot-l{font:600 .62rem/1 Oswald,Inter,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:#6b5a1d}
.sg-btn{display:inline-flex;align-items:center;min-height:38px;padding:0 1rem;border-radius:7px;background:#D4AF37;color:#10264a !important;font-weight:700;font-size:.9rem;text-decoration:none;border:1px solid #D4AF37}
.sg-btn:hover{background:#e6c75c}
.sg-soon-pill{font-size:.88rem;color:#5b6783;font-style:italic}
@media (max-width:520px){.sg-ov{padding:0;align-items:flex-end}.sg-card{max-height:92vh;border-radius:14px 14px 0 0}.sg-title{font-size:1.15rem}}
@media print{.sg-info,.sg-ov{display:none !important}.sg-link{text-decoration:none !important}}

.sg-hint{margin:.9rem 0 0;text-align:center;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:#8a6d1f}

/* ---- Learn more tabs (collapsible) and difficulty badge in the skill-guide modal ---- */
.sg-body .sg-more{margin:1.35rem 0 .4rem}
.sg-body .sg-more>h2{margin-bottom:.55rem}
.sg-body .sg-tab{margin:.4rem 0;border:1px solid rgba(16,38,74,.16);border-left:3px solid #D4AF37;border-radius:6px;background:rgba(16,38,74,.025);overflow:hidden}
.sg-body .sg-tab[open]{border-left-color:#9b1c2e;background:#fff;box-shadow:0 1px 4px rgba(16,38,74,.08)}
.sg-body .sg-tab>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:.6rem;min-height:44px;padding:.5rem .8rem;font:600 .93rem/1.3 Inter,system-ui,sans-serif;color:#10264a;-webkit-tap-highlight-color:transparent}
.sg-body .sg-tab>summary::-webkit-details-marker{display:none}
.sg-body .sg-tab>summary::before{content:"";flex:0 0 auto;width:.5rem;height:.5rem;border-right:2px solid #9b1c2e;border-bottom:2px solid #9b1c2e;transform:rotate(-45deg);transition:transform .15s ease;margin:0 .15rem 0 .1rem}
.sg-body .sg-tab[open]>summary::before{transform:rotate(45deg)}
.sg-body .sg-tab>summary:hover{background:rgba(212,175,55,.12)}
.sg-body .sg-tab>summary:focus-visible{outline:2px solid #13306a;outline-offset:-2px}
.sg-body .sg-tab-b{padding:.1rem .95rem .75rem 1.9rem;font-size:.94rem;line-height:1.6;color:#1f2a44}
.sg-body .sg-tab-b p{margin:.4rem 0}
.sg-body .sg-band{display:inline-flex;align-items:center;gap:.4rem;margin:0 0 .9rem;padding:.2rem .65rem;border-radius:999px;font:600 .72rem/1.4 Oswald,Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase;border:1px solid transparent}
.sg-body .sg-band-d{width:.5rem;height:.5rem;border-radius:50%;background:currentColor}
.sg-body .sg-band-easier{color:#1f6b45;background:rgba(31,107,69,.09);border-color:rgba(31,107,69,.3)}
.sg-body .sg-band-medium{color:#8a6a07;background:rgba(212,175,55,.16);border-color:rgba(212,175,55,.6)}
.sg-body .sg-band-harder{color:#9b1c2e;background:rgba(155,28,46,.08);border-color:rgba(155,28,46,.3)}
.sg-body>.sg-band+h2{margin-top:.2rem}
@media (prefers-reduced-motion:reduce){.sg-body .sg-tab>summary::before{transition:none}}
