/* /masteries/, /great-hall/, /clan-boss/, /fusion/recipes/ (scripts/progress_pages.py). */
.pg-shell{max-width:1400px}
.progress h2{margin:1.6rem 0 .6rem}
.pg-trees{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.pg-tree>h2{margin-top:.6rem}
.pg-tier h3{margin:14px 0 6px;font-size:14px;color:#efc780}
.pg-tier ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.pg-mastery{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px;padding:10px 12px;border-radius:10px;background:#111b33;border:1px solid #22304d}
.pg-mastery img{width:40px;height:47px;object-fit:contain;display:block}
.pg-noicon{width:40px;height:40px;border-radius:8px;background:#1a2744;display:block}
.pg-mastery strong{color:#fff;font-size:14px}
.pg-cost{display:block;font-size:12px;color:#9aa6b8}
.pg-mastery p{margin:4px 0 0;font-size:13px;color:#c9d2df}
.pg-table{overflow-x:auto;margin:10px 0}
.pg-table table{border-collapse:collapse;width:100%;font-size:14px;min-width:640px}
.pg-table th,.pg-table td{padding:8px 10px;border-bottom:1px solid #2a3a5c;text-align:left;color:#e8edf5}
.pg-table thead th{color:#9aa6b8;font-weight:600}
.pg-cost-row td{font-size:12px;color:#c9d2df}
.pg-recipes{display:grid;grid-template-columns:repeat(auto-fill,minmax(420px,1fr));gap:12px}
.pg-recipe{padding:14px 16px;border-radius:12px;background:#111b33;border:1px solid #22304d}
.pg-recipe-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.pg-silver{font-size:13px;color:#efc780;white-space:nowrap}
.pg-ings{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.pg-champ{display:flex;align-items:center;gap:10px;min-width:0}
.pg-champ img,.pg-champ .pg-noicon{width:44px;height:57px;border-radius:6px;object-fit:cover;flex:none}
.pg-champ strong{display:block;color:#fff;font-size:14px}
.pg-champ a{color:#fff;text-decoration:none}.pg-champ a:hover{color:#f4d89e}
.pg-champ span{font-size:12px;color:#9aa6b8}
.pg-frags{font-size:14px;color:#c9d2df;line-height:1.7}
@media(max-width:1000px){.pg-trees{grid-template-columns:1fr}.pg-recipes{grid-template-columns:1fr}}
/* Great Hall planner (mock-up C, 21 Nov 2026; great-hall.js) */
.gh{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;margin:18px 0 26px}
.gh-side{background:#0f1c37;border:1px solid #263f69;border-radius:16px;padding:12px;align-self:start}
.gh-side-h{margin:8px 6px 6px;font-size:12px;font-weight:700;color:#efc780;letter-spacing:.1em;text-transform:uppercase}
.gh-side button{display:flex;width:100%;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;border:0;border-radius:10px;background:none;color:#cbd5e5;font:600 14px/1.3 inherit;text-align:left;cursor:pointer}
.gh-side button:hover{background:#16284a}.gh-side button small{font-size:12px;color:#8d9ab0;white-space:nowrap}
.gh-side button[aria-current]{background:#1e3a66;color:#fff;box-shadow:inset 3px 0 0 #efc780}
.gh-main{background:#0f1c37;border:1px solid #263f69;border-radius:16px;padding:18px 20px;min-width:0}
.gh-hd{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px}.gh-hd h2{margin:0;font-size:24px}
.gh-pill{padding:4px 10px;border-radius:999px;background:#2a2042;color:#d7c4ff;font-size:12px;font-weight:700}
.gh-target{margin-left:auto;font-size:13px;color:#9aa6b8}.gh-target select{margin-left:6px;background:#13254a;color:#fff;border:1px solid #2a4570;border-radius:8px;padding:4px 6px}
.gh-reset{background:none;border:1px solid #2a4570;color:#cbd5e5;border-radius:8px;padding:5px 10px;cursor:pointer;font:600 13px inherit}
.gh-help{margin:10px 0 4px;font-size:13px;color:#9aa6b8}
.gh-row{display:grid;grid-template-columns:140px minmax(0,1fr) 92px;gap:14px;align-items:center;padding:10px 0;border-top:1px solid #1e3254}
.gh-stat{display:flex;gap:10px;align-items:center;font-weight:700}.gh-stat svg{width:22px;height:22px;fill:none;stroke:#efc780;stroke-width:2;stroke-linejoin:round;stroke-linecap:round;flex:none}
.gh-pips{display:grid;grid-template-columns:repeat(10,1fr);gap:4px}
.gh-pips button{height:18px;border:0;border-radius:4px;background:#1b2c4c;cursor:pointer;padding:0}
.gh-pips button.f{background:linear-gradient(90deg,#efc780,#d39f3c)}.gh-pips button.t{background:#3d5f93}
.gh-pips button:hover{outline:2px solid #efc780;outline-offset:1px}
.gh-val{text-align:right;font-weight:800}.gh-val small{display:block;color:#8d9ab0;font-weight:600;font-size:12px}
.gh-sum{margin-top:16px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.gh-box{border-radius:14px;padding:12px 14px;background:#13254a;border:1px solid #2a4570}.gh-box b{display:block;font-size:26px;font-weight:800}.gh-box span{color:#9fb0cc;font-size:13px}
.gh-br b{color:#f2c3ab}.gh-si b{color:#dfe6f2}.gh-go b{color:#ffe08a}
.gh-note{margin:12px 0 0;color:#b9c4d6;font-size:14px}
.pg-ref{margin:8px 0 24px;border:1px solid #263f69;border-radius:14px;padding:4px 16px}
.pg-ref summary{cursor:pointer;padding:12px 0;font-weight:700;color:#efc780}
@media(max-width:900px){.gh{grid-template-columns:1fr}.gh-side{display:flex;overflow-x:auto;gap:6px;padding:8px}.gh-side-h{display:none}
.gh-side button{flex:none;width:auto;flex-direction:column;align-items:flex-start;background:#13254a}
.gh-row{grid-template-columns:84px minmax(0,1fr) 86px;gap:8px}.gh-val small{white-space:nowrap;font-size:11px}.gh-pips button{height:22px}.gh-sum{grid-template-columns:1fr 1fr 1fr;gap:6px}.gh-box b{font-size:18px}.gh-target{margin-left:0}}
