/* Original pane proportions; all content stays inside the game viewport. */
.original-collection{width:min(760px,calc(var(--stage-width) - 24px));height:min(740px,calc(var(--stage-height) - 24px));overflow:hidden}
.original-collection[open]{display:flex;flex-direction:column}.original-collection>.dialog-header{flex:none;min-height:32px;padding:5px 10px}.collection-body{flex:1;min-height:0;display:flex;flex-direction:column;padding:8px;overflow:hidden}.collection-tabs{flex:none;margin-bottom:6px}.collection-grid:not(.collection-shop){flex:1;min-height:0;grid-template-rows:repeat(6,minmax(0,1fr));gap:4px}.original-collection[data-collection=relics] .collection-grid:not(.collection-shop){grid-template-rows:repeat(5,minmax(0,1fr))}.collection-grid .collection-card{aspect-ratio:auto;height:100%;min-height:0;border-radius:0}.collection-card img{display:block;min-height:0}.collection-draws{flex:none;flex-wrap:nowrap;gap:5px;margin-top:6px;height:84px}.collection-draws button{font-size:9px;flex:1;max-width:none;padding:3px;min-width:0}.collection-draws img{width:24px;height:35px}.collection-note{flex:none;margin:4px 0 0;font-size:10px}
.original-collection[data-collection=raid],.original-collection[data-collection=titles]{height:auto;max-height:calc(var(--stage-height) - 24px)}
#source-panel[data-menu=quests],#source-panel[data-menu=benefits],#source-panel[data-menu=points],#source-panel[data-menu=craft]{height:auto;min-height:0;max-height:none;max-width:none;overflow:visible;left:calc(var(--stage-width)/2)!important;top:calc(var(--stage-height)/2)!important;margin:0;transform:translate(-50%,-50%) scale(var(--compact-scale,1));transform-origin:center}
#source-panel[data-menu=quests]{width:610px}#source-panel[data-menu=benefits]{width:570px}#source-panel[data-menu=points]{width:570px}#source-panel[data-menu=craft]{width:920px}
#source-panel:is([data-menu=quests],[data-menu=benefits],[data-menu=points],[data-menu=craft])>.dialog-header{height:30px;min-height:30px;padding:4px 9px}#source-panel:is([data-menu=quests],[data-menu=benefits],[data-menu=points],[data-menu=craft]) h2{font-size:13px}#source-panel-tabs:empty{display:none}
#source-panel .quest-journal{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px;overflow:visible}#source-panel .quest-journal h3{font-size:13px;padding:0 0 7px;margin:0 0 8px}.quest-journal .achievement-card,.quest-journal .daily-card{padding:8px;margin-bottom:8px}.quest-journal .journal-heading{gap:6px;flex-wrap:nowrap}.quest-journal .journal-heading img{width:25px;height:25px}.quest-journal .journal-heading strong{font-size:11px;line-height:1.3}.quest-journal .menu-stat-line{font-size:10px;padding:2px 0;line-height:15px}.quest-journal .menu-progress{height:4px;margin:5px 0}.quest-journal .quest-status{display:none}.quest-journal .quest-rewards{margin-top:5px;gap:4px;flex-direction:column}.quest-journal .reward-chip{border:0;background:transparent;padding:0;font-size:10px;line-height:13px}.quest-journal .reward-chip img{width:18px;height:18px}.quest-journal .daily-card{min-height:73px}.quest-journal .achievement-card:last-child,.quest-journal .daily-card:last-child{margin-bottom:0}
.original-craft{display:grid!important;grid-template-columns:680px 200px;gap:16px;padding:12px!important;overflow:visible!important}.craft-formulas{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:70px;gap:4px 20px;min-height:292px}.craft-formula{display:flex;align-items:center;justify-content:flex-start;gap:2px;min-width:0}.craft-formula>b{font-size:12px;font-weight:400;color:#e6d773}.craft-ingredient img{width:31px;height:31px;border:1px solid #9f9c91;background:#000;object-fit:contain;display:block}.craft-result{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:0;background:none;padding:0;font-size:11px;color:#ede92b;min-width:52px}.craft-result img{width:40px;height:40px;object-fit:contain;border:1px solid #b3b09b;background:#050505}.craft-result span{max-width:94px;line-height:14px}.craft-formula>.craft-result{position:relative}.craft-formula>.craft-result span{position:absolute;top:42px;width:112px;max-width:112px;text-align:center}.craft-pages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;height:68px}.craft-random-slot{display:flex;align-items:center;justify-content:center;min-width:0;height:100%}.craft-pages nav{display:flex;gap:14px;justify-self:center}.craft-pages nav button{background:none;border:0;font:bold italic 26px Georgia;color:#8cc8ff;padding:0 4px;text-shadow:0 0 7px #7bbce0}.craft-pages nav button[aria-pressed=true]{color:#fff}.craft-main>h3{border:0!important;text-align:center;font-size:12px!important;padding:4px!important;margin:5px!important}.craft-owned{display:grid;grid-template-columns:repeat(10,1fr);gap:7px;padding:8px}.craft-owned>div{display:flex;flex-direction:column;align-items:center;gap:2px;color:#eeeb42;font-size:11px}.craft-owned img{width:33px;height:33px;object-fit:contain;border:1px solid #a5a494}.craft-tickets{border-left:1px solid #7d7b73;padding-left:10px}.craft-tickets h3{font-size:12px!important;text-align:center}.ticket-balance{display:flex;align-items:center;gap:6px;padding:8px 0;color:#e6dc4e;font-size:11px;border-bottom:1px solid #383838}.ticket-balance img{width:32px;height:32px;object-fit:contain}.ticket-recipes{display:grid;grid-template-columns:repeat(3,1fr);gap:10px 4px;padding-top:10px}.ticket-recipes .craft-result{min-width:0;font-size:9px}.ticket-recipes img{width:29px;height:29px}.ticket-recipes span{line-height:12px}
.original-benefits{display:grid!important;grid-template-columns:100px 1fr;gap:12px;padding:12px!important;overflow:visible!important}.benefit-tiers{display:flex;flex-direction:column;gap:7px}.benefit-tiers button{height:34px;border:1px solid #72858d;background:linear-gradient(#243f47,#141218);color:#78df79;font-size:11px}.benefit-tiers button[aria-pressed=true]{border-color:#e9d666;color:#fff15a}.benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px 8px}.benefit-card{position:relative;text-align:center;padding-top:22px}.benefit-card>img{position:absolute;width:38px;height:38px;left:calc(50% - 19px);top:0;object-fit:contain}.benefit-card p{white-space:pre-line;font-size:10px;line-height:13px;min-height:183px;margin:0!important;padding:19px 3px 5px;background:linear-gradient(#267c8999,#101117 35%,#272733);border:1px solid #647078}.point-shop-link{display:flex;flex-direction:column;align-items:center;margin:10px auto 0;padding:0;border:0;background:transparent;color:#ede52e;font-size:12px}.point-shop-link img{width:34px;height:34px;object-fit:contain}.benefit-tier-note{display:block;text-align:center;margin-top:5px;font-size:10px;color:#aaa}
.original-points{padding:14px!important;overflow:visible!important}.point-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px 8px}.point-offer{display:flex;flex-direction:column;align-items:center;padding:0;border:0;background:none;color:#eee;gap:7px;min-width:0}.point-offer img{width:38px;height:38px;object-fit:contain;border:1px solid #aaa}.point-offer>span{white-space:pre-line;background:linear-gradient(#224a55,#1c1c25 45%);border:1px solid #65747a;font-size:10px;line-height:13px;padding:9px 3px;width:100%;min-height:86px}.point-offer[data-point-id='111']{grid-column:4/6;grid-row:3;justify-self:center;width:110px}.point-balance{grid-column:2/4;grid-row:3;white-space:pre-line;text-align:center;margin:0!important;align-self:center;padding:15px 8px!important;background:linear-gradient(#224a55,#1c1c25 45%);border:1px solid #65747a;font-size:11px!important;line-height:16px}
#settings{width:148px!important;height:auto!important;right:auto!important;bottom:auto!important;min-height:0;max-height:none;padding:5px!important;margin:0;left:var(--settings-left,60vw)!important;top:var(--settings-top,60vh)!important;transform:translate(-50%,-100%)!important;overflow:visible}#settings .dialog-header{height:20px;min-height:20px;padding:0;border:0;background:none!important;justify-content:flex-end}#settings .dialog-header h2{display:none}#settings .dialog-header button{width:20px;height:20px;font-size:16px}#source-settings{display:grid!important;grid-template-columns:repeat(3,36px);gap:7px;justify-content:center;margin:5px 0}#source-settings .menu-icon-row{padding:2px!important;width:36px;height:36px!important;min-height:0!important;border-radius:0;background:#030303;border:1px solid #90908a;position:relative}#source-settings .menu-icon-row>img{width:30px;height:30px}#source-settings .menu-icon-row>span{display:none}#source-settings button[aria-pressed=true]:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:#68d96a}#settings .potion-setting{margin:7px 0 0!important;padding:4px;border:0!important;font-size:10px}#settings .potion-setting[open]{width:225px;background:#111!important;border:1px solid #777!important;position:absolute;bottom:0;right:calc(100% + 5px);padding:9px}#settings .potion-setting p,#settings .potion-setting label{font-size:10px;line-height:1.4}#settings #potion{width:100%}#settings #potion-shop{font-size:10px}#settings .text-button{font-size:9px;margin:3px 0 0;padding:3px 5px;display:inline-block}#settings::backdrop{background:transparent}
#bag,#bag.with-storage{width:640px!important;height:auto!important;max-height:none!important;max-width:none!important;left:calc(var(--stage-width)/2)!important;top:calc(var(--stage-height)/2)!important;transform:translate(-50%,-50%) scale(var(--compact-scale,1))!important;overflow:visible!important;margin:0!important;padding:0!important}#bag.with-storage{width:908px!important;background-size:640px 100%;background-color:transparent;border:0;box-shadow:none}#bag>.dialog-header{position:relative!important;height:27px!important;min-height:27px;padding:2px 7px;width:640px!important}#bag>.dialog-header h2{font-size:12px}#bag>.dialog-header button{width:23px;height:23px}#bag #inventory-tools{width:640px;position:relative;z-index:3}#bag .bag-source-layout{width:620px!important;height:432px!important;aspect-ratio:auto!important;margin:0 10px!important}#bag .bag-source-layout #stats{padding:6px!important;justify-content:flex-start!important}#bag .bag-source-layout #stats>div{font-size:10px!important;line-height:14px!important;padding:1px 0!important}#bag .bag-source-layout #stats strong{font-size:11px!important;line-height:14px!important}#bag .bag-source-layout #stats>div:first-child{padding-bottom:4px!important;margin-bottom:4px!important}#bag .bag-source-layout #stats>div:nth-child(8),#bag .bag-source-layout #stats>div:nth-child(11),#bag .bag-source-layout #stats>div:nth-child(14){margin-top:5px!important}#bag .inventory-dismantle-inline{padding-top:4px}.dismantle-inline-heading small{display:none}#bag .dismantle-inline-button,#bag .dismantle-selection-submit{height:21px;font-size:9px}#bag .dismantle-inline-button img{display:none}#bag .bag-original-footer{width:640px!important;padding:2px 10px 7px!important}#bag .bag-original-footer .bag-help{width:280px!important;margin:0 0 3px 330px!important;font-size:8px;line-height:1.3}#bag .auto-salvage{margin:2px 0 0 330px!important;padding:2px;width:280px}#bag .auto-salvage>strong{font-size:9px}#bag .auto-salvage>button{font-size:9px}#bag .auto-salvage i{font-size:22px;line-height:22px}
#bag .source-storage-extension{position:absolute!important;left:648px!important;top:90px!important;width:258px!important;margin:0!important;padding:6px}#bag .storage-side-grid{grid-template-columns:repeat(6,1fr)!important;gap:3px}#bag .storage-side-grid .slot{height:37px!important;min-height:0!important;width:auto!important}#bag .storage-extension-heading{font-size:11px;margin-bottom:5px}#bag .source-storage-extension nav button{font-size:10px;padding:4px 2px}.storage-help{font-size:9px;line-height:1.3}
#source-shortcuts{grid-template-columns:repeat(4,34px)!important;width:148px!important;gap:3px!important}#source-shortcuts button{width:34px!important}#hud-upgrade{grid-column:2!important;grid-row:1}#hud-benefits{grid-column:1;grid-row:2}#hud-storage{grid-column:1!important;grid-row:1}#hud-cards{grid-column:3!important}#hud-relics{grid-column:4!important}#source-shortcuts img{width:30px!important;height:30px}#hud-cards img,#hud-relics img{height:55px!important}

#bag.with-storage{background-position:left top!important}
#source-panel[data-menu=quests]{width:610px}
#source-panel .quest-journal{gap:10px;padding:10px}
#source-panel .quest-journal .menu-stat-line{min-height:0;height:17px;font-size:11px;line-height:16px;padding:0;border:0}
#source-panel .quest-journal .journal-heading{min-height:22px;margin-bottom:4px;padding:0}
#source-panel .quest-journal .journal-heading img{width:22px;height:22px}
#source-panel .quest-journal .journal-heading strong{font-size:11px}
#source-panel .quest-journal .menu-progress{height:3px;margin:3px 0}
#source-panel .quest-journal .quest-rewards{display:flex;flex-direction:row;flex-wrap:wrap;margin-top:4px;gap:3px}
#source-panel .quest-journal .reward-chip{font-size:10px;line-height:14px;min-height:0}
#source-panel .quest-journal .reward-chip img{width:14px;height:14px}
#source-panel .quest-journal .achievement-card,#source-panel .quest-journal .daily-card{padding:7px;margin-bottom:7px}
#source-panel .quest-journal .daily-card{min-height:71px}
#source-panel .benefit-tiers{padding:0;min-width:0}
#source-panel .benefit-tiers button{padding:4px;width:100px;white-space:nowrap;font-size:10px;background:linear-gradient(#243f47,#141218);color:#78df79;border:1px solid #72858d}
#settings-links{display:flex;gap:3px;justify-content:center;margin-top:4px}
#settings #settings-links button{position:static!important;display:block!important;inset:auto!important;transform:none!important;margin:0!important;padding:3px!important;font-size:8px!important;width:auto!important;height:auto!important}
.craft-owned{grid-template-columns:repeat(9,1fr)}.craft-material-actions{display:flex;gap:24px;padding:3px 16px 0}.craft-material-actions .craft-result{font-size:9px}.craft-material-actions img{width:26px;height:26px}.craft-material-actions span{max-width:100px;line-height:11px}
.benefit-tier-note{white-space:pre-line}.vip-detail{position:absolute;inset:45px 25px 25px;background:#070808f7;border:1px solid #a7a495;padding:20px;display:grid;place-content:center}.vip-detail p{white-space:pre-line;font-size:12px!important;line-height:1.5}.vip-detail>button{position:absolute;right:5px;top:5px;width:24px;height:24px;padding:0}

/* Readability pass: slightly larger inventory, consistent Korean type and clearer numbers. */
#bag,#source-panel,#settings,.original-collection,.original-enchant{font-family:"Malgun Gothic","맑은 고딕","Apple SD Gothic Neo",sans-serif;letter-spacing:0;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
#bag,#bag.with-storage{width:704px!important}#bag.with-storage{width:996px!important;background-size:704px 100%}
#bag>.dialog-header{width:704px!important;height:30px!important;min-height:30px;padding:3px 8px}#bag>.dialog-header h2{font-size:14px;font-weight:600}
#bag #inventory-tools{width:704px}#bag .bag-source-layout{width:684px!important;height:476px!important}
#bag .bag-source-layout #stats{padding:7px 8px!important}
#bag .bag-source-layout #stats>div{font-size:12px!important;line-height:17px!important;padding:1px 0!important;font-weight:400;color:#ededeb!important}
#bag .bag-source-layout #stats strong{font-size:13px!important;line-height:17px!important;font-weight:600;font-variant-numeric:tabular-nums}
#bag .bag-source-layout #stats>div:first-child{font-size:13px!important;padding-bottom:5px!important;margin-bottom:4px!important}
#bag .bag-source-layout #stats>div:first-child strong{font-size:14px!important}
#bag .bag-source-layout #stats>div:nth-child(8),#bag .bag-source-layout #stats>div:nth-child(11),#bag .bag-source-layout #stats>div:nth-child(14){margin-top:5px!important}
#bag .inventory-dismantle-inline{top:83%;padding-top:5px}#bag .dismantle-inline-heading{margin-bottom:5px}
#bag .dismantle-inline-heading strong,#bag .dismantle-inline-heading label{font-size:11px;font-weight:500}
#bag .dismantle-inline-button,#bag .dismantle-selection-submit{height:24px;font-size:11px;font-weight:500;line-height:16px}
#bag .bag-original-footer{width:704px!important;padding:5px 10px 9px!important}
#bag .bag-original-footer .bag-help{width:308px!important;margin:0 0 5px 366px!important;font-size:9.5px;line-height:1.4;font-weight:400;color:#d4d2c9}
#bag .auto-salvage{margin:3px 0 0 366px!important;width:308px;padding:4px}
#bag .auto-salvage>strong{font-size:10.5px;line-height:16px;font-weight:600}#bag .auto-salvage>button{font-size:10.5px;line-height:14px;font-weight:500}#bag .auto-salvage i{font-size:24px;line-height:25px}
#bag .source-storage-extension{left:712px!important;top:96px!important;width:282px!important;padding:7px}
#bag .storage-side-grid .slot{height:40px!important}#bag .storage-extension-heading{font-size:12px;font-weight:600}
#bag .source-storage-extension nav button{font-size:11px;padding:5px 2px;font-weight:500}#bag .storage-help{font-size:10.5px;line-height:1.45;color:#ddd}
#bag .slot small{font-size:10px!important;font-weight:500;font-variant-numeric:tabular-nums}
#source-panel .journal-heading strong,#source-panel .menu-stat-line strong{font-weight:600}.collection-draws button{font-weight:500}.benefit-card p,.point-offer>span{font-weight:400;font-size:11px;line-height:1.4}.craft-result,.ticket-balance{font-size:12px}.craft-owned>div{font-size:12px;font-variant-numeric:tabular-nums}

/* Original disassembly icon opens Menu[8]; it does not fill the bag footer. */
#bag .source-dismantle-launch{position:absolute;left:89%;top:84%;width:50px;height:60px;padding:0;border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:2px;color:#f0e92e;font-size:12px}
#bag .source-dismantle-launch img{width:43px;height:43px;object-fit:contain;border:1px solid #c2b847;background:#050505}
#bag .bag-source-layout .bag-help{position:absolute!important;left:53%!important;top:83.5%!important;width:34%!important;margin:0!important;font-size:10px;line-height:1.35;text-align:center;font-weight:400;white-space:normal}
#bag .bag-original-footer{padding-top:0!important}#bag .bag-original-footer .auto-salvage{margin-top:0!important}
#bag .source-dismantle-popup{position:absolute;left:35px;top:38px;width:242px;height:430px;z-index:15;padding:9px;background:#080b0ff7 var(--source-panel-art) center/cover;border:1px solid #929d9e;box-shadow:0 5px 18px #0009;font-size:12px;color:#eee}
#bag .source-dismantle-popup[hidden]{display:none!important}.source-dismantle-popup .dismantle-inline-heading{display:flex;justify-content:space-between;align-items:center}.source-dismantle-popup .dismantle-inline-heading button{width:24px;height:24px;padding:0;background:#34221a;border:1px solid #999}.source-dismantle-popup .dismantle-warning{font-size:10px;color:#bfbfb6}.source-dismantle-popup .dismantle-selection-info{height:65px;white-space:pre-line;margin:12px 0;font-size:12px;line-height:1.5;color:#e7dfb2}
#bag .source-dismantle-popup>.dismantle-selection-submit{width:100%;height:37px;font-size:13px;margin-bottom:14px;border:1px solid #a6a486;background:linear-gradient(#303c40,#0c1013)}
.source-dismantle-popup .dismantle-grade-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px 5px}.source-dismantle-popup .dismantle-option-row{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-bottom:14px}
#bag .source-dismantle-popup .dismantle-grade-row button{display:flex;flex-direction:column;height:61px;font-size:11px;padding:2px;gap:2px}#bag .source-dismantle-popup .dismantle-grade-row button img{display:block;width:30px;height:30px}#bag .source-dismantle-popup .dismantle-option-row button{height:32px;font-size:11px}
/* Independent collection windows and the source shop overlay. */
.collection-footer{display:grid;grid-template-columns:250px 1fr;gap:12px;flex:none;padding-top:8px}.collection-explanation{align-self:end;background:linear-gradient(#17323cdd,#090b10dd);padding:8px;border:1px solid #52666d;min-height:100px}.collection-explanation strong{font-size:12px;color:#79e178}.collection-explanation p{white-space:pre-line;font-size:11px;line-height:1.4;margin:5px 0 0}
.collection-footer .collection-draws{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:85px 22px;gap:5px;height:112px;margin:0}
.collection-footer .collection-draws button{background:none;border:0;padding:0}.collection-draws .collection-draw img{height:62px;width:38px}.collection-draws .collection-draw>span,.collection-draws .collection-convert>span{display:none}.collection-draws .collection-draw strong{font-size:12px;color:#e8e332}.collection-draws .collection-convert{grid-row:2;width:24px;justify-self:center}.collection-convert img{width:22px;height:22px}.collection-convert[data-action-id='207']{grid-column:1}.collection-convert[data-action-id='208']{grid-column:2}.collection-convert[data-action-id='209']{grid-column:3}.collection-open-shop{grid-column:6;grid-row:1}.collection-open-shop img{width:38px;height:62px}.collection-open-shop span{color:#eceb28;font-size:11px}
.original-collection[data-collection=relics] .collection-footer{grid-template-columns:1fr 300px}.original-collection[data-collection=relics] .collection-draws{grid-template-columns:repeat(4,1fr);grid-template-rows:100px;height:100px}.original-collection[data-collection=relics] .collection-draw img{height:78px;width:48px}.collection-grid .collection-effects:focus-visible{outline:2px solid #f3df77;outline-offset:-2px}
.collection-grid .collection-card{border:0;background:transparent}.original-card-shop{position:absolute;inset:65px 4px 132px;display:grid;grid-template-columns:1.12fr repeat(4,1fr) 42px;gap:2px;padding:24px 5px 8px;background:linear-gradient(#1f6674ed,#07090df7 7%,#07090df7 96%,#262640ed);border:1px solid #8cb2b6;z-index:3}.card-shop-close{position:absolute;top:3px;right:4px;width:24px;height:24px;padding:0;background:#342019;border:1px solid #aaa;z-index:2}.card-shop-offer{min-width:0;border-right:1px solid #7a8496;text-align:center;overflow:hidden}.card-shop-offer>button{width:100%;height:102px;border:0;background:none;display:flex;flex-direction:column;align-items:center;padding:0;gap:2px;color:#eae725;font-size:10px}.card-shop-offer>button img{width:46px;height:74px;object-fit:contain}.card-shop-offer>button span{white-space:nowrap;font-size:10px}.card-shop-offer p{white-space:pre-line;font-size:10px;line-height:12px;margin:5px 0 0;color:#eee;text-align:left;word-break:keep-all;overflow-wrap:anywhere}.card-shop-resources{display:flex;flex-direction:column;justify-content:center;gap:14px}.card-shop-resources>div{display:flex;flex-direction:column;align-items:center;color:#e4e13c;font-size:11px}.card-shop-resources img{width:35px;height:35px;border:1px solid #a4aab3;object-fit:contain}
body[data-mode=game] button,body[data-mode=game] button *,body[data-mode=game] input,body[data-mode=game] summary{cursor:pointer!important}
/* Shift the main cluster gently right; reserve more air before the skill grid. */
@media(min-width:1001px){body[data-mode=game] #game-controls{grid-template-columns:230px 300px 112px 210px;column-gap:16px;justify-content:center;padding-left:76px;padding-right:16px}body[data-mode=game] #game-controls #skills{justify-self:end}#hero-special-menus{left:calc(50% - 480px)}}
#source-shortcuts{grid-template-columns:repeat(3,34px)!important;width:112px!important}#hud-upgrade{grid-column:1!important;grid-row:1}#hud-benefits{grid-column:1;grid-row:2}#hud-cards{grid-column:2!important}#hud-relics{grid-column:3!important}
@media(min-width:1001px) and (max-width:1200px){body[data-mode=game] #game-controls{grid-template-columns:200px 252px 112px 190px;column-gap:12px;padding-left:50px;padding-right:12px}#hero-special-menus{left:calc(50% - 420px)}}
@media(max-height:760px){.original-card-shop{inset:35px 3px 120px}.card-shop-offer p{font-size:9px;line-height:11px}.card-shop-offer>button{height:80px}.card-shop-offer>button img{height:56px;width:36px}.collection-footer{grid-template-columns:210px 1fr}.collection-explanation{font-size:10px}}

.card-shop-offer p{font-size:11.5px;line-height:14px}.card-shop-offer>button span{font-size:11px}@media(max-height:760px){.card-shop-offer p{font-size:10px;line-height:12px}}

/* Draw results stay near their cards; the collection behind remains visible. */
.collection-body.is-revealing>:not(.collection-reveal){opacity:.4;pointer-events:none}
.collection-body .collection-reveal{inset:auto;left:50%;top:50%;transform:translate(-50%,-50%);width:min(410px,calc(100% - 24px));height:auto;max-height:calc(100% - 16px);padding:18px 16px 14px;gap:14px;z-index:5;background:#0b0d0ff7;border:1px solid #a99b70;box-shadow:0 8px 24px #0009;outline:none}
.collection-body .collection-reveal[data-result-count="1"]{width:min(290px,calc(100% - 24px))}
.collection-reveal>strong{font-size:14px;line-height:1.3;text-align:center;color:#eee1af}
.collection-reveal .collection-results{display:grid;grid-template-columns:repeat(var(--result-count),minmax(0,1fr));width:100%;gap:12px;align-items:start}
.collection-results figure{margin:0;min-width:0;text-align:center}
.collection-reveal .collection-results img{display:block;width:100%;height:clamp(64px,calc(var(--stage-height) * .2),146px);object-fit:contain}
.collection-results figcaption{font-size:12px;line-height:1.3;color:#f0e8ce;margin-top:7px;overflow-wrap:anywhere}
.collection-result-actions{display:flex;justify-content:center;gap:10px;width:100%}
.collection-result-actions button{min-width:100px;min-height:34px;padding:7px 16px;border:1px solid #b4a576;background:linear-gradient(#30302a,#121513);color:#f1e5b9;font-size:13px;line-height:18px;white-space:nowrap}
.collection-result-actions button:focus-visible{outline:2px solid #f5e799;outline-offset:2px}
@media(max-height:540px){.collection-body .collection-reveal{padding:12px;gap:10px}.collection-results figcaption{font-size:11px;margin-top:4px}.collection-reveal .collection-results img{height:clamp(52px,calc(var(--stage-height) * .17),100px)}}

#bag .bag-source-layout #inventory-summary{top:10.7%!important;left:55%!important;width:43%!important;text-align:left;font-size:11px;color:#d0cdbb}

#source-panel:is([data-menu="inspect-character"],[data-menu="customization"]){height:auto;min-height:0;max-height:none;max-width:none;overflow:visible;left:calc(var(--stage-width)/2)!important;top:calc(var(--stage-height)/2)!important;margin:0;transform:translate(-50%,-50%) scale(var(--compact-scale,1));transform-origin:center}
#source-panel[data-menu="inspect-character"]{width:370px}
.original-character-inspection{display:block!important;padding:0!important;overflow:visible!important}
.inspection-paperdoll{position:relative;width:100%;aspect-ratio:370/575}
.inspection-slot{position:absolute;padding:2px;border:1px solid #8b8878;background:#070909}
.inspection-slot img{display:block;width:100%;height:100%;object-fit:contain}
.inspection-slot small{position:absolute;right:3px;bottom:1px;color:#eee349;font-size:11px}
.inspection-slot .lock{position:absolute;left:0;bottom:0;font-size:8px;color:#90c8ff}
.inspection-stats{position:absolute;left:24.7%;top:15.6%;width:60.8%;height:65.2%;font-size:11px;line-height:1.5;white-space:normal;color:#e6e6e6}
.inspection-stats>strong,.inspection-stats>small,.inspection-stats>b{display:block}
.inspection-stats>strong{font-size:13px;color:#f0e5b8}.inspection-stats>b{color:#f1eb3c;margin:5px 0}
#source-panel[data-menu="customization"]{width:600px}
.original-customization{display:block!important;padding:14px!important;overflow:visible!important}
.customization-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;color:#f0e5b8}
.customization-heading button{border:1px solid #77766d;background:#151919;color:#ddd;padding:5px 9px}
.customization-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px 12px}
.customization-grid[data-kind="aura"],.customization-grid[data-kind="wing"]{grid-template-columns:repeat(5,minmax(0,1fr))}
.customization-choice{min-width:0;display:flex;align-items:center;flex-direction:column;gap:4px;border:0;background:transparent;color:#ded9bf;padding:0;font-size:11px}
.customization-choice img{display:block;width:55px;height:55px;object-fit:contain;border:1px solid #85857c;background:#060707}
.customization-choice[aria-pressed="true"] img{outline:2px solid #e8d979;outline-offset:2px}
.customization-choice:disabled{opacity:.45}.customization-choice:focus-visible{outline:2px solid #e8d979}
.customization-grid.source-positioned{position:relative;display:block;width:100%}
.source-positioned .customization-choice{position:absolute}.source-positioned .customization-choice img{width:100%;height:100%}.source-positioned .customization-choice span{position:absolute;top:calc(100% + 2px);left:-20%;width:140%;font-size:10px;line-height:1.15;text-align:center}
.customization-status{font-size:11px;color:#c5c1b0;margin:14px 0 0!important}
.benefit-card[role="button"]{cursor:pointer}.benefit-card[role="button"]:focus-visible{outline:2px solid #e8d979;outline-offset:3px}

/* Original raid blessing bars are independent hover/focus controls, not purchases. */
.raid-blessing-effects{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 92px;gap:6px;margin-top:10px}.raid-blessing-effect{min-width:0;min-height:38px;padding:6px 4px;color:#8cffff;font-size:11px;line-height:1.4;background:linear-gradient(#17313a,#11171c);border:1px solid #4b6770}.raid-blessing-effect img{width:28px;height:28px;object-fit:contain;vertical-align:middle;margin-right:4px}.raid-blessing-effect:focus-visible{outline:2px solid #f3df77;outline-offset:1px}
