/* Passe de Temporada (client/season-pass.mjs). */
.passwin { --ps-cyan: #4fd8e8; --ps-viol: #c6a2ff; --ps-viol2: #8a5cf0; width: min(1200px, 97vw); height: min(720px, 95vh); }
.passwin .wbody { position: relative; display: grid; grid-template-rows: auto auto minmax(0, 1fr); gap: 10px; overflow: hidden; }
.pslogo { width: 28px; height: 28px; object-fit: contain; margin-right: 6px; vertical-align: middle; }
.psdiam { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; }
.passwin .dicon svg { width: 16px; height: 16px; }

.pshead { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 8px 16px; border-radius: 12px;
  background: radial-gradient(ellipse at 8% 50%, rgb(167 123 255 / 30%), transparent 55%), linear-gradient(120deg, #1b1430, #0d1220 70%); border: 1px solid #5a3f8a; }
.pshead h3 { margin: 0; font: 700 21px Georgia, serif; font-variant: small-caps; letter-spacing: .06em; color: #e2d0ff; }
.psmeta { display: flex; gap: 14px; color: #9fb0bd; font-size: 12px; margin: 1px 0 7px; }
.psmeta .gold { color: #ffe7a3; font-weight: 700; }
.pslv { display: flex; align-items: center; gap: 12px; }
.psnum { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 10px; font: 900 18px "Segoe UI", sans-serif; color: #fff;
  background: linear-gradient(#a77bff, #5a32b8); box-shadow: 0 0 14px rgb(167 123 255 / 50%); transform: rotate(45deg); }
.psnum span { transform: rotate(-45deg); }
.psxbar { flex: 1; height: 12px; border-radius: 99px; overflow: hidden; border: 1px solid #3a2a5a; background: #0a0f14; }
.psxbar i { display: block; height: 100%; background: linear-gradient(90deg, #6a3fd0, #c6a2ff); box-shadow: 0 0 10px rgb(167 123 255 / 60%); }
.pscta { display: grid; gap: 5px; justify-items: end; }
.pson { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; font: 800 12px "Segoe UI", sans-serif; color: #fff; background: linear-gradient(#8a5cf0, #5a32b8); border: 1px solid #d8c2ff; }
.passwin button.psviolet { display: inline-flex; align-items: center; gap: 5px; background: linear-gradient(#a77bff, #6a3fd0); color: #fff; border-color: #d8c2ff; box-shadow: 0 0 16px rgb(167 123 255 / 35%); font-weight: 800; }
.passwin button.psviolet:disabled { filter: grayscale(.6) brightness(.7); box-shadow: none; }
.passwin button.sm { height: 26px; padding: 0 10px; font-size: 11.5px; }

.pstrackwrap { display: grid; grid-template-columns: 26px minmax(0, 1fr) 26px; gap: 6px; align-items: stretch; }
.passwin button.psarrow { height: auto; padding: 0; border-radius: 8px; background: #0d1821; border: 1px solid #1f3446; color: #9fb0bd; font-size: 18px; }
.pstrack { display: grid; grid-template-columns: 74px repeat(8, minmax(0, 1fr)); gap: 7px; }
.pslab { display: grid; align-content: center; justify-items: start; gap: 2px; padding-left: 2px; font: 800 11px "Segoe UI", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.pslab.free { color: var(--ps-cyan); }
.pslab.prem { color: var(--ps-viol); }
.pslab small { font: 600 10px "Segoe UI", sans-serif; letter-spacing: 0; text-transform: none; color: #9fb0bd; }
.pslvn { text-align: center; font: 800 12px "Segoe UI", sans-serif; color: #9fb0bd; padding: 2px 0; border-radius: 6px; }
.pslvn.cur { color: #1a1205; background: linear-gradient(#ffe7a3, #e8c872); }
.pslvn.big { color: #e2d0ff; }
.psrw { position: relative; height: 110px; border-radius: 10px; display: grid; justify-items: center; align-content: center; gap: 3px; text-align: center; padding: 6px 4px;
  background: linear-gradient(#13212e, #0b151e); border: 1px solid #1f3446; overflow: hidden; color: inherit; font: inherit; }
.passwin button.psrw { display: grid; justify-items: center; align-content: center; gap: 3px; width: 100%; min-width: 0; height: 110px; padding: 6px 4px; cursor: pointer; }
.psart { height: 62px; display: grid; place-items: center; }
.psart .psthumb { width: 56px; height: 56px; }
.psrw small { font-size: 11px; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.psex { position: absolute; left: 5px; top: 4px; font: 800 8.5px/1.5 "Segoe UI", sans-serif; padding: 0 5px; border-radius: 4px; color: #fff; background: var(--ps-viol2); letter-spacing: .04em; }
.psex.f { background: #1f7d8a; }
.psrw.p { background: linear-gradient(#1d1630, #0f0b18); border-color: #3e2c63; }
.psrw.got { opacity: .55; }
.psrw.got::after { content: "✓"; position: absolute; right: 5px; top: 4px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #4cd964; color: #04121a; font-weight: 900; font-size: 11px; }
.psrw.ready { border-color: #e8c872; box-shadow: 0 0 0 1px rgb(232 200 114 / 35%), 0 0 16px rgb(232 200 114 / 30%); }
.psrw.ready::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 18px rgb(232 200 114 / 35%); animation: psglow 1.6s ease-in-out infinite; pointer-events: none; }
.psrw.ready:hover { transform: translateY(-2px); }
@keyframes psglow { 50% { opacity: .2; } }
.psrw.lock .psart, .psrw.lock small { opacity: .55; }
.psrw.lock::after { content: ""; position: absolute; right: 6px; top: 6px; width: 15px; height: 15px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6a2ff' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.psrw.final { border-color: #d8c2ff; box-shadow: 0 0 18px rgb(167 123 255 / 35%); }
.pstrackfoot { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.psdots { display: flex; gap: 3px; flex: 1; }
.psdots i { flex: 1; height: 6px; border-radius: 3px; background: #1a2732; cursor: pointer; }
.psdots i.d { background: #5a3f8a; }
.psdots i.r { background: #ffe7a3; box-shadow: 0 0 6px #e8c872; }
.psdots i.v { background: #e8c872; }

.pslower { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 300px; gap: 14px; min-height: 0; }
.psbox { padding: 10px 12px; border-radius: 12px; background: rgb(0 0 0 / 22%); border: 1px solid #1f3446; min-height: 0; overflow-y: auto; }
.pssec { margin: 0 0 6px; display: flex; align-items: center; gap: 8px; font: 600 14px Georgia, serif; font-variant: small-caps; letter-spacing: .1em; color: #e8c872; }
.pssec small { font: 400 11.5px "Segoe UI", sans-serif; color: #9fb0bd; letter-spacing: 0; font-variant: normal; flex: 1; }
.psmission { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 90px 52px; gap: 10px; align-items: center; padding: 4px 10px; border-radius: 8px; background: #0a141c; border: 1px solid #1c2c3a; margin-bottom: 4px; font-size: 12px; text-align: left; color: inherit; }
.passwin button.psmission { height: auto; cursor: pointer; }
.psmission small { margin-left: 6px; color: #9fb0bd; font-size: 10.5px; }
.psmbar { height: 8px; border-radius: 99px; overflow: hidden; background: #0a0f14; border: 1px solid #1f3446; }
.psmbar i { display: block; height: 100%; background: linear-gradient(90deg, #2a8fa0, var(--ps-cyan)); }
.psxp { text-align: right; font-weight: 800; color: var(--ps-viol); font-size: 12px; }
.psmission.done { border-color: rgb(76 217 100 / 45%); }
.psmission.done .psxp { color: #4cd964; }
.psmission.ready { border-color: #e8c872; }
.psmission.ready .psxp { color: #ffe7a3; }
.pssrc { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 9px; background: #0a141c; border: 1px solid #1c2c3a; margin-bottom: 6px; }
.pssrc b { display: block; font-size: 12.5px; }
.pssrc small { color: #9fb0bd; font-size: 11px; }
.psv { font-weight: 800; color: var(--ps-viol); }
.pscaprow { display: flex; justify-content: space-between; font-size: 11px; color: #9fb0bd; margin-bottom: 3px; }
.pscaprow b { color: var(--ps-viol); }
.pscap .psmbar i { background: linear-gradient(90deg, #6a3fd0, #c6a2ff); }
.psprem { padding: 10px 14px; border-radius: 12px; background: linear-gradient(#1d1630, #0f0b18); border: 1px solid #5a3f8a; display: grid; gap: 8px; align-content: start; min-height: 0; overflow-y: auto; }
.psprem .pssec { color: var(--ps-viol); }
.psprem ul { margin: 0; padding-left: 18px; font-size: 12px; display: grid; gap: 3px; }
.psprem li b { color: #e2d0ff; }
.psshow { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.pscos { display: inline-grid; place-items: center; }

.psscrim { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(3 6 10 / 68%); z-index: 5; }
.psdlg { width: min(640px, 92%); padding: 16px 20px; border-radius: 14px; background: linear-gradient(170deg, #1d1630, #0d0a16); border: 1px solid #8a6ad0; box-shadow: 0 30px 80px rgb(0 0 0 / 80%); display: grid; gap: 12px; }
.psdlg h3 { margin: 0; display: flex; align-items: center; gap: 10px; font: 700 19px Georgia, serif; color: #e2d0ff; font-variant: small-caps; letter-spacing: .05em; }
.psgain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.psgain div { padding: 8px; border-radius: 10px; background: rgb(0 0 0 / 30%); border: 1px solid #3e2c63; text-align: center; }
.psgain b { display: block; font-size: 20px; color: #e2d0ff; }
.psgain span { font-size: 11px; color: #9fb0bd; }
.pscost { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-radius: 10px; background: #0a0812; border: 1px solid #2c2245; }
.pscost b { font-size: 15px; display: inline-flex; align-items: center; gap: 5px; }
.psdlg p { margin: 0; }
.psbtns { display: flex; justify-content: flex-end; gap: 8px; }

.psshowcase { width: min(1080px, 94%); max-height: 92%; overflow-y: auto; padding: 14px 16px; border-radius: 14px; background: linear-gradient(170deg, #0f1c27, #0b1620); border: 1px solid #2f5468; box-shadow: 0 30px 80px rgb(0 0 0 / 80%); }
.pscases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pscase { padding: 12px; border-radius: 12px; background: linear-gradient(#13212e, #0b151e); border: 1px solid #1f3446; display: grid; gap: 8px; justify-items: center; text-align: center; align-content: start; min-height: 170px; overflow: hidden; }
.pscase.p { background: linear-gradient(#1d1630, #0f0b18); border-color: #3e2c63; }
.pscase.owned { border-color: #4f9a62; }
.psstage { height: 96px; display: grid; place-items: center; }
.pscase b { font-size: 13.5px; }
.pstags { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; }
.pst { padding: 1px 7px; border-radius: 99px; font: 700 10.5px/1.6 "Segoe UI", sans-serif; background: #0a141c; border: 1px solid #2f5468; color: #cfe0ea; }
.pst.f { color: var(--ps-cyan); border-color: #1f6a78; }
.pst.p { color: var(--ps-viol); border-color: #5a3f8a; }
.pst.ok { color: #7ee2a0; border-color: #2c6a3e; }

@media (prefers-reduced-motion: reduce) { .psrw.ready::before { animation: none; } .psrw.ready:hover { transform: none; } }
