/* season sign in the HUD (opens the Season Stall) */
#seasonBox {
  position: relative; display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 6px;
  background: none; color: var(--cream); font: 800 15px var(--font); cursor: pointer;
  transition: transform .1s ease-out; transform-origin: left center;
}
#seasonBox:active { transform: scale(.93); }
#seasonBox img { width: 24px; height: 24px; object-fit: contain; flex: 0 0 auto; }
#seasonBox #tokIcon { width: 22px; height: 22px; margin-left: 2px; }
#seasonLabel { white-space: nowrap; }
#tokCount { font-size: 17px; font-weight: 900; color: #fff3c4; min-width: 12px; }
#seasonBox.bump { animation: tokBump .3s ease-out; }
@keyframes tokBump { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
#ssDot { position: absolute; top: -7px; right: -7px; width: 16px; height: 16px; border-radius: 50%; background: var(--crimson); border: 2px solid #fff3dc; animation: badgePulse 1.2s ease-in-out infinite; }

/* Season Stall: it fades in (no scale), so its buttons measure at full size the moment it opens */
@keyframes ssFade { 0% { opacity: 0; } 100% { opacity: 1; } }
.modalPanel.ssPanel { animation: ssFade .22s ease-out; }
.ssPanel { width: min(92vw, 380px); padding: 12px 10px; max-height: 92vh; display: flex; flex-direction: column; }
.ssSub { font-size: 14px; line-height: 1.35; margin: -2px 0 8px; color: var(--cream); }
#ssWallet { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.ssChip { display: flex; align-items: center; gap: 3px; padding: 3px 9px 3px 4px; border-radius: 16px; background: rgba(40, 20, 8, .72); border: 1.5px solid var(--amber); font-size: 15px; font-weight: 900; color: #fff3c4; }
.ssChip img { width: 22px; height: 22px; }
.ssChip.now { border-color: #fff3c4; box-shadow: 0 0 8px #ffcf6a; }
#ssList { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; margin-bottom: 10px; }
.ssRow {
  display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 6px; border-radius: 12px;
  border: 2px solid #a8763a; background: linear-gradient(180deg, #fff7e4 0%, #f3dfb6 70%, #e6c890 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.5), 0 2px 4px rgba(0,0,0,.35); color: var(--ink);
  animation: ssFade .3s ease-out both;
}
.ssRow > img { width: 46px; height: 46px; flex: 0 0 auto; filter: drop-shadow(0 2px 2px rgba(0,0,0,.3)); }
.ssInfo { flex: 1 1 auto; min-width: 0; text-align: left; }
.ssName { font-size: 16px; font-weight: 900; line-height: 1.15; }
.ssDesc { font-size: 12px; font-weight: 700; color: #6a3b16; line-height: 1.2; margin-top: 1px; }
.ssCost { display: flex; gap: 6px; margin-top: 3px; font-size: 14px; font-weight: 900; }
.ssCost span { display: inline-flex; align-items: center; gap: 2px; }
.ssCost img { width: 18px; height: 18px; }
.ssCost .short { color: #a3261a; }
.ssBtn {
  flex: 0 0 auto; min-width: 76px; min-height: 46px; padding: 0 10px; border-radius: 12px;
  border: 2px solid #c99a52; background: linear-gradient(#6a3d18, #3a1f0b); color: var(--cream);
  font: 900 15px var(--font); cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,220,160,.35), 0 2px 4px rgba(0,0,0,.4);
  transition: transform .09s ease-out, filter .15s;
}
.ssBtn:active { transform: scale(.92); }
.ssBtn.ok { animation: windGlow 1.4s ease-in-out infinite; }
.ssBtn.poor { filter: saturate(.4) brightness(.8); }
.ssBtn.owned { background: linear-gradient(#5c7a34, #34501a); border-color: #b6d07a; cursor: default; }
.ssBtn.sel, #ssClose.sel { outline: 3px solid #fff; outline-offset: 2px; }
.ssRow.flash { animation: cardFlash .5s ease-out; }

/* season token flying to the sign */
.flyTok { position: absolute; width: 30px; height: 30px; transition: transform .75s cubic-bezier(.5,0,.75,.6), opacity .75s; pointer-events: none; z-index: 9; filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
.floater.tok { color: #fff3c4; font-size: 22px; }
.modal .woodBtn.sel { outline: 3px solid #fff; outline-offset: 2px; }
