#modalHeader { max-height: 44vh; max-height: 44svh; overflow-y: auto; }
.hero-lore { flex-basis: 100%; min-width: 0; padding-top: 12px; border-top: 1px solid #c59b2729; }
.hero-lore__label { margin-bottom: 5px; color: #e5c158; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero-lore__summary { max-width: 95ch; color: #c6c0b8; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.community-guide { --build-gold: #e5c158; color: #d6d3d1; font-size: 13px; line-height: 1.6; }
.community-guide [data-branch="weapon"] { --item-color: #e99a5b; --item-tint: #e87a2410; }
.community-guide [data-branch="vitality"] { --item-color: #79c28b; --item-tint: #36b35710; }
.community-guide [data-branch="spirit"] { --item-color: #c091dc; --item-tint: #9b4dca10; }
.community-source { padding: 22px; border: 1px solid #c59b2745; border-radius: 12px; background: linear-gradient(120deg, #c59b270b, #0a0a0c 70%); }
.community-source__eyebrow { margin: 0 0 7px; color: var(--build-gold); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.community-source__title { font-family: Cinzel, Georgia, serif; color: #f5f5f4; font-size: clamp(17px, 2.5vw, 23px); line-height: 1.4; overflow-wrap: anywhere; }
.community-source__criterion { color: #b6afa7; margin-top: 8px; font-size: 12px; }
.community-stats { display: flex; flex-wrap: wrap; gap: 20px 38px; margin: 23px 0 20px; }
.community-stats > div { display: flex; flex-direction: column; }
.community-stats strong { color: #f2e9d5; font-size: clamp(21px, 3vw, 27px); line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.community-stats span { color: #a8a29e; font-size: 11px; margin-top: 4px; }
.community-source__links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; padding-top: 14px; border-top: 1px solid #c59b2729; font-size: 11px; }
.community-source__links > span:first-child { color: #a8a29e; }
.community-source a { color: var(--build-gold); text-underline-offset: 4px; }
.community-source a:hover { text-decoration: underline; }
.build-copy { padding: 5px 10px; border-radius: 6px; border: 1px solid #c59b2770; color: #e5c158; background: #c59b270d; transition: background .15s; }
.build-copy:hover { background: #c59b2729; }
.build-copy-status { color: #b9caaa; }
.community-source__dates { font-size: 10px; color: #a8a29e; margin-top: 13px; line-height: 1.8; }
.community-method { margin-top: 9px; color: #a8a29e; font-size: 11px; }
.community-method summary { cursor: pointer; color: #d6c69c; width: fit-content; }
.community-method p { margin: 9px 0 5px; }
.build-route-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin-top: 30px; }
.build-route-heading h4 { font-family: Cinzel, Georgia, serif; color: #f5f5f4; font-size: 20px; line-height: 1.3; }
.build-legend { display: flex; gap: 13px; font-size: 10px; }
.build-legend span { color: var(--item-color); display: flex; align-items: center; gap: 5px; }
.build-legend span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--item-color); }
.build-route-help { color: #a8a29e; font-size: 11px; margin: 12px 0 22px; max-width: 85ch; }
.build-group { margin: 24px 0; }
.build-group__heading { display: flex; gap: 10px; align-items: center; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid #38332a; }
.build-group__index { font-family: Cinzel, Georgia, serif; font-size: 22px; color: #a88b43; line-height: 1; flex-shrink: 0; }
.build-group__heading h5 { font-size: 13px; font-weight: 600; color: #e7e5e4; overflow-wrap: anywhere; }
.build-group__original { color: #a8a29e; font-size: 10px; }
.build-group__count { margin-left: auto; color: #a8a29e; font-size: 10px; white-space: nowrap; flex-shrink: 0; }
.build-group__instructions { color: #b8afa0; font-size: 11px; margin: -3px 0 12px; }
.build-group__instructions summary { cursor: pointer; }
.build-group__instructions p { padding: 9px 0; white-space: pre-line; overflow-wrap: anywhere; }
.shop-item-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; }
.shop-item { border: 1px solid #35343b; border-left: 2px solid var(--item-color); border-radius: 9px; background: linear-gradient(130deg, var(--item-tint), #17171c); padding: 12px; min-width: 0; }
.shop-item__heading { display: flex; gap: 10px; align-items: center; }
.shop-item__art { width: 64px; height: 64px; flex-shrink: 0; border-radius: 7px; overflow: hidden; background: #28262a; }
.shop-item__icon { width: 64px; height: 64px; object-fit: contain; }
.shop-item__fallback:not([hidden]) { display: flex; align-items: center; text-align: center; height: 64px; font-size: 9px; padding: 4px; color: #b4aeb5; line-height: 1.3; }
.shop-item__identity { min-width: 0; }
.shop-item__branch { color: var(--item-color); font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.shop-item h6 { color: #f5f5f4; font-size: 12px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.shop-item__translation { color: #ada6a0; font-size: 10px; margin-top: 1px; line-height: 1.4; overflow-wrap: anywhere; }
.shop-item__cost { display: block; color: #e2c779; font-size: 10px; margin-top: 3px; font-variant-numeric: tabular-nums; }
.shop-item__description { color: #b4afac; font-size: 11px; line-height: 1.6; margin-top: 10px; overflow-wrap: anywhere; }
.shop-item__imbue { color: #d4bce1; font-size: 10px; margin-top: 8px; }
.shop-item__note { font-size: 10px; margin-top: 10px; border-top: 1px solid #ffffff0d; padding-top: 7px; }
.shop-item__note summary { cursor: pointer; color: #c6bda9; }
.shop-item__note summary span { color: #aaa29a; }
.shop-item__note p { color: #b4afac; margin-top: 7px; overflow-wrap: anywhere; white-space: pre-line; }
.build-alternatives { margin-top: 14px; padding: 15px 16px; border: 1px solid #44403c; border-radius: 10px; background: #0e0e12; }
.build-alternatives > summary { cursor: pointer; color: #e5ded1; font-size: 12px; font-weight: 600; }
.build-alternatives__count { float: right; font-size: 10px; font-weight: 400; color: #a8a29e; margin-left: 10px; }
.build-alternatives__help { font-size: 11px; color: #a8a29e; margin-top: 13px; }
.build-alternatives[data-alternatives="reference"], .build-alternatives[data-alternatives="testing"] { border-style: dashed; }
.build-alternatives .build-group:last-child { margin-bottom: 0; }
.community-credit { margin-top: 24px; color: #a8a29e; font-size: 10px; text-align: center; }
.community-guide :is(button, a, summary):focus-visible { outline: 2px solid #e5c158; outline-offset: 4px; border-radius: 3px; }
.build-unavailable { border: 1px solid #c59b2755; padding: 20px; border-radius: 10px; }
.build-unavailable h4 { font-size: 16px; color: #e5c158; margin-bottom: 7px; }
.build-unavailable button { padding: 8px 12px; margin-top: 12px; border: 1px solid #c59b27; border-radius: 6px; }
@media (max-width: 1000px) { .shop-item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .shop-item-grid { grid-template-columns: minmax(0, 1fr); }
    .community-source { padding: 16px; }
    .community-stats { gap: 18px; }
    .community-stats strong { font-size: 21px; }
    .community-stats span { font-size: 10px; }
    .build-alternatives { padding: 13px 12px; }
    .build-alternatives > summary { font-size: 11px; }
    .build-alternatives__count { float: none; display: inline; margin-left: 7px; }
    .shop-item__art, .shop-item__icon { width: 64px; height: 64px; }
    .shop-item h6 { font-size: 13px; }
}
