/* Barn stall clips and settling-in signs. Website only — not NFT metadata.
   Cow #0001 keeps her existing card and is not styled by these rules. */

.stall-media{
  position:relative;
  background:#d6ecf0;
  line-height:0;
  overflow:hidden;
}
.stall-media video,
.stall-media .stall-still,
.stall-media .stall-dim{
  display:block;
  width:100%;
  aspect-ratio:2/3;
  object-fit:cover;
  object-position:center 30%;
  background:#d6ecf0;
}
.stall-media .stall-still{display:none}

@media (prefers-reduced-motion: reduce){
  .stall-media video{display:none}
  .stall-media .stall-still{display:block}
}

/* Dimmed portrait behind the wooden settling-in sign (cows with no clip yet). */
.stall-media.settling .stall-dim{
  filter:brightness(.42) saturate(.8);
}
.stall-media.settling .ph{
  filter:brightness(.55);
}

/* Same wooden-sign style as the mint / farm signs: stained board, gold edge, hanging posts. */
.barn-sign{
  position:absolute;
  left:50%;
  top:22%;
  transform:translateX(-50%) rotate(-2deg);
  z-index:2;
  width:min(86%, 210px);
  max-width:calc(100% - 16px);
  text-align:center;
  background:linear-gradient(180deg, #6d4524, #4d2f17);
  border:3px solid #d9ad52;
  border-radius:12px;
  padding:12px 12px 10px;
  color:#fff4e0;
  box-shadow:0 10px 24px #000b, inset 0 0 0 2px #00000040;
  font-weight:800;
  letter-spacing:.02em;
  line-height:1.25;
}
.barn-sign::before,
.barn-sign::after{
  content:"";
  position:absolute;
  top:-22px;
  width:3px;
  height:24px;
  background:linear-gradient(#f1d28a, #d9ad52);
}
.barn-sign::before{left:22%}
.barn-sign::after{right:22%}
.barn-sign b{
  display:block;
  font-size:clamp(18px, 4.6vw, 26px);
  color:#f1d28a;
  font-family:Georgia, "Times New Roman", serif;
  letter-spacing:.04em;
  line-height:1.05;
}
.barn-sign small{
  display:block;
  font-size:12px;
  font-weight:700;
  color:#f6e6c6;
  margin-top:6px;
  line-height:1.35;
  letter-spacing:0;
}
.stall-wallet-note{
  position:absolute;
  left:10px;
  right:10px;
  bottom:12px;
  z-index:2;
  margin:0;
  text-align:center;
  color:#fff9e8;
  font-size:11px;
  font-weight:700;
  line-height:1.35;
  text-shadow:0 1px 6px #000c;
}

@media (max-width: 420px){
  .barn-sign{top:18%; padding:10px 10px 8px}
  .barn-sign b{font-size:18px}
}
