#heritageContent231{min-width:0}.heritage-visual239 .ic-tabs233>button.active{background:var(--lime,#dbff00);color:#082b4c!important}.heritage-catalog239{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px;margin:22px 0}.heritage-pick239{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;min-width:0;text-align:center;border:1px solid #41637b;border-radius:15px;background:#123047;color:#fff;padding:18px;cursor:pointer;font:inherit}.heritage-pick239.selected{border-color:var(--lime,#dbff00);box-shadow:inset 0 0 0 1px var(--lime,#dbff00);background:#1c3e50}.heritage-pick239>small{flex-basis:100%;font-size:11px;color:#b2ccdd}.heritage-pick239>b,.heritage-pick239>strong{font-size:17px;overflow-wrap:anywhere;min-width:0}.heritage-card-people239{display:flex;gap:14px;align-items:center;justify-content:center;min-width:0;width:100%;flex-wrap:wrap}.heritage-card-people239 i{font-style:normal;color:#7db8dc}.heritage-person239{display:inline-flex;min-width:0;align-items:center;gap:10px}.heritage-pick239 .heritage-person239{flex:1 1 85px;flex-direction:column;text-align:center;font-size:13px;overflow-wrap:anywhere}.heritage-visual239 .avatar-small{width:56px;height:56px;flex:0 0 56px;background:#214760;border:1px solid #62869d}.heritage-visual239 .avatar-small img{width:100%;height:100%;object-fit:contain}.heritage-hero239{padding:24px;background:radial-gradient(ellipse at top left,#235c7b99,transparent 65%),#102a3e;border:1px solid #42667e;border-radius:18px;margin:20px 0;text-align:center}.heritage-hero239 .heritage-person239{font-size:21px;flex-direction:column;text-align:center;max-width:100%;overflow-wrap:anywhere}.heritage-hero239 .avatar-small{width:100px;height:100px;flex-basis:100px}.heritage-hero239 h2{font-size:27px;overflow-wrap:anywhere}.heritage-hero239>.club-crest237{width:90px;height:90px}.heritage-kpis239{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px;margin:18px 0}.heritage-kpis239>article{display:grid;gap:10px;background:#14334a;border:1px solid #42667e;border-radius:13px;padding:18px}.heritage-kpis239 span{font-size:11px;color:#b5cedf}.heritage-kpis239 b{font-size:22px}.heritage-empty239{border:1px dashed #41637b;background:#0c2233;border-radius:14px;color:#abc8da;padding:22px;line-height:1.6}.heritage-surfaces239,.heritage-trophies239{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;margin:16px 0}.heritage-surfaces239>article{display:grid;gap:12px;background:#14334a;border:1px solid #42667e;border-top:4px solid #49baff;padding:20px;border-radius:14px}.heritage-surfaces239>.surface-clay{border-top-color:#e28b65}.heritage-surfaces239>.surface-grass{border-top-color:#80c69b}.heritage-surfaces239 b{font-size:25px}.heritage-trophies239 .ic-card231{margin:0;text-align:center;background:linear-gradient(145deg,#3c3721,#14334a);border-color:#a19155;padding:22px}.heritage-trophies239 h3{font-size:18px;margin:14px 0}.heritage-trophy239{display:block;font-size:36px}.heritage-rivals239,.heritage-representatives239{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:10px;margin:18px 0}.heritage-rivals239>article,.heritage-representatives239>article{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#14334a;border:1px solid #42667e;border-radius:13px;padding:16px;min-width:0}.heritage-rivals239 strong,.heritage-representatives239 strong{font-size:24px;color:#cde944;white-space:nowrap}.heritage-rivals239>article>div{min-width:0;line-height:1.7}.heritage-results239{display:grid;gap:9px;margin:16px 0}.heritage-results239>article{display:flex;gap:16px;align-items:center;justify-content:space-between;background:#102a3e;border:1px solid #41637b;border-radius:12px;padding:16px;min-width:0}.heritage-results239 .won{border-left:4px solid #72c797}.heritage-results239 .lost{border-left:4px solid #db7e86}.heritage-results239>article>div{flex:1;min-width:0;line-height:1.8}.heritage-results239 small{display:block;color:#a6c3d7;font-size:11px;margin:5px 0}.heritage-results239>article>strong{font-size:20px}.heritage-periods239{display:grid;gap:8px;margin:16px 0}.heritage-periods239 article{padding:15px;border-left:3px solid #49baff;background:#14334a;border-radius:0 12px 12px 0}.heritage-edition239>summary{display:flex;gap:15px;justify-content:space-between;align-items:center;cursor:pointer;padding:8px;font-size:18px}.heritage-edition239>summary span{font-size:12px;color:#b5cedf}.heritage-roster239{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:18px 0}.heritage-roster239>div{background:#173b52;border:1px solid #42667e;border-radius:10px;padding:13px}.heritage-flag239 .wtm-flag{width:50px;height:auto}.heritage-pick239 .heritage-flag239{display:block}.heritage-visual239 h3{margin-top:25px}.heritage-visual239 .ic-tabs233{flex-wrap:wrap!important;overflow:visible}.heritage-visual239 .ic-tabs233>button{white-space:normal!important}.heritage-pick239:focus-visible{outline:3px solid #49d4ff;outline-offset:3px}
@media(max-width:760px){.heritage-catalog239{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.heritage-pick239{padding:14px 9px;gap:8px}.heritage-pick239 .heritage-person239{font-size:12px}.heritage-card-people239{gap:8px}.heritage-pick239 .avatar-small{width:44px;height:44px;flex-basis:44px}.heritage-hero239{padding:20px 12px}.heritage-hero239 .heritage-person239{font-size:17px}.heritage-kpis239{grid-template-columns:repeat(2,minmax(0,1fr))}.heritage-results239>article{align-items:flex-start;flex-wrap:wrap;padding:13px;gap:10px}.heritage-results239>article>div{flex-basis:100%}.heritage-results239>article>strong{font-size:18px}.heritage-visual239 .ic-tabs233>button{min-height:44px}.heritage-edition239>summary{flex-wrap:wrap}.heritage-representatives239,.heritage-rivals239{grid-template-columns:1fr}}

/* Pair portraits share a top baseline; names grow below without clipping. */
.heritage-catalog239:has(.heritage-pair240){grid-auto-rows:1fr}
.heritage-pick239.heritage-pair240{display:grid;grid-template-rows:1fr auto;align-items:stretch;gap:16px}
.heritage-pair240 .heritage-card-people239{display:grid;grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr);gap:8px;align-items:start;flex-wrap:nowrap}
.heritage-pair240 .heritage-person239{display:grid;grid-template-rows:56px auto;justify-items:center;align-items:start;align-content:start;gap:10px;width:100%;height:100%}
.heritage-pair240 .heritage-person239>span:not(.avatar-small){min-height:3.6em;line-height:1.2;max-width:100%;overflow-wrap:anywhere}
.heritage-pair240 .avatar-small{grid-row:1;width:56px;height:56px;margin:0!important;align-self:start}
.heritage-pair240 .heritage-card-people239>i{align-self:start;display:grid;place-items:center;height:56px}
.heritage-status240{justify-self:center;align-self:end;display:inline-block;padding:5px 10px;border:1px solid;border-radius:999px;font-size:11px;line-height:1.4;text-align:center}
.heritage-visual239 .heritage-status240.is-active{color:#a4edbb;background:#123d2b;border-color:#43825a}
.heritage-visual239 .heritage-status240.is-historical{color:#ffb4bb;background:#46232d;border-color:#a65c6b}
@media(max-width:760px){.heritage-pair240 .heritage-person239{grid-template-rows:44px auto}.heritage-pair240 .avatar-small{width:44px;height:44px}.heritage-pair240 .heritage-card-people239>i{height:44px}.heritage-pick239.heritage-pair240{gap:12px}.heritage-pair240 .heritage-card-people239{grid-template-columns:minmax(0,1fr) 10px minmax(0,1fr);gap:4px}.heritage-status240{padding:4px 7px}}
/* Hydrated avatars use shared global !important rules. Keep this catalogue grid. */
.heritage-pair240 .heritage-person239.avatar-name-group{display:grid!important;align-items:start!important;text-align:center}
.heritage-pair240 .heritage-person239.avatar-name-group>.avatar-small{width:56px!important;height:56px!important;align-self:start!important}
@media(max-width:760px){.heritage-pair240 .heritage-person239.avatar-name-group>.avatar-small{width:44px!important;height:44px!important}}
