.shell .treasure{width:650px;max-width:100%;box-sizing:border-box;margin:10px auto;padding:12px 14px 18px;border:1px solid #a48a55;background:#f0e1b8;font:11px/1.3 Arial,sans-serif;color:#302613}
.shell .treasure .treasure-title{font:bold 14px Arial;margin:0 0 7px}.shell .treasure .treasure-intro{margin:12px 0 16px;font-size:11px;line-height:1.3}
.shell .treasure .rank-tabs{gap:6px;margin:0;padding:0;min-height:0}.shell .treasure .rank-tabs .button{border:0!important;background:transparent!important;color:#483012!important;box-shadow:none!important;padding:0 2px!important;min-height:18px!important;font-weight:bold}.shell .treasure .rank-tabs [aria-current]{color:#955112!important;text-decoration:underline}
.shell .treasure .button,.shell .treasure button{border-radius:2px!important;min-height:20px!important;padding:2px 5px!important;font:bold 11px/1.2 Arial!important;box-shadow:inset 0 1px #b59b73!important;border:1px solid #72522e!important;background:linear-gradient(#93734b,#624323)!important;color:#fff4d8!important;margin:2px 1px!important;width:auto}
.shell .treasure button:disabled{opacity:.5;cursor:not-allowed}.shell .treasure select{border-radius:0!important;border:1px solid #ae9361!important;background:#f6e9c8!important;min-height:18px!important;height:20px!important;padding:0 2px!important;font:11px Arial!important;color:#332710}.shell .treasure input[type=checkbox]{width:13px;height:13px;margin:1px 3px 0 0}
.shell .treasure form{margin:3px 0}.shell .treasure p{margin:5px 0}.shell .treasure .check{font-size:10px;gap:3px;line-height:1.3}
.shell .treasure .treasure-workbench{grid-template-columns:350px 210px;gap:18px;margin:0 auto;justify-content:center}.shell .treasure .relic-assignment-status{height:104px;display:flex;align-items:center;gap:8px;box-sizing:border-box}.empty-relic-emblem{font:90px/1 Georgia;color:#a78c58;flex:0 0 120px;text-align:center}.relic-assignment-status>span:last-child{border:1px solid #ab915c;padding:5px;flex:1;font-size:10px}
.shell .treasure .relic-filters{display:grid;grid-template-columns:1fr 1fr;padding:0;border:0;background:transparent!important;gap:2px;margin:0}.shell .treasure .relic-filters label{font-size:0;line-height:0}.shell .treasure .relic-filters label select{font-size:10px!important;line-height:normal}.shell .treasure .relic-filters option{font-size:11px}.shell .treasure .relic-filters button,.shell .treasure .relic-filters>a{justify-self:start;font-size:10px!important;margin:1px 0!important}.shell .treasure .relic-filters>a{justify-self:end;padding-top:3px}
.shell .treasure .treasure-storage>p{font-size:10px;margin:2px 0}.shell .treasure .relic-tile-grid{grid-template-columns:repeat(5,minmax(0,1fr));box-sizing:border-box}.shell .treasure .relic-tile{height:69.6px;aspect-ratio:auto;box-sizing:border-box}.shell .treasure .relic-tile>span:last-child:not(.relic-art){font-size:8px;padding:1px}
.shell .treasure .selected-relic{margin:12px 0 0}.shell .treasure .relic-card{padding:4px;background:#efdfb5!important;overflow:hidden;border:1px solid #9f8451}.shell .treasure .relic-card h3,.shell .treasure .relic-card h4{font-size:11px;line-height:1.2;margin:0 50px 2px 0}.shell .treasure .relic-art{width:46px;height:46px;margin:0 0 3px 3px}.shell .treasure .pill{font-size:10px;min-height:0}.shell .treasure .relic-stats{margin:4px 0;font-size:10px}.shell .treasure .relic-stats>div{display:block;padding:4px 0;border:0}.shell .treasure .relic-stats>div:first-child{padding-top:6px;border-bottom:1px solid #b59d6b;padding-bottom:8px;min-height:28px}.shell .treasure .relic-stats dt{display:none}.shell .treasure .relic-stats dd{margin:0}.shell .treasure .relic-stats>div:last-child{padding:3px 0 0}.shell .treasure .relic-stats>div:last-child dt{display:inline}.shell .treasure .relic-stats>div:last-child dd{display:inline}.shell .treasure .relic-card>p{font-size:10px;margin:3px 0}.shell .treasure .relic-card small{font-size:10px}
.shell .treasure .relic-starter{border:0;background:transparent!important;padding:0}.shell .treasure .relic-starter>h3{font-size:15px;margin:16px 0}.shell .treasure .relic-starter>p{font-size:10px}.shell .treasure .relic-starter .relic-grid{width:425px;max-width:100%;grid-template-columns:1fr 1fr;gap:14px;margin:15px auto 0}.shell .treasure .relic-starter .relic-card{min-height:166px}.shell .treasure .relic-starter .relic-art{right:4px;top:4px}.shell .treasure .relic-starter .pill{padding-bottom:12px}.shell .treasure .relic-starter .relic-stats>div{padding:4px 0}.shell .treasure .relic-starter form{margin-top:4px;border-top:1px solid #a48a55}
.shell .treasure #relic-purchases{border:1px solid #a48a55;border-top:0;padding:4px;background:#efdfb5}.shell .treasure #relic-purchases p,.shell .treasure #relic-purchases details{font-size:10px;line-height:1.3}.shell .treasure #relic-purchases h4{margin:4px 0;font-size:11px}.shell .treasure #relic-purchases .notice{padding:5px}.shell .treasure #relic-random-fusion,.shell .treasure .relic-materials{padding:4px 0;margin:8px 0 0;border:0;background:transparent!important;font-size:10px}.shell .treasure summary{cursor:pointer}
.shell .treasure .compact-upgrade{min-height:143px;padding:0;border:0}.upgrade-slots{display:grid;grid-template-columns:62px 69px 69px;gap:4px;align-items:start}.upgrade-primary,.upgrade-slot{position:relative;min-width:0}.upgrade-primary{height:62px;border:1px solid #9e8450}.shell .treasure .upgrade-primary .relic-art{width:100%;height:100%;margin:0;border:0}.upgrade-primary small{position:absolute;bottom:0;left:0;right:0;background:#eeddb9df;text-align:center;font-size:9px}.upgrade-slot output{border:1px solid #a48a55;display:flex;height:45px;align-items:center;justify-content:center;background:#deca9c;font-size:12px}.upgrade-slot output img{width:43px;height:43px;object-fit:contain}.shell .treasure .upgrade-slot select{width:100%;height:18px!important;font-size:9px!important}.shell .treasure .upgrade-slot button{position:absolute;right:0;top:0;min-height:14px!important;height:15px;padding:0 3px!important;font:11px Arial!important;margin:0!important}.upgrade-selection{font-size:9px;min-height:23px}.upgrade-controls>summary{font:bold 11px Arial;color:#624323}.shell .treasure .upgrade-controls p{font-size:10px}.upgrade-native[hidden],.upgrade-interactive[hidden]{display:none!important}.upgrade-native fieldset{padding:4px}.upgrade-native input[type=number]{max-width:50px}
@media(max-width:700px){.shell .treasure{padding:8px;width:100%}.shell .treasure .treasure-workbench{grid-template-columns:minmax(0,350px);justify-content:center;gap:12px}.shell .treasure .treasure-detail{width:100%}.shell .treasure .compact-upgrade{min-height:0}.shell .treasure .relic-tile{height:auto;aspect-ratio:1}.shell .treasure .relic-assignment-status{height:80px}.shell .treasure .relic-starter .relic-grid{gap:8px}.shell .treasure .relic-starter .relic-card{min-height:190px}.shell .treasure .relic-card h4{margin-right:45px}.shell .treasure .treasure-intro{font-size:10px}}
.shell .treasure .relic-tile .relic-art{width:100%;height:100%;margin:0;border:0}.upgrade-slot .visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.shell .treasure .relic-card label{font-size:10px}.shell .treasure .relic-stats>div:last-child dt::after{content:": "}

.shell .treasure .relic-assignment-action{margin:4px 0 2px}.shell .treasure .relic-assignment-action>summary{display:inline-block;border:1px solid #72522e;border-radius:2px;background:linear-gradient(#93734b,#624323);color:#fff4d8;font:bold 11px Arial;padding:2px 5px}.shell .treasure .relic-assignment-action>summary::marker{content:''}
