/* The season pass's ranks: the track, the Rang circles and the reward fields. Shared by the game (client/index.html,
   the pass window) and client/preview.html (the bands of a season), so both look the same. */
/* A field with something to claim is a column (his report 2026-11-06: the buttons stood at different heights when a
   name took three lines): the picture a fixed height, the name a fixed area of three lines, the claim button (or
   „abgeholt“) always at the bottom of the field, in both bands and for every kind (pattern, cape, hat, bundle, coins) */
.pass-cell.pattern, .pass-cell.coins { justify-content: center; padding: 4px 2px 12px; gap: 2px; } /* the bottom padding keeps the label clear of the tick or lock */
.pass-cell.pattern { cursor: pointer; }
.pass-cell.pattern img.pass-emote { flex: none; width: 100%; height: 34px; object-fit: contain; display: block; }
.pass-cell.pattern.emote { cursor: default; }
.pass-cell.pattern.emote.claim { cursor: pointer; }
.pass-cell.pattern canvas { flex: none; width: 100%; height: 34px; display: block; }
.pass-cell.pattern .pass-plabel { flex: none; height: 3.45em; display: flex; flex-direction: column; justify-content: center; font-size: 10px; line-height: 1.15; text-align: center; font-weight: 700; max-width: 100%; hyphens: auto; }
.pass-cell.coins .pass-coins { flex: 1 1 auto; display: flex; align-items: center; }
.pass-plabel .pass-pset { display: block; } /* the set's name on its own line */
.pass-plabel .pass-psep { display: none; }
/* a bundle (the pre-season's rank 10): what comes with it, under the first field's label */
.pass-cell .pass-plus { flex: none; font-size: 9.5px; line-height: 1.15; text-align: center; font-weight: 700; color: #f2d47c; }
.pass-track { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 0 8px; }
.pass-labels { display: grid; grid-template-rows: 78px 74px 78px; gap: 6px; padding-top: 5px; font-size: 12px; font-weight: 800; color: #d9dfcf; }
.pass-labels > span { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; min-width: 0; }
/* the band labels: large text in the band's colour with a coloured edge on the left, no background, so they read as
   headings and not as buttons (his pick 2026-11-07, direction C: „Text mit Farbkante“); „Rang“ stays quiet */
.pass-badge { display: flex; align-items: center; gap: 4px; max-width: 100%; box-sizing: border-box; padding: 2px 0 2px 8px; border-left: 4px solid currentColor;
  font-size: 15px; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.15; overflow-wrap: break-word; hyphens: manual; text-align: left; }
.pass-badge.gold { color: #e9c46a; }
.pass-badge.green { color: #8fd16a; }
.pass-badge img { width: 15px; height: 15px; flex: none; }
.pass-labels .pass-quiet { align-items: center; color: #b9c7a8; }
/* „Rang“ at the height of the circles: they stand above their aura line (3px gap + its 18px line) */
.pass-labels span:nth-child(2) { padding-bottom: 21px; }
.pass-scroll { overflow-x: auto; padding: 5px 0 2px; scrollbar-width: none; } /* room above for a pulsing field */
.pass-scroll::-webkit-scrollbar { display: none; } /* the slider below is the scrollbar, big enough to grab */
.pass-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 2px 0 0; padding: 0; background: transparent; border: 0; cursor: pointer; touch-action: pan-y; }
.pass-slider.hidden { display: none; }
.pass-slider::-webkit-slider-runnable-track { height: 12px; border-radius: 6px; background: #1d2a1a; border: 1px solid #4a6340; }
.pass-slider::-moz-range-track { height: 12px; border-radius: 6px; background: #1d2a1a; border: 1px solid #4a6340; }
.pass-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 64px; height: 28px; margin-top: -9px; border-radius: 14px; background: #e9c46a; border: 2px solid #fff3b8; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); }
.pass-slider::-moz-range-thumb { width: 64px; height: 28px; border-radius: 14px; background: #e9c46a; border: 2px solid #fff3b8; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); }
.pass-cols { --pass-col: 84px; --pass-start: 64px; position: relative; padding-right: 4px; display: grid; grid-auto-flow: column; grid-auto-columns: var(--pass-col); grid-template-rows: 78px 74px 78px; gap: 6px 8px; }
/* Milestones every sixth rank: a wider column, a bigger circle, gold frames */
/* (his decision 2026-11-06: no rarity colours on the frames; normal fields a neutral frame, a milestone a wider gold
   one, in both bands and whatever its state, no word for it) */
/* the wider frame takes a pixel of the padding, so picture, name and button stay where they are in the other fields */
/* a normal circle takes the room of a milestone's (54px), so every aura line under the circles is on one height */
.pass-rank .pass-num { margin: 6px 0; }
/* the current rank in its wreath: as tall as a milestone circle plus a little, the aura line stays on its height */
.pass-num-wreath { position: relative; top: 2.32px; width: 58px; height: 58px; margin: -2px 0; } /* the opening's centre (y 92 of 200, client/pass.js WREATH) on the line, not the picture's */ /* above the line through the circles, like them */
.pass-cell { position: relative; box-sizing: border-box; border-radius: 9px; border: 2px solid #3d5233; background: #22301d; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-size: 12px; font-weight: 700; color: #b9c7a8; text-align: center; }
.pass-cell.soon { border-style: dashed; color: #8ea27e; }
.pass-cell.reached { border-color: #5b7d48; }
/* something to claim: only a soft glow and a lighter ground, the frame stays neutral (his yes 2026-11-06: a gold frame
   looked like a milestone's); a milestone keeps its 3 px gold */
.pass-cell.ready { background: #3a4426; box-shadow: 0 0 12px #e9c46a66; }
/* The three states as in Smashcarts (his order 2026-11-07): to claim bright and pulsing in size, tapped itself; claimed
   darker with a tick bottom right; locked bright with a lock bottom right, still. Only transform moves (compositor) */
.pass-cell.claim { cursor: pointer; animation: beatPulse var(--beat2) ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .pass-cell.claim { animation: none; } }
.pass-cell.done::after { content: ''; position: absolute; inset: -2px; border-radius: 9px; background: rgba(0, 0, 0, 0.5); pointer-events: none; }
.pass-mark { position: absolute; right: 3px; bottom: 3px; width: 18px; height: 18px; z-index: 1; pointer-events: none; }
.pass-cell:not(.pattern):not(.coins) > .pass-mark:first-child { position: static; width: 20px; height: 20px; } /* the upper band's lock on a placeholder, in its middle */
.pass-cell.paid { background: repeating-linear-gradient(135deg, #252a33 0 8px, #2b313b 8px 16px); border-color: #4a5160; color: #9aa3b3; }
/* an open upper band (the pre-season, free for all; his decision 2026-11-06) looks like the free band: no grey stripes */
.pass-cols.open .pass-cell.paid { background: #22301d; color: #b9c7a8; }
.pass-cols.open .pass-cell.paid { border-color: #3d5233; }
.pass-cols.open .pass-cell.paid.reached { border-color: #5b7d48; }
.pass-cols.open .pass-cell.paid.ready { background: #3a4426; }
.pass-q { font-size: 20px; color: #6f8660; line-height: 1; }
/* A placeholder with a rarity (a milestone of the standard pass): its name in its colour, the frame neutral or gold */
.pass-cols .pass-cell.rar { color: var(--rar); font-weight: 700; } /* the rarity's name only, never its colour on the frame */
.pass-cols .pass-cell.rar .pass-q { color: var(--rar); }
.pass-coins { font-size: 14px; font-weight: 800; color: #f4f1e6; }
.pass-rank { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
/* the one progress bar: a line through the circles, placed and filled by client/pass.js placeLine() */
.pass-line { position: absolute; height: 6px; border-radius: 3px; background: #1d2a1a; overflow: hidden; pointer-events: none; }
.pass-line > i { display: block; height: 100%; background: #8f6df0; }
.pass-gap { visibility: hidden; }
.pass-num { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; background: #1d2a1a; border: 2px solid #4a6340; color: #b9c7a8; box-sizing: border-box; }
.pass-rank.reached .pass-num { background: #6b4fd8; border-color: #c7b2ff; color: #fff; }
.pass-rank.now .pass-num { background: #e9c46a; border-color: #fff3b8; color: #2b2410; }
.pass-rank > * { flex: none; } /* circles stay round: 54 + 3 + 17 fill the 74 px row exactly, nothing shrinks */
.pass-rank small { position: relative; font-size: 11px; line-height: 17px; font-weight: 700; color: #c9bdf2; white-space: nowrap; }
@media (max-width: 600px) { .pass-track { grid-template-columns: 74px minmax(0, 1fr); gap: 0 4px; } .pass-cols { --pass-col: 72px; --pass-start: 58px; } .pass-labels { font-size: 11px; } .pass-badge { font-size: 12px; padding: 2px 0 2px 6px; border-left-width: 3px; } }
/* fields with a picture and a name (patterns, capes: the pre-season) need a little more room, so a name like
   „Pflanzenfresser“ or „Sonnenaufgang“ stays whole (measured: 78 px at 10 px, 74 px at 9.5 px) */
.pass-cols.pics { --pass-col: 88px; } /* 80 px inside: „Pflanzenfresser“ is 78 px at 10 px */
@media (max-width: 600px) { .pass-cols.pics { --pass-col: 84px; } .pass-cols.pics .pass-plabel, .pass-cols.pics .pass-plus { font-size: 9.5px; } }
