#game :is(#worldBossAlert,#marsRaidAlert){pointer-events:auto;width:100%;max-width:235px;margin:3px 0;padding:5px 7px;display:flex;align-items:center;gap:6px;background:#461c24eb;border:1px solid #e0a04d;color:#ffe0b8;border-radius:6px;text-align:left;line-height:1.35;min-height:35px}
#game :is(#worldBossAlert,#marsRaidAlert)[hidden]{display:none}:is(#worldBossAlert,#marsRaidAlert)>span:first-child{font-size:19px;color:#ffc566}:is(#worldBossAlert,#marsRaidAlert) strong{display:block;font-size:11px}:is(#worldBossAlert,#marsRaidAlert) small{display:block;font-size:10px;color:#ffc3b3}#game :is(#worldBossAlert,#marsRaidAlert).alive{border-color:#ff7963;background:#611e2bef}
#game .atlasTabs [role=group]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}#game .atlasTabs [data-atlas-mode]{min-width:0;white-space:normal;padding:6px 3px}#game .atlasTabs [data-atlas-mode] b{font-size:11px}#game .atlasTabs [data-atlas-mode=world][aria-pressed=true]{background:#672936;color:#fff1d4;border-color:#edb67a}
.worldBossCard{display:grid;grid-template-columns:minmax(100px,35%) minmax(0,1fr);gap:12px;padding:10px;overflow:auto;min-height:0}.worldBossCard>img{width:100%;height:100%;max-height:420px;object-fit:cover;border-radius:7px}.worldBossCard h3{font-size:17px;margin:8px 0}.worldBossCard p{font-size:12px;line-height:1.55}.worldBossCard button{display:block;width:100%;margin:6px 0;min-height:36px;font-size:12px}.worldBossCard strong{color:#a1efdd}
@media(max-width:480px){.worldBossCard{grid-template-columns:1fr;gap:5px;padding:7px}.worldBossCard>img{height:110px;object-position:center 45%}.worldBossCard p{margin:7px 0}.worldBossCard h3{font-size:15px}.worldBossPanel{max-height:100%;overflow:auto}}

#game .jadeResultOverlay{position:absolute;inset:0;z-index:260;background:#070b16bb;display:flex;align-items:center;justify-content:center;padding:12px;box-sizing:border-box;pointer-events:auto}
#game .jadeResultDialog{width:min(650px,100%);max-height:min(780px,94%);display:flex;flex-direction:column;min-height:0;overflow:hidden;background:#101d2b;color:#e8edf2;border:1px solid #bc9b59;border-radius:14px;box-shadow:0 12px 55px #0009;font-size:13px;line-height:1.45}
#game .jadeResultDialog header{height:auto;min-height:0;width:auto;inset:auto;display:block;position:static;padding:17px 18px 12px;background:linear-gradient(120deg,#24313f,#172332);text-align:center;flex:none}
#game .jadeResultDialog header small{color:#dfbb6f;font-size:11px}#game .jadeResultDialog h2{margin:3px 0 6px;font-size:23px;color:#ffdf96}#game .jadeResultDialog p{margin:0;color:#c0cddd;font-size:12px}
#game .jadeResultSpecial{display:flex;align-items:center;gap:10px;margin:12px 14px 8px;padding:10px;background:#1f2c3d;border:1px solid #415069;border-radius:8px;flex:none}#game .jadeResultSpecial.winner{background:#322b1e;border-color:#ae914a}#game .jadeResultSpecial>span{flex:none}#game .jadeResultSpecial div{min-width:0}#game .jadeResultSpecial b,#game .jadeResultSpecial span{display:block}#game .jadeResultSpecial strong{color:#ffda79;overflow-wrap:anywhere}
#game .jadeResultSelf{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:5px 14px 11px;color:#a7e6df;flex:none}#game .jadeResultSelf span{font-size:12px;text-align:right}
#game .jadeResultScroll{min-height:0;overflow:auto;overscroll-behavior:contain;margin:0 14px;flex:1 1 auto;scrollbar-gutter:stable}#game .jadeResultDialog table{table-layout:fixed;width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}#game .jadeResultDialog th{position:sticky;top:0;background:#1d3043;color:#d7dfeb;font-size:11px;text-align:left;padding:9px 7px}#game .jadeResultDialog th:first-child{width:40%}#game .jadeResultDialog th:nth-child(2){width:30%}#game .jadeResultDialog td{padding:10px 7px;border-bottom:1px solid #344355;overflow-wrap:anywhere;vertical-align:middle}#game .jadeResultDialog td small{display:block;color:#aabdd0;font-size:11px}#game .jadeResultDialog tr.self{background:#244339}#game .jadeRank{display:inline-block;min-width:20px;color:#e9c26c;font-weight:800;margin-right:5px}#game .jadeResultDialog .jadeDiamonds{color:#80cdfb}#game .jadeResultDialog .jadeManual{color:#ffda79}#game .jadeResultDialog footer{position:static;background:none;padding:12px 14px;flex:none}#game .jadeResultDialog footer p{font-size:11px;line-height:1.5}#game .jadeResultDialog footer>div{display:flex;gap:8px;margin-top:10px}#game .jadeResultDialog button{min-height:38px;padding:8px 12px;background:#2b3c4e;color:#fff;border:1px solid #5b7087;border-radius:6px;font-weight:700;font-size:13px}#game .jadeResultDialog footer button{flex:1}#game .jadeResultDialog [data-jade-mail]{background:#745824;border-color:#ccaa60;color:#fff2cf}#game .jadeResultPages{display:flex;justify-content:center;align-items:center;gap:14px;padding:8px 14px 0;flex:none}#game .jadeResultDialog button:disabled{opacity:.4}#game .jadeResultDialog .jadeResultError{color:#ffb4ac;margin-bottom:7px}
.gradeCollectionRewards{padding:10px;border:1px solid #b8a57377;border-radius:8px;margin:10px 0;background:#222b35}.gradeCollectionRewards h3{margin:0 0 5px;font-size:15px;color:#ffdea1}.gradeCollectionRewards>p{font-size:11px;line-height:1.5;color:#c5d1df;margin:0 0 8px}.gradeCollectionRewards article{display:flex;align-items:center;gap:8px;padding:9px 7px;margin-top:5px;border:1px solid #c7a34b;border-radius:6px;background:#302c20}.gradeCollectionRewards article.mythic{border-color:#eb767d;background:#32242e}.gradeCollectionRewards article>div{min-width:0;flex:1}.gradeCollectionRewards strong,.gradeCollectionRewards small{display:block}.gradeCollectionRewards strong{font-size:13px;overflow-wrap:anywhere}.gradeCollectionRewards small{font-size:11px;color:#d0c6b8;margin-top:3px}.gradeCollectionRewards button{flex:none;font-size:12px;padding:7px 10px;min-height:36px}.gradeCollectionIcon{flex:none;width:30px;height:30px;overflow:hidden}.gradeCollectionRewards .claimed{opacity:.65}
@media(max-width:430px){#game .jadeResultOverlay{padding:8px}#game .jadeResultDialog{max-height:96%;font-size:11px}#game .jadeResultDialog header{padding:12px 10px 9px}#game .jadeResultDialog h2{font-size:20px}#game .jadeResultSpecial{margin:8px;padding:8px;font-size:11px}#game .jadeResultSelf{padding:5px 9px 8px}#game .jadeResultSelf span{font-size:10px}#game .jadeResultScroll{margin:0 7px}#game .jadeResultDialog td{padding:9px 5px}#game .jadeResultDialog th{padding:7px 5px;font-size:10px}#game .jadeResultDialog footer{padding:9px}#game .jadeResultDialog footer p{font-size:10px}.gradeCollectionRewards article{gap:5px}.gradeCollectionRewards button{font-size:11px;padding:6px}.gradeCollectionRewards strong{font-size:12px}}
.gradeCollectionIcon .artIcon{width:30px;height:30px;min-width:30px;min-height:30px;display:block}

/* Offline hunting uses the same bounded result overlay as raid reports. */
#game .offlineHuntDialog{width:480px;max-width:100%}
#game .offlineHuntTotals{display:grid;grid-template-columns:1fr;gap:6px;padding:12px 16px;flex:none}
#game .offlineHuntTotals>span{display:flex;align-items:center;gap:7px;min-width:0}
#game .offlineHuntTotals b{margin-left:auto;color:#f5d895;font-variant-numeric:tabular-nums}
#game .offlineHuntDialog svg{width:28px;height:28px;flex:none}
#game .offlineHuntItems{min-height:40px;max-height:40vh}
#game .offlineHuntItems>div{display:flex;gap:8px;align-items:center;padding:7px 0;border-bottom:1px solid #344355}
#game .offlineHuntItems>div>span:not(.artIcon){flex:1;min-width:0;overflow-wrap:anywhere}
#game .offlineHuntItems b{flex:none}
#game .offlineHuntItems .artIcon{width:32px;height:32px;min-width:32px;flex:0 0 32px}
#game .offlineHuntDialog [data-offline-status]{color:#ffbd9d;margin-top:6px}
@media(max-width:430px){#game .offlineHuntTotals{padding:8px 10px;font-size:12px}#game .offlineHuntDialog header h2{font-size:18px}}

#game .bagSortBar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:4px 0 7px;font-size:12px}#game .bagSortBar select{width:auto;max-width:130px;min-width:0;font-size:16px;padding:4px 6px}#game .bagSortBar small{font-size:11px;opacity:.8}#game .foreignGearMark{position:absolute;left:3px;top:3px;font-size:10px;line-height:1.3;background:#243d4be6;color:#e1f0ff;padding:2px 3px;border-radius:3px}#game .rewardChip .mailEnhance{position:absolute;top:1px;left:2px;font-size:12px;font-style:normal;font-weight:800;color:#fff0ad;background:#2c251bdc;border-radius:3px;padding:1px 3px}#game .gearFilters{flex-wrap:wrap}#game .gearFilters button{white-space:nowrap;min-width:42px}

/* Mars event card: opaque reading surface, compact four destination tabs. */
#game .atlasTabs [role=group]{grid-template-columns:repeat(4,minmax(0,1fr))}
#game .atlasTabs [data-atlas-mode=mars][aria-pressed=true]{background:#673626;color:#fff0cf;border-color:#edac7a}
#game .marsRaidPanel .worldBossCard{background:#143b2e;border:1px solid #56745b;border-radius:8px}
#game .marsEventDates{font-size:11px;line-height:1.5;margin:6px 0;overflow-wrap:anywhere}
@media(max-width:600px){#game .marsRaidPanel .worldBossCard{grid-template-columns:1fr;gap:5px;padding:8px}#game .marsRaidPanel .worldBossCard>img{height:125px;object-position:center 53%}#game .marsRaidPanel .worldBossCard p{line-height:1.55;margin:7px 0}#game .marsRaidPanel .worldBossCard h3{font-size:15px;margin:5px 0}}
@media(max-width:360px){#game .atlasTabs [role=group]{grid-template-columns:repeat(2,minmax(0,1fr))}}
