body[data-atlas="supplies"] {--section-accent:#b3d0a8}
body:is([data-hq-page="components"],[data-hq-page="equipment"],[data-hq-page="decorations"]) :is(#main-content,#hq-main-content) #app :is(.filters,.gear-filters) > label,
body:is([data-hq-page="components"],[data-hq-page="items"],[data-hq-page="equipment"],[data-hq-page="decorations"]) :is(#main-content,#hq-main-content) #app :is(#search-label,.results-meta #count,.gear-meta #count,.item-sort) {
  font-size:.8125rem; line-height:1.45;
}
@media(max-width:44em){body:is([data-hq-page="components"],[data-hq-page="items"],[data-hq-page="equipment"],[data-hq-page="decorations"]) :is(#main-content,#hq-main-content) > .game-heading .game-title#title {min-height:0!important; margin:0!important}}
@media(max-width:44em){body:is([data-hq-page="items"],[data-hq-page="equipment"]) :is(#main-content,#hq-main-content) #app :is(#item-sections,#gear-sections) {
    flex-wrap:wrap; height:auto; max-height:none; overflow:visible; gap:.25rem; padding-block:.25rem;
  }}
@media(max-width:44em){body:is([data-hq-page="items"],[data-hq-page="equipment"]) :is(#main-content,#hq-main-content) #app :is(#item-sections,#gear-sections) > button {
    max-width:100%; min-width:0; height:auto; white-space:normal; overflow-wrap:anywhere; text-align:start;
  }}
@media(max-width:44em){body[data-hq-page="items"] :is(#main-content,#hq-main-content) #app .item-mobile-purpose {flex-wrap:wrap; gap:.35rem .65rem}}
@media(max-width:44em){body[data-hq-page="items"] :is(#main-content,#hq-main-content) #app .item-mobile-purpose select {flex:1 1 10rem; min-width:0; max-width:100%}}
@media(max-width:44em){body:is([data-hq-page="components"],[data-hq-page="items"],[data-hq-page="equipment"],[data-hq-page="decorations"]) :is(#main-content,#hq-main-content) #app :is(.results-meta button,.gear-armies button,.gear-meta button,.item-save,.item-details-link,.ds-add,.chest-card-action) {
    min-height:44px; height:auto;
  }}
body[data-hq-page="items"] dialog#detail[open] {
  overscroll-behavior: contain;
}
body[data-hq-page="items"] #detail #item-browse-context {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .9rem;
}
body[data-hq-page="items"] #detail #item-browse-context > div {
  flex: 1 1 13rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
body[data-hq-page="items"] #detail #item-browse-context [data-save-item] {
  max-width: 100%;
  min-height: 44px;
  white-space: normal;
  overflow-wrap: anywhere;
}
body[data-hq-page="items"] #detail #detail-body > .lead {
  font-size: 1rem !important;
  line-height: 1.55 !important;
}
body[data-hq-page="items"] #detail #pv-detail-entry > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
}
@media (max-width: 44em){body[data-hq-page="items"] #detail .dialog-head > #detail-art + div {
    min-width: 0;
    flex: 1 1 calc(100% - 66px);
  }}
@media (max-width: 44em){body[data-hq-page="items"] #detail .dialog-head .compact-detail-actions > #close {
    margin-inline-start: auto !important;
    min-height: 44px !important;
  }}
@media (max-width: 44em){body[data-hq-page="items"] #detail .dialog-head .tw-lang-toggle {
    min-height: 44px !important;
  }}
@media (max-width: 44em){body[data-hq-page="items"] #detail #detail-body {
    padding: .9rem .85rem max(.9rem, env(safe-area-inset-bottom));
  }}
@media (max-width: 44em){body[data-hq-page="items"] #detail #detail-body > .item-tool-link {
    padding: 0;
    border: 0;
    background: transparent;
  }}
