.as-guide-shortcuts,.as-guide-links{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.as-guide-shortcuts a,.as-guide-links a{border:1px solid #34383e;background:#121417;padding:10px 16px;color:#dfe1e5;text-decoration:none}.as-guide-shortcuts a:hover,.as-guide-links a:hover{border-color:#d4d6d9;background:#20242a}.as-weapon-families{margin-bottom:32px}.as-weapon-families>div{display:grid;grid-template-columns:180px 1fr;align-items:baseline;gap:20px;border-top:1px solid #2d3035}.as-weapon-families h3{font-size:18px}.as-guide-table{width:100%;border-collapse:collapse;line-height:1.6}.as-guide-table th,.as-guide-table td{padding:14px 18px;border-bottom:1px solid #34383e;text-align:left;vertical-align:top}.as-guide-table th{color:#e0e1e4;background:#171a1f}.as-guide-table tr:hover{background:#16191d}.as-class-article-layout{display:grid;grid-template-columns:minmax(230px,32%) minmax(0,1fr);gap:40px}.as-class-article-portrait{width:100%;height:auto;max-height:850px;object-fit:contain;position:sticky;top:100px;filter:drop-shadow(0 20px 35px #9d3d1929)}.as-attribute-explanations dt{font-weight:700;color:#dfe1e5;margin-top:20px}.as-attribute-explanations dd{margin:8px 0 0}.as-table-grade{display:inline-flex;align-items:center;flex-direction:column;min-width:30px;margin:2px}.as-table-grade small,.as-table-sub{display:block;color:#999fa8;font-size:11px}.as-table-footnote{padding:14px 18px;font-size:13px;line-height:1.7;color:#a8adb5}.as-db-family-table td{white-space:normal;min-width:85px}.as-db-family-table .as-requirements b{font-size:20px}.as-db-family-table .as-requirements abbr{font-size:11px}.as-db-family-table th:first-child{min-width:210px}.as-db-controls{flex-wrap:wrap}.as-db-sort select{max-width:200px}.as-world-page .as-world-stats{margin:0}.as-world-page details{margin:16px 0;padding:12px;border-top:1px solid #363a40}.as-class-article .as-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.as-class-article .as-item-card{min-width:0}.as-class-article .as-item-card img{max-width:90px;max-height:110px;object-fit:contain}.as-world-page{overflow-wrap:anywhere}.as-world-page .as-db-island{min-width:0}.as-world-page .as-db-layout{grid-template-columns:minmax(0,1fr)}.as-world-page .as-db-rail{display:none}.as-world-page .as-db-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.as-world-page .as-db-card{min-height:220px}.as-world-page .as-db-card-head .as-db-frame{display:none}.as-db-family-table td:first-child,.as-db-family-table th:first-child{position:relative}.as-guide-table a{position:relative;z-index:1}
@media(max-width:900px){.as-class-article-layout{grid-template-columns:1fr}.as-class-article-portrait{position:static;max-height:580px}.as-weapon-families>div{grid-template-columns:1fr;gap:0}.as-world-page .as-db-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.as-db-controls-spacer{display:none}.as-guide-table th,.as-guide-table td{padding:10px}.as-world-page .as-panel{min-width:0}.as-guide-table{font-size:14px}}
@media(max-width:550px){.as-world-page .as-db-cards,.as-class-article .as-related-grid{grid-template-columns:1fr}.as-db-controls .as-db-search{width:100%}.as-guide-shortcuts a,.as-guide-links a{padding:9px 12px;font-size:14px}.as-guide-table{min-width:430px}.as-world-page .as-panel:has(.as-guide-table){overflow-x:auto}.as-db-sort select{max-width:170px}}

/* Article artwork fills the inner frame without stretching or cropping. */
.as-item-page .as-item-frame .as-item-art{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}

/* Fill artwork slots consistently; preserve the complete item silhouette. */
.as-db-frame>img,.as-db-piece-strip .as-db-frame>img,.as-search-result-art>img{width:100%;height:100%;min-width:0;min-height:0;max-width:none;max-height:none;object-fit:contain}
.as-home-layout .as-category-link>span>img.as-category-game-icon{width:100%;height:100%;min-width:0;min-height:0;max-width:none;max-height:none;object-fit:contain}
.as-db-detail-art{position:relative;display:grid;place-items:center;gap:0;padding:12px}
.as-db-detail-art>img{position:absolute;inset:12px;width:calc(100% - 24px);height:calc(100% - 24px);max-width:none;max-height:none;object-fit:contain}

/* Expansion artwork uses its full existing background frame. */
.as-home .as-expansion-card>img{inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}

/* Shared category layout: preview occupies its own column, never the results. */
.as-db-page [data-hover-preview] .as-db-controls{position:relative;top:auto;z-index:auto}
.as-db-page [data-hover-preview] .as-db-layout{grid-template-columns:minmax(0,1fr);gap:32px;align-items:start}
.as-db-page [data-hover-preview] .as-db-main{min-width:0}
.as-db-page [data-hover-preview] .as-db-rail{position:sticky;top:110px;align-self:start;min-width:0;width:auto;right:auto;z-index:auto;pointer-events:none}
.as-db-page [data-hover-preview] .as-db-details{width:100%;box-shadow:none;overflow:hidden}
.as-db-page [data-hover-preview] .as-db-detail-art{height:200px;min-height:0;aspect-ratio:auto}
.as-db-page [data-hover-preview] .as-db-detail-art>img{inset:12px;width:calc(100% - 24px);height:calc(100% - 24px);max-height:180px;object-fit:contain}
.as-db-page [data-hover-preview] .as-db-detail-body{padding:16px}
.as-db-page [data-hover-preview] .as-db-details h2{font-size:20px}
.as-db-page [data-hover-preview] .as-db-details dl>div{padding:6px 0}
.as-db-page [data-hover-preview] .as-db-details dt{font-size:12px}
.as-db-page [data-hover-preview] .as-db-details dd{font-size:13px}
@media(min-width:1100px) and (hover:hover) and (pointer:fine){.as-db-page [data-hover-preview=true] .as-db-layout{grid-template-columns:minmax(0,1fr) 320px}.as-db-page [data-hover-preview=true] .as-db-rail{display:flex}}
@media(max-width:1099px),(hover:none),(pointer:coarse){.as-db-page [data-hover-preview] .as-db-layout{grid-template-columns:minmax(0,1fr)}.as-db-page [data-hover-preview] .as-db-rail{display:none}}
