/* V5 brand. Load after refined.css. No outside font or image dependencies. */
.brand img[src*="/v5/logo.svg"] {
  width: 155px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}
.brand:focus-visible {
  outline: 2px solid #987946;
  outline-offset: 5px;
  border-radius: 5px;
}

/* Optional home entrance: words stay on paper; the small scene gets its own box.
   Expected children: .v5-town-entry-art, .v5-town-entry-copy, then a chevron. */
.v5-town-entry {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 18px;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 94px;
  margin: 20px 0;
  padding: 13px 15px 13px 13px;
  border: 1px solid #dce4d5;
  border-radius: 14px;
  background: #fff;
  color: #263e35;
  text-align: left;
  cursor: pointer;
}
.v5-town-entry-art {
  display: block;
  width: 66px;
  height: 66px;
  overflow: hidden;
  border-radius: 9px;
  background: #edf2e3;
}
.v5-town-entry-art > img, .v5-town-entry-art > svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}
.v5-town-entry-copy { min-width: 0; }
.v5-town-entry-copy strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.v5-town-entry-copy small {
  display: block;
  margin-top: 5px;
  color: #71816b;
  font-size: 12px;
  line-height: 1.65;
}
.v5-town-entry:focus-visible {
  outline: 2px solid #8b9d77;
  outline-offset: 4px;
}
.v5-town-entry:active { background: #f4f7ee; }

@media (max-width: 360px) {
  .brand img[src*="/v5/logo.svg"] { width: 147px; height: 38px; }
  .v5-town-entry { gap: 11px; padding-right: 12px; }
}
