/* Uncle Josh's World · five rotating portrait frame styles · v1.3
   Only changes presentation. Character assignment is locked by portrait-frames-v1.js. */
.attraction-card .cover-portrait {
  box-sizing: border-box;
  position: absolute;
  z-index: 5;
  width: 120px !important;
  height: 120px !important;
  right: 18px !important;
  bottom: 18px !important;
  max-width: none;
  border-width: 5px !important;
  border-style: solid !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: 50% 50% !important;
  outline-style: solid;
  outline-offset: 2px;
  transition: border-color .85s ease, box-shadow .85s ease, outline-color .85s ease,
              filter .85s ease, transform .3s ease;
  transform: rotate(3deg);
}
.attraction-card .cover-bottom { max-width: calc(100% - 164px) !important; }
.attraction-card:hover .cover-portrait { transform: rotate(0deg) scale(1.055); }

.crew-person img.uj-frame,
.invite-faces img.uj-frame,
.destination-lead img.uj-frame {
  box-sizing: border-box;
  border-style: solid !important;
  object-fit: cover !important;
  object-position: 50% 50% !important;
  border-radius: 50% !important;
  outline-style: solid;
  outline-offset: 2px;
  transition: border-color .85s ease, box-shadow .85s ease, outline-color .85s ease, filter .85s ease;
}
.crew-person img.uj-frame { width: 48px; height: 48px; border-width: 3px !important; }
.invite-faces img.uj-frame { border-width: 4px !important; }
.destination-lead img.uj-frame { border-width: 5px !important; }

/* Style 1 · Classic Float */
.uj-frame.uj-classic {
  border-color: #fff !important;
  outline-width: 1px; outline-color: #ffffffb5;
  box-shadow: 0 13px 22px #16162d7a, 0 2px 5px #10152650;
  filter: none;
}
/* Style 2 · Storybook Gold */
.uj-frame.uj-storybook {
  border-color: #ffe4a1 !important;
  outline-width: 3px; outline-color: #a56c28;
  box-shadow: 0 10px 16px #30201887, 0 0 0 1px #fff5d6, 0 0 25px #ffd67b9a;
  filter: saturate(1.07);
}
/* Style 3 · Neon Arcade */
.uj-frame.uj-neon {
  border-color: #73efff !important;
  outline-width: 3px; outline-color: #a366f9;
  box-shadow: 0 9px 19px #0b073c99, 0 0 15px #65e9ffa3, 0 0 24px #b05cff80;
  filter: saturate(1.1);
}
/* Style 4 · Tailor's Stitch */
.uj-frame.uj-stitched {
  border-color: #f1d3a3 !important;
  outline-width: 3px; outline-style: dashed; outline-color: #91572f;
  box-shadow: 0 10px 21px #422e258c, 0 0 0 1px #fff9e9;
  filter: sepia(.075);
}
/* Style 5 · Crystal Glass */
.uj-frame.uj-glass {
  border-color: #ebfafff2 !important;
  outline-width: 2px; outline-color: #a6e9ffcc;
  box-shadow: 0 14px 23px #2632638a, 0 0 0 4px #dbf9ff3b, 0 0 24px #b5f1ffd1;
  filter: saturate(1.06) brightness(1.035);
}
/* A new look is selected automatically, never a new character. */
@media (max-width: 600px) {
  .attraction-card .cover-portrait {
    width: 92px !important; height: 92px !important;
    right: 12px !important; bottom: 14px !important;
  }
  .attraction-card .cover-bottom { max-width: calc(100% - 119px) !important; }
}
@media (prefers-reduced-motion: reduce) {
  .uj-frame, .attraction-card .cover-portrait { transition: none !important; }
  .attraction-card:hover .cover-portrait { transform: none; }
}