@media (max-width: 44em){body[data-hq-page="items"] #detail #detail-body > .item-tool-link a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }}
@media (max-height: 30em){body[data-hq-page="items"] dialog#detail[open] .dialog-head {position: static}}
body[data-hq-page="items"] #app.item-organized {
  --item-panel: var(--atlas-panel, #132732);
  --item-rule: var(--atlas-border, #36515b);
}
body[data-hq-page="items"] #app.item-organized .item-search > label:first-child {
  display: grid; gap: .35rem; max-width: none; width: 100%;
}
body[data-hq-page="items"] #app.item-organized .item-search #search-label {
  font-size: .9375rem; font-weight: 700; line-height: 1.4;
}
body[data-hq-page="items"] #app.item-organized .item-search #search {
  width: 100%; min-height: 46px; padding-inline: .8rem 2.8rem;
  font-size: 1rem !important; border-color: var(--item-rule);
}
body[data-hq-page="items"] #app .item-browse-controls > details {
  margin: 0; padding: 0; min-width: 0; max-width: 100%; border: 1px solid var(--item-rule);
  border-radius: .5rem; background: var(--item-panel); box-sizing: border-box;
}
body[data-hq-page="items"] #app .item-browse-controls > details > summary,
body[data-hq-page="items"] #detail .item-related-tools > summary {
  display: flex; gap: .4rem; align-items: center; min-height: 44px; padding: .45rem .7rem;
  box-sizing: border-box; cursor: pointer; font-size: .875rem; line-height: 1.35;
  font-weight: 650; list-style: none; overflow-wrap: anywhere; white-space: normal;
}
body[data-hq-page="items"] #app .item-browse-controls > details > summary::-webkit-details-marker,
body[data-hq-page="items"] #detail .item-related-tools > summary::-webkit-details-marker {display:none}
body[data-hq-page="items"] #app .item-browse-controls > details > summary::after,
body[data-hq-page="items"] #detail .item-related-tools > summary::after {
  content: ''; display: inline-block; position: static; width: .45rem; height: .45rem; min-width:.45rem;
  margin-inline-start: auto; border: solid currentColor; border-width: 0 1.5px 1.5px 0; 
  transform: rotate(45deg); flex-shrink: 0;
}
body[data-hq-page="items"] #app .item-browse-controls > details[open] > summary::after,
body[data-hq-page="items"] #detail .item-related-tools[open] > summary::after {transform:rotate(225deg)}
body[data-hq-page="items"] #app .item-collections > summary strong {color:#aedacc; font-weight:700}
body[data-hq-page="items"] #app .item-browse-controls > details[open] {flex:1 0 100%; padding:0 .7rem .7rem}
body[data-hq-page="items"] #app .item-browse-controls > details :is(.item-browse-heading,.refresh-links,.decision-entry,.item-extra-fields,.results-meta) {margin:.35rem 0 0}
body[data-hq-page="items"] #app .item-extra-filters #item-extra-fields {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:.65rem;
}
body[data-hq-page="items"] #app .item-extra-filters .results-meta .catalogue-view {margin:0}
body[data-hq-page="items"] #app .item-results-summary > #clear {min-height:44px}
body[data-hq-page="items"] #app .item-search-context:empty,
body[data-hq-page="items"] #app .item-active-filters:empty {display:none}
body[data-hq-page="items"] #detail .item-reading-intro .item-amount-picker {margin:.7rem 0 0}
body[data-hq-page="items"] #detail #item-browse-context {
  background:transparent; border:0; border-top:1px solid #374e59; border-radius:0;
  padding:.55rem 0; margin:0 0 .4rem; gap:.35rem .7rem;
}
body[data-hq-page="items"] #detail #item-browse-context > div {flex-basis:12rem}
body[data-hq-page="items"] #detail #item-browse-context > div > span {font-size:.8125rem; color:#afc3cc}
body[data-hq-page="items"] #detail #item-browse-context > div > p {font-size:.9375rem; line-height:1.4}
body[data-hq-page="items"] #detail .item-related-tools > summary {padding-inline:0}
body[data-hq-page="items"] #detail .item-related-tools > .item-tool-link {
  margin:0; padding:0; background:transparent; border:0;
}
body[data-hq-page="items"] #detail .item-related-tools :is(a,summary) {
  min-height:44px; max-width:100%; box-sizing:border-box; overflow-wrap:anywhere; white-space:normal;
}
body[data-hq-page="items"] #detail .item-related-tools .item-tool-link a {display:inline-flex;align-items:center}
@media(max-width:44em){body[data-hq-page="items"] #app .item-browse-controls > details {flex: 1 1 auto}}
@media(max-width:44em){body[data-hq-page="items"] #app .item-browse-controls > details[open] {flex-basis:100%}}
@media(max-width:44em){body[data-hq-page="items"] #app .item-browse-guides .decision-entry-links {grid-template-columns:1fr}}
body[data-hq-page="items"] main #app.item-organized .item-search #search-label {
  position:static!important; width:auto!important; height:auto!important; clip:auto!important;
  overflow:visible!important; white-space:normal!important; font-size:.9375rem!important;
}
body[data-hq-page="items"] #app.item-organized #results .result .open-item {
  font-size:1rem!important; line-height:1.35!important; font-weight:700!important; min-height:44px;
  padding:.2rem 0!important; border:0!important; background:transparent!important;
  box-shadow:none!important; text-align:start; overflow-wrap:anywhere;
}
body[data-hq-page="items"] #app.item-organized #results .result .item-main .sub {
  font-size:.8125rem!important; line-height:1.4!important; margin-top:0!important;
}
body[data-hq-page="items"] #app.item-organized #results .result .brief {
  font-size:.875rem!important; line-height:1.45!important;
}
body[data-hq-page="items"] #app.item-organized #results .result .item-save {
  min-width:44px!important; min-height:44px!important;
}
body[data-hq-page="items"] #detail .item-related-tools > summary {padding-inline:.75rem}
body[data-hq-page="items"] #detail [data-item-sources] .item-source-jumps {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:.25rem .45rem;
  margin:.25rem 0 1rem; padding:0 0 .65rem; border:0; border-bottom:1px solid #39515d;
  background:transparent; box-shadow:none;
}
body[data-hq-page="items"] #detail .item-source-jumps > span {
  flex-basis:100%; color:#bed1d5; font-size:.8125rem; font-weight:650; line-height:1.4;
}
body[data-hq-page="items"] #detail .item-source-jumps button {
  display:inline-flex; align-items:center; min-width:0; max-width:100%; min-height:44px;
  padding:.3rem .7rem; border:1px solid #47616a; border-radius:.45rem;
  background:#18333e; color:#cbebe2; font:inherit; font-size:.875rem; font-weight:650;
  line-height:1.35; text-align:start; white-space:normal; overflow-wrap:anywhere;
}
body[data-hq-page="items"] #detail [data-item-sources] .chest-source-group > ul {
  display:grid; gap:0; margin:.2rem 0 .85rem; padding:0; list-style:none;
  border-block:1px solid #394f5a;
}
body[data-hq-page="items"] #detail [data-item-sources] .chest-source-group li {
  display:flex; flex-wrap:wrap; align-items:baseline; gap:0 .65rem; min-width:0; margin:0;
  padding:.12rem .1rem; border:0; border-radius:0; background:transparent; box-shadow:none;
}
body[data-hq-page="items"] #detail [data-item-sources] .chest-source-group li .source-reward {
  display:block; flex:0 1 auto; min-width:0; max-width:100%; margin:0; padding:.25rem 0;
  line-height:1.4; font-size:.8125rem; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; color:#b8ced3;
}
body[data-hq-page="items"] #detail [data-item-sources] .gameplay-source-head > a {
  display:inline-flex; align-items:center; min-height:44px; overflow-wrap:anywhere;
}
