/* v0.9.9 · NPC Life + Quest + Cooking/Crafting */
.craft-panel{width:min(760px,95vw)!important;max-height:90vh!important;overflow:hidden!important;display:grid!important;grid-template-rows:auto minmax(0,1fr);gap:8px;background:linear-gradient(#fff3d9,#efc78f)!important}.craft-kicker{display:block;font:950 9px/1 system-ui;letter-spacing:.12em;color:#a5623d}.craft-panel #craftSheetBody{min-height:0;overflow:auto;display:grid;gap:8px;padding:1px 2px 4px}.craft-clock{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:2px solid #99613f;border-radius:12px;background:#fff8e8;color:#593324}.craft-clock>span{font-weight:950}.craft-clock>small{color:#8d6b53;font-size:9px;text-align:right}.craft-inventory{display:flex;gap:5px;overflow-x:auto;padding:6px;border:2px solid #c69a6e;border-radius:11px;background:#f7d9ad;scrollbar-width:thin}.craft-inventory>span{flex:0 0 auto;padding:5px 7px;border:1px solid #c08c5d;border-radius:999px;background:#fff6e3;color:#6c412c;font-size:9px}.craft-inventory>small{padding:5px;color:#8a684f}.craft-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.craft-card{min-width:0;display:grid;grid-template-rows:auto auto auto auto;gap:6px;padding:9px;border:2px solid #b9855e;border-radius:14px;background:#fff8e8;color:#513025;box-shadow:0 2px 0 rgba(97,53,34,.12)}.craft-card>header{display:grid;grid-template-columns:42px minmax(0,1fr);gap:7px;align-items:center}.craft-card>header>span{width:42px;height:42px;display:grid;place-items:center;border:2px solid #d0a472;border-radius:10px;background:#ffe3b3;font-size:24px}.craft-card>header b{display:block;font-size:12px}.craft-card>header small{display:block;margin-top:2px;color:#87644d;font-size:8px;line-height:1.3}.craft-card ul{list-style:none;margin:0;padding:0;display:grid;gap:3px}.craft-card li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 6px;border-radius:7px;background:#f4e4c9;font-size:8px}.craft-card li.ok b{color:#477435}.craft-card li.missing{background:#f4d8d5}.craft-card li.missing b{color:#a54444}.craft-output{display:flex;justify-content:space-between;gap:7px;align-items:center;padding:5px 6px;border-radius:8px;background:#e4efc8}.craft-output small{color:#70804e;font-size:7px;font-weight:900}.craft-output b{font-size:9px}.craft-card>button{min-height:36px;border:2px solid #873747;border-radius:10px;background:#ef5d91;color:#fff;font-size:9px;font-weight:950;box-shadow:0 2px 0 #a24050}.craft-card>button:disabled{background:#ddc9b7;color:#917665;border-color:#bd9d83;box-shadow:none}.life-quest-dashboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:8px}.life-quest-dashboard>div{display:grid;gap:2px;padding:8px;border:2px solid #bb8962;border-radius:11px;background:#fff4dc}.life-quest-dashboard small{font-size:7px;color:#9b6545;font-weight:950;letter-spacing:.05em}.life-quest-dashboard b{font-size:13px;color:#533024}.life-quest-section{display:grid;gap:6px;margin-top:8px}.life-quest-section>h3{margin:0;font-size:12px;color:#593527}.life-quest-card{display:grid;gap:6px;padding:9px;border:2px solid #bd8a62;border-radius:13px;background:#fff8e9;color:#523126}.life-quest-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.life-quest-card>header>div{min-width:0}.life-quest-card>header small{display:block;font-size:7px;color:#a36848;font-weight:950;letter-spacing:.08em}.life-quest-card>header strong{display:block;margin-top:2px;font-size:12px}.life-quest-card>header em{flex:0 0 auto;padding:4px 6px;border-radius:999px;background:#ead8bd;color:#76513d;font:950 7px/1 system-ui;font-style:normal}.life-quest-card.active>header em{background:#ffe19f;color:#79561c}.life-quest-card.completed{border-color:#db5786}.life-quest-card.completed>header em{background:#ef5d91;color:#fff}.life-quest-card.claimed{opacity:.72;border-color:#82a665}.life-quest-card.claimed>header em{background:#dcebc8;color:#486232}.life-quest-card.locked{opacity:.56}.life-quest-card p{margin:0;color:#775540;font-size:9px;line-height:1.4}.life-quest-step{display:flex;justify-content:space-between;gap:7px;font-size:8px}.life-quest-step b{white-space:nowrap}.life-quest-card .quest-bar{height:8px;border:1px solid #a77654;border-radius:999px;background:#ecdcc4;overflow:hidden}.life-quest-card .quest-bar>span{display:block;height:100%;background:linear-gradient(90deg,#ef5d91,#f3a14f)}.life-quest-card>footer{display:flex;align-items:center;justify-content:space-between;gap:7px}.life-quest-card>footer>span{font-size:8px;color:#75513b;font-weight:850}.life-quest-card>footer button{min-height:32px;padding:5px 9px;border:2px solid #8b3c48;border-radius:9px;background:#ef5d91;color:#fff;font-size:8px;font-weight:950}.life-quest-card>footer button.claim{background:#e64d85}.legacy-quest-block{margin-top:9px;border:2px solid #c39a74;border-radius:11px;background:#f4dec0;overflow:hidden}.legacy-quest-block summary{padding:8px 9px;cursor:pointer;font-size:9px;font-weight:900;color:#6e4b37}.legacy-quest-block>div{display:grid;gap:1px;padding:0 7px 7px}.legacy-quest-row{display:flex;justify-content:space-between;gap:7px;padding:5px 6px;border-radius:7px;background:#fff4df;font-size:8px}.legacy-quest-row.done{opacity:.68}.legacy-quest-row span{font-weight:900}.zone-badge.crafting_station{background:#5a4322!important;color:#ffe3a8!important}.zone-badge.quest_giver{background:#59375d!important;color:#f0c8ff!important}
@media(max-width:760px){.craft-panel{width:97%!important;max-height:95%!important;padding:10px!important}.craft-clock{padding:6px 7px}.craft-clock>span{font-size:10px}.craft-clock>small{font-size:7px}.craft-grid{grid-template-columns:1fr}.craft-card{padding:7px}.craft-card>header{grid-template-columns:36px minmax(0,1fr)}.craft-card>header>span{width:36px;height:36px;font-size:20px}.craft-card>button{min-height:38px}.life-quest-dashboard{gap:4px}.life-quest-dashboard>div{padding:6px}.life-quest-dashboard small{font-size:6px}.life-quest-dashboard b{font-size:11px}.life-quest-card{padding:7px}.life-quest-card>header strong{font-size:10px}.life-quest-card>footer{align-items:stretch;flex-direction:column}.life-quest-card>footer button{width:100%;min-height:38px}}
