.top-nav nav{grid-template-columns:repeat(6,minmax(0,1fr))}
.top-nav a,.top-nav .category-label,.top-nav .category-label>span{min-width:0;overflow-wrap:anywhere;white-space:normal}
.character-label strong,.building-cards strong,.index-grid a,.stage-resource span{overflow-wrap:anywhere}
.language-options{max-height:70vh;overflow-y:auto}
@media(max-width:700px){.top-nav nav{grid-template-columns:repeat(3,minmax(0,1fr))}.top-nav .category-label{flex-direction:column;gap:4px;text-align:center}}
@media(max-width:360px){.top-nav nav{grid-template-columns:repeat(2,minmax(0,1fr))}}

.value-pending{background:#fff1cc;color:#704b00;padding:0 .2em;border-radius:3px;font-size:.9em}.empowerment-facts{margin-top:1.5rem}.hero-story{margin:.75rem 0}.hero-story p{line-height:1.8}

/* Shared-library original exports; display small originals without enlargement. */
.building-cards .building-preview{display:flex;align-items:center;justify-content:center}
.building-cards .building-preview img[data-library-building]{width:100%;height:100%;object-fit:contain;aspect-ratio:auto;clip-path:none;transform:none}
.building-cards .building-preview img[data-small-art]{max-width:150px;max-height:150px}
.building-figure.library-building-figure{width:min(100%,320px);padding:12px}
.building-figure.library-building-figure img{width:100%;height:auto;aspect-ratio:1;clip-path:none;transform:none;object-fit:contain}
.building-figure.library-building-figure.compact-original{width:190px;padding:20px}
.building-figure.library-building-figure.compact-original img{width:150px;max-width:100%}
.illustrated-title{display:flex;align-items:center;gap:14px}
.illustrated-title span{min-width:0}
.building-title-art{width:88px;height:88px;flex:0 0 88px;object-fit:contain}
.material-art{display:inline-block;width:48px;height:48px;object-fit:contain;vertical-align:middle;margin-right:8px}
.table-material{width:32px;height:32px;margin:0 6px 2px 0}
.fragment-art-strip{display:flex;gap:12px;margin:12px 0}
.fragment-art-strip .material-art{width:64px;height:64px;margin:0}
.exclusive-part{width:56px;height:56px;margin-left:auto}
@media(max-width:560px){.building-title-art{width:64px;height:64px;flex-basis:64px}.illustrated-title{gap:10px}.exclusive-part{margin-left:0}}

/* Localized redeem codes retain only the requested code and validity columns. */
.redeem-codes table{width:100%;table-layout:fixed}.redeem-codes th:first-child{width:42%}.redeem-codes code{font-family:inherit;font-weight:700;overflow-wrap:anywhere}.redeem-period time{display:block;white-space:nowrap;font-size:14px}.redeem-period span{display:block;line-height:1}

/* Fill the remaining navigation space after hiding unavailable guide entries. */
.header-collections:has(>.header-box:only-child){width:240px;grid-template-columns:minmax(0,1fr)}
@media(min-width:701px){.top-nav nav:has(>a:nth-child(5):last-child){grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:361px) and (max-width:700px){.top-nav nav:has(>a:nth-child(5):last-child){grid-template-columns:repeat(6,minmax(0,1fr))}.top-nav nav:has(>a:nth-child(5):last-child)>a{grid-column:span 2}.top-nav nav:has(>a:nth-child(5):last-child)>a:nth-last-child(-n+2){grid-column:span 3}}
@media(max-width:360px){.top-nav nav:has(>a:nth-child(5):last-child)>a:last-child{grid-column:1/-1}}