/* Legible live skill values, visible locks, and large combat status glyphs. */
#knowledge-root .mastery-node>strong{font-size:11px!important;line-height:1.4!important;hyphens:auto;overflow-wrap:anywhere!important;max-width:100%}
.player-falling .battle-hero-sprite,.player-fallen .battle-hero-sprite{opacity:1!important;animation:none!important}.player-fallen .unit-name{opacity:.65}
.knowledge-page-lock{animation:page-lock-glow 3.8s ease-in-out infinite!important}@keyframes page-lock-glow{50%{opacity:.7;filter:drop-shadow(0 0 15px #ba9552)}}
#knowledge-root .mastery-detail>h3{font:600 24px/1.3 Interface,sans-serif;margin:16px 0;color:#294f3b}
#knowledge-root .mastery-detail>.skill-description{font:15px/1.65 Interface,sans-serif;color:#493c29;letter-spacing:0;margin:17px 0}
#knowledge-root .mastery-detail>.skill-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0;font-family:Interface,sans-serif}
#knowledge-root .mastery-detail>.skill-facts>.skill-fact{display:block;padding:10px 12px}
#knowledge-root .mastery-detail .skill-fact dt{font:12px/1.4 Interface,sans-serif;color:#c1c1b7;margin:0 0 5px}
#knowledge-root .mastery-detail .skill-fact dd{font:600 17px/1.25 Interface,sans-serif;margin:0;color:#f1dfb1}
#knowledge-root .mastery-detail>button{min-height:45px;font:600 15px Interface,sans-serif}
#knowledge-root .mastery-footnote,#knowledge-root .mastery-reason{font:12px/1.55 Interface,sans-serif!important;color:#796545!important}
#knowledge-root .mastery-node>strong{font:600 12px/1.4 Interface,sans-serif;min-height:34px}
#knowledge-root .mastery-node>small{font:11px/1.4 Interface,sans-serif}
#knowledge-root .mastery-node.locked .mastery-seal{opacity:1}
#knowledge-root .mastery-page-locked{color:#5a4b30}#knowledge-root .mastery-page-locked p{color:#76674a}
.knowledge-page-lock{position:absolute;transform:translate(-50%,-50%);pointer-events:none;z-index:3;color:#735e35;filter:drop-shadow(0 0 9px #dcc588);animation:mastery-lock-breathe 3.8s ease-in-out infinite}.knowledge-page-lock svg{width:100%;height:100%;fill:#eeddb8;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.knowledge-page-lock{aspect-ratio:1}
.mastery-tree,.mastery-detail,.mastery-page-locked{font-family:Interface,sans-serif}
.mastery-detail h3{font:600 24px/1.2 Interface,sans-serif;margin:16px 0;color:#efe0bc}
.mastery-detail .skill-description{font:15px/1.65 Interface,sans-serif;color:#e4d9c2;text-align:left;letter-spacing:0;margin:17px 0}
.mastery-detail .skill-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0;padding:0}
.skill-facts .skill-fact{display:block;min-width:0;background:linear-gradient(145deg,#262a2d,#191d21);border:1px solid #8b795447;border-radius:10px;padding:10px 12px;box-shadow:inset 0 1px #ffffff07}
.skill-fact dt{font:12px/1.3 Interface,sans-serif;color:#b4b3ac;margin-bottom:5px}.skill-fact dd{font:600 17px/1.25 Interface,sans-serif;margin:0;color:#f4e5bd}.skill-fact.heal dd{color:#a8d5af}.skill-fact.shield dd{color:#b6d5ec}.skill-fact.cost dd{color:#e7bd70}.skill-fact.critical dd{color:#ecc19f}
.mastery-tier{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mastery-node{min-width:0;position:relative;padding:9px 3px;opacity:1!important}.mastery-node strong{font:600 12px/1.35 Interface,sans-serif;overflow-wrap:anywhere;min-height:34px}.mastery-node small{font:11px/1.35 Interface,sans-serif}.mastery-node.locked .mastery-seal>img{filter:saturate(.45) brightness(.6)}.mastery-node.training{border-color:#bda46b;box-shadow:inset 0 0 18px #d9b65e13}.mastery-seal{position:relative}.mastery-node-lock,.mastery-node-check{position:absolute;right:-3px;bottom:-3px;width:23px;height:25px;display:grid;place-items:center;color:#e9d6ac;background:#1b2026;border:1px solid #998359;border-radius:7px;box-shadow:0 2px 6px #0008}.mastery-node-lock svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.mastery-node-check{font:700 16px system-ui;color:#b4d6ac}.mastery-node.preview{outline:2px solid #d9bd82;outline-offset:1px}.mastery-footnote,.mastery-reason{font:12px/1.55 Interface,sans-serif!important;color:#b7ad96!important}.mastery-detail>button{min-height:45px;font:600 15px Interface,sans-serif;margin-top:14px}
.mastery-quest{border:1px solid #a38d5d73;background:linear-gradient(135deg,#303428aa,#1c2324);padding:14px;border-radius:12px;margin:18px 0}.quest-eyebrow{font:600 10px/1.3 Interface,sans-serif;letter-spacing:1.6px;text-transform:uppercase;color:#bfaf82}.mastery-quest h4{font:600 18px/1.35 Interface,sans-serif;margin:7px 0;color:#eee1c1}.mastery-quest .quest-reward{font:12px/1.5 Interface,sans-serif!important;color:#c3bfae!important;margin:0 0 14px}.quest-progress-line{display:flex;justify-content:space-between;gap:8px;font:12px Interface,sans-serif;color:#d7ccb5}.quest-progress-line b{color:#e4cb8e}.quest-progress{height:8px;background:#0d1418;border:1px solid #81744766;border-radius:8px;overflow:hidden;margin:7px 0 12px}.quest-progress>i{display:block;height:100%;background:linear-gradient(90deg,#7a9d87,#d0bd7e);border-radius:8px;transition:width 500ms ease}.mastery-quest ul{list-style:none;padding:0;margin:10px 0;display:grid;gap:10px}.mastery-quest li{display:flex;align-items:baseline;gap:12px;font:12px/1.5 Interface,sans-serif;color:#ddd3c2}.mastery-quest li span{flex:1;min-width:0}.mastery-quest li b{font-variant-numeric:tabular-nums;color:#e8dbb6;white-space:nowrap}.mastery-quest>small{display:block;font:11px/1.55 Interface,sans-serif;color:#afa995}.mastery-quest.complete{border-color:#98bc8e88}
.mastery-page-locked{min-height:380px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#d4c5a5;padding:30px 22px}.page-lock-seal{width:94px;height:106px;display:grid;place-items:center;margin-bottom:24px;border:1px solid #a98e5b88;border-radius:48px;background:radial-gradient(#75623b33,#0e1722);box-shadow:0 0 35px #b1985330;animation:mastery-lock-breathe 3.8s ease-in-out infinite}.page-lock-seal svg{width:47px;height:47px;stroke:#dac192;fill:none;stroke-width:1.8;stroke-linecap:round}.mastery-page-locked>small{text-transform:uppercase;letter-spacing:2px;font-size:10px}.mastery-page-locked h3{font:600 27px Interface,sans-serif}.mastery-page-locked p{font:13px/1.6 Interface,sans-serif;color:#afa68f;max-width:280px}.mastery-page-locked .quest-progress{width:70%;margin-bottom:8px}.mastery-page-locked>strong{font-size:12px}
.combat-number-icon-wrap{position:relative;display:inline-flex;width:26px;height:26px;flex:none}.combat-number-icon-wrap>img{width:26px;height:26px}.combat-number-source{position:absolute!important;width:15px!important;height:15px!important;right:-4px;bottom:-4px;background:#111c27;border:1px solid #d5be84;border-radius:4px;padding:1px;box-sizing:border-box}
@keyframes mastery-lock-breathe{50%{box-shadow:0 0 47px #b1985344;transform:translateY(-2px)}}@keyframes ward-breathe{50%{opacity:.6}}@media(prefers-reduced-motion:reduce){.page-lock-seal,.warrior-ward{animation:none}.quest-progress>i{transition:none}}
