.mythic-inline{width:24px;height:24px;object-fit:contain;vertical-align:middle}
.mythic-pane{display:none;position:fixed;top:2%;left:2%;width:96%;height:96%;box-sizing:border-box;background:#151b25;color:#eee;border:1px solid #cae5ee;border-radius:8px;padding:16px;z-index:150;overflow:auto;text-align:left}
.mythic-sub{z-index:200}.mythic-pane .nav-sub-head{display:flex;align-items:center;gap:10px;margin-bottom:14px}.mythic-pane .nav-sub-head .btn{width:auto;margin-left:auto}
.mythic-tabs,.mythic-job-tabs{display:flex;gap:6px;overflow-x:auto;max-width:100%}.mythic-tabs .btn{flex:1}.mythic-pane .btn{border-color:#6c8eaa;color:#cae5ee}.mythic-pane button:disabled{opacity:.42;cursor:not-allowed}
.mythic-title-row{display:flex;justify-content:space-between;align-items:center;gap:8px}.mythic-title-row .btn{width:auto;font-size:12px;padding:7px}.mythic-title-row h3{font-size:17px}
.mythic-result{border:1px solid #cae5ee;background:#0d1320;border-radius:8px;padding:14px;text-align:center}.mythic-result>img{width:110px;height:110px;display:block;margin:0 auto 8px}.mythic-result>b,.mythic-result>span{display:block}.mythic-result-empty{min-height:130px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px}.mythic-result-empty .mythic-inline{width:48px;height:48px}
.mythic-note,.mythic-guide{font-size:12px;line-height:1.65;overflow-wrap:anywhere}.mythic-guide{padding:12px;border:1px solid #39495d;background:#0e141f;border-radius:6px;margin-top:14px;color:#c4d0df}
.mythic-materials{display:flex;align-items:center;justify-content:center;gap:8px;margin:14px 0}.mythic-slot{min-width:0;flex:1;max-width:120px;aspect-ratio:1/1;box-sizing:border-box;border:2px dashed #555;background:#0a0a0a;color:#888;border-radius:6px;padding:4px;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-wrap:anywhere}.mythic-slot img{object-fit:contain}.mythic-slot b{font-size:11px}.mythic-slot>span:not(.ms-img-wrap){font-size:10px;margin-top:4px}.mythic-material-plus{font-size:20px;color:#556}
.mythic-cost{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;padding:10px;border:1px solid #425971;border-radius:5px;font-size:12px}.mythic-cost button{background:none;border:none;color:inherit;text-align:left;max-width:65%;font-size:inherit}.mythic-cost b{white-space:nowrap;font-size:11px}.mythic-cost.insufficient{opacity:.5;border-color:#666}.mythic-do{margin-top:12px}
.mythic-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;font-size:12px}.mythic-stats span{display:flex;justify-content:space-between;gap:5px}.mythic-stats small{grid-column:1/-1;line-height:1.5}
.mythic-picker-grid,.mythic-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mythic-catalog-card{min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px;border:1px solid #425971;border-radius:6px;background:#0d1420;padding:10px;text-align:center;font-size:11px;overflow-wrap:anywhere}.mythic-catalog-card img{width:88px;height:88px}.mythic-catalog-card b{font-size:12px}.mythic-job-tabs .btn{flex:none;width:auto;font-size:11px;padding:7px}.mythic-job-tabs .active{background:#33475e}.mythic-increase{width:100%;border-collapse:collapse;font-size:11px;margin-bottom:14px}.mythic-increase th,.mythic-increase td{border:1px solid #39495d;padding:6px;text-align:center}.mythic-pane select{background:#142134;color:#cae5ee;padding:6px;max-width:100%}
html.battle-first.mythic-craft-on .nav-bar{grid-template-columns:repeat(6,minmax(0,1fr))!important}html.battle-first.mythic-craft-on .nav-bar>.nav-item{min-width:0;font-size:clamp(9px,2.6vw,12px)!important;white-space:nowrap;padding-left:1px;padding-right:1px}
html.nav-screen.cos-force-mobile .mythic-pane{top:0!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;height:100%!important;max-height:none!important;transform:none!important;border-radius:0!important;border:0!important;padding-top:calc(20px + env(safe-area-inset-top))!important;padding-bottom:calc(20px + env(safe-area-inset-bottom))!important}
@media(min-width:769px){.mythic-pane{max-width:900px;left:50%;transform:translateX(-50%)}.mythic-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.mythic-result{max-width:560px;margin:auto}}

html.battle-first.mythic-craft-on .mythic-nav-icon{font-size:15px;line-height:18px}
.mythic-pane[style*="block"]{display:flex!important;flex-direction:column;overflow:hidden}
.mythic-pane>.nav-sub-head,.mythic-pane>.mythic-tabs{flex-shrink:0}
.mythic-job-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr;overflow:visible}
.mythic-job-tabs .btn{width:100%;min-width:0;min-height:48px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;white-space:normal;overflow-wrap:anywhere}
.mythic-enhance-control{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0;font-size:12px}
.mythic-enhance-control .col-fbtn{width:90px;flex-shrink:0}
#craft-mythic-body,#craft-fusion-body,#mythic-picker-body,#mythic-catalog-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
html.battle-first.nav-screen.cos-force-mobile .mythic-pane{bottom:calc(66px + env(safe-area-inset-bottom))!important;height:auto!important;padding-bottom:16px!important}
#disassemble-modal.mythic-disassemble{box-sizing:border-box;min-width:0!important;width:min(360px,92vw);padding:16px!important}
#disassemble-modal.mythic-disassemble #disassemble-preview{gap:8px!important;align-items:flex-start!important}
#disassemble-modal.mythic-disassemble #disassemble-img-box{box-sizing:border-box;width:64px!important;height:64px!important;margin:0!important}
#disassemble-modal.mythic-disassemble #disassemble-preview>div:nth-child(2){align-self:flex-start;margin-top:20px;font-size:18px!important}
#disassemble-modal.mythic-disassemble #disassemble-pile-box,#disassemble-modal.mythic-disassemble #disassemble-shard-range{display:none!important}
#mythic-disassemble-rewards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex:1;min-width:0;max-width:200px}
#mythic-disassemble-rewards[hidden]{display:none}
.mythic-disassemble-reward{min-width:0;display:flex;flex-direction:column;align-items:center;gap:5px;color:#cae5ee;font-size:11px;line-height:1.4;text-align:center;overflow-wrap:anywhere}
.mythic-reward-slot{position:relative;box-sizing:border-box;width:64px;height:64px;display:flex;align-items:center;justify-content:center;background:#0d1420;border:2px solid #cae5ee;border-radius:8px;flex:none}
.mythic-reward-slot img{width:82%;height:82%;object-fit:contain}.mythic-shard-slot{border-color:#9b59b6;background:#0a0a14}
.mythic-reward-quantity{font-variant-numeric:tabular-nums}
.mythic-shard-amount{color:#c993d8;font-size:11px;font-variant-numeric:tabular-nums}

.mythic-catalog-stats{width:100%;text-align:left;line-height:1.6;overflow-wrap:anywhere}
.mythic-picker-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:6px}
