/* EquaMind Stable 3.0 – gemeinsame Navigation und integrierter Zuchtbereich */

.v3-page-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}

.v3-page-head h1{margin-bottom:5px}
.v3-page-head p{margin:0;color:var(--muted)}

.v3-directory-grid{
  display:grid;
  gap:12px;
}

.v3-directory-card{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  width:100%;
  min-height:76px;
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:22px;
  background:var(--card);
  color:var(--ink);
  text-align:left;
  box-shadow:0 8px 26px rgba(60,43,22,.07);
}

.v3-directory-card>i{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:15px;
  background:linear-gradient(145deg,rgba(184,135,46,.15),rgba(49,101,72,.12));
  color:var(--gold);
  font-style:normal;
  font-size:23px;
}

.v3-directory-card>span{display:flex;flex-direction:column;min-width:0}
.v3-directory-card strong{font-size:15px;line-height:1.25}
.v3-directory-card small{margin-top:4px;color:var(--muted);font-size:11px;line-height:1.35}
.v3-directory-card>b{color:var(--gold);font-size:22px}

.v3-section-label{
  margin:20px 3px 8px;
  color:var(--gold);
  font-size:11px;
  font-weight:950;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.breeding-view{
  margin:0 -4px;
}

.breeding-view-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 2px 10px;
}

.breeding-view-title{display:flex;align-items:center;gap:10px;min-width:0}
.breeding-view-title i{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:15px;
  background:linear-gradient(135deg,#4b2c62,#7b5796);
  color:#f3d67a;
  font-style:normal;
  font-size:23px;
}
.breeding-view-title span{display:flex;flex-direction:column;min-width:0}
.breeding-view-title strong{font-family:Georgia,serif;font-size:21px}
.breeding-view-title small{color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.breeding-frame-shell{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:25px;
  background:linear-gradient(145deg,rgba(255,253,248,.66),rgba(241,232,248,.54));
  box-shadow:var(--shadow);
  backdrop-filter:blur(18px);
}

.breeding-frame{
  display:block;
  width:100%;
  height:calc(100dvh - 210px);
  min-height:560px;
  border:0;
  background:transparent;
}

.v3-settings-page>.more-settings-group{margin-bottom:12px}

.v3-health-archive{
  border-top:1px solid var(--line);
  margin-top:4px;
  padding-top:12px;
}

.nav.nav-primary.v3-nav{grid-template-columns:repeat(6,1fr)}

@media(min-width:900px){
  .v3-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v3-directory-card{min-height:82px}
  .breeding-view{margin:0}
  .breeding-frame{height:calc(100dvh - 150px);min-height:660px}
}

@media(min-width:1180px){
  .breeding-frame-shell{border-radius:30px}
  .breeding-view-head{margin-bottom:12px}
}

@media(max-width:520px){
  .v3-page-head{display:block}
  .v3-directory-card{grid-template-columns:42px minmax(0,1fr) auto;min-height:68px;padding:11px 12px;border-radius:19px}
  .v3-directory-card>i{width:39px;height:39px;border-radius:13px;font-size:20px}
  .breeding-view{margin:0 -8px}
  .breeding-view-head{margin-inline:8px}
  .breeding-view-title small{max-width:230px}
  .breeding-frame-shell{border-radius:20px}
  .breeding-frame{height:calc(100dvh - 185px);min-height:520px}
}
