  :root { --profiles-edge-padding: clamp(8px, 2vh, 24px); }
  #home-about-toast {
    z-index: 3;
    bottom: var(--profiles-edge-padding);
    border-radius: .125em;
  }
  #home-about-toast .btn {
    border-radius: .125em;
  }
  #home-about-toast.is-following-viewport {
    position: fixed;
  }
  #profilesSection {
    margin-top: -1px;
  }
  #profilesContainer {
    position: relative;
    height: 100vh !important;
    height: 100svh !important;
    overflow: auto !important;
    overscroll-behavior-x: none;
    overscroll-behavior-y: auto;
    touch-action: pan-y;
  }
  #profilesTrack { display: flex; width: max-content; min-height: 100%; }
  .profiles-column { flex: 0 0 100px; width: 100px; }
  .profiles-column .item,
  .profiles-column img { display: block; width: 100px; height: 100px; }
  #profilesMotionToggle {
    position: absolute;
    right: .75rem;
    bottom: calc(var(--profiles-edge-padding) + .75rem);
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin: 0;
    padding: 0;
    color: #cc3333;
    font-size: 1.25rem;
    line-height: 1;
    background: #fff;
    border: 0;
    border-radius: .125em;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
  }
  #profilesMotionToggle.is-following-viewport {
    position: fixed;
  }
  #profilesMotionToggle:hover,
  #profilesMotionToggle:focus {
    color: #8f2424;
    background: #fff;
  }
  #profilesMotionToggle:focus-visible {
    outline: 3px solid #cc3333;
    outline-offset: 2px;
  }
  @media (max-width: 450px) {
    #profilesMotionToggle { right: 2vw; }
  }

#profilesTrack[hidden], #profilesFallback[hidden], #profilesMotionToggle[hidden] { display: none !important; }
.profiles-enhanced #profilesContainer { overflow: hidden !important; }
.profiles-fallback-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); grid-auto-rows: 100px; width: 100%; min-height: 100%; align-content: start; }
.profile-tile { position: relative; display: block; height: 100px; overflow: hidden; background: #111; color: #fff; transition: none; }
.profile-tile-name { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: .4rem; text-align: center; font-size: .875rem; line-height: 1.2; overflow-wrap: anywhere; }
.profile-tile img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.profile-tile img[hidden] { display: none !important; }
.profile-tile:focus-visible { outline: 3px solid #cc3333; outline-offset: -3px; z-index: 2; }
