.spell-mastery-guide{--smg-line:#514536;--smg-gold:#ddbc86;--smg-soft:#b6afa2;color:#c7c1b6;line-height:1.8;padding:38px 0 65px;max-width:1240px;margin:auto}
.spell-mastery-guide h1,.spell-mastery-guide h2,.spell-mastery-guide h3,.spell-mastery-guide h4{font-family:InfernoDisplay,Constantia,Georgia,serif;font-weight:400;color:#efe3cd;line-height:1.16}
.spell-mastery-guide h1{font-size:clamp(48px,5.6vw,80px);letter-spacing:-1.8px;margin:23px 0}.spell-mastery-guide h1 em{font-style:normal;color:#d7b37e}.spell-mastery-guide h2{font-size:clamp(34px,3.8vw,49px);margin:16px 0 25px}.spell-mastery-guide h3{font-size:26px;margin:0 0 16px}.spell-mastery-guide p{margin:0 0 20px}.spell-mastery-guide strong{color:#e9d8b9;font-weight:500}.spell-mastery-guide .eyebrow{color:#c7a679}
.smg-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:60px;align-items:center;padding:30px 0 55px}.smg-lead{font-size:21px;max-width:590px}.smg-actions{display:flex;align-items:center;flex-wrap:wrap;gap:25px;margin-top:30px}.smg-constellation{border:1px solid #63513a;background:radial-gradient(ellipse at 50% 45%,#5a452329,transparent 70%),#181915;padding:26px 24px 23px;box-shadow:0 28px 80px #0003}.smg-constellation .eyebrow{font-size:10px}.smg-constellation svg{width:100%;height:auto;display:block;margin:8px 0}.smg-constellation p{font-size:14px;text-align:center;line-height:1.9;margin:0}
.smg-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:25px;border-block:1px solid var(--smg-line);padding:25px 0 28px}.smg-metrics>div{padding-left:20px;border-left:1px solid #70593d}.smg-metrics strong{display:block;font:38px InfernoDisplay,Georgia,serif;color:#e7c58f}.smg-metrics span{font-size:13px;color:#aea596}.smg-contents{display:flex;flex-wrap:wrap;gap:10px 30px;padding:21px 0;border-bottom:1px solid var(--smg-line);font-size:14px}.smg-section{padding:62px 0;border-bottom:1px solid var(--smg-line);scroll-margin-top:25px}.smg-intro{max-width:970px;font-size:20px}
.smg-steps{list-style:none;padding:0;margin:33px 0 0;max-width:1030px}.smg-steps li{display:grid;grid-template-columns:50px 1fr;gap:24px;border-top:1px solid #3f382d;padding:27px 0}.smg-steps li>span{font:25px InfernoDisplay,Georgia,serif;color:#b99664}.smg-steps li p{margin:0}.smg-steps h3{margin-bottom:10px}.smg-milestones{display:grid;grid-template-columns:repeat(5,1fr);margin:33px 0 38px;border:1px solid var(--smg-line);background:#1d1c1766}.smg-milestones>div{padding:22px 14px;text-align:center;border-right:1px solid #42382b}.smg-milestones>div:last-child{border:0}.smg-milestones span{display:block;font-size:10px;letter-spacing:1.2px;color:#bfa67f}.smg-milestones strong{display:block;font:35px InfernoDisplay,Georgia,serif;margin:8px 0}.smg-milestones small{font-size:12px;color:#aaa393}.smg-two{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-top:30px}.smg-two article{min-width:0}.smg-callout{border-left:2px solid #b28b56;background:linear-gradient(90deg,#48361f33,transparent);padding:26px 30px;margin:30px 0}.smg-callout>strong{display:block;font:25px InfernoDisplay,Georgia,serif;margin-bottom:12px}.smg-callout p{margin:0}.smg-small-print{font-size:15px;color:#b3ad9f}
.smg-explorer{display:grid;grid-template-columns:235px minmax(0,1fr);gap:27px;margin-top:33px;align-items:start}.smg-catalogue{position:sticky;top:18px;min-width:0}.smg-catalogue label,.smg-reset-calculator label{font-size:13px;color:#bdb09a;display:block;margin-bottom:7px}.smg-catalogue select,.smg-catalogue input,.smg-reset-calculator input{width:100%;min-width:0;background:#171b17;border:1px solid #61543f;color:#eee0c7;border-radius:0;font:16px InfernoText,Arial,sans-serif;line-height:1.4;padding:12px}.smg-catalogue select{margin-bottom:18px}.smg-catalogue input{margin-bottom:14px}.smg-filter-submit{width:100%;margin-bottom:13px;font-size:11px}.smg-enhanced .smg-filter-submit{display:none}.smg-count{font-size:13px;color:#ada18e;margin:3px 0 11px!important}.smg-spell-list{border:1px solid var(--smg-line);max-height:min(62vh,650px);overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#817050 #191a16}.smg-spell-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 13px;border-bottom:1px solid #38372d;color:#c9c0af!important;font-size:14px;line-height:1.4}.smg-spell-list a:hover{background:#383021;color:#f2d7aa!important}.smg-spell-list a[aria-current=true]{background:#4b3b26;color:#ffe0ad!important;border-left:2px solid #d3a86b;padding-left:11px}.smg-spell-list small{font-size:9px;white-space:nowrap;color:#a99c84}.smg-detail{min-width:0}.smg-detail-heading{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:13px}.smg-detail-heading h3{font-size:36px;margin:9px 0 0;overflow-wrap:anywhere}.smg-level{font-size:9px;letter-spacing:1px;border:1px solid #6d5737;padding:7px 9px;white-space:nowrap;color:#caaa77;margin-top:4px}.smg-scope{font-size:14px;color:#afa694;max-width:800px}.smg-tree{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto repeat(3,auto) auto;gap:14px}.smg-branch{display:grid;grid-template-rows:subgrid;grid-row:span 5;gap:14px;min-width:0}.smg-branch h4{font:19px InfernoDisplay,Georgia,serif;margin:4px 0 1px;color:#dfc293;overflow-wrap:anywhere}.smg-node{padding:20px 17px 18px;border:1px solid #4b4537;background:linear-gradient(145deg,#22251e88,#161a15);min-width:0;display:flex;flex-direction:column}.smg-node-kind{color:#a49c88;font-size:8px;letter-spacing:1.1px;line-height:1.5;display:block}.smg-node h5{font:500 16px/1.35 InfernoText,Arial,sans-serif;color:#e7d7b8;margin:11px 0 6px;overflow-wrap:anywhere}.smg-node-cost{font-size:11px;line-height:1.5;color:#bea77c;display:block;margin-bottom:17px}.smg-node p{font-size:14px;line-height:1.75;color:#d1c9b7;margin-bottom:19px;overflow-wrap:anywhere}.smg-node small{margin-top:auto;padding-top:13px;border-top:1px solid #3c3c30;color:#a59e8c;font-size:11px;line-height:1.65}.smg-major{border-color:#8e6b3d;background:linear-gradient(145deg,#46351c66,#211e16)}.smg-major .smg-node-kind{color:#d5b274}.smg-major h5{color:#f1d4a3}.smg-empty{padding:30px;border:1px solid var(--smg-line)}
.smg-muted{font-size:14px;color:#a99f8f}.smg-reset-calculator{border:1px solid #6a5536;background:#211e174d;padding:30px}.smg-reset-calculator input{margin-bottom:18px}.smg-reset-calculator output{display:block;color:#e7c48a;font:33px InfernoDisplay,Georgia,serif;margin:5px 0 17px}.smg-reset-calculator small{font-size:12px;line-height:1.7;display:block;color:#b5a68e}.smg-faq details{padding:20px 0;border-bottom:1px solid #42392d}.smg-faq summary{display:flex;justify-content:space-between;gap:22px;color:#e7d4b0;font-size:19px;line-height:1.4}.smg-faq summary span{color:#c29b61}.smg-faq details[open] summary span{transform:rotate(45deg)}.smg-faq details p{padding:18px 35px 0 0;margin:0;color:#bfb6a7;max-width:1000px}.smg-outro{text-align:center;padding:55px 10px 0}.smg-outro p{font:30px InfernoDisplay,Georgia,serif;color:#e1c89e;margin:16px 0 26px}.page_spell-mastery .nav-popover a[aria-current=page]{background:#382b1d;color:#f0c98c}
@supports not(grid-template-rows:subgrid){.smg-branch{display:flex;flex-direction:column}.smg-node{flex:1}}
@media(max-width:1100px){.smg-explorer{grid-template-columns:210px minmax(0,1fr);gap:22px}.smg-hero{gap:35px}.smg-metrics{gap:18px}.smg-node{padding:18px 13px}.smg-node p{font-size:13px}.smg-level{white-space:normal;max-width:130px}}
@media(max-width:980px){.smg-tree{display:block}.smg-branch{display:block;margin-bottom:28px}.smg-branch h4{font-size:25px;margin-bottom:17px}.smg-node{margin-bottom:12px}.smg-node p{font-size:15px}.smg-node h5{font-size:18px}.smg-node-kind{font-size:9px}.smg-node-cost,.smg-node small{font-size:12px}.smg-detail-heading{display:block}.smg-level{display:inline-block;max-width:none;margin-top:14px}.smg-hero{grid-template-columns:1.05fr 1fr;gap:28px}.smg-lead{font-size:19px}.smg-two{gap:30px}}
@media(max-width:700px){.spell-mastery-guide{padding:20px 0 45px}.smg-hero{grid-template-columns:1fr;padding:15px 0 35px;gap:30px}.spell-mastery-guide h1{font-size:50px;letter-spacing:-1px}.smg-constellation{max-width:500px;width:100%;justify-self:center}.smg-metrics{grid-template-columns:repeat(2,1fr);gap:22px 12px;padding:23px 0}.smg-metrics strong{font-size:33px}.smg-metrics>div{padding-left:13px}.smg-metrics span{font-size:12px}.smg-contents{gap:12px 21px}.smg-section{padding:42px 0}.smg-steps li{grid-template-columns:31px 1fr;gap:14px}.smg-milestones{gap:0;grid-template-columns:repeat(5,1fr)}.smg-milestones>div{padding:17px 4px}.smg-milestones span{font-size:8px;letter-spacing:.3px}.smg-milestones strong{font-size:28px}.smg-milestones small{font-size:9px}.smg-two{grid-template-columns:1fr;gap:20px}.smg-callout{padding:22px 18px}.smg-explorer{display:block}.smg-catalogue{position:static}.smg-spell-list{max-height:245px}.smg-detail{margin-top:30px}.smg-detail-heading h3{font-size:33px}.smg-reset-calculator{padding:24px 20px}.smg-faq summary{font-size:18px}.smg-outro p{font-size:25px}}

.smg-capstone {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #5e4b34;
}
.smg-capstone > summary.smg-node-cost {
  display: list-item;
  color: #edca95;
  cursor: pointer;
  margin-bottom: 0;
}
.smg-capstone[open] > summary.smg-node-cost {
  margin-bottom: 10px;
}
.smg-capstone > p {
  margin-bottom: 0;
}
