/* Item effects retain a readable measure inside a panel matching the article column. */
.as-item-page #effects>.as-readable-effects{width:100%;max-width:none}
.as-item-page #effects>.as-readable-effects>ul,.as-item-page #effects>.as-readable-effects>p{max-width:72ch}
/* Sorting belongs only to the native armor comparison table. */
.as-db-armor-browser .as-armor-sort-table{min-width:940px}
.as-db-armor-browser .as-armor-sort-table thead th>button{display:flex;align-items:center;gap:4px;width:100%;padding:0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;text-align:left;cursor:pointer;white-space:nowrap}
.as-db-armor-browser .as-armor-sort-table thead th>button:focus-visible{outline:2px solid #d1d4dc;outline-offset:5px}
.as-db-armor-browser .as-armor-sort-table thead th[aria-sort=ascending],.as-db-armor-browser .as-armor-sort-table thead th[aria-sort=descending]{color:#e6e8ee}

/* Related item cards form balanced three-column rows on desktop. */
.as-item-page #related>.as-related-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr}
@media(max-width:900px){.as-item-page #related>.as-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.as-item-page #related>.as-related-grid{grid-template-columns:minmax(0,1fr)}}

/* Keep long native piece names within their phone cards. */
.as-item-page.as-armor-page .as-set-pieces-layout .as-item-card>div{min-width:0}
.as-item-page.as-armor-page .as-set-pieces-layout .as-item-card h3{overflow-wrap:anywhere}

.as-db-armor-browser .as-armor-sort-table th,.as-db-armor-browser .as-armor-sort-table td{padding-left:6px;padding-right:6px}

/* Match each armor value to the center of its own column. */
.as-db-armor-browser .as-armor-sort-table thead th:not(:first-child),.as-db-armor-browser .as-armor-sort-table tbody td{text-align:center}
.as-db-armor-browser .as-armor-sort-table thead th:not(:first-child)>button{justify-content:center;text-align:center}

.as-item-page #related>.as-related-grid .as-item-card>div{min-width:0}
.as-item-page #related>.as-related-grid .as-item-card h3{overflow-wrap:anywhere}
