/* 360 eMarket - team page (desktop): a member is always on show, names carry a face and a role, controls make it obvious it can be browsed */
@media (min-width: 1181px) {
  .tm__in { height: calc(var(--v) * 850); }
  .tm__photo { top: calc(var(--v) * 205); height: calc(var(--v) * 530); }
  .tm__hint2 { position: absolute; left: 0; right: 0; top: calc(var(--v) * 150); display: flex; justify-content: center; align-items: center; gap: 10px; margin: 0; font-size: max(13px, calc(var(--u) * 19)); font-weight: 600; color: rgba(17, 20, 28, .62); }
  .tm__hint2 i { width: 18px; height: 26px; border: 2px solid currentColor; border-radius: 10px; position: relative; opacity: .7; }
  .tm__hint2 i::after { content: ""; position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--orange); animation: tmWheel 1.6s ease-in-out infinite; }
  @keyframes tmWheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }
  .tm--dark .tm__hint2 { color: rgba(255, 255, 255, .78); }

  /* names: face + name + role, always visible */
  .tm__person { gap: calc(var(--u) * 14); padding: calc(var(--u) * 7) calc(var(--u) * 20) calc(var(--u) * 7) calc(var(--u) * 8); border-radius: 999px; background: rgba(255, 255, 255, .0); border: 1.5px solid transparent; transition: background .3s, border-color .3s, color .2s, transform .3s, box-shadow .3s; }
  .tm__person:hover, .tm__person.is-on { background: rgba(255, 255, 255, .62); border-color: rgba(255, 255, 255, .9); box-shadow: 0 14px 28px -14px rgba(20, 24, 60, .35); }
  .tm__person.is-on .tm__nm { text-decoration: none; }
  .tm__av2 { flex: none; width: calc(var(--u) * 58); height: calc(var(--u) * 58); min-width: 38px; min-height: 38px; border-radius: 50%; overflow: hidden; background: var(--c, #fff); border: 2px solid #fff; box-shadow: 0 8px 16px -6px rgba(20, 24, 60, .35); transition: transform .35s cubic-bezier(.3, 1.5, .5, 1), border-color .25s; }
  .tm__av2 img { display: block; width: 130%; max-width: none; height: 130%; margin: -4% 0 0 -15%; object-fit: cover; object-position: 50% 6%; }
  .tm__person:hover .tm__av2, .tm__person.is-on .tm__av2 { transform: scale(1.14) rotate(-4deg); border-color: var(--orange); }
  .tm .tm__person small { position: static; display: block; margin: 2px 0 0; translate: none; opacity: 1; transform: none; font-size: max(11px, calc(var(--u) * 17)); font-weight: 700; letter-spacing: .02em; color: rgba(17, 20, 28, .55); }
  .tm .tm__person--c small { translate: none; }
  .tm__person.is-on small, .tm__person:hover small { color: var(--orange); }
  .tm--dark .tm__person small { color: rgba(255, 255, 255, .7); }
  .tm__nm { text-align: left; line-height: 1.15; }
  .tm__person--c { transform: translateX(-50%); }

  /* caption chip under the portrait */
  .tm__cap { position: absolute; left: 50%; top: calc(var(--v) * 718); transform: translateX(-50%); z-index: 3; min-width: calc(var(--u) * 300); padding: calc(var(--u) * 12) calc(var(--u) * 28); border-radius: 18px; text-align: center; color: #fff; background: #12151c; box-shadow: 0 22px 36px -16px rgba(10, 14, 22, .6); transition: opacity .3s, transform .3s; }
  .tm__cap b { display: block; font-size: max(16px, calc(var(--u) * 26)); font-weight: 700; letter-spacing: -.01em; }
  .tm__cap span { display: block; margin-top: 2px; font-size: max(12px, calc(var(--u) * 17)); font-weight: 600; color: #ffb15f; }
  .tm__cap.is-swap { opacity: 0; transform: translateX(-50%) translateY(6px); }

  /* browse controls */
  .tm__live { position: absolute; left: 50%; top: calc(var(--v) * 800); transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 16px; }
  .tm__live button.tm__prev, .tm__live button.tm__next { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(17, 20, 28, .22); background: rgba(255, 255, 255, .7); color: #11141c; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
  .tm__live .tm__prev:hover, .tm__live .tm__next:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-2px); }
  .tm__live svg { width: 18px; height: 11px; }
  .tm__dots { display: flex; gap: 9px; }
  .tm__dots button { position: relative; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(17, 20, 28, .25); cursor: pointer; transition: width .35s cubic-bezier(.3, 1.4, .5, 1), background .25s; }
  .tm__dots button:hover { background: rgba(17, 20, 28, .55); }
  .tm__dots button.is-on { width: 30px; background: var(--orange); }
  .tm--dark .tm__dots button { background: rgba(255, 255, 255, .35); }
  .tm--dark .tm__dots button.is-on { background: var(--orange); }
}
@media (max-width: 1180px) { .tm__hint2, .tm__cap, .tm__live, .tm__av2 { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .tm__hint2 i::after { animation: none; } }
