/* Inside Pace — Athlete profile help actions V10
 * Purely visual. Reuses the existing AIDE actions and keeps their click handlers untouched.
 */
@media (max-width: 760px) {
  .eav2-root .eav2-aide {
    display: grid;
    gap: 9px;
    margin-top: 18px;
  }

  .eav2-root .eav2-aide > .eav2-history-head {
    margin: 0 0 2px;
    color: #91a4cc;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
  }

  .eav2-root .eav2-aide-row {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 58px;
    box-sizing: border-box;
    margin: 0;
    padding: 8px 12px 8px 9px;
    border: 1px solid rgba(240, 180, 41, .46);
    border-radius: 18px;
    background:
      radial-gradient(170px 80px at 0% 0%, rgba(240, 180, 41, .10), transparent 72%),
      linear-gradient(150deg, rgba(28, 42, 72, .88), rgba(11, 22, 44, .96));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .07),
      0 14px 28px -24px rgba(240, 180, 41, .88);
    color: #f5f8ff;
    font: inherit;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .eav2-root .eav2-aide-row::before {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(245, 214, 147, .28);
    border-radius: 13px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .12),
      0 8px 18px -12px rgba(240, 180, 41, .9);
  }

  .eav2-root .eav2-aide-row:first-of-type::before {
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f5d693' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6.5' y='2.5' width='11' height='19' rx='2.2'/%3E%3Cpath d='M9.5 16.5h5M12 7v6m0 0-2.3-2.3M12 13l2.3-2.3'/%3E%3C/svg%3E") center / 23px 23px no-repeat,
      linear-gradient(145deg, rgba(240,180,41,.18), rgba(240,180,41,.065));
  }

  .eav2-root .eav2-aide-row:nth-of-type(2)::before {
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f5d693' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 5.2c2.8-.8 5.6-.25 8.5 1.7v13c-2.9-1.95-5.7-2.5-8.5-1.7v-13Z'/%3E%3Cpath d='M20.5 5.2c-2.8-.8-5.6-.25-8.5 1.7v13c2.9-1.95 5.7-2.5 8.5-1.7v-13Z'/%3E%3C/svg%3E") center / 23px 23px no-repeat,
      linear-gradient(145deg, rgba(240,180,41,.18), rgba(240,180,41,.065));
  }

  .eav2-root .eav2-aide-row > span {
    min-width: 0;
    color: #f6f8fd;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -.01em;
  }

  .eav2-root .eav2-aide-row > em {
    display: grid;
    width: 20px;
    height: 32px;
    place-items: center;
    color: #f0b429;
    font-size: 27px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-1px);
  }

  .eav2-root .eav2-aide-row:active {
    transform: scale(.985);
    border-color: rgba(245, 214, 147, .72);
    filter: brightness(1.06);
  }

  .eav2-root .eav2-aide-row:focus-visible {
    outline: 2px solid rgba(245, 214, 147, .92);
    outline-offset: 2px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .eav2-root .eav2-aide-row:hover {
    border-color: rgba(245, 214, 147, .68);
    background:
      radial-gradient(170px 80px at 0% 0%, rgba(240, 180, 41, .14), transparent 72%),
      linear-gradient(150deg, rgba(31, 47, 80, .94), rgba(12, 24, 48, .98));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .eav2-root .eav2-aide-row {
    transition: transform 90ms cubic-bezier(.2,.8,.2,1), border-color 120ms ease, filter 120ms ease, background 120ms ease;
  }
}
