/* Arena Teney — Shop S1 r08p2 presentation polish
 * Shop-only cosmetic skin. Shared persistent dock DOM/geometry/position remain authoritative elsewhere.
 */
@media (max-width: 720px) {
  /* Live gold is anchored to the visible Core 0.5.3 hero cell on Shop. */
  html.shop-s1-rework body[data-screen="shop"] .core053-status-hero.s1-gold-anchor,
  html.shop-s1-rework body[data-screen="shop"] .core053-statusbar.s1-gold-anchor {
    position: relative;
  }

  html.shop-s1-rework body[data-screen="shop"] .s1-hud-gold {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: absolute !important;
    top: 12px;
    right: 22px;
    transform: translateX(clamp(116px, 33vw, 144px));
    z-index: 30 !important;
    min-width: 102px;
    padding: 8px 10px;
    border: 1px solid rgba(207, 161, 78, .58);
    border-radius: 999px;
    color: #f1d58f !important;
    background:
      radial-gradient(circle at 26% 0%, rgba(220, 171, 83, .16), transparent 44%),
      linear-gradient(180deg, rgba(37, 28, 18, .94), rgba(11, 10, 8, .97));
    box-shadow:
      0 8px 22px rgba(0, 0, 0, .38),
      inset 0 1px 0 rgba(255, 238, 196, .08),
      inset 0 0 18px rgba(177, 121, 43, .05);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .02em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .9);
    white-space: nowrap;
    pointer-events: none;
    opacity: 1 !important;
    visibility: visible !important;
  }

  html.shop-s1-rework body[data-screen="shop"] .s1-hud-gold span {
    display: inline-block !important;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 14px;
    filter: sepia(.32) saturate(.85) brightness(.98);
  }

  html.shop-s1-rework body[data-screen="shop"] .s1-hud-gold b {
    display: inline-block !important;
    min-width: 1ch;
    color: #f1d58f !important;
  }

  /* Shop-only level badge lift: move the existing level chip upward without taking geometry ownership. */
  html.shop-s1-rework body[data-screen="shop"] .core053-status-hero .core053-crest b {
    transform: translateY(-6px);
  }

  /* Elden-like material treatment only; NO dock geometry or positioning is owned here. */
  html.shop-s1-rework body[data-screen="shop"] nav {
    border-top-color: rgba(192, 145, 70, .55) !important;
    border-left-color: rgba(122, 91, 49, .20) !important;
    border-right-color: rgba(122, 91, 49, .20) !important;
    background:
      radial-gradient(ellipse at 50% 0%, rgba(177, 126, 58, .10), transparent 54%),
      linear-gradient(180deg, rgba(26, 21, 15, .975) 0%, rgba(13, 12, 10, .985) 58%, rgba(6, 7, 7, .99) 100%) !important;
    box-shadow:
      0 -16px 42px rgba(0, 0, 0, .54),
      inset 0 1px 0 rgba(255, 236, 190, .065),
      inset 0 9px 24px rgba(124, 82, 30, .035) !important;
    -webkit-backdrop-filter: blur(14px) saturate(.82);
    backdrop-filter: blur(14px) saturate(.82);
  }

  html.shop-s1-rework body[data-screen="shop"] nav button {
    color: #b9ad97 !important;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .88);
  }

  html.shop-s1-rework body[data-screen="shop"] nav button.active,
  html.shop-s1-rework body[data-screen="shop"] nav button[aria-current="page"] {
    color: #f1ddac !important;
    border-color: rgba(207, 161, 78, .48) !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(239, 201, 126, .14), transparent 48%),
      linear-gradient(180deg, rgba(70, 48, 23, .82), rgba(22, 17, 11, .94)) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 239, 199, .08),
      inset 0 0 18px rgba(181, 123, 48, .08),
      0 0 0 1px rgba(78, 54, 29, .18) !important;
    text-shadow: 0 1px 9px #000, 0 0 10px rgba(211, 166, 82, .12);
  }

  html.shop-s1-rework body[data-screen="shop"] nav button:active {
    color: #f5e2b4 !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(239, 201, 126, .12), transparent 52%),
      linear-gradient(180deg, rgba(55, 39, 21, .76), rgba(16, 13, 10, .94)) !important;
  }
}

@media (max-width: 390px) {
  html.shop-s1-rework body[data-screen="shop"] .s1-hud-gold {
    top: 11px;
    right: 19px;
    min-width: 92px;
    padding: 7px 9px;
    font-size: 12px;
  }
}
