/* Arena Teney — Shop S1.4 product cards 0218s14r01
 * Presentation-only layer over canonical ui007 product cards.
 * No catalogue, economy, purchase, filter, HUD, dock or X-lock ownership.
 */

@media (max-width: 960px) {
  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-items {
    gap: 10px;
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item[data-ui007-item] {
    min-height: 0;
    padding: 12px;
    overflow: hidden;
    border: 1px solid rgba(151, 121, 73, .40);
    border-radius: 13px;
    background:
      radial-gradient(circle at 100% 0, rgba(197, 145, 62, .07), transparent 34%),
      linear-gradient(155deg, rgba(24, 20, 15, .99), rgba(8, 8, 7, .995) 72%);
    box-shadow:
      inset 0 1px 0 rgba(255, 239, 204, .035),
      inset 0 0 28px rgba(129, 82, 27, .025),
      0 10px 24px rgba(0, 0, 0, .20);
    transform: none !important;
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item[data-ui007-item]::before {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    top: 0;
    height: 1px;
    opacity: .55;
    background: linear-gradient(90deg, transparent, rgba(213, 168, 89, .52), transparent);
    pointer-events: none;
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item[data-ui007-item].selected {
    border-color: rgba(225, 178, 93, .76);
    background:
      radial-gradient(circle at 100% 0, rgba(224, 169, 75, .11), transparent 36%),
      linear-gradient(155deg, rgba(43, 31, 18, .99), rgba(10, 9, 7, .995) 74%);
    box-shadow:
      inset 0 1px 0 rgba(255, 239, 204, .06),
      inset 0 0 0 1px rgba(225, 178, 93, .055),
      0 12px 26px rgba(0, 0, 0, .24);
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item[data-ui007-item].quality-rare {
    border-color: rgba(84, 122, 151, .44);
    background:
      radial-gradient(circle at 100% 0, rgba(74, 130, 170, .09), transparent 34%),
      linear-gradient(155deg, rgba(18, 25, 30, .99), rgba(8, 8, 7, .995) 74%);
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item[data-ui007-item].quality-epic {
    border-color: rgba(112, 85, 151, .50);
    background:
      radial-gradient(circle at 100% 0, rgba(117, 77, 171, .10), transparent 34%),
      linear-gradient(155deg, rgba(27, 21, 31, .99), rgba(8, 8, 7, .995) 74%);
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item[data-ui007-item].quality-legendary {
    border-color: rgba(186, 139, 60, .58);
    background:
      radial-gradient(circle at 100% 0, rgba(211, 158, 64, .12), transparent 36%),
      linear-gradient(155deg, rgba(36, 29, 16, .99), rgba(8, 8, 7, .995) 74%);
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item[data-ui007-item].quality-cursed {
    border-color: rgba(142, 65, 78, .54);
    background:
      radial-gradient(circle at 100% 0, rgba(156, 55, 75, .11), transparent 36%),
      linear-gradient(155deg, rgba(34, 18, 20, .99), rgba(8, 8, 7, .995) 74%);
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item-top {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item-icon {
    width: 66px;
    height: 66px;
    border: 1px solid rgba(156, 125, 77, .48);
    border-radius: 10px;
    background:
      radial-gradient(circle at 50% 28%, rgba(205, 157, 80, .11), transparent 62%),
      linear-gradient(145deg, rgba(42, 32, 21, .98), rgba(12, 11, 9, .99));
    box-shadow:
      inset 0 1px 0 rgba(255, 240, 210, .045),
      inset 0 0 18px rgba(154, 101, 38, .035);
    font-size: 30px;
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item-top small {
    color: #aa9b83;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .025em;
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item-top h4 {
    margin: 4px 0 3px;
    color: #f0e3c7;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: .005em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .72);
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item-top p {
    color: #8f8575;
    font-size: 9px;
    line-height: 1.35;
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item-stats {
    min-height: 0;
    gap: 5px;
    margin-top: 11px;
    padding-top: 9px;
    border-top: 1px solid rgba(145, 114, 70, .16);
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item-stats > span {
    padding: 5px 7px;
    border: 1px solid rgba(126, 105, 76, .30);
    border-radius: 7px;
    color: #978d7d;
    background: rgba(8, 8, 7, .68);
    font-size: 9px;
    line-height: 1.15;
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item-stats > span b {
    color: #ddd0b5;
    font-weight: 800;
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item-bottom {
    gap: 9px;
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid rgba(145, 114, 70, .16);
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-availability {
    max-width: 68%;
    padding: 5px 8px;
    border-color: rgba(130, 108, 77, .34);
    border-radius: 7px;
    color: #a39784;
    background: rgba(9, 9, 8, .74);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 8px;
    letter-spacing: .015em;
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-availability.ok {
    border-color: rgba(72, 121, 89, .50);
    color: #9bc7a5;
    background: rgba(20, 43, 29, .62);
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-availability.warn {
    border-color: rgba(137, 107, 56, .52);
    color: #d4b773;
    background: rgba(44, 34, 17, .62);
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-availability.future {
    border-color: rgba(92, 79, 126, .50);
    color: #baa9d5;
    background: rgba(31, 26, 45, .62);
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item-bottom strong {
    flex: 0 0 auto;
    color: #e6c576;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .01em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .72);
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-empty,
  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-loading,
  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-error {
    border-color: rgba(147, 118, 74, .30);
    border-radius: 12px;
    color: #938878;
    background: linear-gradient(180deg, rgba(19, 16, 12, .96), rgba(8, 8, 7, .99));
  }
}

@media (max-width: 390px) {
  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item[data-ui007-item] {
    padding: 11px;
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item-top {
    grid-template-columns: 61px minmax(0, 1fr);
    gap: 10px;
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item-icon {
    width: 61px;
    height: 61px;
    font-size: 28px;
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item-top h4 {
    font-size: 15px;
  }

  html.shop-s1-rework body[data-screen="shop"] #screen-shop .ui007-item-bottom strong {
    font-size: 14px;
  }
}
