/* Regelstand 19: größere Informationsflächen bei ruhigerer Geländegrafik */

/* Gebäude um rund ein Drittel verkleinern; Zustandsanzeige bleibt am Baukörper. */
.map-location .art-sprite{left:8%;right:8%;height:76%;bottom:8%}
.location-home .art-sprite{left:7%;right:7%;height:78%;bottom:8%}
.location-trade .art-sprite{left:6%;right:6%;height:80%;bottom:7%}
.location-transport .art-sprite{left:6%;right:6%;height:81%;bottom:6%}
.location-workshop .art-sprite{left:5%;right:5%;height:85%;bottom:5%}
.map-location .building-sprite.level-2{left:5%;right:5%;height:82%}
.map-location .building-sprite.level-3{left:3%;right:3%;height:86%}
.location-workshop .building-sprite.level-3{height:89%}
.condition-orb{right:1%;top:4%}

/* Schilder sind jetzt Informationsträger und nicht nur Dekoration. */
.building-label.timber-sign{bottom:-3.35rem;width:clamp(15rem,122%,23rem);padding:.8rem 1.05rem .86rem}
.building-label.timber-sign strong{margin-bottom:.28rem;font-size:1.22rem;line-height:1.12}
.building-label.timber-sign span{font-size:.84rem;line-height:1.32}
.building-label.timber-sign span+span{margin-top:.3rem;padding-top:.3rem}
.building-label.home-sign{width:clamp(14rem,108%,18rem)}
.building-label.timber-sign::before{bottom:-2.35rem;width:.9rem;height:2.4rem}

/* Die Ahnengalerie nutzt die Wand für etwa ein Drittel größere Porträts. */
.ancestor-gallery{grid-template-columns:1.15fr 2.3fr 3.45fr;gap:1.55rem;padding:5.4rem 2.7rem 4.2rem}
.gallery-generation{gap:1.15rem}
.generation-label{padding:.48rem .65rem;font-size:.78rem}
.ancestor-frame{width:min(14rem,100%)}
.ancestor-plaque{width:min(15.75rem,100%);min-height:5.4rem;margin-top:.9rem;padding:.7rem .65rem}
.ancestor-plaque strong{font-size:1rem;line-height:1.18}
.ancestor-plaque small{margin-top:.28rem;font-size:.7rem;line-height:1.34}
.ancestor-plaque em{margin-top:.48rem;padding-top:.4rem;font-size:.66rem}
.ancestor-status{right:-.42rem;bottom:-.42rem;width:1.65rem;height:1.65rem}

/* Beziehungsfelder besitzen ungefähr die doppelte Fläche des vorigen Standes. */
.dynasty-network-center{width:18rem;padding:1.45rem}.dynasty-network-center small{font-size:.74rem}.dynasty-network-center strong{font-size:1.5rem}.dynasty-network-center span{font-size:.78rem}
.relation-node{grid-template-columns:4.35rem minmax(0,1fr) auto;gap:1rem;width:min(36rem,36%);min-height:7.25rem;padding:1rem 1.1rem}
.relation-monogram{width:4.25rem;height:4.25rem;font-size:1.3rem}
.relation-copy small{font-size:.68rem}.relation-copy strong{margin:.25rem 0;font-size:1.18rem}.relation-copy em{font-size:.8rem;line-height:1.4}
.relation-score b{font-size:1.38rem}.relation-score small{font-size:.7rem}
.relation-legend{font-size:.72rem}

@media(max-width:1700px){
  .location-home .building-label.home-sign{left:34%}
  .building-label.timber-sign{width:clamp(14rem,118%,20rem)}
  .building-label.timber-sign strong{font-size:1.08rem}
  .building-label.timber-sign span{font-size:.77rem}
}

@media(max-width:1400px){
  .relationship-network{display:grid;grid-template-columns:1fr 1fr;gap:.85rem;min-height:0;padding:1rem}
  .relationship-network::before{inset:0}
  .relation-lines{display:none}
  .dynasty-network-center,.relation-node{position:relative;left:auto;top:auto;width:100%;transform:none}
  .dynasty-network-center{grid-column:1/-1}
  .relation-node:hover,.relation-node:focus-visible,.relation-node.selected{transform:translateY(-2px)}
  .relation-legend{position:relative;left:auto;bottom:auto;grid-column:1/-1;justify-content:center;transform:none}
  .relation-copy strong{white-space:normal}
}

@media(max-width:1250px){
  .ancestor-frame{width:min(11.75rem,100%)}
  .ancestor-plaque{width:min(13.5rem,100%)}
}

@media(max-width:900px){
  .building-label.timber-sign{bottom:-2.8rem;width:clamp(12rem,132%,17rem);padding:.65rem .72rem}
  .building-label.timber-sign strong{font-size:.94rem}
  .building-label.timber-sign span{font-size:.68rem}
  .ancestor-gallery{padding:4.7rem 1rem 3.2rem}
  .ancestor-frame{width:min(10.75rem,100%)}
  .ancestor-plaque{width:min(12.5rem,100%)}
}

@media(max-width:600px){
  .relationship-network{grid-template-columns:1fr}
  .building-label.timber-sign{bottom:-2.5rem}
}
