/* RF-AVALON Market V61.0.111 — mobile recipient list + notification header polish. */

/* Keep the recipient selector readable on phones: this is a choice list, not a card gallery. */
@media (max-width: 760px) {
  .item-trade-character-panel {
    padding: 12px !important;
  }

  .item-trade-character-panel .item-sale-character-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .item-trade-character-panel .item-sale-character-list button {
    position: relative !important;
    width: 100% !important;
    min-height: 68px !important;
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) 26px !important;
    align-items: center !important;
    gap: 11px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #364158 !important;
    border-radius: 11px !important;
    background: linear-gradient(180deg, rgba(38,47,67,.96), rgba(29,37,53,.98)) !important;
    text-align: left !important;
    box-shadow: inset 0 1px rgba(255,255,255,.025) !important;
  }

  .item-trade-character-panel .item-sale-character-list button > span {
    width: 46px !important;
    height: 46px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid #46526b !important;
    border-radius: 50% !important;
    background: #192235 !important;
    color: #d9e0eb !important;
    font-size: 17px !important;
  }

  .item-trade-character-panel .item-sale-character-list button > div {
    min-width: 0 !important;
  }

  .item-trade-character-panel .item-sale-character-list strong {
    display: block !important;
    overflow: hidden !important;
    color: #f1f4fa !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .item-trade-character-panel .item-sale-character-list small {
    display: block !important;
    margin-top: 4px !important;
    overflow: hidden !important;
    color: #8f9ab2 !important;
    font-size: 10px !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .item-trade-character-panel .item-sale-character-list button > i {
    width: 26px !important;
    color: #6f7c96 !important;
    font-size: 19px !important;
    font-style: normal !important;
    text-align: center !important;
  }

  .item-trade-character-panel .item-sale-character-list button.selected {
    border-color: rgba(240,163,48,.78) !important;
    background: linear-gradient(100deg, rgba(240,163,48,.13), rgba(38,47,67,.98) 42%, rgba(29,37,53,.98)) !important;
    box-shadow: inset 4px 0 #f0a330, 0 0 0 1px rgba(240,163,48,.16), 0 8px 22px rgba(0,0,0,.16) !important;
  }

  .item-trade-character-panel .item-sale-character-list button.selected > span {
    border-color: rgba(240,163,48,.66) !important;
    color: #ffd27d !important;
  }

  .item-trade-character-panel .item-sale-character-list button.selected > i {
    color: #f0a330 !important;
  }

  /* Bell is the third full header tile beside GP and account, not a tiny icon button. */
  .header-account .market-notify-bell-v110 {
    flex: 0 0 46px !important;
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    border: 1px solid rgba(240,163,48,.28) !important;
    border-radius: 10px !important;
    background: rgba(24,31,45,.70) !important;
    color: #d9e1ed !important;
    box-shadow: inset 0 1px rgba(255,255,255,.025) !important;
  }

  .header-account .market-notify-bell-v110 svg {
    width: 22px !important;
    height: 22px !important;
  }

  .header-account .market-notify-bell-v110[aria-expanded="true"],
  .header-account .market-notify-bell-v110:active {
    color: #ffd27d !important;
    border-color: rgba(240,163,48,.52) !important;
    background: linear-gradient(180deg, rgba(240,163,48,.12), rgba(24,31,45,.92)) !important;
  }

  .header-account .market-notify-count-v110 {
    top: 2px !important;
    right: 2px !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 4px !important;
    border-width: 1px !important;
    font-size: 9px !important;
  }
}

@media (max-width: 390px) {
  .header-account .market-notify-bell-v110 {
    flex-basis: 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 46px !important;
  }
}
