/* 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(5, 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: break-word; hyphens: manual; }
.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; } }

/* ---------- v29 THE CLOSET ---------- */
.clopen { display: inline-flex; align-items: center; gap: 6px; position: relative; }
.clopen img { width: 1.5em; height: 1.5em; object-fit: contain; }
.clnum { min-width: 1.6em; height: 1.6em; padding: 0 .35em; border-radius: 99px; background: #ffd23f; color: #2a1206; font-size: .8em; display: inline-grid; place-items: center; font-family: var(--f-display); }
.clhang { background: linear-gradient(#c8a2ff, #8a5cff); color: #1d0b3a; border-color: #e9dcff; }
.clwrap { display: grid; gap: 10px; min-width: 0; }
.clfit { min-width: 0; }
.cltop { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.cltop h3 { margin: 0; font: 400 clamp(22px, 2.4vw, 34px)/1.1 var(--f-display); color: #ffd23f; text-shadow: 0 3px 0 #8a3b12, 0 0 18px rgba(255, 210, 63, .55); animation: clglow 2.4s ease-in-out infinite; }
@keyframes clglow { 50% { text-shadow: 0 3px 0 #8a3b12, 0 0 30px rgba(255, 210, 63, .95); } }
.clcount { padding: 4px 12px; border-radius: 99px; background: #3a210f; border: 2px solid #8a5a2b; color: #f3dfbd; font-size: clamp(14px, 1.1vw, 17px); }
.closet { position: relative; border-radius: 22px 22px 14px 14px; padding: 14px; perspective: 1400px;
  background: repeating-linear-gradient(90deg, #6b3a17 0 22px, #74401a 22px 44px); border: 6px solid #3d1f0a; box-shadow: inset 0 0 0 4px #b8773a, 0 10px 24px rgba(0, 0, 0, .5); }
.closet::before { content: ""; position: absolute; left: 50%; top: -22px; width: 46%; height: 28px; transform: translateX(-50%); border-radius: 16px 16px 0 0; background: #3d1f0a; box-shadow: inset 0 0 0 3px #b8773a; }
.clinside { position: relative; min-height: 220px; border-radius: 12px; padding: 30px 10px 12px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 225, 140, .35), transparent 60%), linear-gradient(#2a140a, #140a05); }
.clrail { position: absolute; left: 4%; right: 4%; top: 14px; height: 9px; border-radius: 99px; background: linear-gradient(#fff3b0, #e0a82a 50%, #8a5a0a); box-shadow: 0 2px 6px rgba(0, 0, 0, .6); }
.cldoor { position: absolute; top: 14px; bottom: 14px; width: calc(50% - 14px); z-index: 4; pointer-events: none; opacity: 0;
  background: repeating-linear-gradient(0deg, #8a4f22 0 30px, #7b4520 30px 60px); border: 4px solid #3d1f0a; box-shadow: inset 0 0 0 6px #a8652c; }
.cldoor i { position: absolute; top: 46%; width: 12px; height: 34px; border-radius: 6px; background: linear-gradient(#fff3b0, #d49a1e); }
.cldoor.l { left: 14px; transform-origin: 0 50%; border-radius: 10px 0 0 10px; } .cldoor.l i { right: 10px; }
.cldoor.r { right: 14px; transform-origin: 100% 50%; border-radius: 0 10px 10px 0; } .cldoor.r i { left: 10px; }
.closet.opening .cldoor { opacity: 1; }
.closet.opening .cldoor.l { animation: cldoorl 1s cubic-bezier(.5, 0, .3, 1) .15s forwards; }
.closet.opening .cldoor.r { animation: cldoorr 1s cubic-bezier(.5, 0, .3, 1) .15s forwards; }
@keyframes cldoorl { to { transform: rotateY(-108deg); opacity: 0; } }
@keyframes cldoorr { to { transform: rotateY(108deg); opacity: 0; } }
.clgrid { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(175px, 100%), 1fr)); gap: 14px 10px; }
.clfit { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 8px 10px; border-radius: 18px;
  background: linear-gradient(#3b2010, #24130a); border: 2px solid #8a5a2b; transform-origin: 50% -20px; animation: clin .55s cubic-bezier(.3, 1.5, .5, 1) both, clsway 3.6s ease-in-out infinite; animation-delay: calc(.9s + var(--i) * .09s), calc(1.5s + var(--i) * .3s); }
.closet:not(.opening) .clfit { animation-delay: calc(var(--i) * .06s), calc(.6s + var(--i) * .3s); }
@keyframes clin { from { transform: translateY(-40px) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes clsway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.clfit:hover, .clfit:focus-within { animation-play-state: paused; border-color: #ffd23f; box-shadow: 0 0 22px rgba(255, 210, 63, .5); }
.clhook { position: absolute; top: -24px; left: 50%; width: 46%; height: 30px; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(#e9eef5, #9aa5b5) center 0 / 4px 14px no-repeat; }
.clhook::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; border: 4px solid #c9d2de; border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.clbeam { position: absolute; inset: 0; border-radius: 18px; pointer-events: none; background: radial-gradient(ellipse at 50% 38%, rgba(255, 236, 160, .28), transparent 62%); animation: clbeam 3s ease-in-out infinite; }
@keyframes clbeam { 50% { opacity: .45; } }
.clstar { position: absolute; color: #ffe14d; font-size: 18px; pointer-events: none; animation: cltw 1.8s ease-in-out infinite; text-shadow: 0 0 8px #ffd23f; }
.clstar.s1 { left: 10px; top: 14px; } .clstar.s2 { right: 34px; top: 40%; animation-delay: .9s; font-size: 14px; }
@keyframes cltw { 0%, 100% { opacity: .2; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1.2) rotate(45deg); } }
.cllook { width: min(150px, 84%); aspect-ratio: 1; display: grid; place-items: center; pointer-events: none; }
.pzlook.cl { width: 100%; height: 100%; --blur: 9px; }
.pzlook.cl > .pzicon { width: 100%; height: 100%; object-fit: contain; }
.cltag { font: 400 clamp(16px, 1.3vw, 20px)/1.1 var(--f-display); color: #fff; text-align: center; padding: 3px 10px; border-radius: 8px; background: #8a3b12; border: 2px dashed #ffd23f; }
.clgo { min-height: 46px; font-size: clamp(15px, 1.2vw, 18px); }
.clnow { min-height: 40px; }
.clfit.on { border-color: #3ddc84; box-shadow: 0 0 20px rgba(61, 220, 132, .45); }
.clx { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; border: 2px solid #8a5a2b; background: #2a170c; color: #f3dfbd; font-size: 15px; cursor: pointer; display: grid; place-items: center; }
.clx:hover, .clx:focus-visible { background: #c0392b; color: #fff; outline: 3px solid #fff; }
.clfit.fresh { animation: clnew 1s ease-out both; }
@keyframes clnew { 0% { transform: scale(.3) rotate(-14deg); filter: brightness(2.2); } 60% { transform: scale(1.12) rotate(4deg); } 100% { transform: none; filter: none; } }
.clfit.pop { animation: clpop .7s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes clpop { 0% { transform: scale(1); } 40% { transform: scale(1.18) rotate(-4deg); box-shadow: 0 0 40px #ffd23f; } 100% { transform: scale(1); } }
.clempty { position: relative; display: grid; justify-items: center; gap: 10px; padding: 30px 12px; text-align: center; color: #f3dfbd; font-size: clamp(16px, 1.3vw, 20px); }
.clempty p { margin: 0; max-width: 34ch; }
.clghost { font-size: 64px; opacity: .55; animation: clsway 3s ease-in-out infinite; }
.clwin .clwinstamp { margin: 0; font: 400 clamp(34px, 6vmin, 60px)/1 var(--f-display); color: #ffd23f; text-shadow: 0 4px 0 #8a3b12, 0 0 24px rgba(255, 210, 63, .8); animation: clstamp .6s cubic-bezier(.3, 1.8, .5, 1) both; }
@keyframes clstamp { from { transform: scale(2.4) rotate(-10deg); opacity: 0; } to { transform: rotate(-4deg); opacity: 1; } }
.clwinart { display: grid; place-items: center; margin: 6px auto; }
.clwin .clwinart .pzlook { animation: clspin 1.1s ease-out both; }
@keyframes clspin { from { transform: rotateY(720deg) scale(.4); } to { transform: none; } }
@media (max-width: 600px) {
  .clgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 8px; }
  .cltag { font-size: 16px; padding: 3px 8px; max-width: 100%; }
  .clgo { padding-left: 10px; padding-right: 10px; }
  .pztab span { font-size: 13px; }
  .pzitem b { font-size: 14px; }
  .pztabs { grid-template-columns: repeat(6, 1fr); }
  .pztabs .pztab { grid-column: span 2; min-width: 0; }
  .pztabs .pztab:nth-child(4) { grid-column: 2 / span 2; }
  .closet { padding: 10px; } .clinside { padding: 28px 6px 10px; }
  .cllook { width: min(120px, 84%); }
}
@media (prefers-reduced-motion: reduce) {
  .cltop h3, .clfit, .clbeam, .clstar, .clghost, .clwin .clwinstamp, .clwin .clwinart .pzlook, .closet.opening .cldoor { animation: none !important; }
  .closet.opening .cldoor { opacity: 0; }
}
@media (max-width: 460px) {
  .clgrid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .cllook { width: min(150px, 70%); }
}
