html body.pc-redesign dialog.pc-gems-v124[open]{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;inset:0!important;margin:auto!important;width:min(650px,94vw)!important;height:min(680px,92dvh)!important;max-height:92dvh!important;padding:20px!important;gap:10px;overflow:hidden!important;color:#ead6b1;background:#251b12!important;border:8px solid #a7854f!important;border-image-source:url('assets/pc-v124/ui/frame.webp')!important;border-image-slice:32!important;border-image-width:12px!important}.pc-gems-v124 header{display:flex;justify-content:space-between;align-items:center;gap:10px}.pc-gems-v124 h2{margin:0;font-size:27px}.pc-gems-v124 nav,.gem124-tiers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.gem124-tiers{grid-template-columns:repeat(3,minmax(0,1fr))}.pc-gems-v124 main{overflow:auto;min-height:0;display:grid;align-content:start;gap:9px}.pc-gems-v124 main>*{min-width:0;max-width:100%;box-sizing:border-box}.pc-gems-v124 p{margin:3px 0;line-height:1.4}.pc-gems-v124 button,.pc-gems-v124 select{min-width:0;min-height:42px;font:inherit;color:#f2dcae;background:#43301d;border:1px solid #a18352;border-radius:5px;padding:8px}.pc-gems-v124 button[aria-pressed=true]{border-color:#e9c273;background:#6b4824}.pc-gems-v124 button:disabled{opacity:.48}.gem124-art{width:76px;height:76px;justify-self:center}.gem124-effect{text-align:center;font-size:19px}.gem124-error{color:#f5a795}.pc-gems-v124 small,.pc-gems-v124 details{font-size:13px;color:#ceb895}.pc-gems-v124 summary{cursor:pointer}.gem124-confirm{display:grid;gap:12px}.growth-screen [data-gems-v124-open]{font-size:13px;margin-left:10px;padding:6px}
@media(max-width:699px){html body.pc-redesign dialog.pc-gems-v124[open]{width:100vw!important;height:100dvh!important;max-height:100dvh!important;padding:calc(10px + env(safe-area-inset-top)) 10px calc(10px + env(safe-area-inset-bottom))!important;border-width:5px!important}.pc-gems-v124 h2{font-size:22px}.gem124-art{height:60px;width:60px}.pc-gems-v124 main{gap:8px}.pc-gems-v124{font-size:14px}}
@media(max-height:500px){html body.pc-redesign dialog.pc-gems-v124[open]{height:100dvh!important;max-height:100dvh!important;padding:8px!important}.gem124-art{display:none}.pc-gems-v124 header h2{font-size:19px}.pc-gems-v124 button,.pc-gems-v124 select{min-height:34px;padding:5px}}
html body.pc-redesign dialog.pc-gems-v124[open]{max-width:min(650px,94vw)!important;height:min(720px,94dvh)!important;max-height:94dvh!important}.pc-gems-v124 .gem124-art{height:60px;width:60px}@media(max-width:699px){html body.pc-redesign dialog.pc-gems-v124[open]{max-width:100vw!important;height:100dvh!important;max-height:100dvh!important}}@media(max-height:500px){html body.pc-redesign dialog.pc-gems-v124[open]{height:100dvh!important;max-height:100dvh!important}}
.gem124-picker,.gem124-socket{display:grid;align-content:start;gap:9px;min-width:0}.gem124-picker>*{max-width:100%;min-width:0}.gem124-picker .gem124-art{justify-self:center}@media(min-width:700px) and (max-height:500px){.pc-gems-v124[data-gem-tab=socket] main{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:start;gap:7px 14px}.pc-gems-v124 main>details,.pc-gems-v124 main>.gem124-error{grid-column:1/-1}.gem124-picker,.gem124-socket{gap:6px}.gem124-picker .gem124-art{display:none}}
