/* V34: continuous rewards, compact sticky navigation and image-corner stat badges. */
.resource-loot-v31{grid-column:1/-1;min-width:0;container-type:inline-size;container-name:lootrewards;border-top:1px solid #E3E7EF;padding-top:23px;color:#27374D}
.resource-loot-v31 *, .resource-loot-v31 *::before, .resource-loot-v31 *::after{box-sizing:border-box}
.loot-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;min-width:0}
.loot-heading h3{font-size:26px;line-height:1.2;letter-spacing:-.025em;margin:0;color:#25354D}
.loot-stage{display:flex;align-items:center;gap:10px;min-width:0;color:#63718A;font-size:15px}
.loot-stage>span{white-space:nowrap}
.loot-stage select{width:230px;max-width:100%;min-width:0;min-height:44px;border:1px solid #CCD5E5;background:#F8FAFD;color:#334B6D;font:inherit;font-size:16px;padding:8px 30px 8px 11px;border-radius:9px}
.loot-groups{position:sticky;top:var(--loot-dialog-head-height,80px);z-index:1;display:flex;gap:7px;flex-wrap:wrap;overflow:visible;max-width:100%;margin:0 0 15px;padding:8px 0 10px;background:#FFFFFFF5;border-bottom:1px solid #E4EAF2;backdrop-filter:blur(10px)}
.loot-group-select{display:none}
.loot-groups>button{display:flex;flex:0 1 auto;max-width:100%;align-items:center;justify-content:center;gap:8px;min-height:43px;min-width:0;padding:9px 13px;border:1px solid #DCE2EE;border-radius:9px;background:#F7F9FC;color:#596A83;font:inherit;font-size:15px;line-height:1.35;white-space:normal;cursor:pointer}
.loot-groups>button>b{font-size:15px;font-weight:600;background:#E9EDF5;min-width:21px;height:21px;display:grid;place-items:center;border-radius:6px;padding:0 4px}
.loot-groups>button[aria-current="location"]{color:#2D4CA8;border-color:#B3C3E5;background:#EBF0FC;box-shadow:inset 0 0 0 1px #B3C3E533}
.loot-groups>button[aria-current="location"]>b{background:#D9E3FA;color:#3153AF}
.loot-chance-note{display:flex;flex-wrap:wrap;gap:4px 9px;font-size:15px!important;line-height:1.5!important;margin:0 0 18px;color:#647791}
.loot-chance-note>strong{font-size:15px;font-weight:600;color:#405B7F;white-space:nowrap}
.loot-chance-note>span{min-width:0;word-break:normal;overflow-wrap:break-word}
.loot-sections{display:grid;gap:25px;min-width:0}
.loot-all-categories{display:grid;gap:32px;min-width:0}
.loot-category{min-width:0;scroll-margin-top:calc(var(--loot-dialog-head-height,80px) + var(--loot-navigation-height,66px) + 10px)}
.loot-category+.loot-category{padding-top:25px;border-top:1px solid #DFE6EF}
.loot-category-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 12px;margin-bottom:17px;min-width:0}
.loot-category-heading>h4{font-size:22px;font-weight:650;letter-spacing:-.02em;line-height:1.3;margin:0;color:#2D4361}
.loot-unlock-group{min-width:0}
.loot-unlock-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 12px;min-width:0;margin-bottom:12px;padding-bottom:9px;border-bottom:1px solid #E4EAF2}
.loot-unlock-heading>h5{font-size:18px;font-weight:600;line-height:1.4;color:#344E70;margin:0;word-break:normal;overflow-wrap:break-word}
.loot-group-note{font-size:15px!important;line-height:1.5!important;margin:0!important;color:#718198;min-width:0;word-break:normal;overflow-wrap:break-word}
.loot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;min-width:0;align-items:stretch}
.loot-item{display:flex;flex-direction:column;align-items:stretch;text-align:left;position:relative;min-width:0;padding:0;border:1px solid #DFE5EE;border-radius:13px;background:#FFF;color:inherit;font:inherit;overflow:hidden}
.loot-art-button{display:block;position:relative;width:100%;border:0;padding:0;background:transparent;color:inherit;font:inherit;cursor:zoom-in}
.loot-art-button:focus-visible{outline-offset:-3px!important}
.loot-art-button:hover .loot-art{background:#EAF0F7}
.loot-item-visual{position:relative;display:block;width:100%;flex:none;min-width:0}
.loot-image-badge{position:absolute;right:7px;bottom:7px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:4px 7px;min-height:27px;max-width:calc(100% - 14px);border:1px solid #FFFFFF90;border-radius:6px;background:#324B67EB;color:#FFF;box-shadow:0 1px 4px #263A5017;font-size:16px;line-height:1;white-space:nowrap}
.loot-image-badge>svg{width:17px;height:17px;display:block;flex:none}
.loot-image-badge>b{font-size:16px;font-weight:650}
.loot-quantity-badge{background:#FDFEFFED;color:#34506E;border-color:#D5DFEA}
.loot-badge-label{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.resource-loot-v31 button:focus-visible,.resource-loot-v31 select:focus-visible,.resource-loot-v31 summary:focus-visible{outline:3px solid #9FB8F0;outline-offset:2px}
.loot-art{display:flex;align-items:center;justify-content:center;gap:3px;width:100%;height:103px;padding:12px;background:linear-gradient(140deg,#F6F8FB,#EDF2F7);overflow:hidden;flex:none;min-width:0}
.loot-art>img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;object-position:center;filter:drop-shadow(0 4px 3px #273D5810)}
.loot-art-pool>img{width:30%;height:80%;object-fit:contain}
.loot-effect-art{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;color:#4C6690}
.loot-effect-art>b{font-size:42px;line-height:1.1;letter-spacing:-.035em;font-weight:650;color:#3D5D90}
.loot-effect-art>span{font-size:15px;line-height:1.3;font-weight:500;text-align:center}
.loot-effect-art>svg{width:54px;height:54px;display:block}
.loot-art-pending{font-size:15px;line-height:1.4;color:#7E8A9D;text-align:center}
.loot-item-copy{display:flex;flex-wrap:wrap;align-content:flex-start;align-items:center;gap:10px 8px;padding:12px 13px 13px;min-width:0;flex:1}
.loot-item-copy>strong{display:block;flex:0 0 100%;min-width:0;font-size:16px;line-height:1.4;font-weight:600;color:#273A54;word-break:normal;overflow-wrap:break-word}
.loot-item-info{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0;max-width:100%}
.loot-chances{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px 10px;min-width:0;max-width:100%;margin-left:auto;color:#47658C}
.loot-chance{display:inline-flex;flex-wrap:wrap;align-items:baseline;justify-content:flex-end;gap:3px 6px;min-width:0;max-width:100%}
.loot-chance>b{font-size:22px;line-height:1.2;font-weight:650;letter-spacing:-.025em;color:#31568A;white-space:nowrap}
.loot-chance>span{font-size:15px;line-height:1.4;word-break:normal;overflow-wrap:break-word}
.loot-chance-text>span{color:#526C8E}
.loot-stat{display:inline-flex;align-items:center;flex-wrap:nowrap;white-space:nowrap;column-gap:5px;row-gap:2px;font-size:15px;line-height:1.35;color:#426387;background:#EFF4FA;border-radius:5px;padding:3px 7px;max-width:100%;font-weight:500}
.loot-stat>b{font-weight:650;font-size:15px;white-space:nowrap;color:#2C4F7B}
.loot-variant{position:absolute;left:8px;top:8px;font-size:15px;line-height:1.3;font-weight:550;padding:3px 6px;border-radius:5px;background:#FFFFFFE8;color:#566D8F;border:1px solid #D9E2EF}
.loot-item-condition{display:block;font-size:15px;line-height:1.5;color:#6A788D;max-width:100%;word-break:normal;overflow-wrap:break-word}
.loot-item-open{display:none}
.loot-item-open>svg{width:100%;height:100%}
.loot-more{display:flex;align-items:center;justify-content:center;gap:17px;margin-top:17px;color:#7A879B;font-size:15px}
.loot-more>button{min-height:44px;padding:9px 17px;border:1px solid #D4DEED;border-radius:9px;background:#F5F8FD;color:#3656A0;font:inherit;font-size:16px;cursor:pointer}
.loot-complete{border-top:1px solid #E6EAF1;margin-top:20px}
.loot-complete>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 1px;min-height:48px;cursor:pointer;font-size:16px;line-height:1.4;font-weight:550;color:#4E6483;list-style:none}
.loot-complete>summary::-webkit-details-marker{display:none}
.loot-complete>summary>span{font-size:22px;font-weight:400}
.loot-complete[open]>summary>span{transform:rotate(45deg)}
.loot-complete-body{min-width:0;padding-bottom:6px}
.loot-exact-note{font-size:15px!important;line-height:1.55!important;color:#687B96;margin:12px 0 15px}
.loot-exact-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;border:1px solid #DDE4EE;border-radius:10px;overflow:hidden;font-size:15px;line-height:1.5;color:#5A6D87}
.loot-exact-table th,.loot-exact-table td{padding:12px;text-align:left;vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid #E5EAF2}
.loot-exact-table thead th{background:#EDF2F9;color:#3B5374;font-weight:600}
.loot-exact-table tbody th{background:#F7F9FC;font-weight:600;color:#3A4E6B}
.loot-exact-table tr:last-child th,.loot-exact-table tr:last-child td{border-bottom:0}
.loot-field-label{display:none}
.loot-pool{margin-top:13px;border:1px solid #E0E6EF;border-radius:10px;padding:0 12px;background:#FAFBFD}
.loot-pool>summary{font-size:16px;font-weight:550;line-height:1.5;min-height:46px;padding:12px 0;color:#445F83;cursor:pointer}
.loot-pool>.loot-exact-table{margin-bottom:12px}
.loot-notes{padding-left:19px;display:grid;gap:7px;font-size:15px;line-height:1.55;color:#6B7B93;margin:14px 0}
.loot-focus{min-width:0}
.loot-back{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:8px 0;margin:0 0 8px;background:none;border:0;color:#4564B1;font:inherit;font-size:16px;cursor:pointer}
.loot-focus-heading{display:grid;grid-template-columns:150px minmax(0,1fr);gap:24px;align-items:center;margin-bottom:19px;min-width:0}
.loot-focus-heading>div{min-width:0}
.loot-focus-heading h4{font-size:25px;line-height:1.25;letter-spacing:-.02em;font-weight:600;margin:0 0 11px;color:#2E4360;overflow-wrap:anywhere}
.loot-focus-heading .loot-art-large{height:150px;border:1px solid #E3E9F1;border-radius:14px;padding:17px}
.loot-focus-heading .loot-stat{font-size:16px;padding:5px 9px}
.loot-focus-heading .loot-stat>b{font-size:18px}
.loot-focus-preview{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
.loot-focus-preview .loot-art-large{height:245px}
.loot-values{display:grid;gap:0;margin:0;min-width:0;border-top:1px solid #E1E7F0}
.loot-values>div{display:grid;grid-template-columns:155px minmax(0,1fr);gap:22px;padding:13px 0;border-bottom:1px solid #E1E7F0}
.loot-values dt{font-size:16px;line-height:1.5;font-weight:600;color:#3F5878}
.loot-values dd{margin:0;font-size:16px;line-height:1.55;color:#5D6F88;overflow-wrap:anywhere}
.loot-focus-pool{margin-top:24px}
.loot-focus-pool h5{font-size:19px;line-height:1.4;margin:0 0 13px;color:#385171}
.loot-member-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;align-items:start}
.loot-member{min-width:0;border:1px solid #DFE6F0;border-radius:11px;overflow:hidden;background:#FFF}
.loot-member>summary{display:flex;flex-direction:column;gap:0;position:relative;cursor:pointer;list-style:none}
.loot-member>summary::-webkit-details-marker{display:none}
.loot-member>summary>.loot-art{height:90px}
.loot-member>summary>strong{font-size:15px;line-height:1.4;font-weight:550;padding:10px 24px 10px 11px;color:#3A506D;overflow-wrap:anywhere}
.loot-member>summary>span:last-child{position:absolute;right:10px;bottom:9px;color:#6B81A2;font-size:20px}
.loot-member[open]>summary>span:last-child{transform:rotate(45deg)}
.loot-member dl{display:grid;gap:10px;margin:0;padding:10px 11px 13px;border-top:1px solid #E3EAF2;background:#F8FAFD}
.loot-member dt{font-size:15px;line-height:1.4;color:#4C6589;font-weight:600;margin-bottom:3px}
.loot-member dd{font-size:15px;line-height:1.45;color:#64768F;margin:0;overflow-wrap:anywhere}
.loot-pending{background:#F5F7FB;border:1px solid #E0E6EF;border-radius:12px;padding:19px}
.loot-pending>strong{display:block;font-size:20px;line-height:1.4;font-weight:600;color:#3E5677}
.loot-pending>p{font-size:16px;line-height:1.55;color:#6B7C95;margin:8px 0 0}
.loot-pending .loot-complete{margin-top:14px}
#resource-loot-results{scroll-margin-top:105px}
@container lootrewards (max-width:870px){.loot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container lootrewards (max-width:650px){.loot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@container lootrewards (max-width:310px){.loot-grid{grid-template-columns:1fr}}
@container site (max-width:900px){.loot-member-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.loot-stage{display:grid;gap:5px}.loot-stage select{width:215px}}
@container site (max-width:720px){
 .resource-loot-v31{padding-top:19px}
 .loot-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:14px}
 .loot-heading h3{font-size:24px}
 .loot-stage{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;width:100%;font-size:15px}
 .loot-stage select{width:100%;min-height:46px;font-size:16px;padding-right:24px}
 .loot-groups{display:block;margin-bottom:12px;padding-block:6px 8px}
 .loot-groups>button{display:none}
 .loot-group-select{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-width:0;padding:0 10px 0 12px;border:1px solid #bccbe4;border-radius:8px;background:#edf2fc;color:#3e557b}
 .loot-group-select>span{font-size:14px;font-weight:550;white-space:nowrap}
 .loot-group-select select{min-width:0;width:100%;min-height:46px;padding:8px 4px;border:0;background:transparent;color:#273f7d;font:inherit;font-size:16px;font-weight:650;cursor:pointer}
 .loot-group-select select:focus-visible{outline:3px solid #7995df;outline-offset:2px}
 .loot-groups>button{justify-content:space-between;min-height:42px;gap:6px;font-size:15px;padding:8px 10px;text-align:left}
 .loot-groups>button>span{min-width:0;white-space:nowrap}
 .loot-groups>button>b{flex:none;font-size:15px}
 .loot-member-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .loot-item{border-radius:11px}
 .loot-art{height:92px;padding:10px}
 .loot-item-copy{padding:11px 10px;gap:9px 6px}
 .loot-sections{gap:22px}
 .loot-all-categories{gap:26px}
 .loot-category+.loot-category{padding-top:20px}
 .loot-category-heading{margin-bottom:14px}
 .loot-category-heading>h4{font-size:21px}
 .loot-unlock-heading{gap:5px 9px;margin-bottom:10px}
 .loot-unlock-heading>h5{font-size:17px}
 .loot-chance-note{margin-bottom:16px}
 .loot-chance>b{font-size:21px}
 .loot-item-copy>strong{font-size:16px;line-height:1.4}
 .loot-stat{font-size:15px;padding:3px 5px;gap:4px}
 .loot-stat>b{font-size:15px}
 .loot-item-condition{font-size:15px;line-height:1.4;padding-right:2px}
 .loot-complete{margin-top:17px}
 .loot-complete>summary{font-size:16px;padding-block:13px}
 .loot-exact-table,.loot-exact-table tbody{display:block;width:100%;border:0;border-radius:0;overflow:visible}
 .loot-exact-table thead{display:none}
 .loot-exact-table tbody{display:grid;gap:10px}
 .loot-exact-table tr{display:block;border:1px solid #DDE5F0;border-radius:10px;overflow:hidden}
 .loot-exact-table tbody th{display:block;font-size:16px;line-height:1.4;background:#EDF2F9;padding:12px;border-bottom:1px solid #DFE6F1!important}
 .loot-exact-table td{display:grid;grid-template-columns:78px minmax(0,1fr);gap:9px;padding:10px 11px;font-size:15px;line-height:1.5;border-bottom:1px solid #E8EDF4}
 .loot-field-label{display:block;font-weight:600;color:#4B6283}
 .loot-exact-note{font-size:15px!important}
 .loot-notes{font-size:15px;line-height:1.55}
 .loot-focus-heading{grid-template-columns:103px minmax(0,1fr);gap:16px;margin-bottom:16px}
 .loot-focus-heading h4{font-size:21px;line-height:1.3;margin-bottom:8px}
 .loot-focus-heading .loot-art-large{height:111px;padding:11px;border-radius:11px}
 .loot-focus-heading .loot-stat{font-size:15px;padding:4px 7px}
 .loot-focus-heading .loot-stat>b{font-size:16px}
 .loot-focus-preview{grid-template-columns:1fr;gap:13px}
 .loot-focus-preview .loot-art-large{height:210px}
 .loot-values>div{grid-template-columns:90px minmax(0,1fr);gap:12px;padding:12px 0}
 .loot-values dt,.loot-values dd{font-size:16px;line-height:1.5}
 .loot-member>summary>.loot-art{height:85px}
 .loot-member>summary>strong{font-size:16px}
 .loot-member dt,.loot-member dd{font-size:15px;line-height:1.5}
 .loot-pending{padding:17px}
}
@container site (max-width:350px){
 .loot-stage{grid-template-columns:1fr;gap:6px}
 .loot-groups>button{font-size:15px;padding:8px}
 .loot-grid{gap:8px}
 .loot-item-copy{padding:9px 8px}
 .loot-item-copy>strong{font-size:16px}
 .loot-art{height:85px;padding:8px}
 .loot-focus-heading{grid-template-columns:87px minmax(0,1fr);gap:12px}
 .loot-focus-heading .loot-art-large{height:96px}
 .loot-focus-preview{grid-template-columns:1fr}
 .loot-focus-preview .loot-art-large{height:180px}
 .loot-values>div{grid-template-columns:1fr;gap:5px}
 .loot-exact-table td{grid-template-columns:70px minmax(0,1fr);gap:8px;padding:10px}
}
@media (prefers-reduced-motion:reduce){.loot-item{transition:none}}
