/* The Hiro Shop, in the site's black glass and chrome. */
body.shop { --pad: max(20px, env(safe-area-inset-left, 0px)); padding-bottom: 110px; }

.sh-head { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; max-width: 1200px; margin: 0 auto; padding: max(22px, env(safe-area-inset-top, 0px)) var(--pad) 10px; }
.sh-home { display: inline-flex; align-items: center; gap: 8px; color: var(--mist); font-weight: 600; font-size: 15px; flex-basis: 100%; }
.sh-home img { width: 26px; height: 26px; }
.sh-home:hover { color: var(--fur); }
.sh-head h1 { margin: 0; font: italic 900 clamp(44px, 8vw, 84px)/0.95 var(--display); text-transform: uppercase; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.16em; }

.coin { display: inline-block; width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.18em; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6c8 0 12%, transparent 13%), radial-gradient(circle, #ffd54f 0 52%, #e0a420 53% 64%, #ffd54f 65% 72%, #b07a12 73%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35); }

.sh-wallet { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 12px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--fur); font: 600 17px var(--body); cursor: pointer; }
.sh-wallet[hidden] { display: none; }
.sh-wallet b { font-size: 20px; font-variant-numeric: tabular-nums; }
.shard { width: 1.35em; height: 1.35em; flex: none; vertical-align: -0.3em; }
.sh-wallet .shard { width: 26px; height: 26px; }
.sh-wallet span { padding: 3px 10px; border-radius: 999px; background: var(--fur); color: var(--stripe); font-size: 14px; }
.sh-wallet:hover span { background: var(--eye); }
.sh-wallet.bump b { animation: sh-bump 0.6s ease-out; }
@keyframes sh-bump { 30% { transform: scale(1.3); color: #ffd54f; } }

.sh-main { max-width: 1200px; margin: 0 auto; padding: 8px var(--pad) 0; }
.sh-out { max-width: 620px; padding: 26px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; background: rgba(255, 255, 255, 0.04); }
.sh-out[hidden], .sh-grid[hidden] { display: none; }
.sh-out h2 { margin: 0 0 8px; font: italic 800 32px/1.1 var(--display); }
.sh-out p { margin: 0 0 8px; color: #cfd2d8; line-height: 1.6; }
.sh-small { color: var(--mist) !important; font-size: 14px; }

.sh-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.sh-me { position: sticky; top: calc(var(--topbar, 0px) + 16px); display: grid; gap: 12px; padding: 18px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 20px; background: rgba(255, 255, 255, 0.04); }
.sh-plus { position: absolute; top: 10px; right: 10px; padding: 3px 10px; border-radius: 999px; background: linear-gradient(180deg, #ffe58a, #e0a420); color: #2b1d00; font: italic 800 14px var(--display); text-transform: uppercase; }
.sh-plus[hidden] { display: none; }
.sh-name { margin: 0; font: italic 800 24px/1.1 var(--display); text-align: center; }
.sh-earn { display: grid; gap: 5px; }
.sh-earn small { color: var(--mist); font-size: 13px; }
.sh-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.sh-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #e0a420, #ffd54f); transition: width 0.4s; }

.sh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 16px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 12px; background: rgba(255, 255, 255, 0.06); color: var(--fur); font: 600 16px var(--body); cursor: pointer; transition: background 0.15s, transform 0.1s; }
.sh-btn:hover { background: rgba(255, 255, 255, 0.12); }
.sh-btn:active { transform: scale(0.97); }
.sh-btn.gold { border-color: transparent; background: linear-gradient(180deg, #ffe58a, #f0b429); color: #2b1d00; }
.sh-btn.gold:hover { background: linear-gradient(180deg, #fff0b0, #ffc23d); }
.sh-btn.white { border-color: transparent; background: var(--fur); color: var(--stripe); }
.sh-btn.ghost { background: transparent; }
.sh-btn[disabled] { opacity: 0.45; cursor: default; }
.sh-row { display: flex; gap: 10px; justify-content: flex-end; }

.sh-tabs { position: sticky; top: var(--topbar, 0px); z-index: 3; display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; background: linear-gradient(var(--water) 70%, transparent); scrollbar-width: none; }
.sh-tabs::-webkit-scrollbar { display: none; }
.sh-tabs button { flex: none; padding: 9px 16px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; background: transparent; color: var(--mist); font: 600 15px var(--body); cursor: pointer; }
.sh-tabs button:hover { color: var(--fur); }
.sh-tabs button[aria-selected='true'] { background: var(--fur); border-color: var(--fur); color: var(--stripe); }


.sh-price { display: inline-flex; align-items: center; gap: 5px; color: #dfe9f5; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.sh-tag { color: var(--mist); font-size: 13px; font-weight: 600; }
.sh-tag.wearing { color: var(--eye); }

.sh-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.sh-card { display: grid; gap: 10px; align-content: start; padding: 18px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; background: rgba(255, 255, 255, 0.04); }
.sh-card.feature { border-color: rgba(255, 213, 79, 0.5); background: linear-gradient(160deg, rgba(255, 213, 79, 0.12), rgba(255, 255, 255, 0.03) 60%); }
.sh-card h3 { margin: 0; font: italic 800 24px/1.1 var(--display); }
.sh-card p { margin: 0; color: #cfd2d8; font-size: 15px; line-height: 1.55; }
.sh-card .sh-btn { justify-self: start; }
.sh-card .big { display: flex; align-items: center; gap: 10px; font: italic 900 34px/1 var(--display); }
.sh-card .big .coin { width: 30px; height: 30px; }
.sh-card .bonus { justify-self: start; padding: 2px 9px; border-radius: 999px; background: rgba(79, 211, 154, 0.16); color: #7ff0bd; font-size: 13px; font-weight: 600; }
.sh-note { margin: 0 0 14px; color: var(--mist); font-size: 15px; line-height: 1.55; }
.gem { display: inline-block; width: 26px; height: 26px; flex: none; background: linear-gradient(135deg, #b8f0ff, #3fa7ff 55%, #1d4fc2); clip-path: polygon(50% 0, 100% 38%, 50% 100%, 0 38%); }
.tbcoin { display: inline-block; width: 26px; height: 26px; flex: none; border-radius: 50%; background: radial-gradient(circle, #ffe9a6 0 30%, #f0b429 31% 62%, #9c6a0c 63%); }

.sh-fine { max-width: 760px; margin: 40px 0 0; color: var(--mist); font-size: 13px; line-height: 1.6; }
.sh-fine a { color: var(--eye); }

.sh-toast { position: fixed; left: 50%; top: 18px; z-index: 50; transform: translate(-50%, -140%); padding: 11px 18px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(12, 14, 20, 0.94); color: var(--fur); font: 600 16px var(--body); transition: transform 0.35s cubic-bezier(.2, 1.4, .4, 1); pointer-events: none; }
.sh-toast.on { transform: translate(-50%, 0); }

.sh-confirm { max-width: 360px; padding: 22px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 18px; background: #101218; color: var(--fur); }
.sh-confirm::backdrop { background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(3px); }
.sh-confirm p { margin: 0 0 16px; font-size: 17px; line-height: 1.5; }

@media (max-width: 820px) {
  .sh-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .sh-me { position: static; padding: 14px; }
    .sh-tabs { position: static; }
    .sh-name { text-align: left; font-size: 20px; }
      }
.sh-btn .sh-price { color: inherit; }

/* The account card: your face, name, Shards and today's earnings. */
.sh-who { display: flex; align-items: center; gap: 12px; }
.sh-who .sh-name { text-align: left; }
.sh-plus { position: static; display: inline-block; margin-top: 4px; }
.sh-balance { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); }
.sh-balance .shard { width: 40px; height: 40px; }
.sh-balance b { display: block; font: italic 900 30px/1 var(--display); font-variant-numeric: tabular-nums; }
.sh-balance small { color: var(--mist); }
@media (max-width: 820px) { .sh-me { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .sh-earn { grid-column: 1 / -1; } }

.sh-plus-card { max-width: 520px; }
.sh-plus-card .big small { margin-left: 4px; color: var(--mist); font: 600 16px var(--body); }
.sh-perks { display: grid; gap: 8px; margin: 4px 0 6px; padding: 0; list-style: none; }
.sh-perks li { position: relative; padding-left: 26px; color: #dfe2e7; }
.sh-perks li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #ffd54f; font-weight: 700; }
