/* Turkey Tracks Prize Store and Aura Lab (v24). Fills the display on every screen size. Reduced motion = no movement. */
body[data-screen="store"] { background: linear-gradient(rgba(10, 5, 2, .45), rgba(10, 5, 2, .72)), url("art/bg-arcade-menu.webp") center / cover no-repeat fixed, var(--night); }

/* the look itself (aura, trail, frame, pin) lives in look.css, shared with the Arena */

/* top bar icon */
#hudLook { flex: none; --blur: 4px; }
#hudLook .pzpin { border-width: 1px; }
.stat.coins b { color: #ffe9a0; }
.pzcoin { width: 1.15em; height: 1.15em; object-fit: contain; vertical-align: -0.2em; flex: none; }
.pzfloat { position: fixed; z-index: 90; translate: -50% 0; pointer-events: none; font: 400 20px/1 var(--f-display); color: #ffe14d; text-shadow: 0 2px 0 #000;
  display: flex; align-items: center; gap: 4px; animation: pzup 1.2s ease-out forwards; }
@keyframes pzup { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-46px); opacity: 0; } }

/* store buttons on the menu and the Practice Map */
.pzopen { position: relative; }
.pzbtnimg { width: 1.6em; height: 1.6em; object-fit: contain; }
.pzbadge { display: inline-flex; align-items: center; gap: 3px; margin-left: .3em; padding: 2px 10px; border-radius: 999px; background: rgba(0, 0, 0, .45); color: #ffe14d; font-size: .85em; }


/* score card */
.pzcard { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: #ffe9a0; font-family: var(--f-display); font-size: clamp(16px, 1.4vw, 20px); }
.pzcardlook { display: grid; place-items: center; padding: 18px; }
.pzlook.card { width: clamp(84px, 9vw, 130px); height: clamp(84px, 9vw, 130px); --blur: 9px; }
.pzlook.card > .pzicon { width: 100%; height: 100%; object-fit: contain; }

/* ---------- store page: fills the space under the top bar ---------- */
.wrap.pzpage { width: 100%; max-width: none; margin: 0; padding: clamp(8px, 1vw, 16px); box-sizing: border-box;
  height: calc(100dvh - var(--hudh, 72px) - var(--mb, 0px) - 8px); min-height: 520px; display: flex; }
.pzpanel { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: clamp(6px, .8vw, 12px); background: rgba(14, 7, 3, .93); border: 3px solid var(--amber); padding: clamp(10px, 1.2vw, 20px); box-sizing: border-box; }
.pzhead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pzhead h2 { margin: 0; flex: 1; display: flex; align-items: center; gap: 10px; font-size: clamp(26px, 2.8vw, 44px); color: var(--pill); min-width: 0; }
.pzh2img { width: 1.25em; height: 1.25em; object-fit: contain; }
.pzwallet { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; border-radius: 999px; background: #3a2010; border: 2px solid #ffd23f; font-family: var(--f-display); }
.pzwallet b { font-size: clamp(22px, 2vw, 30px); color: #ffe14d; font-weight: 400; }
.pzwallet small { color: #e8cfa4; }
.pzwallet .pzcoin { width: 1.7em; height: 1.7em; }
.pzback, .pzhead .btn { min-height: 48px; }
.pztabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pztab { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 6px 10px; border-radius: 14px; border: 2px solid var(--line); background: #2a170c; color: #fff;
  font: 400 clamp(16px, 1.5vw, 22px)/1.1 var(--f-display); cursor: pointer; text-align: center; }
.pztab img { width: 1.6em; height: 1.6em; object-fit: contain; flex: none; }
.pztab.on { background: #ffb32c; color: #2a1206; border-color: #ffe14d; box-shadow: 0 0 18px rgba(255, 210, 63, .5); }
.pztab:focus-visible, .pzsw:focus-visible, .pzopt:focus-visible, .pzitem:focus-visible { outline: 4px solid #fff; outline-offset: 2px; }
.pzbody { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(280px, 40%) 1fr; gap: clamp(10px, 1.2vw, 20px); }
.pzstage { min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 20px;
  background: radial-gradient(circle at 50% 42%, #4a2a14, #1a0d06 70%); border: 2px solid var(--line); overflow: hidden; }
.pzspot { flex: 1; min-height: 150px; width: 100%; display: grid; place-items: center; overflow: hidden; container-type: size; pointer-events: none; }
.pzlook.big { width: min(56%, 30vh, 300px); aspect-ratio: 1; height: auto; --blur: 14px; }
@supports (container-type: size) { .pzlook.big { width: max(110px, min(62cqw, 66cqh, 300px)); } }
.pzlook.big > .pzicon, .pzlook.ask > .pzicon, .pzlook.mini > .pzicon { width: 100%; height: 100%; object-fit: contain; }
.pzwear { margin: 0; text-align: center; color: #f3dfbd; font-size: clamp(15px, 1.2vw, 19px); }
.pzacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pzacts .btn { min-height: 48px; padding-left: 16px; padding-right: 16px; font-size: clamp(15px, 1.2vw, 20px); }
.pzbuy { display: inline-flex; align-items: center; gap: 6px; }
.pzon { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; font-size: clamp(15px, 1.2vw, 19px); border-radius: 14px; background: #2f5f1a; color: #eaffd8; font-family: var(--f-display); }
.pzhint { color: #d9b98f; }
.pznote { margin: 0; min-height: 1.4em; text-align: center; color: #ffe14d; font-size: clamp(15px, 1.2vw, 19px); }
.nope { animation: pznope .4s; }
@keyframes pznope { 25% { transform: translateX(-8px); } 50% { transform: translateX(8px); } 75% { transform: translateX(-4px); } }
.pzshelf { min-height: 0; overflow: auto; padding-right: 4px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.pzlead { margin: 0 0 8px; color: #f3dfbd; font-size: clamp(15px, 1.25vw, 20px); }
.pzgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pzitem { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border-radius: 18px; border: 2px solid var(--line); background: #2a170c; color: #fff; cursor: pointer;
  font-family: var(--f-display); text-align: center; }
.pzitem b { font-weight: 400; font-size: clamp(15px, 1.2vw, 19px); line-height: 1.15; overflow-wrap: anywhere; }
.pzitem.on { border-color: #ffe14d; box-shadow: 0 0 0 3px rgba(255, 210, 63, .35), 0 0 22px rgba(255, 210, 63, .55); }
.pzitem.owned { background: #24300f; }
.pzthumb { width: clamp(64px, 6vw, 96px); aspect-ratio: 1; display: grid; place-items: center; }
.pzthumb .pzart { width: 100%; height: 100%; object-fit: contain; }
.pzlook.mini { width: 74%; aspect-ratio: 1; }
.pzicon.blank { display: block; width: 100%; height: 100%; border-radius: 50%; background: #5a3a1f; }
.pzprice, .pzown { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 15px; }
.pzprice { background: #3a2010; color: #ffe14d; border: 1px solid #8a5a2b; }
.pzprice.sm { font-size: 12px; padding: 1px 6px; }
.pzown { background: #3d7a22; color: #fff; }
.pzlab h3 { margin: 8px 0 5px; color: var(--pill); font-size: clamp(17px, 1.4vw, 22px); }
.pzsws { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; }
.pzsw { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px; min-height: 44px; border-radius: 14px; border: 2px solid var(--line); background: #2a170c; color: #fff; cursor: pointer; font-family: var(--f-display); }
.pzsw .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); box-shadow: 0 0 12px rgba(255, 255, 255, .15); }
.pzsw .dot.none { background: repeating-linear-gradient(45deg, #5a3a1f 0 6px, #2a170c 6px 12px); }
.pzsw .swn { font-size: 14px; line-height: 1.1; text-align: center; overflow-wrap: anywhere; }
.pzsw.on { border-color: #ffe14d; box-shadow: 0 0 0 3px rgba(255, 210, 63, .35); background: #4a2a14; }
.pzsw.lock .dot { opacity: .8; }
.pzrow2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pzopts { display: flex; gap: 6px; flex-wrap: wrap; }
.pzopt { flex: 1; min-height: 48px; min-width: 84px; border-radius: 14px; border: 2px solid var(--line); background: #2a170c; color: #fff; font: 400 16px/1 var(--f-display); cursor: pointer; }
.pzopt.on { background: #ffb32c; color: #2a1206; border-color: #ffe14d; }
.pzfact { margin: 12px 0 0; padding: 10px 12px; border-radius: 14px; background: #2f1b0e; border: 2px dashed #8a5a2b; color: #fff3d6; font-size: clamp(15px, 1.2vw, 19px); }
.pzhow { margin: 0; color: #d9b98f; font-size: clamp(13px, 1vw, 16px); text-align: center; }
.pzask .pzaskart { display: grid; place-items: center; padding: 22px; }
.pzlook.ask { width: 130px; height: 130px; --blur: 10px; }

/* tall and narrow screens: stack, page scrolls */
@media (max-width: 900px), (max-aspect-ratio: 4/5) {
  .wrap.pzpage { height: auto; min-height: calc(100dvh - var(--hudh, 72px) - var(--mb, 0px) - 8px); }
  .pzbody { grid-template-columns: 1fr; }
  .pzstage { min-height: 300px; }
  .pzspot { min-height: 220px; }
  .pzshelf { overflow: visible; }
}
@media (max-width: 600px) {
  .pzhead h2 { font-size: 24px; order: -1; flex-basis: 100%; }
  .pztab span { font-size: 14px; } .pztab img { width: 1.3em; height: 1.3em; }
  .pztab { flex-direction: column; gap: 2px; min-height: 58px; }
  .pzgrid { grid-template-columns: repeat(2, 1fr); }
  .pzsws { grid-template-columns: repeat(3, 1fr); }
  .pzrow2 { grid-template-columns: 1fr; }
  .pzstage { min-height: 260px; }
  .pzspot { min-height: 180px; }
}

/* short landscape screens (laptops): slimmer tabs and text so the preview stays big */
@media (max-height: 860px) and (min-width: 901px) {
  .pztab { min-height: 44px; } .pzhead .btn, .pzback { min-height: 44px; }
  .pzwear { font-size: 14px; } .pzhow { font-size: 12px; }
  .pzwallet { padding: 4px 12px; }
}
.amtop .pztop { min-height: 48px; padding: 6px 16px; font-size: clamp(16px, 1.3vw, 20px); }
@media (max-width: 600px) { .amtop .pztop { width: 100%; justify-content: center; } }
